Hedra
  • Pricing
Docs
Get started
Hedra
Get started
All posts

Hedra uses mechanistic interpretability for continual learning in robotics

Sean Sun, Michael Loh, Haiyang Liu

November 30, 2026
A person watches a robotic arm inside a glass enclosure, with a band of colored light across the work area.
TL;DR

We showed NVIDIA’s Cosmos3-Edge-Policy the same scenes in normal and low light and measured how its predicted actions changed. We used stepwise regression across 30 candidate modules to identify which activation shifts helped explain those changes. That pointed us to three projections: the visual input projection and the attention output projections in layers 4 and 15. We fine-tuned only those weights using the model’s own well-lit activations as targets, with no new rollouts, human demonstrations or action labels. In DROID simulation, low-light success rose from 39.0% to 78.0% on the five best-recovering tasks among the 16 with the largest lighting-induced drops. The DROID fine-tuning run took 91 seconds on one H100.

When a robot already knows the task but its environment changes, which weights should it update? In simulation, we traced how low light changed Cosmos3’s predicted actions and identified three projections to fine-tune without collecting new demonstrations.


Your robot passes its acceptance test at the first picking station. At the second station, the gripper, product and destination bin are the same. With the area in shadow, the robot keeps missing the bin. An operator has to finish the pick.

At this point, you’ve already paid for the demonstrations and training that got the first station working. One expensive way to fix the second station is to book the robot and an operator for another round of demonstrations under the new lighting, then pay for another training run. The pick is the same. How much of that work does a change in lighting actually require?

We studied that problem in simulation with a yellow mustard bottle between two gray bins. Under normal lighting, Cosmos3 placed the bottle in the right bin on 19 of 20 attempts (95%). With the simulated lights set to 1% of their normal intensity, Cosmos3 put the bottle in the right bin on only 4 of 20 attempts (20%). We could show the frozen policy the same rollout step under both conditions and see how its predicted movement changed.

Normal light

Right-bin mustard placement in normal light with the original policy.

Low light

The same right-bin task with the original policy in low light.

Figure 1. The same right-bin placement task in normal light (left) and in low light (right).

The bottle started in the same spot in both views, and we kept the camera and instruction fixed. To choose which projections to fine-tune, we looked for activation shifts that tracked changes in the frozen policy’s predicted actions. Each selected projection then served as a frozen teacher. Its activation on the well-lit view gave the student a target for the matched dark view.

Animation tracing the right-bin instruction and changed camera input through the frozen policy to the attempted placement.

Figure 2. The instruction still specifies the right bin. The animation follows the changed camera input through the frozen policy to the attempted placement.

Start where the robot succeeds in normal light

NVIDIA reports that Cosmos3-Edge-Policy succeeded in 22.9% of evaluation episodes across the 120 DROID manipulation tasks in the RoboLab simulation benchmark. A failed pick in low light tells us little on its own. To measure what the lighting change cost the robot, we needed to know how often it succeeded on the same task in normal light. RoboLab leaderboard

We tested lighting at 1%, 10%, 400% and 800% of normal intensity. We ranked all 120 DROID tasks by how much success fell from normal light to the darkest setting, then reported the five strongest recoveries after fine-tuning among the 16 tasks with the largest drops.

Across those five, low-light success rose from 39.0% with the original policy to 78.0% with the fine-tuned policy. The original policy scored 82.0% on the same five tasks in normal light. Table 1 gives the episode counts for each task.

How low light affected the original policy
Normal lightLow light
Unstack the cubes
Normal light 17
Low light 14
Mustard in right bin
Normal light 19
Low light 4
Manipulate the cube
Normal light 18
Low light 9
Mustard in left bin
Normal light 8
Low light 0
Banana on plate
Normal light 20
Low light 12
05101520
Successful episodes out of 20
Chart data
How low light affected the original policy
DROID taskNormal lightLow light
Unstack the cubes1714
Mustard in right bin194
Manipulate the cube189
Mustard in left bin80
Banana on plate2012
Figure 3. Original-policy successes in normal and low light in the 120-task scan. Each bar covers 20 episodes for one of the five tasks later reported in the recovery evaluation.

Changes in predicted actions pointed us to three projections

A darker view can change a model’s activations even when the robot’s predicted movement barely changes. To choose where to intervene, we asked which activation shifts tracked the change in the predicted action sequence. We tested all 28 transformer layers and the two projections on either side. The input projection (vae2llm) maps the visual autoencoder’s compressed representation of the camera frames into the language model’s embedding space. The return projection (llm2vae) maps the transformer’s hidden states back into visual latent space.

Cosmos3 architecture

