Abstract
Optical flow estimation is a cornerstone of autonomous navigation and obstacle avoidance. While deep neural networks have achieved state-of-the-art performance in this domain, their security and robustness against adversarial perturbations are not well understood. This study demonstrates that small, localized adversarial patches—covering less than 1% of the image—can catastrophically disrupt motion estimation across an entire scene. Crucially, we find that architectural design is the primary determinant of robustness: encoder-decoder networks are highly fragile, whereas spatial pyramid architectures and classical geometric methods offer significantly greater resilience.
Introduction
Optical flow—the task of estimating 2D pixel motion between consecutive video frames—is essential for safety-critical applications like self-driving cars. If a vision system fails to correctly perceive motion, it may fail to detect a crossing pedestrian or miscalculate the trajectory of an oncoming vehicle. This paper explores whether localized "stickers" or adversarial patches can be used to deceive these systems, either by creating illusory motion or by "erasing" real moving objects from the network's perception.
Methodology
The researchers adapted adversarial patch techniques to the regression problem of optical flow. Unlike global noise attacks, these patches are high-contrast, localized patterns designed for real-world deployment.
Optimization and Attack Types
The patches were optimized to minimize the cosine similarity between the ground truth flow and the predicted flow, effectively training the patch to force the network to predict motion in the opposite direction. The study evaluated:
- White-box Attacks: Where the attacker has full access to the target model's parameters.
- Black-box Attacks: Where a "universal" patch is designed to generalize across multiple unknown architectures.
- Zero-Flow Test: A diagnostic tool using identical frames of random noise. Ideally, the output should be zero; non-zero outputs reveal inherent spatial biases and vulnerabilities in the network's architecture.
Architectural Vulnerabilities
The most significant insight from this work is that "architecture is destiny." The study identifies a sharp divide in robustness between two common deep learning paradigms for optical flow.
Encoder-Decoder Fragility
Networks like FlowNetC utilize an encoder-decoder structure that compresses the entire scene into a low-dimensional bottleneck. This design allows adversarial signals from a tiny patch to "leak" into the global representation, scrambling flow estimates even in regions far removed from the patch.
Spatial Pyramid Resilience
In contrast, spatial pyramid architectures like SpyNet and PWC-Net process motion at multiple scales and refine it locally. This hierarchical approach effectively "traps" the adversarial influence within the local region of the patch, preventing it from corrupting the rest of the scene.
Experimental Results
The researchers benchmarked these vulnerabilities using the KITTI 2015 and KITTI Raw datasets.
- FlowNetC: A patch covering just 0.1% of the image increased average error by over 400%. At 4.8% coverage, error increased by 555%, effectively rendering the system blind to motion.
- PWC-Net: Demonstrated remarkable resilience, with only a 13% increase in error under similar attack conditions.
- Classical Methods: Non-learning-based methods like LDOF proved the most robust, suggesting that hard-coded geometric constraints provide an inherent safety margin that purely learned models lack.
Conclusion and Future Directions
This research exposes a "glass jaw" in certain deep learning models for optical flow. While spatial pyramids offer a more secure alternative, they are not invincible. Future work must focus on developing adversarial training regimes specifically for regression tasks and investigating methods to enforce true spatial invariance in convolutional layers. Ensuring the robustness of optical flow is a prerequisite for the safe deployment of autonomous systems in the real world.
Summary updated