SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2410.22239 · EMNLP · 2024

DISCERN: Decoding Systematic Errors in Natural Language for Text Classifiers

Shashank Srivastava, Rakesh Menon

arXiv · PDF · Open in the Atlas

Code that ran

6 of 11 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 0 have no contract verdict; 6 failures of our instrument; 5 no recorded run), measured 2026-11-22; 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/2410.22239.json · badge: /api/ran/2410.22239.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
rrmenon10/DISCERN marked official in Papers with Code
Papers with Code archive
6 ran · 5 no recorded run
FunctionStatusWhere it lives
compute_score Ran
ran; our contract draft was wrong, not the code
rrmenon10/DISCERN/src/discern/refine.py
pointer only (licence: NONE) · get_code("587e2ba5154f85b0")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, rrmenon10/DISCERN 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_description_score Ran
ran; our contract draft was wrong, not the code
rrmenon10/DISCERN/src/discern/refine.py
pointer only (licence: NONE) · get_code("de5671532f8618d7")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, rrmenon10/DISCERN 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_prompt Ran
ran; our contract draft was wrong, not the code
rrmenon10/DISCERN/src/discern/refine.py
pointer only (licence: NONE) · get_code("478e1775f2ce81ae")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, rrmenon10/DISCERN 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_refine_prompt Ran
ran; our contract draft was wrong, not the code
rrmenon10/DISCERN/src/discern/refine.py
pointer only (licence: NONE) · get_code("e36c803f77711244")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, rrmenon10/DISCERN 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.

make_exp_dir Ran
ran; our contract draft was wrong, not the code
rrmenon10/DISCERN/src/discern/refine.py
pointer only (licence: NONE) · get_code("e3d84502048184f2")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, rrmenon10/DISCERN 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.

setup_logging Ran
ran; our contract draft was wrong, not the code
rrmenon10/DISCERN/src/discern/refine.py
pointer only (licence: NONE) · get_code("01a3c356acb12f97")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, rrmenon10/DISCERN 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.

Cluster Not yet run
unverified (harvested, no recorded run)
rrmenon10/DISCERN/src/discern/refine.py
pointer only (licence: NONE) · get_code("3f2d88d898f0a593")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, rrmenon10/DISCERN 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.

Config Not yet run
unverified (harvested, no recorded run)
rrmenon10/DISCERN/src/discern/refine.py
pointer only (licence: NONE) · get_code("b9ba287d5dc3c1dd")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, rrmenon10/DISCERN 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.

first_description Not yet run
unverified (harvested, no recorded run)
rrmenon10/DISCERN/src/discern/refine.py
pointer only (licence: NONE) · get_code("785ee891a47f53e1")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, rrmenon10/DISCERN 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.

refine_description Not yet run
unverified (harvested, no recorded run)
rrmenon10/DISCERN/src/discern/refine.py
pointer only (licence: NONE) · get_code("a3bc5649caed7187")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, rrmenon10/DISCERN 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.

refinement Not yet run
unverified (harvested, no recorded run)
rrmenon10/DISCERN/src/discern/refine.py
pointer only (licence: NONE) · get_code("d0d47d603094440f")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, rrmenon10/DISCERN 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 11 samples lifted from this paper's linked repositories, 11 carry a function identity and 0 do not. Of the 11 distinct functions with an identity, 0 are also present in other papers whose code we hold (0 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.

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-22.

Repositories linked to this paper

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

Abstract

Despite their high predictive accuracies, current machine learning systems often exhibit systematic biases stemming from annotation artifacts or insufficient support for certain classes in the dataset. Recent work proposes automatic methods for identifying and explaining systematic biases using keywords. We introduce DIS-CERN, a framework for interpreting systematic biases in text classifiers using language explanations. DISCERN iteratively generates precise natural language descriptions of systematic errors by employing an interactive loop between two large language models. Finally, we use the descriptions to improve classifiers by augmenting classifier training sets with synthetically generated instances or annotated examples via active learning. On three text-classification datasets, we demonstrate that language explanations from our framework induce consistent performance improvements that go beyond what is achievable with exemplars of systematic bias. Finally, in human evaluations, we show that users can interpret systematic biases more effectively (by over 25% relative) and efficiently when described through language explanations as opposed to cluster exemplars. 1

For agents

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

get_harvested_code_for_paper("2410.22239")
get_code_for_paper("2410.22239")
have("2410.22239")

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

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

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

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

Connect an agent — have() is free.