Skip to content
Robotics.world

Research

Cleanly-DINO: Efficiently Learning Visual Task Spaces for Robotics

Many robot-learning methods describe manipulation tasks as sequences of object poses, which works when the goal is to move rigid objects. Cleaning-type tasks have no such natural pose abstraction…

arXiv
2611.20137 · accepted · CORL workshop
Published
2026-11-15
Authors
Adrian Röfer, Melika Shekarriz, José Arce y de la Borbolla, Iman Nematollahi, Abhinav Valada

In plain words

Many robot-learning methods describe manipulation tasks as sequences of object poses, which works when the goal is to move rigid objects. Cleaning-type tasks have no such natural pose abstraction, since success is defined by a change in visual appearance rather than object position.

AI summary

Overview

  • Research area: Robot learning and manipulation, specifically self-supervised learning of visual task representations from video demonstrations, with evaluation in reinforcement learning and on a real robot.
  • Technical level: Intermediate. The paper assumes familiarity with Vision Transformer features, contrastive objectives, and standard RL training (SAC), though the core idea is easy to grasp.
  • Scope: The paper proposes Cleanly-DINO, a method that fits a lightweight projection on frozen DINOv2 ViT-S features to produce a patch-wise measure of how far a cleaning task has progressed, and evaluates it for progress localization, cross-domain transfer, RL reward/observation use, and real-world robotic wiping.

What This Paper Is About

Many robot-learning methods describe manipulation tasks as sequences of object poses, which works when the goal is to move rigid objects. Cleaning-type tasks have no such natural pose abstraction, since success is defined by a change in visual appearance rather than object position. The paper asks what representation should replace poses for these tasks, and proposes learning a visual "task space" from only a few demonstrations that indicates which regions of a surface still need work.

Key Contributions

  1. A self-supervised method for learning visual task spaces. Given a mask of the task-relevant region and frozen DINOv2 ViT-S features, Cleanly-DINO fits a projection into a low-dimensional task space and extracts initial and final anchors, from which a progression score is computed per ViT patch.
  2. Trajectory-aligned abstention. A filtering step estimates a per-demonstration task axis from the mean normalized displacement of the furthest-travelling patches, then discards the least-aligned fraction of changing patches, so the projection is fit only on patches whose change is consistent with the task.
  3. A localized benchmark of six visually distinct cleaning tasks. The authors collect self-recorded and internet videos with hand-labeled per-patch clean/dirty/ambiguous annotations: 53 demonstrations, 490 labeled frames, and 155,131 assessable patch labels (93,051 clean, 62,080 dirty), split into 28 training and 25 held-out demonstrations with every task present in both.
  4. Downstream validation in three settings. The fitted model is used as an observation space and as a reward signal for a Soft Actor-Critic agent on a simulated wiping task, and is deployed in a real robotic wiping pipeline on a physical table.

Main Findings

  • Abstention is what makes the projection useful. With only the plain grouping from Section 3.1, Cleanly-DINO reached 0.621 ± 0.07 within-frame AUROC with a linear projection, below raw DINOv2 at 0.702 ± 0.08. Adding the abstention filter raised it to 0.763 ± 0.07 (linear) and 0.771 (MLP), exceeding the best raw DINOv2 condition (0.721 ± 0.08) by 0.04–0.05.
  • Temporal baselines are weaker at localization. Under the abstain setting, TCN scored 0.638 ± 0.07, PROGRESSOR 0.639 ± 0.05, and TimeRewarder 0.558 ± 0.04, versus 0.763 ± 0.07 for Cleanly-DINO with a linear head.
  • DINOv3 was worse than DINOv2 here. The authors report that DINOv3's feature space is heavily biased by patch position, which they could confirm experimentally; raw DINOv3 scored 0.688 ± 0.215 in the plain linear setting.
  • The abstention threshold is not sensitive. For α_q ∈ {0.55, 0.70, 0.85} with a linear projection, scores were 0.750, 0.763, and 0.769.
  • In-domain data dominates cross-domain data. Training on k ∈ {0, 1, 3} in-domain demonstrations always outperformed training on foreign tasks, though adding up to three foreign tasks did boost target-task performance and saturated at three. A single in-domain demonstration improved AUROC much more than out-of-domain training could, and adding out-of-domain data had almost no negative impact on already-trained tasks — a property raw DINOv2 does not share.
  • Better observation space, twice the robustness. Both Cleanly-DINO and raw DINOv2 policies started at similar success (81.3 ± 7.4 and 81.9 ± 9.0) in the default scene. Under shifted visual appearance, declines on raw DINOv2 were on average twice as large, and performance instability grew by roughly 70 percent for DINOv2 while remaining constant for Cleanly-DINO. The conclusion states RL policies trained on Cleanly-DINO were 50 percent more robust to visual changes.
  • No advantage as a reward signal. Peak wiped fraction was 92.6 ± 3.1 for Cleanly-DINO, 90.9 ± 1.2 for TimeRewarder, 89.4 ± 3.2 for TCN, and 90.5 ± 4.6 for the environment; final values were 76.4 ± 3.6, 83.3 ± 2.7, 85.0 ± 10.8, and 85.7 ± 9.7 respectively. TCN achieved the highest rollout performance in the last 25 percent of training at 96.9 ± 6.1. The authors conclude that a localized signal provides no benefit over one that detects any relevant change, since the reward only has to fire correctly.
  • Real-world wiping reaches a large share of human performance. Across 60 survey responses with 8 human subjects rating before-and-after images on a 5-point scale, humans scored 4.39 ± 0.94 and the robot 3.64 ± 1.09, placing the robot at roughly 83 percent of the human ceiling.
  • Known failure mode. On an irregularly patterned dark floral tablecloth, the model marked the entire table as dirty and failed; the paper notes that a single sample can adapt the model, but an in-context learning strategy is needed to exploit that.

Methodology in Plain English

The method treats a cleaning video as evidence of a visual transformation. First, a frozen DINOv2 ViT-S encoder turns each frame into a grid of patch embeddings, and a mask supplied for the task-relevant region (obtained with SAM2 in deployment) selects which patches count.

Next, the system decides which patches actually changed. A patch counts as "changing" if its first-frame embedding and last-frame embedding are sufficiently dissimilar, controlled by α_C = 0.9; everything else is assumed already in the final state. For intermediate frames, changing patches are greedily assigned to "not yet done" or "done" groups based on similarity to their own start and end embeddings, with a soft weight that reflects how far along the transition a patch is.

A refinement addresses a quirk of ViT encoders: because all patches influence one another, a patch can appear to change simply because its neighborhood changed. The method estimates a single per-demonstration "task axis" from the average direction travelled by the top α_a = 0.2 fraction of patches, scores each changing patch by how parallel its own displacement is to that axis, and abstains on the least aligned α_q = 0.7 fraction. Those abstained patches supply no training signal.

The projection itself is a small linear layer or one-layer MLP mapping into K = 8 dimensions, trained with a contrastive objective that pulls the "not done" group and the "done" group toward opposite poles of a hypersphere, weighted by the soft per-patch weights. Progress is then read out with a closed-form function of the distances and dot products of a projected patch embedding to the initial and final anchors, producing a value between 0 and 1 per patch. Global progress is the minimum over patches, and the anchors are averaged over leading and trailing frames chosen by 97 percent mask overlap to reduce noise.

For the robot, the policy simply picks the lowest-progress patch reachable by inverse kinematics, performs a 10 cm stroke with roughly 10 N downward force, averages embeddings over a window of recent images, and uses a noise floor derived from the 90th percentile of change in un-wiped patches to decide whether a stroke actually helped. A patch is marked unresponsive after two unsuccessful wipes, and the episode ends when the minimum progression exceeds 0.74.

Why This Matters

The paper makes a case that for a broad class of tasks defined by visual state change, a learned patch-level progress field can substitute for the pose-based abstractions that dominate manipulation research. It also shows a concrete, cheap recipe: freeze a strong pretrained encoder, fit only a tiny projection, and get a signal that is spatially localized rather than a single global "how far along am I" scalar. The negative result on reward shaping is as useful as the positive ones, since it suggests localization matters for where to act but not for training a reward.

Real-world applications:

  • Robotic cleaning and disinfection of tables, whiteboards, and food-processing surfaces, where the robot must decide where to wipe and when to stop.
  • Pressure washing and facade or building maintenance, explicitly named in the paper's evaluation domains.
  • Coverage-style surface tasks such as polishing, coating, or spraying, which share the property that success is a visual change over a region rather than an object displacement.
  • Service and household robots that need to be taught a new surface task from a handful of user demonstrations rather than a full teleoperation dataset.

Industry relevance centers on sample efficiency (the stated target is 5 or fewer demonstrations), transfer across visually different environments, and the low compute cost of fitting a projection on frozen features rather than fine-tuning a backbone. The measured robustness gain of Cleanly-DINO-based policies under appearance shift is directly relevant to deployments where lighting, table coverings, or dirt color differ from the training site.

Future Directions

  • Conditional task spaces. The authors plan to extend Cleanly-DINO to shared axes with sub-axes, giving painting with different colors as an example.
  • In-context adaptation. A single demonstration can apparently adapt the model to a new setting such as the floral tablecloth, but a strategy for exploiting this at deployment time is missing.
  • Dynamic termination and "clean" estimation. The real-world pipeline used a constant 0.74 threshold and an action limit; estimating the clean signal per scene would be more reliable, and the paper raises the open question of distinguishing a finished task from one that is simply beyond the robot's means.
  • Extending beyond cleaning. The monotonicity assumption and the start/end-only supervision are specific to tasks with a clear directional visual change; how far the approach generalizes to other visually defined tasks is not established by the reported experiments.

Target Audience

Robotics researchers working on manipulation from demonstration, self-supervised perception for control, and reward or representation learning for RL. It is also useful for engineers building surface-treatment or cleaning robots who want a practical, low-cost way to get a spatial "where to work next" signal from a pretrained vision model. Readers without background in ViT features or contrastive learning will need to consult the cited DINOv2 and TCN papers first.

Authors’ abstract

Learning manipulation tasks from few demonstrations requires abstractions that capture the changes relevant to task completion, such as object poses in rigid-body manipulation. However, tasks such as cleaning are defined by changes in visual state rather than object pose, making the choice of task representation less clear. In this work, we propose Cleanly-DINO to learn visual task spaces from few demonstrations. Given a mask of a task-relevant region and frozen ViT…

The full abstract on arXiv
Read the original paper

Related papers