SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2404.15004 · 2024

TAXI: Evaluating Categorical Knowledge Editing for Language Models

arXiv · PDF · Open in the Atlas

Code that ran

11 of 17 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; 0 honoured the contract we drafted, 0 violated it and 1 has no contract verdict; 10 failures of our instrument; 6 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/2404.15004.json · badge: /api/ran/2404.15004.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
derekpowell/taxi canonical (classifier label)
classifier basis: census
11 ran · 6 no recorded run
FunctionStatusWhere it lives
binary_log_probs Ran
ran; our contract draft was wrong, not the code
derekpowell/taxi/easyeditor/trainer/losses.py
pointer only (licence: MIT); the stored copy get_code serves, from MemEIC/MemEIC, is pointer only (licence: NONE) · get_code("27659a9c234ffb11")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (MIT), but get_code serves the stored copy, first harvested from MemEIC/MemEIC, and GitHub detected no licence in that repository 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.

evaluate Ran
ran; our contract draft was wrong, not the code
derekpowell/taxi/easyeditor/custom/custom.py
code served (permissive licence) · get_code("fe17455a0444ff9e")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned DataFrame. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import pandas as pd
from torch import nn


torch.manual_seed(0)


class SimpleModel(nn.Module):
    """Minimal model that implements the choose method."""
    
    def __init__(self):
        super().__init__()
        self.linear = nn.Linear(4, 1)
    
    def choose(self, query, choices, normalization=None):
        """
        Selects one choice based on query.
        Returns the index of the selected choice.
        """
        # Simulate scoring each choice and returning the best one
        scores = [hash(f"{query}_{choice}") % len(choices) for choice in choices]
        return scores.index(max(scores))


# Create a minimal model
model = SimpleModel()

# Create evaluation data as a pandas DataFrame
evaluation_data = pd.DataFrame({
    'subj': ['Alice', 'Bob'],
    'answer_fwd': ['red', 'blue'],
    'property': ['color', 'color'],
    'query_fwd': ['What is the color of <subj>?', 'What is the color of <subj>?'],
    'query_rev': ['What has color <answer>?', 'What has color <answer>?'],
    'fwd_choices': [['red', 'green', 'blue'], ['red', 'green', 'blue']],
    'rev_choices': [['Alice', 'Bob', 'Charlie'], ['Alice', 'Bob', 'Charlie']],
})

