TL;DR
This paper demonstrates that for visual robotic task planning, contrastive-based representation learning significantly outperforms traditional reconstruction-based methods (like Autoencoders). By leveraging simple task priors and data augmentation, contrastive models can ignore task-irrelevant visual factors—such as changing viewpoints or "distractor" objects—to create a latent space that is much more effective for high-level planning.
What Problem Does This Paper Address?
In robotics, "planning from pixels" is a holy grail: the ability for a robot to look at a scene and determine a sequence of actions to reach a goal state. To do this, researchers usually map high-dimensional images into a low-dimensional "latent space."
The standard approach has been reconstruction-based learning (e.g., Autoencoders), where the model is trained to compress an image and then perfectly reconstruct it. The fatal flaw here is that reconstruction forces the model to care about everything in the image—lighting, camera angles, and background clutter—even if those factors don't affect the robot's actual task. If two images of the same physical state look different because the camera moved, a reconstruction model treats them as different states, which breaks the logic needed for task planning.
Methods
The authors conduct a systematic comparison between several types of state representation models:
- Unsupervised Baselines: PCA, standard Autoencoders (AE), and Variational Autoencoders ($\beta$-VAE).
- Hybrid Models: PC-AE and PC-VAE, which combine reconstruction loss with a Pairwise Contrastive (PC) loss.
- Purely Contrastive Models: Siamese networks using either a simple pairwise distance loss (PC-Siamese) or a normalized temperature-scaled Cross Entropy loss (CE-Siamese, similar to InfoNCE).
To enable planning, they use a Latent Space Roadmap (LSR). This involves clustering the learned latent representations (using HDBSCAN) to form a graph where nodes are states and edges are valid actions.
A key technical contribution is a synthetic data augmentation strategy for contrastive models. If the robot knows two images represent the same state (a "similar pair"), the authors randomly sample other images from the dataset to create "dissimilar pairs," teaching the model exactly what it should ignore versus what it should distinguish.
Datasets
The study utilizes three distinct environments designed to test "task-irrelevant factors":
- Box Manipulation (Real World): A physical robot moves four interchangeable boxes on a $3 \times 3$ grid. The dataset includes side views, top views, and mixed views with naturally occurring distractors like people moving in the background.
- Shelf Arrangement (Simulation): A Unity-based task where a robot arranges a bowl, pot, mug, and plate. This dataset introduces "distractor objects" (like a hat or coffee mug) that appear randomly and have no impact on the task.
- Box Stacking (Simulation): A vertical stacking task viewed from multiple camera angles (front, left, right) to test viewpoint invariance.
Key Insights and Ideas
- Reconstruction is too "honest": Because AE/VAE models must reconstruct the entire image, they waste latent "capacity" on distractors and lighting. This leads to "spurious clusters" where different physical states are lumped together just because they share a similar background.
- Contrastive learning is "selective": By using a similarity signal (knowing two images are the same state), Siamese networks learn to collapse visually different observations into the same latent point.
- The "Aha!" of CE-Siamese: The Cross-Entropy based Siamese model (CE-Siamese) was the most robust. It doesn't just push similar things together; its training procedure inherently generates a large number of dissimilar pairs, making it much better at structuring the latent space without needing a decoder.
- Data Augmentation is a Force Multiplier: For contrastive models, simply telling the model "this random image is probably not the same as this one" (synthetic dissimilar pairs) dramatically improved planning success rates, especially in the presence of distractors.
Key Results
- Planning Success: In the top-view box manipulation task, the CE-Siamese model achieved a 98.3% path success rate, while the standard Autoencoder (AE) and VAE failed completely (0%).
- Robustness to Viewpoints: When training on mixed viewpoints ($BM_{st}$), purely contrastive models maintained high performance (~78% success), whereas reconstruction-based models could not reconcile the visual differences between top and side views.
- Clustering Quality: Qualitative t-SNE plots (visualizations of the latent space) showed that CE-Siamese produced clean, well-separated clusters corresponding to true physical states, while AE/VAE plots looked like "spaghetti," with states hopelessly tangled together.
Limitations and Future Work
The primary limitation is the reliance on task priors. The contrastive models require a signal (even if weakly supervised) to know which observations correspond to the same state. While the authors show this can be collected via self-supervision (e.g., the robot swapping two interchangeable objects), it is more "expensive" than purely unsupervised learning.
Future work could explore:
- Moving beyond quasi-static tasks to more dynamic environments.
- Integrating these representations with reinforcement learning.
- Reducing the amount of prior knowledge needed to identify "similar" states.
Summary updated