Code-Driven Inductive Synthesis: Enhancing Reasoning Abilities of Large Language Models with Sequences

Kedi Chen, Zhikai Lei, Fan Zhang, Yinqi Zhang, Qin Chen +5 more
3/17/2025
cs.CL

No confident code implementation found for this paper. 3 possible matches can be shown below.

Abstract

Large language models make remarkable progress in reasoning capabilities. Existing works focus mainly on deductive reasoning tasks (e.g., code and math), while another type of reasoning mode that better aligns with human learning, inductive reasoning, is not well studied. We attribute the reason to the fact that obtaining high-quality process supervision data is challenging for inductive reasoning. Towards this end, we novelly employ number sequences as the source of inductive reasoning data. We package sequences into algorithmic problems to find the general term of each sequence through a code solution. In this way, we can verify whether the code solution holds for any term in the current sequence, and inject case-based supervision signals by using code unit tests. We build a sequence synthetic data pipeline and form a training dataset CodeSeq. Experimental results show that the models tuned with CodeSeq improve on both code and comprehensive reasoning benchmarks.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. 3 weaker matches are hidden by default — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{chen2025codedriven,
  title  = {Code-Driven Inductive Synthesis: Enhancing Reasoning Abilities of Large Language Models with Sequences},
  author = {Kedi Chen and Zhikai Lei and Fan Zhang and Yinqi Zhang and Qin Chen and Jie Zhou and Liang He and Qipeng Guo and Kai Chen and Wei Zhang},
  year   = {2025},
  eprint = {2503.13109},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2503.13109v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2503.13109.svg)](https://codeofpaper.com/paper/2503.13109)

Discussion