paper-with-me

Papers

Fourier Transformer: Fast Long Range Modeling by Removing Sequence Redundancy with FFT Operator

2023-05-24 · Ziwei He, Meng Yang, Minwei Feng, Jingcheng Yin, Xinbing Wang, Jingwen Leng, Zhouhan Lin

The transformer model is known to be computationally demanding, and prohibitively costly for long sequences, as the self-attention module uses a quadratic time and space complexity with respect to sequence length. Many researchers have focused on designing new forms of self-attention or introducing new parameters to overcome this limitation, however a large portion of them prohibits the model to inherit weights from large pretrained models. In this work, the transformer's inefficiency has been taken care of from another perspective. We propose Fourier Transformer, a simple yet effective approach by progressively removing redundancies in hidden sequence using the ready-made Fast Fourier Transform (FFT) operator to perform Discrete Cosine Transformation (DCT). Fourier Transformer is able to significantly reduce computational costs while retain the ability to inherit from various large pretrained models. Experiments show that our model achieves state-of-the-art performances among all transformer-based models on the long-range modeling benchmark LRA with significant improvement in both speed and space. For generative seq-to-seq tasks including CNN/DailyMail and ELI5, by inheriting the BART weights our model outperforms the standard BART and other efficient models. Our code is publicly available at https://github.com/LUMIA-Group/FourierTransformer

📄 PDF Abstract BibTeX arXiv:2305.15099

Code (1)

lumia-group/fouriertransformer 공식 구현 pytorch

Tasks

Abstractive Text SummarizationDocument SummarizationLong-range modelingOpen-Domain Question Answering

Methods 이 논문이 사용한 방법론

Multi-Head Attention 설명 없음
Absolute Position Encodings Absolute Position Encodings are a type of position embeddings for [Transformer-based models] where positional encodings are…
Refunds@Expedia|||How do I get a full refund from Expedia? “How do I get a full refund from Expedia? How do I get a full refund from Expedia? – Call ☎️ +1-(888) 829 (0881) or +1-805-330-4056 or +1-805-330-4056 for Quick Help &…
Softmax The Softmax output function transforms a previous layer's output into a vector of probabilities. It is commonly used for multiclass classification. Given an input vector $x$…
Layer Normalization Unlike batch normalization, Layer Normalization directly estimates the normalization statistics from the summed inputs…
BPE Byte Pair Encoding, or BPE, is a subword segmentation algorithm that encodes rare and unknown words as sequences of subword units. The intuition is that various word…
Dropout Dropout is a regularization technique for neural networks that drops a unit (along with connections) at training time with a specified probability $p$ (a common value is…
Attention 설명 없음

Similar Papers 제목 키워드 기반

Long-range Sequence Modeling with Predictable Sparse Attention

2022-05-01 · ACL 2022 5 · Yimeng Zhuang, Jing Zhang, Mei Tu

Self-attention mechanism has been shown to be an effective approach for capturing global context dependencies in sequence modeling, but it suffers from quadratic complexity in time and memory usage. Due to the sparsity o…

Math

FNet: Mixing Tokens with Fourier Transforms

2021-05-09 · NAACL 2022 7 · James Lee-Thorp, Joshua Ainslie, Ilya Eckstein, Santiago Ontanon

We show that Transformer encoder architectures can be sped up, with limited accuracy costs, by replacing the self-attention sublayers with simple linear transformations that "mix" input tokens. These linear mixers, along…

Linguistic AcceptabilityMachine TranslationNatural Language InferenceParaphrase Identification+4

FAN-Unet: Enhancing Unet with vision Fourier Analysis Block for Biomedical Image Segmentation

2024-11-28 · Jiashu Xu

Medical image segmentation is a critical aspect of modern medical research and clinical practice. Despite the remarkable performance of Convolutional Neural Networks (CNNs) in this domain, they inherently struggle to cap…

Image SegmentationMedical Image SegmentationSegmentationSemantic Segmentation

Machine-Learning Interatomic Potentials for Long-Range Systems

2025-02-07 · Yajie Ji, Jiuyang Liang, Zhenli Xu

Machine-learning interatomic potentials have emerged as a revolutionary class of force-field models in molecular simulations, delivering quantum-mechanical accuracy at a fraction of the computational cost and enabling th…

Dynamic Temporal Filtering in Video Models

2022-11-15 · Fuchen Long, Zhaofan Qiu, Yingwei Pan, Ting Yao 외

Video temporal dynamics is conventionally modeled with 3D spatial-temporal kernel or its factorized version comprised of 2D spatial kernel and 1D temporal kernel. The modeling power, nevertheless, is limited by the fixed…