Related Experiment Video
Updated: Mar 14, 2026

A Dual Task Procedure Combined with Rapid Serial Visual Presentation to Test Attentional Blink for Nontargets
Published on: December 5, 2014
EmbBERT: Attention under 2 MB memory
Riccardo Bravin1, Massimo Pavan1, Hazem Hesham Yousef Shalby1
1Department of Electronics, Information and Bioengineering, Politecnico di Milano, Via Ponzio 34/5, Milano, 20133, Italy.
EmbBERT is a tiny language model (TLM) designed for efficient deployment on memory-constrained devices. This compact transformer model achieves state-of-the-art accuracy using only 2 MB of memory, outperforming larger models.
Area of Science:
- Artificial Intelligence
- Natural Language Processing
- Edge Computing
Background:
- Transformer architectures, while powerful for Natural Language Processing (NLP), have significant memory and computational demands.
- Deployment of advanced NLP models on ultra-constrained devices like wearables and IoT units is challenging due to limited memory (megabytes).
Purpose of the Study:
- To introduce EmbBERT, a tiny language model (TLM) architecturally optimized for extreme efficiency on edge devices.
- To demonstrate that simplified transformer architectures can maintain high performance under strict memory constraints.
Main Methods:
- Designed EmbBERT with a compact embedding layer, streamlined feed-forward blocks, and an efficient attention mechanism.
- Evaluated EmbBERT on the TinyNLP benchmark and GLUE suite, comparing its performance against larger state-of-the-art (SotA) models and similarly sized BERT and MAMBA variants.
- Assessed the model's resilience to 8-bit quantization and its scalability across different memory ranges (sub-megabyte to tens-of-megabytes).
Main Results:
- EmbBERT requires only 2 MB of memory, achieving accuracy comparable to SotA models with 10x more memory.
- Outperformed downsized BERT and MAMBA models of similar size on NLP tasks.
- Demonstrated resilience to 8-bit quantization, reducing memory footprint to 781 kB.
- Showcased scalability of the EmbBERT architecture across various memory constraints.
Conclusions:
- Highly simplified transformer architectures are effective for edge NLP tasks under tight resource constraints.
- EmbBERT offers a viable solution for deploying advanced NLP capabilities on memory-limited edge devices.
- The proposed architecture and pre-training strategy contribute to efficient and accurate edge AI.
Related Concept Videos
Understanding Memory
System of Memory
Flashbulb Memory
Buffers: Buffer Capacity
In the graph, pH is plotted as a function of the number of moles of base (Cb) added to a weak...
Sensory Memory
Working Memory

