L’interface est localisée ; les présentations et documents des Skills sont traduits automatiquement par IA dans votre langue. Le code, les commandes, chemins et termes techniques restent en version originale, et le document de l’auteur fait foi.
Explorer les Skills
Productivité · SKILL.md

axiom_recovery_evaluation

axiom_recovery_evaluation

Evaluate Integrated Gradients experiments against completeness, sensitivity, implementation invariance, and symmetry axioms.

Independent GitHub snapshot · Automated classification · Original documentation governs

Documentation de la Skill

GitHub

name: axiom_recovery_evaluation description: Evaluate Integrated Gradients experiments against completeness, sensitivity, implementation invariance, and symmetry axioms.

Axiom Recovery Evaluation

Use this skill after attributions have been computed and a recovery run needs auditable metrics. Do not use it to compute attributions; it evaluates whether computed attributions preserve the paper's axiomatic mechanism.

Inputs

  • Attribution vector and output_difference.
  • Completeness tolerance, using absolute error for small deterministic examples.
  • Optional paired attribution vectors from equivalent implementations.
  • Optional symmetric feature index groups.
  • Optional sensitivity attribution for a single changed feature.

Outputs

  • Numeric completeness error.
  • Boolean checks for completeness, sensitivity, implementation invariance, and symmetry.
  • Overall proxy_accepted boolean when all supplied mechanism checks pass.

Workflow

  1. Compare attribution sum with the model output difference.
  2. Mark Sensitivity(a) passed when a one-feature output change has nonzero attribution with the expected sign or magnitude.
  3. Compare equivalent-implementation attributions within tolerance.
  4. Check equal attributions for symmetric features with equal values.
  5. Return a compact metric and mechanism-check dictionary for recovery artifacts.

Validation

Run python tests/test_axiom_evaluation.py or the Distiller validator.

Limitations

This skill validates the recovery mechanism. It does not prove visual saliency quality on ImageNet or replace a full benchmark when that runtime is available.

Skills enregistrées