Kernels of selfhood: GPT-4o shows humanlike patterns of cognitive dissonance moderated by free choice

S Steven A. Lehr (Cangrade, Inc.) K Ketan S. Saichandran (Department of Computer Science, Boston University) E Eddie Harmon-Jones (School of Psychology, The University of New South Wales) N Nykko Vitali (Department of Psychology, Harvard University) M Mahzarin R. Banaji (Department of Psychology, Harvard University)

Abstract

Large language models (LLMs) show emergent patterns that mimic human cognition. We explore whether they also mirror other, less deliberative human psychological processes. Drawing upon classical theories of cognitive consistency, two preregistered studies tested whether GPT-4o changed its attitudes toward Vladimir Putin in the direction of a positive or negative essay it wrote about the Russian leader. Indeed, GPT displayed patterns of attitude change mimicking cognitive dissonance effects in humans. Even more remarkably, the degree of change increased sharply when the LLM was offered an illusion of choice about which essay (positive or negative) to write, suggesting that GPT-4o manifests a functional analog of humanlike selfhood. The exact mechanisms by which the model mimics human attitude change and self-referential processing remain to be understood.

Article Details

Volume / Issue Vol. 122, Issue 20
Published May 20, 2025
ISSN 0027-8424
Publisher National Academy of Sciences

Authors (5)

S

Steven A. Lehr

Cangrade, Inc.

K

Ketan S. Saichandran

Department of Computer Science, Boston University

E

Eddie Harmon-Jones

School of Psychology, The University of New South Wales

N

Nykko Vitali

Department of Psychology, Harvard University

M

Mahzarin R. Banaji

Department of Psychology, Harvard University