UltraX: Refining Pre-Training Data at Scale with Adaptive Programmatic Editing

· Source: cs.AI updates on arXiv.org · Field: Technology & Digital — Artificial Intelligence & Machine Learning, Data Science & Analytics, Software Development & Engineering · Depth: Expert, extended

Summary

UltraX is a novel function-calling refinement framework designed to enhance large-scale pre-training data quality for Large Language Models (LLMs). It addresses diminishing returns from mere data expansion by introducing a complete editing function space, including insertion, deletion, and modification, enabling fine-grained instance-level editing. The framework employs a reliable program-supervision generation pipeline, utilizing dataset-adaptive prompt optimization to guide an expert LLM in producing high-quality refined texts. These are then converted into structured program supervision via Line Alignment Mapping and Dynamic Context Replacement. During inference, UltraX ensures stability and reliability through sliding-window prediction, global operation aggregation, and systematic post-processing. Experiments with 1B models pretrained from scratch on multiple corpora, including FineWeb and RedPajama-V2, demonstrate UltraX achieves the highest average performance, with relative improvements exceeding 2% on several datasets and showing stronger data efficiency with fewer training tokens.

Key takeaway

For Machine Learning Engineers building large language models, prioritizing data quality over raw volume is critical for achieving further performance gains. You should consider adopting programmatic refinement frameworks like UltraX, which consistently improves downstream performance by over 2% with greater data efficiency. This approach, especially effective for low-quality data subsets, minimizes over-editing while preserving valuable content, offering a scalable and reliable method to enhance pre-training data.

Key insights

UltraX programmatically refines large-scale pre-training data, improving LLM performance and data efficiency through fine-grained editing.

Principles

Method

UltraX generates expert LLM refined text, maps it to structured program supervision via Line Alignment and Dynamic Context Replacement, trains a lightweight refiner, then executes with sliding-window prediction and post-processing.

In practice

Topics

Code references

Best for: Research Scientist, AI Scientist, Machine Learning Engineer, NLP Engineer

Related on AIssential

Open in AIssential →

Editorial summary, takeaway, and curation by AIssential. Original article published by cs.AI updates on arXiv.org.