TL;DR
FocusPool is an end-to-end trainable attention pooling module that extracts highly localized, task-relevant visual features directly from intermediate CNN layers by conditioning on the robot's proprioceptive state. By avoiding explicit image cropping or complex two-stage pipelines, it significantly boosts data efficiency and improves robotic manipulation success rates by up to 41% while training only 5.8% of the encoder parameters.
What Problem Does This Paper Address?
When training robots to perform precise manipulation tasks using visual inputs (visuomotor policies), standard Convolutional Neural Networks (CNNs) face a spatial compression dilemma. As an image passes deeper into a CNN, the network aggregates broader context but loses spatial precision. Standard pooling methods (like average pooling or spatial softmax) often wash out tiny, critical details—such as the exact tip of a utensil or a small slot—by mixing them with background distractors.
To circumvent this, traditional approaches use explicit "coarse-to-fine" pipelines that crop the input image around an object or the robot's hand. However, these methods require separate training stages and suffer from error accumulation: if the initial crop location is slightly off, the downstream policy fails completely. The authors of this paper tackle a fundamental question: Can we extract these precise, localized features directly from standard CNN feature maps end-to-end without explicit cropping?
Methods
The authors introduce FocusPool, an attention-pooling mechanism designed to selectively extract localized features from intermediate CNN layers. The architecture consists of three main components:
- Intermediate Feature Targeting: Instead of pooling from the final layer of a CNN (e.g., Layer 4 of a ResNet-18), FocusPool extracts features from intermediate layers (Layers 1 or 2). These early layers preserve high-resolution spatial structure and locality before the features become too abstract and spatially diffuse.
- State-Conditioned Cross-Attention: FocusPool initializes a learnable query token and modulates it with the robot's current proprioceptive state (3D end-effector position and gripper state) using Feature Modulation (FiLM). It then performs iterative cross-attention ($S=3$ steps) between this state-conditioned query and the flattened intermediate image tokens (augmented with Fourier positional encodings). This dynamically generates a selective pooling mask that tracks task progression.
- Early Attention Regularization: To prevent the model from latching onto spurious background correlations early in training, the authors apply a weak attention prior. This regularizer uses a Gaussian target heatmap centered on the projected future keyframe end-effector position. Crucially, this loss linearly decays to zero during training, acting as "training wheels" that allow the model to eventually discover its own optimal focus.
Datasets
The method was rigorously evaluated in both simulation and real-world environments:
- Simulation: Evaluated on six challenging, high-spatial-variation tasks from the MimicGen benchmark: Threading D2, Square D2, Mug Cleanup D1, Stack Three D1, 3-Piece Assembly D2, and Pick Place D0. All models were trained on a budget of 100 demonstrations.
- Real-World: Evaluated on a physical UFactory xArm7 robot equipped with a fixed third-person camera and an eye-in-hand camera across three custom tasks: Coffee Transport (scooping and pouring), Table Cleanup (long-horizon sorting), and Giraffe Build (high-precision block assembly).
Key Insights and Ideas
- Intermediate features are a goldmine, if unlocked correctly: Standard pooling baselines actually perform worse when applied to intermediate CNN layers because they lack spatial selectivity. FocusPool demonstrates that intermediate layers contain the necessary localized information for control, but it requires state-conditioned attention to filter out the noise.
- Grounding requires both state and vision: Ablation studies revealed that removing either robot-state conditioning or iterative visual refinement causes the attention masks to become diffuse and less task-progressive. Both are required to disambiguate long-horizon tasks where similar robot states occur in different visual contexts.
- Heuristics make good training wheels, but bad drivers: While explicit cropping baselines fail when their heuristic keypoint predictions are slightly misaligned (e.g., when a tool's interaction point is offset from the end-effector), FocusPool uses the heuristic purely as an early regularizer. Because this regularizer decays to zero, FocusPool adaptively corrects its focus during end-to-end training.
Key Results
- Performance Leap: FocusPool achieved a 36.2% average relative success rate improvement in simulation and a 41.2% improvement in real-world tasks over the best pooling and explicit local-focus baselines.
- Data Efficiency: In data-limited regimes, FocusPool matched or exceeded baseline performance using half the training data (50 vs 100 demonstrations).
- Parameter Efficiency: By pooling directly from intermediate layers and freezing the subsequent layers, FocusPool only needs to train 5.8% of the ResNet-18 encoder parameters, significantly reducing the optimization search space.
Limitations and Future Work
- Dependency on Pretraining: FocusPool relies heavily on ImageNet-pretrained weights. Because it operates on intermediate features, it requires the early convolutional kernels to already possess robust low-level visual priors (like edge detectors). Performance drops noticeably when training from scratch.
- Architectural Generalization: While the authors successfully demonstrated FocusPool's generality by adapting it to a Vision Transformer (ViT) using DINOv3 patch tokens, the optimal readout stages, pretraining choices, and scaling properties for alternative architectures (like EfficientNet or deeper ResNets) remain open questions for future investigation.
Summary updated