Self-improving data synthesis can scale embedding-model adaptation across domains and tasks

(SYNTRA)

Zucan Lyu† Rui Tang† Jianlyu Chen† Peisheng Jin Defu Lian*

† Equal contribution.   * Corresponding author.

University of Science and Technology of China, Hefei, China

State Key Laboratory of Cognitive Intelligence, Hefei, China

arXiv:2610.14730 · October 2026.

Three-minute overview with English and Chinese subtitles · Open video
Coding and research agents retrieve information from distinct corpora. Different objectives change relevance even within one domain. Few-shot-guided self-improvement adapts SYNTRA to construct task-specific training records.
Task-specific supervision across domains and information needs. Few-shot guidance adapts a shared synthesis workflow. Examples are schematic and abbreviated.Select any figure to open it at full resolution.

SYNTRA adapts a shared retrieval-data synthesis workflow through few-shot-guided self-improvement, turning an unlabelled corpus and a few query–positive-document examples into task-specific training data.

Abstract

AI agents require specialised retrieval across domains and tasks, but adapting embedding models is constrained by costly manual training-data design. Here we introduce SYNTRA, a self-improving agentic framework that turns a few retrieval examples into reusable synthesis instructions. Given an unlabelled corpus and a few relevant query–document pairs, SYNTRA infers implicit information needs and relevance criteria, then uses feedback on trial outputs to refine instructions for query generation and relevance assessment. Experiments across 24 datasets spanning 15 domains demonstrate that the same synthesis workflow produces effective training data, benefiting even strong embedding models with and without existing labelled training sets. Self-improvement strengthens this supervision on all six evaluated tasks, yielding better retrieval than human calibration on four. The training value persists at larger scales: on MS MARCO, retrieval gains continue across a 32-fold range of synthetic training-data sizes. SYNTRA thus enables scalable embedding-model adaptation with minimal human intervention.

Keywords: data synthesis, synthetic training data, embedding models, embedding model fine-tuning, self-improvement, LLM agents, information retrieval, domain adaptation

Method

Task preparation and test-mode adaptation

Corpus preprocessing selects diverse source documents and builds a full-corpus retrieval index. Few-shot examples guide a task definition specifying the query type, document type and relevance criteria. Small-sample generate–evaluate–refine loops then establish task-adapted guidance for identifier and attribute construction, query synthesis and relevance-label synthesis.

Each loop ends when verification passes or its iteration limit is reached. All loops finish before production, and the final shared instructions remain fixed throughout production. In the experiments, human involvement included reviewing task definitions and occasionally adjusting the document-selection threshold.

An unlabelled corpus and few-shot query-positive pairs establish a retrieval task. Three small-sample generate-evaluate-refine loops produce shared instructions for identifiers and attributes, queries, and relevance labels.
Task preparation and adaptation. Few-shot examples establish task requirements; optional user review is recommended. Test-mode feedback revises reusable synthesis guidance before production begins.

Production-scale synthesis

For each selected document, SYNTRA extracts document-grounded identifiers and constructs query attributes. Plans combine an identifier with attribute options, and query synthesis expresses each planned information need. Candidate documents are retrieved from the full corpus and assessed against task-specific relevance criteria. The resulting query, positive and negative records support embedding-model training after synthesis.

Three production modules reuse fixed task-adapted instructions: semantic identifier extraction and attribute construction, query planning and writing, and candidate retrieval followed by relevance annotation.
Production-scale synthesis. The shared instructions remain fixed while document-specific plans, queries, candidates and labels change. Content shown in the workflow is illustrative.

Self-improvement

Few-shot examples convey the intended information need and relevance criteria. In test mode, SYNTRA generates small trial samples, evaluates their alignment with the task and revises the shared instructions using diagnostic feedback. The revisions guide later synthesis across documents.

Automatic self-improvement increased downstream retrieval performance on all six tested tasks. On NFCorpus and FiQA, data generated with the initial instructions yielded scores below the MS MARCO-trained baseline; data generated with refined instructions exceeded it.

nDCG@10 increased from 24.828 to 36.007 on NFCorpus and from 28.873 to 35.529 on FiQA after self-improvement.

Automatic refinement also yielded higher scores than human calibration on four of six tasks. Text2SQL was close (62.240 versus 62.449), while human calibration remained stronger on TheoremQA (theorems), at 26.681 versus 22.199.

FiQA case study

For query synthesis, feedback redirected generation towards a user's financial information need. For relevance assessment, a known-positive example exposed an overly narrow rule: an answer explaining why a mortgage-payment plan may fail still helps resolve the user's question. Refinement incorporated that distinction into the shared annotation instruction.

FiQA case study: trial-query feedback revises the query instruction to express a user's financial need. Few-shot feedback revises relevance criteria so an answer explaining why a plan fails is labelled positive. Retrieval nDCG@10 rises from 28.873 to 35.529.
Few-shot-guided self-improvement on FiQA. Query examples are verbatim outputs from separate production runs with different refinement-round instructions; attribute plans were not held fixed. The relevance panel summarizes a recorded calibration episode. The retrieval gain reflects joint refinement of query and relevance-annotation instructions.

