Skip to content
Back to skills

Rnd Observation Normalization

ASecurity

Normalize observations for Random Network Distillation with running statistics and clipping before target and predictor feature computation.

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

Works with

  • cli

Security analysis

A100/100

Scanned September 9, 2026

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

Installs into .claude/skills of the current project.

Are you the author of Rnd Observation Normalization?

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

Security grade badge for Rnd Observation Normalization
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/vectorspacelab-rnd-observation-normalization/badge)](https://www.skillsdirectory.com/skills/vectorspacelab-rnd-observation-normalization)

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

SKILL.md
---
name: rnd_observation_normalization
description: Normalize observations for Random Network Distillation with running statistics and clipping before target and predictor feature computation.
---

# RND Observation Normalization

Use this skill when implementing or validating Random Network Distillation (RND) pipelines that feed observations into a frozen random target and a trainable predictor. Do not use it as a generic image augmentation skill; its purpose is to preserve the paper's scale-control mechanism.

## Inputs
- A batch of numeric observations represented as lists of equal-length vectors.
- Optional running statistics with `mean`, `var`, and `count` fields.
- Optional clipping bounds, defaulting to the paper's `[-5, 5]` range.

## Outputs
- Normalized and clipped observation vectors.
- Updated running statistics that must be shared by target and predictor paths.

## Workflow
1. Merge incoming batch moments with existing running moments using a numerically stable parallel variance update.
2. Normalize each dimension with `(x - mean) / sqrt(var + eps)`.
3. Clip normalized values after whitening.
4. Feed exactly the same normalized batch to both RND target and predictor modules.

## Validation
Run `python scripts/normalization.py --self-test` or validate the skill tree with tests enabled. The self-test checks running-stat updates, finite normalization, and clipping bounds.

## Limitations
The script handles vector observations for deterministic recovery and tests. Image tensors should be flattened or batched into vectors before use, while preserving the same running-stat semantics.

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.