ApiaryActive
Try: pause · settings · learn · wipe
← Community / Reading Room
EA
ai · 18 min read

Edge AI

In the past decade, artificial intelligence has leapt from research labs into the everyday objects that surround us—traffic lights, thermostats, wearables,…

“The future of intelligence is not in the cloud, but right where the data is born.”

In the past decade, artificial intelligence has leapt from research labs into the everyday objects that surround us—traffic lights, thermostats, wearables, and even the tiny sensors tucked into a beehive. Yet the promise of AI is only as strong as the places we can actually run it. When a device has only a few megabytes of RAM, a fraction of a watt to spare, and a need to make decisions in milliseconds, traditional cloud‑centric pipelines break down. This is where Edge AI—the practice of deploying inference models directly on resource‑constrained Internet‑of‑Things (IoT) hardware—steps in.

Edge AI matters for three intertwined reasons. First, it slashes latency, turning a remote request‑response cycle that can take seconds into a sub‑millisecond local decision. Second, it preserves privacy and bandwidth by keeping raw data on the device, a crucial factor for sensitive streams such as audio, video, or health metrics. Third, it opens the door to autonomous, self‑governing AI agents that can act without constant human oversight—a capability that aligns perfectly with Apiary’s vision of decentralized, bee‑centric ecosystems where AI helps protect pollinators while learning from the environment itself.

In this pillar article we dive deep into the technical, economic, and ecological dimensions of Edge AI. We will explore how inference models can be compressed, compiled, and orchestrated on devices that range from a 2‑gram sensor node to a rugged industrial gateway. Along the way we’ll sprinkle concrete numbers, real‑world case studies, and honest connections to bee conservation and self‑governing AI agents. By the end, you’ll have a roadmap for turning a powerful neural network into a tiny, energy‑efficient, on‑device intelligence that can power the next generation of sustainable, autonomous systems.


What Is Edge AI?

Edge AI is the subset of artificial intelligence that runs inference (the forward pass of a trained model) on edge devices—hardware that sits at the periphery of a network, close to the data source. Unlike cloud AI, which relies on powerful data centers with thousands of GPUs, Edge AI must operate within the strict limits of compute, memory, energy, and thermal budgets typical of IoT platforms.

MetricCloud AI (typical)Edge AI (typical)
CPU / GPU8‑core CPUs + multi‑GPUARM Cortex‑M4/M7, NPU, DSP
RAM64 GB+256 KB – 2 MB
Power100 W + (data center)10 mW – 5 W (battery‑powered)
Latency100 ms – seconds (network)1 ms – 100 ms (local)
BandwidthTens of GB/s (internal)< 1 Mbps (wireless)

The edge is not a monolithic concept; it includes:

  • Microcontrollers (e.g., STM32, ESP32) that run on a few milliwatts and a few hundred kilobytes of RAM.
  • System‑on‑Modules (SoMs) like the NVIDIA Jetson Nano, which pack a small GPU and can process 2–4 TOPS (trillion operations per second).
  • Specialized AI accelerators such as Google’s Edge TPU, Intel’s Movidius Myriad X, and the emerging neuromorphic chips that mimic brain spiking dynamics.

Edge AI is therefore a marriage of model engineering (making the AI small enough to fit) and hardware engineering (making the device fast enough to run it). The next sections unpack each side of that equation.


1. The Resource Envelope: Constraints That Shape Edge AI

Before a model can be ported to an edge device, we must understand the constraints that define the resource envelope. These limits are not abstract; they translate directly into design decisions, cost considerations, and ultimately, the feasibility of a deployment.

1.1 Compute Power

Most microcontrollers execute single‑core ARM Cortex‑M instructions at 48–180 MHz. A typical M4 core can deliver roughly 0.5 DMIPS/MHz, meaning a 100 MHz MCU can perform ~50 DMIPS (Dhrystone MIPS). By contrast, a desktop CPU can exceed 20 DMIPS/MHz. The implication: a model that requires 10 million multiply‑accumulate (MAC) operations may take 200 ms on a low‑end MCU—unacceptable for real‑time control—yet run in 5 ms on a modest edge accelerator.

1.2 Memory Footprint

RAM is the bottleneck for most inference engines. A 256 KB SRAM device must store the activations, weights, and temporary buffers simultaneously. For a convolutional neural network (CNN) with 1 MB of weights, the model cannot be loaded at all. Hence, model size must be reduced to ≤ 50 KB for many microcontroller use cases.

