skills/skillxiv-v0.0.2-claude-opus-4.6/consistency-solver-preview-refine/SKILL.md
Train adaptive ODE solvers that generate fast diffusion previews while maintaining consistency with full-step refinement. Learn context-aware integration coefficients through PPO without distilling base models. Achieve high-quality previews in few steps with 47% fewer steps than standard methods.
npx skillsauth add ADu2021/skillXiv consistency-solver-preview-refineInstall 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.
ConsistencySolver is a trainable, adaptive ODE solver designed for efficient image generation through a preview-and-refine workflow. Rather than distilling models (which alters weights), it learns context-aware integration coefficients during diffusion sampling via reinforcement learning. The approach preserves original model properties while optimizing sampling trajectory, reducing overall interaction time by approximately 50% through fast low-step previews with consistent full-step refinement.
ConsistencySolver combines three key ideas:
1. Learnable Multistep ODE Solver Rather than fixed numerical schemes, learn context-aware weights through RL (PPO). The solver formula is:
y_{t_{i+1}} = y_{t_i} + (n_{t_{i+1}} - n_{t_i}) · [∑j w_j(t_i, t{i+1}) · ε_{i+1-j}]
where adaptive coefficients are generated by a lightweight neural network based on timestep information.
2. Preview-and-Refine Paradigm Enable fast, low-step preview generation that remains consistent with full-step refinement outputs. Unlike distillation, preserve the original diffusion model's properties while optimizing the sampling trajectory.
3. Reinforcement Learning Training Use RL training instead of costly distillation, achieving "FID scores on-par with Multistep DPM-Solver using 47% fewer steps." Learn adaptation without weight modification.
Implement lightweight neural network that generates timestep-dependent integration coefficients. Train via PPO to maximize preview quality consistency with full refinement. Integrate into diffusion sampling loop to produce fast previews. Use human evaluation to optimize preview-refine balance for your application.
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.