Skip to content
Back to skills

Generalization Gap Bound

ASecurity

Validate paper-target metadata, aggregate influence tolerance, and observed pruning metric gaps for generalization-influence pruning.

  • 247 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added September 9, 2026
researchpython

Security analysis

A100/100

Scanned September 9, 2026

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

Installs into .claude/skills of the current project.

Are you the author of Generalization Gap Bound?

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

Security grade badge for Generalization Gap Bound
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/vectorspacelab-generalization-gap-bound/badge)](https://www.skillsdirectory.com/skills/vectorspacelab-generalization-gap-bound)

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

SKILL.md
---
name: generalization_gap_bound
description: Validate paper-target metadata, aggregate influence tolerance, and observed pruning metric gaps for generalization-influence pruning.
---

# Generalization Gap Bound Check

Use this skill when a candidate pruned subset has been selected and the recovery needs a deterministic pass/fail check linking aggregate influence to the declared target. It is a metadata and mechanism gate, not a replacement for training or evaluation.

## Inputs

- Module-plan target metadata.
- Aggregate influence norm and epsilon.
- Baseline and retained metrics or losses when available.
- Booleans describing whether proxy/full training and optimizer steps executed.

## Outputs

- Bound status and observed metric gap.
- Mechanism checks suitable for `recovery_result.json`.
- Reasons for any failure.

## Workflow

1. Compare recovery target metadata against the module plan.
2. Check `aggregate_norm <= epsilon`.
3. Compute the observed absolute metric gap.
4. Require influence estimation, aggregate optimization, and some training/evaluation evidence for proxy acceptance.

## Validation

Run `python scripts/check_gap_bound.py --demo` and `python tests/test_check_gap_bound.py` from this skill directory.

## Limitations

This skill records a paper-inspired bound check for reduced experiments; it does not prove the full theorem for arbitrary neural networks.

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…