Flash storage (non‑volatile) is usually larger (0.5–4 MB) and can hold the model parameters, but the runtime must still fit the working set in RAM.

1.3 Energy Budget

Battery‑powered nodes (e.g., remote environmental sensors) often need to survive months on a single coin cell. An inference that draws 10 mA at 3.3 V for 100 ms consumes ≈ 1 mJ. If the device wakes up once per hour, that’s ≈ 24 mJ/day, well below a typical 200 mAh (≈ 720 J) battery capacity. However, a 100 mA inference would burn through the battery in weeks. Energy‑aware design therefore hinges on low‑power inference kernels and duty‑cycling.

1.4 Thermal Limits

Embedded devices often operate in harsh environments—inside beehives (temperatures up to 40 °C) or industrial plants (up to 85 °C). Excess heat can degrade silicon performance and shorten lifespan. Edge AI solutions must keep thermal rise below a few degrees, which again drives the need for efficient compute.

These constraints are the why behind the model‑compression techniques described next.


2. Model Compression: Making Neural Networks Fit on Tiny Devices

A model trained on a high‑end GPU can be hundreds of megabytes and billions of operations. To run on the edge, it must be compressed without sacrificing accuracy beyond an acceptable margin (often < 2 %). The most common techniques are quantization, pruning, knowledge distillation, and architectural redesign.

2.1 Quantization

Quantization reduces the numerical precision of weights and activations. The most prevalent form is 8‑bit integer (INT8) quantization, which shrinks a 32‑bit floating‑point weight from 4 bytes to 1 byte, a 4× reduction.

  • Post‑Training Quantization (PTQ): Convert a trained model to INT8 without retraining. TensorFlow Lite’s PTQ can achieve < 1 % accuracy loss on many vision models (e.g., MobileNet‑V2).
  • Quantization‑Aware Training (QAT): Simulate quantization during training, allowing the network to adapt. QAT often recovers the lost accuracy, delivering < 0.5 % degradation even for aggressive 4‑bit quantization.

Google’s Edge TPU is a fixed‑function accelerator that only supports 8‑bit unsigned integer tensors. Models compiled for the Edge TPU must be quantized to INT8, and the compiler (via the Coral SDK) enforces this constraint automatically.

2.2 Pruning

Pruning removes redundant connections, typically those with near‑zero weights. A structured pruning approach removes entire filters or channels, which translates directly into fewer MACs.

  • Magnitude‑Based Pruning: Remove weights below a threshold. A 90 % sparsity level can cut inference time by 2–3× on hardware that supports sparse matrix multiplication (e.g., Intel’s Myriad X).
  • Iterative Pruning‑Retraining: Alternate pruning and fine‑tuning cycles; this can maintain accuracy while achieving 80 % parameter reduction.

Apple’s Core ML runtime leverages sparsity on its A‑series chips, delivering up to speedups for pruned models.

2.3 Knowledge Distillation

Distillation trains a compact “student” model to mimic the output distribution of a larger “teacher” model. The student can be orders of magnitude smaller yet retain most of the teacher’s performance.

  • Example: The TinyBERT student (4 M parameters) learned from a 110 M BERT‑base teacher, achieving 96 % of the language understanding accuracy while fitting on a 2 MB flash MCU.
  • Distillation is especially useful for recurrent or transformer models that are otherwise too heavy for edge devices.

2.4 Architectural Redesign

Designing models from the ground up for the edge can yield the best trade‑offs. Families like MobileNet, EfficientNet‑Lite, SqueezeNet, and MicroNet use depthwise separable convolutions, bottleneck layers, and group convolutions to slash compute.

  • MobileNet‑V3 (released 2019) delivers 5.4 M MACs and 2.5 MB of parameters while achieving 75 % top‑1 accuracy on ImageNet—perfect for a 2 MB flash MCU.
  • TinyML models such as AudioSet‑Tiny (under 100 KB) can detect specific animal sounds (including bee buzzes) with > 85 % precision on an ESP32.

The combination of these methods often yields a model that fits the edge’s memory envelope, runs within the compute budget, and stays within the energy budget.


3. TinyML Toolchains: Turning Models into Firmware

Compressing a model is only half the battle; the next step is deployment. TinyML frameworks provide the runtime, code generation, and tooling to embed AI into firmware.

3.1 TensorFlow Lite for Microcontrollers (TFLite‑Micro)

TFLite‑Micro is a no‑OS inference engine that runs on devices with as little as 16 KB of RAM. It parses a flatbuffer model file and executes using a kernel library optimized for ARM Cortex‑M.

  • Footprint: The core library occupies ~ 60 KB of flash; additional kernels are added on demand.
  • Performance: On an STM32F746 (216 MHz), a quantized MobileNet‑V1 (1 M parameters) runs at ~ 150 ms per inference.
  • Integration: Works with Edge Impulse, which provides an end‑to‑end pipeline from data collection to model conversion.

3.2 PyTorch Mobile & TorchScript

PyTorch Mobile compiles models into TorchScript binaries that can be executed on Android, iOS, and on Linux‑based edge devices (e.g., Raspberry Pi).

  • Dynamic Quantization: Converts weights to INT8 while keeping activations in FP32, useful for CPUs without SIMD int8 support.
  • Edge Performance: On a Raspberry Pi 4 (1.5 GHz Cortex‑A72), a quantized ResNet‑18 runs at ~ 45 ms per image.

3.3 ONNX Runtime for Embedded

The ONNX Runtime provides a lightweight interpreter for models exported in the ONNX format. It supports CPU, GPU, and NPU backends, and can be compiled with ARM Compute Library for SIMD acceleration.

  • Cross‑Framework Compatibility: Allows models trained in TensorFlow, PyTorch, or JAX to be deployed without rewriting code.

3.4 Edge Impulse

Edge Impulse is a SaaS platform that automates the TinyML workflow:

  1. Data acquisition (e.g., microphone, accelerometer).
  2. Feature extraction (MFCC for audio, time‑domain stats for vibration).
  3. Model training (uses AutoML to select architecture).
  4. Optimization (PTQ, pruning).
  5. Code generation (produces a C++ SDK for the target board).

Edge Impulse reports that 30 % of its customers achieve sub‑10 ms inference on devices with ≤ 256 KB RAM—a testament to the maturity of the ecosystem.


4. Real‑World Deployments: Edge AI in Action

Theoretical gains are meaningless without concrete examples. Below are several deployments that illustrate how Edge AI solves real problems across domains, including bee conservation.

4.1 Smart Beehives: Monitoring Health at the Edge

Beekeepers increasingly rely on IoT hives equipped with temperature, humidity, acoustic, and weight sensors. A typical BeeScout node uses an ESP32‑based MCU, a MEMS microphone, and a 3‑axis accelerometer.

  • Acoustic Classification: A TinyML model trained on bee buzzing versus queen piping can detect queen loss with 92 % accuracy within a 10 second window. The model (≈ 30 KB) runs in 45 ms on the ESP32, consuming 8 mA at 3.3 V.
  • Energy Budget: The node sleeps for 5 minutes, wakes, samples 2 seconds of audio, runs inference, and transmits a 2‑byte status packet via LoRaWAN (≈ 0.5 mJ). With a 2200 mAh Li‑ion battery, the system can operate for 6 months without replacement.

The edge approach eliminates the need to stream raw audio (which would be > 1 GB per month) and respects privacy—bees don’t have a privacy concern, but the principle scales to any wildlife monitoring.

4.2 Precision Agriculture: Weed Detection on the Farm Edge

A John Deere prototype uses a NVIDIA Jetson Nano mounted on a tractor to detect weeds in real time. The model (a pruned EfficientNet‑Lite0, 4 M MACs) processes 30 fps at ~ 8 W power draw.

  • Yield Impact: Early field trials reported a 12 % reduction in herbicide usage, translating to $150 k saved per 5,000‑acre farm.
  • Latency: Decision latency of ≈ 75 ms enables the sprayer to target weeds within the same pass, avoiding lag‑induced over‑spraying.

4.3 Industrial IoT: Fault Detection on Motor Bearings

A Siemens edge gateway equipped with an Intel Movidius Myriad X monitors vibration signatures from rotating equipment. A 1‑D CNN (≈ 80 KB) classifies bearing health with 98 % F1‑score.

  • Power: The NPU consumes ≈ 0.8 W during inference, allowing the gateway to run on PoE (Power over Ethernet) without additional cooling.
  • Data Reduction: By sending only anomaly flags (2 bytes) instead of raw 10 kHz vibration streams, network traffic drops from 10 Mbps to < 100 kbps.

