mlsanityData to 7 Oct 2026

Predicting the Performance of Black-box LLMs through Follow-up Queries

arXiv 2501.01558 ↗First posted 2 Jan 2025cs.LG cs.CLcited by 9

Not on the map. Why?

Abstract (arXiv)

Reliably predicting the behavior of language models -- such as whether their outputs are correct or have been adversarially manipulated -- is a fundamentally challenging task. This is often made even more difficult as frontier language models are offered only through closed-source APIs, providing only black-box access. In this paper, we predict the behavior of black-box language models by asking follow-up questions and taking the probabilities of responses as representations to train reliable predictors. We first demonstrate that training a linear model on these responses reliably and accurately predicts model correctness on question-answering and reasoning benchmarks. Surprisingly, this can textiteven outperform white-box linear predictors that operate over model internals or activations. Furthermore, we demonstrate that these follow-up question responses can reliably distinguish between a clean version of an LLM and one that has been adversarially influenced via a system prompt to answer questions incorrectly or to introduce bugs into generated code. Finally, we show that they can also be used to differentiate between black-box LLMs, enabling the detection of misrepresented models provided through an API. Overall, our work shows promise in monitoring black-box language model behavior, supporting their deployment in larger, autonomous systems.

Key facts. Cited by 9 papers in the map (data through 7 Oct 2026). Builds on 47 of its 65 references that are in the map. First posted on arXiv 2 Jan 2025.

Builds on

47 of 65 references.

References · 47

  1. 2023GPT-4 Technical Reportcited by 18,132
  2. 2024The Llama 3 Herd of Modelscited by 14,192
  3. 2021Training Verifiers to Solve Math Word Problemscited by 9,743
  4. 2020Measuring Massive Multitask Language Understandingcited by 7,768
  5. 2020Scaling Laws for Neural Language Modelscited by 6,411
  6. 2016SQuAD: 100,000+ Questions for Machine Comprehension of Textcited by 4,115
  7. 2023Universal and Transferable Adversarial Attacks on Aligned Language Modelscited by 2,914
  8. 2019BoolQ: Exploring the Surprising Difficulty of Natural Yes/No Questionscited by 2,140
  9. 2018CommonsenseQA: A Question Answering Challenge Targeting Commonsense Knowledgecited by 1,793
  10. 2022Language Models (Mostly) Know What They Knowcited by 1,783
  11. 2022Competition-Level Code Generation with AlphaCodecited by 1,427
  12. 2023The Rise and Potential of Large Language Model Based Agents: A Surveycited by 1,422
35 more
  1. 2023Representation Engineering: A Top-Down Approach to AI Transparencycited by 1,239
  2. 2020Concept Bottleneck Modelscited by 1,022
  3. 2023Can LLMs Express Their Uncertainty? An Empirical Evaluation of Confidence Elicitation in LLMscited by 946
  4. 2022In-context Learning and Induction Headscited by 930
  5. 2023Progress measures for grokking via mechanistic interpretabilitycited by 822
  6. 2023Semantic Uncertainty: Linguistic Invariances for Uncertainty Estimation in Natural Language Generationcited by 795
  7. 2019Fantastic Generalization Measures and Where to Find Themcited by 507
  8. 2023Scaling Data-Constrained Language Modelscited by 391
  9. 2022Using cognitive psychology to understand GPT-3cited by 389
  10. 2024Measuring short-form factuality in large language modelscited by 345
  11. 2023Hard Prompts Made Easy: Gradient-Based Discrete Optimization for Prompt Tuning and Discoverycited by 329
  12. 2023HaluEval: A Large-Scale Hallucination Evaluation Benchmark for Large Language Modelscited by 329
  13. 2023Improving Text Embeddings with Large Language Modelscited by 295
  14. 2024Massive Activations in Large Language Modelscited by 277
  15. 2023Proving Test Set Contamination in Black Box Language Modelscited by 227
  16. 2020Learning from the Worst: Dynamically Generated Datasets to Improve Online Hate Detectioncited by 217
  17. 2023The Clock and the Pizza: Two Stories in Mechanistic Explanation of Neural Networkscited by 153
  18. 2024To Believe or Not to Believe Your LLMcited by 120
  19. 2021Assessing Generalization of SGD via Disagreementcited by 116
  20. 2024Rethinking Interpretability in the Era of Large Language Modelscited by 110
  21. 2020Predicting Neural Network Accuracy from Weightscited by 107
  22. 2024Large Language Models Must Be Taught to Know What They Don't Knowcited by 99
  23. 2023How to Catch an AI Liar: Lie Detection in Black-Box LLMs by Asking Unrelated Questionscited by 82
  24. 2024CogBench: a large language model walks into a psychology labcited by 60
  25. 2023Non-Vacuous Generalization Bounds for Large Language Modelscited by 53
  26. 2022Language Models in the Loop: Incorporating Prompting into Weak Supervisioncited by 51
  27. 2020Predicting Performance for Natural Language Processing Taskscited by 49
  28. 2024Model Equality Testing: Which Model Is This API Serving?cited by 44
  29. 2024Logits of API-Protected LLMs Leak Proprietary Informationcited by 38
  30. 2023How Predictable Are Large Language Model Capabilities? A Case Study on BIG-benchcited by 34
  31. 2023Localizing Lying in Llama: Understanding Instructed Dishonesty on True-False Questions Through Prompting, Probing, and Patchingcited by 24
  32. 2023Interpretability Illusions in the Generalization of Simplified Modelscited by 24
  33. 2024Enhancing In-context Learning via Linear Probe Calibrationcited by 16
  34. 2022Losses over Labels: Weakly Supervised Learning via Direct Loss Constructioncited by 11
  35. 2023Understanding prompt engineering may not require rethinking generalizationcited by 10

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2025: 7; 2026: 2.

9 papers.