Abstract
Inductive reasoning—the process of inferring general rules from a small number of observations—is a fundamental aspect of human intelligence. While large language models (LLMs) can engage in inductive reasoning by sampling multiple hypotheses, standard independent and identically distributed (IID) sampling often leads to semantically redundant outputs, wasting significant compute. This paper demonstrates that increasing the temperature to enhance diversity is limited by text degeneration. We propose Mixture of Concepts (MoC), a novel two-stage framework that first proposes diverse high-level concepts and then generates specific hypotheses anchored by these concepts. MoC significantly improves performance and efficiency across multiple inductive reasoning benchmarks.
The Challenge: Redundancy and the "Temperature Trap"
When tasked with solving inductive reasoning problems, such as identifying the rule behind a grid transformation or a list function, LLMs typically use IID sampling to generate a set of candidate hypotheses. However, these models often get stuck in conceptual ruts, producing multiple variations of the same incorrect idea.
A common strategy to increase output diversity is to raise the "temperature" parameter. However, our analysis reveals a critical "temperature trap": while higher temperatures initially increase the number of unique hypotheses, they quickly lead to text degeneration, where the model produces gibberish or broken code rather than valid logic.
As shown in the figure above, the ratio of degenerate responses spikes dramatically as temperature increases, particularly for complex tasks like MiniARC. This necessitates a more structured approach to diversity that does not rely solely on stochasticity.
Mixture of Concepts (MoC)
To overcome these limitations, we introduce Mixture of Concepts (MoC). This method is inspired by human problem-solving, where we often brainstorm different high-level strategies before diving into specific details. MoC splits the reasoning process into two distinct stages:
- Concept Proposal: The LLM is prompted to generate a list of $K$ distinct elementary concepts relevant to the problem (e.g., "rotation," "color filtering," or "arithmetic progression"). By generating these as a single list, the model's autoregressive nature naturally encourages diversity, as each new item is conditioned on the previous ones to avoid repetition.
- Hypothesis Generation: Each proposed concept is then used as a "hint" to guide the generation of a specific hypothesis and its corresponding implementation (e.g., Python code).
By anchoring the search in different conceptual "buckets," MoC ensures that the model explores the solution space broadly without requiring high temperature levels that compromise text quality.
Experimental Results
We evaluated MoC across four domains: List Functions, MiniARC (grid patterns), MBPP+ (Python programming), and Playgol-str (string transformations). Our results show that MoC consistently outperforms IID sampling across various state-of-the-art models, including GPT-4o and Llama-3.1-70B.
Key findings include:
- Accuracy Boost: MoC improved average test accuracy by approximately 4.5% to 5.0%.
- Efficiency: MoC achieved the same accuracy as the baseline while requiring only half the number of samples, effectively doubling the efficiency of the compute budget.
- Solving the "Impossible": MoC successfully identified rules in cases where standard sampling failed even after hundreds of attempts, demonstrating its ability to force the model out of local optima.
Conclusion
Mixture of Concepts provides a robust framework for enhancing the inductive reasoning capabilities of LLMs. By leveraging the model's ability to generate diverse lists of high-level concepts, MoC avoids the redundancy of standard sampling and the degeneration of high-temperature sampling. Future work will explore the composition of multiple concepts to solve even more complex, multi-step reasoning challenges.
Summary updated