DataSmith: Synthesizing Multilingual Instruction-Tuning Data with the Help of External Tools

Lester James V. Miranda, Anna KorhonenarXiv 2026

TL;DR

Training multilingual language models (LMs) often relies on asking a "teacher" LM to generate synthetic training data from memory—which works poorly for less-resourced languages where the teacher's knowledge is thin. DataSmith fixes this by turning data generation into tool-augmented research: before writing a training example, the teacher LM searches the web, consults dictionaries and grammar books, and queries translation or language-ID models. Across 11 languages, student models trained on DataSmith's data outperform classic synthetic and translation-based baselines, with the biggest boosts in low- to mid-resource languages.

What Problem Does This Paper Address?

To make LMs useful outside of English, researchers commonly use supervised finetuning (SFT) on synthetic conversations generated by a larger teacher LM. The catch is that a teacher LM's internal (parametric) knowledge is heavily skewed toward high-resource languages. For languages like Yoruba, Cebuano, or Tagalog, prompting a teacher LM to "just generate data" often yields unnatural phrasing, cultural missteps, or factual hallucinations.

Recent work has tried grounding synthetic data in external sources—like feeding the model Wikipedia articles—but these setups are static: the pipeline designer hardcodes which resource to use ahead of time, regardless of the language or topic. DataSmith asks: what if we let the teacher LM decide which tools to consult on the fly, just like a human researcher?

Methods

DataSmith frames multilingual data generation as a two-stage agentic pipeline:

Figure 1: Overview of the DATASMITH framework. While a classic synthetic data pipeline is restricted to its own parametric knowledge when generating data, DATASMITH is augmented with external tools such as web access, linguistic resources, and expert systems, grounding the generation process in external knowledge.
  1. Research Stage: Starting from an English seed prompt (used as topic inspiration rather than a strict template), the teacher LM (Kimi-K2.5) plans and issues a sequence of tool calls, appending each observation to its context until it decides it has enough information (<|end_research|>) or hits a time budget.
  2. Generate Stage: Conditioned on the gathered research trajectory, the teacher LM synthesizes a multi-turn conversation in the target language, followed by a post-hoc filter to ensure proper ChatML formatting and target-language fidelity.

What makes DataSmith distinct is its toolbox, which mirrors how linguists and dataset creators have built multilingual corpora for decades:

  • Web Access: General web search and news search (via DDGS), plus the Wikipedia API.
  • Linguistic Resources: Wiktionary-based dictionary lookups, PanLex bilingual lexicons, and digitized grammar books retrieved via BM25.
  • Expert Systems: Specialized models the teacher can query, including GlotLID for language identification, TranslateGemma 27B for translation, and Qwen 3 32B as an auxiliary multilingual LM.

The authors compare DataSmith against two baselines using the same base student model (Gemma 3 12B Instruct, finetuned with LoRA on 5,000 examples per language): Teacher-only (same teacher LM with reasoning, but no tools) and Translate-Train (translating English seed conversations into the target language with TranslateGemma 27B).

Datasets

  • Seed Prompts: Sampled from open post-training datasets, specifically Dolci (from OLMo 3) and NVIDIA Nemotron.
  • Generated SFT Data: 5,000 multi-turn conversations per language across 11 languages—6 high-resource (Arabic, Czech, French, German, Japanese, Spanish) and 5 low- to mid-resource (Cebuano, Indonesian, Swahili, Tagalog, Yoruba). The authors release both the datasets and the underlying research trajectories.
  • Evaluation Benchmarks: Downstream student performance is measured on Global MMLU (factual knowledge), Global PIQA (physical commonsense reasoning), and CulturalBench (cultural knowledge).

Key Insights and Ideas

  • The teacher adapts its research to the language: For low- to mid-resource languages, DataSmith automatically issues more tool calls per example (5.0–6.7 on average) than for high-resource languages (4.5–5.1). While web search dominates early steps across all languages, the teacher shifts toward linguistic resources and expert systems in later steps when working on less-resourced languages—effectively grounding itself in vocabulary and grammar rather than just facts.
Figure 4: Tool use by language. Average number of tool-use calls per example, broken down by tool cate- gory, for high-resource (Left) and low- to mid-resource (Right) languages. Low- to mid-resource languages invoke more tools overall and rely more on linguistic re- sources, while web tools dominate across all languages.
  • Groundedness is high, but efficiency varies: An LLM-as-a-judge evaluation (GPT-OSS 120B, calibrated against human annotators) of 1,000 trajectories per language shows that generated conversations are well-grounded in retrieved evidence. However, research efficiency (avoiding redundant tool calls) is noticeably lower for low-resource languages like Yoruba and Swahili.
  • Gains aren't just from extra compute or leakage: Controlled experiments confirm that the improvements come from the combination of tools as a whole—not any single tool group, not benchmark leakage via web search, and not merely extra inference-time compute.

Key Results

  • Downstream Student Performance: Student models trained on DataSmith data achieve the highest average accuracy in 10 of 11 languages (67.9% overall, vs. 65.4% for Teacher-only, 63.2% for the base model, and 55.5% for Translate-Train), trailing only slightly on French (-0.5 pp).
  • Biggest Wins in Underserved Languages: On low- to mid-resource languages, DataSmith improves over the base model by +5.5 pp and over Teacher-only by +4.0 pp on average, with standout gains in Tagalog (+9.2 pp), Yoruba (+6.6 pp), and Cebuano (+6.6 pp). It also ranks first across all three benchmarks (Global MMLU: 60.2%, Global PIQA: 82.6%, CulturalBench: 62.0%).
  • Human Evaluation: Native and fluent speakers (22 evaluators from ProZ, rating 100 conversation pairs per language) prefer DataSmith over Teacher-only in 9 of 11 languages (average Cohen's $\kappa = 0.64$), with the largest margins in Yoruba (79%) and Cebuano (70%). Evaluators rate DataSmith higher on coherence, cultural relevance, and instruction following—though Arabic and Czech lagged due to dialect mismatches, cultural missteps, and naturalness issues.
Figure 3: Human evaluation win rates (overall pref- erence). Native and fluent speakers prefer DATASMITH in 9 of 11 languages, with the strongest margins in low- to mid-resource languages such as Yoruba (79%) and Cebuano (70%).

Limitations and Future Work

DataSmith's effectiveness depends on both the design of its tool harness and the assumption that external tools actually cover the target language—an assumption that weakens for very low-resource languages lacking Wikipedia articles, digitized grammar books, or expert model support. The framework also relies on a teacher LM with strong long-horizon function-calling abilities (Kimi-K2.5); weaker teachers may struggle to execute the research loop reliably. Looking ahead, the authors point to automated tool-choice design and training specialized data-generator LMs as promising next steps.

Summary updated

BibTeX
@misc{miranda2026datasmith,
  author = {Lester James V. Miranda and Anna Korhonen},
  title = {{DataSmith: Synthesizing Multilingual Instruction-Tuning Data with the Help of External Tools}},
  year = {2026},
  eprint = {2612.04691},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2612.04691},
}
Figure