Skip to content
Back to skills

Rnd Intrinsic Reward Scaling

ASecurity

Scale Random Network Distillation intrinsic rewards with running discounted-return statistics for stable exploration bonuses.

  • 247 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added September 9, 2026
testingpython

Security analysis

A100/100

Scanned September 9, 2026

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

Installs into .claude/skills of the current project.

Are you the author of Rnd Intrinsic Reward Scaling?

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

Security grade badge for Rnd Intrinsic Reward Scaling
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/vectorspacelab-rnd-intrinsic-reward-scaling/badge)](https://www.skillsdirectory.com/skills/vectorspacelab-rnd-intrinsic-reward-scaling)

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

SKILL.md
---
name: rnd_intrinsic_reward_scaling
description: Scale Random Network Distillation intrinsic rewards with running discounted-return statistics for stable exploration bonuses.
---

# RND Intrinsic Reward Scaling

Use this skill when raw RND prediction errors need to become an intrinsic reward stream for policy optimization. It preserves raw errors for diagnostics while dividing rewards by a running estimate of intrinsic-return standard deviation. Do not use it to change the predictor loss itself.

## Inputs
- Raw RND prediction-error sequence.
- Intrinsic discount factor, usually `gamma_I`.
- Optional running return statistics.

## Outputs
- Scaled intrinsic rewards.
- Discounted intrinsic returns.
- Updated running scale statistics.

## Workflow
1. Convert raw errors into discounted intrinsic returns.
2. Update running mean/variance over those returns.
3. Divide each raw error by `sqrt(var + eps)`.
4. Keep both raw and scaled values in recovery logs.

## Validation
Run `python scripts/reward_scaling.py --self-test`. The validation checks finite outputs, discounted-return ordering, and positive scaling behavior.

## Limitations
This skill does not compute policy gradients or PPO advantages. It only implements the RND reward-scale contract from the paper.

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.