경량 디텍션 트랜스포머를 위한 완전 정수 전용 추론 구현
Enabling Fully Integer-Only Inference for Lightweight Detection Transformers
한국어 초록
비전 트랜스포머(Vision Transformer) 기반 검출기는 이제 CNN에 근접한 정확도를 보이지만, 변형 가능한 어텐션(deformable attention), 특징 융합(feature fusion), 비선형 활성화 함수를 포함한 핵심 구성 요소들이 정수 연산과 기본적으로 호환되지 않아 NPU 및 마이크로컨트롤러에 배포하기 여전히 어렵습니다. 기존의 양자화(quantization) 검출기는 Softmax, GELU, LayerNorm과 같은 연산자를 그대로 유지하거나 고성능의 무거운 백본에만 초점을 맞추어 경량 디텍션 트랜스포머를 위한 엔드투엔드 정수 구현이 부재한 상태입니다. 본 논문에서는 트랜스포머(transformer) 비선형성을 포함한 순전파(forward pass)의 모든 연산이 정수 연산으로 실행되는 최초의 완전 정수 전용 경량 DETR인 I-LW-DETR을 제안하여 이러한 공백을 해소합니다. I-LW-DETR은 세 가지 핵심 구성 요소를 기반으로 구축됩니다. 다중 스케일 프로젝터의 각 분기에 독립적인 활성화 스케일을 할당하는 스케일 보존 분할 합성곱(scale-preserving split convolution), 정확도 저하를 피하면서 요소별(element-wise) 동작을 보존하는 부호 의존적 GELU 근사 기법인 SD-ShiftGELU, 그리고 안정적인 소프트맥스(Softmax) 정규화(normalization)를 유지하는 제약 기반 Shiftmax입니다. 실험 결과는 제안된 양자화 파이프라인이 다양한 모델(model) 스케일 전반에서 효율적인 완전 정수 전용 모델을 일관되게 생성함을 보여줍니다. 모든 모델 스케일에 걸쳐 제안된 파이프라인은 미미한 정확도 저하만을 초래하면서 모델 크기를 약 $3.6\times$ 줄이고 계산 비용을 한 자릿수(order of magnitude) 이상 절감합니다.
원문 초록
Vision Transformer detectors now approach the accuracy of CNNs but remain difficult to deploy on NPUs and microcontrollers because key components, including deformable attention, feature fusion, and nonlinear activation functions, are not natively compatible with integer arithmetic. Existing quantized detectors either retain operators such as Softmax, GELU, and LayerNorm or focus on heavyweight backbones, leaving lightweight detection transformers without an end-to-end integer implementation. We address this gap with I-LW-DETR, the first fully integer-only lightweight DETR, in which every operation in the forward pass, including transformer nonlinearities, is executed in integer arithmetic. I-LW-DETR is built upon three key components: a scale-preserving split convolution that assigns independent activation scale to each branch of the multi-scale projector; SD-ShiftGELU, a sign-dependent GELU approximation that preserves element-wise behavior while avoiding the accuracy degradation; and a constrained Shiftmax that maintains stable Softmax normalization. Experimental results demonstrate that the proposed quantization pipeline consistently produces efficient fully integer-only models across different model scales. Across all model scales, the proposed pipeline incurs only a moderate accuracy degradation while reducing the model size by approximately $3.6\times$ and the computational cost by more than one order of magnitude.
제출 이력
확인된 버전만 표시합니다. 전체 제출 이력은 arXiv 원문에서 확인하세요.
- arXiv:2607.24981v2제출 시각 미확인
- arXiv:2607.24981v1제출 시각 미확인
함께 살펴볼 논문
공통 태그를 근거로 연결했습니다. 실제 인용 관계나 논문의 우수성을 뜻하지 않습니다.
공통 태그로 연결된 공개 논문이 아직 없습니다.
토론
이 논문과 연결된 포럼 글이 아직 없습니다.