executing-plans
executing-plans
Use when executing an implementation plan in the current session as the implementer yourself — your human partner chose inline execution, or no subagent tool is available
robust_optimization_objectiveSpecify and validate the robust min-max objective used for PGD adversarial training from Madry et al. 2017.
Independent GitHub snapshot · Automated classification · Original documentation governs
Use this skill when a recovery or implementation needs to state whether an experiment matches the paper's robust optimization formulation: minimize model parameters against the worst-case loss in an allowed perturbation set.
Do not use it to label natural-only training, detector-only defenses, or attacks outside the declared threat set as robust training.
norm, epsilon, and optional input clipping range.full, reduced, or proxy.min_theta E[max_delta L(theta, x + delta, y)].delta is constrained by the stated perturbation set.Run:
python scripts/objective_contract.py --self-test
python tests/test_objective_contract.py
This skill validates the objective contract. It does not implement PGD or train a model; pair it with the PGD adversary and training-loop skills.