界面已本地化;技能介绍与说明文档按所选语言由 AI 自动翻译,代码、命令、路径和专业术语保留原文,以原作者文档为准。
探索技能
数据与研究 · SKILL.md

generalization_gap_bound

generalization_gap_bound

【数据与研究】Validate paper-target metadata, aggregate influence tolerance, and observed pruning metric gaps for generalization-influence pruning.

独立 GitHub 快照 · 自动分类 · 以原作者文档为准

技能说明

GitHub

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.

我的收藏