Papers › Detecting Label Errors in Token Classification Data

Detecting Label Errors in Token Classification Data

8 Oct 2022arXiv:2210.03920archive 2025-07-28

Wei-Chen Wang, Jonas Mueller

Mislabeled examples are a common issue in real-world data, particularly for tasks like token classification where many labels must be chosen on a fine-grained basis. Here we consider the task of finding sentences that contain label errors in token classification datasets. We study 11 different straightforward methods that score tokens/sentences based on the predicted class probabilities output by a (any) token classification model (trained via any procedure). In precision-recall evaluations based on real-world label errors in entity recognition data from CoNLL-2003, we identify a simple and effective method that consistently detects those sentences containing label errors when applied with different token classification models.

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="2210.03920")

Code

Syntology Ran 0 of 12 code samples harvested from 1 repository linked to this paper; 12 have no recorded run.

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

cleanlab/cleanlab officialmentioned in papermentioned on GitHubpytorch report
cleanlab/token-label-error-benchmarks officialmentioned in papermentioned on GitHubpytorchApache-2.0 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

12 samples harvested; 0 ran; 0 honoured the contract we drafted; 12 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.

12unverified

Licence: 0 of the 12 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 cleanlab/token-label-error-benchmarks. “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.

common_label_issues cleanlab/token-label-error-benchmarks/cleanlab/cleanlab/token_classification/summary.py official repository unverified Apache-2.0 (permissive) · 9391fbc1f6e50239 · report
convert_long_to_wide_dataset cleanlab/token-label-error-benchmarks/cleanlab/cleanlab/multiannotator.py official repository unverified Apache-2.0 (permissive) · 8142b45ae6cd6a3d · report
filter_by_token cleanlab/token-label-error-benchmarks/cleanlab/cleanlab/token_classification/summary.py official repository unverified Apache-2.0 (permissive) · d897ff0caca8b97d · report
filter_sentence cleanlab/token-label-error-benchmarks/cleanlab/cleanlab/internal/token_classification_utils.py official repository unverified Apache-2.0 (permissive) · a137b9e19b47c3c5 · report
find_notebooks cleanlab/token-label-error-benchmarks/cleanlab/.ci/nblint.py official repository unverified Apache-2.0 (permissive) · 1b2e1aa3ef515881 · report
get_normalized_entropy cleanlab/token-label-error-benchmarks/cleanlab/cleanlab/internal/label_quality_utils.py official repository unverified Apache-2.0 (permissive) · da55361b346af336 · report
get_pred_probs cleanlab/token-label-error-benchmarks/utils.py official repository unverified Apache-2.0 (permissive) · 431baab68c830367 · report
get_probs cleanlab/token-label-error-benchmarks/utils.py official repository unverified Apache-2.0 (permissive) · 3c41a5bdbdfce314 · report
get_sentence cleanlab/token-label-error-benchmarks/cleanlab/cleanlab/internal/token_classification_utils.py official repository unverified Apache-2.0 (permissive) · cf32c69cd3e18509 · report
issues_from_scores cleanlab/token-label-error-benchmarks/cleanlab/cleanlab/token_classification/rank.py official repository unverified Apache-2.0 (permissive) · 619c6dda82b1fef1 · report
process_token cleanlab/token-label-error-benchmarks/cleanlab/cleanlab/internal/token_classification_utils.py official repository unverified Apache-2.0 (permissive) · 0c72d7c3e3f80747 · report
readfile cleanlab/token-label-error-benchmarks/utils.py official repository unverified Apache-2.0 (permissive) · 4a2ea73644772367 · report

Tasks

General ClassificationToken Classification

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