arXiv:2606.31938v1 cs.AR

FlexViT: 엣지 비전 트랜스포머를 위한 유연한 FPGA 기반 가속기

FlexViT: A Flexible FPGA-based Accelerator for Edge Vision Transformers

Hubert Dymarkowski, Xingjian Fu, Rappy Saha, Jude Haris, José Cano

제출 2026-06-30

한국어 초록

비전 트랜스포머(ViT) 모델을 엣지 플랫폼에 배포하는 것은 높은 연산 요구량과, 완전 연결 층 및 합성곱 층을 모두 포함하는 현대 하이브리드 ViT 모델의 아키텍처 이질성으로 인해 여전히 어렵다. 이러한 이질성은 텐서 형태의 상당한 변동을 초래하여, 유연하고 효율적인 FPGA 기반 가속이 필요하다. 본 논문에서는 자원이 제한된 엣지 디바이스에서 효율적인 ViT 추론을 위한 재구성 가능한 FPGA 가속기인 FlexViT를 제안한다. SECDA-TFLite 프레임워크를 기반으로 구축된 FlexViT는 런타임 im2col 변환을 사용하여 완전 연결 층과 합성곱 층 모두를 통합된 고처리량 INT8 GEMM 엔진에 매핑하는 하드웨어-소프트웨어 공동 설계 방식을 채택한다. 다양한 층 구성을 효율적으로 지원하기 위해, 런타임에 연산 배열을 재구성함으로써 입력 재사용과 가중치 재사용 사이를 동적으로 전환하는 이중 모드 데이터플로우를 제안한다. 또한 단일 패스로 누적을 완료하는 깊이 우선 타일링 전략을 도입하여 오프칩 부분합 전송을 제거하고 메모리 대역폭 요구량을 줄인다. PYNQ-Z2 FPGA에 FlexViT를 구현하고 대표적인 ViT 모델 집합을 대상으로 평가한다. FlexViT는 가속기 실행 층에서 최대 2.74배의 속도 향상을 달성하며, CPU 단독 실행 대비 최대 1.40배의 종단간 속도 향상으로 이어진다. 코드는 https://github.com/gicLAB/FlexViT 에서 확인할 수 있다.

원문 초록

Deploying Vision Transformer (ViT) models on edge platforms remains challenging due to their high computational demands and the architectural heterogeneity of modern hybrid ViT models, which incorporate both fully connected and convolutional layers. This heterogeneity leads to significant variation in tensor shapes, requiring flexible and efficient FPGA-based acceleration. In this paper, we present FlexViT, a reconfigurable FPGA accelerator for efficient ViT inference on resource-constrained edge devices. Built on the SECDA-TFLite framework, FlexViT employs a hardware-software co-design approach that maps both fully connected and convolutional layers onto a unified high-throughput INT8 GEMM engine using a runtime im2col transformation. To efficiently support diverse layer configurations, we propose a dual-mode dataflow that dynamically switches between input and weight reuse by reconfiguring the compute array at runtime. We further introduce a depth-first tiling strategy that completes accumulation in a single pass, eliminating off-chip partial-sum transfers and reducing memory bandwidth requirements. We implement FlexViT on a PYNQ-Z2 FPGA and evaluate it across a representative set of ViT models. FlexViT achieves up to 2.74x speedup on accelerator-executed layers, translating into up to 1.40x end-to-end speedup compared to CPU-only execution. The code is available at: https://github.com/gicLAB/FlexViT

제출 이력

확인된 버전만 표시합니다. 전체 제출 이력은 arXiv 원문에서 확인하세요.

  1. arXiv:2606.31938v1제출 시각 미확인

함께 살펴볼 논문

공통 태그를 근거로 연결했습니다. 실제 인용 관계나 논문의 우수성을 뜻하지 않습니다.

공통 태그로 연결된 공개 논문이 아직 없습니다.

토론

이 논문과 연결된 포럼 글이 아직 없습니다.