atlas

Research map / Large language models / Agents, code and math

Generating Computational Cognitive models using Large Language Models

NeurIPS 2025 · Large language models › Agents, code and math · approach: LLM planning with symbolic tools · 0 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Proposes GeCCo, an in-context LLM pipeline that generates, fits, and iteratively refines cognitive models as Python functions, matching or beating literature models across four cognitive domains.

Problem

Handcrafting computational cognitive models is slow and requires domain expertise, and researchers may miss better models outside their own theoretical commitments.

Approach

Prompt open-source LLMs with task description, participant data, a code template and BIC-based feedback over 10 iterations to propose Python cognitive models; fit proposals offline with SciPy on held-out data and keep the best, with no fine-tuning.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Use Llama-generated GeCCo model instead of pWADDDecision-making model fit · Decision makingBIC: 51.97 \pm 4.52 vs. 39.40 \pm 4.54Helped
Use Llama-generated GeCCo model instead of RW^{4\alpha}Learning model fit · LearningBIC: 85.24 \pm 7.95 vs. 77.97 \pm 5.40Helped
Use R1-generated GeCCo model instead of HybridPlanning model fit · PlanningBIC: 437.38 \pm 18.72 vs. 432.47 \pm 19.31; p = 0.27No clear effect
Use Llama-generated GeCCo model instead of RL-WMWorking-memory model fit · Working memoryBIC: 275.2 \pm 9.21 vs. 267.25 \pm 9.31Helped
Use LLM-generated GeCCo model instead of CentaurDecision-making model · Decision-makingnegative log-likelihood: 15.41 \pm 1.99 vs. 15.08 \pm 2.29; p = 0.78No clear effect
Use LLM-generated GeCCo model instead of CentaurLearning model · Learningnegative log-likelihood: 53.58 \pm 3.31 vs. 26.17 \pm 2.79Helped
Use LLM-generated GeCCo model instead of CentaurPlanning model · Planningnegative log-likelihood: 206.00 \pm 11.14 vs. 214.10 \pm 10.59; p = 0.18No clear effect
Use LLM-generated GeCCo model instead of CentaurMemory model · Memorynegative log-likelihood: 127.44 \pm 4.68 vs. 120.67 \pm 4.68Helped
Add iterative feedback to the prompt (ablation)GeCCo prompt · Across cognitive domainsBIC: \beta_{M \pm \text{SEM}} = -17.040~\pm~2.287, p < 0.05Helped
Include participant data sequences in the prompt (ablation)GeCCo prompt · Across cognitive domainsBIC: \beta_{M \pm \text{SEM}} = -12.836~\pm~2.287, p < 0.05Helped
Include task description in the prompt (ablation)GeCCo prompt · Across cognitive domainsBIC: \beta_{M \pm \text{SEM}} = -9.834~\pm~2.287, p < 0.05Helped
Include code template in the prompt (ablation)GeCCo prompt · Across cognitive domainsBIC: \beta_{M \pm \text{SEM}} = -9.359~\pm~2.287, p < 0.05Helped

Surprising findings

Limitations

Experimental setup

Datasets: multi-feature decision making dataset two-armed bandit dataset with partial and full feedback two-stage planning dataset RL-WM working memory dataset synthetic Take the Best and Tallying data synthetic Rescorla-Wagner data

Benchmarks: decision making human data learning human data planning human data working memory human data synthetic recovery tasks

Metrics: BIC AIC exceedance probability negative log-likelihood posterior predictive checks identification accuracy

Baselines: pWADD RW-4alpha Hybrid model RL-WM model Centaur

Builds on: Rescorla-Wagner model Bayesian Information Criterion Centaur LogProber

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy