mlsanityData to 14 Oct 2026

Text2Cypher: Data Pruning using Hard Example Selection

arXiv 2505.05122 ↗First posted 8 May 2025cs.DB cs.LGcited by 1

Not on the map. Why?

Abstract (arXiv)

Database query languages such as SQL for relational databases and Cypher for graph databases have been widely adopted. Recent advancements in large language models (LLMs) enable natural language interactions with databases through models like Text2SQL and Text2Cypher. Fine-tuning these models typically requires large, diverse datasets containing non-trivial examples. However, as dataset size increases, the cost of fine-tuning also rises. This makes smaller, high-quality datasets essential for reducing costs for the same or better performance. In this paper, we propose five hard-example selection techniques for pruning the Text2Cypher dataset, aiming to preserve or improve performance while reducing resource usage. Our results show that these hard-example selection approaches can halve training time and costs with minimal impact on performance, and demonstrates that hard-example selection provides a cost-effective solution.

Key facts. Cited by 1 paper in the map (data through 14 Oct 2026). Builds on 8 of its 20 references that are in the map. First posted on arXiv 8 May 2025.

Builds on

8 of 20 references.

References · 8

  1. 2018Spider: A Large-Scale Human-Labeled Dataset for Complex and Cross-Domain Semantic Parsing and Text-to-SQL Taskcited by 1,139
  2. 2024LESS: Selecting Influential Data for Targeted Instruction Tuningcited by 532
  3. 2023What Makes Good Data for Alignment? A Comprehensive Study of Automatic Data Selection in Instruction Tuningcited by 364
  4. 2024A Survey on Data Selection for Language Modelscited by 236
  5. 2023MoDS: Model-oriented Data Selection for Instruction Tuningcited by 107
  6. 2024Data-efficient Fine-tuning for LLM-based Recommendationcited by 104
  7. 2025D3: Diversity, Difficulty, and Dependability-Aware Data Selection for Sample-Efficient LLM Instruction Tuningcited by 21
  8. 2025Diversity-driven Data Selection for Language Model Tuning through Sparse Autoencodercited by 12

Built on by

Cited by year

Citing papers per year: 2025: 1.

1 paper.