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

flow_matching_recovery_harness

flow_matching_recovery_harness

【开发与工程】Run a bounded soft-mode Flow Matching proxy recovery that invokes generated OT-path, CFM-loss, and CNF-ODE skills.

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

技能说明

GitHub

name: flow_matching_recovery_harness description: Run a bounded soft-mode Flow Matching proxy recovery that invokes generated OT-path, CFM-loss, and CNF-ODE skills.

Flow Matching Recovery Harness

Use this skill when validating whether generated Flow Matching skills can execute the paper's core mechanism under bounded soft-mode recovery. The harness must not read the original source repository and must clearly label proxy evidence.

Inputs

  • Attempt directory with module_plan.json and environment/runtime_handoff.json.
  • Generated skill root containing conditional_ot_paths, conditional_flow_matching_loss, and cnf_ode_sampling.
  • Deterministic synthetic noise/data pairs for a small OT-CFM proxy.

Outputs

  • recovery/recovery_result.json.
  • recovery/logs/training_trace.json.
  • recovery/logs/generated_data_item.json.
  • recovery/logs/generated_skill_invocations.json.
  • recovery/source_manifest.json.

Workflow

  1. Read the module-plan target and runtime handoff.
  2. Build deterministic paired vectors that define an analytic OT displacement problem.
  3. Import and call the generated OT-path, CFM-loss, and ODE-sampling scripts.
  4. Run a scalar proxy optimizer update against the CFM loss and record before/after values.
  5. Integrate the learned constant vector field and compare to the analytic OT endpoint.
  6. Write validator-compatible recovery artifacts with mechanism checks and command provenance.

Validation

Run:

python tests/test_proxy_recovery.py
python scripts/run_proxy_recovery.py --attempt-dir /path/to/attempt --skill-root /path/to/generated_skills

Limitations

This harness is a declared reduced/proxy recovery. It validates the paper mechanism on deterministic vectors and must not be reported as full ImageNet/CIFAR-scale reproduction.

我的收藏