Natural Language Embedded Programs for Hybrid Language Symbolic Reasoning
On the map: LLM reasoning → Reasoning benchmarks and evaluation
Abstract (arXiv)
How can we perform computations over natural language representations to solve tasks that require symbolic and numeric reasoning? We propose natural language embedded programs (NLEP) as a unifying framework for addressing math/symbolic reasoning, natural language understanding, and instruction following tasks. Our approach prompts a language model to generate full Python programs that define functions over data structures which contain natural language representations of structured knowledge. A Python interpreter then executes the generated code and prints the output. Despite using a task-general prompt, we find that this approach can improve upon strong baselines across a range of different tasks including math and symbolic reasoning, text classification, question answering, and instruction following. We found that the generated programs are interpretable since they outline the exact reasoning process followed by the program interpreter.
Key facts. Cited by 15 papers in the map (data through 14 Oct 2026). Placed in Reasoning benchmarks and evaluation, one of 17 directions in LLM reasoning. Builds on 36 of its 49 references that are in the map. First posted on arXiv 19 Sep 2023.
Builds on
36 of 49 references.
Closest ancestors · 8
Same direction, newest first
- 2023Code Llama: Open Foundation Models for Code24 Aug
- 2023Chain-of-Thought Hub: A Continuous Effort to Measure Large Language Models' Reasoning Performance26 May
- 2023Logic-LM: Empowering Large Language Models with Symbolic Solvers for Faithful Logical Reasoning20 May
- 2023Scallop: A Language for Neurosymbolic Programming10 Apr
- 2023LLaMA: Open and Efficient Foundation Language Models27 Feb
- 2023Augmented Language Models: a Survey15 Feb
- 2022PAL: Program-aided Language Models18 Nov
- 2021Show Your Work: Scratchpads for Intermediate Computation with Language Models30 Nov
Other references · 28
- 2023GPT-4 Technical Reportcited by 18,396
- 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,372
- 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,459
- 2021Training Verifiers to Solve Math Word Problemscited by 10,109
- 2021Evaluating Large Language Models Trained on Codecited by 8,320
- 2022Self-Consistency Improves Chain of Thought Reasoning in Language Modelscited by 5,708
- 2018GLUE: A Multi-Task Benchmark and Analysis Platform for Natural Language Understandingcited by 4,899
- 2022Large Language Models are Zero-Shot Reasonerscited by 4,374
- 2023Toolformer: Language Models Can Teach Themselves to Use Toolscited by 4,182
- 2021Program Synthesis with Large Language Modelscited by 3,637
- 2023Tree of Thoughts: Deliberate Problem Solving with Large Language Modelscited by 3,211
- 2021TruthfulQA: Measuring How Models Mimic Human Falsehoodscited by 2,975
16 more
- 2022Beyond the Imitation Game: Quantifying and extrapolating the capabilities of language modelscited by 1,998
- 2022Challenging BIG-Bench Tasks and Whether Chain-of-Thought Can Solve Themcited by 1,807
- 2022Program of Thoughts Prompting: Disentangling Computation from Reasoning for Numerical Reasoning Taskscited by 1,076
- 2018Neural Network Acceptability Judgmentscited by 958
- 2023Graph of Thoughts: Solving Elaborate Problems with Large Language Modelscited by 886
- 2022GLM-130B: An Open Bilingual Pre-trained Modelcited by 843
- 2021Did Aristotle Use a Laptop? A Question Answering Benchmark with Implicit Reasoning Strategiescited by 743
- 2023ToolAlpaca: Generalized Tool Learning for Language Models with 3000 Simulated Casescited by 393
- 2019Social Bias Frames: Reasoning about Social and Power Implications of Languagecited by 380
- 2023Large Language Models as Tool Makerscited by 303
- 2022Binding Language Models in Symbolic Languagescited by 228
- 2018Hate Speech Dataset from a White Supremacy Forumcited by 198
- 2023ART: Automatic multi-step reasoning and tool-use for large language modelscited by 197
- 2023TaskMatrix.AI: Completing Tasks by Connecting Foundation Models with Millions of APIscited by 184
- 2023Code Prompting: a Neural Symbolic Method for Complex Reasoning in Large Language Modelscited by 16
- 2023Entailment as Robust Self-Learnercited by 2
Built on by
Citing papers per year: 2023: 3; 2024: 7; 2025: 4; 2026: 1.
15 papers.
Sort:
By area:
- 2023Navigate through Enigmatic Labyrinth A Survey of Chain of Thought Reasoning: Advances, Frontiers and Futurecited by 184
- 2024THREAD: Thinking Deeper with Recursive Spawningcited by 25
- 2023Mixed Distillation Helps Smaller Language Model Better Reasoningcited by 19
- 2024Can We Verify Step by Step for Incorrect Answer Detection?cited by 15
- 2025PLAY2PROMPT: Zero-shot Tool Instruction Optimization for LLM Agents via Tool Playcited by 14
- 2023Towards Verifiable Text Generation with Symbolic Referencescited by 13
- 2024What Makes a Maze Look Like a Maze?cited by 11
- 2024Learning to Reason via Program Generation, Emulation, and Searchcited by 10
- 2024Cognitive Kernel: An Open-source Agent System towards Generalist Autopilotscited by 10
- 2024Neuro-Symbolic AI: Explainability, Challenges, and Future Trendscited by 10
- 2025Generate, Discriminate, Evolve: Enhancing Context Faithfulness via Fine-Grained Sentence-Level Self-Evolutioncited by 7
- 2026Beyond Single-Shot: Multi-step Tool Retrieval via Query Planningcited by 3
- 2026Beyond Single-Shot: Multi-step Tool Retrieval via Query Planning12 Jan 2026
- 2025LLM Enhancement with Domain Expert Mental Model to Reduce LLM Hallucination with Causal Prompt Engineering13 Sep 2025
- 2025Expertise-aware Multi-LLM Recruitment and Collaboration for Medical Decision-Making19 Aug 2025
- 2025PLAY2PROMPT: Zero-shot Tool Instruction Optimization for LLM Agents via Tool Play18 Mar 2025
- 2025Generate, Discriminate, Evolve: Enhancing Context Faithfulness via Fine-Grained Sentence-Level Self-Evolution3 Mar 2025
- 2024Bridging the Gap: Representation Spaces in Neuro-Symbolic AI7 Nov 2024
- 2024Neuro-Symbolic AI: Explainability, Challenges, and Future Trends7 Nov 2024
- 2024Cognitive Kernel: An Open-source Agent System towards Generalist Autopilots16 Sep 2024
- 2024What Makes a Maze Look Like a Maze?12 Sep 2024
- 2024THREAD: Thinking Deeper with Recursive Spawning27 May 2024
- 2024Learning to Reason via Program Generation, Emulation, and Search25 May 2024
- 2024Can We Verify Step by Step for Incorrect Answer Detection?16 Feb 2024
- 2023Navigate through Enigmatic Labyrinth A Survey of Chain of Thought Reasoning: Advances, Frontiers and Futurecited by 184
- 2024THREAD: Thinking Deeper with Recursive Spawningcited by 25
- 2023Mixed Distillation Helps Smaller Language Model Better Reasoningcited by 19
- 2024Can We Verify Step by Step for Incorrect Answer Detection?cited by 15
- 2024Learning to Reason via Program Generation, Emulation, and Searchcited by 10
- 2024THREAD: Thinking Deeper with Recursive Spawning27 May 2024
- 2024Learning to Reason via Program Generation, Emulation, and Search25 May 2024
- 2024Can We Verify Step by Step for Incorrect Answer Detection?16 Feb 2024
- 2023Mixed Distillation Helps Smaller Language Model Better Reasoning17 Dec 2023
- 2023Navigate through Enigmatic Labyrinth A Survey of Chain of Thought Reasoning: Advances, Frontiers and Future27 Sep 2023
- 2024What Makes a Maze Look Like a Maze?cited by 11
- 2024What Makes a Maze Look Like a Maze?12 Sep 2024
- 2023Towards Verifiable Text Generation with Symbolic Referencescited by 13
- 2024Neuro-Symbolic AI: Explainability, Challenges, and Future Trendscited by 10
- 2024Bridging the Gap: Representation Spaces in Neuro-Symbolic AIcited by 0
- 2025Expertise-aware Multi-LLM Recruitment and Collaboration for Medical Decision-Makingcited by 0
- 2025LLM Enhancement with Domain Expert Mental Model to Reduce LLM Hallucination with Causal Prompt Engineeringcited by 0
- 2025LLM Enhancement with Domain Expert Mental Model to Reduce LLM Hallucination with Causal Prompt Engineering13 Sep 2025
- 2025Expertise-aware Multi-LLM Recruitment and Collaboration for Medical Decision-Making19 Aug 2025
- 2024Bridging the Gap: Representation Spaces in Neuro-Symbolic AI7 Nov 2024
- 2024Neuro-Symbolic AI: Explainability, Challenges, and Future Trends7 Nov 2024
- 2023Towards Verifiable Text Generation with Symbolic References15 Nov 2023
Similar, not cited
Close in wording, no citation either way
- 2024ReasonAgain: Using Extractable Symbolic Programs to Evaluate Mathematical Reasoning
- 2026From Natural Language to Executable Narsese: A Neuro-Symbolic Benchmark and Pipeline for Reasoning with NARS
- 2023Reasoning in Large Language Models Through Symbolic Math Word Problems
- 2024HYBRIDMIND: Meta Selection of Natural Language and Symbolic Language for Enhanced LLM Reasoning
- 2023Meta-Reasoning: Semantics-Symbol Deconstruction for Large Language Models
- 2025From Language to Logic: A Bi-Level Framework for Structured Reasoning
- 2022Reasoning Like Program Executors
- 2026Moxia: A Trust-First Neuro-Symbolic Execution Architecture for Self-Explaining Mathematical Reasoning