Large language models instantiate evolutionarily robust strategies of cooperation

Saptarshi Pal1, Abhishek Mallela2, Lenz Pracher3

  • 1Department of Mathematics, Harvard University, Cambridge, MA 02138, USA.

PNAS Nexus
|June 29, 2026
PubMed
Summary

Large language models (LLMs) show varied performance in social decision-making games like the repeated prisoner's dilemma. While capable in many scenarios, LLMs lack consistent strategies across different conditions and parameters.

Related Concept Videos

Microbial Interactions: Cooperation01:26

Microbial Interactions: Cooperation

Microbial cooperation involves beneficial interactions in which different species work together for individual or mutual advantage. These interactions can profoundly influence ecological dynamics and evolutionary processes, and they are essential to many pathogenic and symbiotic relationships.Nematode–Bacteria CooperationA striking example is the relationship between the Gram-negative bacterium Xenorhabdus nematophila and the parasitic nematode Steinernema carpocapsae. Juvenile nematodes...
Inclusive Fitness00:57

Inclusive Fitness

Most altruistic behavior—in which one animal helps another at a cost to themselves—occurs between relatives. Scientists think these altruistic behaviors evolved because they increase the inclusive fitness of the animal providing help.
Language and Cognition01:27

Language and Cognition

Language serves as a bridge between ideas and communication, influencing how individuals perceive and interact with the world. Psychologists have long debated whether language shapes thought or vice versa. This discussion gained grip with Edward Sapir and Benjamin Lee Whorf in the 1940s, who proposed that language determines thought, a concept known as linguistic determinism. They suggested that the vocabulary and structure of a language influence how its speakers think and perceive reality.
Evolutionary Psychology01:20

Evolutionary Psychology

Evolutionary psychology explores the origins of human behavior and mental processes by framing them within the context of natural selection, a theory famously propounded by Charles Darwin. This field asserts that many behaviors common across human societies — ranging from instinctive fear reactions to complex social interactions — arose as evolutionary adaptations. These adaptations enhanced the survival and reproductive success of our ancestors, thereby becoming embedded in the human psyche...
Mechanistic Models: Compartment Models in Algorithms for Numerical Problem Solving01:29

Mechanistic Models: Compartment Models in Algorithms for Numerical Problem Solving

Mechanistic models play a crucial role in algorithms for numerical problem-solving, particularly in nonlinear mixed effects modeling (NMEM). These models aim to minimize specific objective functions by evaluating various parameter estimates, leading to the development of systematic algorithms. In some cases, linearization techniques approximate the model using linear equations.
In individual population analyses, different algorithms are employed, such as Cauchy's method, which uses a...
Mechanistic Models: Compartment Models in Individual and Population Analysis01:23

Mechanistic Models: Compartment Models in Individual and Population Analysis

Mechanistic models are utilized in individual analysis using single-source data, but imperfections arise due to data collection errors, preventing perfect prediction of observed data. The mathematical equation involves known values (Xi), observed concentrations (Ci), measurement errors (εi), model parameters (ϕj), and the related function (ƒi) for i number of values. Different least-squares metrics quantify differences between predicted and observed values. The ordinary least squares (OLS)...