The three metrics that govern deploying a model at the edge and how they are estimated and measured.
Intermediate10 min read
Educational draft content that needs expert review before it is used as an academic reference. Specifications, versions and licences change; check the official source. No experimental result is shown here unless it was actually run.
Learning objectives
Compute model size from parameters and bits
Separate operation count from real latency
Relate energy to power and time
Size: parameter count × bits per parameter. 1 million parameters: 4 MB in FP32, 2 MB in FP16 and 1 MB in INT8 (weights only). Add the activation memory used during execution, which can exceed the weight size.
Latency depends on the operation count (MACs) but also on memory movement and optimised kernels. A model with fewer operations is not necessarily faster on your hardware. Energy is measured in joules per inference (energy = power × time) and determines battery life; reducing time at constant power reduces energy.
So all three are measured on the target hardware with the real settings (batch size, frequency, temperature) and the details are recorded for reproducibility.
Terminology (with Arabic equivalents)
MACs
عمليات الضرب والتجميع
Activation memory
ذاكرة التنشيطات
Peak memory
ذروة الذاكرة
Joules per inference
جول لكل استدلال
Worked example
A model with 3.3 million parameters: 13.2 MB in FP32 and 3.3 MB in INT8 (weights only). If the device draws 0.5 W and finishes inference in 100 ms, the energy = 0.05 J; if the time drops to 40 ms at the same power it becomes 0.02 J.
Banbury et al. (2021). MLPerf Tiny Benchmark. NeurIPS Datasets and Benchmarks TrackNot verified
Image and audio processing in the experiments runs inside your browser. Your images and audio are never uploaded and conversations are not stored. Privacy
Assistant Professor of Artificial Intelligence and Deep Learning
University of Al-Qadisiyah
About
Researcher and academic specialising in artificial intelligence (AI), deep learning, computer vision and natural language processing (NLP). The “Deep Learning in Arabic” project aims to enrich Arabic scientific and technical content with sound, free references and software for researchers and learners across the Arab world.
Edge AI Assistant
I am the Edge AI Assistant. Ask about a concept, technology, board or project and I will answer from the lab content with links.
Edge AI Assistant
Local Database Mode
Answers from the lab knowledge base only, without sending your question to any external party. Conversations are not stored.
Smart assistant
Answers from the site’s content
The assistant can make mistakes, so check the attached sources.
Welcome! I am Dr. Alaa Taima, and this is my smart assistant on “Deep Learning in Arabic”. Ask it about any term or topic in artificial intelligence, and it will answer from the site's content with links to the sources.
DL Bot
Your smart assistant · Connecting…
Enter to send · Shift + Enter for a new line · The assistant can make mistakes, so check the sources.