ACL Findings2023
FiDO: Fusion-in-Decoder optimized for stronger performance and faster inference
Michiel de Jong, Yury Zemlyanskiy, Joshua Ainslie, Nicholas FitzGerald, Sumit Sanghai, Fei Sha, William W. Cohen
Abstract
Fusion-in-Decoder (FiD) is a powerful retrieval-augmented language model that sets the state-of-the-art on many knowledgeintensive NLP tasks. However, the architecture used for FiD was chosen by making minimal modifications to a standard T5 model, which our analysis shows to be highly suboptimal for a retrieval-augmented model. In particular, FiD allocates the bulk of FLOPs to the encoder, while the majority of inference time results from memory bandwidth constraints in the decoder. We propose two simple changes to the FiD architecture to alleviate memory bandwidth constraints, and speed up inference by 7x. This allows us to use a much larger decoder at modest cost. We denote FiD with the above modifications as FiDO, and show that it strongly improves performance over existing FiD models for a wide range of inference budgets. For example, FiDO-Large-XXL performs faster inference than FiD-Base and achieves better performance than FiD-Large.
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
8 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- Improving Language Models by Retrieving from Trillions of Tokens cites Retrieval-Augmented Generation for Knowledge-Intensive NLP Tasks
- Improving Language Models by Retrieving from Trillions of Tokens cites Retrieval Augmented Language Model Pre-Training
- BTR: Binary Token Representations for Efficient Retrieval Augmented Language Models cites Improving Language Models by Retrieving from Trillions of Tokens
- BTR: Binary Token Representations for Efficient Retrieval Augmented Language Models cites Retrieval-Augmented Generation for Knowledge-Intensive NLP Tasks
- BTR: Binary Token Representations for Efficient Retrieval Augmented Language Models cites Retrieval Augmented Language Model Pre-Training
- Optimizing Retrieval-augmented Reader Models via Token Elimination cites CoLT5: Faster Long-Range Transformers with Conditional Computation
- Optimizing Retrieval-augmented Reader Models via Token Elimination cites Retrieval-Augmented Generation for Knowledge-Intensive NLP Tasks
- Multi-head Temporal Latent Attention cites FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awareness
Cited by top-tier papers8
- CoLT5: Faster Long-Range Transformers with Conditional ComputationJoshua Ainslie, Tao Lei, Michiel de Jong, Santiago Ontañón et al.EMNLP 2023 · 25 citations
- BTR: Binary Token Representations for Efficient Retrieval Augmented Language ModelsQingqing Cao, Sewon Min, Yizhong Wang, Hannaneh HajishirziICLR 2024 · 7 citations
- Context-Aware Assistant Selection for Improved Inference Acceleration with Large Language ModelsJerry Huang, Prasanna Parthasarathi, Mehdi Rezagholizadeh, Sarath ChandarEMNLP 2024 · 6 citations
- Optimizing Retrieval-augmented Reader Models via Token EliminationMoshe Berchansky, Peter Izsak, Avi Caciularu, Ido Dagan et al.EMNLP 2023 · 4 citations
- Multi-head Temporal Latent AttentionKeqi Deng, Philip C. WoodlandNeurIPS 2025 · 2 citations
Builds on13
- Retrieval-Augmented Generation for Knowledge-Intensive NLP TasksPatrick Lewis, Ethan Perez, Aleksandra Piktus, Fabio Petroni et al.NeurIPS 2020 · 19,162 citations
- FlashAttention: Fast and Memory-Efficient Exact Attention with IO-AwarenessTri Dao, Daniel Y. Fu, Stefano Ermon, Atri Rudra et al.NeurIPS 2022 · 5,493 citations
- Retrieval Augmented Language Model Pre-TrainingKelvin Guu, Kenton Lee, Zora Tung, Panupong Pasupat et al.ICML 2020 · 2,937 citations
- Improving Language Models by Retrieving from Trillions of TokensSebastian Borgeaud, Arthur Mensch, Jordan Hoffmann, Trevor Cai et al.ICML 2022 · 1,629 citations
- GLM-130B: An Open Bilingual Pre-trained ModelAohan Zeng, Xiao Liu, Zhengxiao Du, Zihan Wang et al.ICLR 2023 · 295 citations
Related papers
- Pre-computed memory or on-the-fly encoding? A hybrid approach to retrieval augmentation makes the most of your computeMichiel de Jong, Yury Zemlyanskiy, Nicholas FitzGerald, Joshua Ainslie et al.ICML 2023 · 20 citations
- Context Quality Matters in Training Fusion-in-Decoder for Extractive Open-Domain Question AnsweringKosuke Akimoto, Kunihiro Takeoka, Masafumi OyamadaEMNLP Findings 2023 · 6 citations
- FiD-Light: Efficient and Effective Retrieval-Augmented Text GenerationSebastian Hofstätter, Jiecao Chen, Karthik Raman, Hamed ZamaniSIGIR 2023 · 47 citations
- FiD-ICL: A Fusion-in-Decoder Approach for Efficient In-Context LearningQinyuan Ye, Iz Beltagy, Matthew E. Peters, Xiang Ren et al.ACL 2023 · 5 citations
- ED2LM: Encoder-Decoder to Language Model for Faster Document Re-ranking InferenceKai Hui, Honglei Zhuang, Tao Chen, Zhen Qin et al.ACL Findings 2022 · 5 citations
