CogBench: a large language model walks into a psychology lab

Julian Coda-Forno,Marcel Binz,Jane X. Wang,Eric Schulz
2024-02-28
Abstract:Large language models (LLMs) have significantly advanced the field of artificial intelligence. Yet, evaluating them comprehensively remains challenging. We argue that this is partly due to the predominant focus on performance metrics in most benchmarks. This paper introduces CogBench, a benchmark that includes ten behavioral metrics derived from seven cognitive psychology experiments. This novel approach offers a toolkit for phenotyping LLMs' behavior. We apply CogBench to 35 LLMs, yielding a rich and diverse dataset. We analyze this data using statistical multilevel modeling techniques, accounting for the nested dependencies among fine-tuned versions of specific LLMs. Our study highlights the crucial role of model size and reinforcement learning from human feedback (RLHF) in improving performance and aligning with human behavior. Interestingly, we find that open-source models are less risk-prone than proprietary models and that fine-tuning on code does not necessarily enhance LLMs' behavior. Finally, we explore the effects of prompt-engineering techniques. We discover that chain-of-thought prompting improves probabilistic reasoning, while take-a-step-back prompting fosters model-based behaviors.
Computation and Language,Artificial Intelligence,Machine Learning
What problem does this paper attempt to address?
The paper "CogBench: An Approach to Evaluate Behavior of Large Language Models (LLMs) within the Domain of Cognitive Psychology Experiments" primarily focuses on how to comprehensively evaluate the behavior of large language models. Currently, most benchmark tests place too much emphasis on performance metrics while neglecting an understanding of the underlying behavioral mechanisms. To address this, the researchers propose a new benchmark testing tool called CogBench, which includes ten behavioral metrics from seven cognitive psychology experiments. CogBench tests 35 LLMs and reveals that model size and human feedback reinforcement learning (RLHF) are crucial for performance and consistency with human behavior. Open-source models tend to be more cautious in risk decision-making compared to proprietary models, and fine-tuning for code does not necessarily improve LLM behavior. Additionally, the study explores the impact of prompting engineering techniques and finds that prompting with chain thinking enhances probability reasoning, while "take a step back" prompts promote model baseline behavior. In the paper, the authors emphasize the role of psychology experiments in understanding LLM behavior and provide a comprehensive behavior evaluation through CogBench. They find that although some models excel in specific tasks, they do not perform like humans across many behavioral metrics. This indicates that, in addition to performance metrics, more attention is needed on the behavioral characteristics of models. Through this approach, researchers can gain deeper insights into the behavioral patterns of LLMs and how training and fine-tuning strategies impact these behaviors.