RoboGeeks

MGAIC Symposium: Efficient AI Computing

Massachusetts Institute of Technology · Uploaded · 10:10 · Watch on YouTube

MIT associate professor Song Han presents research on making AI models smaller, faster, and cheaper to run, covering reasoning post-training, visual generation, and streaming video understanding. He also describes a real-time vision-language-action model that runs locally on edge devices for robots.

Transcript

Captions as a .vtt fileEmbed with the transcript

  1. 0:00Hello, everyone. I'm Sung Han. I work on efficient AI computing as an associate professor at EACS department.
  2. 0:09So these days, AI inference is consuming a large amount of GPUs, lots of power, and our research is how to reduce the cost,
  3. 0:16how to compress the model, how to make the inference cheaper, and having more tokens per GPU and more tokens per watt.
  4. 0:25First, I'm going to introduce efficient post-training techniques for reasoning.
  5. 0:30So reasoning is one of the amazing innovations recently for generalization capability, but how to do post-training is very expensive.
  6. 0:41So we worked on a few techniques to improve the efficiency for post-training.
  7. 0:48The first one is the taming the long tail for reasoning RL.
  8. 0:53We noticed that during the rollout process, there are some fast rollouts.
  9. 0:58Some of them are slow, and the fast one has to wait for the slow one, so causing a lot of idle time.
  10. 1:05So our idea is to squeeze the computation into those idle time, like showing the blue in the figure,
  11. 1:13where we have a speculative decoding engine that is trained on the fly to improve it, self-improvement, to make it faster,
  12. 1:21and can also utilize the idle time to squeeze the time for training the drafter.
  13. 1:26And as a result, we can be a lot faster, as I'm showing the bottom figure,
  14. 1:31compared with the baseline post-training methods without using this drafter training.
  15. 1:38We also have been working on Latin OPD, on-policy distillation technique.
  16. 1:43Well, traditional on-policy distillation technique require serving the teacher and also train the student at the same time.
  17. 1:51Well, the teacher model used to be pretty large, so it costs a lot of resource to train it.
  18. 1:57But we can store the training trees offline and create a data set and feed it to the student model.
  19. 2:05But naively doing this will hurt the accuracy, and we find the problem is teacher consistency.
  20. 2:14You have to use the same group of model to be the teacher and the student.
  21. 2:20So once you make them consistent, you can collect the data offline rather than having to run them online.
  22. 2:26So this improved the training efficiency by about four times.
  23. 2:30And can we have another approach to get rid of the constraints that the teacher and student have to be from the same group?
  24. 2:42So lightning weave can compose the accuracy and the efficiency.
  25. 2:46For example, you want to distill the model not only to make it more efficient, but also make it more accurate.
  26. 2:51So here we can combine the best of both worlds by using this lightning weave technique.
  27. 2:57So that on the figure, we can make it both faster and also more accurate.
  28. 3:06And next, we work on not only language model, but also visual generation.
  29. 3:12So we'll talk about a few techniques to improve the efficiency of visual generation.
  30. 3:16The first one is locality-aware parallel decoding.
  31. 3:20So rather than using diffusion model to generate images, the autoregressive approach proved to be very effective.
  32. 3:28But the constraint is that you have limited parallelism.
  33. 3:32You can generate token by token, which is pretty slow.
  34. 3:35Can we do parallel decoding?
  35. 3:37So that's the thesis.
  36. 3:38So we can increase the parallelism so we can decode more tokens at a single step.
  37. 3:45So we create a few techniques, including locality-aware techniques to make sure the accuracy also matches the autoregressive approach.
  38. 3:53So as shown on the right figure, we can reduce the latency by about three times by using this parallel decoding techniques to generate images.
  39. 4:02We also have been working on radio attention, where the attention mechanism, the computation complexity grows quadratically with the number of tokens.
  40. 4:12But does everything need to pay attention to everything?
  41. 4:16Actually, not.
  42. 4:17Attention is all you need, but you need to pay attention only where it's needed.
  43. 4:21So we worked on this all log n sparse attentional technique, sparsely pay attention to where it's really needed.
  44. 4:29So it gets sparser and sparser as you get further away from the diagonal.
  45. 4:33And in this approach, the computation is drastically reduced, and we can generate 4x longer videos and 3.7 times faster video generation.
  46. 4:43We also worked on quantization techniques using only 4-bit to generate video models.
  47. 4:52This can be a lot faster, roughly 2.3 times lower memory and 2.9 times smaller since we're using only 4-bit for both the weight and the activation.
  48. 5:05And the idea is you subtract the mean, do k-means quantization, k-means first, subtract the mean, only quantize the delta, which is a lot easier to quantize and doesn't hurt the accuracy.
  49. 5:15So you can get the model smaller without hurting the accuracy.
  50. 5:17So comparing the frame before and after, they are the same.
  51. 5:24Another approach, we find what we call it VC attention.
  52. 5:28So the softmax is a major bottleneck.
  53. 5:32Since after Blackwell B300, the computations are so powerful, the time for matrix multiplication is reduced.
  54. 5:41But the time for the softmax is becoming a major bottleneck.
  55. 5:47So what we do here is using an approximation technique to approximate this nonlinear function, this softmax, just using a few GPU instructions.
  56. 5:56You can mimic it very well.
  57. 5:58You can compare the quality for these three generated videos.
  58. 6:03They are pretty much the same, while we can make it about 1.6 times faster.
  59. 6:11We've been also working on streaming visual language model so you can understand infinite long videos.
  60. 6:18So that takes a lot of KV cache if you don't treat it properly.
  61. 6:21But how to understand infinite long videos, like driving, like medical cases.
  62. 6:29So we find from our previous work, streaming LLM, we find the attention sync, which is the first token and first frame, always need to be kept.
  63. 6:41You can never evict them from the KV cache.
  64. 6:43So by preserving those sync tokens, those first frames, you can actually get rid of those intermediate frames so that you can keep streaming using the sync and also the recent tokens, windowed recent tokens.
  65. 6:58So we can run eight frames per second on a single H100.
  66. 7:05We'll be also working on physical AI and also agents.
  67. 7:08So we want to run robots locally on edge devices, right?
  68. 7:12They have to interact with the robot very fast, running locally on a mobile device.
  69. 7:18You don't always connect it to the Internet.
  70. 7:21So we've been working on the Lash.
  71. 7:23It's a real-time VLA doing a synchronous inference.
  72. 7:28While you are thinking, you can do it at the same time rather than delaying so that you can have a very fast response.
  73. 7:35So some of the demos you already run at 10x speed up, but this is running at real-time, no speed up for the video generation.
  74. 7:45You can click the button where it is lighting up in real-time, very fast task execution by doing a synchronous inference and also the moving at the same time.
  75. 8:00We'll be also working on 4-act, visual foresight planning for VLAs.
  76. 8:05So show the VLA what is the next step going to look like.
  77. 8:10Basically, there's a video actually making coffee.
  78. 8:14So we generate an image to guide the VLA to predict what is the next frame going to look like.
  79. 8:21But generating the image as a visual chain of thought is very expensive.
  80. 8:25How can you generate locally in real-time?
  81. 8:27So we designed a small and efficient video and image generation model called SANA.
  82. 8:34The SANA model can run locally on a laptop without transmitting the data, without having to talk to the cloud,
  83. 8:42so that we can perform such visual generation locally to give the robot an idea of what's the next frame going to look like,
  84. 8:50and do the execution so that I can achieve that goal.
  85. 8:53And finally, we've been working on RSI using tokens to improve the token productivity.
  86. 9:02So when you are making a wish to the magic light of a lighting lamp,
  87. 9:08the last wish probably you are going to ask the lamp to give you another three wishes,
  88. 9:14so that I can continuously generate more tokens.
  89. 9:16And we are using token kernel design agent to using the agent to improve our GPU kernels,
  90. 9:24so that using the same cost budget, we can generate more tokens.
  91. 9:29This actually worked quite well.
  92. 9:31We participated in the MRCS flash-inferred contest.
  93. 9:34It writes tokens better than human and have consistent speed up over the human-generated GPU kernel,
  94. 9:41so that I can produce more tokens using the tokens.
  95. 9:46Okay, so that's a summary of our work.
  96. 9:49We focus on efficient air computing using efficiency techniques,
  97. 9:53make the model smaller, run faster, and cost less,
  98. 9:56and produce more tokens per second, more tokens per GPU,
  99. 10:00and well-utilize the GPU.
  100. 10:02Many thanks to our sponsors.
Embed this video with its transcript

Paste this into your page. The frame holds the player and the transcript; the link below it says where the transcript comes from.

Diskussion

Im nächsten Schritt wählst du einen Namen. Schon Mitglied? Anmelden.

Eine E-Mail, wenn jemand kommentiert. Kein Konto nötig.

Der Newsletter

Hol dir unseren kostenlosen Newsletter mit neuen Robotern, Preisen und Robotik-Nachrichten.