SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2410.05269 · EMNLP · 2024

DATA ADVISOR: Dynamic Data Curation for Safety Alignment of Large Language Models

Kai-Wei Chang, Aram Galstyan, Rahul Gupta, Fei Wang, Palash Goyal, Ninareh Mehrabi

arXiv · PDF · Open in the Atlas

Code that ran

2 of 2 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; 2 failures of our instrument; 0 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/2410.05269.json · badge: /api/ran/2410.05269.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
feiwang96/Data-Advisor canonical (classifier label)
classifier basis: census
2 ran · 0 no recorded run
FunctionStatusWhere it lives
formatting_prompts_func Ran
ran; our contract draft was wrong, not the code
feiwang96/Data-Advisor/train_target_model.py
pointer only (licence: NONE) · get_code("992c9f47d47101c4")
How it ran

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

parse_multi_choice_response Ran
ran; our contract draft was wrong, not the code
feiwang96/Data-Advisor/eval/parse_prediction.py
pointer only (licence: NONE) · get_code("f3018307f9301da1")
How it ran

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

Also present in other papers' code

Of 2 samples lifted from this paper's linked repositories, 2 carry a function identity and 0 do not. Of the 2 distinct functions with an identity, 1 are also present in other papers whose code we hold (1 with at least one paper dated earlier, 1 the same month, 1 later) and 1 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
parse_multi_choice_response 9 other papers
5 dated earlier, 1 the same month, 3 later
2311.10774 (2023-11)
MMC: Advancing Multimodal Chart Understanding with Large-scale Instruction Tuning
2402.11530 (2024-02)
Efficient Multimodal Learning from Data-centric Perspective
2402.14289 (2024-02)
TinyLLaVA: A Framework of Small-scale Large Multimodal Models
and 6 more not named here

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

Data is a crucial element in large language model (LLM) alignment. Recent studies have explored using LLMs for efficient data collection. However, LLM-generated data often suffers from quality issues, with underrepresented or absent aspects and low-quality datapoints. To address these problems, we propose DATA ADVISOR, an enhanced LLMbased method for generating data that takes into account the characteristics of the desired dataset. Starting from a set of pre-defined principles in hand, DATA ADVISOR monitors the status of the generated data, identifies weaknesses in the current dataset, and advises the next iteration of data generation accordingly. DATA ADVISOR can be easily integrated into existing data generation methods to enhance data quality and coverage. Experiments on safety alignment of three representative LLMs (i.e., Mistral, Llama2, and Falcon) demonstrate the effectiveness of DATA ADVISOR in enhancing model safety against various fine-grained safety issues without sacrificing model utility. Warning: this paper contains example data that may be offensive or harmful.

For agents

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

get_harvested_code_for_paper("2410.05269")
get_code_for_paper("2410.05269")
have("2410.05269")

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

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

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

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

Connect an agent — have() is free.