Mastering Symbolic Operations: Augmenting Language Models with Compiled Neural Networks
On the map: LLM reasoning → Reasoning benchmarks and evaluation
Abstract (arXiv)
Language models' (LMs) proficiency in handling deterministic symbolic reasoning and rule-based tasks remains limited due to their dependency implicit learning on textual data. To endow LMs with genuine rule comprehension abilities, we propose "Neural Comprehension" - a framework that synergistically integrates compiled neural networks (CoNNs) into the standard transformer architecture. CoNNs are neural modules designed to explicitly encode rules through artificially generated attention weights. By incorporating CoNN modules, the Neural Comprehension framework enables LMs to accurately and robustly execute rule-intensive symbolic tasks. Extensive experiments demonstrate the superiority of our approach over existing techniques in terms of length generalization, efficiency, and interpretability for symbolic operations. Furthermore, it can be applied to LMs across different model scales, outperforming tool-calling methods in arithmetic reasoning tasks while maintaining superior inference efficiency. Our work highlights the potential of seamlessly unifying explicit rule learning via CoNNs and implicit pattern learning in LMs, paving the way for true symbolic comprehension capabilities.
Key facts. Cited by 12 papers in the map (data through 7 Oct 2026). Placed in Reasoning benchmarks and evaluation, one of 17 directions in LLM reasoning. Builds on 66 of its 78 references that are in the map. First posted on arXiv 4 Apr 2023.
Builds on
66 of 78 references.
Closest ancestors · 4
Same direction, newest first
- 2023Augmented Language Models: a Survey15 Feb
- 2022PAL: Program-aided Language Models18 Nov
- 2022Impact of Pretraining Term Frequencies on Few-Shot Reasoning15 Feb
- 2021Show Your Work: Scratchpads for Intermediate Computation with Language Models30 Nov
Other references · 62
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,160
- 2022Training language models to follow instructions with human feedbackcited by 15,712
- 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,491
- 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,302
- 2021Training Verifiers to Solve Math Word Problemscited by 9,743
- 2019BART: Denoising Sequence-to-Sequence Pre-training for Natural Language Generation, Translation, and Comprehensioncited by 5,874
- 2022Self-Consistency Improves Chain of Thought Reasoning in Language Modelscited by 5,601
- 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
38 more
- 2022OPT: Open Pre-trained Transformer Language Modelscited by 3,464
- 2017Outrageously Large Neural Networks: The Sparsely-Gated Mixture-of-Experts Layercited by 3,413
- 2023Sparks of Artificial General Intelligence: Early experiments with GPT-4cited by 2,579
- 2022Emergent Abilities of Large Language Modelscited by 2,483
- 2022BLOOM: A 176B-Parameter Open-Access Multilingual Language Modelcited by 1,968
- 2022Challenging BIG-Bench Tasks and Whether Chain-of-Thought Can Solve Themcited by 1,767
- 2022Competition-Level Code Generation with AlphaCodecited by 1,427
- 2022Least-to-Most Prompting Enables Complex Reasoning in Large Language Modelscited by 1,397
- 2022Solving Quantitative Reasoning Problems with Language Modelscited by 1,359
- 2022Program of Thoughts Prompting: Disentangling Computation from Reasoning for Numerical Reasoning Taskscited by 1,057
- 2018Adafactor: Adaptive Learning Rates with Sublinear Memory Costcited by 896
- 2022CodeGen: An Open Large Language Model for Code with Multi-Turn Program Synthesiscited by 876
- 2021Are NLP Models really able to Solve Simple Math Word Problems?cited by 861
- 2022Transformers learn in-context by gradient descentcited by 714
- 2022What Can Transformers Learn In-Context? A Case Study of Simple Function Classescited by 700
- 2022Automatic Chain of Thought Prompting in Large Language Modelscited by 684
- 2022What learning algorithm is in-context learning? Investigations with linear modelscited by 671
- 2022Large Language Models Can Self-Improvecited by 656
- 2019MathQA: Towards Interpretable Math Word Problem Solving with Operation-Based Formalismscited by 653
- 2020Beyond English-Centric Multilingual Machine Translationcited by 559
- 2019Neural Text Generation with Unlikelihood Trainingcited by 489
- 2016Solving General Arithmetic Word Problemscited by 353
- 2021True Few-Shot Learning with Language Modelscited by 343
- 2022Large Language Models are Better Reasoners with Self-Verificationcited by 304
- 2020Transformers as Soft Reasoners over Languagecited by 265
- 2022Exploring Length Generalization in Large Language Modelscited by 204
- 2021Thinking Like Transformerscited by 182
- 2023Large-scale Multi-Modal Pre-trained Models: A Comprehensive Surveycited by 153
- 2020Injecting Numerical Reasoning Skills into Language Modelscited by 133
- 2022Teaching Algorithmic Reasoning via In-context Learningcited by 111
- 2023Tracr: Compiled Transformers as a Laboratory for Interpretabilitycited by 99
- 2021Pretrained Language Models for Text Generation: A Surveycited by 95
- 2022Inverse scaling can become U-shapedcited by 76
- 2022Limitations of Language Models in Arithmetic and Symbolic Inductioncited by 71
- 2022A Causal Framework to Quantify the Robustness of Mathematical Reasoning with Language Modelscited by 68
- 2021Neuro-Symbolic Artificial Intelligence: Current Trendscited by 54
- 2022Reasoning Like Program Executorscited by 45
- 2020INT: An Inequality Benchmark for Evaluating Generalization in Theorem Provingcited by 44
50 most cited of 62 All 62 (JSON)
Built on by
Citing papers per year: 2023: 1; 2024: 3; 2025: 6; 2026: 2.
12 papers.
- 2025DeepReview: Improving LLM-based Paper Review with Human-like Deep Thinking Processcited by 97
- 2026Scaling Reasoning Efficiently via Relaxed On-Policy Distillationcited by 71
- 2025DeepScientist: Advancing Frontier-Pushing Scientific Findings Progressivelycited by 56
- 2024Personality Alignment of Large Language Modelscited by 36
- 2024Locking Down the Finetuned LLMs Safetycited by 22
- 2023Large Language Models Need Holistically Thought in Medical Conversational QAcited by 5
- 2025LogiDebrief: A Signal-Temporal Logic based Automated Debriefing Approach with Large Language Models Integrationcited by 5
- 2025ResearStudio: A Human-Intervenable Framework for Building Controllable Deep-Research Agentscited by 3
- 2024Algorithmic Language Models with Neurally Compiled Librariescited by 2
- 2025Interacting with AI Reasoning Models: Harnessing "Thoughts" for AI-Driven Software Engineeringcited by 2
- 2026Empowering 9-1-1 Calltaking Training with Generative AI: Experiences and Lessons Learnedcited by 1
- 2025Tracr-Injection: Distilling Algorithms into Pre-trained Language Modelscited by 0
- 2026Scaling Reasoning Efficiently via Relaxed On-Policy Distillation11 Mar 2026
- 2026Empowering 9-1-1 Calltaking Training with Generative AI: Experiences and Lessons Learned30 Jan 2026
- 2025ResearStudio: A Human-Intervenable Framework for Building Controllable Deep-Research Agents14 Oct 2025
- 2025DeepScientist: Advancing Frontier-Pushing Scientific Findings Progressively30 Sep 2025
- 2025Tracr-Injection: Distilling Algorithms into Pre-trained Language Models15 May 2025
- 2025LogiDebrief: A Signal-Temporal Logic based Automated Debriefing Approach with Large Language Models Integration6 May 2025
- 2025DeepReview: Improving LLM-based Paper Review with Human-like Deep Thinking Process11 Mar 2025
- 2025Interacting with AI Reasoning Models: Harnessing "Thoughts" for AI-Driven Software Engineering1 Mar 2025
- 2024Locking Down the Finetuned LLMs Safety14 Oct 2024
- 2024Personality Alignment of Large Language Models21 Aug 2024
- 2024Algorithmic Language Models with Neurally Compiled Libraries6 Jul 2024
- 2023Large Language Models Need Holistically Thought in Medical Conversational QA9 May 2023
Similar, not cited
Close in wording, no citation either way
- 2023Frugal LMs Trained to Invoke Symbolic Solvers Achieve Parameter-Efficient Arithmetic Reasoning
- 2023Code Prompting: a Neural Symbolic Method for Complex Reasoning in Large Language Models
- 2025Comprehension Without Competence: Architectural Limits of LLMs in Symbolic Computation and Reasoning
- 2024Towards Learning to Reason: Comparing LLMs with Neuro-Symbolic on Arithmetic Relations in Abstract Reasoning
- 2024Symbolic Working Memory Enhances Language Models for Complex Rule Application
- 2025Neuro-Symbolic Artificial Intelligence: Towards Improving the Reasoning Abilities of Large Language Models
- 2026Moxia: A Trust-First Neuro-Symbolic Execution Architecture for Self-Explaining Mathematical Reasoning
- 2023Meta-Reasoning: Semantics-Symbol Deconstruction for Large Language Models