paper-with-me

홈 › Papers

Case2Code: Learning Inductive Reasoning with Synthetic Data

2024-07-17 · Yunfan Shao, Linyang Li, Yichuan Ma, Peiji Li, Demin Song, Qinyuan Cheng, ShiMin Li, Xiaonan Li, Pengyu Wang, Qipeng Guo, Hang Yan, Xipeng Qiu, Xuanjing Huang, Dahua Lin

Complex reasoning is an impressive ability shown by large language models (LLMs). Most LLMs are skilled in deductive reasoning, such as chain-of-thought prompting or iterative tool-using to solve challenging tasks step-by-step. In this paper, we hope to focus on evaluating and teaching LLMs to conduct inductive reasoning, that is, LLMs are supposed to infer underlying rules by observing examples or sequential transformations. However, collecting large-scale and diverse human-generated inductive data is challenging. We focus on data synthesis in the code domain and propose a \textbf{Case2Code} task by exploiting the expressiveness and correctness of programs. Specifically, we collect a diverse set of executable programs, synthesize input-output transformations for each program, and force LLMs to infer the underlying code implementations based on the synthetic I/O cases. We first evaluate representative LLMs on the synthesized Case2Code task and demonstrate that the Case-to-code induction is challenging for LLMs. Then, we synthesize large-scale Case2Code training samples to train LLMs to perform inductive reasoning. Experimental results show that such induction training benefits not only in distribution Case2Code performance but also enhances various coding abilities of trained LLMs, demonstrating the great potential of learning inductive reasoning via synthetic data.

📄 PDF Abstract BibTeX arXiv:2407.12504

Code (1)

choosewhatulike/case2code 공식 구현

Methods 이 논문이 사용한 방법론

SET Dynamic Sparse Training method where weight mask is updated randomly periodically
Focus 설명 없음

Similar Papers 제목 키워드 기반

Code-driven Number Sequence Calculation: Enhancing the inductive Reasoning Abilities of Large Language Models

2025-10-16 · Kedi Chen, Zhikai Lei, Xu Guo, Xuecheng Wu 외 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, rese…

Reinforcement Learning

MIRAGE: Evaluating and Explaining Inductive Reasoning Process in Language Models

2024-10-12 · Jiachun Li, Pengfei Cao, Zhuoran Jin, Yubo Chen 외

Inductive reasoning is an essential capability for large language models (LLMs) to achieve higher intelligence, which requires the model to generalize rules from observed facts and then apply them to unseen examples. We …

Architecture and Knowledge Representation for Composable Inductive Programming

2022-12-22 · Edward McDaid, Sarah McDaid

We present an update on the current architecture of the Zoea knowledge-based, Composable Inductive Programming system. The Zoea compiler is built using a modern variant of the black-board architecture. Zoea integrates a …

LIME: Learning Inductive Bias for Primitives of Mathematical Reasoning

2021-01-15 · Yuhuai Wu, Markus Rabe, Wenda Li, Jimmy Ba 외

While designing inductive bias in neural architectures has been widely studied, we hypothesize that transformer networks are flexible enough to learn inductive bias from suitable generic tasks. Here, we replace architect…

Inductive BiasMathematical Reasoning

InPhyRe Discovers: Large Multimodal Models Struggle in Inductive Physical Reasoning

2025-09-12 · Gautam Sreekumar, Vishnu Naresh Boddeti arxiv

Large multimodal models (LMMs) encode physical laws observed during training, such as momentum conservation, as parametric knowledge. It allows LMMs to answer physical reasoning queries, such as the outcome of a potentia…

Visual Question Answering