Papers › TAXI: Evaluating Categorical Knowledge Editing for Language Models

TAXI: Evaluating Categorical Knowledge Editing for Language Models

23 Apr 2024arXiv:2404.15004archive 2025-07-28

Derek Powell, Walter Gerych, Thomas Hartvigsen

Humans rarely learn one fact in isolation. Instead, learning a new fact induces knowledge of other facts about the world. For example, in learning a korat is a type of cat, you also infer it is a mammal and has claws, ensuring your model of the world is consistent. Knowledge editing aims to inject new facts into language models to improve their factuality, but current benchmarks fail to evaluate consistency, which is critical to ensure efficient, accurate, and generalizable edits. We manually create TAXI, a new benchmark dataset specifically created to evaluate consistency in categorical knowledge edits. TAXI contains 11,120 multiple-choice queries for 976 edits spanning 41 categories (e.g., Dogs), 164 subjects (e.g., Labrador), and 183 properties (e.g., is a mammal). We then use TAXI to evaluate popular editors' categorical consistency, measuring how often editing a subject's category appropriately edits its properties. We find that 1) the editors achieve marginal, yet non-random consistency, 2) their consistency far underperforms human baselines, and 3) consistency is more achievable when editing atypical subjects Our code and data are available at https://github.com/derekpowell/taxi.

PaperPDFCodeCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2404.15004")

Code

Syntology Ran 10 of 17 code samples harvested from 1 repository linked to this paper; 7 have no recorded run. Of those that ran: 2 ran · our draft was wrong; 8 ran with no contract checked.

By repository: official repository: 17 samples from 1 repository, 10 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

derekpowell/taxi officialmentioned in paperpytorchMIT report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

17 samples harvested; 10 ran; 0 honoured the contract we drafted; 7 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

2ran · our draft was wrong
8ran
7unverified

Licence: 0 of the 17 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from derekpowell/taxi. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

binary_log_probs derekpowell/taxi/easyeditor/trainer/losses.py official repository ran · our draft was wrong MIT (permissive) · 27659a9c234ffb11 · report
evaluate derekpowell/taxi/easyeditor/custom/custom.py official repository ran MIT (permissive) · fe17455a0444ff9e · report
hierarchical_subsequence derekpowell/taxi/easyeditor/util/nethook.py official repository ran MIT (permissive) · 920b394e7ad80c53 · report
load_data derekpowell/taxi/easyeditor/custom/loaders.py official repository ran MIT (permissive) · b42dc8428be2d10d · report
load_prefixes derekpowell/taxi/easyeditor/custom/loaders.py official repository ran MIT (permissive) · f6178049a37aa2cf · report
load_template_data derekpowell/taxi/build-datasets.py official repository ran MIT (permissive) · 2043ff5a4e7de46a · report
make_longtypes derekpowell/taxi/build-datasets.py official repository ran MIT (permissive) · 380726e364bc5bad · report
pad_token derekpowell/taxi/easyeditor/custom/custom.py official repository ran fingerprinted MIT (permissive) · c68f6cedf7d382d9 · report
recursive_copy derekpowell/taxi/easyeditor/util/nethook.py official repository ran · our draft was wrong MIT (permissive) · 70f6ab8bde55420e · report
subsequence derekpowell/taxi/easyeditor/util/nethook.py official repository ran MIT (permissive) · 440ff98c2b1ae1aa · report
encode_token derekpowell/taxi/easyeditor/custom/custom.py official repository unverified MIT (permissive) · d5780c0ee8f8d453 · report
get_model derekpowell/taxi/easyeditor/trainer/models.py official repository unverified MIT (permissive) · d2e4c1979dd70b9a · report
get_tokenizer derekpowell/taxi/easyeditor/trainer/models.py official repository unverified MIT (permissive) · 2defe42cf1a7f301 · report
kl_loc_loss derekpowell/taxi/easyeditor/trainer/losses.py official repository unverified MIT (permissive) · bcc592aa5c1e2bb3 · report
load_result derekpowell/taxi/benchmark.py official repository unverified MIT (permissive) · 108f10fc0bb72b90 · report
multiclass_log_probs derekpowell/taxi/easyeditor/trainer/losses.py official repository unverified MIT (permissive) · caf658f0bdfae9a9 · report
proc_rev_choices derekpowell/taxi/build-datasets.py official repository unverified MIT (permissive) · 43fe84ecd7eadc5f · report

Tasks

Multiple-choiceknowledge editing

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections