TL;DR
This paper investigates "representational straightness" – how linearly visual information evolves through a neural network – and finds that adversarial training significantly straightens these representations, bringing them closer to human perception. While biologically-inspired early-stage processing helps, it doesn't guarantee straightness in deeper layers, suggesting adversarial training, rather than biological plausibility alone, is key to achieving this human-like visual processing.
What Problem Does This Paper Address?
Humans seem to process natural visual scenes over time using a "straightened" representation. This means that as information moves through the visual system, changes between successive moments in time follow a more linear path in the brain's internal representation space. Deep neural networks (DNNs), while powerful, often don't exhibit this straightness, meaning their internal representations can become quite "curved" or non-linear as they process video. This discrepancy raises questions about how well DNNs truly model human visual processing and whether this "straightness" is important for robust and stable visual understanding. The paper aims to understand what factors contribute to this representational straightness in DNNs and how it relates to biologically inspired processing and adversarial robustness.
Methods
The core of the paper's methodology revolves around quantifying "representational curvature." For a sequence of representations (e.g., from different layers of a neural network processing video frames), they define curvature as the angle between the difference vectors of consecutive frames. A smaller angle (closer to 0) indicates a straighter representation, while a larger angle signifies more curvature. They then compute this curvature for various models and layers.
Key techniques include:
- Curvature Calculation: Using the angle between successive frame difference vectors ($v_t = x_t - x_{t-1}$) as a measure of curvature ($c_t = \arccos(\hat{v}_t \cdot \hat{v}_{t+1})$).
- Global Curvature: Averaging the curvature over all time steps in a video sequence.
- Model Architectures: Evaluating standard Convolutional Neural Networks (CNNs), Vision Transformers (ViTs), and biologically-inspired models.
- Training Schemes: Comparing models trained with standard supervised learning, adversarial training (using L2 and L-infinity norms), and self-supervised learning (DINO).
- Layer-wise Analysis: Tracking curvature across different layers of the network to understand how representations evolve.
Datasets
The paper uses several datasets for evaluation:
- Chicago Motion Database [1]: Used for psychophysical experiments and as a source of natural videos.
- 'Dogville' film: A source of natural video sequences.
- LIVE Video Quality Database [29, 30]: Another source of video data.
The videos are described as grayscale, 11 frames each, with an initial resolution of 512x512 pixels. For deep networks, frames were resized to 224x224, and for bio-models using steerable pyramids, to 256x256. The authors note a limitation that they did not evaluate on larger video datasets.
Key Insights and Ideas
- Adversarial Training is Key to Straightness: The most striking finding is that adversarial training, particularly with L2 attacks, significantly reduces representational curvature in both CNNs and Transformers. This suggests that making models robust to small, imperceptible perturbations forces them to learn more linear and stable representations, mirroring human perception.
- Biological Inspiration Helps Early, But Not Always Later: Biologically-inspired models (like PeriphNet and Henaffbio) show straighter representations, especially in earlier processing stages (e.g., V1-like filters). However, this straightness doesn't always propagate to deeper layers in CNNs, indicating that early-stage biological mimicry alone isn't sufficient for overall representational straightness.
- Curvature as a Metric for Human-likeness: The paper proposes representational curvature as a computationally cheap and effective metric to evaluate how closely a model's internal representations align with human visual processing.
- L2 vs. L-infinity Norms: L2 adversarial attacks lead to straighter representations than L-infinity attacks. The authors hypothesize this is because the L2 norm considers all components of a vector, allowing for more holistic updates during training that promote overall representation stability.
- Straightness and Robustness Correlation: While adversarial attacks reduce curvature, improved test accuracy doesn't necessarily predict greater curvature reduction. This implies that straightness is a distinct property from raw classification accuracy.
Key Results
- Adversarially trained models show lower output curvature compared to their non-adversarially trained counterparts. For example, Figure 2 shows that most adversarially trained image models have significantly lower output curvature than standard trained models.
- Non-parametric biological models exhibit the lowest output curvatures, suggesting their design inherently promotes straightness.
- Video prediction models (like PredNet) show output curvatures similar to their input pixels, as they are trained to directly predict the next frame.
- Adversarial attacks (especially L2) decrease output curvature, with stronger attacks leading to more pronounced reductions. Figure 3 illustrates this, showing a clear trend of decreasing curvature with increasing attack strength.
- Layer-wise analysis (Figure 4) reveals varied trends: While many models show consistent straightening across layers, some (like ResNet50) show initial curving followed by straightening, and others (like CrossVIT) show complex patterns.
- Biologically-inspired models (Figure 5) generally show progressive straightening through layers, with some exceptions like VOneNetCornets, which exhibits a sharp increase in curvature after a noise layer.
Limitations and Future Work
- Limited Video Datasets: The authors acknowledge that they did not evaluate models on larger video datasets, focusing instead on psychophysically validated stimuli.
- VOneNetCurvature Anomaly: The VOneNet model's sharp increase in curvature after its V1 layer, even when noise was removed, remains puzzling. This suggests that simply incorporating biologically inspired filtering mechanisms at the input might not be enough to achieve downstream straightness.
- Adversarial Training vs. Biological Plausibility: The paper highlights a puzzling observation: adversarial training, which is biologically implausible, leads to straighter representations than some biologically inspired mechanisms. This suggests that further modifications or constraints are needed to align human and machine representations using biologically plausible methods.
- Future Work: The authors suggest that representational curvature is a promising metric for evaluating visual models and could be a common thread between biologically inspired and adversarially robust models. Future work could explore how to achieve straightness using biologically plausible methods and investigate the benefits and limitations of these techniques for creating temporally-stable representations.
Summary updated