SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2311.11202 · ICLR · 2024

Unmasking and Improving Data Credibility: A Study with Datasets for Training Harmless Language Models

Yang Liu, Zhaowei Zhu, Hao Cheng, Jialu Wang, Docta Ai

arXiv · PDF · Open in the Atlas

Code that ran

13 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; 12 failures of our instrument; 4 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/2311.11202.json · badge: /api/ran/2311.11202.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
Docta-ai/docta canonical (classifier label)
classifier basis: census
7 ran · 3 no recorded run
docta-ai/docta community
Papers with Code archive
6 ran · 1 no recorded run
FunctionStatusWhere it lives
build_dataloader Ran
ran on a synthesized input
Docta-ai/docta/docta/core/preprocess.py
pointer only (licence: NOASSERTION) · get_code("89343e9ce4529f54")
How it ran

The body of this sample is withheld: GitHub could not classify the licence of this paper's repository, Docta-ai/docta (NOASSERTION). 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.

calc_func Ran
ran; our contract draft was wrong, not the code
docta-ai/docta/docta/core/hoc.py
pointer only (licence: NOASSERTION) · get_code("74db7fb95cfa89aa")
How it ran

The body of this sample is withheld: GitHub could not classify the licence of this paper's repository, docta-ai/docta (NOASSERTION). 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.

calc_func Ran
ran; our contract draft was wrong, not the code
Docta-ai/docta/docta/core/hoc.py
pointer only (licence: NOASSERTION) · get_code("1bd3269708552425")
How it ran

The body of this sample is withheld: GitHub could not classify the licence of this paper's repository, Docta-ai/docta (NOASSERTION). 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.

consensus_analytical Ran
ran; our contract draft was wrong, not the code
docta-ai/docta/docta/core/hoc.py
pointer only (licence: NOASSERTION) · get_code("29157eaeebd7d72f")
How it ran

The body of this sample is withheld: GitHub could not classify the licence of this paper's repository, docta-ai/docta (NOASSERTION). 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.

consensus_counts Ran
ran; our contract draft was wrong, not the code
docta-ai/docta/docta/core/hoc.py
pointer only (licence: NOASSERTION) · get_code("0816116bc538cf08")
How it ran

The body of this sample is withheld: GitHub could not classify the licence of this paper's repository, docta-ai/docta (NOASSERTION). 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.

cosDistance Ran
ran; our contract draft was wrong, not the code
docta-ai/docta/docta/core/hoc.py
pointer only (licence: NOASSERTION) · get_code("d1f5c578a50e0457")
How it ran

The body of this sample is withheld: GitHub could not classify the licence of this paper's repository, docta-ai/docta (NOASSERTION). 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.

cosDistance Ran
ran; our contract draft was wrong, not the code
Docta-ai/docta/docta/core/core_utils.py
pointer only (licence: NOASSERTION) · get_code("1aefb5a2a8344cf3")
How it ran

The body of this sample is withheld: GitHub could not classify the licence of this paper's repository, Docta-ai/docta (NOASSERTION). 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.

func Ran
ran; our contract draft was wrong, not the code
docta-ai/docta/docta/core/hoc.py
pointer only (licence: NOASSERTION) · get_code("5a674060ffcfdbd4")
How it ran

The body of this sample is withheld: GitHub could not classify the licence of this paper's repository, docta-ai/docta (NOASSERTION). 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.

func Ran
ran; our contract draft was wrong, not the code
Docta-ai/docta/docta/core/hoc.py
pointer only (licence: NOASSERTION) · get_code("0f66f1dc117b565d")
How it ran

The body of this sample is withheld: GitHub could not classify the licence of this paper's repository, Docta-ai/docta (NOASSERTION). 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_consensus_patterns Ran
ran; our contract draft was wrong, not the code
docta-ai/docta/docta/core/hoc.py
pointer only (licence: NOASSERTION) · get_code("2e9c4bbe3d984e66")
How it ran

The body of this sample is withheld: GitHub could not classify the licence of this paper's repository, docta-ai/docta (NOASSERTION). 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_score Ran
ran; our contract draft was wrong, not the code
Docta-ai/docta/docta/core/knn.py
pointer only (licence: NOASSERTION) · get_code("7e1d6ecb79e8a1bc")
How it ran

The body of this sample is withheld: GitHub could not classify the licence of this paper's repository, Docta-ai/docta (NOASSERTION). 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.

