Hypothesis-guided discovery of cognitive algorithms via program refinement
Huiwen Alex Yang, Mark K. Ho, Bill D. Thompson
Key points
From the paper's conclusion- We proposed a hybrid system that treats discovery of cognitive algorithms as a program refinement problem, using probabilistic programs and LLM agents.
- Revised models consistently improved model fit relative to ancestral models and revealed a small set of recurring innovations that capture meaningful behavioral variability in a problem-solving paradigm.
Abstract
Developing cognitive models of algorithmic reasoning from behavioral data is a central problem in cognitive science that challenges current methods. Traditional approaches to cognitive modeling are interpretable and benefit from human expertise, but lack flexibility and scalability. Emerging techniques using large language models (LLMs) for de novo generation of cognitive models are scalable and flexible, but lack a role for human expertise and have mostly been applied to simpler tasks than algorithm recovery. We propose a hybrid system that treats discovery of cognitive algorithms as a program refinement problem. Human-created cognitive models are expressed as probabilistic programs and provided to a system of LLM agents with a mandate to: identify mismatches between model and behavior; propose code-level modifications within researcher-specified constraints; and verify structural fidelity. Revisions propagate to a probabilistic inference module that performs inference for latent variables and data likelihood computations. We evaluate the pipeline on human behavior in a problem-solving paradigm that exposes a variety of cognitive algorithms. Revised models consistently improve model fit relative to ancestral models and reveal a small set of recurring innovations that capture meaningful behavioral variability in this task.
Read the paper
Discussion · 1
Science Skim's AI key points, plus readers' public thoughts
- We proposed a hybrid system that treats discovery of cognitive algorithms as a program refinement problem, using probabilistic programs and LLM agents.
- Revised models consistently improved model fit relative to ancestral models and revealed a small set of recurring innovations that capture meaningful behavioral variability in a problem-solving paradigm.
Readers' thoughts
No reader thoughts yet.
Related papers
- Discovering Structurally Plausible and Interpretable Cognitive Models with Large Language ModelsarXiv · 2026
- AGAR: a reinforcement learning substrate for LLM program evolutionarXiv · 2026
- Human-LLM Cognitive Extension: A Framework for Studying Coupled CognitionarXiv · 2026
- Cognitive Mapping of Learning by Thinking Mechanisms in Large Language ModelsarXiv · 2026
- CogAdapt: Cognition-informed Sparse Adaptation of Code LLMsarXiv · 2026
- GRAFT: Execution-Guided Genetic Recombination for Agent DesignarXiv · 2026