IN THIS BREAKDOWN · 10 SECTIONS
You can read 20% of this breakdown.
The paper in one minute
If a model can add, it should be able to add in base 9. The procedure is the same; only the point where a digit carries changes. That is the paper's test, applied to 11 tasks.
Each task gets a default version and one or more counterfactual versions that change a single assumption while keeping the procedure. Arithmetic moves to bases 8, 9, 11 and 16. Code runs in "ThonPy", Python with 1-based indexing. Logic problems keep their structure but make the premises contradict common sense. Coordinates use rotated or swapped axes, drawings must be flipped or rotated, guitar chords use altered tunings, melodies are transposed, chess starts with knights and bishops swapped, and the card game SET inverts the rule for one attribute.
A model could fail a counterfactual task simply by not understanding the instruction, so each one has a counterfactual comprehension check: a much simpler question that only a model that understood the change can answer, such as "what number follows 18 in base 9?"
GPT-4, GPT-3.5, Claude and PaLM-2 were tested in mid-2023, with and without "Let's think step by step." Performance under counterfactual rules was lower on every task, often by tens of points, while comprehension checks were usually high. The authors' reading is that models carry some transferable skill (counterfactual scores were mostly above chance) and a lot of procedure that only works under the familiar conditions.
Research notes: the problem, approach and results
GPT-4 two-digit addition in base 9 with step-by-step prompting, against 98.2% in base 10 (Table 18)
GPT-4 judging chess opening legality with knights and bishops swapped, against 87.8% normally; a coin scores 50% (Table 32)
tasks, from arithmetic and code to drawing, music, chess and the card game SET (Section 3)
High benchmark scores cannot separate a model that has a general procedure from one that has memorized how the task usually looks, because test items and their close relatives are all over the training data.
Keep the procedure and change one assumption, such as the number base, the indexing convention or the starting chess position, then compare default and changed versions. A simpler comprehension check confirms the model understood the change.
Across 11 tasks and four 2023 models, performance under the changed rules was consistently and substantially lower, though usually above chance. Changes that are more common in text, such as base 16 or drop-D guitar tuning, hurt less.
Why it matters to an FDE
Every customer has conventions that differ from the internet's defaults, and to a model those conventions are counterfactual worlds.
The customer's rules are the counterfactual. A fiscal year starting in July, week numbers starting on Saturday, an internal SQL dialect, a product code where the second character means region, a spreadsheet indexed from 1. The model has seen the default convention millions of times and the customer's a handful. This paper predicts accuracy will drop even when the model can restate the rule correctly.
Test the rule change directly. Take tasks the model handles under defaults, rewrite them under the customer's convention, and run both. Add a comprehension check, a one-line question about the convention itself, so you can tell "did not understand the rule" from "understood it and still defaulted".
Expect demonstrations to help, not to close the gap. Sixteen worked examples in base 9 raised GPT-4 from 38.6% to 88.4%, still 11.5 points behind base 10. If the convention matters, convert inputs to the default convention in code before the model sees them, or validate outputs against the rule.
Understand the mechanism. Try it on a real problem.
Unlock this breakdown and 290 more papers.
Premium opens every paper in full, plus every answer, concept, course and guide on the site. One payment for six months of access.
6 months · One payment · No auto-renewal
- ◇1 architecture diagram
- </>1 runnable code experiment
- ▦2 results tables
- ?5 interview questions with answers
- 03Key takeaways
How a counterfactual task is built, the checks, what the results say, and two misreadings
Free account - 04How it works
The formal setup, the 11 tasks and their checks, models, prompts and scoring
Premium - 05The numbers that matter
Arithmetic by base, code, logic, chess and SET, demonstrations, and the CoT effect
Premium - 06Try it yourself
Read the arithmetic tables, test chess against a coin, and see why the instance filter matters
Premium - 07Where it breaks
Mid-2023 models, some tasks allow shortcuts, two-step solutions confound, and slips
Premium - 08Using it on a deployment
Write counterfactual tests for customer conventions, add comprehension checks, convert in code
Premium - 09Interview angles
Five questions this paper prepares you for, with answer hints
Premium - 10Read next
Where to go from here on this site
Premium
