[Paper Review] SplineNets: Continuous Neural Decision Graphs
SplineNets introduce a continuous, differentiable decision mechanism for convolutional neural networks by embedding function weights on low-dimensional B-spline manifolds, enabling dynamic and hierarchical conditional computation. This approach reduces FLOPS by up to 3× while matching ResNet-110 accuracy using only a 32-layer SplineNet with 5 knots and rank-3 projections.
We present SplineNets, a practical and novel approach for using conditioning in convolutional neural networks (CNNs). SplineNets are continuous generalizations of neural decision graphs, and they can dramatically reduce runtime complexity and computation costs of CNNs, while maintaining or even increasing accuracy. Functions of SplineNets are both dynamic (i.e., conditioned on the input) and hierarchical (i.e., conditioned on the computational path). SplineNets employ a unified loss function with a desired level of smoothness over both the network and decision parameters, while allowing for sparse activation of a subset of nodes for individual samples. In particular, we embed infinitely many function weights (e.g. filters) on smooth, low dimensional manifolds parameterized by compact B-splines, which are indexed by a position parameter. Instead of sampling from a categorical distribution to pick a branch, samples choose a continuous position to pick a function weight. We further show that by maximizing the mutual information between spline positions and class labels, the network can be optimally utilized and specialized for classification tasks. Experiments show that our approach can significantly increase the accuracy of ResNets with negligible cost in speed, matching the precision of a 110 level ResNet with a 32 level SplineNet.
Motivation & Objective
- To address the high computational cost of deep CNNs by enabling dynamic and hierarchical conditional computation.
- To reduce model inference complexity without sacrificing accuracy through continuous, differentiable branching.
- To overcome discontinuities in traditional discrete decision networks by replacing categorical choices with continuous position parameters.
- To optimize network specialization for classification by maximizing mutual information between spline positions and class labels.
- To enable efficient model compression and pruning by structuring network parameters via smooth, low-dimensional manifolds.
Proposed method
- SplineNets embed infinite function weights (e.g., filters) on continuous, low-dimensional manifolds parameterized by B-splines, indexed by a continuous position parameter.
- Instead of discrete branch selection, samples choose a continuous position on the spline manifold, enabling differentiable and sparse activation of network components.
- The method employs a unified loss function that enforces smoothness over both network and decision parameters, enabling end-to-end training.
- The network is dynamically conditioned on input features and hierarchically conditioned on prior computational paths, enabling adaptive, context-aware computation.
- Mutual information between spline positions and class labels is maximized to specialize the network for classification, improving generalization and efficiency.
- The framework supports both dynamic-only and hierarchical variants, with options for different decision mechanisms (e.g., dot product, rank-3 knots) and knot counts.
Experimental results
Research questions
- RQ1Can continuous, differentiable decision-making in neural networks reduce inference complexity while maintaining or improving accuracy?
- RQ2How does embedding function weights on B-spline manifolds compare to discrete branching in terms of model efficiency and generalization?
- RQ3To what extent can mutual information between spline positions and labels improve network specialization and performance?
- RQ4What is the trade-off between model size, FLOPS, and accuracy when increasing the number of spline knots?
- RQ5Can SplineNets achieve performance comparable to deep residual networks (e.g., ResNet-110) with significantly fewer parameters and FLOPS?
Key findings
- SplineNets with 32 layers and 5 knots (H(5)-D-R3) match the accuracy of ResNet-110 while reducing FLOPS by nearly half and using only 42M parameters.
- The dynamic-only variant (H(5)-D-R3) achieves 93.5% accuracy with 10M parameters and is three times faster than ResNet-110.
- A more efficient configuration, H(5)-D-R4, achieves 93.5% accuracy with only 3.67M parameters and near-identical speed to the larger model.
- On LeNet architectures, SplineNets are 15× faster and nearly 5× smaller than baseline models while matching or exceeding their accuracy.
- On augmented MNIST, H-SN(4) achieved 99.71% accuracy with 2.25M parameters, outperforming LeNet-32 (99.60%) and approaching CapsuleNets (99.75%) with significantly fewer parameters.
- Increasing the number of knots from 2 to 5 improves accuracy significantly with negligible impact on FLOPS per sample, demonstrating scalability and efficiency.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.