Skip to content
Back to skills

Stochastic Actor Update

ASecurity

Run a deterministic SAC-style stochastic actor update with reparameterized Gaussian action, log probability, and policy-gradient diagnostics.

  • 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 stochastic_actor_update --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Stochastic Actor Update?

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

Security grade badge for Stochastic Actor Update
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/vectorspacelab-stochastic-actor-update/badge)](https://www.skillsdirectory.com/skills/vectorspacelab-stochastic-actor-update)

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

SKILL.md
---
name: stochastic_actor_update
description: Run a deterministic SAC-style stochastic actor update with reparameterized Gaussian action, log probability, and policy-gradient diagnostics.
---

# Stochastic Actor Update

Use this skill when a recovery needs to exercise the actor component of SAC without depending on a full deep-learning stack. It implements a tiny scalar Gaussian actor with fixed noise so the reparameterized policy loss can be audited deterministically.

## Inputs
- Actor mean and log standard deviation parameters.
- State feature and deterministic noise sample.
- A differentiable quadratic Q proxy target.
- Learning rate.

## Outputs
- Action, log probability, Q value, policy loss.
- Updated actor parameters and parameter-change evidence.

## Workflow
1. Reparameterize the action as `mean * state + exp(log_std) * noise`.
2. Evaluate Gaussian log probability for the noise-scaled action.
3. Compute SAC policy loss `alpha * log_prob - Q(action)`.
4. Use analytic gradients for the scalar actor and update parameters.
5. Record before/after parameters for validation.

## Validation
Run `python tests/test_actor_update.py` or the Distiller skill validator.

## Limitations
This is a scalar deterministic proxy for the SAC actor update. It preserves the optimization contract but is not a neural-network policy implementation.

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…