Skip to content
Back to skills

Ewc Fisher Importance

ASecurity

Estimate and normalize diagonal Fisher importance vectors for Elastic Weight Consolidation from first-order gradients.

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

Security analysis

A100/100

Scanned September 9, 2026

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

Installs into .claude/skills of the current project.

Are you the author of Ewc Fisher Importance?

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

Security grade badge for Ewc Fisher Importance
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/vectorspacelab-ewc-fisher-importance/badge)](https://www.skillsdirectory.com/skills/vectorspacelab-ewc-fisher-importance)

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

SKILL.md
---
name: ewc_fisher_importance
description: Estimate and normalize diagonal Fisher importance vectors for Elastic Weight Consolidation from first-order gradients.
---

# EWC Fisher Importance

Use this skill after learning a previous task and before applying an EWC penalty. It converts per-example gradients into a nonnegative diagonal Fisher estimate and can compute normalized Fisher overlap diagnostics.

## Inputs

- Per-example gradient vectors for the previous task.
- Optional Fisher vectors for normalization or overlap.

## Outputs

- Mean squared-gradient Fisher vector.
- Trace-normalized Fisher vector.
- Fisher-overlap score for diagnostics.

## Workflow

1. Collect gradients at or near the previous-task solution.
2. Square every gradient component.
3. Average squared gradients across examples.
4. Normalize by trace only for overlap/comparison diagnostics.
5. Pass the unnormalized Fisher to the EWC penalty.

## Validation

Run:

```bash
python tests/test_fisher_importance.py
```

## Limitations

The helper expects gradient vectors supplied by a model-specific training harness. It does not compute autograd gradients itself.

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…