paper-with-me

Papers

Memformer: A Memory-Augmented Transformer for Sequence Modeling

2022-01-16 · ACL ARR January 2022 1 · Anonymous

Transformers have reached remarkable success in sequence modeling. However, these models have efficiency issues as they need to store all the history token-level representations as memory. We present Memformer, an efficient neural network for sequence modeling, that utilizes an external dynamic memory to encode and retrieve past information. Our model achieves linear time complexity and constant memory space complexity when processing long sequences. We also propose a new optimization scheme, memory replay back-propagation (MRBP), which promotes long-range back-propagation through time with a significantly reduced memory requirement. Experimental results show that Memformer has achieved comparable performance compared against the baselines by using 8.1x less memory space and 3.2x faster on inference. Analysis of the attention pattern shows that our external memory slots can encode and retain important information through timesteps.

📄 PDF Abstract BibTeX

Code (0)

등록된 구현이 없습니다.

Tasks

Efficient Neural Network

Similar Papers 제목 키워드 기반

Memformer: A Memory-Augmented Transformer for Sequence Modeling

2020-10-14 · Qingyang Wu, Zhenzhong Lan, Kun Qian, Jing Gu 외

Transformers have reached remarkable success in sequence modeling. However, these models have efficiency issues as they need to store all the history token-level representations as memory. We present Memformer, an effici…

Efficient Neural NetworkLanguage Modelling

HiMemFormer: Hierarchical Memory-Aware Transformer for Multi-Agent Action Anticipation

2024-11-03 · ZiRui Wang, Xinran Zhao, Simon Stepputtis, Woojun Kim 외

Understanding and predicting human actions has been a long-standing challenge and is a crucial measure of perception in robotics AI. While significant progress has been made in anticipating the future actions of individu…

Action AnticipationDecoder

Dynamic Memory-enhanced Transformer for Hyperspectral Image Classification

2025-04-17 · Muhammad Ahmad, Manuel Mazzara, Salvatore Distefano, Adil Mehmood Khan

Hyperspectral image (HSI) classification remains a challenging task due to the intricate spatial-spectral correlations. Existing transformer models excel in capturing long-range dependencies but often suffer from informa…

ClassificationHyperspectral Image Classificationimage-classificationImage Classification

Survey on Memory-Augmented Neural Networks: Cognitive Insights to AI Applications

2023-12-11 · Savya Khosla, Zhen Zhu, Yifei He

This paper explores Memory-Augmented Neural Networks (MANNs), delving into how they blend human-like memory processes into AI. It covers different memory types, like sensory, short-term, and long-term memory, linking psy…

Retrieval

Streaming Transformer-based Acoustic Models Using Self-attention with Augmented Memory

2020-05-16 · Chunyang Wu, Yongqiang Wang, Yangyang Shi, Ching-Feng Yeh 외

Transformer-based acoustic modeling has achieved great suc-cess for both hybrid and sequence-to-sequence speech recogni-tion. However, it requires access to the full sequence, and thecomputational cost grows quadraticall…