Watts-Lab/commonsense-llm-eval

Data and code to replicate results in the paper "A large-scale evaluation of commonsense knowledge in humans and large language models".

0

stars

2

commits

Jupyter Notebook

primary language

Mar 3, 2026

updated

commonsense
commonsense-knowledge
llms
llms-benchmarking

README

Evaluating Commonsense Knowledge in Large Language Models

Data and code to reproduce results in the following paper.

Tuan Dung Nguyen, Duncan J. Watts, and Mark E. Whiting, A large-scale evaluation of commonsense knowledge in humans and large language models. PNAS Nexus 5(3): pgag029. 2026. https://doi.org/10.1093/pnasnexus/pgag029.

Abstract—Commonsense knowledge, a major constituent of AI, is primarily evaluated in practice by human-prescribed ground-truth labels. An important, albeit implicit, assumption of these labels is that they accurately capture what any human would think, effectively treating human common sense as homogeneous. However, recent empirical work has shown that humans vary enormously in what they consider commonsensical; thus what appears self-evident to one benchmark designer may not be so to another. Here, we propose a method for assessing commonsense knowledge in AI, specifically in large language models (LLMs) that incorporates empirically observed heterogeneity among humans by measuring the correspondence between a model’s judgment and that of a human population. We first find that, when treated as independent survey respondents, most LLMs remain below the human median in their individual commonsense competence. Second, when used as simulators of a hypothetical population, LLMs correlate with real humans only modestly in the extent to which they agree on the same set of statements. In both cases, smaller, open-weight models are surprisingly more competitive than larger, proprietary frontier models. Our evaluation framework, which ties commonsense knowledge to its cultural basis, contributes to the growing call for adapting AI models to human collectivities that possess different, often incompatible, social stocks of knowledge.

A preprint is also available at https://arxiv.org/abs/2505.10309.

Overview of repository

Set up an Anaconda environment

conda env create -f env.yml

Code

All code is in the src directory. It contains:

Data

All data is in the data directory. It contains:

Figures

All figures in the paper are in the figures directory.

Use and Citation

This article is distributed under the Creative Commons Attribution License (CC BY 4.0). You are free to reuse, distribute and reproduce its content in any medium, provided that the original work is properly cited.

Please cite the article using the following BibTeX entry.

@article{nguyenLargescaleEvaluationCommonsense2026,
    title = {A large-scale evaluation of commonsense knowledge in humans and large language models},
    author = {Nguyen, Tuan Dung and Watts, Duncan J. and Whiting, Mark E.},
    year = 2026,
    journal = {PNAS Nexus},
    volume = {5},
    number = {3},
    pages = {pgag029},
    publisher = {Oxford University Press},
    doi = {10.1093/pnasnexus/pgag029},
}

Contributors

joshnguyen99

2 commits

Watts-Lab/commonsense-llm-eval

Data and code to replicate results in the paper "A large-scale evaluation of commonsense knowledge in humans and large language models".

0

stars

2

commits

Jupyter Notebook

primary language

Mar 3, 2026

updated

commonsense
commonsense-knowledge
llms
llms-benchmarking

README

Evaluating Commonsense Knowledge in Large Language Models

Data and code to reproduce results in the following paper.

Tuan Dung Nguyen, Duncan J. Watts, and Mark E. Whiting, A large-scale evaluation of commonsense knowledge in humans and large language models. PNAS Nexus 5(3): pgag029. 2026. https://doi.org/10.1093/pnasnexus/pgag029.

Abstract—Commonsense knowledge, a major constituent of AI, is primarily evaluated in practice by human-prescribed ground-truth labels. An important, albeit implicit, assumption of these labels is that they accurately capture what any human would think, effectively treating human common sense as homogeneous. However, recent empirical work has shown that humans vary enormously in what they consider commonsensical; thus what appears self-evident to one benchmark designer may not be so to another. Here, we propose a method for assessing commonsense knowledge in AI, specifically in large language models (LLMs) that incorporates empirically observed heterogeneity among humans by measuring the correspondence between a model’s judgment and that of a human population. We first find that, when treated as independent survey respondents, most LLMs remain below the human median in their individual commonsense competence. Second, when used as simulators of a hypothetical population, LLMs correlate with real humans only modestly in the extent to which they agree on the same set of statements. In both cases, smaller, open-weight models are surprisingly more competitive than larger, proprietary frontier models. Our evaluation framework, which ties commonsense knowledge to its cultural basis, contributes to the growing call for adapting AI models to human collectivities that possess different, often incompatible, social stocks of knowledge.

A preprint is also available at https://arxiv.org/abs/2505.10309.

Overview of repository

Set up an Anaconda environment

conda env create -f env.yml

Code

All code is in the src directory. It contains:

Data

All data is in the data directory. It contains:

Figures

All figures in the paper are in the figures directory.

Use and Citation

This article is distributed under the Creative Commons Attribution License (CC BY 4.0). You are free to reuse, distribute and reproduce its content in any medium, provided that the original work is properly cited.

Please cite the article using the following BibTeX entry.

@article{nguyenLargescaleEvaluationCommonsense2026,
    title = {A large-scale evaluation of commonsense knowledge in humans and large language models},
    author = {Nguyen, Tuan Dung and Watts, Duncan J. and Whiting, Mark E.},
    year = 2026,
    journal = {PNAS Nexus},
    volume = {5},
    number = {3},
    pages = {pgag029},
    publisher = {Oxford University Press},
    doi = {10.1093/pnasnexus/pgag029},
}

Contributors

joshnguyen99

2 commits

Languages

Jupyter Notebook

99.0%

Python

1.0%