计划执行与检查节点
executing-plans
按既定实施计划完成工作,保持过程检查和反馈。
annealed_langevin_sampler【效率与协作】Run annealed Langevin dynamics with composed scores for F-NPSE or PF-NPSE posterior sampling.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Use this skill when a recovery needs to sample from a posterior approximation using a score function already composed from F-NPSE or PF-NPSE terms. It implements the paper's Algorithm 1 in a bounded, deterministic-seeded form suitable for tests and recovery harnesses.
Do not use this skill to train score networks or to define the F-NPSE algebra. It consumes a callable score and a reference sampler.
score(theta, t).theta <- theta + 0.5 * step_size * score(theta, t) + sqrt(step_size) * noise.Run:
python /share/project/yuyang/workspace/Paper2Skills/Distiller/skills/module-to-skill/scripts/validate_skill_tree.py <skill_dir> --run-tests
The tests use an exact Gaussian score and verify that samples move toward the target mean while preserving trace metadata.
The sampler is sensitive to step size and score scaling. Recovery scripts should expose these settings and avoid interpreting a short bounded run as a full-scale reproduction of the paper's 400-level experiments.