mean_pooling Ran
ran; our contract draft was wrong, not the code
Docta-ai/docta/docta/core/core_utils.py
pointer only (licence: NONE); the stored copy get_code serves, from dengyang17/llm-proactive, is pointer only (licence: NONE) · get_code("77f69af078e09830")
How it ran

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

onehot Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
Docta-ai/docta/docta/datasets/csv_loder.py
pointer only (licence: NOASSERTION) · get_code("ef874310d3110242")
How it ran

The body of this sample is withheld: GitHub could not classify the licence of this paper's repository, Docta-ai/docta (NOASSERTION). 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.

count_knn_distribution Not yet run
unverified (harvested, no recorded run)
Docta-ai/docta/docta/core/knn.py
pointer only (licence: NOASSERTION) · get_code("19d352a2475d275e")
How it ran

The body of this sample is withheld: GitHub could not classify the licence of this paper's repository, Docta-ai/docta (NOASSERTION). 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.

estimator_hoc Not yet run
unverified (harvested, no recorded run)
docta-ai/docta/docta/core/hoc.py
pointer only (licence: NOASSERTION) · get_code("7e2b3b101a1bf891")
How it ran

The body of this sample is withheld: GitHub could not classify the licence of this paper's repository, docta-ai/docta (NOASSERTION). 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.

extract_embedding_batch Not yet run
unverified (harvested, no recorded run)
Docta-ai/docta/docta/core/preprocess.py
pointer only (licence: NOASSERTION) · get_code("9a21c5d38d6cc7bb")
How it ran

The body of this sample is withheld: GitHub could not classify the licence of this paper's repository, Docta-ai/docta (NOASSERTION). 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.

simi_feat_batch Not yet run
unverified (harvested, no recorded run)
Docta-ai/docta/docta/core/knn.py
pointer only (licence: NOASSERTION) · get_code("f700d4559bcde1f6")
How it ran

The body of this sample is withheld: GitHub could not classify the licence of this paper's repository, Docta-ai/docta (NOASSERTION). 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 17 samples lifted from this paper's linked repositories, 17 carry a function identity and 0 do not. Of the 14 distinct functions with an identity, 3 are also present in other papers whose code we hold (3 with at least one paper dated earlier, 1 the same month, 1 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.

FunctionAlso present inEarliest-datedOthers named
mean_pooling 22 other papers
5 dated earlier, 1 the same month, 15 later, 1 same year, order not determinable · 1 only as an assembly brick
2206.04624 (2022-06)
Factuality Enhanced Language Models for Open-Ended Text Generation
2023.findings-emnlp.540 (2023 (year only))
Open-ended Commonsense Reasoning with Unrestricted Answer Scope
2302.05698 (2023-02)
Compositional Exemplars for In-context Learning
and 19 more not named here
cosDistance
brick of this paper's assembly: helper
1 other paper
1 dated earlier
2202.01273 (2022-02)
Beyond Images: Label Noise Transition Matrix Estimation for Tasks with Lower-Quality Features
onehot 1 other paper
1 dated earlier
2202.01273 (2022-02)
Beyond Images: Label Noise Transition Matrix Estimation for Tasks with Lower-Quality Features

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

Language models have shown promise in various tasks but can be affected by undesired data during training, fine-tuning, or alignment. For example, if some unsafe conversations are wrongly annotated as safe ones, the model fine-tuned on these samples may be harmful. Therefore, the correctness of annotations, i.e., the credibility of the dataset, is important. This study focuses on the credibility of real-world datasets, including the popular benchmarks Jigsaw Civil Comments, Anthropic Harmless & Red Team, PKU BeaverTails & SafeRLHF, that can be used for training a harmless language model. Given the cost and difficulty of cleaning these datasets by humans, we introduce a systematic framework for evaluating the credibility of datasets, identifying label errors, and evaluating the influence of noisy labels in the curated language data, specifically focusing on unsafe comments and conversation classification. With the framework, we find and fix an average of 6.16% label errors in 11 datasets constructed from the above benchmarks. The data credibility and downstream learning performance can be remarkably improved by directly fixing label errors, indicating the significance of cleaning existing real-world datasets. We provide an open-source tool, Docta, for data cleaning at https://github.com/Docta-ai/docta.

For agents

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

get_harvested_code_for_paper("2311.11202")
get_code_for_paper("2311.11202")
have("2311.11202")

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

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

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

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

Connect an agent — have() is free.