Resource-Efficient Transformer Architecture: Optimizing Memory and Execution Time for Real-Time Applications

This paper describes a memory-efficient transformer model designed to drive a reduction in memory usage and execution time by substantial orders of magnitude without impairing the model's performance near that of the original model. Recently, new architectures of transformers were presented, focused on parameter efficiency and computational optimization; however, such models usually require considerable resources in terms of hardware when deployed in real-world applications on edge devices. This approach addresses this concern by halving embedding size and applying targeted techniques such as parameter pruning and quantization to optimize the memory footprint with minimum sacrifices in terms of accuracy. Experimental results include a 52% reduction in memory usage and a 33% decrease in execution time, resulting in better efficiency than state-of-the-art models. This work compared our model with existing compelling architectures, such as MobileBERT and DistilBERT, and proved its feasibility in the domain of resource-friendly deep learning architectures, mainly for applications in real-time and in resource-constrained applications.

Paper

References (4)

01Embedding Layer: Map the tokens into embeddings, whose dimensionality is reduced by half to save memory
02Input Sequence: Begin with the input sequence that essentially consists of tokens
03Feed-forward Layer: Pass the output from the attention mechanisms through a fully connected dense layer to increase the expressiveness of the model
04Multi-Head Attention: Use the low-dimensional embeddings to calculate the attention scores, using fewer attention heads for more resource efficiency

Similar papers

© 2026 NYSGPT2525 LLC