计划执行与检查节点
executing-plans
按既定实施计划完成工作,保持过程检查和反馈。
bar_zeroth_order_optimizer【效率与协作】Train BAR universal-program parameters with query-only one-sided zeroth-order gradient estimates and SGD updates.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Use this skill when recovery must optimize adversarial-program parameters against a black-box classifier that exposes only prediction outputs. It is the core BAR training loop from the paper.
Do not use it when white-box gradients are available and the goal is ordinary fine-tuning.
beta, random-vector count q, learning rate, iterations, and seed.W.q normalized random directions with a fixed seed when reproducibility matters.W + beta*U_j using black-box calls only.W by SGD.Run python tests/test_bar_optimizer.py or validate_skill_tree.py --run-tests.
This skill can run a reduced deterministic proxy. Full paper-scale results require real source models and target datasets supplied by the caller.