Discovering Structurally Plausible and Interpretable Cognitive Models with Large Language Models

Boyoung Kwon, Jiyoon Seo, Sang Ho LeeNeurIPS 2026

TL;DR

Large Language Models (LLMs) are surprisingly good at writing mathematical models to predict human behavior—until you look under the hood and realize they’re cheating by peeking into the future or stuffing equations with redundant variables. Enter DisCo, an automated discovery framework that pairs LLM-driven evolutionary search with strict logical guardrails and parameter pruning. By forcing generated code to obey the arrow of time and basic statistical parsimony, DisCo automatically discovers cognitive models that don’t just fit behavioral data—they actually make psychological sense.

What Problem Does This Paper Address?

For decades, computational cognitive scientists have acted like bespoke watchmakers: hand-crafting mathematical equations to explain how humans learn, remember, and plan. It’s slow, requires deep domain expertise, and is prone to researchers’ pet theories.

Recently, researchers started using LLMs to automate this equation discovery. While LLMs can quickly generate models with impressive predictive accuracy (goodness-of-fit), predictive accuracy alone is a trap in science. An unconstrained LLM might achieve a stellar fit by writing Python code that subtly peeks at future outcomes, copies the user's observed action before predicting it, or creates a tangled web of collinear parameters. If two parameters trade off against each other, neither is identifiable—meaning you can't interpret them as real psychological traits like "learning rate" or "impulsivity." The authors tackle a crucial gap: how do we automate cognitive model discovery without sacrificing causal sanity and scientific interpretability?

Methods

Building on standard island-based evolutionary search (like FunSearch, where an LLM mutates and breeds top-performing Python programs), the authors introduce DisCo (Discovery of Interpretable Symbolic Cognitive Models), powered by Qwen2.5-32B. Candidate models are scored using the Bayesian Information Criterion (BIC, which rewards data fit while penalizing extra parameters) on chronologically split data—fitting parameters on the first half of a subject's trials and validating on the second half.

Figure 2: Overview of the DisCo pipeline.

What makes DisCo novel are two structural gatekeepers injected into the evolutionary loop, alongside an external check:

  • The Validator (Logical Integrity): Before a generated program is ever fitted to data, it faces an automated audit. Using checks like randomized causal fuzzing (corrupting future data to ensure past predictions don't change), it enforces four rules: Determinism (no np.random), Action Independence (no peeking at the current choice), No Future Peeking, and No Negative Indexing (preventing data[-1] cyclic leaks).
  • The Cleaner (Parameter Pruning): Periodically, DisCo inspects the fitted parameters across subjects. If two parameters are too correlated (multicollinearity) or a parameter barely varies across humans (acting as a glorified constant), the LLM is prompted at temperature 0.0 to simplify the equation and consolidate variables.
  • The Reporter: At the end of the search, DisCo correlates the surviving parameters against independent psychological measures (like IQ or age) to verify if the math tracks real-world traits.

Datasets

Rather than introducing new benchmarks, the authors evaluate DisCo on three large-scale, established human behavioral datasets spanning distinct cognitive domains:

Overview of the three behavioral tasks.
  • Planning: A two-step reinforcement learning task ($N = 548$, 200 trials each) designed to separate habitual choices from goal-directed planning.
  • Learning: A probabilistic reversal learning task ($N = 386$, 90 trials each) where subjects choose among three options whose reward probabilities flip every 15 trials.
  • Memory: An emotional recognition memory task ($N = 1,358$, ~100 trials each) testing how well people distinguish studied words from new ones.

Key Insights and Ideas

  • Better fit can mean worse science: In ablation studies without the Validator, DisCo occasionally achieved much better (lower) BIC scores—not because it found a brilliant psychological insight, but because up to 17.8% of accepted models broke determinism or peeked at observed actions. Furthermore, when these "cheating" models were checked against external traits like IQ and age, their psychological correlations warped or vanished.
  • AI can propose genuinely alternative hypotheses: In the reversal learning task, the classic human-designed baseline explains individual differences using two learning rates (one for good surprises, one for bad). DisCo discovered a better-fitting model using a single learning rate paired with a forgetting decay on unchosen options—yielding a fresh, testable prediction that people struggle to switch back to a newly good option the longer they’ve ignored it.
  • Prompt engineering is overrated; structural guardrails aren't: Systematically deleting instructions from the LLM prompt (like reminders about parsimony or context) barely affected performance. Hard code-level validation and statistical pruning did the heavy lifting.

Key Results

Across five random seeds on held-out test participants, DisCo consistently matched or beat classic human-crafted baselines (lower BIC is better):

Table 1: Comparison of BIC scores across tasks, evaluated on held-out test participants. For DisCo, results are reported across five independent runs (mean ± std and range). For the baseline models, BIC was computed once and is reported as a single score.
  • Outperforming Baselines—Even From Scratch: In Planning, DisCo improved BIC from 255.22 (Hybrid baseline) down to 221.16. Remarkably, even when initialized with an empty "Null" model containing zero domain assumptions, DisCo beat human baselines in Learning (70.64 vs. 76.06) and Memory (51.95 vs. 61.81).
  • Beating Existing LLM Discovery: Compared head-to-head against GeCCo (a recent LLM cognitive modeling framework), DisCo produced valid final models in 5/5 runs across all tasks, whereas GeCCo failed validity checks in 2/5 runs per task (sometimes due to the LLM accidentally breaking the probability math so choices didn't sum to 1). On valid runs, DisCo achieved lower BICs with much tighter variance—most notably in Memory (56.03 vs. GeCCo’s overfitted 837.91).
  • Recovering Real Traits: With the Validator active on the Planning task, DisCo’s discovered parameters reliably recovered known psychological ground truths across runs, such as goal-directed planning weight correlating negatively with age ($r \approx -0.22$) and positively with IQ ($r \approx +0.16$).

Limitations and Future Work

DisCo isn't completely free of human bias. First, its search trajectory can still be sensitive to the starting seed model: while Null-seeding excelled in simpler learning and memory tasks, complex planning benefited heavily from starting with an established cognitive model. Second, while DisCo automates equation writing, the Validator’s rules were still hand-tailored for sequential decision tasks. Developing universal, standardized validation protocols for broader scientific domains remains an open frontier.

Summary updated

Abstract

Computational cognitive modeling has traditionally relied on manual model construction, which is a time-intensive process that requires substantial domain expertise. Although recent LLM-based approaches have begun to automate model generation, they often prioritize predictive accuracy at the expense of structural plausibility and parameter identifiability. We introduce DisCo, an LLM-guided framework that discovers interpretable symbolic cognitive models through evolutionary search with two structural components: a Validator that filters structurally invalid models, and a Cleaner that promotes parameter identifiability by removing redundant parameters. Across three behavioral tasks, DisCo consistently discovers models that achieve performance competitive with task-specific baselines. Ablation analyses show that the Validator is important for recovering psychologically meaningful structure. Without this component, models tend to violate behavioral constraints and show less consistent associations with external cognitive measures. These results suggest that LLM-driven model discovery, when coupled with appropriate structural constraints, can yield cognitively plausible models that go beyond predictive fit.
BibTeX
@inproceedings{kwon2026discovering,
  author = {Boyoung Kwon and Jiyoon Seo and Sang Ho Lee},
  title = {{Discovering Structurally Plausible and Interpretable Cognitive Models with Large Language Models}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=l2Zr7y18C6},
}
Figure