DeepSeek Solved AI’s Memory Problem — Transcript
Full transcript
- 0:00What if the best way for an AI to
- 0:02remember a book is to stop reading it?
- 0:05You see, every word an AI reads becomes
- 0:08tokens, and tokens are expensive. The
- 0:11longer the book, the more the AI chokes
- 0:14on it. But, we humans do something
- 0:17strange. We don't remember everything
- 0:19perfectly. Some details fade. The older
- 0:22grandpa is, the better he was at school.
- 0:25And scientists at Deep Seek asked the
- 0:27question, "What if we make an AI do
- 0:30that, too?" Asking artificial
- 0:32intelligence to do artificial
- 0:34forgetting.
- 0:36But, what a crazy proposition. Why would
- 0:39you do that? How does that even make
- 0:41sense? Well, let's see together. As we
- 0:43keep talking to an AI system, the longer
- 0:46we talk, the more documents we attach,
- 0:48the more expensive it is to keep running
- 0:51because it has to remember everything.
- 0:54Now, Deep Seek OCR says not to worry.
- 0:57Let's take this big soup of information,
- 1:00even text, and render it as an image,
- 1:03and then compress that image, a bit like
- 1:06what JPEG compression does to images.
- 1:09But, this is learned and token-based.
- 1:12And now, this data is drastically
- 1:15smaller. But, this still doesn't make
- 1:17too much sense. So, how is that good? I
- 1:20mean, we lose a lot of information,
- 1:22right? Well, hold on to your papers,
- 1:24fellow scholars, and let's see how much
- 1:27information we lose at 10x compression
- 1:29level that is throwing away almost
- 1:32everything and using 90% less space.
- 1:35That is a lot of compression. And what
- 1:39can that be? We can recover more than
- 1:4396% of the text. That is insane. So,
- 1:48why not push it a bit further? Well, as
- 1:50we go up to nearly 20x compression, OCR
- 1:54accuracy falls to 60%.
- 1:57Wow. I expected much, much lower. Okay,
- 2:01now important question. Is this really
- 2:03new? I mean, at first I was a bit
- 2:05confused by this work because this is an
- 2:08unassuming paper about OCR. Yes, this
- 2:11does OCR. So, you give it a document,
- 2:13maybe even a handwritten note, and it
- 2:16gives you the text back. Formally, it
- 2:18takes a small amount of compressed
- 2:21vision tokens and turns them into a much
- 2:23larger number of text tokens. But, is
- 2:26this just JPEG? I mean, that technology
- 2:29is more than 30 years old. The idea is
- 2:32good, but is this just JPEG plugged into
- 2:35an AI system? Well, not quite. There is
- 2:37tons of new stuff here. Dear fellow
- 2:40scholars, this is Two Minute Papers with
- 2:42Dr. Karolis Jonaityte. You see, JPEG
- 2:45compresses pixels. This compresses
- 2:48memories. First, these memories are
- 2:50turned into a picture, and then we
- 2:52compress that picture. But, we are not
- 2:55done yet. No, no, no.
- 2:58Not even close. The key engineering
- 3:00trick is that they created an encoder
- 3:03that is built to survive very
- 3:05high-resolution documents without
- 3:07exploding in cost. To do that, one, it
- 3:11uses local window attention first. Two,
- 3:14a 16x convolutional compressor. And
- 3:17three, it does global visual processing.
- 3:21Okay, and what does that mean? Well, in
- 3:24other words, it does not stare at every
- 3:26pixel with full attention. No, it skims,
- 3:30it squeezes, and only then it reads. And
- 3:33here is something brilliant. Once you
- 3:36can do this cheaply enough, suddenly
- 3:38this is not just about remembering old
- 3:41data. Wait, does that mean that it can
- 3:44not only understand documents, but also
- 3:47help generate new data? Yes. The paper
- 3:51says it can generate training data for
- 3:53LLMs and VLMs at more than 200,000
- 3:57pages per day on a single A100 GPU in
- 4:01sane speeds. Now, we are fellow scholars
- 4:04here, so we look at limitations, too.
- 4:07The paper itself says OCR alone is not
- 4:11enough to prove true text compression,
- 4:13and a later stress test suggests the
- 4:16model may rely heavily on language
- 4:19priors, not just visual memory. In other
- 4:21words, when the image becomes too
- 4:23compressed, it may not truly see the
- 4:26missing text anymore, but it also
- 4:29guesses the most likely words from the
- 4:31context, kind of like auto complete, but
- 4:34better.
- 4:35Overall, this is absolutely fantastic.
- 4:38This is not only an open system that is
- 4:41free for all of us, but it also creates
- 4:43training data to help other open models
- 4:46come into being. That is absolutely
- 4:49amazing. What a time to be alive. And
- 4:52don't forget, every research paper
- 4:54pushes humanity forward. But, the future
- 4:57belongs to the ones who understand it.
- 4:59Perhaps, subscribe and hit the bell if
- 5:01you feel that you enjoyed this. I use
- 5:03Lambda to reproduce AI research papers
- 5:06often in minutes. It's also great to
- 5:09train your own models or fine-tune an
- 5:11existing one. Run inference or text to
- 5:14image or video, easy peasy. Running a
- 5:17deep sea chatbot or agent, super fast,
- 5:20super reliable. Lambda gives you
- 5:22powerful Nvidia GPUs to run your own
- 5:25experiments. I test ideas from the
- 5:27papers I cover, and moments later,
- 5:30results. Love it. Seriously, try it out
- 5:34now at lambda.ai/papers.
About this transcript
This page contains the full transcript of DeepSeek Solved AI’s Memory Problem by Two Minute Papers, generated from the public captions YouTube serves with the video. The transcript has 822 words across 122 segments, with the original timestamps preserved so you can click any line to jump to that moment in the embedded player.
What you can do with it
Use the transcript to take notes, quote the speaker, build a study guide, generate a summary with ChatGPT or Claude via the YouTube Summary tool, or export it as a timed subtitle file with YouTube to SRT. You can also re-open it in the transcriber to choose a caption track available on the video.
Free YouTube transcript tool
YouTube2Text is a free YouTube transcript generator — no signup, no daily limit. Paste any YouTube link and get the full transcript instantly, with timestamps, click-to-jump, caption language selection, AI prompts for ChatGPT, Claude, and Gemini, and exports to TXT, SRT, VTT, or Markdown.