Dissertação de Mestrado

Embedded System for Aerial Image Segmentation with Transformers

João Barreiros Coelho Rodrigues2025

Informações chave

Autores:

João Barreiros Coelho Rodrigues (João Barreiros Coelho Rodrigues)

Orientadores:

Mário Pereira Véstias; Horácio Cláudio De Campos Neto (Horácio Cláudio De Campos Neto)

Publicado em

24 de novembro de 2025

Resumo

Aerial image segmentation plays a critical role in domains ranging from urban development to environmental assessment and emergency management. Despite the state-of-the-art accuracy of Vision Transformers (ViTs) for this task, their deployment on edge devices is still largely underexplored due to their significant computational and memory requirements. This thesis addresses this challenge by designing and demonstrating a fully functional, hardware accelerated Swin Transformer Layer on a SoC-FPGA system. A Swin Transformer–based architecture, AerialFormer, is selected as the baseline for aerial image segmentation. To improve embedded suitability while preserving accuracy, an embedded-oriented variant, Hardware-RialFormer, is developed, maintaining 99.9% of the original mean Intersection over Union (mIoU) metric. A complete Swin Layer was implemented in software, using the C language, and, for the first time in literature, open-sourced. This implementation is embedded system-oriented, with simple memory management. A hardware IP was specifically designed to accelerate the most computationally intensive component of the Swin Layer, the Feed-Forward Network (FFN), with both weights and activations quantized to 8-bit fixed-point. The accelerator computes the FFN 313× faster than the ARM software implementation. A proof of concept hardware/software system – ARES, was successfully implemented on a ZCU104 development board. This system executes a complete Swin Transformer Layer, with the Feed-Forward Network computed in the dedicated hardware accelerator, implemented in the SoC-FPGA programmable logic, and the remaining components executed in software on the ARM embedded processor. The complete ARES system processes the Swin Layer 3.08× faster than the software-only implementation, approaching the Amdahl-theoretic maximum of 3.1×.

Detalhes da publicação

Orientadores desta instituição:

Domínio Científico (FOS)

electrical-engineering-electronic-engineering-information-engineering - Engenharia Eletrotécnica, Eletrónica e Informática

Idioma da publicação (código ISO)

eng - Inglês

Acesso à publicação:

Acesso Embargado

Data do fim do embargo:

19 de outubro de 2026

Nome da instituição

Instituto Superior Técnico