InductionBench: LLMs Fail in the Simplest Complexity Class

Wenyue Hua, Tyler Wong, Fei Sun, Liangming Pan, Adam Jardine, William Yang Wang

While Large Language Models (LLMs) have demonstrated remarkable proficiency in deductive reasoning—applying known rules to reach specific conclusions—their capacity for inductive reasoning remains a critical bottleneck. Inductive reasoning, the ability to infer general principles from raw empirical data, is the cornerstone of scientific discovery. A recent study introduces InductionBench to evaluate this capability, revealing that even state-of-the-art models struggle with pattern discovery in the simplest of mathematical contexts.

The Challenge of Inductive Leap

Most existing benchmarks, such as GSM8K for mathematics or HumanEval for coding, primarily test a model's ability to follow instructions or apply pre-learned axioms. They do not measure the "inductive leap" required to synthesize new rules from observations. To address this, researchers developed InductionBench, a framework grounded in formal language theory.

The benchmark focuses on the subregular hierarchy, a collection of string-to-string functions that are "Markovian" in nature. In these functions, the output at any given point depends only on a small, local window of characters. Crucially, these functions are mathematically guaranteed to be learnable in polynomial time. If a model cannot induce these basic local rules, it likely lacks the foundational logic required for more complex scientific induction.

Methodology: The InductionBench Framework

InductionBench utilizes three specific classes of deterministic functions:

  1. Input-Strictly-Local (ISL): Transformations depend on the input characters immediately preceding the current one.
  2. Left Output-Strictly-Local (L-OSL): Transformations depend on the output characters already produced to the left.
  3. Right Output-Strictly-Local (R-OSL): Transformations depend on the "future" characters to the right.

To test the models, researchers provided them with a "characteristic sample"— the minimal set of examples containing all information necessary to perfectly reconstruct the function. The models were then tasked with producing a minimal set of symbolic rules (e.g., ab ◦ c -> d, meaning "if 'c' is preceded by 'ab', change 'c' to 'd'").

Key Findings: The Fragility of LLM Reasoning

The study tested several leading models, including GPT-4o, Llama-3.3-70B, DeepSeek-V3, and OpenAI’s o-series (o1 and o3-mini). The results highlight several systemic weaknesses in current LLM architectures.

1. The $k$-Complexity Wall

The most significant predictor of failure was the context window size ($k$), representing the "memory" required to understand a rule. As $k$ increased from 2 to 4 characters, performance plummeted across all models. LLMs appear to struggle with tracking even slightly deeper sequential dependencies, suggesting a fundamental limitation in how they process sequential logic.

2. The "More is Less" Paradox

In a counterintuitive finding, providing models with more valid data points often resulted in lower performance. Rather than using additional data to refine their hypotheses, the models frequently became overwhelmed or confused by the increased context length, leading to a breakdown in pattern recognition.

3. Failure of Occam’s Razor

LLMs consistently failed to identify the simplest explanation for a dataset. When models did successfully identify a rule, it was often redundant or overly specific. This inability to find generalizable patterns indicates that LLMs do not naturally prioritize the most efficient symbolic representations of data.

4. Vocabulary vs. Depth

Interestingly, increasing the vocabulary size (the number of unique characters) had a negligible impact compared to increasing sequential depth ($k$). This suggests that LLMs are relatively robust when handling variety but extremely fragile when handling the complexity of sequential relationships.

Performance Results

OpenAI’s o3-mini emerged as the top performer, yet its success was relative. While it significantly outperformed its peers, its "Compatibility" score—the measure of how well its induced rules actually matched the data—was only between 10% and 30% on more difficult settings ($k=4$ or 5).

For other models, including GPT-4o and Llama-3.3-70B, the results were even more stark. Compatibility scores collapsed to near 0% as soon as the tasks moved beyond trivial settings. The most common error was a total failure to identify any pattern at all, followed by the generation of rules that were "too general," applying transformations in incorrect contexts.

Conclusion and Future Directions

The results of InductionBench suggest that current LLMs, despite their sophisticated appearance, are not yet capable of the fundamental inductive reasoning required for autonomous scientific discovery. Their failure in the simplest complexity classes of formal languages points to a need for architectural evolution.

Future research may need to move beyond standard next-token prediction toward architectures capable of explicitly hypothesizing and testing symbolic rules. Until models can master these basic string transformations, the "inductive leap" necessary for higher-order reasoning will likely remain out of reach.

Summary updated

BibTeX
@inproceedings{hua2025inductionbench,
  author = {Wenyue Hua and Tyler Wong and Fei Sun and Liangming Pan and Adam Jardine and William Yang Wang},
  title = {{InductionBench: LLMs Fail in the Simplest Complexity Class}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2025},
}
Figure