Results

One workflow across 24 datasets and 15 domains

Training on SYNTRA-generated data improved retrieval in all 23 task-specific comparisons against a common MS MARCO-trained baseline. The embedding backbone and adaptation protocol were held fixed, with data generated and a Qwen3-0.6B backbone adapted separately for each task. MS MARCO is included among the 24 datasets as the common training corpus, without a task-adaptation gain.

These comparisons evaluate the complete framework. The separate six-task ablation directly assesses the contribution of self-improvement.

Results across 24 datasets and 15 domains, a six-task comparison of initial instructions, automatic self-improvement and human calibration, task-specific query-source comparisons, and agreement with seven human annotators.
Cross-task applicability, self-improvement and supervision quality. Panels show coverage and relative retrieval gains, the six-task self-improvement ablation, query-source comparisons, and human-reference label agreement. Numeric cross-task labels are percentage gains; radial extensions use a nonlinear scale. nDCG@10 scores use a 0–100 scale.

Synthetic queries provide effective training supervision

In a matched MS MARCO experiment with 10,000 training examples per condition, SYNTRA-generated queries exceeded original Bing search-log queries on both evaluation suites. Document source, relevance annotation, negative mining and the training protocol were held fixed.

Mean nDCG@10 under matched training conditions
Evaluation suiteOriginal queriesSYNTRA queries
BEIR42.1842.87
NanoBEIR54.5355.51

Generated labels agree with human relevance judgements

Qwen3-30B-A3B labels were compared with reference labels derived from seven independent annotators. The evaluation covered 150 query–document pairs, with 50 each from MS MARCO, Text2SQL and TheoremQA (theorems).

