Organizations: Beijing University of Posts and Telecommunications · Institute of Computing Technology, Chinese Academy of Sciences · University of Science and Technology of China · University of Shanghai for Science and Technology
Is human readability necessary for effective fine-tuning of large language models? We investigate whether model-conditioned training representations can preserve or improve adaptation utility without requiring a human-readable textual form. We propose Desired-Update-Aligned Synthetic Data (DASA), which uses activation-gradient feedback from a frozen reference model to guide the optimization of continuous synthetic input embeddings. Inspired by the role of activation gradients in local risk reduction, DASA targets useful adaptation updates rather than source-text reconstruction or linguistic fluency. The resulting embeddings are used directly for downstream fine-tuning; discrete token projections are employed only for qualitative inspection. Experiments on six models from the Llama and Qwen families, ranging from 1B to 32B parameters, cover six benchmarks spanning knowledge, mathematical reasoning, code generation, and commonsense reasoning. Under matched LoRA adaptation settings, DASA achieves performance comparable to the source natural-language data and surpasses it in multiple configurations, while outperforming GRADMM in most comparisons. Further experiments cover general-domain and task-specialized source data. Under the evaluated synthesis settings, DASA provides a 3.6--4.9× speedup over GRADMM with comparable peak GPU memory.
Figures & tables
Token Budget: 50 × 2048
Llama-3.2-1B
Llama-3.2-3B
Llama-3.1-8B
Method
MMLU
G8K
MATH
MBPP
ARC
CSQA
MMLU
G8K
MATH
MBPP
ARC
CSQA
MMLU
G8K
MATH
MBPP
ARC
CSQA
Base
45.79
46.32
32.70
49.6
54.61
59.13
58.62
82.03
51.40
68.4
73.72
73.87
65.41
85.90
50.70
75.4
82.08
75.92
Real-text
45.91
46.55
32.96
50.0
54.86
59.30
58.76
82.18
51.60
68.8
73.81
74.20
65.45
86.20
50.88
75.6
82.34
76.00
GRADMM
46.10
47.08
33.40
50.4
54.35
59.54
58.98
82.56
51.20
69.0
74.06
74.20
65.72
86.15
51.16
76.0
82.42
76.17
Ours
46.46
46.63
34.20
50.8
54.69
59.95
59.22
82.87
51.66
69.6
74.32
74.04
65.56
86.05
51.56
76.4
82.68
76.41
Table 1: Main results across models and tasks. Base, Real-text, GRADMM, and DASA under three C4 calibration budgets; all adaptation methods use identical LoRA and optimization settings.
Qwen3-8B
Qwen3-14B
Method
MMLU ↑
GSM8K ↑
MBPP ↑
MMLU ↑
GSM8K ↑
MBPP ↑
Random
71.8±0.35
87.9±0.48
55.2±0.8
77.9±0.31
90.1±0.41
62.6±0.6
Real-text
76.97±0.13
93.93±0.21
61.8±0.6
80.89±0.17
95.91±0.22
66.8±0.4
GRADMM
77.41±0.15
93.63±0.24
62.2±0.6
80.51±0.16
96.29±0.22
66.4±0.4
Ours
78.09±0.16
93.78±0.33
63.0±0.6
81.15±0.29
97.12±0.23
66.6±0.6
Table 2: Robustness across random seeds. Mean ± standard deviation over three independent runs under the 200×2048 data budget. Random uses Gaussian inputs matched to the mean and standard deviation of DASA’s initialization embeddings.
Specialized Data
Method
Qwen3-8B
Qwen3-14B
MMLU
GSM8K
MATH
MBPP
ARC-C
CSQA
MMLU
GSM8K
MATH
MBPP
ARC-C
CSQA
Base
74.90
91.89
83.98
59.6
64.33
81.98
78.85
93.86
84.76
64.6
66.98
81.00
Real-text
78.02
94.62
87.18
64.0
67.49
85.01
81.82
96.36
88.00
69.0
70.39
84.03
GRADMM
78.41
94.39
87.54
62.6
67.83
84.77
82.17
96.13
88.38
68.6
70.73
83.78
Ours
79.26
94.54
88.36
62.8
68.77
85.42
82.91
96.29
89.18
68.8
71.59
84.52
Table 3: Results with task-specialized calibration data. Calibration data are drawn from the corresponding training split for each benchmark: MMLU auxiliary train, GSM8K train, MATH train, MBPP train, ARC-Challenge train, and CommonsenseQA train. All adaptation methods use identical LoRA and optimization settings.
Generation Time (min) ↓
Peak Memory (GB) ↓
Method
50×2048
100×2048
200×2048
50×2048
100×2048
200×2048
GRADMM
28.3
57.4
84.2
17.3
17.7
17.9
DASA
5.8
11.6
23.3
17.3
17.4
17.9
Table 4: Computational efficiency. Generation time and peak GPU memory under three calibration budgets, measured on a single NVIDIA A800 GPU using FP16. GRADMM and DASA use matched sequence counts, sequence lengths, and synthetic-data optimization steps.
Figure 1: Sensitivity to LoRA rank and downstream optimization steps. Validation accuracy (%) under different LoRA ranks and numbers of downstream LoRA optimization steps for synthetic and real-text adaptation.
Figure 2: Qualitative example of DASA synthetic data. A human-readable solution is shown alongside a decoded visualization of an optimized continuous synthetic sample.
Due to limited supervised training data, large language models (LLMs) are typically pre-trained via a self-supervised "predict the next word" objective on a vast amount of unstructured text data. To make the resulting model useful to users, it is further trained on a far smaller amount of "instruction-tuning" data comprised of supervised training examples of instructions and responses. To overcome the limited amount of supervised data, we propose a procedure that can transform the knowledge in internet-scale pre-training documents into billions of synthetic instruction and answer training pairs. The resulting dataset, called FineInstructions, uses ~18M instruction templates created from real user-written queries and prompts. These instruction templates are matched to and instantiated with human-written source documents from unstructured pre-training corpora. With "supervised" synthetic training data generated at this scale, an LLM can be pre-trained from scratch solely with the instruction-tuning objective, which is far more in-distribution with the expected downstream usage of LLMs (responding to user prompts). We conduct controlled token-for-token training experiments and find pre-training on FineInstructions outperforms standard pre-training and other proposed synthetic pre-training techniques on standard benchmarks measuring free-form response quality. Our resources can be found at https://huggingface.co/fineinstructions .
Ajay Patel, Colin Raffel, Chris Callison-Burch
University of Pennsylvania · University of Toronto · Vector Institute +1
Recent literature on fine-tuning Large Language Models highlights a fundamental debate. While Full Fine-Tuning (FFT) provides greater representational plasticity, Low-Rank Adaptation (LoRA) can match or surpass FFT performance while constraining updates to a low-rank space and potentially benefiting from additional regularization. Through empirical evaluation across diverse tasks (SQL, Medical QA, and Counterfactual Knowledge) and varying language models (Gemma-3-1B, Qwen2.5-1.5B, and Qwen2.5-3B), we observe both trends and find that the better static architecture depends on the task and model. Spectral and truncation analyses further show that endpoint compressibility alone does not explain these task differences, suggesting task-score sensitivity and constrained optimization trajectories as possible explanations. To address this challenge, we propose a Mixture of LoRA and Full (MoLF) Fine-Tuning, a unified framework that enables continuous navigation between both training regimes. MoLF dynamically routes updates between FFT and LoRA at the optimizer level to ensure that exact gradient signals are available to both experts throughout training, while only selected experts update their weights. For memory-constrained environments, we also introduce MoLF-Efficient, which freezes base weights and only routes updates among a pair of LoRA experts of potentially varying rank. Our evaluations show that MoLF either improves on or stays within 1.5 percentage points of the better of FFT and LoRA across the nine tested settings, while MoLF-Efficient outperforms both AdaLoRA and AdaMix in eight of nine settings, with gains over the stronger baseline of up to 11.70 percentage points on Fact, 3.13 on Med, and 2.98 on SQL.
Haozhan Tang, Xiuqi Zhu, Xinyin Zhang +3
Carnegie Mellon University · Tsinghua University · Infinigence AI
What are the limits of controlling language models via synthetic training data? We develop a reinforcement learning (RL) primitive, the Dataset Policy Gradient (DPG), which can precisely optimize synthetic data generators to produce a dataset of targeted examples. When used for supervised fine-tuning (SFT) of a target model, these examples cause the target model to do well on a differentiable metric of our choice. Our approach achieves this by taking exact data attribution via higher-order gradients and using those scores as policy gradient rewards. We prove that this procedure closely approximates the true, intractable gradient for the synthetic data generator. To illustrate the potential of DPG, we show that, using only SFT on generated examples, we can cause the target model's LM head weights to (1) embed a QR code, (2) embed the pattern 67, and (3) have lower ℓ2 norm. We additionally show that we can cause the generator to (4) rephrase inputs in a new language and (5) produce a specific UUID, even though neither of these objectives is conveyed in the generator's input prompts. These findings suggest that DPG is a powerful and flexible technique for shaping model properties using only synthetic training examples.