Cosmos3 architecture diagram highlighting the path from visual observations to action prediction.

DROID rollout

Cosmos3 action-prediction path alongside a recorded DROID rollout.

Figure 4. Left, the highlighted path connects visual inputs to an action prediction. Right, the same path is illustrated with a recorded DROID rollout.

For each rollout step, we gave the frozen policy a normal view and a dark view of the same scene. We measured how far each candidate module’s activations moved between views and how far the policy’s predicted action sequence moved.

We used forward-stepwise regression to add components one at a time. At each step, a candidate had to improve the fit beyond what the components already in the model explained. We tested that improvement with 2,000 shuffles at a significance threshold of α=0.05\alpha = 0.05α=0.05. Three of the 30 candidates passed.

Together, those three components explained 70.9% of the variance in how much the policy’s predicted action sequence changed between normal and dark views (R2=0.709R^2 = 0.709R2=0.709). Layer 4’s attention output projection accounted for 83.8% of that explained variance. Adding layer 15’s attention output projection contributed a further 8.4%, and the input projection (vae2llm) contributed the remaining 7.8%.

How much each projection added to the regression
Layer 4 attention output
83.8%
Layer 15 attention output
8.4%
Visual input (vae2llm)
7.8%
0255075100
Share of explained variance (%)
Chart data
How much each projection added to the regression
Projection in selection orderShare of explained variance (%)
Layer 4 attention output83.8%
Layer 15 attention output8.4%
Visual input (vae2llm)7.8%
Figure 5. Layer 4 added 0.5940 to R², layer 15 added 0.0598 and the visual input projection added 0.0552, for a final R² of 0.7090. Layer 23 was the strongest remaining candidate. Its additional 0.0084 did not pass the permutation test (p = 0.1856), so selection stopped.

We jointly fine-tuned the visual input projection (vae2llm) and the attention output projections in transformer layers 4 and 15. After those three entered, even the strongest remaining candidate, layer 23, fell short of the significance threshold. The return projection (llm2vae) stayed frozen.

The teacher set the target for both views

We used self-distillation. For each selected projection, the frozen original served as the teacher. We trained the student to match the teacher’s activation from the well-lit view when given the matched dark view. On the well-lit view, the anchor loss penalized differences between the student’s and teacher’s outputs.

For each selected projection mmm, f0,mf_{0,m}f0,m​ is the frozen teacher and fθ,mf_{\theta,m}fθ,m​ is the student we fine-tuned. Each loss measures the squared L2 distance between their output activations.

Distillation on the dark view

Ldistill,m=∥fθ,m(xdark)−f0,m(xnormal)∥2L_{\mathrm{distill},m} = \left\lVert f_{\theta,m}(x_{\mathrm{dark}}) - f_{0,m}(x_{\mathrm{normal}}) \right\rVert^2Ldistill,m​=∥fθ,m​(xdark​)−f0,m​(xnormal​)∥2

Anchor on the well-lit view

Lanchor,m=∥fθ,m(xnormal)−f0,m(xnormal)∥2L_{\mathrm{anchor},m} = \left\lVert f_{\theta,m}(x_{\mathrm{normal}}) - f_{0,m}(x_{\mathrm{normal}}) \right\rVert^2Lanchor,m​=∥fθ,m​(xnormal​)−f0,m​(xnormal​)∥2

For each projection, λdistill\lambda_{\mathrm{distill}}λdistill​ sets the penalty for missing the teacher’s well-lit output on the dark view. λanchor\lambda_{\mathrm{anchor}}λanchor​ sets the penalty for drifting from that same output on the well-lit view. We summed these weighted losses across the input projection (vae2llm) and the attention output projections in layers 4 and 15. At each training step, one backward pass computed the gradients for all three projections, and the optimizer updated them together.

Joint loss for the three projections

L=∑m∈{vae2llm, L4, L15}(λdistillLdistill,m+λanchorLanchor,m)L = \sum_{m \in \{\mathrm{vae2llm},\,L4,\,L15\}} \left(\lambda_{\mathrm{distill}} L_{\mathrm{distill},m} + \lambda_{\mathrm{anchor}} L_{\mathrm{anchor},m}\right)L=m∈{vae2llm,L4,L15}∑​(λdistill​Ldistill,m​+λanchor​Lanchor,m​)

All other weights stayed frozen.

In low light, right-bin placement rose from 20% to 90%

The original policy landed the mustard bottle in the right bin on 4 of 20 low-light attempts. After the three-projection update, it landed 18 of 20 under the same lighting, a gain of 70 percentage points. In normal light, both policies made 19 of 20 placements.

Original policy