4.4 Consumer Wearables: Voice Activation on the Wrist

The Fitbit Sense uses a custom low‑power DSP to run a wake‑word detector (e.g., “Hey Fitbit”). The model (≈ 15 KB) executes in 3 ms, drawing 0.5 mA.

  • Battery Life: The wake‑word detector runs continuously for 30 days on a 300 mAh battery, a stark contrast to cloud‑based voice services that would drain the battery within hours.

These use cases show how Edge AI translates into latency gains, bandwidth savings, and energy efficiency, all while delivering tangible economic or ecological benefits.


5. Energy‑Efficient Inference: Techniques and Benchmarks

Energy consumption is the most critical metric for battery‑powered edge nodes. Below we break down the levers that designers can pull to keep wattage low.

5.1 DSP and SIMD Utilization

Most modern MCUs include Digital Signal Processing (DSP) extensions (e.g., ARM’s M‑Series DSP). Leveraging these instructions can accelerate convolution and matrix multiply operations by 4–6× while keeping the clock frequency low.

  • Benchmark: A 32‑bit Cortex‑M4 running a quantized 1‑D CNN (100 k MACs) at 80 MHz consumes ≈ 5 mW; using SIMD to process 4 MACs per cycle drops power to ≈ 2 mW.

5.2 Event‑Driven Computation

Instead of polling sensors continuously, edge devices can adopt event‑driven designs where inference is triggered only by a significant change. For example, a temperature sensor may fire only when the reading deviates by > 2 °C.

  • Energy Savings: In a smart‑home thermostat, event‑driven inference reduced average power from 12 mW to 3 mW, extending battery life from 2 years to 8 years.

5.3 Ultra‑Low‑Power Accelerators

Dedicated AI chips such as the Google Edge TPU and Kendryte K210 are fabricated in 28 nm process nodes with sub‑30 mW power envelopes for full‑precision inference.

  • Edge TPU: Executes 4 TOPS at < 2 W, delivering ~ 2 ms latency for a 224 × 224 image classification.
  • K210: Provides a RISC‑V core plus a 2.5 TOPS NPU at ≈ 0.5 W, suitable for low‑cost Chinese IoT boards.

5.4 On‑Device Learning: Incremental Updates

Training on the edge is still expensive, but incremental learning (e.g., updating the final linear layer) can be done with few hundred MACs, consuming negligible energy. This enables self‑governing AI agents that adapt to local conditions without a full retraining cycle.

  • Case Study: A smart irrigation controller updated its moisture‑prediction linear regression nightly using 10 seconds of CPU time, accounting for < 0.1 % of its daily energy budget.

6. Security, Privacy, and On‑Device Learning

Running AI at the edge introduces a new attack surface. While privacy benefits from data staying local, the device itself can become a target for model extraction, adversarial inputs, and tampering.

6.1 Model Confidentiality

Many commercial models are proprietary. To protect intellectual property, developers can encrypt the model binary and decrypt it only within a secure enclave (e.g., ARM TrustZone).

  • Performance Impact: Decrypting a 500 KB model on an STM32L4 takes ≈ 20 ms, negligible compared to the inference time.

6.2 Adversarial Robustness

Edge devices often lack the compute to run defensive preprocessing (e.g., JPEG compression). However, quantization itself can act as a smoothing layer, making some attacks less effective.

  • Experiment: A quantized MobileNet‑V2 (INT8) showed a 30 % drop in success rate for the FGSM attack compared to its FP32 counterpart.

6.3 Federated Learning at the Edge

Federated Learning (FL) enables devices to collaboratively train a global model while keeping raw data on‑device. Recent research demonstrates FL on microcontrollers with < 1 MB RAM by training a tiny logistic regression per round.

  • Bandwidth: Model updates (a few kilobytes) are transmitted instead of raw data, saving > 99 % of network traffic.
  • Convergence: In a simulated smart‑hive scenario with 100 nodes, FL reached 95 % of the centralized model’s accuracy after 30 communication rounds.

6.4 Self‑Governing AI Agents

Edge AI is a natural platform for self‑governing agents—software entities that make autonomous decisions based on locally observed data and policy constraints. In the Apiary ecosystem, such agents could manage hive ventilation, foraging alerts, or pesticide exposure mitigation without constant human oversight.

  • Policy Enforcement: Agents can embed rule‑based constraints (e.g., “never exceed 30 °C”) alongside learned models, guaranteeing safety while still benefiting from AI flexibility.

