Papers › Unmasking and Improving Data Credibility: A Study with Datasets for Training Harmless...

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

19 Nov 2023arXiv:2311.11202archive 2025-07-28

Zhaowei Zhu, Jialu Wang, Hao Cheng, Yang Liu

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.

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

Code

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

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

docta-ai/docta officialmentioned in paperpytorchNOASSERTION 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; 13 ran; 0 honoured the contract we drafted; 4 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.

7ran · our draft was wrong
6ran
4unverified

Licence: 17 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 Docta-ai/docta. “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.

build_dataloader Docta-ai/docta/docta/core/preprocess.py official repository ran licence not identified · pointer only · 89343e9ce4529f54 · report
calc_func docta-ai/docta/docta/core/hoc.py official repository ran · our draft was wrong licence not identified · pointer only · 74db7fb95cfa89aa · report
calc_func Docta-ai/docta/docta/core/hoc.py official repository ran licence not identified · pointer only · 1bd3269708552425 · report
consensus_analytical docta-ai/docta/docta/core/hoc.py official repository ran · our draft was wrong licence not identified · pointer only · 29157eaeebd7d72f · report
consensus_counts docta-ai/docta/docta/core/hoc.py official repository ran · our draft was wrong licence not identified · pointer only · 0816116bc538cf08 · report
cosDistance docta-ai/docta/docta/core/hoc.py official repository ran · our draft was wrong fingerprinted licence not identified · pointer only · d1f5c578a50e0457 · report
cosDistance Docta-ai/docta/docta/core/core_utils.py official repository ran fingerprinted licence not identified · pointer only · 1aefb5a2a8344cf3 · report
func docta-ai/docta/docta/core/hoc.py official repository ran · our draft was wrong licence not identified · pointer only · 5a674060ffcfdbd4 · report
func Docta-ai/docta/docta/core/hoc.py official repository ran licence not identified · pointer only · 0f66f1dc117b565d · report
get_consensus_patterns docta-ai/docta/docta/core/hoc.py official repository ran · our draft was wrong licence not identified · pointer only · 2e9c4bbe3d984e66 · report
get_score Docta-ai/docta/docta/core/knn.py official repository ran licence not identified · pointer only · 7e1d6ecb79e8a1bc · report
mean_pooling Docta-ai/docta/docta/core/core_utils.py official repository ran · our draft was wrong no licence file found · pointer only · 77f69af078e09830 · report
onehot Docta-ai/docta/docta/datasets/csv_loder.py official repository ran licence not identified · pointer only · ef874310d3110242 · report
count_knn_distribution Docta-ai/docta/docta/core/knn.py official repository unverified licence not identified · pointer only · 19d352a2475d275e · report
estimator_hoc docta-ai/docta/docta/core/hoc.py official repository unverified licence not identified · pointer only · 7e2b3b101a1bf891 · report
extract_embedding_batch Docta-ai/docta/docta/core/preprocess.py official repository unverified licence not identified · pointer only · 9a21c5d38d6cc7bb · report
simi_feat_batch Docta-ai/docta/docta/core/knn.py official repository unverified licence not identified · pointer only · f700d4559bcde1f6 · report

Tasks

Language ModelingLanguage Modelling

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Methods

Jigsaw

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