Abstract
While Large Language Models (LLMs) excel at deductive reasoning—applying general rules to specific instances—they frequently struggle with induction, the process of inferring general rules from specific observations. This paper presents Induction through Deduction (ItD), a novel framework that enables LLMs to improve their inductive capabilities by leveraging their inherent deductive strengths. By generating synthetic training data through deduction and employing a Naive Bayesian decoding strategy, ItD allows models to "teach themselves" induction without human-annotated data.
Introduction
Induction is a fundamental component of human intelligence, allowing us to derive general laws from a limited set of examples. In natural language processing, an induction task might require a model to observe pairs like ("As soon as you can", "At your earliest convenience") and infer the underlying instruction: "Translate the input into more formal language."
Despite their scale, current LLMs are often "weak inductors," limited by training objectives that prioritize next-token prediction over rule inference. Existing solutions typically rely on post-processing candidate hypotheses, which remains bottlenecked by the model's initial inductive performance. ItD proposes a paradigm shift: using the LLM's "strong deductive" capabilities to bridge the induction gap through a self-supervised learning loop.
The ItD Framework
The ItD framework is composed of two primary modules designed to transform an LLM from a weak inductor into a strong one.
1. Deductive Data Generation
To overcome the scarcity of high-quality induction datasets, ItD utilizes the LLM to create its own training environment. The process begins by sampling a potential transformation rule $f$ (e.g., "reverse the input list"). The LLM then uses its deductive skills to generate multiple input-output pairs $(x, y)$ that strictly adhere to this rule. This self-supervised approach produces a diverse and high-quality dataset for fine-tuning the model on induction tasks without requiring human labels.
2. Naive Bayesian Induction
At inference time, standard "In-Context Learning" (ICL) often fails as the number of examples increases, due to context window limitations and noise. ItD introduces Naive Bayesian Group Decoding (NBGD). Instead of processing all examples in a single prompt, the model is fine-tuned to predict the rule $f$ based on a single pair $(x, y)$. During testing, NBGD aggregates evidence by summing the log-probabilities of tokens across all provided examples. This treats each example as independent evidence, finding the rule that best explains the entire group of observations.
Experimental Evaluation
The researchers evaluated ItD on two distinct benchmarks:
- Instruction Induction: 24 tasks involving common-sense semantic reasoning, such as style transfer or tense changes.
- List Function: 250 tasks requiring symbolic transformations on integer lists (e.g., "retain elements greater than 5").
Key Results and Insights
ItD demonstrated substantial improvements over existing state-of-the-art (SOTA) methods. On the Instruction Induction benchmark, it achieved a 36% relative improvement over the previous best method (Hypothesis Search & Refinement) and a 193% improvement over the base Llama-2-7b model. For symbolic tasks in the List Function benchmark, it saw a 10% relative gain.
A key finding is the framework's stability and scalability. Unlike traditional prompting, which can degrade or plateau as the context becomes cluttered with more examples, ItD's Bayesian approach consistently improves as more evidence is provided.
The "self-teaching" loop is perhaps the most significant contribution. By using deduction to generate induction data, the model effectively bootstraps its own learning. Furthermore, the framework is model-agnostic, showing gains across Llama-2, Mixtral, and ChatGPT. The researchers also noted that using a more powerful "deductor" (like ChatGPT) to generate training data further boosted the performance of smaller "inductor" models.
Conclusion and Future Work
ItD proves that LLMs can significantly enhance their inductive reasoning by leveraging their deductive strengths. While symbolic induction remains more challenging than semantic tasks, the Bayesian aggregation strategy provides a robust path forward for evidence-based reasoning. Future work may explore non-greedy decoding strategies and broader cross-task generalization to create more universal inductors that can handle increasingly complex symbolic and semantic rules.
Summary updated