Original policy fails to place the mustard bottle in the right bin in low light.

Three projections fine-tuned

Fine-tuned policy places the mustard bottle in the right bin in low light.

Figure 6. One right-bin episode per policy, both in low light. Table 1 reports all 20 evaluation episodes for each task and condition.

Task

Low light, original

Low light, fine-tuned

Normal light, original

Normal light, fine-tuned

Unstack the Rubik’s cubes

14/20

20/20

17/20

19/20

Place the mustard bottle in the right bin

4/20

18/20

19/20

19/20

Manipulate the Rubik’s cube

9/20

16/20

18/20

17/20

Place the mustard bottle in the left bin

0/20

4/20

8/20

4/20

Place the banana on the plate

12/20

20/20

20/20

19/20

Total across the five selected tasks

39/100

78/100

82/100

78/100

Table 1. Successful episodes out of 20 per task and condition. We evaluated one shared fine-tuned checkpoint across all five tasks, using episode seeds and starting layouts that differed from training.

Across those five tasks, low-light success rose from 39.0% to 78.0%. We trained on 40 matched activation pairs per task. In a timed run across all five tasks, loading the model, training the three projections and saving the checkpoint took 1 minute 31 seconds on one H100.

Task success before and after fine-tuning
Original policyThree projections fine-tuned
Normal light
Original policy 82
Three projections fine-tuned 78
Low light
Original policy 39
Three projections fine-tuned 78
0255075100
Successful episodes out of 100
Chart data
Task success before and after fine-tuning
Lighting conditionOriginal policyThree projections fine-tuned
Normal light8278
Low light3978
Figure 7. Across the five selected tasks, fine-tuning recovered 39 of the 43 percentage points lost to low light, or 90.7% of the gap. In normal light, the tuned checkpoint succeeded in 78.0% of episodes, down four percentage points from the original policy’s 82.0%.

The DROID update took 91 seconds on one H100

Fine-tuning compute by workload
DROID (measured, 91 s)
0.025
LIBERO (measured, 296 s)
0.082
OpenVLA LoRA (vendor estimate)
5
012345
H100 GPU-hours
Chart data
Fine-tuning compute by workload
WorkloadH100 GPU-hours
DROID (measured, 91 s)0.025
LIBERO (measured, 296 s)0.082
OpenVLA LoRA (vendor estimate)5
Figure 8. Measured compute for adapting DROID and LIBERO to a visual change, alongside a vendor estimate for fine-tuning OpenVLA with LoRA on a new task. The DROID and LIBERO runs used 0.025 and 0.082 H100 GPU-hours, respectively. The OpenVLA estimate is 5.0 H100 GPU-hours.

The same update took left-bin placement from zero to four successes in 20 low-light attempts. The left placement was already harder in normal light. The original policy succeeded on 8 of 20 attempts on the left and 19 of 20 on the right, even though the bins shared a material and had nearly identical brightness. The fine-tuned policy brought both cube unstacking and banana placement to 20 of 20. The paired clips show one original-policy failure and one fine-tuned success for each of the four tasks below.

Figure 9. Four more DROID tasks in low light.

Place the banana on the plate

Original policy

Original policy fails to place the banana on the plate in low light.

Three projections fine-tuned

Fine-tuned policy places the banana on the plate in low light.

Unstack the Rubik’s cubes

Original policy

Original policy fails to unstack the Rubik’s cubes in low light.

Three projections fine-tuned

Fine-tuned policy unstacks the Rubik’s cubes in low light.

Manipulate the Rubik’s cube

Original policy

Original policy fails the Rubik’s cube manipulation task in low light.

Three projections fine-tuned

Fine-tuned policy completes the Rubik’s cube manipulation task in low light.

Place the mustard bottle in the left bin

Original policy

Original policy fails to place the mustard bottle in the left bin in low light.

Three projections fine-tuned

Fine-tuned policy places the mustard bottle in the left bin in low light.

Use changes in predicted actions to choose which weights to train

In our mINT work, we steered a frozen MiniMax H3 during video generation. Strengthening selected attention heads helped it move only the machine named in the prompt. With Cosmos3, we compared the actions the policy predicted for the same scene in normal and low light. We used the internal shifts that tracked those action changes to choose which projections to fine-tune. Hedra’s mINT research

The original policy already knew how to make the pick. Its well-lit activations supplied a training target for each dark view. That gave us a way to test a repair before asking an operator to demonstrate the pick again.

Build with Hedra Model Factory

If your robot reliably completes a task in one setting and repeatedly misses it in another, bring us a successful run, a failed run and the acceptance test the robot needs to pass in both places. Our researchers can work with your team to reproduce the failure, choose a targeted update and test it under both conditions.