7. Lifecycle Management: OTA Updates, Monitoring, and Edge Orchestration

Deploying a model once is not enough; devices need over‑the‑air (OTA) updates, telemetry, and orchestration to stay reliable.

7.1 OTA Firmware Delivery

Most IoT platforms (e.g., AWS IoT Greengrass, Azure IoT Edge) support secure OTA updates. For constrained devices, delta updates (only sending changed bytes) can cut download size by 80 %.

  • Example: Updating an ESP32 from model version 1.0 (30 KB) to 1.1 (31 KB) via a delta patch required ≈ 2 KB transfer, taking ≈ 0.5 s over LoRaWAN (0.5 kbps).

7.2 Remote Monitoring

Edge AI runtimes expose metrics (e.g., inference latency, memory usage, power draw) via MQTT or CoAP. These metrics enable predictive maintenance—detecting a drift in inference confidence that may signal sensor degradation.

  • Case: A network of 500 smart hives reported a gradual increase in acoustic background noise; the central dashboard flagged the trend, prompting a quick sensor cleaning that restored detection accuracy.

7.3 Edge Orchestration

When many devices need to coordinate (e.g., a fleet of autonomous drones), an edge orchestrator can schedule inference workloads across devices, balancing load and battery levels.

  • Tool: KubeEdge extends Kubernetes to the edge, allowing pods (containing AI inference containers) to be placed on devices with sufficient resources.

8. Future Directions: Neuromorphic Chips, Tiny Transformers, and Beyond

The edge landscape is evolving rapidly. Below are emerging trends that will shape the next generation of Edge AI.

8.1 Neuromorphic Computing

Neuromorphic chips like Intel Loihi and IBM TrueNorth emulate spiking neural networks (SNNs), offering orders of magnitude lower energy for event‑driven workloads.

  • Performance: Loihi can process a 1‑M‑parameter SNN at ~ 0.5 mW, comparable to a static CNN that consumes 10 mW for the same task.
  • Application: Real‑time acoustic event detection (e.g., detecting a queen’s pheromone release) could be modeled as an SNN, firing only when the sound pattern matches, thereby staying dormant most of the time.

8.2 Tiny Transformers

Transformers have revolutionized language and vision models, but their quadratic attention cost makes them heavy for edge. TinyBERT, MobileViT, and Perceiver‑IO introduce linear‑complexity attention and parameter sharing, enabling < 1 MB transformer models on microcontrollers.

  • Benchmark: A MobileViT‑S (3 M parameters) runs on a Raspberry Pi Zero 2W (1 GHz) at ~ 200 ms per image, consuming ≈ 1.2 W.

8.3 Self‑Optimizing Edge Agents

Future edge devices will embed meta‑learning capabilities, allowing them to automatically select the best compression technique (quantization level, pruning ratio) based on the current hardware state (temperature, battery).

  • Prototype: A self‑optimizing sensor node used reinforcement learning to adjust its inference frequency, achieving a 15 % increase in battery life during hot summer months.

8.4 Integration with Apiary’s Vision

All these advances dovetail with Apiary’s mission: empowering self‑governing AI agents to protect pollinators. Imagine a network of edge‑powered hives that not only monitor temperature and sound but also learn the optimal ventilation schedule, share insights via federated learning, and act autonomously when a pesticide plume is detected—without ever sending raw data to a cloud. The synergy of Edge AI and bee conservation can create a resilient, data‑light, and privacy‑preserving ecosystem.


9. Bridging Edge AI and Bee Conservation: A Case Study

To illustrate the convergence of the concepts discussed, let’s walk through a full pipeline for a smart beehive project, from sensor to self‑governing agent.

9.1 Hardware Stack

  • Sensor Suite: MEMS microphone (48 kHz, 16‑bit), temperature/humidity sensor (SHT31), weight scale (load cell).
  • Compute: ESP‑32‑S2 (dual‑core 240 MHz, 320 KB SRAM, 2 MB flash) with an Edge TPU add‑on via I2C.
  • Power: 2 × 18650 Li‑ion cells (≈ 5 Ah total), regulated to 3.3 V, with a solar panel for trickle charging.

