AI
Arm and Google bring graph debugging to edge AI compilers with Model Explorer adapters
Visual debugging tools now help engineers verify hardware delegation, spot unintended operators, and identify performance bottlenecks in on-device ML models.
Google Developers Blog (AI)
Machine learning models running on edge devices—from low-power IoT chips to specialized AI accelerators—require multiple compilation steps including quantization, operator fusion, and hardware delegation. Inspecting these transformations has traditionally meant sifting through raw logs and binary formats, a tedious process for large models.
Google AI Edge Model Explorer, a visual debugging platform, now includes open-source adapters from Arm that let engineers inspect hardware-specific intermediate representations and profiling traces directly on an interactive graph.
Three critical deployment questions#
When deploying to edge hardware, engineers need answers to structural and performance questions that raw data makes hard to spot:
- Structural integrity: Did graph lowering introduce unwanted operators, such as redundant layout transposes?
- Hardware delegation: Is the model running entirely on the NPU or GPU, or are unsupported operations falling back to the CPU?
- Performance bottlenecks: Which nodes consume the most compute cycles?
Visual inspection in practice#
Arm validated a PyTorch-trained Neural Super Sampling model exported for Vulkan through ExecuTorch. While examining the graph in Model Explorer, the team discovered unintended TRANSPOSE operators that a recent backend change had introduced—a regression they could identify and fix without manually parsing logs.
The platform lets developers drill down into individual operator details: selecting a node reveals its attributes and tensor connections, making it simple to trace data flow and spot anomalies.
Side-by-side hardware comparison#
For vision models targeting the Arm Ethos-U85 NPU, Model Explorer's split-pane view compares CPU and delegated graphs. When optimizing an Ultralytics YOLO model, engineers saw how the CPU graph displays each layer individually, while the NPU version groups the network into a single accelerator block—revealing which operators lack hardware support and which subgraphs might fall back to CPU execution.

