Research map / Large language models / Agents, code and math
In-Context Learning May Not Elicit Trustworthy Reasoning: A-Not-B Errors in Pretrained Language Models
Pengrui Han, Peiyang Song, Haofei Yu, Jiaxuan You
California Institute of Technology
Read the paperPlace an idea next to itCheck your own paper ↗
11measured effects
2improved
3no clear effect
5hurt
1mixed
AI-extracted. The measured effects below were read by AI from the paper's full text (no summary yet). Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.
Measured effects reported in the paper
| What was changed | Where | Measured | Effect |
|---|---|---|---|
| use A-not-B prompting (all demonstration answers are option A) instead of original prompting | Llama3-8b · MathQA, 25-shot | accuracy: 36% -> 6% | Hurt |
| use A-not-B prompting instead of original prompting | Qwen1.5-72b · MathQA, 25-shot | accuracy: 50% -> 28% | Hurt |
| use A-not-B prompting instead of original prompting | Qwen1.5-7b · MathQA, 3-shot | accuracy: 64% -> 88% | Improved |
| use A-not-B prompting instead of original prompting | Llama3-8b · SciQ | accuracy: 96% -> 90% at 25 shots; 94% -> 94% at 5 shots | No clear effect |
| use smaller models (8B/7B) instead of larger (70B/72B) | Llama3 and Qwen1.5, A-not-B prompting · four reasoning tasks, 25-shot average | average accuracy drop: 8.7% (larger) vs 20.8% (smaller) | Hurt |
| increase number of few-shot examples under A-not-B prompting | large and small models · four reasoning tasks | accuracy drop | Hurt |
| change option IDs from A-not-B to B-not-A, C-not-D, E-not-F (ablation) | Qwen1.5-7b · MathQA | relative accuracy change: A-not-B +37.5 (3-shot); E-not-F -41.2 (25-shot) | Mixed |
| generalize to many-shot with five options (80 examples, answer E never demonstrated) (ablation) | Llama3 70B and 8B · MathQA many-shot | accuracy | Hurt |
| add self-explanation to A-not-B prompts (ablation) | Llama3-8b · MathQA | accuracy: 48% (0-shot) -> 18% (25-shot) | No clear effect |
| use Llama3 (more and better pretraining data) instead of Llama2-70b (ablation) | Llama models · A-not-B, MathQA setting | accuracy drop | Improved |
| compare humans (math undergraduates) under A-not-B vs original setting | human participants · arithmetic MCQs, 10-shot | accuracy difference: largest difference 2.0% | No clear effect |
Closest papers by meaning
- A retrospective analysis on the use of LLMs to study infant syntax learning (EMNLP 2026 · similarity 0.87)
- CogBench: a large language model walks into a psychology lab (ICML 2024 · similarity 0.85)
- When Thinking Fails: The Pitfalls of Reasoning for Instruction-Following in LLMs (NeurIPS 2025 · similarity 0.85)
- Do Language Models Exhibit the Same Cognitive Biases in Problem Solving as Human Learners? (ICML 2024 · similarity 0.84)
- In-Context Learning Agents Are Asymmetric Belief Updaters (ICML 2024 · similarity 0.84)
- Children's Intelligence Tests Pose Challenges for MLLMs? KidGym: A 2D Grid-Based Reasoning Benchmark for MLLMs (ICLR 2026 · similarity 0.84)
Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.
