DLA (Deep Layer Aggregation)

April 16, 2026 · View on GitHub

Use case : Image classification

Model description

Deep Layer Aggregation (DLA) networks introduce iterative and hierarchical structures for aggregating features across layers. DLA extends standard architectures by merging features from different depths and resolutions, enabling richer semantic and spatial information flow.

DLA employs Hierarchical Deep Aggregation (HDA) to merge feature hierarchies combining features from different depths, and Iterative Deep Aggregation (IDA) to progressively refine resolution and semantic information. The dense connections enable gradient flow and feature reuse across the network.

DLA is particularly well-suited for applications requiring multi-scale feature representation, such as semantic segmentation and object detection.

(source: https://arxiv.org/abs/1707.06484)

The model is quantized to int8 using ONNX Runtime and exported for efficient deployment.

Network information

Network InformationValue
FrameworkTorch
MParams~1.04–1.25 M
QuantizationInt8
Provenancehttps://github.com/ucbdrive/dla
Paperhttps://arxiv.org/abs/1707.06484

Network inputs / outputs

For an image resolution of NxM and P classes

Input ShapeDescription
(1, N, M, 3)Single NxM RGB image with UINT8 values between 0 and 255
Output ShapeDescription
(1, P)Per-class confidence for P classes in FLOAT32
PlatformSupportedRecommended
STM32L0[][]
STM32L4[][]
STM32U5[][]
STM32H7[][]
STM32MP1[][]
STM32MP2[][]
STM32N6[x][x]

Performances

Metrics

  • Measures are done with default STEdgeAI Core configuration with enabled input / output allocated option.
  • All the models are trained from scratch on Imagenet dataset

Reference NPU memory footprint on Imagenet dataset (see Accuracy for details on dataset)

ModelDatasetFormatResolutionSeriesInternal RAM (KiB)External RAM (KiB)Weights Flash (KiB)STEdgeAI Core version
dla46xc_pt_224ImagenetInt8224×224×3STM32N6236162721036.414.0.0
dla46c_pt_224ImagenetInt8224×224×3STM32N6236162721266.664.0.0
dla60xc_pt_224ImagenetInt8224×224×3STM32N6236162721278.524.0.0

Reference NPU inference time on Imagenet dataset (see Accuracy for details on dataset)

ModelDatasetFormatResolutionBoardExecution EngineInference time (ms)Inf / secSTEdgeAI Core version
dla46c_pt_224ImagenetInt8224×224×3STM32N6570-DKNPU/MCU184.235.434.0.0
dla46xc_pt_224ImagenetInt8224×224×3STM32N6570-DKNPU/MCU186.365.374.0.0
dla60xc_pt_224ImagenetInt8224×224×3STM32N6570-DKNPU/MCU187.545.334.0.0

Accuracy with Imagenet dataset

Dataset details: link Number of classes: 1000. To perform the quantization, we calibrated the activations with a random subset of the training set. For the sake of simplicity, the accuracy reported here was estimated on the 50000 labelled images of the validation set.

ModelFormatResolutionTop 1 Accuracy
dla46c_ptFloat224x224x365.03 %
dla46c_ptInt8224x224x364.43 %
dla46xc_ptFloat224x224x366.50 %
dla46xc_ptInt8224x224x366.06 %
dla60xc_ptFloat224x224x368.30 %
dla60xc_ptInt8224x224x367.73 %

Retraining and Integration in a simple example:

Please refer to the stm32ai-modelzoo-services GitHub here

References

[1] - Dataset: Imagenet (ILSVRC 2012) — https://www.image-net.org/

[2] - Model: Deep Layer Aggregation — https://github.com/ucbdrive/dla