mlsanityData to 7 Oct 2026

Mastering Symbolic Operations: Augmenting Language Models with Compiled Neural Networks

arXiv 2304.01665 ↗First posted 4 Apr 2023cs.CLcited by 12

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

  1. 2023Augmented Language Models: a Survey15 Feb
  2. 2022PAL: Program-aided Language Models18 Nov
  3. 2022Impact of Pretraining Term Frequencies on Few-Shot Reasoning15 Feb
  4. 2021Show Your Work: Scratchpads for Intermediate Computation with Language Models30 Nov

Other references · 62

  1. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
  2. 2020Language Models are Few-Shot Learnerscited by 32,199
  3. 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,160
  4. 2022Training language models to follow instructions with human feedbackcited by 15,712
  5. 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,491
  6. 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,302
  7. 2021Training Verifiers to Solve Math Word Problemscited by 9,743
  8. 2019BART: Denoising Sequence-to-Sequence Pre-training for Natural Language Generation, Translation, and Comprehensioncited by 5,874
  9. 2022Self-Consistency Improves Chain of Thought Reasoning in Language Modelscited by 5,601
  10. 2022PaLM: Scaling Language Modeling with Pathwayscited by 5,304
  11. 2022Large Language Models are Zero-Shot Reasonerscited by 4,323
  12. 2023Toolformer: Language Models Can Teach Themselves to Use Toolscited by 4,072
38 more
  1. 2022OPT: Open Pre-trained Transformer Language Modelscited by 3,464
  2. 2017Outrageously Large Neural Networks: The Sparsely-Gated Mixture-of-Experts Layercited by 3,413
  3. 2023Sparks of Artificial General Intelligence: Early experiments with GPT-4cited by 2,579
  4. 2022Emergent Abilities of Large Language Modelscited by 2,483
  5. 2022BLOOM: A 176B-Parameter Open-Access Multilingual Language Modelcited by 1,968
  6. 2022Challenging BIG-Bench Tasks and Whether Chain-of-Thought Can Solve Themcited by 1,767
  7. 2022Competition-Level Code Generation with AlphaCodecited by 1,427
  8. 2022Least-to-Most Prompting Enables Complex Reasoning in Large Language Modelscited by 1,397
  9. 2022Solving Quantitative Reasoning Problems with Language Modelscited by 1,359
  10. 2022Program of Thoughts Prompting: Disentangling Computation from Reasoning for Numerical Reasoning Taskscited by 1,057
  11. 2018Adafactor: Adaptive Learning Rates with Sublinear Memory Costcited by 896
  12. 2022CodeGen: An Open Large Language Model for Code with Multi-Turn Program Synthesiscited by 876
  13. 2021Are NLP Models really able to Solve Simple Math Word Problems?cited by 861
  14. 2022Transformers learn in-context by gradient descentcited by 714
  15. 2022What Can Transformers Learn In-Context? A Case Study of Simple Function Classescited by 700
  16. 2022Automatic Chain of Thought Prompting in Large Language Modelscited by 684
  17. 2022What learning algorithm is in-context learning? Investigations with linear modelscited by 671
  18. 2022Large Language Models Can Self-Improvecited by 656
  19. 2019MathQA: Towards Interpretable Math Word Problem Solving with Operation-Based Formalismscited by 653
  20. 2020Beyond English-Centric Multilingual Machine Translationcited by 559
  21. 2019Neural Text Generation with Unlikelihood Trainingcited by 489
  22. 2016Solving General Arithmetic Word Problemscited by 353
  23. 2021True Few-Shot Learning with Language Modelscited by 343
  24. 2022Large Language Models are Better Reasoners with Self-Verificationcited by 304
  25. 2020Transformers as Soft Reasoners over Languagecited by 265
  26. 2022Exploring Length Generalization in Large Language Modelscited by 204
  27. 2021Thinking Like Transformerscited by 182
  28. 2023Large-scale Multi-Modal Pre-trained Models: A Comprehensive Surveycited by 153
  29. 2020Injecting Numerical Reasoning Skills into Language Modelscited by 133
  30. 2022Teaching Algorithmic Reasoning via In-context Learningcited by 111
  31. 2023Tracr: Compiled Transformers as a Laboratory for Interpretabilitycited by 99
  32. 2021Pretrained Language Models for Text Generation: A Surveycited by 95
  33. 2022Inverse scaling can become U-shapedcited by 76
  34. 2022Limitations of Language Models in Arithmetic and Symbolic Inductioncited by 71
  35. 2022A Causal Framework to Quantify the Robustness of Mathematical Reasoning with Language Modelscited by 68
  36. 2021Neuro-Symbolic Artificial Intelligence: Current Trendscited by 54
  37. 2022Reasoning Like Program Executorscited by 45
  38. 2020INT: An Inequality Benchmark for Evaluating Generalization in Theorem Provingcited by 44

50 most cited of 62 All 62 (JSON)

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2023: 1; 2024: 3; 2025: 6; 2026: 2.

12 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2023Frugal LMs Trained to Invoke Symbolic Solvers Achieve Parameter-Efficient Arithmetic Reasoning
  2. 2023Code Prompting: a Neural Symbolic Method for Complex Reasoning in Large Language Models
  3. 2025Comprehension Without Competence: Architectural Limits of LLMs in Symbolic Computation and Reasoning
  4. 2024Towards Learning to Reason: Comparing LLMs with Neuro-Symbolic on Arithmetic Relations in Abstract Reasoning
  5. 2024Symbolic Working Memory Enhances Language Models for Complex Rule Application
  6. 2025Neuro-Symbolic Artificial Intelligence: Towards Improving the Reasoning Abilities of Large Language Models
  7. 2026Moxia: A Trust-First Neuro-Symbolic Execution Architecture for Self-Explaining Mathematical Reasoning
  8. 2023Meta-Reasoning: Semantics-Symbol Deconstruction for Large Language Models