Abstract Although Deep Convolutional Neural Networks (CNNs) have liberated their power in various computer vision tasks, the most important components of CNN, convolutional layers and fully connected layers, are still limited to linear transformations. In this paper, we propose a novel Factorized Bilinear (FB) layer to model the pairwise feature interactions by considering the quadratic terms in the transformations. Compared with existing methods that tried to incorporate complex non-linearity structures into CNNs, the factorized parameterization makes our FB layer only require a linear increase of parameters and affordable computational cost. To further reduce the risk of overfitting of the FB layer, a specific remedy called DropFactor is devised during the training process. We also analyze the connection between FB layer and some existing models, and show FB layer is a generalization to them. Finally, we validate the effectiveness of FB layer on several widely adopted datasets including CIFAR-10, CIFAR-100 and ImageNet, and demonstrate superior results compared with various state-of-the-art deep models.
1. Introduction
Standard Convolutional Neural Networks (CNNs) primarily rely on linear transformations—convolutions and fully connected layers—interspersed with point-wise non-linearities like ReLU. While highly successful, these architectures often fail to explicitly model complex pairwise feature interactions. For instance, the joint presence of two specific visual features might provide significantly more discriminative information than their individual occurrences.
Existing approaches to capture these interactions, such as Bilinear Pooling, typically suffer from a "parameter explosion." A standard bilinear layer for high-dimensional inputs (like those in ImageNet models) can add upwards of 250 million parameters, leading to prohibitive memory costs and a high risk of overfitting. This paper introduces the Factorized Bilinear (FB) layer, which achieves the representational power of bilinear models with linear computational complexity.
2. The Factorized Bilinear Layer
The core innovation is the FB layer, which extends the standard linear transformation $y = b + w^T x$ by adding a quadratic term to model feature interactions. To keep the parameter count manageable, the interaction matrix is constrained to be low-rank via factorization. The output is defined as:
$$y = b + w^T x + x^T F^T F x$$
where $F \\in \\mathbb{R}^{k \\times n}$ is the factor matrix and $k \\ll n$ is the number of factors. By rearranging the mathematical operations, the complexity is reduced from $O(n^2)$ to $O(kn)$. This linear scaling allows the FB layer to be integrated at any stage of a deep network, not just as a final pooling step, using techniques like the im2col trick for convolutional layers.
As shown in the figure above, the FB block can replace standard bilinear pooling and fully connected layers, providing a more compact and flexible architecture. The authors found that placing FB layers in later convolutional stages (e.g., the "In5b" module in Inception) yields the best performance-to-parameter ratio, as the interaction space is relatively low-dimensional ($k=20$ is often sufficient).
3. DropFactor Regularization
Quadratic terms are inherently more volatile and prone to overfitting than linear ones. To address this, the authors propose DropFactor, a regularization technique specifically designed for the FB layer.
During training, each of the $k$ bilinear factors is randomly "dropped" (set to zero) with a probability $1-p$. This prevents the model from becoming overly dependent on specific feature pairings and encourages a more robust representation. At test time, the full set of factors is used, scaled by $p$ to maintain consistent activation magnitudes. This approach is analogous to Dropout but operates on the interaction paths rather than individual neurons, which is crucial for stabilizing the training of quadratic terms.
4. Experimental Evaluation
The FB layer was evaluated across multiple benchmarks, demonstrating consistent improvements over baseline CNNs:
- General Image Recognition: On CIFAR-100, an Inception-BN model with FB layers (Conv-FBN) reduced test error from 24.70% to 21.98%. On ImageNet, integrating FB layers into ResNet-50 improved Top-1 accuracy by 0.7% with negligible parameter overhead.
- Fine-grained Recognition: On tasks like CUB-200-2011 (Birds) and the Describable Texture Dataset (DTD), the FB approach achieved results comparable to traditional Bilinear Pooling while using only 10M parameters instead of 262M.
Efficiency analysis showed that while theoretical complexity is linear, current implementations are roughly 3x slower than standard convolutions due to a lack of optimized GPU kernels (like those in cuDNN). Optimal performance typically requires tuning the number of factors ($k$) and the DropFactor rate ($p$), though $k=20$ and $p=0.5$ proved robust across most tests.
5. Conclusion
Factorized Bilinear models provide a powerful yet efficient way to incorporate high-order feature interactions into deep learning architectures. By leveraging low-rank factorization and DropFactor regularization, the proposed FB layer achieves state-of-the-art performance on diverse image recognition tasks while maintaining a manageable parameter footprint. Future work will focus on optimizing implementation speeds and exploring inter-sample correlations.
Summary updated