Adapter Pruning using Tropical Characterization

Rishabh Bhardwaj, Tushar Vaidya, Soujanya Poria

Introduction

As Large Language Models (LLMs) continue to scale, parameter-efficient fine-tuning (PEFT) methods like adapters have become essential. Adapters are small, trainable modules inserted between the frozen layers of a pre-trained model. While they significantly reduce the number of trainable parameters compared to full fine-tuning, they often still contain substantial redundancy.

Traditional pruning methods typically rely on simple heuristics, such as removing weights with the smallest magnitudes, or iterative processes like the "Lottery Ticket Hypothesis," which require expensive retraining cycles. This paper introduces a novel, mathematically grounded framework for pruning adapters in a single pass by leveraging the principles of tropical geometry.

Theoretical Framework: Tropical Algebra

The authors treat neural networks as tropical polynomials. In tropical algebra, standard operations are redefined: addition becomes the maximum of two numbers ($x \oplus y = \max\{x, y\}$), and multiplication becomes standard addition ($x \odot y = x + y$).

Because ReLU-based neural networks are piecewise linear, they can be represented as the difference between two tropical polynomials. These polynomials define complex geometric boundaries, or "hypersurfaces," in high-dimensional space. The core insight of this research is that a weight's importance is determined by its contribution to the geometric "shape" of these decision boundaries rather than its absolute magnitude.

Methodology: Geometry Preservation via Zonotopes

To implement this geometric approach, the authors represent the dual of the tropical hypersurfaces using geometric objects called zonotopes. The pruning process is formulated as an optimization problem: finding a sparse set of weights that minimizes the distance between the original zonotope and the pruned version.

Figure 2: Visualization of the original zonotope (black) versus the pruned version (red), demonstrating how the geometric structure is preserved even with reduced parameters.

By using $L_{1,1}$ regularization to encourage sparsity, the method identifies the essential parameters required to maintain the model's functional integrity. This approach is "one-shot," meaning it does not require iterative fine-tuning after parameters are removed, making it significantly more efficient than traditional retraining-based methods.

Experimental Results

The researchers evaluated the tropical pruning method using a RoBERTa-base model across five diverse Natural Language Processing (NLP) benchmarks: MELD (emotion recognition), SNLI (inference), RT and IMDB (sentiment analysis), and TREC (question classification).

Figure 4: Performance comparison across five tasks at various pruning levels. The "Combined" approach (tropical + magnitude) consistently achieves the best results, often matching full model performance at high sparsity.

Key Findings

  • High Sparsity: The method successfully prunes over 60% of adapter parameters with negligible performance loss.
  • Superiority of Combined Approaches: The authors found that a "Combined" strategy—using tropical geometry to identify essential structural parameters and magnitude-based pruning for the remainder—consistently outperformed standard baselines.
  • Computational Efficiency: By avoiding the iterative retraining required by the Lottery Ticket Hypothesis, the tropical approach offers a much faster path to model compression.
  • Layer-wise Optimization: Pruning each adapter layer individually was found to be more effective than global pruning across the entire model.

Limitations and Future Directions

While the results are promising, the current framework is specifically designed for ReLU activations, as they map directly to the min-max operations of tropical algebra. Adapting this method to other popular activation functions like GeLU or SwiGLU remains a challenge for future work. Additionally, while the study focused on bottleneck adapters, future research could explore applying these geometric principles to other PEFT methods like LoRA (Low-Rank Adaptation).

Conclusion

Tropical characterization provides a powerful new lens for understanding and optimizing neural network architectures. By shifting the focus from weight magnitude to geometric preservation, this method enables significant parameter reduction in LLM adapters without the computational burden of iterative retraining.

Summary updated

BibTeX
@inproceedings{bhardwaj2023adapter,
  author = {Rishabh Bhardwaj and Tushar Vaidya and Soujanya Poria},
  title = {{Adapter Pruning using Tropical Characterization}},
  booktitle = {Conference on Empirical Methods in Natural Language Processing},
  year = {2023},
  doi = {10.18653/v1/2023.findings-emnlp.116},
}
Figure