Scaling Transformer to 1M tokens and beyond with RMT (Paper Explained)

Subscribers:
284,000
Published on ● Video Link: https://www.youtube.com/watch?v=4Cclp6yPDuw



Duration: 24:34
54,668 views
1,811


#ai #transformer #gpt4

This paper promises to scale transformers to 1 million tokens and beyond. We take a look at the technique behind it: The Recurrent Memory Transformer, and what its strenghts and weaknesses are.

OUTLINE:
0:00 - Intro
2:15 - Transformers on long sequences
4:30 - Tasks considered
8:00 - Recurrent Memory Transformer
19:40 - Experiments on scaling and attention maps
24:00 - Conclusion

Paper: https://arxiv.org/abs/2304.11062

Abstract:
This technical report presents the application of a recurrent memory to extend the context length of BERT, one of the most effective Transformer-based models in natural language processing. By leveraging the Recurrent Memory Transformer architecture, we have successfully increased the model's effective context length to an unprecedented two million tokens, while maintaining high memory retrieval accuracy. Our method allows for the storage and processing of both local and global information and enables information flow between segments of the input sequence through the use of recurrence. Our experiments demonstrate the effectiveness of our approach, which holds significant potential to enhance long-term dependency handling in natural language understanding and generation tasks as well as enable large-scale context processing for memory-intensive applications.

Authors: Aydar Bulatov, Yuri Kuratov, Mikhail S. Burtsev

Links:
Homepage: https://ykilcher.com
Merch: https://ykilcher.com/merch
YouTube: https://www.youtube.com/c/yannickilcher
Twitter: https://twitter.com/ykilcher
Discord: https://ykilcher.com/discord
LinkedIn: https://www.linkedin.com/in/ykilcher

If you want to support me, the best thing to do is to share out the content :)

If you want to support me financially (completely optional and voluntary, but a lot of people have asked for this):
SubscribeStar: https://www.subscribestar.com/yannickilcher
Patreon: https://www.patreon.com/yannickilcher
Bitcoin (BTC): bc1q49lsw3q325tr58ygf8sudx2dqfguclvngvy2cq
Ethereum (ETH): 0x7ad3513E3B8f66799f507Aa7874b1B0eBC7F85e2
Litecoin (LTC): LQW2TRyKYetVC8WjFkhpPhtpbDM4Vw7r9m
Monero (XMR): 4ACL8AGrEo5hAir8A9CeVrW8pEauWvnp1WnSDZxW7tziCDLhZAGsgzhRQABDnFy8yuM9fWJDviJPHKRjV4FWt19CJZN9D4n




Other Videos By Yannic Kilcher


2023-08-15[ML News] LLaMA2 Released | LLMs for Robots | Multimodality on the Rise
2023-08-14How Cyber Criminals Are Using ChatGPT (w/ Sergey Shykevich)
2023-08-13Recipe AI suggests FATAL CHLORINE GAS Recipe
2023-08-12DeepFloyd IF - Pixel-Based Text-to-Image Diffusion (w/ Authors)
2023-06-20[ML News] GPT-4 solves MIT Exam with 100% ACCURACY | OpenLLaMA 13B released
2023-06-06Tree-Ring Watermarks: Fingerprints for Diffusion Images that are Invisible and Robust (Explained)
2023-06-02RWKV: Reinventing RNNs for the Transformer Era (Paper Explained)
2023-05-23Tree of Thoughts: Deliberate Problem Solving with Large Language Models (Full Paper Review)
2023-05-21OpenAI suggests AI licenses (US Senate hearing on AI regulation w/ Sam Altman)
2023-05-12[ML News] Geoff Hinton leaves Google | Google has NO MOAT | OpenAI down half a billion
2023-04-27Scaling Transformer to 1M tokens and beyond with RMT (Paper Explained)
2023-04-15OpenAssistant RELEASED! The world's best open-source Chat AI!
2023-04-10AI Alignment Livestream (aka OpenAssistant "Just Chatting")
2023-04-06OpenAssistant First Models are here! (Open-Source ChatGPT)
2023-03-18The biggest week in AI (GPT-4, Office Copilot, Google PaLM, Anthropic Claude & more)
2023-03-15GPT-4 is here! What we know so far (Full Analysis)
2023-03-11This ChatGPT Skill will earn you $10B (also, AI reads your mind!) | ML News
2023-03-02LLaMA: Open and Efficient Foundation Language Models (Paper Explained)
2023-02-24Open Assistant Inference Backend Development (Hands-On Coding)
2023-02-04OpenAssistant - ChatGPT's Open Alternative (We need your help!)
2022-12-31Open Assistant Live Coding (Open-Source ChatGPT Replication)



Tags:
deep learning
machine learning
arxiv
explained
neural networks
ai
artificial intelligence
paper
transformers
longformer
transformer long documents
paper explained
recurrent transformer
transformer xl
what is deep learning
mit deep learning
deep learning basics