Code-driven Number Sequence Calculation: Enhancing the inductive Reasoning Abilities of Large Language Models
On the map: LLM reasoning → Reasoning benchmarks and evaluation
Abstract (arXiv)
Large language models (LLMs) make remarkable progress in reasoning tasks. Among different reasoning modes, inductive reasoning, due to its better alignment with human learning, attracts increasing interest. However, research on inductive reasoning faces certain challenges. First, existing inductive data mostly focuses on superficial regularities while lacking more complex internal patterns. Second, current works merely prompt LLMs or finetune on simple prompt-response pairs, but do not provide precise thinking processes nor implement difficulty control. Unlike previous work, we address these challenges by introducing textitCodeSeq, a synthetic post-training dataset built from number sequences. We package number sequences into algorithmic problems to discover their general terms, defining a general term generation (GTG) task correspondingly. Our pipeline generates supervised finetuning data by reflecting on failed test cases and incorporating iterative corrections, thereby teaching LLMs to learn autonomous case generation and self-checking. Additionally, it leverages reinforcement learning with a novel Case-Synergy Solvability Scaling Reward based on both solvability, estimated from the problem pass rate, and the success rate of self-directed case generation, enabling models to learn more effectively from both successes and failures. Experimental results show that the models trained with textitCodeSeq improve on various reasoning tasks and can preserve the models' OOD performance.
Key facts. Cited by 2 papers in the map (data through 14 Oct 2026). Placed in Reasoning benchmarks and evaluation, one of 17 directions in LLM reasoning. Builds on 50 of its 100 references that are in the map. First posted on arXiv 16 Oct 2025.
Builds on
50 of 100 references.
Closest ancestors · 6
Same direction, newest first
- 2025A Survey of Inductive Reasoning for Large Language Models11 Oct
- 2025CritiQ: Mining Data Quality Criteria from Human Preferences26 Feb
- 2024DeepSeek-V3 Technical Report27 Dec
- 2024Can Large Language Models Act as Symbolic Reasoners?28 Oct
- 2024The Role of Deductive and Inductive Reasoning in Large Language Models3 Oct
- 2024Inductive or Deductive? Rethinking the Fundamental Reasoning Abilities of LLMs31 Jul
Other references · 44
- 2017Proximal Policy Optimization Algorithmscited by 15,215
- 2024The Llama 3 Herd of Modelscited by 14,715
- 2021Evaluating Large Language Models Trained on Codecited by 8,320
- 2023Direct Preference Optimization: Your Language Model is Secretly a Reward Modelcited by 8,065
- 2020Measuring Massive Multitask Language Understandingcited by 7,963
- 2020Scaling Laws for Neural Language Modelscited by 6,586
- 2025DeepSeek-R1: Incentivizing Reasoning Capability in LLMs via Reinforcement Learningcited by 6,330
- 2024Qwen2.5 Technical Reportcited by 4,942
- 2021Program Synthesis with Large Language Modelscited by 3,637
- 2025DAPO: An Open-Source LLM Reinforcement Learning System at Scalecited by 2,810
- 2024HybridFlow: A Flexible and Efficient RLHF Frameworkcited by 2,057
- 2024LiveCodeBench: Holistic and Contamination Free Evaluation of Large Language Models for Codecited by 2,004
32 more
- 2022Challenging BIG-Bench Tasks and Whether Chain-of-Thought Can Solve Themcited by 1,807
- 2023The Rise and Potential of Large Language Model Based Agents: A Surveycited by 1,439
- 2024Qwen2.5-Coder Technical Reportcited by 1,203
- 2023SGLang: Efficient Execution of Structured Language Model Programscited by 1,141
- 2024Qwen2.5-Math Technical Report: Toward Mathematical Expert Model via Self-Improvementcited by 1,090
- 2024Tulu 3: Pushing Frontiers in Open Language Model Post-Trainingcited by 1,053
- 2024InternLM2 Technical Reportcited by 397
- 2023Evaluating the Performance of Large Language Models on GAOKAO Benchmarkcited by 186
- 2024Teaching Large Language Models to Reason with Reinforcement Learningcited by 160
- 2023Self-planning Code Generation with Large Language Modelscited by 124
- 2025A Comprehensive Survey in LLM(-Agent) Full Stack Safety: Data, Training and Deploymentcited by 116
- 2024Group Robust Preference Optimization in Reward-free RLHFcited by 95
- 2024Comprehensive Exploration of Synthetic Data Generation: A Surveycited by 60
- 2023On the Creativity of Large Language Modelscited by 57
- 2024Scaling Laws for Downstream Task Performance of Large Language Modelscited by 49
- 2024MathCoder2: Better Math Reasoning from Continued Pretraining on Model-translated Mathematical Codecited by 39
- 2025Atom-Searcher: Enhancing Agentic Deep Research via Fine-Grained Atomic Thought Rewardcited by 25
- 2023Deep Learning for Code Intelligence: Survey, Benchmark and Toolkitcited by 22
- 2025InternBootcamp: Boosting LLM Reasoning with Verifiable Task Scalingcited by 20
- 2025Understanding and Benchmarking Artificial Intelligence: OpenAI's o3 Is Not AGIcited by 19
- 2024DiaHalu: A Dialogue-level Hallucination Evaluation Benchmark for Large Language Modelscited by 15
- 2024See What LLMs Cannot Answer: A Self-Challenge Framework for Uncovering LLM Weaknessescited by 15
- 2025What is a Number, That a Large Language Model May Know It?cited by 15
- 2025TeLL-Drive: Enhancing Autonomous Driving with Teacher LLM-Guided Deep Reinforcement Learningcited by 13
- 2024A Survey of Neural Code Intelligence: Paradigms, Advances and Beyondcited by 12
- 2025EviNote-RAG: Enhancing RAG Models via Answer-Supportive Evidence Notescited by 8
- 2024P-React: Synthesizing Topic-Adaptive Reactions of Personality Traits via Mixture of Specialized LoRA Expertscited by 7
- 2025UnitCoder: Scalable Iterative Code Synthesis with Unit Test Guidancecited by 7
- 2025DeepSeek-Inspired Exploration of RL-based LLMs and Synergy with Wireless Networks: A Surveycited by 6
- 2025DeepSeek-V3, GPT-4, Phi-4, and LLaMA-3.3 generate correct code for LoRaWAN-related engineering taskscited by 4
- 2025Boosting Diffusion-Based Text Image Super-Resolution Model Towards Generalized Real-World Scenarioscited by 4
- 2024GAOKAO-Eval: Does high scores truly reflect strong capabilities in LLMs?cited by 3
Built on by
Citing papers per year: 2025: 1; 2026: 1.
2 papers.
Similar, not cited
Close in wording, no citation either way
- 2025Code-Driven Inductive Synthesis: Enhancing Reasoning Abilities of Large Language Models with Sequences
- 2023Hypothesis Search: Inductive Reasoning with Language Models
- 2024Benchmarking Large Language Models with Integer Sequence Generation Tasks
- 2024Multi-Step Reasoning with Large Language Models, a Survey
- 2025InductionBench: LLMs Fail in the Simplest Complexity Class
- 2025On LLM-Based Scientific Inductive Reasoning Beyond Equations
- 2024On the Role of Model Prior in Real-World Inductive Reasoning
- 2023Phenomenal Yet Puzzling: Testing Inductive Reasoning Capabilities of Language Models with Hypothesis Refinement