One Neuron Saved is One Neuron Earned: On Parametric Efficiency of Quadratic Networks

Feng-Lei Fan, Hang-Cheng Dong, Zhongming Wu, Lecheng Ruan, Tieyong Zeng, Yiming Cui, Jing-Xiao Liao

Abstract

Deep learning has traditionally relied on scaling linear neurons to achieve complexity. This paper investigates "quadratic neurons"—units that replace the standard dot-product with quadratic functions—and demonstrates their superior parametric efficiency. Through theoretical analysis in Sobolev spaces, manifold theory, and Barron spaces, alongside empirical validation on datasets like ImageNet and S3DIS, the authors show that quadratic networks can represent complex nonlinearities with significantly fewer parameters than conventional ReLU networks.

Introduction

For over a decade, the fundamental building block of neural networks has remained the linear neuron: $y = \sigma(w^T x + b)$. While scaling these units has led to breakthroughs, it raises a critical question: is the linear neuron the most efficient primitive? This research explores quadratic neurons, which incorporate squared terms and cross-products, to determine if their performance gains stem from an intrinsic expressive advantage rather than just a higher parameter count per unit.

The Quadratic Neuron Formulation

The authors define a refined quadratic neuron formulation designed for stability and efficiency: $$y = \sigma((w_1^T x + b_1)(w_2^T x + b_2) + w_3^T (x \odot x) + b_3)$$ where $\odot$ denotes the element-wise Hadamard product. This structure allows the neuron to capture feature interactions directly, solving problems like XOR with a single unit—a feat impossible for standard linear neurons.

Comparison of quadratic neuron formulations.

To address potential training instabilities associated with higher-order terms, the authors utilize the ReLinear algorithm. This method initializes the network as a standard linear model and gradually introduces quadratic components, ensuring a stable convergence path.

Theoretical Efficiency

The core contribution of this work is the proof of "parametric efficiency." The authors utilize three frameworks to demonstrate that quadratic networks are fundamentally leaner:

  1. Sobolev Space Approximation: They prove that quadratic networks can approximate smooth functions using an order of magnitude fewer parameters. As shown in the comparison below, the parameter cost for a product operation in a quadratic network is constant, whereas conventional networks scale logarithmically with the approximation error $\epsilon$.
  2. Manifold Theory: Quadratic neurons are shown to be naturally adept at approximating functions on low-dimensional manifolds embedded in high-dimensional spaces.
  3. Barron Space Analysis: The analysis reveals that quadratic networks can be "dimension-free," avoiding the exponential growth (curse of dimensionality) that plagues conventional architectures as input dimensions increase.
Parametric efficiency comparison between conventional and quadratic networks.

Experimental Validation

The theoretical claims were tested across diverse domains, showing that "neuronal diversity" is a powerful tool for building leaner AI:

  • Geometry and Dimensionality: In a 200-dimensional concentric hypersphere test, a single quadratic neuron achieved 100% accuracy. In contrast, a conventional network required 700 neurons to reach only 82.75% accuracy.
  • Engineering and Signal Processing: For bearing fault diagnosis, a Quadratic CNN (QCNN) reached 98.8% accuracy with only 16.5K parameters, outperforming an AResNet model that used 160x more parameters (2.6M).
  • Medical Imaging: The "QUNet" architecture outperformed the standard UNet on the DSB2018 cell nuclei dataset while reducing the parameter count from 21.66M to 5.78M.
  • Large-Scale Vision: On ImageNet-1K, the QResNet-47 achieved performance comparable to ResNet-50 while saving approximately 1 million parameters.

Conclusion and Future Work

Quadratic networks offer a powerful path toward efficiency, particularly for tasks involving curved geometries or complex feature interactions. While they offer significant parameter savings, the computational cost (FLOPs) per neuron can be higher. Future research will focus on optimizing these operations and exploring hybrid architectures that mix linear and quadratic neurons to best suit specific task requirements.

Summary updated

BibTeX
@article{fan2023one,
  author = {Feng-Lei Fan and Hang-Cheng Dong and Zhongming Wu and Lecheng Ruan and Tieyong Zeng and Yiming Cui and Jing-Xiao Liao},
  title = {{One Neuron Saved is One Neuron Earned: On Parametric Efficiency of Quadratic Networks}},
  journal = {IEEE Trans. Pattern Anal. Mach. Intell.},
  year = {2023},
}
Figure