Polynomial Networks in Deep Classifiers

Grigorios G. Chrysos, Markos Georgopoulos, Jiankang Deng, Yannis Panagakis

TL;DR

This paper proposes a unifying framework for understanding deep neural network architectures by expressing them as polynomial expansions of their input. This polynomial perspective reveals the inductive biases of existing models and enables natural extensions, leading to improved performance and compression, especially in challenging data regimes like limited or long-tailed datasets.

What Problem Does This Paper Address?

Deep learning has achieved remarkable success in tasks like image and audio recognition, with a plethora of sophisticated architectures emerging. However, these architectures often appear disconnected, making it difficult to understand their underlying principles or to systematically build upon them. This paper aims to demystify these architectures by framing them within a single, coherent mathematical structure: polynomial expansions. By doing so, the authors seek to uncover the "inductive biases" – the inherent assumptions about data – of different network designs and to provide a principled way to extend them.

Methods

The core idea is to represent the output of a deep classifier as a polynomial function of its input. This means that instead of complex, layered operations, the network's function is approximated by a polynomial. The degree of this polynomial corresponds to the complexity of interactions the network can capture.

  • Polynomial Expansion: The authors express various architectures as polynomials of increasing degree. A first-degree polynomial might represent simple linear transformations (like in basic feed-forward networks or ResNets with shortcut connections), while higher-degree polynomials capture more complex, non-linear interactions between input features.
  • Tensor Representation: Polynomials, especially those with multiple input dimensions, are naturally represented using tensors. The paper leverages tensor decompositions to manage the complexity and number of parameters associated with higher-degree polynomials.
  • Taxonomy of Architectures: The framework allows for classifying existing architectures (e.g., ResNet as first-degree, SENet as second-degree, Non-local networks as third-degree) based on their polynomial degree.
  • Extensions: By understanding architectures as polynomials, the authors can naturally extend them by adding higher-degree terms. This allows for creating new, more expressive models.

Datasets

The paper evaluates its proposed methods on several standard benchmarks:

  • Image Classification: CIFAR10, CIFAR100, and ImageNet.
  • Audio Classification: Speech Commands.
  • Object Detection and Segmentation: MS COCO 2017.

The authors also create a "long-tailed" version of CIFAR10 (CIFAR10-LT) to specifically test performance under imbalanced data distributions.

Key Insights and Ideas

  • Unifying Framework: The polynomial perspective provides a surprisingly simple and powerful way to connect seemingly disparate deep learning architectures. It reveals that many advanced models are essentially different ways of implementing polynomial functions.
  • Inductive Biases Revealed: The degree of the polynomial directly corresponds to the type of feature interactions a model can capture. Higher degrees allow for more complex correlations, which can be beneficial but also require more data or careful parameterization.
  • Principled Extensions: Instead of ad-hoc modifications, the polynomial framework allows for systematic extensions. For instance, adding a higher-degree term to a non-local network can intuitively improve its performance.
  • Compression and Performance Trade-off: The polynomial approach offers flexibility. It can either improve performance by capturing more complex interactions or achieve model compression by using lower-rank tensor decompositions while maintaining accuracy.
  • Activation Functions Not Always Necessary: The experiments show that higher-degree polynomials can achieve high accuracy even without traditional activation functions, suggesting that the polynomial structure itself can provide sufficient expressivity.

Key Results

  • Improved Accuracy: The proposed polynomial extensions (e.g., PDC-NL) consistently improved accuracy on various benchmarks, including CIFAR100, ImageNet, and Speech Commands, often outperforming their non-polynomial counterparts. For example, on ImageNet, PDC achieved higher top-1 accuracy than ResNet18.
  • Significant Compression: The PDC-comp variant demonstrated substantial parameter reduction (e.g., 60% over ResNet18 on CIFAR100) while maintaining comparable accuracy.
  • Robustness to Limited Data: The polynomial models showed better performance than baselines when training data was scarce, highlighting their ability to learn effectively with less supervision.
  • Effectiveness on Long-Tailed Data: The proposed models outperformed baselines on the CIFAR10-LT dataset, demonstrating their advantage in handling imbalanced class distributions.
  • Object Detection/Segmentation Gains: On the COCO dataset, PDC-ResNet18 showed improved performance in both object detection and segmentation compared to the baseline ResNet18.

Limitations and Future Work

  • Parameter Explosion: While tensor decompositions help, higher-degree polynomials can still lead to an exponential increase in parameters if not managed carefully. The paper mentions that II-nets suffer from this issue, and their proposed method aims to mitigate it.
  • Computational Cost: Higher-degree polynomials can increase computational cost, although the paper shows that improved accuracy can sometimes offset this.
  • Future Work: The authors expect their taxonomy to link existing domain-specific architectures and believe it can be valuable for designing architectures for edge devices where efficiency is crucial. They also suggest exploring further extensions and applications of this polynomial perspective.

Summary updated

BibTeX
@inproceedings{chrysos2022polynomial,
  author = {Grigorios G. Chrysos and Markos Georgopoulos and Jiankang Deng and Yannis Panagakis},
  title = {{Polynomial Networks in Deep Classifiers}},
  booktitle = {European Conference on Computer Vision},
  year = {2022},
  doi = {10.1007/978-3-031-19806-9\_40},
}
Figure