Skip to content
Back to skills

Vtrace Target Computation

ASecurity

Compute IMPALA V-trace targets, clipped ratios, and policy-gradient advantages from off-policy trajectories.

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

Works with

  • cli

Security analysis

A100/100

Scanned September 9, 2026

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

Installs into .claude/skills of the current project.

Are you the author of Vtrace Target Computation?

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

Security grade badge for Vtrace Target Computation
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/vectorspacelab-vtrace-target-computation/badge)](https://www.skillsdirectory.com/skills/vectorspacelab-vtrace-target-computation)

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

SKILL.md
---
name: vtrace_target_computation
description: Compute IMPALA V-trace targets, clipped ratios, and policy-gradient advantages from off-policy trajectories.
---

Use this skill when a recovery or implementation needs the core IMPALA V-trace equations. Inputs are rewards, discounts, values with bootstrap, target action probabilities, behavior action probabilities, and clipping thresholds. Outputs are ratios, clipped `rho` and `c`, V-trace targets, and advantages.

Workflow: validate trajectory lengths, compute importance ratios, clip them separately for target residuals and trace cutting, run the backward recursive target, and report diagnostics. Use this skill before actor-critic updates; do not let a training harness duplicate the formula without cross-checking it.

Validation: tests cover on-policy reduction to n-step Bellman returns and off-policy clipping. Limitations: the helper is deterministic and vector-free for auditability, not a high-throughput learner 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…