Skip to content

Dataset Search That Survives Training: AgenticDS and HuDS-Bench

THE ARGUMENT

The gain in dataset search comes not from a smarter LLM but from restricting the LLM to typed objects, giving execution to deterministic code, and letting evidence review turn graph expansion from noise into a measurable gain.

On this page

A buyer holds a shortlist of top-10 dataset cards and one signature to give, but nothing printed on those cards proves the data will improve the model being trained. The usual advice is to write the training need as one sentence, run dense–sparse hybrid retrieval, and pick the card that reads closest, and that advice is incomplete rather than wrong: a request couples a semantic training goal with a task, a licence and a training stage, and the metadata that would verify those constraints is often absent [1]. A second habit is to hand the tools to an LLM agent and let it iterate, except the model that selects a dataset is also the model that declares it a match. This paper turns both habits into a pipeline with checks, then tests whether the retrieved data actually improves a model.

The default move: compare how similar the cards look

At first glance the job looks like ordinary search: compress the need into one sentence, run a dense retriever or BM25, read the top ten cards, and pick whichever description mentions your task and domain. When cards are complete this works well, and a dense–sparse hybrid is a strong baseline that is hard to beat by accident.

Real requests, however, are never one sentence; they carry hard constraints on task, modality, licence and training stage, and the metadata that would verify them is frequently missing, so a card that says nothing about licensing is silently treated as if it had none [1].

Handing the tools to an LLM agent adds flexibility and removes the only check, because the model that selects a dataset is also the model that certifies it as a match, and nothing in the loop inspects whether the stated constraints were met.

Three failure modes: flattened constraints, sparse descriptions, and relevance that is not utility

The paper separates the difficulty into three coupled problems [1], and none of them is new on its own.

  • Constraints get flattened. Existing systems either collapse the query into one embedding or treat metadata fields independently, so a candidate that violates a hard constraint still enters the ranking and its score gives nothing away.
  • Evidence is heterogeneous. Text retrieval is precise when cards are well written; datasets with sparse descriptions are reachable only through graph relations, such as the models trained on them, yet structural connectivity does not imply semantic fit and an unguarded graph channel adds noise.
  • Relevance does not entail training utility. Standard benchmarks score rankings against graded judgments and never test whether the selected data improve a downstream model, so the cost of a bad pick lands in training hours rather than in the search box.

How AgenticDS works: typed objects from the LLM, execution by deterministic code

The design rule is one sentence long: every LLM decision must instantiate a typed object before deterministic code is allowed to consume it [1]. In plain terms, the model cannot quietly rewrite retrieval semantics mid-tool-call; it fills a form with fixed fields, and nothing outside that form executes.

A Planner compiles the query into a typed search plan that names query branches, the one- or two-hop graph paths it may traverse, hard and soft constraints, pool quotas and quality thresholds. In the paper's example, a Python coding need spawns a Task branch, a Format branch for instruction–code pairs, and a graph-expansion branch anchored on models used for Python instruction tuning, while the original query is kept so that decomposition cannot split joint semantics.

An Engineer runs only admissible deterministic operators: a dense score mixes description and metadata embeddings with a tunable weight, reciprocal rank fusion blends that with BM25, and graph expansion follows declared paths only while discounting hub nodes by out-degree, so a node attached to thousands of datasets does not win on connectivity alone. A Critic then scores a fixed-format evidence package and either accepts the ranking or emits a typed diagnosis that permits local repairs only.

HuDS-Bench: 200 queries, 24,908 graded judgments, 15 systems in one pool

HuDS-Bench is built for this setting [1]: queries are natural-language data needs, judgments are human graded relevance, and everything sits on a knowledge graph rather than a flat card index.

ItemValue
Queries200 natural-language dataset search queries
Graded relevance judgments24,908
Systems pooled15
NDCG@10 vs. strongest dense–sparse hybrid+25.7%
NDCG@10 vs. a commercial LLM agent+18.9%
NDCG@10 loss without the Critic0.149
NDCG@10 loss without the Planner0.086

Two details matter for anyone quoting these figures. The 24,908 judgments were pooled over the outputs of 15 systems rather than over the authors' own run, so the comparison has a base. The ablation also moves in a clean direction: dropping the Critic costs 0.149 NDCG@10 and dropping the Planner costs 0.086, which locates the gain in the two structural components rather than in a better query writer.

The appendix adds a human agreement study and significance tests, and those remain appendix material rather than headline numbers.

The ranking went up, but did the model train better

The authors do not stop at ranking quality. Each system's top-5 datasets are fed into supervised fine-tuning (SFT, continued training of an existing model on input–output pairs) of three base models across mathematics, code and medicine [1].

AgenticDS gives the best downstream accuracy in all three domains, and the largest gain appears on the weakest base model, which suggests the retrieved data supplies capability the base lacked rather than polishing a strength it already had.

The sharper ablation sits here: graph-expansion candidates pushed straight into the ranking lower accuracy on every text backbone, while the same expansion behind a provenance-aware Critic improves it. The paper's phrasing is that relational evidence is conditional, not additive. Specific accuracy points live in the per-model tables in the appendix, and this article does not estimate them.

Boundaries: when this method fails

The method fails when the graph snapshot is treated as the whole world. AgenticDS uses a HuggingKG snapshot as auxiliary infrastructure and states that missing metadata or links mean unknown support, not irrelevance [1], so a low rank is not evidence against a dataset and relations absent from the graph cannot be found.

It does not apply when you need paths longer than the declared one or two hops, nor when per-query planning and review cost more than the search is worth; the paper has a cost section, this summary has no numbers from it. It is also out of scope for corpora you already hold and want to filter, rewrite or synthesise, since the paper positions itself as an upstream component of that loop.

References

  1. From Intent to Improvement: Agentic Dataset Search for Better Model Training

Sign in to Padda

A code in your inbox. No password to remember.

Connecting to sign-in…