Skip to content
Back to skills

Aggregate Influence Pruning

ASecurity

Select removable data subsets by constraining aggregate influence vector norm instead of ranking independent scalar scores.

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

Security analysis

A100/100

Scanned September 9, 2026

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

Installs into .claude/skills of the current project.

Are you the author of Aggregate Influence Pruning?

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

Security grade badge for Aggregate Influence Pruning
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/vectorspacelab-aggregate-influence-pruning/badge)](https://www.skillsdirectory.com/skills/vectorspacelab-aggregate-influence-pruning)

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

SKILL.md
---
name: aggregate_influence_pruning
description: Select removable data subsets by constraining aggregate influence vector norm instead of ranking independent scalar scores.
---

# Aggregate Influence Pruning

Use this skill after per-example influence vectors have been estimated. It implements the paper's central subset-selection idea: maximize removable cardinality while the norm of the sum of removed influences remains below epsilon.

## Inputs

- Per-example influence vectors with equal dimensionality.
- `epsilon` for generalization-guaranteed pruning or `cardinality` for fixed-size pruning.
- Bounded search mode; exhaustive search is appropriate only for small recovery cases.

## Outputs

- Selected removal indices and binary mask.
- Aggregate influence vector and norm.
- Feasibility and objective metadata.

## Workflow

1. Validate influence vector dimensions and finite values.
2. Enumerate candidate masks for tiny recovery runs, or use a deterministic bounded heuristic for larger runs.
3. Prefer larger feasible subsets; break ties by lower aggregate norm.
4. Save enough metadata to prove joint cancellation was considered.

## Validation

Run `python scripts/prune_by_influence.py --demo` and `python tests/test_prune_by_influence.py` from this skill directory.

## Limitations

The exhaustive implementation is for bounded recovery and testing. Large datasets should use a time-limited heuristic such as simulated annealing while preserving the same objective contract.

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.