AUTODIDACT: a self-improving robot learning loop
An autonomous learning loop for a simulated cath-lab robot that finds gaps in its own training data, asks for targeted demonstrations, retrains, and promotes a new policy only when a statistical test shows it is better.
Problem and motivation
Robot policies learned from demonstrations are only as good as the data behind them. Finding out where a policy is weak, collecting the right new demonstrations, and deciding whether a retrained model is actually better are usually manual, slow and hard to audit.
In a clinical setting such as a cath lab, every model update also has to be safe and traceable. The challenge was to close that loop autonomously: let the system improve itself while keeping each decision explainable and the robot inside its safety constraints.
Simulated robot environment
slot: autodidact-environment
MuJoCo simulation
slot: autodidact-mujoco
System architecture
The system runs against a MuJoCo digital twin of the FR3 Duo. Around the learned policy sit the components that make the loop autonomous and auditable: data validation and failure analysis, retraining, a statistical promotion gate, a safety filter between the policy and the robot, a decision ledger and a live dashboard.
Learning-loop architecture (original diagram)
slot: autodidact-architecture
Learning-loop workflow
Each cycle follows the same sequence. The diagram below is a conceptual summary of the loop as described in the project.
- Identify gapsFind where the training data does not cover what the policy needs.
- Request demonstrationsAsk for targeted demonstrations for those gaps.
- Validate dataCheck incoming data before it is used for training.
- Retrain policyTrain a candidate policy on the extended dataset.
- Evaluate statisticallyCompare candidate and current policy with a statistical test.
- Promote if betterReplace the current policy only when the test shows an improvement.
My contributions
AUTODIDACT was a five-person team effort. My part focused on the reliability, safety and traceability of the loop:
- Data validation and failure-analysis tooling to check demonstration data and understand why runs failed.
- A safety filter with stop-and-resume that halts motion when the robot approaches a keep-out zone and resumes safely afterwards.
- A decision ledger that logs every model-update decision, so each policy change can be traced.
- Contributed to the live dashboard showing data, robot runs and system decisions.
System dashboard
slot: autodidact-dashboard
Safety and validation
Three mechanisms keep the loop safe and accountable:
- Safety filter. Sits between the policy and the robot and stops motion that would enter a keep-out zone, then resumes.
- Statistical promotion gate. A retrained policy only replaces the current one when a statistical test shows it is better, so the system cannot drift to a worse model on a lucky run.
- Decision ledger. Every model update is logged, making the system's choices auditable after the fact.
Results
Keep-out-zone violations across 40 runs after adding the safety filter
One complete autonomous cycle, end to end, without human intervention
From start to working system, as a team of five; semi-finalist
Hackathon presentation or team photo
slot: autodidact-team
Lessons learned
- Treat safety as its own layer. A filter that sits outside the learned policy can be tested and measured on its own, independent of how the policy changes.
- Autonomy needs a clear acceptance rule. Promoting a model only after a statistical test turns "seems better" into a decision the system can make on its own.
- Traceability builds trust. Logging each decision made it possible to explain what the system did and why, which matters for medical robotics.
- Scope hard under time pressure. Forty-eight hours forced the team to agree early on a loop that could run end to end, then improve it.