Less is Enough: Synthesizing Diverse Data in LLM Feature Space with Sparse Autoencoders
Zhongzhi Li, Xuansheng Wu, Yijiang Li, Lijie Hu, Ninghao Liu (Hong Kong Polytechnic University)
Overview
▶ Watch: Introduction and background on post-training data challenges (0:00)

Key moments
- 0:00 Introduction and background on post-training data challenges
- 1:42 Core ideas: Feature space and sparse autoencoders (SAE)
- 3:24 Preliminary on sparse autoencoders and feature activation coverage
- 4:32 Data synthesis pipeline and contrastive two-step generation
- 6:08 Experimental results and data efficiency comparisons
- 7:56 Transferability across model families and conclusion
- 9:18 Q&A: Handling SAE noise and cleaning overhead
- 12:35 Q&A: Layer selection and future directions for reasoning tasks
Less is Enough: Synthesizing Diverse Data in LLM Feature Space with Sparse Autoencoders
Speakers: Zhongzhi Li; Xuansheng Wu; Yijiang Li; Lijie Hu; Ninghao Liu (Hong Kong Polytechnic University)
Conference: ICML
YouTube: https://slideslive.com/39083533
## Overview
▶ Watch: Introduction and background on post-training data challenges (0:00)
Post-training is a fundamental phase for adapting large foundation models, but practitioners frequently encounter a critical bottleneck: determining whether existing training datasets are sufficient, and identifying what specific scenarios remain uncovered. While common cases are heavily addressed during pre-training, long-tail scenarios continue to challenge model robustness. Without a reliable metric to gauge data coverage, engineering teams waste substantial compute and human effort gathering redundant data. This talk introduces a principled data synthesis framework that leverages sparse autoencoders (SAEs) to map data coverage in model feature space rather than traditional text or embedding spaces.
Presented by Ninghao Liu from the Hong Kong Polytechnic University on behalf of a joint research team from Hong Kong Polytechnic University, the University of Georgia, UC San Diego, and MBZUAI, the work centers on a novel metric called feature activation coverage (FAC). By identifying precisely which model features are absent in current seed datasets, the framework generates targeted synthetic data to fill these coverage gaps. The research demonstrates that data diversity measured in the interpretable feature space of language models enables superior downstream model performance with significantly higher data efficiency.
## Background
▶ Watch: Core ideas: Feature space and sparse autoencoders (SAE) (1:42)
In the machine learning and systems space, data curation for post-training—such as alignment, reward modeling, and instruction tuning—is often treated as an empirical trial-and-error process. Traditional approaches evaluate data diversity using text-based statistics (e.g., n-gram entropy) or vector similarity metrics applied to raw embeddings. However, preliminary experiments reveal that these conventional metrics exhibit only a weak correlation with actual model generalization performance. They fail to capture semantic nuances in the internal representations of large language models (LLMs).
To solve this, the authors turn to mechanistic interpretability, specifically sparse autoencoders. Prior work has established that SAEs can decompose dense neural network activations into sparse, human-interpretable feature dictionaries. Building on this, the authors formulate data synthesis as an optimization problem constrained by generalization error bounds. Rather than generating massive volumes of unstructured synthetic text, the core challenge shifts to diagnosing blind spots in the model's internal feature space and systematically engineering prompts to bridge those gaps.
## Key Findings
▶ Watch: Preliminary on sparse autoencoders and feature activation coverage (3:24)
The primary finding of this work is that model generalization performance correlates strongly with feature activation coverage (FAC), achieving a Pearson correlation coefficient of approximately $0.95$ with downstream performance metrics like AUPRC (Area Under the Precision-Recall Curve).
Key findings and experimental outcomes include:
- Superior Data Efficiency: Models trained using FAC-guided synthetic data achieve comparable or superior performance to baseline methods while utilizing substantially fewer total training samples.
- Feature Coverage Over Sample Volume: Experiments comparing strategies where a single feature maps to one versus multiple samples indicate that maximizing the breadth of covered features yields far greater performance gains than over-sampling individual features.
- Cross-Family Transferability: Data synthesized using an SAE trained on one model family (e.g., Llama) can be effectively transferred to train entirely different model families (e.g., Mistral, Qwen), often yielding even stronger performance improvements without requiring custom SAE training from scratch.
- Iterative Improvement: The pipeline naturally supports iterative execution, allowing practitioners to continuously discover latent blind spots, synthesize targeted data, and retrain models across successive cycles.
## Technical Deep Dive
▶ Watch: Data synthesis pipeline and contrastive two-step generation (4:32)
The theoretical foundation of the work frames data generation through an optimization objective where generalization error is bounded by two distinct terms: the distribution gap and the sampling error.
- The Distribution Gap: This measures whether the seed data covers all capabilities required by the task distribution. To quantify this, the framework utilizes sparse autoencoders to extract sparse, interpretable features from model embeddings. The SAE reconstructs original embeddings from a set of activated features while enforcing sparsity in the training objective.
- Feature Activation Coverage (FAC): The authors define an anchor distribution $P_z$ (derived from a large-scale corpus representing the target task domain) and a seed data distribution $Q_z$. By extracting activated features from both distributions, the system isolates missing features present in $P_z$ but absent in $Q_z$.
- Contrastive Two-Step Generation: To mitigate the high uncertainty and variance inherent in LLM generation, the framework constructs a contrastive pair consisting of a strong sample (which heavily activates the target feature) and a weak sample (which only weakly activates it). Providing this contrastive pair as a few-shot demonstration constrains the generator, reducing output entropy and bounding the sampling error term in the optimization objective.
The system architecture relies on intermediate model layers (typically in the middle tiers of the LLM), which empirical tuning shows yield the most robust feature representations for this task.
## Experimental Setup & Results
▶ Watch: Experimental results and data efficiency comparisons (6:08)
The evaluation spans four distinct task scenarios:
- Toxicity detection (evaluated via classifier training)
- Reward modeling (evaluated via RLHF pipelines)
- Steering
- Instruction following (evaluated via fine-tuning)
The authors benchmark their approach against two primary categories of baselines: standard prompt-based instruction generation methods and traditional alignment objective-based methods.
Headline numbers confirm that FAC-guided data synthesis consistently outperforms these baselines across all tested tasks. Furthermore, ablation studies analyzing the relationship between the number of considered features and downstream accuracy confirm an upward scaling trend, reinforcing that feature diversity is the primary driver of the observed performance gains.
## Practical Implications
▶ Watch: Transferability across model families and conclusion (7:56)
For infrastructure teams and model builders, this methodology offers a powerful blueprint for optimizing compute budgets during post-training. Rather than scaling up raw data generation indiscriminately, engineers can audit internal model representations using pre-trained SAEs—many of which are openly available—to pinpoint exact capability deficiencies.
However, practitioners must navigate certain tradeoffs and limitations:
- Reasoning Tasks: The authors note that the current framework struggles with complex reasoning tasks. Because multi-step reasoning relies on the sequential collaboration of multiple features distributed across various layers rather than independent atomic features, single-layer SAE extraction is insufficient.
- Feature Noise: While SAE features can be noisy, the empirical results prove that even imperfect interpretations provide a measurable boost, though cleaning pipelines may introduce additional engineering overhead.
## Key Takeaways
▶ Watch: Q&A: Handling SAE noise and cleaning overhead (9:18)
- Feature Space Auditing: Evaluating data diversity in sparse autoencoder feature space correlates far more strongly with model performance ($r \approx 0.95$) than traditional text or embedding metrics.
- Targeted Synthesis: Framing data generation around missing feature activation coverage (FAC) eliminates redundant data collection and maximizes data efficiency.
- Contrastive Generation: Using strong/weak sample pairs as few-shot demonstrations successfully reduces generation uncertainty and constrains synthetic data quality.
- Cross-Model Transferability: SAE features and synthetic datasets generated from one open-source model family can be successfully transferred to train other architectures without retraining the SAE.
- Current Limitations: Multi-step reasoning tasks remain an open challenge due to the requirement for multi-layer, sequential feature collaboration.
## About the Speaker(s)
▶ Watch: Q&A: Layer selection and future directions for reasoning tasks (12:35)
- Ninghao Liu (Hong Kong Polytechnic University): Ninghao Liu, of the Hong Kong Polytechnic University, presented this joint work with students and colleagues from the University of Georgia, UC San Diego, and MBZUAI.
Co-authors: Zhongzhi Li, Xuansheng Wu, Yijiang Li, Lijie Hu.
Reviews
→ Top-rated talks at International Conference on Machine Learning 2026
All talks from International Conference on Machine Learning 2026