Compact Recurrent Transformer with Persistent Memory
원문 초록
The Transformer architecture has shown significant success in many language processing and visual tasks. However, the method faces challenges in efficiently scaling to long sequences because the self-attention computation is quadratic with respect to the input length. To overcome this limitation, several approaches scale to longer sequences by breaking long sequences into a series of segments, restricting self-attention to local dependencies between tokens within each segment and using a memory mechanism to manage information flow between segments. However, these approached generally introduce additional compute overhead that restricts them from being used for applications where limited compute memory and power are of great concern (such as edge computing). We propose a novel and efficient Compact Recurrent Transformer (CRT), which combines shallow Transformer models that process short local segments with recurrent neural networks to compress and manage a single persistent memory vector that summarizes long-range global information between segments. We evaluate CRT on WordPTB and WikiText-103 for next-token-prediction tasks, as well as on the Toyota Smarthome video dataset for classification. CRT achieves comparable or superior prediction results to full-length Transformers in the language datasets while using significantly shorter segments (half or quarter size) and substantially reduced FLOPs. Our approach also demonstrates state-of-the-art performance on the Toyota Smarthome video dataset.
함께 살펴볼 논문
공통 태그를 근거로 연결했습니다. 실제 인용 관계나 논문의 우수성을 뜻하지 않습니다.
Agile Reinforcement Learning for Real-Time Task Scheduling in Edge Computing
Edge-Enabled Collaborative Object Detection for Real-Time Multi-Vehicle Perception
FedSKC: Federated Learning with Non-IID Data via Structural Knowledge Collaboration
The More is not the Merrier: Investigating the Effect of Client Size on Federated Learning
Cooperative Inference for Real-Time 3D Human Pose Estimation in Multi-Device Edge Networks
PolygoNet: Leveraging Simplified Polygonal Representation for Effective Image Classification
토론
이 논문과 연결된 포럼 글이 아직 없습니다.