SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2401.18070 · ICML · 2024

Do Language Models Exhibit the Same Cognitive Biases in Problem Solving as Human Learners?

Bernhard Schölkopf, Abulhair Saparov, Andreas Opedal, Mrinmaya Sachan, Ryan Cotterell, Alessandro Stolfo, Haruki Shirakami, Ying Jiao

arXiv · PDF · Open in the Atlas

Code that ran

10 of 12 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (0 of them constructed an object rather than computing a result; 1 honoured the contract we drafted, 2 violated it and 0 have no contract verdict; 7 failures of our instrument; 2 no recorded run), measured 2026-11-23; repository links from the Papers with Code archive attributed under CC BY-SA, no affiliation; bodies inline only under a permissive licence as GitHub detects it. Not a reproduction of the paper's results.

"Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results. This record, dated, as JSON: /api/ran/2401.18070.json · badge: /api/ran/2401.18070.svg

Each repository's role is a label: a classifier's output recorded on the link, or, where no role is recorded, what the Papers with Code archive marked. The line under it names its basis. Neither says who wrote the code.

RepositoryRoleRan
eth-lre/solving-biases canonical (classifier label)
classifier basis: census
10 ran · 2 no recorded run
FunctionStatusWhere it lives
get_entity_n_for_agent Ran
ran, honoured the contract we drafted
eth-lre/solving-biases/concate_temp/instantiate_lf.py
pointer only (licence: NONE) · get_code("86d6ac0a87dfe9d7")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, eth-lre/solving-biases when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

get_lf_exemplars Ran
ran; our contract draft was wrong, not the code
eth-lre/solving-biases/utils/data_utils.py
pointer only (licence: NONE) · get_code("bebe3264264cd87d")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, eth-lre/solving-biases when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

get_special_relations_dict Ran
ran; our contract draft was wrong, not the code
eth-lre/solving-biases/concate_temp/instantiate_lf.py
pointer only (licence: NONE) · get_code("a1fb5348c1336d77")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, eth-lre/solving-biases when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

get_subject_from_q Ran
ran; our contract draft was wrong, not the code
eth-lre/solving-biases/concate_temp/concate_temp.py
pointer only (licence: NONE) · get_code("9055a78f95bce1d1")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, eth-lre/solving-biases when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

isFloat Ran
ran, violated the contract we drafted
eth-lre/solving-biases/concate_temp/lf_temp_prepare.py
pointer only (licence: NONE) · get_code("dd69c2e2e8f79e3a")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, eth-lre/solving-biases when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

is_int Ran
ran, violated the contract we drafted
eth-lre/solving-biases/utils/data_utils.py
pointer only (licence: NONE) · get_code("b0f1b23d62512994")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, eth-lre/solving-biases when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

load_txt Ran
ran; our contract draft was wrong, not the code
eth-lre/solving-biases/utils/data_utils.py
pointer only (licence: NONE) · get_code("b21bae29bcdb0be7")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, eth-lre/solving-biases when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

load_world_model Ran
ran; our contract draft was wrong, not the code
eth-lre/solving-biases/concate_temp/concate_temp.py
pointer only (licence: NONE) · get_code("b819792910bc36fe")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, eth-lre/solving-biases when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

prompt_funct Ran
ran; our contract draft was wrong, not the code
eth-lre/solving-biases/concate_temp/paraphrase.py
pointer only (licence: NONE) · get_code("8a7d134df7a067d8")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, eth-lre/solving-biases when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

to_lf_dict Ran
ran; our contract draft was wrong, not the code
eth-lre/solving-biases/concate_temp/lf_temp_prepare.py
pointer only (licence: NONE) · get_code("fb2fb70dbea4d501")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, eth-lre/solving-biases when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

get_answer_for_lf Not yet run
unverified (harvested, no recorded run)
eth-lre/solving-biases/concate_temp/instantiate_lf.py
pointer only (licence: NONE) · get_code("a6a989c10f94cfba")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, eth-lre/solving-biases when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

load_temp_dict Not yet run
unverified (harvested, no recorded run)
eth-lre/solving-biases/concate_temp/concate_temp.py
pointer only (licence: NONE) · get_code("da18088c1461761b")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, eth-lre/solving-biases when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

Also present in other papers' code

Of 12 samples lifted from this paper's linked repositories, 12 carry a function identity and 0 do not. Of the 12 distinct functions with an identity, 1 are also present in other papers whose code we hold (1 with at least one paper dated earlier, 0 the same month, 0 later) and 11 are only here among the 52,977 papers whose code Syntology holds (as of 2026-09-26).

Only here means: among the 52,977 papers whose code Syntology holds (51,887 with lifted samples, 1,090 through their assemblies only), as of 2026-09-26, no other paper's lifted samples or current assembly bricks contain an identical function body after normalisation.

FunctionAlso present inEarliest-datedOthers named
isFloat 2 other papers
2 dated earlier
1902.00146 (2019-02)
Agnostic Federated Learning
2108.08435 (2021-08)
Addressing Algorithmic Disparity and Performance Inconsistency in Federated Learning

Presence, not direction: an identical function body in two papers' repositories does not say who wrote it, which came from which, or that either paper's method rests on it. Matching is exact after normalisation, so a renamed or edited function is not matched. Dates are when papers appeared, not when code was written. Only .py files the harvester lifted are covered; notebooks are not read. A new-style arXiv id YYMM.NNNN dates a paper to the month 20YY-MM; otherwise Paper.year dates it to the year; otherwise it is undated. Dates are when the paper appeared, not when the code was written. Read 2026-11-23.

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

Abstract

There is increasing interest in employing large language models (LLMs) as cognitive models. For such purposes, it is central to understand which properties of human cognition are well-modeled by LLMs, and which are not. In this work, we study the biases of LLMs in relation to those known in children when solving arithmetic word problems. Surveying the learning science literature, we posit that the problem-solving process can be split into three distinct steps: text comprehension, solution planning and solution execution. We construct tests for each one in order to understand whether current LLMs display the same cognitive biases as children in these steps. We generate a novel set of word problems for each of these tests, using a neuro-symbolic approach that enables fine-grained control over the problem features. We find evidence that LLMs, with and without instruction-tuning, exhibit humanlike biases in both the text-comprehension and the solution-planning steps of the solving process, but not in the final step, in which the arithmetic expressions are executed to obtain the answer. https://github.com/eth-lre/ solving-biases

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("2401.18070")
get_code_for_paper("2401.18070")
have("2401.18070")

The run record, dated, one paper per request, free:

curl https://syntology.ai/api/ran/2401.18070.json

A badge for a README (the split and the date, never a ratio):

[![Syntology run record](https://syntology.ai/api/ran/2401.18070.svg)](https://syntology.ai/paper/2401.18070)

Connect an agent — have() is free.