Abstract
Standard Convolutional Neural Networks (CNNs) often struggle to learn relational rules between objects when those objects undergo significant visual transformations such as rotation, scaling, and coloring. This paper introduces Residual Mixture Networks (ResMixNets), a modular "mixture-of-experts" architecture designed to mitigate feature interference. ResMixNets achieve state-of-the-art accuracy on complex relational tasks while utilizing up to 70x fewer parameters than traditional models.
Introduction
Deep CNNs have become the standard for computer vision, yet they typically rely on fully distributed representations where every feature learned in a layer is applied globally. While effective for standard object recognition, this approach falters in tasks requiring invariant relational reasoning—for example, determining if two objects share a trait despite random translations, rotations, and color shifts.
The authors argue that in such scenarios, distributed features begin to interfere with one another. The network must associate a vast array of disparate visual patterns with a single label, leading to "parameter interference." This results in sluggish training, sensitivity to initialization, and poor generalization. To address this, the paper proposes a modular architectural prior inspired by the human visual cortex.
The Residual Mixture Network (ResMixNet)
The proposed ResMixNet architecture combines standard residual learning with a Mixture-of-Experts (MoE) framework. Instead of a purely distributed hierarchy, the model interleaves shared representations with specialized modules:
- Shared Early Layers: Standard convolutions learn basic, low-level features like edges and curves.
- Expert Modules: The network branches into $E$ expert modules, each consisting of a stack of $D$ ResNet blocks.
- Gater Network: A parallel network analyzes the input to output a probability distribution, weighting the contributions of each expert.
By routing different visual variations to specialized sub-networks, ResMixNet reduces feature interference and handles massive invariances with high efficiency.
Experimental Datasets
The model was evaluated on two custom relational reasoning datasets designed for high invariance and low sample regimes, as well as three standard benchmarks:
- MNIST Parity: Images contain two MNIST digits placed randomly. The task is to predict if they share the same parity (both even or both odd) under random translation, scaling, rotation, and coloring.
- Colorized Pentomino: Images contain three Tetris-like sprites. The task is to predict if all three are the same sprite type, subject to the same heavy transformations.
- Standard Benchmarks: CIFAR-10, CIFAR-100, and SVHN were used to evaluate performance on non-relational, classical vision tasks.
Results and Discussion
Relational Reasoning Performance
On the MNIST Parity task, VGG19-BN (20M parameters) achieved a 2.27% error rate, while standard ResNets failed significantly (11% to 30% error). In contrast, ResMixNet achieved a 1.98% error rate using only 274K parameters—a 70x reduction in size compared to VGG19.
The results were even more pronounced on the Colorized Pentomino dataset. While standard models hovered around 30-34% error, ResMixNet achieved a 0.88% error rate with only 193K parameters, representing a nearly 30x reduction in error compared to baselines.
Classical Vision Tasks
On CIFAR-10 and SVHN, ResMixNet matched the performance of a ResNet50 baseline within a 1% margin. However, it lagged behind ResNet50 on CIFAR-100 by approximately 5.4%. The authors suggest this is because CIFAR-100 contains many semantically similar classes that benefit from shared features, making strict modularity a sub-optimal prior in that specific context.
Conclusion
ResMixNet demonstrates that modularity is a powerful architectural prior for learning invariant relational rules. By allowing specialized experts to handle specific visual variations, the model avoids the interference problems inherent in distributed representations. This leads to extreme parameter efficiency and superior performance on complex reasoning tasks. Future work will explore the optimal balance between modular and distributed representations to create a more general-purpose visual architecture.
Summary updated