InhibiDistilbert: Knowledge Distillation for a ReLU and Addition-based Transformer

Tony Zhang, Rickard Brännvall
3/20/2025
cs.CLcs.AIcs.LG

No confident code implementation found for this paper.

Abstract

This work explores optimizing transformer-based language models by integrating model compression techniques with inhibitor attention, a novel alternative attention mechanism. Inhibitor attention employs Manhattan distances and ReLU activations instead of the matrix multiplications and softmax activation of the conventional scaled dot-product attention. This shift offers potential computational and energy savings while maintaining model effectiveness. We propose further adjustments to improve the inhibitor mechanism's training efficiency and evaluate its performance on the DistilBERT architecture. Our knowledge distillation experiments indicate that the modified inhibitor transformer model can achieve competitive performance on standard NLP benchmarks, including General Language Understanding Evaluation (GLUE) and sentiment analysis tasks.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{zhang2025inhibidistilbert,
  title  = {InhibiDistilbert: Knowledge Distillation for a ReLU and Addition-based Transformer},
  author = {Tony Zhang and Rickard Brännvall},
  year   = {2025},
  eprint = {2503.15983},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2503.15983v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2503.15983.svg)](https://codeofpaper.com/paper/2503.15983)

Discussion