We help you build, run and keep improving a model you own.

Methods note

Policy inputs and output. Cosmos3-Edge-Policy takes the camera view, the task instruction and the robot’s current pose as inputs. It predicts the next action chunk, a sequence of control commands for the robot’s next several time steps. NVIDIA model card

DROID lighting and matched views. For the low-light condition, we set both simulated light sources to 1% of their normal intensity. The sphere light went from 5,000 to 50 and the dome light from 500 to 5. We also switched the tone-mapping operator from 6 to 2. The 120-task scan and regression used the same rendering setup. For fine-tuning, we paired normal and dark views of the same recorded rollout steps.

Right-bin scoring. RoboLab’s object_in_container check required the mustard bottle’s centroid to fall within the target bin’s bounds in the bin’s local coordinate frame, with a height tolerance for the open top. The gripper also had to release the bottle (require_gripper_detached=True).

DROID fine-tuning. We ran 1,000 optimizer steps. We set the distillation weight (λdistill\lambda_{\mathrm{distill}}λdistill​) to 1.0 and the normal-light anchor weight (λanchor\lambda_{\mathrm{anchor}}λanchor​) to 1.0. The base recipe outperformed each of the three variants we tested: an additional L2 penalty toward the original weights, cosine learning-rate decay to 1% of the base rate, and weight averaging over the final 20% of training steps.

Activation storage. An activation sample from layer 4 or layer 15 took about 25 MB, compared with 2.35 MB for the input projection. To work with the 120-task dataset, we loaded matched pairs from disk as needed and kept the same optimizer settings.

Compute estimates. Figure 8 uses 5.0 H100 GPU-hours for OpenVLA LoRA, the midpoint of Spheron’s estimated range of 4 to 6 H100 GPU-hours. The OpenVLA paper reports full fine-tuning on eight A100 GPUs for 5 to 15 hours per task, or 40 to 120 A100 GPU-hours. Those runs trained OpenVLA on new tasks. LoRA estimate · OpenVLA fine-tuning study

LIBERO evaluation. On the kitchen task shown below, the fine-tuned policy succeeded in 18 of 20 episodes with the blue tabletop (90%). The LIBERO fine-tuning run took 4 minutes 56 seconds on one H100.

Original table

Frozen policy succeeds at the LIBERO kitchen task on the original tabletop.

Blue table

Frozen policy fails at the same LIBERO kitchen task on the blue tabletop.

Figure 10. The frozen policy ran the same kitchen task with the same seed in both conditions. It succeeded on the original tabletop (left) and failed when only the tabletop color changed to blue (right).

Blue table, original policy

Original policy on the blue tabletop in the illustrated LIBERO episode.

Blue table, fine-tuned policy

Fine-tuned policy completes the illustrated LIBERO episode on the blue tabletop.

Figure 11. Here the tabletop stays blue and the policy changes. The clips show individual episodes. The 18 successes in 20 episodes apply to the fine-tuned policy on this task.

References

  • Cosmos 3: Omnimodal World Models for Physical AI
  • RoboLab: A High-Fidelity Simulation Benchmark for Analysis of Task Generalist Policies
  • DROID: A Large-Scale In-The-Wild Robot Manipulation Dataset
  • LIBERO: Benchmarking Knowledge Transfer for Lifelong Robot Learning

More from Hedra

November 18, 2026

mINT: The First Mechanistic Interpretability Framework for World Models

November 12, 2026

Building self-critiquing video systems

November 10, 2026

Introducing Model Factory for Multimodal AI

Read more from Hedra

Build with Hedra

Talk to an engineerRead the research

Research expertise and GPU infrastructure for models you own.

© 2026 Hedra

Products

  • Inference
  • Model training
  • GPU Sandboxes
  • World Model Runtime
  • Pricing

Deployment

  • Deployment options
  • Sovereign deployment

Model Factory

  • Overview
  • Forward Deployed Researchers
  • Enterprise

Research

  • Overview
  • Recursive self-improvement
  • Mechanistic interpretability
  • Post-training
  • Inference
  • Blog

Applications

  • Physical AI
  • Defense
  • Media generation

Developers

  • Platform onboarding
  • SDKs & integrations
  • Documentation
  • Model APIs
  • MCP & CLI
  • Changelog

Company

  • About Hedra
  • Manifesto
  • Careers
  • Contact
  • Play help
  • Status
  • LinkedIn
  • X
  • GitHub
  • Discord
  • Privacy Policy
  • Terms of Use
  • Acceptable Use
  • Cookie Policy
  • Biometric Data Policy
  • Security