AI Paper Atlas

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

EMNLP 2024Large language models › Agents, code and mathapproach: Mathematical and structural reasoning benchmarks19 citations (OpenAlex)

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 changedWhereMeasuredEffect
use A-not-B prompting (all demonstration answers are option A) instead of original promptingLlama3-8b · MathQA, 25-shotaccuracy: 36% -> 6%Hurt
use A-not-B prompting instead of original promptingQwen1.5-72b · MathQA, 25-shotaccuracy: 50% -> 28%Hurt
use A-not-B prompting instead of original promptingQwen1.5-7b · MathQA, 3-shotaccuracy: 64% -> 88%Improved
use A-not-B prompting instead of original promptingLlama3-8b · SciQaccuracy: 96% -> 90% at 25 shots; 94% -> 94% at 5 shotsNo 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 averageaverage accuracy drop: 8.7% (larger) vs 20.8% (smaller)Hurt
increase number of few-shot examples under A-not-B promptinglarge and small models · four reasoning tasksaccuracy dropHurt
change option IDs from A-not-B to B-not-A, C-not-D, E-not-F (ablation)Qwen1.5-7b · MathQArelative 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-shotaccuracyHurt
add self-explanation to A-not-B prompts (ablation)Llama3-8b · MathQAaccuracy: 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 settingaccuracy dropImproved
compare humans (math undergraduates) under A-not-B vs original settinghuman participants · arithmetic MCQs, 10-shotaccuracy difference: largest difference 2.0%No clear effect

Closest papers by meaning

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.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy