AFTER
Adaptive Failure Training for Evolving Robots
Learning from failures that haven’t happened yet.
Abstract
If a simulated quadruped practices walking with a weakened motor, does that practice help it handle a different failure, like a slippery surface or a heavier payload?
AFTER copies the robot’s walking controller and gives each copy a different condition to practice. It then puts the copies through the same scenarios to see which practice helps elsewhere and which makes things worse. In this CPU MuJoCo pilot, all three AFTER controllers improved on their starting policies. Domain randomization had the highest average score at the same training budget, and the pilot did not establish that the teacher learned to choose better practice.
Methodology
Matched training branches
At each generation, AFTER clones the current walking policy, trained with proximal policy optimization (PPO), including its optimizer state and learning rate. Each copy trains under a candidate failure or a nominal control for exactly 98,304 simulator transitions. The parent and all branches then face the same probe and development scenarios. Comparing a branch with its parent measures how much its score changed. Comparing it with the matched nominal branch estimates what the failure practice added beyond ordinary fine-tuning.
Choosing what to practice
A teacher fits a predictor to the measured gains and losses and uses it to rank candidate training conditions. A separate loop adjusts the ranking rule’s weights, such as how much to favor gains on the robot’s weakest conditions. The incumbent rule and a challenger choose from the same pool for the same parent. The challenger can replace the incumbent only if it improves development utility and meets the nominal-performance guard.
Experimental setup
The pilot ran 324 matched branches across three training lineages, six branching methods, and six generations, with three branches per generation. An unbranched domain-randomization baseline varied simulation conditions during training and had the same total training budget as AFTER.
Protected test
The final policies were scored on a sealed test battery after the protocol and checkpoints were frozen. The battery included unseen fault combinations, severities outside the training range, and parameter variants of the simulated Go2. It measured robustness on cases held out from training and selection. The score combines command tracking, survival, and energy use. Protected-test utility weights the mean condition score at 70% and the mean of the worst quarter at 30%.
Independent teacher evaluation
Frozen teachers chose one training condition from the same pool at each of three checkpoints from an independently trained bank student. Each distinct choice received the same branch budget. Its gain was then measured on the sealed test. This put the teachers on common starting policies outside their own training lineages and tested the quality of their choices separately from the final policies they had produced.
Results
Student performance
Every final AFTER policy improved over its own starting policy, by 3.94 points out of 100 on average. Domain randomization led AFTER by 2.32 points on average at the same total training budget. Seed 1 accounted for the gap, with domain randomization ahead by 7.19 points. The other two lineages were within 0.17 points.
| Lineage | vs. starting policy | vs. domain randomization |
|---|---|---|
| Seed 0 | +5.05 | +0.06 |
| Seed 1 | +2.99 | −7.19 |
| Seed 2 | +3.77 | +0.17 |
| Mean | +3.94 | −2.32 |
Teacher performance
The final teacher’s choices gained 0.81 more points out of 100 than the initial teacher’s choices on average. The 95% lineage-bootstrap interval ran from −0.53 to +2.32 points. The strategy loop accepted zero changes and tied in 17 of 18 comparisons. The pilot did not establish teacher self-improvement. The small-data predictor modeled each training candidate’s effect additively across evaluation conditions, so changes to the selection rule rarely reordered the top candidates. In a sensitivity check, only 4.2% of rule tweaks changed the first pick on average.
Limitations
There were three training lineages. The three bank checkpoints came from one independently trained student, so the teacher interval describes variation across lineages for that bank. Repeating the same practice with different branch seeds shifted individual transfer measurements by about three points, roughly the size of a typical measured effect.
All empirical results are from CPU MuJoCo simulation of the Unitree Go2. The larger Isaac Lab study is still pending.