Skip to content
Back to skills

Reverse Denoising Step

ASecurity

Convert predicted DDPM epsilon values into reverse-process means and deterministic or stochastic denoising samples.

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

Security analysis

A100/100

Scanned September 9, 2026

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

Installs into .claude/skills of the current project.

Are you the author of Reverse Denoising Step?

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

Security grade badge for Reverse Denoising Step
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/vectorspacelab-reverse-denoising-step/badge)](https://www.skillsdirectory.com/skills/vectorspacelab-reverse-denoising-step)

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

SKILL.md
---
name: reverse_denoising_step
description: Convert predicted DDPM epsilon values into reverse-process means and deterministic or stochastic denoising samples.
---

# Reverse Denoising Step

Use this skill when a DDPM recovery needs to apply the paper's epsilon-parameterized reverse Gaussian transition. It converts `epsilon_theta(x_t,t)` into `mu_theta(x_t,t)` and optionally adds reverse Gaussian noise. Do not use it to train the epsilon model or to compute image metrics.

## Inputs
- Schedule dictionary with `betas`, `alphas`, `alpha_bars`, and optionally `posterior_variances`.
- Current noisy scalar/list `x_t`.
- Predicted epsilon scalar/list matching `x_t`.
- One-based timestep `t`.
- Optional reverse noise `z` and variance mode.

## Outputs
- Reverse mean value(s) from the DDPM equation.
- Reverse sample value(s), equal to the mean when `z` is zero or omitted.
- Coefficients used for auditability.

## Workflow
1. Build or load a schedule from the diffusion schedule skill.
2. Call `reverse_mean(schedule, x_t, predicted_epsilon, t)`.
3. Call `reverse_sample(...)` with explicit zero noise for deterministic recovery checks.
4. Record the output in mechanism checks when validating proxy recovery.

## Validation
Run `python tests/test_reverse_step.py` or the Distiller skill-tree validator with `--run-tests`.

## Limitations
The helper validates the reverse mean equation and single-step sampling. It does not claim to reproduce long-chain image generation quality in a bounded recovery run.

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…