Predicting the Performance of Black-box LLMs through Follow-up Queries
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
- 2023GPT-4 Technical Reportcited by 18,132
- 2024The Llama 3 Herd of Modelscited by 14,192
- 2021Training Verifiers to Solve Math Word Problemscited by 9,743
- 2020Measuring Massive Multitask Language Understandingcited by 7,768
- 2020Scaling Laws for Neural Language Modelscited by 6,411
- 2016SQuAD: 100,000+ Questions for Machine Comprehension of Textcited by 4,115
- 2023Universal and Transferable Adversarial Attacks on Aligned Language Modelscited by 2,914
- 2019BoolQ: Exploring the Surprising Difficulty of Natural Yes/No Questionscited by 2,140
- 2018CommonsenseQA: A Question Answering Challenge Targeting Commonsense Knowledgecited by 1,793
- 2022Language Models (Mostly) Know What They Knowcited by 1,783
- 2022Competition-Level Code Generation with AlphaCodecited by 1,427
- 2023The Rise and Potential of Large Language Model Based Agents: A Surveycited by 1,422
35 more
- 2023Representation Engineering: A Top-Down Approach to AI Transparencycited by 1,239
- 2020Concept Bottleneck Modelscited by 1,022
- 2023Can LLMs Express Their Uncertainty? An Empirical Evaluation of Confidence Elicitation in LLMscited by 946
- 2022In-context Learning and Induction Headscited by 930
- 2023Progress measures for grokking via mechanistic interpretabilitycited by 822
- 2023Semantic Uncertainty: Linguistic Invariances for Uncertainty Estimation in Natural Language Generationcited by 795
- 2019Fantastic Generalization Measures and Where to Find Themcited by 507
- 2023Scaling Data-Constrained Language Modelscited by 391
- 2022Using cognitive psychology to understand GPT-3cited by 389
- 2024Measuring short-form factuality in large language modelscited by 345
- 2023Hard Prompts Made Easy: Gradient-Based Discrete Optimization for Prompt Tuning and Discoverycited by 329
- 2023HaluEval: A Large-Scale Hallucination Evaluation Benchmark for Large Language Modelscited by 329
- 2023Improving Text Embeddings with Large Language Modelscited by 295
- 2024Massive Activations in Large Language Modelscited by 277
- 2023Proving Test Set Contamination in Black Box Language Modelscited by 227
- 2020Learning from the Worst: Dynamically Generated Datasets to Improve Online Hate Detectioncited by 217
- 2023The Clock and the Pizza: Two Stories in Mechanistic Explanation of Neural Networkscited by 153
- 2024To Believe or Not to Believe Your LLMcited by 120
- 2021Assessing Generalization of SGD via Disagreementcited by 116
- 2024Rethinking Interpretability in the Era of Large Language Modelscited by 110
- 2020Predicting Neural Network Accuracy from Weightscited by 107
- 2024Large Language Models Must Be Taught to Know What They Don't Knowcited by 99
- 2023How to Catch an AI Liar: Lie Detection in Black-Box LLMs by Asking Unrelated Questionscited by 82
- 2024CogBench: a large language model walks into a psychology labcited by 60
- 2023Non-Vacuous Generalization Bounds for Large Language Modelscited by 53
- 2022Language Models in the Loop: Incorporating Prompting into Weak Supervisioncited by 51
- 2020Predicting Performance for Natural Language Processing Taskscited by 49
- 2024Model Equality Testing: Which Model Is This API Serving?cited by 44
- 2024Logits of API-Protected LLMs Leak Proprietary Informationcited by 38
- 2023How Predictable Are Large Language Model Capabilities? A Case Study on BIG-benchcited by 34
- 2023Localizing Lying in Llama: Understanding Instructed Dishonesty on True-False Questions Through Prompting, Probing, and Patchingcited by 24
- 2023Interpretability Illusions in the Generalization of Simplified Modelscited by 24
- 2024Enhancing In-context Learning via Linear Probe Calibrationcited by 16
- 2022Losses over Labels: Weakly Supervised Learning via Direct Loss Constructioncited by 11
- 2023Understanding prompt engineering may not require rethinking generalizationcited by 10
Built on by
Citing papers per year: 2025: 7; 2026: 2.
9 papers.
- 2025Are You Getting What You Pay For? Auditing Model Substitution in LLM APIscited by 35
- 2025No Answer Needed: Predicting LLM Answer Accuracy from Question-Only Linear Probescited by 35
- 2025Representation Engineering for Large-Language Models: Survey and Research Challengescited by 18
- 2025Estimating LLM Consistency: A User Baseline vs Surrogate Metricscited by 8
- 2025Analyzing Similarity Metrics for Data Selection for Language Model Pretrainingcited by 3
- 2025Evaluating Language Model Reasoning about Confidential Informationcited by 3
- 2025Answer-Centric or Reasoning-Driven? Uncovering the Latent Memory Anchor in LLMscited by 0
- 2026Position: Let's Develop Data Probes to Fundamentally Understand How Data Affects LLM Performancecited by 0
- 2026Referential Security as a New Paradigm for AI Evaluationscited by 0
- 2026Referential Security as a New Paradigm for AI Evaluations25 May 2026
- 2026Position: Let's Develop Data Probes to Fundamentally Understand How Data Affects LLM Performance11 May 2026
- 2025No Answer Needed: Predicting LLM Answer Accuracy from Question-Only Linear Probes12 Sep 2025
- 2025Evaluating Language Model Reasoning about Confidential Information27 Aug 2025
- 2025Answer-Centric or Reasoning-Driven? Uncovering the Latent Memory Anchor in LLMs21 Jun 2025
- 2025Estimating LLM Consistency: A User Baseline vs Surrogate Metrics26 May 2025
- 2025Are You Getting What You Pay For? Auditing Model Substitution in LLM APIs7 Apr 2025
- 2025Representation Engineering for Large-Language Models: Survey and Research Challenges24 Feb 2025
- 2025Analyzing Similarity Metrics for Data Selection for Language Model Pretraining4 Feb 2025