Text and Patterns: For Effective Chain of Thought, It Takes Two to Tango
On the map: LLM reasoning → Prompting and chain-of-thought reasoning
Abstract (arXiv)
The past decade has witnessed dramatic gains in natural language processing and an unprecedented scaling of large language models. These developments have been accelerated by the advent of few-shot techniques such as chain of thought (CoT) prompting. Specifically, CoT pushes the performance of large language models in a few-shot setup by augmenting the prompts with intermediate steps. Despite impressive results across various tasks, the reasons behind their success have not been explored. This work uses counterfactual prompting to develop a deeper understanding of CoT-based few-shot prompting mechanisms in large language models. We first systematically identify and define the key components of a prompt: symbols, patterns, and text. Then, we devise and conduct an exhaustive set of experiments across four different tasks, by querying the model with counterfactual prompts where only one of these components is altered. Our experiments across three models (PaLM, GPT-3, and CODEX) reveal several surprising findings and brings into question the conventional wisdom around few-shot prompting. First, the presence of factual patterns in a prompt is practically immaterial to the success of CoT. Second, our results conclude that the primary role of intermediate steps may not be to facilitate learning how to solve a task. The intermediate steps are rather a beacon for the model to realize what symbols to replicate in the output to form a factual answer. Further, text imbues patterns with commonsense knowledge and meaning. Our empirical and qualitative analysis reveals that a symbiotic relationship between text and patterns explains the success of few-shot prompting: text helps extract commonsense from the question to help patterns, and patterns enforce task understanding and direct text generation.
Key facts. Cited by 128 papers in the map (data through 7 Oct 2026). Placed in Prompting and chain-of-thought reasoning, one of 17 directions in LLM reasoning. Builds on 47 of its 84 references that are in the map. First posted on arXiv 16 Sep 2022.
Builds on
47 of 84 references.
Closest ancestors · 4
Same direction, newest first
- 2022Large Language Models are Zero-Shot Reasoners24 May
- 2022Least-to-Most Prompting Enables Complex Reasoning in Large Language Models21 May
- 2022Self-Consistency Improves Chain of Thought Reasoning in Language Models21 Mar
- 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Models28 Jan
Other references · 43
- 2017Attention Is All You Needcited by 59,932
- 2022Training language models to follow instructions with human feedbackcited by 15,712
- 2021Training Verifiers to Solve Math Word Problemscited by 9,743
- 2021Evaluating Large Language Models Trained on Codecited by 8,053
- 2022PaLM: Scaling Language Modeling with Pathwayscited by 5,304
- 2016"Why Should I Trust You?": Explaining the Predictions of Any Classifiercited by 5,040
- 2021Finetuned Language Models Are Zero-Shot Learnerscited by 3,747
- 2019The Curious Case of Neural Text Degenerationcited by 2,881
- 2022Do As I Can, Not As I Say: Grounding Language in Robotic Affordancescited by 2,302
- 2021Pre-train, Prompt, and Predict: A Systematic Survey of Prompting Methods in Natural Language Processingcited by 2,222
- 2018SentencePiece: A simple and language independent subword tokenizer and detokenizer for Neural Text Processingcited by 1,973
- 2022Beyond the Imitation Game: Quantifying and extrapolating the capabilities of language modelscited by 1,970
31 more
- 2021Multitask Prompted Training Enables Zero-Shot Task Generalizationcited by 1,462
- 2022Competition-Level Code Generation with AlphaCodecited by 1,427
- 2022Rethinking the Role of Demonstrations: What Makes In-Context Learning Work?cited by 1,413
- 2022Solving Quantitative Reasoning Problems with Language Modelscited by 1,359
- 2022LaMDA: Language Models for Dialog Applicationscited by 1,218
- 2021What Makes Good In-Context Examples for GPT-3?cited by 1,184
- 2019Attention is not Explanationcited by 916
- 2021An Explanation of In-context Learning as Implicit Bayesian Inferencecited by 915
- 2021Show Your Work: Scratchpads for Intermediate Computation with Language Modelscited by 871
- 2021Are NLP Models really able to Solve Simple Math Word Problems?cited by 861
- 2017Program Induction by Rationale Generation : Learning to Solve and Explain Algebraic Word Problemscited by 642
- 2021Learning To Retrieve Prompts for In-Context Learningcited by 641
- 2019Explaining Machine Learning Classifiers through Diverse Counterfactual Explanationscited by 612
- 2022Using cognitive psychology to understand GPT-3cited by 389
- 2019Explain Yourself! Leveraging Language Models for Commonsense Reasoningcited by 367
- 2022Autoformalization with Large Language Modelscited by 252
- 2021The GEM Benchmark: Natural Language Generation, its Evaluation and Metricscited by 239
- 2019FACE: Feasible and Actionable Counterfactual Explanationscited by 232
- 2021Causal Inference in Natural Language Processing: Estimation, Prediction, Interpretation and Beyondcited by 177
- 2021Reframing Instructional Prompts to GPTk's Languagecited by 176
- 2020Counterfactual Explanations and Algorithmic Recourses for Machine Learning: A Reviewcited by 174
- 2020Unsupervised Commonsense Question Answering with Self-Talkcited by 161
- 2022Synchromesh: Reliable code generation from pre-trained language modelscited by 156
- 2022Impact of Pretraining Term Frequencies on Few-Shot Reasoningcited by 142
- 2022Ground-Truth Labels Matter: A Deeper Look into Input-Label Demonstrationscited by 116
- 2021Counterfactual Explanations Can Be Manipulatedcited by 113
- 2022Rationale-Augmented Ensembles in Language Modelscited by 111
- 2021A Recipe For Arbitrary Text Style Transfer with Large Language Modelscited by 107
- 2019The Dangers of Post-hoc Interpretability: Unjustified Counterfactual Explanationscited by 97
- 2021Uncovering Main Causalities for Long-tailed Information Extractioncited by 21
- 2016Building Machines That Learn and Think Like Peoplecited by 3
Built on by
Citing papers per year: 2022: 5; 2023: 43; 2024: 43; 2025: 24; 2026: 13.
128 papers.
Sort:
By area:
- 2022ReAct: Synergizing Reasoning and Acting in Language Modelscited by 8,355
- 2023A Survey of Large Language Modelscited by 2,537
- 2022Challenging BIG-Bench Tasks and Whether Chain-of-Thought Can Solve Themcited by 1,767
- 2023Language Models Don't Always Say What They Think: Unfaithful Explanations in Chain-of-Thought Promptingcited by 1,081
- 2023Large Language Models as Optimizerscited by 830
- 2023Large Language Models Can Be Easily Distracted by Irrelevant Contextcited by 820
- 2024Training Large Language Models to Reason in a Continuous Latent Spacecited by 763
- 2023Measuring Faithfulness in Chain-of-Thought Reasoningcited by 668
- 2022PAL: Program-aided Language Modelscited by 635
- 2023Promptbreeder: Self-Referential Self-Improvement Via Prompt Evolutioncited by 521
- 2023Larger language models do in-context learning differentlycited by 386
- 2023Language Models can Solve Computer Taskscited by 371
38 more
- 2023Explainability for Large Language Models: A Surveycited by 331
- 2023ToolQA: A Dataset for LLM Question Answering with External Toolscited by 273
- 2024To CoT or not to CoT? Chain-of-thought helps mainly on math and symbolic reasoningcited by 257
- 2024Chain of Thought Empowers Transformers to Solve Inherently Serial Problemscited by 256
- 2023Think before you speak: Training Language Models With Pause Tokenscited by 254
- 2022Towards Understanding Chain-of-Thought Prompting: An Empirical Study of What Matterscited by 221
- 2023What Algorithms can Transformers Learn? A Study in Length Generalizationcited by 198
- 2023Navigate through Enigmatic Labyrinth A Survey of Chain of Thought Reasoning: Advances, Frontiers and Futurecited by 184
- 2024The Impact of Reasoning Step Length on Large Language Modelscited by 152
- 2023Large Language Model Cascades with Mixture of Thoughts Representations for Cost-efficient Reasoningcited by 140
- 2025Thought Anchors: Which LLM Reasoning Steps Matter?cited by 126
- 2024Meta-Prompting: Enhancing Language Models with Task-Agnostic Scaffoldingcited by 115
- 2024A Practical Review of Mechanistic Interpretability for Transformer-Based Language Modelscited by 113
- 2022Teaching Algorithmic Reasoning via In-context Learningcited by 111
- 2024Rethinking Interpretability in the Era of Large Language Modelscited by 110
- 2023Question Decomposition Improves the Faithfulness of Model-Generated Reasoningcited by 107
- 2023Symbol tuning improves in-context learning in language modelscited by 72
- 2023Dr.ICL: Demonstration-Retrieved In-context Learningcited by 71
- 2024Demystifying Chains, Trees, and Graphs of Thoughtscited by 63
- 2023Towards Better Chain-of-Thought Prompting Strategies: A Surveycited by 62
- 2024The Benefits of a Concise Chain of Thought on Problem-Solving in Large Language Modelscited by 62
- 2024CTIBench: A Benchmark for Evaluating LLMs in Cyber Threat Intelligencecited by 61
- 2025SagaLLM: Context Management, Validation, and Transaction Guarantees for Multi-Agent LLM Planningcited by 58
- 2023Active Learning Principles for In-Context Learning with Large Language Modelscited by 53
- 2023Bias Testing and Mitigation in LLM-based Code Generationcited by 53
- 2023How Many Demonstrations Do You Need for In-context Learning?cited by 52
- 2023Better Zero-Shot Reasoning with Self-Adaptive Promptingcited by 52
- 2023TELeR: A General Taxonomy of LLM Prompts for Benchmarking Complex Taskscited by 48
- 2023Reprompting: Automated Chain-of-Thought Prompt Inference Through Gibbs Samplingcited by 46
- 2024Explainable Artificial Intelligence: A Survey of Needs, Techniques, Applications, and Future Directioncited by 46
- 2023Measuring and Improving Chain-of-Thought Reasoning in Vision-Language Modelscited by 45
- 2023Self-ICL: Zero-Shot In-Context Learning with Self-Generated Demonstrationscited by 42
- 2024Self-Reflection in LLM Agents: Effects on Problem-Solving Performancecited by 38
- 2023Analyzing Chain-of-Thought Prompting in Large Language Models via Gradient-based Feature Attributionscited by 32
- 2024PromptWizard: Task-Aware Prompt Optimization Frameworkcited by 32
- 2023Mind meets machine: Unravelling GPT-4's cognitive psychologycited by 31
- 2024Deciphering the Factors Influencing the Efficacy of Chain-of-Thought: Probability, Memorization, and Noisy Reasoningcited by 27
- 2024Unveiling the Statistical Foundations of Chain-of-Thought Prompting Methodscited by 27
50 most cited of 128 All 128 (JSON)
- 2026AgentWorld: Personality-Aware Reliability Evaluation for Agentic Information Retrieval25 Aug 2026
- 2026APQF: Agentic Profiling-Guided Structured Pruning and Mixed-Precision Quantization with Adaptive Fine-Tuning6 Aug 2026
- 2026UniVR: Thinking in Visual Space for Unified Visual Reasoning14 Jul 2026
- 2026Chains That See, Answers That Don't: A Multi-Aspect Evaluation Recipe for Forced Chain-of-Thought on Video-MME22 Jun 2026
- 2026DLWM: Diverse Latent World Models for Efficient Multimodal Reasoning13 Jun 2026
- 2026The Readout Shortcut: Positional Number Copying Dominates Arithmetic CoT Readout in Small Language Models20 May 2026
- 2026From Noise to Diversity: Random Embedding Injection in LLM Reasoning12 May 2026
- 2026The Last Word Often Wins: A Format Confound in Chain-of-Thought Corruption Studies11 May 2026
- 2026Rethinking Dense Sequential Chains: Reasoning Language Models Can Extract Answers from Sparse, Order-Shuffling Chain-of-Thoughts8 May 2026
- 2026NoisyCoconut: Counterfactual Consensus via Latent Space Reasoning6 May 2026
- 2026PRISM: A Dual View of LLM Reasoning through Semantic Flow and Latent Computation24 Mar 2026
- 2026The Potential of CoT for Reasoning: A Closer Look at Trace Dynamics16 Feb 2026
38 more
- 2026OneLatent: Single-Token Compression for Visual Latent Reasoning14 Feb 2026
- 2025ORION: Teaching Language Models to Reason Efficiently in the Language of Thought28 Nov 2025
- 2025Transformers Provably Learn Chain-of-Thought Reasoning with Length Generalization10 Nov 2025
- 2025ALAS: Transactional and Dynamic Multi-Agent LLM Planning5 Nov 2025
- 2025Adapting Large Language Models to Emerging Cybersecurity using Retrieval Augmented Generation31 Oct 2025
- 2025Attention Illuminates LLM Reasoning: The Preplan-and-Anchor Rhythm Enables Fine-Grained Policy Optimization15 Oct 2025
- 2025ProfilingAgent: Profiling-Guided Agentic Reasoning for Adaptive Model Optimization6 Sep 2025
- 2025Rethinking the Chain-of-Thought: The Roles of In-Context Learning and Pre-trained Priors1 Sep 2025
- 2025How Chain-of-Thought Works? Tracing Information Flow from Decoding, Projection, and Activation28 Jul 2025
- 2025Thought Anchors: Which LLM Reasoning Steps Matter?23 Jun 2025
- 2025Knowing Before Saying: LLM Representations Encode Information About Chain-of-Thought Success Before Completion30 May 2025
- 2025SCOUT: Teaching Pre-trained Language Models to Enhance Reasoning via Flow Chain-of-Thought30 May 2025
- 2025The Quest for Efficient Reasoning: A Data-Centric Benchmark to CoT Distillation24 May 2025
- 2025ALAS: A Stateful Multi-LLM Agent Framework for Disruption-Aware Planning18 May 2025
- 2025Chain-of-Thought Tokens are Computer Program Variables8 May 2025
- 2025LLM for Comparative Narrative Analysis11 Apr 2025
- 2025Who Owns the Output? Bridging Law and Technology in LLMs Attribution29 Mar 2025
- 2025Landscape of Thoughts: Visualizing the Reasoning Process of Large Language Models28 Mar 2025
- 2025SagaLLM: Context Management, Validation, and Transaction Guarantees for Multi-Agent LLM Planning15 Mar 2025
- 2025Don't Take Things Out of Context: Attention Intervention for Enhancing Chain-of-Thought Reasoning in Large Language Models14 Mar 2025
- 2025Exploiting Edited Large Language Models as General Scientific Optimizers8 Mar 2025
- 2025Chain-of-Thought Matters: Improving Long-Context Language Models with Reasoning Path Supervision28 Feb 2025
- 2025DR.GAP: Mitigating Bias in Large Language Models using Gender-Aware Prompting with Decoupled Reasoning17 Feb 2025
- 2025Mathematical Reasoning in Large Language Models: Assessing Logical and Arithmetic Errors across Wide Numerical Ranges12 Feb 2025
- 2025Compositional Generalization from Learned Skills via CoT Training: A Theoretical and Structural Analysis for Reasoning7 Feb 2025
- 2024Conceptual In-Context Learning and Chain of Concepts: Solving Complex Conceptual Problems Using Large Language Models19 Dec 2024
- 2024GReaTer: Gradients over Reasoning Makes Smaller Language Models Strong Prompt Optimizers12 Dec 2024
- 2024Training Large Language Models to Reason in a Continuous Latent Space9 Dec 2024
- 2024Chain-of-Thought in Large Language Models: Decoding, Projection, and Activation5 Dec 2024
- 2024ReSpAct: Harmonizing Reasoning, Speaking, and Acting Towards Building Large Language Model-Based Conversational AI Agents1 Nov 2024
- 2024A Theoretical Understanding of Chain-of-Thought: Coherent Reasoning and Error-Aware Demonstration21 Oct 2024
- 2024FLARE: Faithful Logic-Aided Reasoning and Exploration14 Oct 2024
- 2024DOTS: Learning to Reason Dynamically in LLMs via Optimal Reasoning Trajectories Search4 Oct 2024
- 2024To CoT or not to CoT? Chain-of-thought helps mainly on math and symbolic reasoning18 Sep 2024
- 2024iToT: An Interactive System for Customized Tree-of-Thought Generation31 Aug 2024
- 2024Explainable Artificial Intelligence: A Survey of Needs, Techniques, Applications, and Future Direction30 Aug 2024
- 2024Unveiling the Statistical Foundations of Chain-of-Thought Prompting Methods25 Aug 2024
- 2024Multi-tool Integration Application for Math Reasoning Using Large Language Model22 Aug 2024
50 newest of 128 All 128 (JSON)
- 2022ReAct: Synergizing Reasoning and Acting in Language Modelscited by 8,355
- 2022Challenging BIG-Bench Tasks and Whether Chain-of-Thought Can Solve Themcited by 1,767
- 2023Language Models Don't Always Say What They Think: Unfaithful Explanations in Chain-of-Thought Promptingcited by 1,081
- 2024Training Large Language Models to Reason in a Continuous Latent Spacecited by 763
- 2023Measuring Faithfulness in Chain-of-Thought Reasoningcited by 668
- 2022PAL: Program-aided Language Modelscited by 635
- 2023Promptbreeder: Self-Referential Self-Improvement Via Prompt Evolutioncited by 521
- 2024To CoT or not to CoT? Chain-of-thought helps mainly on math and symbolic reasoningcited by 257
- 2024Chain of Thought Empowers Transformers to Solve Inherently Serial Problemscited by 256
- 2023Think before you speak: Training Language Models With Pause Tokenscited by 254
- 2022Towards Understanding Chain-of-Thought Prompting: An Empirical Study of What Matterscited by 221
- 2023Navigate through Enigmatic Labyrinth A Survey of Chain of Thought Reasoning: Advances, Frontiers and Futurecited by 184
12 most cited of 79 All 79 (JSON)
- 2026UniVR: Thinking in Visual Space for Unified Visual Reasoning14 Jul 2026
- 2026Chains That See, Answers That Don't: A Multi-Aspect Evaluation Recipe for Forced Chain-of-Thought on Video-MME22 Jun 2026
- 2026The Readout Shortcut: Positional Number Copying Dominates Arithmetic CoT Readout in Small Language Models20 May 2026
- 2026From Noise to Diversity: Random Embedding Injection in LLM Reasoning12 May 2026
- 2026The Last Word Often Wins: A Format Confound in Chain-of-Thought Corruption Studies11 May 2026
- 2026Rethinking Dense Sequential Chains: Reasoning Language Models Can Extract Answers from Sparse, Order-Shuffling Chain-of-Thoughts8 May 2026
- 2026NoisyCoconut: Counterfactual Consensus via Latent Space Reasoning6 May 2026
- 2026PRISM: A Dual View of LLM Reasoning through Semantic Flow and Latent Computation24 Mar 2026
- 2026The Potential of CoT for Reasoning: A Closer Look at Trace Dynamics16 Feb 2026
- 2026OneLatent: Single-Token Compression for Visual Latent Reasoning14 Feb 2026
- 2025ORION: Teaching Language Models to Reason Efficiently in the Language of Thought28 Nov 2025
- 2025Transformers Provably Learn Chain-of-Thought Reasoning with Length Generalization10 Nov 2025
12 newest of 79 All 79 (JSON)
- 2023ToolQA: A Dataset for LLM Question Answering with External Toolscited by 273
- 2025SagaLLM: Context Management, Validation, and Transaction Guarantees for Multi-Agent LLM Planningcited by 58
- 2024Self-Reflection in LLM Agents: Effects on Problem-Solving Performancecited by 38
- 2025ALAS: A Stateful Multi-LLM Agent Framework for Disruption-Aware Planningcited by 5
- 2025ALAS: Transactional and Dynamic Multi-Agent LLM Planningcited by 3
- 2026AgentWorld: Personality-Aware Reliability Evaluation for Agentic Information Retrievalcited by 1
- 2026APQF: Agentic Profiling-Guided Structured Pruning and Mixed-Precision Quantization with Adaptive Fine-Tuningcited by 0
- 2026AgentWorld: Personality-Aware Reliability Evaluation for Agentic Information Retrieval25 Aug 2026
- 2026APQF: Agentic Profiling-Guided Structured Pruning and Mixed-Precision Quantization with Adaptive Fine-Tuning6 Aug 2026
- 2025ALAS: Transactional and Dynamic Multi-Agent LLM Planning5 Nov 2025
- 2025ALAS: A Stateful Multi-LLM Agent Framework for Disruption-Aware Planning18 May 2025
- 2025SagaLLM: Context Management, Validation, and Transaction Guarantees for Multi-Agent LLM Planning15 Mar 2025
- 2024Self-Reflection in LLM Agents: Effects on Problem-Solving Performance5 May 2024
- 2023ToolQA: A Dataset for LLM Question Answering with External Tools23 Jun 2023
- 2023A Survey of Large Language Modelscited by 2,537
- 2023Large Language Models as Optimizerscited by 830
- 2023Large Language Models Can Be Easily Distracted by Irrelevant Contextcited by 820
- 2023Larger language models do in-context learning differentlycited by 386
- 2023Language Models can Solve Computer Taskscited by 371
- 2023Explainability for Large Language Models: A Surveycited by 331
- 2023What Algorithms can Transformers Learn? A Study in Length Generalizationcited by 198
- 2024Meta-Prompting: Enhancing Language Models with Task-Agnostic Scaffoldingcited by 115
- 2024A Practical Review of Mechanistic Interpretability for Transformer-Based Language Modelscited by 113
- 2023Symbol tuning improves in-context learning in language modelscited by 72
- 2023Dr.ICL: Demonstration-Retrieved In-context Learningcited by 71
- 2024CTIBench: A Benchmark for Evaluating LLMs in Cyber Threat Intelligencecited by 61
12 most cited of 38 All 38 (JSON)
- 2025LLM for Comparative Narrative Analysis11 Apr 2025
- 2025Who Owns the Output? Bridging Law and Technology in LLMs Attribution29 Mar 2025
- 2024Conceptual In-Context Learning and Chain of Concepts: Solving Complex Conceptual Problems Using Large Language Models19 Dec 2024
- 2024Explainable Artificial Intelligence: A Survey of Needs, Techniques, Applications, and Future Direction30 Aug 2024
- 2024Enhancing Robustness in Large Language Models: Prompting for Mitigating the Impact of Irrelevant Information20 Aug 2024
- 2024A Practical Review of Mechanistic Interpretability for Transformer-Based Language Models2 Jul 2024
- 2024CTIBench: A Benchmark for Evaluating LLMs in Cyber Threat Intelligence11 Jun 2024
- 2024Unveiling the Lexical Sensitivity of LLMs: Combinatorial Optimization for Prompt Enhancement31 May 2024
- 2024SECURE: Benchmarking Large Language Models for Cybersecurity30 May 2024
- 2024PromptWizard: Task-Aware Prompt Optimization Framework28 May 2024
- 2024Analyzing the Role of Semantic Representations in the Era of Large Language Models2 May 2024
- 2024Auctions with LLM Summaries11 Apr 2024
12 newest of 38 All 38 (JSON)
Similar, not cited
Close in wording, no citation either way
- 2024Enhancing Chain of Thought Prompting in Large Language Models via Reasoning Patterns
- 2025Revisiting Chain-of-Thought Prompting: Zero-shot Can Be Stronger than Few-shot
- 2023Cross-lingual Prompting: Improving Zero-shot Chain-of-Thought Reasoning across Languages
- 2026Beyond the Prompt in Large Language Models: Comprehension, In-Context Learning, and Chain-of-Thought
- 2024Chain-of-Thought Reasoning Without Prompting
- 2025The Curse of CoT: On the Limitations of Chain-of-Thought in In-Context Learning
- 2025Prompting Science Report 2: The Decreasing Value of Chain of Thought in Prompting
- 2023Leveraging Training Data in Few-Shot Prompting for Numerical Reasoning