Abstract
Deep neural networks are typically "data gluttons," requiring massive datasets to avoid memorizing noise—a phenomenon known as overfitting. OSLNet addresses this challenge through a structural innovation: the Orthogonal Softmax Layer (OSL). By replacing the standard fully connected classification layer with a sparse, structured architecture, OSLNet forces class weight vectors to remain pairwise orthogonal. This design reduces the model's Rademacher complexity by a factor of $1/K$ (where $K$ is the number of classes), providing a tighter generalization bound. Empirical results demonstrate that OSLNet significantly outperforms standard regularizers on small-sample benchmarks like UIUC-Sports and Caltech101 while maintaining stability across training runs.
Introduction
In small-sample scenarios, the high parameter count of deep networks becomes a liability. While data augmentation and domain adaptation are common remedies, they are often computationally expensive or limited by the relevance of source datasets. OSLNet takes a different approach by restricting the network's architecture so it inherently resists overfitting. The goal is to simplify the optimization landscape and enforce discriminative feature learning through geometric constraints.
The Orthogonal Softmax Layer (OSL)
The core of OSLNet is the replacement of the standard fully connected (FC) layer with the OSL. This layer introduces two primary constraints:
- Structural Sparsity: Instead of a dense connection where every hidden neuron connects to every output class, OSL uses a fixed mask matrix $M$. Each hidden neuron is assigned to exactly one class, creating a sparse, block-diagonal-like influence.
- Enforced Orthogonality: This sparse structure ensures that the weight vectors for different classes are orthogonal by design. Unlike methods that rely on auxiliary loss functions to encourage orthogonality, OSL achieves it through the network's physical architecture.
Theoretical Foundation
The authors provide a rigorous proof showing that OSL reduces the Rademacher complexity—a measure of a model's ability to fit random noise—compared to a standard FC layer. By reducing this complexity by a factor of $1/K$, the gap between training performance and test performance is narrowed, which is critical when data is scarce.
Experimental Results
OSLNet was evaluated on several small-sample benchmarks, including UIUC-Sports (1,579 images), 15Scenes, and Caltech101.
- Accuracy: On UIUC-Sports, OSL achieved 90.16% accuracy, surpassing standard FC layers (88.37%) and Dropout (88.89%).
- Stability: The model exhibited lower variance across training rounds, suggesting it is less sensitive to specific data splits than traditional architectures.
- Ensemble Performance: When paired with Snapshot Ensembling, the model (OS-SnapShot) reached 93.69% accuracy on Caltech101.
Geometric Insights
The primary benefit of OSL is its role as a geometric regularizer. By forcing class weights to be $90^\circ$ apart, the model is compelled to learn features that are highly distinct. This prevents "co-adaptation," where neurons become overly dependent on one another, and ensures that class boundaries remain well-separated.
Conclusion
OSLNet demonstrates that architectural constraints can be as effective as—or more effective than—traditional regularization techniques for small-sample learning. By leveraging orthogonality and structural sparsity, OSLNet provides a robust framework for training deep models on limited data. Future work remains to optimize OSL for datasets with massive class counts, where the required width of the hidden layer may become a scaling bottleneck.
Summary updated