최근 인공지능(AI) 분야는 Transformer 아키텍처를 중심으로 비약적인 발전을 이룩하였으나, 입력 길이의 제곱에 비례하는 O(n²) 연산 복잡도는 자원이 제한된 엣지 디바이스 적용에 치명적인 제...

http://chineseinput.net/에서 pinyin(병음)방식으로 중국어를 변환할 수 있습니다.
변환된 중국어를 복사하여 사용하시면 됩니다.
https://www.riss.kr/link?id=T17381075
울산 : 울산대학교 일반대학원, 2026
학위논문(석사) -- 울산대학교 일반대학원 , 전기전자컴퓨터공학과 전기전자정보시스템공학전공 , 2026. 2
2026
한국어
울산
52 ; 26 cm
지도교수: 박재현
I804:48009-200000965694
0
상세조회0
다운로드최근 인공지능(AI) 분야는 Transformer 아키텍처를 중심으로 비약적인 발전을 이룩하였으나, 입력 길이의 제곱에 비례하는 O(n²) 연산 복잡도는 자원이 제한된 엣지 디바이스 적용에 치명적인 제...
최근 인공지능(AI) 분야는 Transformer 아키텍처를 중심으로 비약적인 발전을 이룩하였으나, 입력 길이의 제곱에 비례하는 O(n²) 연산 복잡도는 자원이 제한된 엣지 디바이스 적용에 치명적인 제약이 되고 있다. 이에 대한 대안으로 선형 복잡도 O(n)를 갖는 Mamba 모델이 주목받고 있지만, 핵심 연산인 SSM(State Space Model)의 순차적 데이터 의존성은 하드웨어 병렬화를 저해하는 새로운 병목으로 작용한다. 또한, 모델 내의 복잡한 비선형 연산들은 엣지 FPGA의 제한된 자원 내에서 효율적인 구현을 어렵게 만든다. 본 논문은 이러한 한계를 극복하기 위해, Mamba 모델에 특화된 FPGA 기반 AI 가속기 eMamba를 제안한다. 본 연구는 하드웨어-소프트웨어 공동 설계 방법론을 채택하여 다음과 같은 단계적 최적화를 수행하였다. 우선, 하드웨어 구현 효율성을 극대화하기 위해 근사-인식 신경망 구조 탐색을 선행하여, 하드웨어 제약 조건을 만족하면서도 목표 정확도를 유지하는 최적의 경량 모델 구조를 도출하고 설계의 기준으로 삼았다. 확정된 모델을 바탕으로 연산 복잡도가 높은 레이어 정규화를 하드웨어 친화적인 범위 정규화로 대체하고, 타이밍 위반 문제를 해결하기 위한 전용 나눗셈기를 설계하였다. 또한 SiLU 및 지수 함수와 같은 고비용 비선형 연산들을 정수 기반의 구간별 선형 근사로 변환하여 부동소수점 연산기를 제거하였다. 아울러 SSM 레이어의 순차적 병목을 해소하기 위해 4단계 내부 파이프라인 구조를 설계하여 임계 경로를 단축했다. 수치적 민감도가 높은 순환 경로에는 하이브리드 양자화 전략을 적용하여 비트 폭 폭발 문제를 방지하고 수치적 안정성을 확보하였다. 설계된 가속기를 AMD ZCU102 FPGA 플랫폼에 구현하여 MARS 데이터셋 기준으로 평가한 결과, 16.43μs의 초고속 추론 시간을 달성하였다. 이는 본 연구의 최적화가 적용되지 않은 Naïve Mamba 구현 대비 6.22배, ViT(Vision Transformer) 가속기 대비 4.95배 빠른 속도이다. 또한 Fashion-MNIST 데이터셋에서는 ViT 대비 19.9배 적은 파라미터로 더 높은 정확도를 달성하여 압도적인 효율성을 입증하였다. 결론적으로 본 연구는 차세대 시퀀스 모델인 Mamba의 이론적 효율성을 실제 엣지 하드웨어 환경에서 성공적으로 구현하였으며, 실시간성과 저전력 동작이 요구되는 엣지 AI 환경에 최적화된 가속기 설계 기술을 제시한다.
다국어 초록 (Multilingual Abstract)
Recent advances in artificial intelligence (AI) have been driven by the Transformer architecture, but its quadratic computational complexity O(n²) with respect to sequence length limits deployment on resource-constrained edge devices. The Mamba model...
Recent advances in artificial intelligence (AI) have been driven by the Transformer architecture, but its quadratic computational complexity O(n²) with respect to sequence length limits deployment on resource-constrained edge devices. The Mamba model, with linear complexity O(n), is a promising alternative; however, the sequential data dependency in its core state space model (SSM) operations forms a bottleneck to hardware parallelism, and complex nonlinearities further complicate edge FPGA implementation. To address these issues, this thesis proposes eMamba, an FPGA-based AI accelerator optimized for Mamba models using hardware–software co-design. Approximation-aware neural architecture search is first used to derive a lightweight model that satisfies hardware constraints while maintaining target accuracy. On this baseline, layer normalization is replaced with hardware-friendly range normalization, and a custom divider is introduced to resolve timing violations. Costly nonlinear operations such as SiLU and exponential functions are converted into integer piecewise linear approximations, effectively eliminating floating-point units. To mitigate the SSM sequential bottleneck, a 4-stage internal pipeline shortens the critical path, and a hybrid quantization strategy on numerically sensitive recurrent paths prevents bit-width explosion and ensures numerical stability. On an AMD ZCU102 FPGA, the eMamba accelerator achieves an inference time of 16.43μs on the MARS dataset, providing 6.22× speedup over a Naïve Mamba implementation and 4.95× over a Vision Transformer (ViT) accelerator. On the Fashion-MNIST dataset, eMamba attains higher accuracy than ViT with 19.9× fewer parameters, demonstrating its superior efficiency. Overall, this work translates the theoretical efficiency of the next-generation Mamba sequence model into practical edge hardware performance and presents an accelerator architecture tailored for real-time, low-power edge AI.
목차 (Table of Contents)