LogicPro: Improving Complex Logical Reasoning via Program-Guided Learning
On the map: LLM reasoning → Reasoning benchmarks and evaluation
Abstract (arXiv)
In this paper, we propose a new data synthesis method called LogicPro, which leverages LeetCode-style algorithm underlineProblems and their corresponding underlineProgram solutions to synthesize Complex underlineLogical Reasoning data in text format. First, we synthesize complex reasoning problems through source algorithm problems and test cases. Then, standard answers and intermediate variable outputs are obtained for each problem based on standard python solutions and test cases. Finally, with the guidance of code intermediate variables, we synthesize the text reasoning process for each reasoning problems. Through this method, we can synthesize data that is difficult, scalable, effective, and comes with golden standard answers and high-quality reasoning processes. As a result, with our 540K synthesized dataset constructed solely from 2,360 algorithm problems, our approach footnoteCode and data are publicly available at https://github.com/jiangjin1999/LogicPro achieves significant improvements in multiple models for the datasets textitBBH27, textitLogicBench, textitDROP, textitAR-LSAT, and textitGSM8K, etc. outperforming a wide range of existing reasoning datasets.
Key facts. Cited by 14 papers in the map (data through 7 Oct 2026). Placed in Reasoning benchmarks and evaluation, one of 17 directions in LLM reasoning. Builds on 47 of its 85 references that are in the map. First posted on arXiv 19 Sep 2024.
Builds on
47 of 85 references.
Closest ancestors · 8
Same direction, newest first
- 2024Advancing LLM Reasoning Generalists with Preference Trees2 Apr
- 2024Can LLMs Reason with Rules? Logic Scaffolding for Stress-Testing and Improving LLMs18 Feb
- 2023Learning Deductive Reasoning from Synthetic Corpus based on Formal Logic11 Aug
- 2023BoardgameQA: A Dataset for Natural Language Reasoning with Contradictory Information13 Jun
- 2023Logic-LM: Empowering Large Language Models with Symbolic Solvers for Faithful Logical Reasoning20 May
- 2023SatLM: Satisfiability-Aided Language Models Using Declarative Prompting16 May
- 2023Evaluating the Logical Reasoning Ability of ChatGPT and GPT-47 Apr
- 2022ReAct: Synergizing Reasoning and Acting in Language Models6 Oct
Other references · 39
- 2024The Llama 3 Herd of Modelscited by 14,192
- 2021Training Verifiers to Solve Math Word Problemscited by 9,743
- 2024DeepSeekMath: Pushing the Limits of Mathematical Reasoning in Open Language Modelscited by 8,851
- 2023Efficient Memory Management for Large Language Model Serving with PagedAttentioncited by 5,767
- 2019HellaSwag: Can a Machine Really Finish Your Sentence?cited by 4,018
- 2023Let's Verify Step by Stepcited by 3,598
- 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
- 2022Beyond the Imitation Game: Quantifying and extrapolating the capabilities of language modelscited by 1,970
- 2022Challenging BIG-Bench Tasks and Whether Chain-of-Thought Can Solve Themcited by 1,767
- 2019SuperGLUE: A Stickier Benchmark for General-Purpose Language Understanding Systemscited by 1,718
- 2024DeepSeek-Coder: When the Large Language Model Meets Programming -- The Rise of Code Intelligencecited by 1,154
27 more
- 2024DeepSeek-V2: A Strong, Economical, and Efficient Mixture-of-Experts Language Modelcited by 1,093
- 2022Program of Thoughts Prompting: Disentangling Computation from Reasoning for Numerical Reasoning Taskscited by 1,057
- 2019DROP: A Reading Comprehension Benchmark Requiring Discrete Reasoning Over Paragraphscited by 883
- 2021Are NLP Models really able to Solve Simple Math Word Problems?cited by 861
- 2019Adversarial NLI: A New Benchmark for Natural Language Understandingcited by 798
- 2023WizardCoder: Empowering Code Large Language Models with Evol-Instructcited by 728
- 2023WizardMath: Empowering Mathematical Reasoning for Large Language Models via Reinforced Evol-Instructcited by 618
- 2023Are Emergent Abilities of Large Language Models a Mirage?cited by 515
- 2023MAmmoTH: Building Math Generalist Models through Hybrid Instruction Tuningcited by 483
- 2024Improve Mathematical Reasoning in Language Models by Automated Process Supervisioncited by 426
- 2021A Diverse Corpus for Evaluating and Developing English Math Word Problem Solverscited by 314
- 2020ProofWriter: Generating Implications, Proofs, and Abductive Statements over Natural Languagecited by 309
- 2020Transformers as Soft Reasoners over Languagecited by 265
- 2023Magicoder: Empowering Code Generation with OSS-Instructcited by 251
- 2024DeepSeek-Prover: Advancing Theorem Proving in LLMs through Large-Scale Synthetic Datacited by 225
- 2020ReClor: A Reading Comprehension Dataset Requiring Logical Reasoningcited by 211
- 2019CLUTRR: A Diagnostic Benchmark for Inductive Reasoning from Textcited by 155
- 2023OpenWebMath: An Open Dataset of High-Quality Mathematical Web Textcited by 151
- 2021Explaining Answers with Entailment Treescited by 148
- 2024MathScale: Scaling Instruction Tuning for Mathematical Reasoningcited by 144
- 2023Solving Math Word Problems by Combining Language Models With Symbolic Solverscited by 124
- 2024Best Practices and Lessons Learned on Synthetic Datacited by 104
- 2024MathGenie: Generating Synthetic Data with Question Back-translation for Enhancing Mathematical Reasoning of LLMscited by 72
- 2024Key-Point-Driven Data Synthesis with its Enhancement on Mathematical Reasoningcited by 58
- 2021AR-LSAT: Investigating Analytical Reasoning of Textcited by 49
- 2024JiuZhang3.0: Efficiently Improving Mathematical Reasoning by Training Small Data Synthesis Modelscited by 44
- 2021RuleBert: Teaching Soft Rules to Pre-trained Language Modelscited by 25
Built on by
Citing papers per year: 2024: 2; 2025: 10; 2026: 2.
14 papers.
Sort:
By area:
- 2025CodeI/O: Condensing Reasoning Patterns via Code Input-Output Predictioncited by 54
- 2025LongCat-Flash Technical Reportcited by 54
- 2025InftyThink: Breaking the Length Limits of Long-Context Reasoning in Large Language Modelscited by 53
- 2025Logical Reasoning in Large Language Models: A Surveycited by 52
- 2025Empowering LLMs with Logical Reasoning: A Comprehensive Surveycited by 51
- 2025SynLogic: Synthesizing Verifiable Reasoning Data at Scale for Learning Logical Reasoning and Beyondcited by 47
- 2025Game-RL: Synthesizing Multimodal Verifiable Game Data to Boost VLMs' General Reasoningcited by 30
- 2025SATBench: Benchmarking LLMs' Logical Reasoning via Automated Puzzle Generation from SAT Formulascited by 30
- 2024Enhancing Reasoning Capabilities of LLMs via Principled Synthetic Logic Corpuscited by 29
- 2024Reasoning Through Execution: Unifying Process and Outcome Rewards for Code Generationcited by 21
- 2025RefineCoder: Iterative Improving of Large Language Models via Adaptive Critique Refinement for Code Generationcited by 8
- 2026Learning to Generate Formally Verifiable Step-by-Step Logic Reasoning via Structured Formal Intermediariescited by 3
2 more
- 2026Learning to Generate Formally Verifiable Step-by-Step Logic Reasoning via Structured Formal Intermediaries31 Mar 2026
- 2026An Alternative Trajectory for Generative AI14 Mar 2026
- 2025Causal Reasoning Favors Encoders: On The Limits of Decoder-Only Models11 Dec 2025
- 2025LongCat-Flash Technical Report1 Sep 2025
- 2025SynLogic: Synthesizing Verifiable Reasoning Data at Scale for Learning Logical Reasoning and Beyond26 May 2025
- 2025SATBench: Benchmarking LLMs' Logical Reasoning via Automated Puzzle Generation from SAT Formulas20 May 2025
- 2025Game-RL: Synthesizing Multimodal Verifiable Game Data to Boost VLMs' General Reasoning20 May 2025
- 2025InftyThink: Breaking the Length Limits of Long-Context Reasoning in Large Language Models9 Mar 2025
- 2025Empowering LLMs with Logical Reasoning: A Comprehensive Survey21 Feb 2025
- 2025RefineCoder: Iterative Improving of Large Language Models via Adaptive Critique Refinement for Code Generation13 Feb 2025
- 2025Logical Reasoning in Large Language Models: A Survey13 Feb 2025
- 2025CodeI/O: Condensing Reasoning Patterns via Code Input-Output Prediction11 Feb 2025
- 2025CodeI/O: Condensing Reasoning Patterns via Code Input-Output Predictioncited by 54
- 2025InftyThink: Breaking the Length Limits of Long-Context Reasoning in Large Language Modelscited by 53
- 2025Logical Reasoning in Large Language Models: A Surveycited by 52
- 2025Empowering LLMs with Logical Reasoning: A Comprehensive Surveycited by 51
- 2025SynLogic: Synthesizing Verifiable Reasoning Data at Scale for Learning Logical Reasoning and Beyondcited by 47
- 2025Game-RL: Synthesizing Multimodal Verifiable Game Data to Boost VLMs' General Reasoningcited by 30
- 2025SATBench: Benchmarking LLMs' Logical Reasoning via Automated Puzzle Generation from SAT Formulascited by 30
- 2024Enhancing Reasoning Capabilities of LLMs via Principled Synthetic Logic Corpuscited by 29
- 2024Reasoning Through Execution: Unifying Process and Outcome Rewards for Code Generationcited by 21
- 2025RefineCoder: Iterative Improving of Large Language Models via Adaptive Critique Refinement for Code Generationcited by 8
- 2026Learning to Generate Formally Verifiable Step-by-Step Logic Reasoning via Structured Formal Intermediariescited by 3
- 2025Causal Reasoning Favors Encoders: On The Limits of Decoder-Only Modelscited by 0
- 2026Learning to Generate Formally Verifiable Step-by-Step Logic Reasoning via Structured Formal Intermediaries31 Mar 2026
- 2025Causal Reasoning Favors Encoders: On The Limits of Decoder-Only Models11 Dec 2025
- 2025SynLogic: Synthesizing Verifiable Reasoning Data at Scale for Learning Logical Reasoning and Beyond26 May 2025
- 2025SATBench: Benchmarking LLMs' Logical Reasoning via Automated Puzzle Generation from SAT Formulas20 May 2025
- 2025Game-RL: Synthesizing Multimodal Verifiable Game Data to Boost VLMs' General Reasoning20 May 2025
- 2025InftyThink: Breaking the Length Limits of Long-Context Reasoning in Large Language Models9 Mar 2025
- 2025Empowering LLMs with Logical Reasoning: A Comprehensive Survey21 Feb 2025
- 2025RefineCoder: Iterative Improving of Large Language Models via Adaptive Critique Refinement for Code Generation13 Feb 2025
- 2025Logical Reasoning in Large Language Models: A Survey13 Feb 2025
- 2025CodeI/O: Condensing Reasoning Patterns via Code Input-Output Prediction11 Feb 2025
- 2024Reasoning Through Execution: Unifying Process and Outcome Rewards for Code Generation19 Dec 2024
- 2024Enhancing Reasoning Capabilities of LLMs via Principled Synthetic Logic Corpus19 Nov 2024
- 2025LongCat-Flash Technical Reportcited by 54
- 2025LongCat-Flash Technical Report1 Sep 2025
- 2026An Alternative Trajectory for Generative AIcited by 1
- 2026An Alternative Trajectory for Generative AI14 Mar 2026
Similar, not cited
Close in wording, no citation either way
- 2024LogicPrpBank: A Corpus for Logical Implication and Equivalence
- 2025DESIGNER: Design-Logic-Guided Multidisciplinary Data Synthesis for LLM Reasoning
- 2025RV-Syn: Rational and Verifiable Mathematical Reasoning Data Synthesis based on Structured Function Library
- 2025LogicCat: A Chain-of-Thought Text-to-SQL Benchmark for Complex Reasoning
- 2025SLR: Automated Synthesis for Scalable Logical Reasoning
- 2025LogiNumSynth: Synthesizing Joint Logical-Numerical Reasoning Problems for Language Models
- 2024LogicAsker: Evaluating and Improving the Logical Reasoning Ability of Large Language Models
- 2025rStar-Coder: Scaling Competitive Code Reasoning with a Large-Scale Verified Dataset