인터페이스는 현지화되어 있으며, Skill 소개와 설명 문서는 선택한 언어로 AI가 자동 번역합니다. 코드·명령어·경로·전문 용어는 원문을 유지하며 원작자 문서가 우선합니다.
Skills 둘러보기
생산성 및 협업 · SKILL.md

training_dynamics_scoring

training_dynamics_scoring

Convert per-example training dynamics into CCS-compatible importance scores for coreset selection.

Independent GitHub snapshot · Automated classification · Original documentation governs

Skill 문서

GitHub

name: training_dynamics_scoring description: Convert per-example training dynamics into CCS-compatible importance scores for coreset selection.

Training Dynamics Scoring

Use this skill when a coreset workflow needs deterministic per-example importance scores derived from model training dynamics. It is appropriate for Coverage-centric Coreset Selection style experiments and for reduced proxy recovery where probability traces are synthetic but still aligned to labels and indices.

Do not use this skill to choose the coreset directly or to claim full model accuracy. It only converts logged probabilities into scores that downstream selection modules consume.

Inputs

  • Records with index, epoch, probabilities, and label fields.
  • num_classes, inferred from probabilities when omitted.
  • Optional max_el2n_epoch, matching the paper-style early dynamics window.

Outputs

  • targets: label per original index.
  • correctness, forgetting, and last_correctness counts.
  • accumulated_margin: target probability minus best non-target probability summed across records.
  • el2n: Euclidean distance between one-hot label and probabilities over the configured early window.
  • Optional entropy and loss when final probabilities are available.

Workflow

  1. Validate that every probability vector is non-empty and matches the class count.
  2. Sort records by epoch while preserving original index identities.
  3. Update correctness and forgetting whenever an example changes from correct to incorrect.
  4. Add accumulated margins for every record and EL2N contributions before the configured cutoff.
  5. Return plain Python lists so later scripts can serialize the result without torch or numpy.

Validation

Run python tests/test_training_dynamics_scoring.py or validate the skill tree with the Distiller validator using --run-tests.

Limitations

This skill intentionally avoids framework-specific tensors. Full-paper score generation can wrap it after extracting probabilities from PyTorch logs, but the reusable contract is standard-library only.

저장한 Skills