LGCLFeb 24, 2025

Synthetic Text Generation for Training Large Language Models via Gradient Matching

arXiv:2502.17607v27 citationsh-index: 61Has CodeICML
Originality Highly original
AI Analysis

This addresses the need for efficient and private training data for LLMs, offering a novel theoretical approach rather than incremental improvements.

The paper tackles the problem of generating synthetic human-readable text for fine-tuning large language models (LLMs) with guarantees on convergence, performance, and privacy, achieving results that match or exceed real data performance in classification tasks.

Synthetic data has the potential to improve the performance, training efficiency, and privacy of real training examples. Nevertheless, existing approaches for synthetic text generation are mostly heuristics and cannot generate human-readable text without compromising the privacy of real data, or provide performance guarantees for training Large Language Models (LLMs). In this work, we propose the first theoretically rigorous approach for generating synthetic human-readable text that provides convergence, performance, and privacy guarantees for fine-tuning LLMs on a target task. To do so, we leverage Alternating Direction Method of Multipliers (ADMM) that iteratively optimizes the embeddings of synthetic examples to match the noisy gradient of the target training or validation data, and maps them to a sequence of text tokens with low perplexity. In doing so, the generated synthetic text guarantees convergence of the model to a close neighborhood of the solution obtained by fine-tuning on real data and preserves their privacy. Experiments on various classification tasks confirm the effectiveness of our proposed approach. Our code is available at https://github.com/BigML-CS-UCLA/GRADMM.

Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes