TL;DR
Researchers have developed a novel algorithm, Spatiotemporal Style Transfer (STST), to generate dynamic visual stimuli that precisely control low-level spatiotemporal features while decoupling them from high-level semantic content. This tool is crucial for understanding how biological and artificial vision systems process visual information, particularly in dynamic scenarios.
What Problem Does This Paper Address?
Understanding how our brains and artificial vision systems process visual information is a fundamental challenge. A key method for studying this involves generating controlled visual stimuli to test specific hypotheses. While methods for generating static images and manipulating their features have advanced significantly, creating dynamic visual stimuli (videos) that precisely control spatiotemporal features while isolating them from semantic content has been a significant bottleneck. Existing methods often produce artificial-looking outputs or fail to accurately capture the complex interplay between spatial and temporal information in natural videos. This limits our ability to rigorously test theories of object recognition and visual processing in dynamic environments.
Methods
The core of this work is the Spatiotemporal Style Transfer (STST) algorithm. It builds upon the concept of neural style transfer but extends it to videos using a two-stream neural network architecture.
- Two-Stream Architecture: One stream processes spatial features within individual frames (using a VGG-19 network), while the other processes temporal features across consecutive frames (using a multiscale spacetime-oriented energy model, MSOE).
- Spatiotemporal Loss Function: The algorithm optimizes a flexible loss function that combines four components: spatial content loss, spatial texture loss, temporal content loss, and temporal texture loss. This allows for precise control over how the generated video matches the target video's features.
- Model Metamers: The generated videos are called "model metamers." These are designed to elicit similar low-level neural responses in a model as natural videos but differ in high-level semantic content.
- Preconditioning Techniques: To ensure perceptual stability and reduce artifacts in complex natural videos, STST incorporates several techniques:
- Total Variation Loss: Encourages smoothness while preserving edges.
- Multiscale Optimization: Starts optimization at lower resolutions and iteratively increases it.
- Color Transfer: Matches color distributions between generated and target videos.
- Frame Blending: Smooths transitions between frames to reduce flickering.
- Spatiotemporal Factorization: A key innovation is the ability to independently synthesize spatial and temporal features from different source videos. This allows researchers to create videos that have the spatial characteristics of one video and the temporal characteristics of another.
Datasets
- YouTube-8M dataset: Used for generating initial high-quality video clips (120 frames at 60 FPS, 360x640 resolution) for demonstrating the STST algorithm.
- Kinetics-400 dataset: A larger dataset (100 videos from diverse action labels) used for validation and ablation studies.
Key Insights and Ideas
- Decoupling Low-Level from High-Level Features: STST successfully generates videos that match low-level spatiotemporal statistics (like optical flow) of natural videos but lack high-level semantic meaning (e.g., object identity). This is crucial for isolating the processing of these different feature types.
- Optical Flow is Key for Naturalness: The study highlights the importance of accurately matching optical flow for perceived naturalness in dynamic stimuli. STST significantly outperforms a baseline method (STPS) in preserving optical flow.
- Hierarchical Processing in Vision Models: Both image and video classification models show similar early-layer representations for natural and metamer stimuli, but diverge significantly in later layers. This supports the idea that early layers capture low-level features, while later layers integrate them into semantic representations.
- Predictive Coding Networks (PredNet) Don't Necessarily Need High-Level Semantics for Prediction: Surprisingly, PredNet's next-frame predictions were not impaired by the absence of high-level semantic information in the metamer stimuli. In fact, predictions were sometimes better for the manipulated stimuli, suggesting PredNet might rely more on preserving low-level temporal regularities.
- Human Vision Shows a Spatial Bias: When presented with spatiotemporally factorized videos (spatial from one source, temporal from another), humans (and deep vision models) showed a bias towards judging similarity based on spatial features over temporal ones. This suggests a potential asymmetry in how our visual system integrates dynamic information.
Key Results
- STST vs. STPS: STST significantly outperformed Spatiotemporal Phase Scrambling (STPS) in preserving key spatiotemporal features, particularly optical flow (PCC, d = 4.25 for angle).
- Model Metamer Similarity: Deep vision models (ResNet50, ConvNeXt-T, ResNet18-3D, ResNet18-MC3) showed high similarity (CKA scores) between natural and STST stimuli in early layers, but significantly lower similarity in late layers.
- PredNet Performance: SSIM scores for PredNet's next-frame predictions were comparable or even higher for STST and STPS stimuli compared to original videos. CSSIM (conditional SSIM) revealed that PredNet's predictions were less reliant on simply copying previous frames for STST and STPS stimuli.
- Human Perception: Human participants described metamer stimuli less consistently than natural videos, indicating a lack of high-level content. In direct comparisons, humans preferred STST stimuli over STPS stimuli, likely due to better preservation of low-level features like optical flow.
- Spatiotemporal Factorization: Humans and deep vision models could independently judge spatial and temporal similarity in factorized stimuli, but showed a significant bias towards spatial similarity judgments (accuracy for spatial > temporal).
Limitations and Future Work
- Discrepancy in Factorization: The authors acknowledge that in the spatiotemporal factorization experiments, spatial features were slightly better matched to their targets than temporal features. While they argue this doesn't fully explain the spatial bias, it's a factor to consider.
- PredNet's Specific Architecture: The findings regarding PredNet's performance might be specific to its particular architecture and training objective (minimizing lowest-level prediction error).
- Future Directions: The authors suggest exploring combinations of content and texture loss across spatial and temporal dimensions, potentially with up to four distinct target videos. This opens doors for applications like "video style transfer" and investigating more complex interactions between visual features. They also propose using different spatial and temporal stream models to explore longer temporal scales.
Summary updated