Goat: Fine-tuned LLaMA Outperforms GPT-4 on Arithmetic Tasks
Not on the map. Why?
Cited by 20 in LLM reasoning, but placed by its own abstract, which didn’t fit.
Abstract (arXiv)
We introduce Goat, a fine-tuned LLaMA model that significantly outperforms GPT-4 on a range of arithmetic tasks. Fine-tuned on a synthetically generated dataset, Goat achieves state-of-the-art performance on BIG-bench arithmetic sub-task. In particular, the zero-shot Goat-7B matches or even surpasses the accuracy achieved by the few-shot PaLM-540B. Surprisingly, Goat can achieve near-perfect accuracy on large-number addition and subtraction through supervised fine-tuning only, which is almost impossible with previous pretrained language models, such as Bloom, OPT, GPT-NeoX, etc. We attribute Goat's exceptional performance to LLaMA's consistent tokenization of numbers. To tackle more challenging tasks like large-number multiplication and division, we propose an approach that classifies tasks based on their learnability, and subsequently decomposes unlearnable tasks, such as multi-digit multiplication and division, into a series of learnable tasks by leveraging basic arithmetic principles. We thoroughly examine the performance of our model, offering a comprehensive evaluation of the effectiveness of our proposed decomposition steps. Additionally, Goat-7B can be easily trained using LoRA on a 24GB VRAM GPU, facilitating reproducibility for other researchers. We release our model, dataset, and the Python script for dataset generation.
Key facts. Cited by 84 papers in the map (data through 7 Oct 2026). Builds on 31 of its 40 references that are in the map. First posted on arXiv 23 May 2023.
Builds on
31 of 40 references.
References · 31
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2022Training language models to follow instructions with human feedbackcited by 15,712
- 2021LoRA: Low-Rank Adaptation of Large Language Modelscited by 14,084
- 2023LLaMA: Open and Efficient Foundation Language Modelscited by 13,958
- 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,302
- 2021Training Verifiers to Solve Math Word Problemscited by 9,743
- 2022PaLM: Scaling Language Modeling with Pathwayscited by 5,304
- 2022Large Language Models are Zero-Shot Reasonerscited by 4,323
- 2023Toolformer: Language Models Can Teach Themselves to Use Toolscited by 4,072
- 2022Scaling Instruction-Finetuned Language Modelscited by 2,997
- 2022Self-Instruct: Aligning Language Models with Self-Generated Instructionscited by 2,674
- 2023Sparks of Artificial General Intelligence: Early experiments with GPT-4cited by 2,579
19 more
- 2022Beyond the Imitation Game: Quantifying and extrapolating the capabilities of language modelscited by 1,970
- 2022BLOOM: A 176B-Parameter Open-Access Multilingual Language Modelcited by 1,968
- 2023Pythia: A Suite for Analyzing Large Language Models Across Training and Scalingcited by 1,734
- 2021Multitask Prompted Training Enables Zero-Shot Task Generalizationcited by 1,462
- 2022Least-to-Most Prompting Enables Complex Reasoning in Large Language Modelscited by 1,397
- 2022LaMDA: Language Models for Dialog Applicationscited by 1,218
- 2022Program of Thoughts Prompting: Disentangling Computation from Reasoning for Numerical Reasoning Taskscited by 1,057
- 2021Show Your Work: Scratchpads for Intermediate Computation with Language Modelscited by 871
- 2022GPT-NeoX-20B: An Open-Source Autoregressive Language Modelcited by 711
- 2023Instruction Tuning with GPT-4cited by 676
- 2022PAL: Program-aided Language Modelscited by 635
- 2023Are Emergent Abilities of Large Language Models a Mirage?cited by 515
- 2021Investigating the Limitations of Transformers with Simple Arithmetic Taskscited by 136
- 2023How well do Large Language Models perform in Arithmetic tasks?cited by 130
- 2022A Survey of Deep Learning for Mathematical Reasoningcited by 124
- 2022Teaching Algorithmic Reasoning via In-context Learningcited by 111
- 2022Limitations of Language Models in Arithmetic and Symbolic Inductioncited by 71
- 2022Sub-Task Decomposition Enables Learning in Sequence to Sequence Taskscited by 41
- 2023Evaluating Transformer Language Models on Arithmetic Operations Using Number Decompositioncited by 15
Built on by
Citing papers per year: 2023: 26; 2024: 37; 2025: 18; 2026: 3.
84 papers.
Sort:
By area:
- 2023A Comprehensive Overview of Large Language Modelscited by 639
- 2023Instruction Tuning for Large Language Models: A Surveycited by 617
- 2023Large Language Models Are Zero-Shot Time Series Forecasterscited by 491
- 2024What matters when building vision-language models?cited by 321
- 2024Building and better understanding vision-language models: insights and future directionscited by 169
- 2025Hierarchical Reasoning Modelcited by 167
- 2024InternLM-Math: Open Math Large Language Models Toward Verifiable Reasoningcited by 117
- 2024Fine-Tuned Language Models Generate Stable Inorganic Materials as Textcited by 92
- 2023A Mechanistic Interpretation of Arithmetic Reasoning in Language Models using Causal Mediation Analysiscited by 88
- 2023GPT Can Solve Mathematical Problems Without a Calculatorcited by 68
- 2023Auto-Regressive Next-Token Predictors are Universal Learnerscited by 65
- 2024Rejection Improves Reliability: Training LLMs to Refuse Unknown Questions Using RL from Knowledge Feedbackcited by 64
38 more
- 2024BioT5+: Towards Generalized Biological Understanding with IUPAC Integration and Multi-task Tuningcited by 54
- 2024FlowLLM: Flow Matching for Material Generation with Large Language Models as Base Distributionscited by 52
- 2025Exploring the Limit of Outcome Reward for Learning Mathematical Reasoningcited by 51
- 2024Evaluating Large Language Models on Time Series Feature Understanding: A Comprehensive Taxonomy and Benchmarkcited by 38
- 2023The first step is the hardest: Pitfalls of Representing and Tokenizing Temporal Data for Large Language Modelscited by 34
- 2024Large Language Models in Cybersecurity: State-of-the-Artcited by 34
- 2023How Do Large Language Models Capture the Ever-changing World Knowledge? A Review of Recent Advancescited by 33
- 2025Ignore the KL Penalty! Boosting Exploration on Critical Tokens to Enhance RL Fine-Tuningcited by 33
- 2024Code Pretraining Improves Entity Tracking Abilities of Language Modelscited by 31
- 2023Toolink: Linking Toolkit Creation and Using through Chain-of-Solving on Open-Source Modelcited by 29
- 2023DialogueLLM: Context and Emotion Knowledge-Tuned Large Language Models for Emotion Recognition in Conversationscited by 29
- 2023Mathematical Language Models: A Surveycited by 24
- 2024Tools Fail: Detecting Silent Errors in Faulty Toolscited by 23
- 2025An Empirical Analysis of Uncertainty in Large Language Model Evaluationscited by 20
- 2023Explore-Instruct: Enhancing Domain-Specific Instruction Coverage through Active Explorationcited by 18
- 2023Scaling TabPFN: Sketching and Feature Selection for Tabular Prior-Data Fitted Networkscited by 18
- 2024Query Performance Prediction using Relevance Judgments Generated by Large Language Modelscited by 18
- 2023DeltaZip: Efficient Serving of Multiple Full-Model-Tuned LLMscited by 17
- 2024Small Language Models are Good Too: An Empirical Study of Zero-Shot Classificationcited by 17
- 2025Alignment for Efficient Tool Calling of Large Language Modelscited by 17
- 2024Text2Chart31: Instruction Tuning for Chart Generation with Automatic Feedbackcited by 16
- 2024Boosting Large Language Models with Socratic Method for Conversational Mathematics Teachingcited by 14
- 2023Adapting Large Language Models for Education: Foundational Capabilities, Potentials, and Challengescited by 13
- 2024Regression-aware Inference with LLMscited by 13
- 2023Arithmetic with Language Models: from Memorization to Computationcited by 12
- 2023Improving Length-Generalization in Transformers via Task Hintingcited by 12
- 2024CyberPal.AI: Empowering LLMs with Expert-Driven Cybersecurity Instructionscited by 12
- 2025A Survey on Mathematical Reasoning and Optimization with Large Language Modelscited by 12
- 2024A Theory for Length Generalization in Learning to Reasoncited by 11
- 2025BPE Stays on SCRIPT: Structured Encoding for Robust Multilingual Pretokenizationcited by 11
- 2024OmChat: A Recipe to Train Multimodal Language Models with Strong Long Context and Video Understandingcited by 10
- 2025EdgeLoRA: An Efficient Multi-Tenant LLM Serving System on Edge Devicescited by 10
- 2023Distilling Rule-based Knowledge into Large Language Modelscited by 9
- 2025From Reasoning to Super-Intelligence: A Search-Theoretic Perspectivecited by 9
- 2023Chain-of-Thought Reasoning is a Policy Improvement Operatorcited by 8
- 2024Reverse That Number! Decoding Order Matters in Arithmetic Learningcited by 8
- 2024Scaling Behavior for Large Language Models regarding Numeral Systems: An Example using Pythiacited by 8
- 2024A Comparative Analysis of Instruction Fine-Tuning LLMs for Financial Text Classificationcited by 8
50 most cited of 84 All 84 (JSON)
- 2026PyraMathBench: Evaluating and Improving Mathematical Capability in Large Language Models2 Jun 2026
- 2026ParaTool: Shifting Tool Representations from Context to Parameters28 May 2026
- 2026MAR: Efficient Large Language Models via Module-aware Architecture Refinement29 Jan 2026
- 2025Performance Trade-offs of Optimizing Small Language Models for E-Commerce24 Oct 2025
- 2025Benchmarking Foundation Models with Retrieval-Augmented Generation in Olympic-Level Physics Problem Solving1 Oct 2025
- 2025Circuit Distillation29 Sep 2025
- 2025Latent Traits and Cross-Task Transfer: Deconstructing Dataset Interactions in LLM Fine-tuning17 Sep 2025
- 2025Reasoning-Intensive Regression29 Aug 2025
- 2025From Reasoning to Super-Intelligence: A Search-Theoretic Perspective13 Jul 2025
- 2025EdgeLoRA: An Efficient Multi-Tenant LLM Serving System on Edge Devices2 Jul 2025
- 2025Hierarchical Reasoning Model26 Jun 2025
- 2025BPE Stays on SCRIPT: Structured Encoding for Robust Multilingual Pretokenization30 May 2025
38 more
- 2025Knowledge Augmented Complex Problem Solving with Large Language Models: A Survey6 May 2025
- 2025A Survey on Mathematical Reasoning and Optimization with Large Language Models22 Mar 2025
- 2025Alignment for Efficient Tool Calling of Large Language Models9 Mar 2025
- 2025Carbon and Silicon, Coexist or Compete? A Survey on Human-AI Interactions in Agent-based Modeling and Simulation25 Feb 2025
- 2025Integrating Arithmetic Learning Improves Mathematical Reasoning in Smaller Models18 Feb 2025
- 2025An Empirical Analysis of Uncertainty in Large Language Model Evaluations15 Feb 2025
- 2025Exploring the Limit of Outcome Reward for Learning Mathematical Reasoning10 Feb 2025
- 2025Ignore the KL Penalty! Boosting Exploration on Critical Tokens to Enhance RL Fine-Tuning10 Feb 2025
- 2025UniAttn: Reducing Inference Costs via Softmax Unification for Post-Training LLMs1 Feb 2025
- 2024MetaRuleGPT: Recursive Numerical Reasoning of Language Models Trained with Simple Rules18 Dec 2024
- 2024IntellectSeeker: A Personalized Literature Management System with the Probabilistic Model and Large Language Model10 Dec 2024
- 2024Arabic Stable LM: Adapting Stable LM 2 1.6B to Arabic5 Dec 2024
- 2024Unraveling Arithmetic in Large Language Models: The Role of Algebraic Structures25 Nov 2024
- 2024A Comparative Analysis of Instruction Fine-Tuning LLMs for Financial Text Classification4 Nov 2024
- 2024Next-Token Prediction Task Assumes Optimal Data Ordering for LLM Training in Proof Generation30 Oct 2024
- 2024FlowLLM: Flow Matching for Material Generation with Large Language Models as Base Distributions30 Oct 2024
- 2024Text2Chart31: Instruction Tuning for Chart Generation with Automatic Feedback5 Oct 2024
- 2024Scaling Behavior for Large Language Models regarding Numeral Systems: An Example using Pythia25 Sep 2024
- 2024Building and better understanding vision-language models: insights and future directions22 Aug 2024
- 2024CyberPal.AI: Empowering LLMs with Expert-Driven Cybersecurity Instructions17 Aug 2024
- 2024An Evaluation of Standard Statistical Models and LLMs on Time Series Forecasting9 Aug 2024
- 2024Boosting Large Language Models with Socratic Method for Conversational Mathematics Teaching24 Jul 2024
- 2024LETS-C: Leveraging Text Embedding for Time Series Classification9 Jul 2024
- 2024OmChat: A Recipe to Train Multimodal Language Models with Strong Long Context and Video Understanding6 Jul 2024
- 2024Re-Tuning: Overcoming the Compositionality Limits of Large Language Models with Recursive Tuning5 Jul 2024
- 2024LLM-based Frameworks for API Argument Filling in Task-Oriented Conversational Systems27 Jun 2024
- 2024Tools Fail: Detecting Silent Errors in Faulty Tools27 Jun 2024
- 2024Code Pretraining Improves Entity Tracking Abilities of Language Models31 May 2024
- 2024DOP: Diagnostic-Oriented Prompting for Large Language Models in Mathematical Correction20 May 2024
- 2024What matters when building vision-language models?3 May 2024
- 2024Evaluating Large Language Models on Time Series Feature Understanding: A Comprehensive Taxonomy and Benchmark25 Apr 2024
- 2024Small Language Models are Good Too: An Empirical Study of Zero-Shot Classification17 Apr 2024
- 2024Query Performance Prediction using Relevance Judgments Generated by Large Language Models1 Apr 2024
- 2024A Theory for Length Generalization in Learning to Reason31 Mar 2024
- 2024Rejection Improves Reliability: Training LLMs to Refuse Unknown Questions Using RL from Knowledge Feedback27 Mar 2024
- 2024Laying the Foundation First? Investigating the Generalization from Atomic Skills to Complex Reasoning Tasks14 Mar 2024
- 2024Mastering Text, Code and Math Simultaneously via Fusing Highly Specialized Language Models13 Mar 2024
- 2024Reverse That Number! Decoding Order Matters in Arithmetic Learning9 Mar 2024
50 newest of 84 All 84 (JSON)
- 2025Hierarchical Reasoning Modelcited by 167
- 2024InternLM-Math: Open Math Large Language Models Toward Verifiable Reasoningcited by 117
- 2023A Mechanistic Interpretation of Arithmetic Reasoning in Language Models using Causal Mediation Analysiscited by 88
- 2023Auto-Regressive Next-Token Predictors are Universal Learnerscited by 65
- 2025Exploring the Limit of Outcome Reward for Learning Mathematical Reasoningcited by 51
- 2025Ignore the KL Penalty! Boosting Exploration on Critical Tokens to Enhance RL Fine-Tuningcited by 33
- 2024Boosting Large Language Models with Socratic Method for Conversational Mathematics Teachingcited by 14
- 2025A Survey on Mathematical Reasoning and Optimization with Large Language Modelscited by 12
- 2025From Reasoning to Super-Intelligence: A Search-Theoretic Perspectivecited by 9
- 2023Chain-of-Thought Reasoning is a Policy Improvement Operatorcited by 8
- 2023Exploring Equation as a Better Intermediate Meaning Representation for Numerical Reasoningcited by 7
- 2023Conditions for Length Generalization in Learning Reasoning Skillscited by 7
12 most cited of 20 All 20 (JSON)
- 2026PyraMathBench: Evaluating and Improving Mathematical Capability in Large Language Models2 Jun 2026
- 2025Reasoning-Intensive Regression29 Aug 2025
- 2025From Reasoning to Super-Intelligence: A Search-Theoretic Perspective13 Jul 2025
- 2025Hierarchical Reasoning Model26 Jun 2025
- 2025Knowledge Augmented Complex Problem Solving with Large Language Models: A Survey6 May 2025
- 2025A Survey on Mathematical Reasoning and Optimization with Large Language Models22 Mar 2025
- 2025Integrating Arithmetic Learning Improves Mathematical Reasoning in Smaller Models18 Feb 2025
- 2025Exploring the Limit of Outcome Reward for Learning Mathematical Reasoning10 Feb 2025
- 2025Ignore the KL Penalty! Boosting Exploration on Critical Tokens to Enhance RL Fine-Tuning10 Feb 2025
- 2024MetaRuleGPT: Recursive Numerical Reasoning of Language Models Trained with Simple Rules18 Dec 2024
- 2024Unraveling Arithmetic in Large Language Models: The Role of Algebraic Structures25 Nov 2024
- 2024Boosting Large Language Models with Socratic Method for Conversational Mathematics Teaching24 Jul 2024
12 newest of 20 All 20 (JSON)
- 2023A Comprehensive Overview of Large Language Modelscited by 639
- 2023Instruction Tuning for Large Language Models: A Surveycited by 617
- 2023Large Language Models Are Zero-Shot Time Series Forecasterscited by 491
- 2024Fine-Tuned Language Models Generate Stable Inorganic Materials as Textcited by 92
- 2023GPT Can Solve Mathematical Problems Without a Calculatorcited by 68
- 2024BioT5+: Towards Generalized Biological Understanding with IUPAC Integration and Multi-task Tuningcited by 54
- 2024Evaluating Large Language Models on Time Series Feature Understanding: A Comprehensive Taxonomy and Benchmarkcited by 38
- 2023The first step is the hardest: Pitfalls of Representing and Tokenizing Temporal Data for Large Language Modelscited by 34
- 2024Large Language Models in Cybersecurity: State-of-the-Artcited by 34
- 2023How Do Large Language Models Capture the Ever-changing World Knowledge? A Review of Recent Advancescited by 33
- 2024Code Pretraining Improves Entity Tracking Abilities of Language Modelscited by 31
- 2023Toolink: Linking Toolkit Creation and Using through Chain-of-Solving on Open-Source Modelcited by 29
12 most cited of 52 All 52 (JSON)
- 2026MAR: Efficient Large Language Models via Module-aware Architecture Refinement29 Jan 2026
- 2025Performance Trade-offs of Optimizing Small Language Models for E-Commerce24 Oct 2025
- 2025Circuit Distillation29 Sep 2025
- 2025Latent Traits and Cross-Task Transfer: Deconstructing Dataset Interactions in LLM Fine-tuning17 Sep 2025
- 2025BPE Stays on SCRIPT: Structured Encoding for Robust Multilingual Pretokenization30 May 2025
- 2025An Empirical Analysis of Uncertainty in Large Language Model Evaluations15 Feb 2025
- 2025UniAttn: Reducing Inference Costs via Softmax Unification for Post-Training LLMs1 Feb 2025
- 2024IntellectSeeker: A Personalized Literature Management System with the Probabilistic Model and Large Language Model10 Dec 2024
- 2024Arabic Stable LM: Adapting Stable LM 2 1.6B to Arabic5 Dec 2024
- 2024A Comparative Analysis of Instruction Fine-Tuning LLMs for Financial Text Classification4 Nov 2024
- 2024Next-Token Prediction Task Assumes Optimal Data Ordering for LLM Training in Proof Generation30 Oct 2024
- 2024Scaling Behavior for Large Language Models regarding Numeral Systems: An Example using Pythia25 Sep 2024
12 newest of 52 All 52 (JSON)