Skip to content
Back to skills

Stochastic Interpolant Protocol

ASecurity

Construct endpoint-valid stochastic interpolant samples with latent schedules and derivative targets for reduced or full generative recovery experiments.

  • 247 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added September 9, 2026
researchpythonbash

Security analysis

A100/100

Scanned September 9, 2026

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

Installs into .claude/skills of the current project.

Are you the author of Stochastic Interpolant Protocol?

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

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

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_protocol
description: Construct endpoint-valid stochastic interpolant samples with latent schedules and derivative targets for reduced or full generative recovery experiments.
---

# Stochastic Interpolant Protocol

Use this skill when a recovery or implementation needs to construct paper-faithful stochastic-interpolant tuples from endpoint samples. Do not use it as a sampler by itself; it only defines the bridge data used to learn fields.

## Inputs

- Endpoint values `x0` and `x1` with the same length.
- Time values `t` in `[0, 1]`, either one scalar or one value per sample.
- Latent noise `z` with the same length as the endpoints.
- Schedule name; the included script supports `linear_quadratic_gamma`.

## Outputs

- `x_t = (1 - t) x0 + t x1 + gamma(t) z`.
- `dot_x_t = x1 - x0 + gamma_dot(t) z`.
- `gamma`, `gamma_dot`, and endpoint-validity diagnostics.

## Workflow

1. Validate matching endpoint and latent vector lengths.
2. Broadcast scalar time or validate per-sample time values.
3. Use the linear interpolant and `gamma(t)=2t(1-t)` unless the caller supplies another validated implementation.
4. Keep score-related division outside this skill because `gamma=0` at endpoints.
5. Save diagnostics when the output is used as recovery evidence.

## Validation

Run:

```bash
python scripts/interpolant_protocol.py --demo
python tests/test_interpolant_protocol.py
```

## Limitations

This skill intentionally avoids neural models, endpoint coupling optimization, and source-repository assumptions. It preserves the paper's construction contract and leaves field learning to objective skills.

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.