TL;DR
The DataArc-SynData-Toolkit is an open-source, configuration-driven framework that unifies synthetic data generation, quality control, and model post-training into a single closed-loop pipeline. By offering an intuitive visual interface and supporting multi-path, multimodal, and multilingual synthesis, it significantly lowers the technical barrier to generating high-quality training corpora for large language models (LLMs).
What Problem Does This Paper Address?
While synthetic data has become essential for training LLMs—especially in specialized domains and low-resource languages where real-world data is scarce—existing tools suffer from three major bottlenecks:
- Steep Learning Curves: Most frameworks cater strictly to AI experts, requiring complex, multi-tool scripting to bridge data generation, model training, and validation.
- Fragmented Workflows: There is a lack of a unified paradigm for handling multi-source data (e.g., local text vs. web scraping vs. model distillation), leading to unpredictable data quality and poor cross-project reusability.
- Limited Scalability: Extending current tools to handle multimodal (image-text) or multilingual data incurs prohibitively high engineering and maintenance costs.
The authors introduce DataArc-SynData-Toolkit to democratize and standardize this process through an end-to-end, out-of-the-box engineering solution.
Methods
The toolkit adopts a highly modular, agent-based design structured into a three-stage closed-loop workflow: Data Synthesis, Data Quality Control, and Model Post-Training & Evaluation.
1. Data Synthesis Paradigm
The framework abstracts data generation into a base class (BaseTaskExecutor) that standardizes five steps: task parsing, data source preparation, constraint construction, data acquisition, and structured processing. It natively supports three generation paths:
- Local Task: Synthesizes data using local corpora via retrievers like BM25 or dense retrieval.
- Web Task: Extracts and filters relevant data from open platforms like Hugging Face based on keyword matching.
- Distill Task: Distills high-quality instruction data from advanced teacher models (e.g., GPT-5-mini).
2. Data Quality Control
To prevent degraded model performance from poor synthetic samples, the toolkit introduces abstract Evaluator and BaseRewriter classes. Raw data is evaluated, categorized by difficulty, and iteratively rewritten to optimize quality before hitting the training phase.
3. Post-Training & Evaluation
The toolkit integrates the verl framework to support Supervised Fine-Tuning (SFT) and Group Relative Policy Optimization (GRPO). Post-training evaluation is powered by DeepEval (utilizing G-Eval) to score models on answer correctness, format compliance, and pairwise preference.
4. Extensible Adapters
- MMProjector: Converts the pipeline to handle multimodal tasks by pairing seed images with synthesized text instructions.
- BaseTranslator: Translates final outputs to support low-resource languages like Arabic.
- ParallelExecutor: A custom sequential data executor that handles parallelization, caching, and crash recovery.
Datasets
The authors evaluated the toolkit across several diverse benchmarks:
- Domain-Specific: MedQA (1,273 USMLE multiple-choice medical questions), Flare-CFA (1,032 financial analysis questions), and LexEval (500 multi-hop legal reasoning questions).
- Multi-lingual: Arabic Broad Benchmark (ABB) (470 free-form questions across 22 Arabic language tasks).
- Multi-modal: FinMME (1,850 financial research numerical questions) and TableVQA (1,500 table question-answering samples).
Key Insights and Ideas
- The Power of the Closed Loop: By tying evaluation directly back to data generation and model training, the toolkit creates a continuous iteration cycle. Users can optimize models simply by tweaking a single configuration file or using the visual UI.
- Architecture-Agnostic Gains: The synthetic data generated consistently improves downstream model performance regardless of whether the target model is a standard LLM (like Qwen2.5-7B) or a vision-language model (like Qwen2.5-VL-7B).
- Data Scaling Laws Hold: Across almost all tasks, performance scaled predictably as the synthetic dataset grew from 1,000 to 4,000 samples, proving that automated synthesis is a highly viable, controllable alternative to expensive human annotation.
Key Results
The toolkit was validated using eight NVIDIA H800-80G GPUs.
Performance Boosts
Training on the toolkit's synthetic data yielded massive accuracy improvements over base models:
- MedQA (Qwen2.5-7B): Accuracy jumped from 42.34% (Base) to 68.12% (with 4,000 synthetic samples).
- LexEval (Qwen2.5-7B): Performance rose from 19.80% to 46.15%.
- FinMME (Qwen2.5-VL-7B): Multimodal accuracy scaled from 16.41% to 32.47%.
Efficiency Gains
The ParallelExecutor design dramatically accelerated data generation. When synthesizing 500 samples:
- A single worker took 909 seconds for initial generation.
- Scaling to 25 workers reduced generation time to just 89 seconds, with similar massive speedups observed during the rewriting and validation phases.
Limitations and Future Work
Currently, the toolkit only integrates a small subset of data synthesis and validation approaches (such as difficulty-based rewriting). However, its highly abstracted framework allows developers to easily plug in new algorithms.
For future releases, the authors plan to implement encrypted synthetic data generation to protect sensitive information during secure model training, alongside expanding support for more modalities, languages, and alignment algorithms.
Summary updated