Skip to content
Back to skills

Top Eigen Trace Estimators

ASecurity

Implements power iteration and Hutchinson trace estimation over an HVP oracle for fast curvature summaries.

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

Security analysis

A100/100

Scanned September 9, 2026

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

Installs into .claude/skills of the current project.

Are you the author of Top Eigen Trace Estimators?

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

Security grade badge for Top Eigen Trace Estimators
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/vectorspacelab-top-eigen-trace-estimators/badge)](https://www.skillsdirectory.com/skills/vectorspacelab-top-eigen-trace-estimators)

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

SKILL.md
---
name: top_eigen_trace_estimators
description: Implements power iteration and Hutchinson trace estimation over an HVP oracle for fast curvature summaries.
---

# Top Eigenvalue and Trace Estimators

Use this skill when a recovery or analysis task needs the PyHessian paper component described by this module. Do not use it to read or depend on the original PyHessian repository during recovery; the scripts are self-contained reduced implementations or contract checkers.

## Inputs
- Hessian-vector product callable
- Parameter dimension
- Iteration limits, tolerance, and deterministic probe policy

## Outputs
- Estimated top eigenvalue and vector
- Trace probe values and trace estimate

## Workflow
1. Confirm that the requested experiment matches this module contract.
2. Use the script in `scripts/estimators.py` for deterministic checks or as reference logic.
3. Preserve the paper mechanism: Power iteration and randomized trace probing preserve the paper mechanism for scalable second-order summaries.
4. Write numeric evidence and avoid qualitative-only conclusions.
5. In recovery, record whether this skill was called, imported, or cross-checked.

## Validation
Run `python` through the Distiller skill-tree validator with `--run-tests`, or run the test file in `tests/` with the repository-independent Python path pointing at this skill's `scripts/` directory.

## Limitations
This generated skill captures reusable mechanism semantics. It is not a drop-in replacement for the original PyTorch package and does not authorize recovery to read the original repository.

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…