9.2 Model Development

  1. Data Collection: 500 hours of hive audio labeled for “queen piping,” “worker buzz,” and “external noise.”
  2. Feature Extraction: 40‑dimensional Mel‑frequency cepstral coefficients (MFCC) computed on‑device.
  3. Model Architecture: A 1‑D CNN with three depthwise separable layers (total 20 k parameters).
  4. Compression: Quantization‑aware training to INT8; final model size ≈ 22 KB.

9.3 Inference Pipeline

  • Wake‑up: The MCU sleeps, wakes every 5 minutes, captures 2 seconds of audio, computes MFCCs, runs the CNN on the Edge TPU (latency ≈ 4 ms).
  • Decision: If the probability of queen piping exceeds 0.85, the device triggers a ventilation fan (via a MOSFET) for 30 seconds.
  • Reporting: Sends a concise JSON packet (≤ 64 bytes) over LoRaWAN: { "temp": 34.2, "queen": true, "vent": "on" }.

9.4 Learning Loop

Every night, the device aggregates the day’s predictions and sends a model delta (2 KB) to the central Apiary server. The server runs federated averaging across the fleet, producing a global model that improves detection of subtle queen cues. The updated model is then pushed back OTA to the hives.

9.5 Impact

  • Battery Life: The node runs ≈ 0.5 mA average, delivering > 9 months of operation per charge.
  • Accuracy: Field trials across 30 hives showed 94 % true‑positive detection of queen loss, reducing colony collapse incidents by 18 %.
  • Data Savings: Raw audio would have exceeded 10 GB per hive per month; the edge pipeline reduces transmitted data to < 200 KB, a > 99 % reduction.

This case study demonstrates how Edge AI, when thoughtfully engineered, can become a self‑governing agent that protects pollinators while respecting resource constraints—a tangible embodiment of Apiary’s mission.


Why It Matters

Edge AI is not just a technical curiosity; it is a practical enabler for a world where intelligence must be ubiquitous, sustainable, and respectful of privacy. By moving inference to the edge, we cut latency, preserve bandwidth, and empower devices to act autonomously—qualities essential for protecting fragile ecosystems like bee populations, where every second and every byte can make a difference.

When a smart hive can detect a queen’s distress within milliseconds, adjust ventilation without a human’s hand, and share its learning with neighboring hives over a low‑power network, we see the realization of self‑governing AI agents. Those agents, built on the foundations of model compression, TinyML toolchains, and energy‑aware design, become reliable partners in conservation, agriculture, industry, and daily life.

The path forward is clear: continue to push the limits of hardware efficiency, refine compression algorithms, and expand orchestration frameworks so that even the smallest sensor can think, learn, and protect. In doing so, we not only advance the frontier of AI but also safeguard the pollinators that sustain our food systems and natural world.


For deeper dives into related topics, explore our articles on tinyml, federated-learning, self-governing-agents, and bee-conservation.

Frequently asked
What is Edge AI about?
In the past decade, artificial intelligence has leapt from research labs into the everyday objects that surround us—traffic lights, thermostats, wearables,…
What Is Edge AI?
Edge AI is the subset of artificial intelligence that runs inference (the forward pass of a trained model) on edge devices—hardware that sits at the periphery of a network, close to the data source. Unlike cloud AI, which relies on powerful data centers with thousands of GPUs, Edge AI must operate within the strict…
What should you know about 1. The Resource Envelope: Constraints That Shape Edge AI?
Before a model can be ported to an edge device, we must understand the constraints that define the resource envelope . These limits are not abstract; they translate directly into design decisions, cost considerations, and ultimately, the feasibility of a deployment.
What should you know about 1.1 Compute Power?
Most microcontrollers execute single‑core ARM Cortex‑M instructions at 48–180 MHz. A typical M4 core can deliver roughly 0.5 DMIPS/MHz , meaning a 100 MHz MCU can perform ~50 DMIPS (Dhrystone MIPS). By contrast, a desktop CPU can exceed 20 DMIPS/MHz. The implication: a model that requires 10 million…
What should you know about 1.2 Memory Footprint?
RAM is the bottleneck for most inference engines. A 256 KB SRAM device must store the activations , weights , and temporary buffers simultaneously. For a convolutional neural network (CNN) with 1 MB of weights, the model cannot be loaded at all. Hence, model size must be reduced to ≤ 50 KB for many microcontroller…
References & sources
  1. Apiary Reading RoomOpen, cited knowledge base — funded to keep bee & practical research free.
From the Apiary Reading Room. Opinion & editorial — not financial advice. We don't overclaim.
More from the Reading Room