Centaur: a foundation model of human cognition

Marcel Binz, Elif Akata, Matthias Bethge, Franziska Brändle, Fred Callaway, Julian Coda-Forno, Peter Dayan, Can Demircan, Maria K. Eckstein, Noémi Élteto, Thomas L. Griffiths, Susanne Haridi, Akshay K. Jagadish, Ji-An Li, Alexander Kipnis, Sreejan Kumar, Tobias Ludwig, Marvin Mathony, Marcelo G. Mattar, Alireza Modirshanechi, Surabhi S. Nath, Joshua C. Peterson, Milena Rmus, Evan M. Russek, Tankred Saanum, Natalia Scharfenberg, Johannes A. Schubert, Luca M. Schulze Buschoff, Nishad Singhi, Xin Sui, Mirko Thalmann, Fabian J. Theis, Vuong Truong, Vishaal Udandarao, Konstantinos Voudouris, Robert Wilson, Kristin Witte, Shuchen Wu, Dirk Wulff, Huadong Xiong, Eric Schulz · OpenReview

TL;DR

Researchers have developed "Centaur," a foundation model for human cognition by fine-tuning a large language model (LLM) on a massive dataset of human behavior. Centaur not only predicts human choices across diverse experiments better than existing models but also generalizes to novel tasks and shows neural representations aligned with human brain activity, marking a significant step towards a unified theory of cognition.

What Problem Does This Paper Address?

For decades, a major goal in psychology has been to establish a unified theory of human cognition. While computational models have been developed, they are typically domain-specific, excelling at one task but failing to capture the broad, versatile nature of human intelligence. This leaves a significant gap: we lack a single model that can predict and simulate human behavior across the vast array of situations and tasks humans engage in. This paper aims to bridge that gap by creating a foundation model for human cognition.

Methods

The core innovation lies in fine-tuning a state-of-the-art LLM (Llama 3.1 70B) using a parameter-efficient technique called QLORA. This involves adding small, trainable "low-rank adapters" to the frozen, quantized base LLM. The model was trained on a novel dataset, Psych-101, using a standard cross-entropy loss, but crucially, the loss was masked for tokens not corresponding to human responses. This ensured the model focused on mimicking human behavior rather than just completing instructions. The researchers also explored the alignment of the model's internal representations with human neural activity using fMRI data.

Datasets

The primary dataset used is Psych-101, a newly curated, large-scale dataset comprising trial-by-trial data from 160 psychological experiments involving over 60,000 participants and more than 10 million choices. This dataset is unique in its scale and its natural language format, allowing for a unified representation of diverse experimental paradigms. The paper also mentions using data from existing studies for specific evaluations, such as the two-step task, sentence reading, and various benchmarks like CogBench.

Key Insights and Ideas

  • LLMs as a foundation for cognition: The paper demonstrates that LLMs, when appropriately fine-tuned on behavioral data, can serve as powerful foundation models for understanding human cognition, moving beyond their typical text-generation capabilities.
  • The power of natural language for unifying experiments: By transcribing diverse psychological experiments into a common natural language format, the researchers created a unified dataset that allows a single model to learn from and generalize across vastly different tasks.
  • Generalization beyond training data: Centaur's ability to generalize to unseen participants, novel cover stories, modified task structures, and entirely new domains is a key finding, suggesting a deeper understanding of cognitive principles rather than mere memorization.
  • Neural alignment as a byproduct: Surprisingly, fine-tuning for behavioral prediction also led to internal representations that are more aligned with human neural activity, hinting at a shared underlying computational structure.

Key Results

  • Centaur outperforms existing domain-specific cognitive models in predicting human behavior across almost all experiments in Psych-101, with an average improvement in log-likelihood of 0.14.
  • It generalizes well to out-of-distribution settings, accurately predicting behavior under modified cover stories, problem structures, and in entirely novel domains.
  • Centaur's internal representations show increased alignment with human neural activity, as evidenced by fMRI data analysis.
  • The model also captures human response times, with its response entropy explaining more variance than that of the base LLM or cognitive models.
  • Centaur successfully passes a series of additional out-of-distribution evaluations and benchmarks, demonstrating robust generalization.

Limitations and Future Work

  • Scope of experiments: Centaur's ability to generalize is currently limited to psychological experiments that can be expressed in natural language. Future work aims to extend this to real-world applications.
  • Real-time simulation: While Centaur can simulate behavior in near real-time, further optimization is needed to fully close the gap with human participants' inference time.
  • Understanding internal representations: The paper suggests further probing Centaur's internal representations to generate new hypotheses about human cognition.
  • Expanding Psych-101: The dataset could be expanded to include more domains like psycholinguistics, social psychology, and economic games, as well as individual differences and cross-cultural data.
  • Multimodal data: The long-term objective is to move towards a multimodal data format to capture a wider range of experimental paradigms.
  • Architectural exploration: Training models with different architectures from scratch using the Psych-101 dataset could offer new insights into the neural architecture of human cognition.

Summary updated

Abstract

Establishing a unified theory of cognition has been a major goal of psychology. While there have been previous attempts to instantiate such theories by building computational models, we currently do not have one model that captures the human mind in its entirety. Here we introduce Centaur, a computational model that can predict and simulate human behavior in any experiment expressible in natural language. We derived Centaur by finetuning a state-of-the-art language model on a novel, large-scale data set called Psych-101. Psych-101 reaches an unprecedented scale, covering trial-by-trial data from over 60,000 participants performing over 10,000,000 choices in 160 experiments. Centaur not only captures the behavior of held-out participants better than existing cognitive models, but also generalizes to new cover stories, structural task modifications, and entirely new domains. Furthermore, we find that the model's internal representations become more aligned with human neural activity after finetuning. Taken together, Centaur is the first real candidate for a unified model of human cognition. We anticipate that it will have a disruptive impact on the cognitive sciences, challenging the existing paradigm for developing computational models.
BibTeX
@misc{binz2024centaur,
  author = {Marcel Binz and Elif Akata and Matthias Bethge and Franziska Brändle and Fred Callaway and Julian Coda-Forno and Peter Dayan and Can Demircan and Maria K. Eckstein and Noémi Élteto and Thomas L. Griffiths and Susanne Haridi and Akshay K. Jagadish and Ji-An Li and Alexander Kipnis and Sreejan Kumar and Tobias Ludwig and Marvin Mathony and Marcelo G. Mattar and Alireza Modirshanechi and Surabhi S. Nath and Joshua C. Peterson and Milena Rmus and Evan M. Russek and Tankred Saanum and Natalia Scharfenberg and Johannes A. Schubert and Luca M. Schulze Buschoff and Nishad Singhi and Xin Sui and Mirko Thalmann and Fabian J. Theis and Vuong Truong and Vishaal Udandarao and Konstantinos Voudouris and Robert Wilson and Kristin Witte and Shuchen Wu and Dirk Wulff and Huadong Xiong and Eric Schulz},
  title = {{Centaur: a foundation model of human cognition}},
  year = {2024},
  eprint = {2410.20268},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2410.20268},
}
Figure