yzj623/pplab/annealed-langevin-sampling
Claude Code and agent skill by yzj623/pplab
- community
Checking that the SKILL.md file is still in the repository.
Run bounded annealed Langevin posterior sampling from composed score functions for score-based SBI recovery.
Install
npx vskill@latest install yzj623/pplab/annealed-langevin-samplingSKILL.md
The same SKILL.md was published earlier as yzj623/pplab/annealed-langevin-sampling.
Annealed Langevin Sampling
Use this skill when a recovery needs to turn a composed F-NPSE or PF-NPSE score into posterior samples. It implements the paper's score-driven sampler in a bounded, deterministic form suitable for reduced experiments.
Inputs
- A score callable or Gaussian target parameters for the script interface.
- Number of samples, noise levels, Langevin steps per level, step size, reference variance, and random seed.
- Optional trace output path.
Outputs
- Posterior samples.
- Sampler trace with seed, score evaluations, reference variance, step size, and finite-sample diagnostics.
Workflow
- Initialize particles from the F-NPSE reference distribution, typically
N(0, I/n). - Iterate over noise/progress levels from reference to target.
- Apply Langevin updates with the composed score and Gaussian noise.
- Return final samples and trace details for recovery logs.
- Use bounded sample counts and fixed seeds for fast validation.
Validation
Run python tests/test_annealed_langevin_sampling.py or validate the whole skill tree.
Limitations
This skill is a sampler. It assumes score composition has already been defined and does not validate whether the learned score is accurate.
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
Popularity
- 7-day trend score
- 5
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/yzj623/pplab/annealed-langevin-sampling)