ARGS = {
    'evaluation_data': evaluation_data,
    'model': model,
    'prefix_fwd': 'Context: ',
    'prefix_rev': 'Reverse: ',
    'normalization': None,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
pandas, torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type DataFrame — a DataFrame output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a DataFrame output the recorded ndim 2 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
hierarchical_subsequence Ran
ran on a synthesized input
derekpowell/taxi/easyeditor/util/nethook.py
code served (permissive licence) · get_code("920b394e7ad80c53")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned Sequential. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import torch.nn as nn
from collections import OrderedDict

torch.manual_seed(0)

# Create a nested Sequential model to test hierarchical_subsequence
layer1 = nn.Linear(4, 3)
layer2 = nn.Linear(3, 2)
layer3 = nn.Linear(2, 5)

nested_seq = nn.Sequential(
    OrderedDict([
        ('linear1', layer1),
        ('linear2', layer2),
        ('linear3', layer3)
    ])
)

# Test case 1: No parameters (should return full sequential)
ARGS = {
    'sequential': nested_seq,
    'first': None,
    'last': None,
    'after': None,
    'upto': None,
    'share_weights': False,
    'depth': 0
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Sequential — a Sequential output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a Sequential output the recorded ndim 1 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
kl_loc_loss Ran
ran; our contract draft was wrong, not the code
derekpowell/taxi/easyeditor/trainer/losses.py
code served (permissive licence) · get_code("bcc592aa5c1e2bb3")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned Tensor, ndim 0, dtype family float, shape () as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import torch.nn as nn

torch.manual_seed(0)

# Test case 1: Non-sequence (2D), single output dimension
pre_2d = torch.randn(2, 1)
post_2d = torch.randn(2, 1)

ARGS = {
    "pre": pre_2d,
    "post": post_2d,
    "mask": None,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Tensor, ndim 0, dtype family float, shape () — shape () as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
load_data Ran
ran; our contract draft was wrong, not the code
derekpowell/taxi/easyeditor/custom/loaders.py
code served (permissive licence) · get_code("b42dc8428be2d10d")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned tuple. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import pandas as pd
import tempfile
import os
import json

# Create temporary directory with mock JSON files
tmpdir = tempfile.mkdtemp()

# Create mock edits.json
edits_data = [
    {"id": 1, "text": "edit1", "value": 10},
    {"id": 2, "text": "edit2", "value": 20}
]
with open(os.path.join(tmpdir, 'edits.json'), 'w') as f:
    json.dump(edits_data, f)

# Create mock baseline-evaluation.json
baseline_data = [
    {"id": 1, "score": 0.8},
    {"id": 2, "score": 0.9}
]
with open(os.path.join(tmpdir, 'baseline-evaluation.json'), 'w') as f:
    json.dump(baseline_data, f)

# Create mock edits-evaluation.json
eval_data = [
    {"id": 1, "eval_score": 0.75},
    {"id": 2, "eval_score": 0.85}
]
with open(os.path.join(tmpdir, 'edits-evaluation.json'), 'w') as f:
    json.dump(eval_data, f)

ARGS = {
    'data_path': tmpdir + '/'
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
pandas — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type tuple — a tuple output has no array shape of its own; none is stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
load_prefixes Ran
ran; our contract draft was wrong, not the code
derekpowell/taxi/easyeditor/custom/loaders.py
code served (permissive licence) · get_code("f6178049a37aa2cf")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned tuple, ndim 1, dtype family float; no output shape is stated. The image it ran in was not recorded. If your copy returns the same type and ndim on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import tempfile
import os

# Create temporary files with prefix content
temp_dir = tempfile.mkdtemp()
prefix_fwd_path = os.path.join(temp_dir, 'prefix_fwd.txt')
prefix_rev_path = os.path.join(temp_dir, 'prefix_rev.txt')
prefix_single_path = os.path.join(temp_dir, 'single-prefix2.txt')

# Write sample prefix content to temporary files
with open(prefix_fwd_path, 'w') as f:
    f.write("forward prefix line 1\nforward prefix line 2\nforward prefix line 3\n")

with open(prefix_rev_path, 'w') as f:
    f.write("reverse prefix line 1\nreverse prefix line 2\nreverse prefix line 3\n")

with open(prefix_single_path, 'w') as f:
    f.write("single prefix line 1\nsingle prefix line 2\n")

# Change to temp directory so the function can find the files
original_dir = os.getcwd()
os.chdir(temp_dir)

ARGS = {
    'prefix_lines': -1,
    'verbose': False
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type tuple, ndim 1, dtype family float — a tuple output has no array shape of its own; none is stated
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
load_template_data Ran
ran; our contract draft was wrong, not the code
derekpowell/taxi/build-datasets.py
code served (permissive licence) · get_code("2043ff5a4e7de46a")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned tuple. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import pandas as pd
import os
import tempfile

# Create temporary directory and mock CSV files
temp_dir = tempfile.mkdtemp()
taxonomy_dir = os.path.join(temp_dir, 'taxonomy')
os.makedirs(taxonomy_dir, exist_ok=True)

# Create mock CSV files for a test supercat
supercat_name = 'product'

# Create types_df mock data
types_data = {
    'type': ['TypeA', 'TypeB', 'TypeC'],
    'token_count': [10, 20, 15]
}
types_df = pd.DataFrame(types_data)
types_csv_path = os.path.join(taxonomy_dir, f'{supercat_name}-type-tokens.tsv')
types_df.to_csv(types_csv_path, sep='\t', index=False)

# Create properties_df mock data
properties_data = {
    'property_id': ['prop1', 'prop2', 'prop3'],
    'property_name': ['Color', 'Size', 'Weight'],
    'value': ['Red', 'Large', '5kg']
}
properties_df = pd.DataFrame(properties_data)
properties_csv_path = os.path.join(taxonomy_dir, f'{supercat_name}-data.tsv')
properties_df.to_csv(properties_csv_path, sep='\t', index=False)

# Temporarily change working directory to temp_dir so relative paths work
import sys
original_cwd = os.getcwd()
os.chdir(temp_dir)

# Define ARGS
ARGS = {
    'supercat': supercat_name
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
pandas — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type tuple — a tuple output has no array shape of its own; none is stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
make_longtypes Ran
ran; our contract draft was wrong, not the code
derekpowell/taxi/build-datasets.py
code served (permissive licence) · get_code("380726e364bc5bad")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned DataFrame. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import numpy as np
import pandas as pd

def make_longtypes(types_df):
    longtypes_df = types_df.melt(['entity_type'], var_name='token_type', value_name='subj').assign(token_type=lambda x: np.where(x.token_type.str.startswith('typical'), 'typical', 'rare'))
    return longtypes_df

# Create a sample DataFrame that matches the expected structure
types_df = pd.DataFrame({
    'entity_type': ['Type_A', 'Type_B', 'Type_C'],
    'typical_token_1': [10, 20, 30],
    'typical_token_2': [15, 25, 35],
    'rare_token_1': [5, 8, 12],
    'rare_token_2': [3, 7, 9]
})

ARGS = {
    'types_df': types_df
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, pandas — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type DataFrame — a DataFrame output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a DataFrame output the recorded ndim 2 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
pad_token Ran
ran; our contract draft was wrong, not the code
derekpowell/taxi/easyeditor/custom/custom.py
code served (permissive licence) · get_code("c68f6cedf7d382d9")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned str. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch

def pad_token(token):
    token = ' ' + token.lstrip()
    return token

ARGS = {
    'token': 'hello'
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type str — a str output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a str output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
recursive_copy Ran
ran; our contract draft was wrong, not the code
derekpowell/taxi/easyeditor/util/nethook.py
pointer only (licence: MIT); the stored copy get_code serves, from TrustedLLM/UnKE, is pointer only (licence: NONE) · get_code("70f6ab8bde55420e")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (MIT), but get_code serves the stored copy, first harvested from TrustedLLM/UnKE, and GitHub detected no licence in that repository 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.

subsequence Ran
ran; our contract draft was wrong, not the code
derekpowell/taxi/easyeditor/util/nethook.py
code served (permissive licence) · get_code("440ff98c2b1ae1aa")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned Sequential. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import torch.nn as nn
import copy
from collections import OrderedDict

torch.manual_seed(0)

# Build a nested Sequential model with multiple layers
sequential = nn.Sequential(
    OrderedDict([
        ('layer1', nn.Linear(4, 3)),
        ('layer2', nn.ReLU()),
        ('layer3', nn.Linear(3, 2)),
        ('nested', nn.Sequential(
            OrderedDict([
                ('sublayer1', nn.Linear(2, 2)),
                ('sublayer2', nn.ReLU()),
            ])
        )),
        ('layer4', nn.Linear(2, 1)),
    ])
)

ARGS = {
    'sequential': sequential,
    'first_layer': None,
    'last_layer': None,
    'after_layer': None,
    'upto_layer': None,
    'single_layer': None,
    'share_weights': False,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Sequential — a Sequential output has no array shape of its own; none is stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
encode_token Not yet run
unverified (harvested, no recorded run)
derekpowell/taxi/easyeditor/custom/custom.py
code served (permissive licence) · get_code("d5780c0ee8f8d453")
How it ran

no invocation recorded.

get_model Not yet run
unverified (harvested, no recorded run)
derekpowell/taxi/easyeditor/trainer/models.py
pointer only (licence: MIT); the stored copy get_code serves, from llm-editing/HalluEditBench, is pointer only (licence: NONE) · get_code("d2e4c1979dd70b9a")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (MIT), but get_code serves the stored copy, first harvested from llm-editing/HalluEditBench, and GitHub detected no licence in that repository 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.

get_tokenizer Not yet run
unverified (harvested, no recorded run)
derekpowell/taxi/easyeditor/trainer/models.py
code served (permissive licence) · get_code("2defe42cf1a7f301")
How it ran

no invocation recorded.

load_result Not yet run
unverified (harvested, no recorded run)
derekpowell/taxi/benchmark.py
code served (permissive licence) · get_code("108f10fc0bb72b90")
How it ran

no invocation recorded.

multiclass_log_probs Not yet run
unverified (harvested, no recorded run)
derekpowell/taxi/easyeditor/trainer/losses.py
pointer only (licence: MIT); the stored copy get_code serves, from mjy1111/PRUNE, is pointer only (licence: NONE) · get_code("caf658f0bdfae9a9")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (MIT), but get_code serves the stored copy, first harvested from mjy1111/PRUNE, and GitHub detected no licence in that repository 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.

proc_rev_choices Not yet run
unverified (harvested, no recorded run)
derekpowell/taxi/build-datasets.py
code served (permissive licence) · get_code("43fe84ecd7eadc5f")
How it ran

no invocation recorded.

Also present in other papers' code

Of 17 samples lifted from this paper's linked repositories, 17 carry a function identity and 0 do not. Of the 17 distinct functions with an identity, 8 are also present in other papers whose code we hold (8 with at least one paper dated earlier, 0 the same month, 8 later) and 9 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
subsequence 49 other papers
18 dated earlier, 30 later, 1 same year, order not determinable
2007.15646 (2020-07)
Rewriting a Deep Generative Model
2009.05041 (2020-09)
Understanding the Role of Individual Units in a Deep Neural Network
2110.04292 (2021-10)
Toward a Visual Concept Vocabulary for GAN Latent Space
and 46 more not named here
recursive_copy 48 other papers
16 dated earlier, 31 later, 1 same year, order not determinable
2207.02774 (2022-07)
Local Relighting of Real Scenes
2210.07229 (2022-10)
Mass-Editing Memory in a Transformer
2302.12461 (2023-02)
Analyzing And Editing Inner Mechanisms Of Backdoored Language Models
and 45 more not named here
hierarchical_subsequence 46 other papers
15 dated earlier, 30 later, 1 same year, order not determinable
2210.07229 (2022-10)
Mass-Editing Memory in a Transformer
2302.12461 (2023-02)
Analyzing And Editing Inner Mechanisms Of Backdoored Language Models
2311.09053 (2023-11)
Assessing Knowledge Editing in Language Models via Relation Perspective
and 43 more not named here
binary_log_probs 28 other papers
10 dated earlier, 17 later, 1 same year, order not determinable
2210.07229 (2022-10)
Mass-Editing Memory in a Transformer
2310.10322 (2023-10)
Evaluating the Reversal Curse in Model Editing
2311.09053 (2023-11)
Assessing Knowledge Editing in Language Models via Relation Perspective
and 25 more not named here
kl_loc_loss 16 other papers
5 dated earlier, 11 later
2310.10322 (2023-10)
Evaluating the Reversal Curse in Model Editing
2401.04700 (2024-01)
Model Editing Harms General Abilities of Large Language Models: Regularization to the Rescue
2401.17623 (2024-01)
Neighboring Perturbations of Knowledge Editing on Large Language Models
and 13 more not named here
get_tokenizer 14 other papers
5 dated earlier, 9 later
2310.10322 (2023-10)
Evaluating the Reversal Curse in Model Editing
2401.04700 (2024-01)
Model Editing Harms General Abilities of Large Language Models: Regularization to the Rescue
2401.17623 (2024-01)
Neighboring Perturbations of Knowledge Editing on Large Language Models
and 11 more not named here
get_model 8 other papers
3 dated earlier, 5 later
2310.10322 (2023-10)
Evaluating the Reversal Curse in Model Editing
2401.04700 (2024-01)
Model Editing Harms General Abilities of Large Language Models: Regularization to the Rescue
2402.11905 (2024-02)
Learning to Edit: Aligning LLMs with Knowledge Editing
and 5 more not named here
multiclass_log_probs 3 other papers
2 dated earlier, 1 later
2401.04700 (2024-01)
Model Editing Harms General Abilities of Large Language Models: Regularization to the Rescue
2402.11905 (2024-02)
Learning to Edit: Aligning LLMs with Knowledge Editing
2405.16821 (2024-05)
Perturbation-Restrained Sequential Model Editing

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

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.

For agents

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

get_harvested_code_for_paper("2404.15004")
get_code_for_paper("2404.15004")
have("2404.15004")

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

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

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

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

Connect an agent — have() is free.