Skip to content
Back to skills

Diffused Score Training

ASecurity

Build and validate reduced denoising score-training traces for single-observation simulation-based inference posteriors.

  • 247 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added September 9, 2026
toolspython

Security analysis

A100/100

Scanned September 9, 2026

npx -y skills add VectorSpaceLab/AREX-Skill --skill diffused_score_training --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Diffused Score Training?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Diffused Score Training
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/vectorspacelab-diffused-score-training/badge)](https://www.skillsdirectory.com/skills/vectorspacelab-diffused-score-training)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

SKILL.md
---
name: diffused_score_training
description: Build and validate reduced denoising score-training traces for single-observation simulation-based inference posteriors.
---

# Diffused Score Training

Use this skill when a recovery or implementation needs the F-NPSE training contract for single-observation posterior scores. Do not use it to claim full neural score-network training unless a real neural model, simulator dataset, and optimizer loop are actually run.

## Inputs

- Simulator pairs `(theta, x)` or reduced analytic Gaussian parameters.
- A noise level or reduced diffusion setting.
- Initial trainable surrogate parameters.
- Learning rate and seed.

## Outputs

- Score targets for diffused or analytic conditional posterior samples.
- A training trace with `loss_before`, `loss_after`, `params_before`, and `params_after`.
- Booleans distinguishing reduced surrogate training from full score-network training.

## Workflow

1. Convert the SBI task to a standard-normal-prior parameterization when possible.
2. For an analytic Gaussian reduced run, compute the posterior mean and variance for one observation.
3. Fit a small affine score surrogate `a * theta + b * x + c` to the exact score by one or more gradient steps.
4. Save the loss and parameter-change trace for recovery validation.
5. Keep the trace honest: mark reduced training as reduced and keep full-model flags false.

## Validation

Run `python tests/test_diffused_score_training.py` or validate the whole skill with the Distiller `validate_skill_tree.py --run-tests` command.

## Limitations

This skill provides deterministic reduced-training utilities. It does not implement the paper's full residual MLP score network or 400-level training loop.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…