GuidedAttention: Interpretable and Correctable Visual Attention for OOD-Robust Robot Manipulation via Imitation Learning

Masaki Murooka, Ryoichi Nakajo, Keisuke Shirai, Tomohiro Motoda,
Hanbit Oh, Ryo Hanai, Yukiyasu Domae
National Institute of Advanced Industrial Science and Technology (AIST), Japan
Overview of the GuidedAttention framework

GuidedAttention makes a robot policy's visual attention explicit: users can inspect it and, when needed, correct it once before execution.

Video

Abstract

End-to-end visuomotor policies provide little opportunity for humans to understand or correct the policy's visual attention. We propose GuidedAttention, a visuomotor imitation learning framework that introduces interpretable and correctable visual attention as an explicit intermediate representation. Task-relevant attention keypoints are predicted from camera images and condition a diffusion-based action policy. Users can inspect and optionally correct selected keypoints once at rollout initialization, after which the corrected attention is automatically propagated throughout execution by a tracking module. Experiments in simulation and the real world demonstrate that GuidedAttention consistently improves robot manipulation performance, particularly under positional and appearance out-of-distribution (OOD) conditions.

Method

Demonstrations are annotated with task-relevant attention keypoints in only their initial frames. An off-the-shelf tracker propagates the annotations, and the resulting keypoints supervise an attention encoder that conditions action generation.

Overall GuidedAttention policy architecture

Explicit attention for action generation

The policy predicts spatial keypoints from RGB observations and uses them as an explicit intermediate representation for diffusion-based action generation.

GuidedAttention visual attention encoder

Interpretable visual grounding

Task-relevant locations are represented as keypoints rather than remaining hidden inside an end-to-end visual representation, making the policy's focus directly inspectable.

GuidedAttention keypoint override mechanism

One-time correction with tracking

At rollout initialization, a user may override only the unreliable keypoints. The corrected attention is then tracked automatically throughout execution, without continuous supervision.

Keypoint Annotation and Tracking

For each demonstration, a user annotates task-relevant keypoints by clicking them only in the initial frame. Dynamic keypoints are automatically propagated through the remaining frames using an off-the-shelf tracker, while static keypoints remain fixed. This procedure provides dense keypoint supervision without requiring frame-by-frame manual annotation.

Experiments

We evaluate GuidedAttention on dexterous simulation and real-world manipulation tasks under in-distribution, positional OOD, and appearance OOD conditions.

Real-world manipulation

Cup Insertion
Chain Pick-and-Place
Towel Fold

Simulation manipulation

Cable
Ring
Particle

Quantitative Results

GuidedAttention improves average success rates over the action-only baselines across both real-world and simulation tasks. The gains are most pronounced under positional and appearance shifts, where correcting inaccurate attention keypoints substantially improves robustness.

Average real-world task success rates under in-distribution, positional OOD, and appearance OOD conditions
Average success rates across the real-world tasks.
Simulation task success rates across four generalization conditions
Success rates across the simulation tasks and generalization conditions.

Qualitative Analysis

The following examples illustrate the complementary benefits of explicit visual attention and one-time human correction: explicit attention improves task-relevant visual grounding, while human correction helps recover from inaccurate attention under distribution shifts.

Effect of explicit attention in the real world

DP (Failure)
DP-GA: without human correction (Success)

Effect of human correction in the real world

DP-GA: without human correction (Failure)
DP-GA: with human correction (Success)

Effect of explicit attention in simulation

DP (Failure)
DP-GA: without human correction (Success)

Effect of human correction in simulation

DP-GA: without human correction (Failure)
DP-GA: with human correction (Success)

BibTeX

@misc{murooka2026guidedattention,
  title         = {GuidedAttention: Interpretable and Correctable Visual Attention for OOD-Robust Robot Manipulation via Imitation Learning},
  author        = {Masaki Murooka and Ryoichi Nakajo and Keisuke Shirai and Tomohiro Motoda and Hanbit Oh and Ryo Hanai and Yukiyasu Domae},
  year          = {2026},
  eprint        = {2607.21049},
  archivePrefix = {arXiv},
  primaryClass  = {cs.RO},
  url           = {https://arxiv.org/abs/2607.21049}
}