Introduction
Inductive reasoning—the capacity to synthesize general rules from specific observations—is a foundational component of human-like intelligence. In the context of Large Language Models (LLMs), this ability is often exercised through In-Context Learning (ICL), where models are provided with demonstrations to guide their hypothesis generation. However, a critical question remains: are these models truly learning from the provided examples, or are they primarily leveraging their extensive pre-trained knowledge? This paper investigates the interplay between model priors and in-context demonstrations in real-world inductive reasoning tasks, revealing that LLMs often rely almost entirely on their pre-existing knowledge.
Methodology and Datasets
Researchers from the University of Rochester systematically evaluated three distinct hypothesis-generation frameworks: IO-Prompting (direct generation), Iterative Refinement with Ranking (multi-hypothesis validation), and HypoGeniC (error-based updates). These methods were tested across two primary conditions:
- Model Prior Only: The model generates hypotheses based solely on a task description, without any input-output examples.
- Demonstrations with Ground Truth: The model is provided with 30–50 labeled examples to inform its reasoning.
The study utilized five diverse datasets spanning multiple modalities:
- Hallucination Pattern Induction: Identifying triggers for vision-language model hallucinations.
- Unhealthy Comments: Detecting toxicity in online discourse.
- Funny Reddit Posts: Deciphering the logic behind successful humor.
- PneumoniaMNIST: Analyzing chest X-rays for medical diagnosis.
- Truthful Hotel Reviews: Distinguishing genuine reviews from deceptive ones.
To further isolate the influence of the model's prior, "stress tests" were conducted using flipped and random labels. These tests aimed to determine if the model would adapt its hypothesis to the provided (erroneous) data or remain anchored to its internal prior.
Key Results and Robustness
The quantitative analysis revealed a striking parity in performance between zero-shot and few-shot settings. For IO-Prompting, the average classification accuracy across models like GPT-4o and Gemini-1.5-pro was 68.62% without demonstrations, compared to 68.56% with them. This suggests that for many real-world tasks, the model's internal prior is sufficient to capture the underlying logic, rendering demonstrations redundant.
The "Adverse Correction" tests provided even stronger evidence of the dominance of model priors. As shown in Figure 2, when models were presented with flipped or random labels, the resulting accuracy drop was remarkably small, typically staying within a 3% margin. This indicates that LLMs often ignore contradictory in-context information in favor of their pre-trained "common sense."
Human Evaluation of Hypothesis Quality
Beyond automated metrics, the quality of the generated hypotheses was assessed through human preference. In blind pairwise comparisons, evaluators were asked to choose between hypotheses generated with and without demonstrations based on helpfulness and novelty.
As illustrated in Figure 6, human evaluators frequently preferred hypotheses generated using only the model's prior or found them indistinguishable from those informed by examples. In datasets like Truthful Review and Funny Reddit, the "Without Demos" condition actually saw higher preference rates (43.0% and 41.5% respectively) than the "With Demos" condition. This suggests that the inclusion of data does not necessarily improve the perceived quality or insightfulness of the model's reasoning.
Discussion and Conclusion
The findings suggest that for a wide range of real-world classification tasks, LLMs act effectively as zero-shot hypothesis generators. Their pre-trained priors are remarkably stubborn, often rendering in-context demonstrations redundant or even irrelevant. While data remains useful for the iterative refinement and selection of hypotheses, the core content of the reasoning process appears to be driven by the model's internal knowledge base.
The authors acknowledge limitations, noting that demonstrations may become essential in niche, symbolic, or highly specialized domains where the model lacks a strong prior. Future work will extend this analysis to non-classification tasks and explore how to better leverage these strong priors in complex reasoning pipelines.
Summary updated