Binary relevance agreement was 91.3% (Cohen's κ = 0.719), and three-class agreement was 68.7% (κ = 0.510). Pooled exact-category precision among LLM-labelled positives and hard negatives was 82.8%.

Most three-class disagreements concerned hard versus easy negatives. Pooled precision was 72/87 exact matches among pairs the LLM labelled positive or hard negative. Four three-class voting ties were assigned hard-negative reference labels.

Gains extend to strong pretrained embedding models

BGE-M3 and Qwen3-Embedding-8B both improved on all three evaluated tasks without existing task-specific labelled training sets. Both also improved on all three tasks where SYNTRA-generated data augmented existing labelled sets, compared with fine-tuning on those sets alone.

More synthetic data continue to improve retrieval

On MS MARCO, nDCG@10 rose from 30.88 to 33.20 as training data increased from 10,000 to 320,000 records, a 32-fold expansion. Performance improved at each of six evaluated scales with a fixed Qwen3-8B training recipe. Each scale was evaluated in one training run.

BGE-M3 and Qwen3-Embedding-8B adaptation with and without existing labelled data, NanoBEIR component ablations, task-specific training-source comparisons, MS MARCO data scaling, and multiple queries per document.
Model adaptation, synthesis components and scaling. The two adaptation settings use their corresponding pretrained or labelled-data-only baselines. Component ablations are averaged over 13 NanoBEIR tasks. Data scaling is evaluated on MS MARCO; query-count comparisons are evaluated on CodeTrans-DL and MedicalQA.

Task-adapted instructions and synthesis components matter

Mean NanoBEIR nDCG@10 was 54.64 for the complete workflow. Removing the task-adapted query instruction reduced it to 52.56; removing identifier–attribute planning reduced it to 53.96; replacing relevance annotation with hard-negative mining reduced it to 52.80. Generating one, two and four queries per document also improved performance on CodeTrans-DL and MedicalQA.

Discussion

Few-shot-guided self-improvement lets the synthesis system take on part of the task-specific design work needed to adapt retrieval models. The experiments support this approach within the evaluated retrieval settings, while retaining human review at task setup. Small-scale calibration establishes instructions that can be reused in large-scale production with a locally deployed model.

The evidence also identifies useful boundaries: negative difficulty is harder to label consistently than binary relevance; data scaling was tested on MS MARCO; and generating more queries changes both supervision quantity and query variation.

Future directions

Self-improvement could extend to training-data synthesis for other LLM capabilities, with feedback combining correctness checks and task-specific assessments. Model evaluation, task outcomes and user interactions could also reveal emerging training needs. These are research directions beyond the capabilities evaluated here.

Key results at a glance

Main findings reported in the paper (nDCG@10 on a 0–100 scale unless noted)
QuestionSettingResult
Does one workflow work across domains and tasks?24 datasets, 15 domains; Qwen3-0.6B + LoRA vs MS MARCO-trained baselineGains in all 23 task-specific comparisons
Does self-improvement help?6 tasks; initial vs refined synthesis instructionsBetter on all 6; NFCorpus 24.83 → 36.01, FiQA 28.87 → 35.53
Automatic vs human calibrationSame 6 tasksAutomatic higher on 4 of 6
Synthetic vs real user queriesSame 10,000 MS MARCO documents, matched trainingBEIR 42.87 vs 42.18; NanoBEIR 55.51 vs 54.53
Label quality150 pairs, 7 human annotatorsBinary agreement 91.3% (κ = 0.719)
Strong embedding modelsBGE-M3 and Qwen3-Embedding-8B, 3 tasks with and 3 without labelled dataBoth improved on all 6 tasks
ScalingMS MARCO, Qwen3-8B, 10k → 320k examples30.88 → 33.20, improving at every scale
Component ablationsMean over 13 NanoBEIR tasksFull workflow 54.64; without task-adapted query instruction 52.56

Frequently asked questions

What is SYNTRA?

SYNTRA is a self-improving agentic framework for retrieval data synthesis. Given an unlabelled corpus and a few example query–document pairs, it generates synthetic training data (queries with positive and negative documents) for fine-tuning embedding models on a new retrieval domain or task.

What do I need to provide?

An unlabelled document corpus and a small set of few-shot examples, each pairing a query with a relevant (positive) document. SYNTRA infers a task definition (query type, document type and relevance criteria) from these examples; users can review it or supply a task definition directly.

What does SYNTRA output?

Training records in JSON Lines format. Each record contains a query, one or more positive documents and negative documents, with negatives labelled as hard or easy negatives by LLM relevance-label synthesis. Records can be used directly to fine-tune embedding models.

What does “self-improving” mean here?

In a small-sample test mode, SYNTRA generates trial outputs, evaluates them against the task definition and the few-shot examples, and uses the feedback to revise its shared synthesis instructions for query generation and relevance labelling. The refined instructions are then fixed and reused for large-scale production. The self-improvement acts on the data-synthesis instructions, not on the weights of the LLM.

Does self-improvement actually help?

Yes, on all six tasks tested. The largest gains were on NFCorpus (nDCG@10 24.83 → 36.01) and FiQA (28.87 → 35.53). Automatic self-improvement also gave higher retrieval scores than human calibration of the instructions on four of the six tasks; human calibration remained better on TheoremQA theorems.

Which embedding models were trained with SYNTRA data?

A Qwen3-0.6B backbone with LoRA adaptation (main cross-task evaluation over 24 datasets in 15 domains), BGE-M3 and Qwen3-Embedding-8B (with and without existing labelled training sets), and a Qwen3-8B backbone (data-scaling experiment on MS MARCO).

Can SYNTRA data help if I already have labelled training data?

In the paper, augmenting existing labelled training sets with SYNTRA-generated data improved both BGE-M3 and Qwen3-Embedding-8B on all three evaluated tasks (TheoremQA questions, SpartQA and WinoGrande). For tasks without labelled training sets (LeCaRDv2, EvidenceBench and SciRepEval Search), fine-tuning on SYNTRA data improved both models over their pretrained versions.

Are synthetic queries as good as real user queries?

Under matched training conditions on the same 10,000 MS MARCO source documents, models trained with SYNTRA-generated queries scored higher than models trained with the original human (Bing search-log) queries: mean nDCG@10 42.87 vs 42.18 on BEIR and 55.51 vs 54.53 on NanoBEIR.

How reliable are the LLM-generated relevance labels?

Against reference labels from seven human annotators on 150 query–document pairs, Qwen3-30B-A3B labels reached 91.3% binary agreement (Cohen’s κ = 0.719) and 68.7% three-class agreement (κ = 0.510). Most three-class disagreements were between hard and easy negatives.

Does more synthetic data keep helping?

On MS MARCO, nDCG@10 increased at each of six evaluated scales, from 30.88 with 10,000 to 33.20 with 320,000 SYNTRA-generated training examples (a 32-fold range), with a fixed Qwen3-8B training recipe.

How much human effort and compute does it need?

In the main experiments, human involvement was limited to task setup, typically no more than 10 minutes per task (retrospective estimate). Data production used Qwen3-30B-A3B on four NVIDIA GeForce RTX 5090 GPUs; most production batches of roughly 10,000 documents took about 2–10 hours, excluding calibration, indexing and model training.

What are the known limitations?

Distinguishing hard from easy negatives is harder to label consistently than binary relevance; data scaling was tested on MS MARCO only; human calibration still outperformed automatic self-improvement on TheoremQA theorems; and SYNTRA is run separately for each retrieval task.

Where are the code and data?

Code (MIT license): github.com/zucanlv/SYNTRA. Retrieval-training data exports: huggingface.co/datasets/ZucanLyu/SYNTRA. Paper: arXiv:2610.14730.

Citation

@misc{lyu2026syntra,
  title         = {Self-improving data synthesis can scale embedding-model adaptation across domains and tasks},
  author        = {Lyu, Zucan and Tang, Rui and Chen, Jianlyu and Jin, Peisheng and Lian, Defu},
  year          = {2026},
  eprint        = {2610.14730},
  archivePrefix = {arXiv},
  primaryClass  = {cs.IR},
  doi           = {10.48550/arXiv.2610.14730},
  url           = {https://arxiv.org/abs/2610.14730}
}