Skip to content
Back to skills

Stochastic Interpolant Objectives

ASecurity

Compute stochastic-interpolant velocity, denoiser, and score objective diagnostics from sampled tuples without evaluating densities.

  • 247 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added September 9, 2026
testingpythonbash

Security analysis

A100/100

Scanned September 9, 2026

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

Installs into .claude/skills of the current project.

Are you the author of Stochastic Interpolant Objectives?

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

Security grade badge for Stochastic Interpolant Objectives
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/vectorspacelab-stochastic-interpolant-objectives/badge)](https://www.skillsdirectory.com/skills/vectorspacelab-stochastic-interpolant-objectives)

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

SKILL.md
---
name: stochastic_interpolant_objectives
description: Compute stochastic-interpolant velocity, denoiser, and score objective diagnostics from sampled tuples without evaluating densities.
---

# Stochastic Interpolant Objectives

Use this skill when a recovery needs the paper's quadratic learning signals for velocity, denoiser, or score fields. Do not use it to define endpoint interpolation or to integrate a sampler.

## Inputs

- Velocity targets `dot_x_t` from the interpolant protocol.
- Latent noise `z` and positive interior `gamma` values.
- Predictions for velocity `b_hat` and denoiser `eta_hat`.

## Outputs

- Mean velocity objective from Eq. (2.13).
- Mean denoiser objective from Eq. (2.19).
- Denoiser-derived score values `-eta/gamma` for safe interior times.
- Loss-comparison diagnostics for recovery traces.

## Workflow

1. Compute per-sample velocity terms `0.5*b_hat^2 - dot_x_t*b_hat`.
2. Compute per-sample denoiser terms `0.5*eta_hat^2 - z*eta_hat`.
3. Convert denoiser to score only when `gamma >= min_gamma`.
4. In reduced recovery, compare before/after losses and log parameter updates.

## Validation

Run:

```bash
python scripts/objectives.py --demo
python tests/test_objectives.py
```

## Limitations

The included implementation is scalar/list based for deterministic recovery checks. Neural parameterizations can reuse the same objective formulas with tensor libraries in an isolated environment.

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…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.