DataSculpt: Crafting Data Landscapes for Long-Context LLMs through Multi-Objective Partitioning
Keer Lu
Xiaonan NieZheng LiangDa PanShusen ZhangKeshi ZhaoWeipeng ChenZenan ZhouGuosheng Dong
Bin CuiWentao Zhang Keer Lu

Xiaonan Nie
Zheng Liang
Da Pan
Shusen Zhang
Keshi Zhao
Weipeng Chen
Zenan Zhou
Guosheng Dong

Bin Cui
Wentao Zhang
+11
DataSculpt is a data management framework for long-context LLM training that formulates data organization as a multi-objective combinatorial optimization problem over relevance, homogeneity, integrity, and efficiency. It uses a coarse-to-fine method: first clustering documents by semantic similarity, then applying a multi-objective greedy search within each cluster to score and concatenate documents into context windows. Evaluations show improvements of 18-21% in retrieval, summarization, and reading comprehension, and 3.81% in code completion, with a 4.88% overall gain.

arXiv ·
· September 2, 2024