EmbBERT: Attention under 2MB 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.

Summary

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.

Related Concept Videos

Understanding Memory01:19

Understanding Memory

Memory is the retention of information or experiences over time, facilitated through three main processes: encoding, storage, and retrieval. Encoding is the process of inputting information into the memory system. For instance, when listening to a lecture, watching a play, reading a book, or having a conversation, the brain is actively encoding information. This initial stage involves transforming sensory input into a form that can be processed and stored by the brain. Various factors, such as...
1.7K
System of Memory01:23

System of Memory

Memory is categorized into three major systems: sensory memory, short-term memory (STM), and long-term memory (LTM). These systems differ in their capacity and the duration for which they can hold information. Sensory memory captures raw sensory input from the environment, holding it for just a few seconds or less. For example, on hearing a brief, loud sound, like a car horn honking, the sound seems to linger in the mind for a moment even after it stops. This is an instance of sensory memory...
7.7K
Flashbulb Memory01:16

Flashbulb Memory

A flashbulb memory is a highly vivid and detailed memory, often linked to events of significant emotional impact. These memories stand out in contrast to everyday memories due to their clarity and the precision with which they are recalled. The strong emotions associated with the event act as a catalyst, ensuring that specific details, such as one's location, actions, and even peripheral elements, are etched into memory with remarkable accuracy. For example, many people can vividly recall...
428
Buffers: Buffer Capacity01:09

Buffers: Buffer Capacity

Buffer capacity is the quantitative measure of a buffer to resist the change in pH. As shown in the following equation, the buffer capacity, denoted by 'beta', is expressed as the number of moles of acid or base needed to change the pH of a one-liter buffer solution by 1 unit. Here, Ca and Cb indicate the number of moles of acid and base, respectively. Note that dpH represents the change in pH.
In the graph, pH is plotted as a function of the number of moles of base (Cb) added to a weak...
3.3K
Sensory Memory01:14

Sensory Memory

Sensory memory captures information from the environment in its original form for a very brief duration, just long enough to be exposed to visual, auditory, and other senses. This type of memory is detailed and rich but quickly lost unless certain strategies are employed to transfer it into short-term or long-term memory. Sensory information is continuously bombarding the human brain, yet only a small fraction is absorbed, as most of it does not significantly impact daily life. For instance,...
810
Working Memory01:24

Working Memory

Working memory refers to a combination of components, including short-term memory and attention, that allow an individual to hold information temporarily as we perform cognitive tasks. It is an essential cognitive function that enables the execution of complex tasks such as problem-solving, comprehension, and reasoning. Unlike short-term memory, which simply involves the storage of information for a brief period, working memory involves the active manipulation and processing of this...
1.1K