cs.AIOct 29, 2026

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

Authors: Qiaosheng Chen, Kaijia Huang, Fanqi Zhou, Gong Cheng

Organizations: Nanjing University State Key Laboratory for Novel Software Technology Nanjing, Jiangsu, China

Abstract

Finding training data in million-scale machine learning repositories is a Web search problem where text relevance is not enough. A query couples a semantic training goal with constraints such as task, license, and training stage, and the metadata that would verify them are often missing. Text retrieval ranks dataset cards by similarity but cannot enforce hard constraints or follow the relations that reach a sparsely described dataset. Free-form tool-calling agents are more flexible, but the same model that picks a dataset also declares it a match, and nothing checks that the query's constraints are actually met. Neither approach establishes that the data it returns will improve model training. To address it, we propose AgenticDS, a contract-governed agentic framework in which every language model decision instantiates a typed object before deterministic code consumes it. The framework compiles a query into a typed search plan, executes it through admissible deterministic operators over hybrid retrieval and bounded graph expansion, and verifies the provenance-grounded evidence before accepting a ranking or emitting a typed diagnosis that permits only local repairs. On HuDS-Bench, a new benchmark of 200 queries with 24,908 graded judgments pooled over 15 systems, AgenticDS improves NDCG@10 by 25.7% over the strongest dense--sparse hybrid and by 18.9% over a commercial LLM agent. A controlled search-to-train study further shows that the datasets it retrieves give the best downstream accuracy in mathematics, code, and medicine. Code and data are publicly available at https://github.com/nju-websoft/AgenticDS.

Figures & tables

Appendix figures & tables8 assets

Supplementary material from the paper’s appendix.

Appendix

Explore similar work

CardsList
  1. OpenThoughts-Agent: Data Recipes for Agentic Models

    Jun 23, 2026Negin Raoof, Richard Zhuang, Marianna Nezhurina +47Training Data CurationLLM Agent Training

  2. A Reference Architecture for Agentic Hybrid Retrieval in Dataset Search

    Mar 28, 2026Riccardo Terrenzi, Phongsakon Mark Konrad, Tim Lukas Adam +1Agentic RetrievalInformation Retrieval

  3. Retrieval, Reward, and Training Protocols: What Matters in Training Search Agents?

    May 27, 2026Yibo Zhao, Zichen Ding, Jiayi Wu +2LLM AgentsInformation Retrieval