Abstract
Deep neural networks often fail to generalize due to their tendency to learn spurious correlations within training data. We present Racecar Training, a novel regularization method that utilizes a palindromic forward-backward pass to enforce data-dependent orthogonality. By requiring the network to reconstruct its own internal activations and inputs using transposed weights, the model is incentivized to learn dominant, information-preserving features. Our results across multiple benchmarks, including texture-shape classification and CIFAR-10 generalization, demonstrate that Racecar training significantly improves robustness and feature interpretability while allowing for model compression.
Introduction
A persistent challenge in deep learning is the "cheating" behavior of models, where they identify objects based on environmental cues (e.g., background textures) rather than intrinsic shapes. While standard regularizers like dropout provide some relief, they are data-blind. Existing orthogonalization techniques similarly treat all feature space directions as equally important. Racecar Training addresses this by making the regularization sensitive to the actual distribution of the training data, ensuring that the most critical information is preserved across layers.
Methodology: The Racecar Pass
The proposed method is named for the palindrome "racecar," reflecting its bidirectional nature. During training, each forward pass is accompanied by a reverse pass.
The network uses the transpose of its weight matrices to attempt a reconstruction of the previous layer's activations, continuing back to the original input. The optimization objective includes the "racecar loss" ($L_{racecar}$), which is the $L^2$ distance between the original activations and their reconstructions. This process encourages the input data vectors to become the eigenvectors of the weight matrix product $M^T M$ with eigenvalues of 1, effectively implementing a data-driven orthogonality constraint.
Key Insights and Feature Interpretability
Racecar training fundamentally alters the information flow within the network. Unlike standard models that follow the Information Bottleneck principle—discarding information to achieve abstraction—Racecar-trained models maintain a more balanced mutual information profile.
A striking consequence of this approach is that the singular vectors of the weight matrices become intuitive, often resembling the input data itself (e.g., ghostly outlines of digits). This interpretability suggests that the model is learning the "dominant" features of the data distribution. Furthermore, this focus on essential features allows for significant model pruning; the authors report matching state-of-the-art performance with a 32% reduction in total weights.
Experimental Results
The efficacy of Racecar training was validated across several challenging benchmarks.
- Generalization: In the Texture-Shape classification task, the Racecar model ($RR_{TS}$) achieved an accuracy of 54.7%, a substantial improvement over standard training (44.2%) and traditional orthogonal regularizers (47.0%).
- Robustness: When transferred from CIFAR-10 to the CIFAR-10.1 dataset, Racecar-trained Resnet110 models maintained a higher performance lead, indicating that the learned features are more robust to distribution shifts.
- Stylization: In image style transfer tasks, Racecar-trained VGG19 backbones showed a superior ability to decouple content from style, resulting in cleaner images with fewer artifacts compared to standard models.
Limitations
The primary trade-off for these gains is computational cost; the additional reverse pass increases training time per epoch by approximately 42%. Additionally, handling non-invertible operations like max-pooling requires specific layer-wise loss variants. Finally, the high fidelity of input reconstruction raises potential data privacy concerns that warrant further investigation.
Conclusion
Racecar Training offers a powerful, data-driven alternative to traditional regularization. By forcing networks to remain "reversible," it encourages the learning of robust, interpretable, and efficient features that generalize better to unseen data distributions.
Summary updated