TropNNC: Structured Neural Network Compression Using Tropical Geometry

Konstantinos Fotopoulos, Petros Maragos, Panagiotis Misiakos · OpenReview

Abstract

We present TropNNC, a framework for compressing neural networks with linear and convolutional layers and ReLU activations. TropNNC is a structured compression framework based on a geometrical approach to machine/deep learning, using tropical geometry and extending the work of Misiakos et al. (2022). We use the Hausdorff distance of zonotopes in its standard continuous form to achieve a tighter approximation bound for tropical polynomials compared to previous work. This enhancement leads to the development of an effective compression algorithm that achieves superior functional approximations of neural networks. Our method is significantly easier to implement compared to other frameworks, and does not depend on the availability of training data samples. We validate our framework through extensive empirical evaluations on the MNIST, CIFAR, and ImageNet datasets. Our results demonstrate that TropNNC achieves performance on par with state-of-the-art methods like ThiNet (even surpassing it in compressing linear layers) and CUP. To the best of our knowledge, it is the first method that achieves this using tropical geometry.

Introduction

As deep learning models scale, deploying them on resource-constrained devices like smartphones or IoT sensors becomes increasingly difficult. Pruning is a common technique used to reduce model size. While unstructured pruning (removing individual weights) requires specialized hardware for speedups, structured pruning (removing entire neurons or channels) is more practical. However, most structured pruning methods require large datasets and intensive retraining. TropNNC addresses this "data-free" challenge by performing high-quality structured pruning using only the network's weights, leveraging the principles of tropical geometry.

Methodology: Tropical Geometry and Zonotopes

The core of TropNNC lies in representing ReLU-activated neural networks as "tropical rational functions." In this framework, each layer is associated with a zonotope, a high-dimensional polytope whose "generators" correspond to neuron weights.

Compressing a layer is framed as an "order reduction" problem: approximating a complex zonotope with many generators using a simpler one with fewer. The TropNNC algorithm follows these steps:

  1. Clustering: Similar neurons or channels are grouped using K-Means.
  2. Representative Selection: TropNNC uses the sum of generators within a cluster rather than the average. This heuristic preserves the "outer" regions of the functional mapping, preventing error explosion at the input space edges.
  3. Iterative Refinement: An alternating minimization scheme fine-tunes weights to minimize the Hausdorff distance between the original and compressed zonotopes.
Geometric comparison of zonotope approximation methods. TropNNC (c) uses the sum of generators to better preserve the original shape's extent compared to previous averaging methods (b).

Experimental Evaluation

TropNNC was evaluated across several benchmarks, including MNIST, Fashion-MNIST, CIFAR-10, CIFAR-100, and ImageNet. The method consistently matches or outperforms strong data-driven baselines without requiring training data.

Key Results

On VGG/CIFAR-10, TropNNC achieved a ~65% parameter reduction with virtually no loss in accuracy (93.58% vs. 93.64%). On ImageNet with ResNet18, TropNNC reached 68.95% accuracy, significantly outperforming the CUP method (66.80%) at the same parameter count. The efficiency of the method is comparable to ThiNet, despite TropNNC requiring zero training samples.

Accuracy vs. compression ratio for deepNN on MNIST (a) and Fashion-MNIST (b). TropNNC (green) maintains higher accuracy as the ratio of remaining neurons decreases compared to several baselines.

Discussion and Insights

A primary insight of this work is that ReLU layers define specific geometric boundaries. Pruning is essentially the simplification of these boundaries. By minimizing the Hausdorff distance, TropNNC provides the tightest known theoretical bounds for functional approximation in this domain. Furthermore, this is the first successful extension of tropical geometric pruning to convolutional layers, broadening its applicability to modern computer vision architectures.

Conclusion and Future Work

TropNNC demonstrates that tropical geometry offers a powerful, data-agnostic path for neural network compression. While highly effective for VGG-style architectures, future work will focus on extending these geometric principles to more complex activations (e.g., GeLU, Swish) and architectures with intricate skip-connections. Additionally, addressing the impact of "null" (inactive) neurons on geometric approximations remains an open area for refinement.

Summary updated

BibTeX
@article{fotopoulos2026tropnnc,
  author = {Konstantinos Fotopoulos and Petros Maragos and Panagiotis Misiakos},
  title = {{TropNNC: Structured Neural Network Compression Using Tropical Geometry}},
  journal = {Trans. Mach. Learn. Res.},
  year = {2026},
}
Figure