skills/skillxiv-v0.0.2-claude-opus-4.6/alchemist-meta-gradient-selection/SKILL.md
Select optimal training subsets for T2I models through meta-gradient-based rater networks. Score each sample based on gradient influence on validation performance without retraining. Implement shift-Gaussian pruning excluding high-scoring samples. Achieve 5× training speedup with 50% subset outperforming full dataset.
npx skillsauth add ADu2021/skillXiv alchemist-meta-gradient-selectionInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Alchemist introduces the first meta-gradient-based automatic data selection framework for text-to-image model training. A lightweight rater network scores each training sample based on gradient influence on validation performance, using bilevel optimization without expensive model retraining. Multi-granularity perception combines instance-level and batch-level features through Group MLP. Shift-Gaussian pruning strategically excludes highest-scoring samples (typically simple/uninformative) and performs Gaussian sampling from middle-to-late score regions where samples balance learnability and informativeness. Training on Alchemist-selected 50% subset outperforms training on full dataset with up to 5× training speedup.
Three key innovations enable efficient data selection:
1. Meta-Gradient-Based Rating Train lightweight rater network to score each training sample based on gradient influence. Uses bilevel optimization to estimate "each sample's influence" on validation performance without retraining the model repeatedly. Much cheaper than traditional influence estimation.
2. Multi-Granularity Perception Rater incorporates both instance-level and batch-level features through Group MLP module, capturing:
This combined view provides richer quality signals than instance-only scoring.
3. Shift-Gaussian Pruning Strategy Rather than selecting top-rated samples (which tend to be simple/uninformative), strategically exclude highest-scoring samples and perform Gaussian sampling from middle-to-late score regions where samples balance:
Train lightweight rater network with bilevel optimization estimating sample influence. Implement Group MLP for multi-granularity features. Score all training samples. Perform shift-Gaussian sampling from middle-to-late score distribution. Train model on selected subset. Monitor performance compared to baseline.
testing
Uses flow maps as look-ahead operators to enable principled reward-guided diffusion by predicting trajectory endpoints at any denoising step. Deploy when applying rewards or preferences to diffusion trajectories with meaningful gradients throughout generation.
testing
Train language models where each expert learns independently on closed datasets, enabling flexible inference with selective data inclusion or exclusion. 41% performance improvement while allowing users to opt out of specific data sources without retraining.
data-ai
Understand how token generation flexibility in diffusion LMs paradoxically constrains reasoning, as models exploit ordering flexibility to avoid uncertain tokens, and apply simplified approaches that preserve parallel decoding benefits. Use when optimizing diffusion-based language models for reasoning tasks.
devops
Enable LLM agents to improve continuously during deployment by constructing structured experience libraries through self-reflection on successes and failures—achieving 23% improvement on reasoning without gradient-based parameter updates or external training.