YouTube2Text

wk07 2 vizAI iat111 — Transcript

by ivizlab · 6,448 words · 1,007 segments · language en · Watch on YouTube

Full transcript

  1. 0:00Welcome everybody to week seven. Uh
  2. 0:03we've been doing a lot with large
  3. 0:04language models and now we're going to
  4. 0:06start moving out to other kinds of
  5. 0:09systems, generally generative
  6. 0:11visualization systems like for stills
  7. 0:14and images and then we'll be moving in
  8. 0:18later ones into image understanding
  9. 0:20that's used in robots. We'll be talking
  10. 0:22about robot technology and other things
  11. 0:25always bring up ethics along the way. So
  12. 0:28a quick recap. Uh we talked a lot about
  13. 0:31how we're moving from reasoning
  14. 0:34uh with our LLMs into endogenetic
  15. 0:37multimodal where now we have web access
  16. 0:40uh it can go out and do file and data
  17. 0:42handling image and audio understanding,
  18. 0:45code execution. So this is what's
  19. 0:47currently now happening in our modern
  20. 0:51large language models.
  21. 0:53So as we've discussed a lot has changed.
  22. 0:56Now there's percents persistent context
  23. 0:59it remembers things in your prior chats.
  24. 1:01It's doing that tool orchestration that
  25. 1:04I mentioned like and web retrieval and
  26. 1:06multimedia
  27. 1:08fusion through everything it does.
  28. 1:11It changes of course now how you use it.
  29. 1:13You're no longer just asking it a
  30. 1:15question or chatting. You're in the best
  31. 1:17sense co-orchestrating
  32. 1:19which
  33. 1:20in my lab we've done a lot with using
  34. 1:23the FURC model
  35. 1:25but there's many other kinds of ways to
  36. 1:27do this level of orchestration.
  37. 1:29So just want to remind you that an LLM
  38. 1:32is no longer just one neural network but
  39. 1:35but many different smaller neural
  40. 1:38networks doing different tasks.
  41. 1:42And we also talked about the context
  42. 1:44window which is how much the context can
  43. 1:47hold and in and in general there's a
  44. 1:50very large model that model is looking
  45. 1:52at your current prompt which we call the
  46. 1:54context window. Um but you could only
  47. 1:57fit so much in it. So, we've been
  48. 1:59talking about rags or retrieval
  49. 2:01augmented generation
  50. 2:02um as a way to put in a document and
  51. 2:05then it uh chunks that into small
  52. 2:08meaningful,
  53. 2:10let's say, paragraphs or chunks. And
  54. 2:12then only when um
  55. 2:15at execution time does it put that in
  56. 2:18that smaller part in the context window.
  57. 2:21I bring up how important this is for so
  58. 2:23many types of things. Um, so you did
  59. 2:26your prompt engineering exercise and we
  60. 2:28talked about it a lot using the this
  61. 2:31technique. Uh and then we've now moved
  62. 2:34on past that into um
  63. 2:38full collaboration. So, no longer now
  64. 2:41you conduct and orchestrate like a in
  65. 2:44some human AI collaboration where the AI
  66. 2:47now is not the oracle but in fact just
  67. 2:50your assistant where you frame, explore,
  68. 2:52refine, and commit. And many other
  69. 2:55methods. So, you just don't ask for an
  70. 2:56answer, but you direct the process in
  71. 2:59many ways. Getting back to the rag and
  72. 3:01some of these techniques that I talk
  73. 3:03about
  74. 3:05from last week, there's there's now a
  75. 3:07different way of working where you're
  76. 3:09summarizing into a document, you're
  77. 3:11putting that document back in using a
  78. 3:13hostile critic, you're using uh
  79. 3:16tools that make assumptions. All
  80. 3:18throughout you're making the human
  81. 3:20decisions about what to keep and what to
  82. 3:23lose.
  83. 3:24So, that was FURC. We talked about it
  84. 3:26last week.
  85. 3:28Uh and then moving on, we're starting to
  86. 3:31get towards meaning. So, I'm going to
  87. 3:33start sliding to talking about visual
  88. 3:36systems. But to do visual systems, we
  89. 3:38would definitely have these text image
  90. 3:41pairs that I've talked about um
  91. 3:44when you when you get these
  92. 3:46uh image plus text, you get a perfect
  93. 3:49one when it's in fact exactly explaining
  94. 3:52what's going on, but in other cases you
  95. 3:54get a number and eventually you could
  96. 3:56build up a system where you're starting
  97. 3:58to get meaning that these things have
  98. 4:00more to do than other things.
  99. 4:02Um, this gives us an embedding space
  100. 4:06um, [clears throat]
  101. 4:07where in general um,
  102. 4:09there's some bit of knowledge already
  103. 4:11ready to go. And in fact
  104. 4:14most of us working with these systems
  105. 4:17are are working with some kind of
  106. 4:20embedding space already. So we build on
  107. 4:22top of other embedding spaces. So
  108. 4:25embedding space is a vector space where
  109. 4:27similar meanings are positioned close to
  110. 4:29each other in some simple way, but in
  111. 4:31the end of the day it's a latent space
  112. 4:34on a knowledge set and now we just tend
  113. 4:36to
  114. 4:37um, in different fields grab on that. So
  115. 4:40if I was to do which I am um, trying to
  116. 4:42have a very smart system on on on art
  117. 4:46and art imagery, that would be based on
  118. 4:49a different embedding space on just
  119. 4:53vision in general and all the image just
  120. 4:55regular photography. So that I can put
  121. 4:58art on top of that.
  122. 5:00Um, we've talked about vibe coding.
  123. 5:04Um,
  124. 5:05and how we're moving towards that. I'll
  125. 5:07be doing more on vibe coding, but the
  126. 5:09idea that you could have an idea
  127. 5:11[clears throat]
  128. 5:11and and as long as you can explain that
  129. 5:15um, to a system in different kinds of
  130. 5:16ways. And this way you're the final
  131. 5:18specialist step. You know, you're using
  132. 5:20the AI as the specialist step in this
  133. 5:23case coding, but there's other ideas
  134. 5:25that go with that. Um, [clears throat]
  135. 5:27so you could be using that in your in
  136. 5:30your final projects as well, but I you
  137. 5:33know, from a wider notion we are
  138. 5:36coming up to the if you have a good
  139. 5:38idea,
  140. 5:39uh, AI [clears throat] can help you
  141. 5:41create the website or the movie script
  142. 5:44or anything with that in mind.
  143. 5:47So, why visuals
  144. 5:50>> [clears throat]
  145. 5:50>> um
  146. 5:52uh we're going to move now to visual AI
  147. 5:55a bit more, and it does use a lot from
  148. 5:58what we've already learned from large
  149. 5:59language models. Surely, it is deep
  150. 6:01learning. It It is trained on billions
  151. 6:03of images rather than words. It's using
  152. 6:06pattern recognition. So, many visual
  153. 6:08models learn to create by removing
  154. 6:11noise, and we'll be talking about that
  155. 6:13in a second. But But as we get uh more
  156. 6:16into it, it's doing that plus what is in
  157. 6:19it with what is in an LLM, which is a
  158. 6:21transformer. So, [snorts]
  159. 6:23we definitely have a neural net, as you
  160. 6:25know,
  161. 6:26um
  162. 6:27>> [clears throat]
  163. 6:27>> where we have low level to high level
  164. 6:29with image understanding.
  165. 6:31Um [snorts and clears throat] generative
  166. 6:32though, to generate a visual, which is
  167. 6:34mainly what we're talking about from now
  168. 6:37on, is we go back through the system.
  169. 6:40So, we go up through the system to
  170. 6:41understand things. That would work for
  171. 6:44writing text and things, but then
  172. 6:46certain nodes are are fired
  173. 6:49uh and we're able to do that. So, what
  174. 6:52we might see in that case is each layer
  175. 6:54um this notion that once it goes up, um
  176. 6:58certain things are fired like if we're
  177. 7:00putting in uh an image of Van Gogh,
  178. 7:04uh we have some firing going on. We
  179. 7:06could put in this image as well, too.
  180. 7:09Different things fire, and then when we
  181. 7:10go back down, it will bias the picture
  182. 7:12towards those these two. So, let's just
  183. 7:15look at that in a video.
  184. 7:21>> This is how Stable Diffusion works.
  185. 7:23Training begins with billions of images.
  186. 7:26Consider this sample as representative
  187. 7:27of all our data. However, this grid does
  188. 7:30not contain all possible images that
  189. 7:32exist. In reality, they make up a tiny
  190. 7:34fraction, with the vast majority being
  191. 7:36random noise.
  192. 7:37>> So, you can imagine then that the neural
  193. 7:39net
  194. 7:40um
  195. 7:41has every type of pixel representation
  196. 7:45possible. Some of those pic pixel
  197. 7:47representations actually are images that
  198. 7:50we would understand.
  199. 7:52We have them all go to noise and come
  200. 7:54back, which I'll show you in a second.
  201. 7:56Um and this
  202. 7:58>> our data within this massive image
  203. 8:00space, we can then define clusters based
  204. 8:02on keywords. Take for example dancer or
  205. 8:04Van Gogh. These are two disparate ideas,
  206. 8:07but by drawing connections between these
  207. 8:08nodes, we can conceptually define a
  208. 8:10greater space of all normal-looking
  209. 8:12images. If we then choose a spot on this
  210. 8:14grid that is not defined and as such
  211. 8:16random noise and provide a prompt that
  212. 8:18connects these terms, we can
  213. 8:20progressively move from that spot
  214. 8:22towards this connection between nodes
  215. 8:23and arrive at a new image that is not
  216. 8:25part of our original data set.
  217. 8:29>> So,
  218. 8:30um
  219. 8:31I'd like to mention again, not only are
  220. 8:34we then able to do what I was just
  221. 8:36mentioning that there are certain things
  222. 8:38fired to get us the dancer and then Van
  223. 8:40Gogh and a way to then put those
  224. 8:43together
  225. 8:44to give us even video and image stills
  226. 8:48that are a new. But, it's also a meaning
  227. 8:50space that they are clustered in in
  228. 8:53areas together. So, we're both getting
  229. 8:55meaning and the the gen viz tools out of
  230. 9:00this work.
  231. 9:03Um
  232. 9:03>> [clears throat]
  233. 9:03>> so, let's talk about this diffusion
  234. 9:05process.
  235. 9:06Um we start with a real image from a
  236. 9:08data set and gradually add noise to it.
  237. 9:12Um
  238. 9:13uh and then we're able to go backwards
  239. 9:16through that. So, um diffusion, which is
  240. 9:19the main technique used in the image
  241. 9:22side rather than transformers in words,
  242. 9:26turns an image into noise in steps, uses
  243. 9:29the knowledge to make a new image from
  244. 9:31noise. So, by um slowly moving to a
  245. 9:37noise space
  246. 9:39um um
  247. 9:39we're using a particular technique
  248. 9:42where we can then go we can go backwards
  249. 9:45through that process. This was an
  250. 9:47amazing in a number of ways because we
  251. 9:49can move everything to noise and then
  252. 9:51whether it's Van Gogh or the dancer, you
  253. 9:54can see how we could build that up from
  254. 9:56the noise space in the way that we just
  255. 9:58showed, but it also means that we no
  256. 10:00longer have to kind of save uh
  257. 10:04the images in the data set. The data set
  258. 10:07is much smaller because we're only
  259. 10:09saving um
  260. 10:11the parameters of of its noise. So
  261. 10:14again, we call this a latent or
  262. 10:16embedding space where we only have we
  263. 10:18can move through the world that we just
  264. 10:21saw um in in this image here by moving
  265. 10:26through the latent space and these don't
  266. 10:28have to be now the the original images.
  267. 10:31They are uh just the parameterized of
  268. 10:34how you would get out of the noise to
  269. 10:36get to Van Gogh. So this is really uh
  270. 10:39it changed the world of visual
  271. 10:42generation amazingly.
  272. 10:46So
  273. 10:47um LLMs then are mainly for text, right?
  274. 10:50Um
  275. 10:52and the idea then is it predict it
  276. 10:55predicts the next token or word, but
  277. 10:58what we're now seeing is we're able to
  278. 11:00do a little bit of both. So we use the
  279. 11:03diffusion
  280. 11:04um to and refine from noise, but the
  281. 11:07hybrid is we could use the same token
  282. 11:11system by cutting up the image and then
  283. 11:15using the diffusion throughout. So
  284. 11:17originally everything was just diffusion
  285. 11:20for image space and transformers were
  286. 11:23used more with this kind of next token
  287. 11:26prediction in LLMs, but we've now
  288. 11:29speeded that up greatly by realizing
  289. 11:32that diffusion could be uh smaller parts
  290. 11:35of an image and then when we're
  291. 11:37predicting the next diffusion area. So,
  292. 11:41it's a way to put the two of them
  293. 11:43together. And as I said, the meaning
  294. 11:45builds up the meaning builds up this way
  295. 11:47and we're starting to really understand
  296. 11:49things. So, learning that a cat, you
  297. 11:52know, uh about a cat, you know, you
  298. 11:54could be training on millions of images
  299. 11:57of these image caption pairs. Some of
  300. 12:00them are cats, cat sleeping. Um and then
  301. 12:03you could see like a a golden retriever
  302. 12:05playing and we have a we have a image
  303. 12:07and a and a caption of that. And by that
  304. 12:09we're able to learn all these different
  305. 12:11kinds of pieces and then their nearness.
  306. 12:16So, diffusion then is this process of
  307. 12:19going to
  308. 12:20pure noise, learning the knowledge to
  309. 12:23predict and remove the noise, repeating
  310. 12:26that many, many steps. And as you start
  311. 12:28using these systems, you'll see that you
  312. 12:31you play with this this steps
  313. 12:33controller. Um
  314. 12:35and then we can go from that and
  315. 12:37gradually come back the other way.
  316. 12:42Um so, we call this high-dimensional
  317. 12:45space where text and images share
  318. 12:47meaning and embedding space like I just
  319. 12:49talked about. In general, um we do that
  320. 12:52with mathematical representations called
  321. 12:54vectors. We no longer have to put the
  322. 12:57images in there and this way we can put
  323. 12:59all that together.
  324. 13:02Um so, we tend to now call these vision
  325. 13:04transformers that are turning an image
  326. 13:06into tokens. So, that's the new idea
  327. 13:09that we're able to put these both
  328. 13:11together now. So, we cut up the image
  329. 13:13into grids. That's where we're still
  330. 13:15doing diffusion, but we turn each patch
  331. 13:18into now a visual token and then we can
  332. 13:21use the large language model type
  333. 13:23transformer system to do that. So, once
  334. 13:26an idea an image is in a token, the same
  335. 13:29transformer system that we use for text,
  336. 13:32we can apply to images.
  337. 13:38Um
  338. 13:41So, that there we then have that, you
  339. 13:43know, we're trying to make a cat
  340. 13:44astronaut. The text encoder, which is
  341. 13:47increasingly like a full large language
  342. 13:49model, can convert that prompt into
  343. 13:51embedded things that has the now the
  344. 13:53concept of a cat, the concept of an
  345. 13:57astronaut, and using diffusion as the
  346. 13:59last step can put that together. So, um
  347. 14:03this is now how modern
  348. 14:06visual systems work.
  349. 14:09Understanding and generating uh
  350. 14:12our way of merging this multimedia data.
  351. 14:14And we have all these particular systems
  352. 14:16out there to do it. Nano banana is the
  353. 14:18Gemini system. They now have a new one
  354. 14:21called Argon that I'll be showing you
  355. 14:22some examples of.
  356. 14:24Uh so, both the text encoder,
  357. 14:26um
  358. 14:27and then decoding using the diffusion
  359. 14:29model is one of the ways we do it. So,
  360. 14:32images become tokens or patches, uh so
  361. 14:35areas of picture.
  362. 14:37And we use both the next token technique
  363. 14:39and the diffusion technique to put them
  364. 14:42both together. It's still doing deep
  365. 14:44learning, large data sets, and
  366. 14:46transformers now. So, they're really
  367. 14:47coming together. So, let's look at at
  368. 14:50examples. So, this would be just
  369. 14:52blending two images. So, you could just
  370. 14:54say that out of the text and all of a
  371. 14:56sudden you could put that together.
  372. 14:57That could be an image of you
  373. 14:59>> [clears throat]
  374. 15:00>> um and your dog um
  375. 15:06Um people can be using it in interior
  376. 15:09design or designing houses. So, add a
  377. 15:12green sofa with a modern style beneath
  378. 15:14the window, add a Persian rug.
  379. 15:18Uh how about a mid-century table? And
  380. 15:20you can see now how you can quickly put
  381. 15:22all this together.
  382. 15:27We could also visualize dense data. So,
  383. 15:30in this case, this is um
  384. 15:32uh wildfire data. I have the actual data
  385. 15:35set if you want to see it. And not only
  386. 15:38can we look at it in a chart or in some
  387. 15:40ways, but we could really put in the
  388. 15:42notion of the Earth and the globe and
  389. 15:44three-dimensionality and really thinking
  390. 15:46about that way. This could be really
  391. 15:48amazing for some of your final projects.
  392. 15:54So, uh I already mentioned it design.
  393. 15:57Sorry to go backwards there.
  394. 15:59Um and very, very recently, we're now
  395. 16:02moving into three-dimensionality and
  396. 16:04interaction. So, similarly, the the same
  397. 16:07system now is able to let's say with
  398. 16:10with making your product and product
  399. 16:12[clears throat] design, showing off um
  400. 16:16or in gaming, showing off um a
  401. 16:18three-dimensional tool, and giving you
  402. 16:21control. So, this control to change the
  403. 16:23lighting and the way it looks, and you
  404. 16:25can see I'm I'm fooling [clears throat]
  405. 16:27with the buttons here. Um
  406. 16:29So, this is what the level is now
  407. 16:31possible with these systems. So, I think
  408. 16:34I'm thinking about you now and how you
  409. 16:36might want to use it in uh the tools
  410. 16:39that you might make.
  411. 16:42Um
  412. 16:43>> [clears throat]
  413. 16:44>> somehow I left out my my graphic here,
  414. 16:47which is um doing uh interactive
  415. 16:50[clears throat] visualization. So, from
  416. 16:52one picture in a schematic, I could get
  417. 16:55uh a a web page on financial data or in
  418. 16:58this case on everything about this
  419. 17:01Victorian cal- carriage, or with the med
  420. 17:04school, we're looking at uh
  421. 17:06visualizing anatomy and biology. So,
  422. 17:11think about all these possibilities,
  423. 17:12come back to the slide, and what you
  424. 17:14might think about you might even want to
  425. 17:17do for your final project. Some of these
  426. 17:19are using this Gemini Argon system,
  427. 17:21which is a new system. Fortunately, you
  428. 17:23would need a paid Gemini account. Um but
  429. 17:27there are other systems out there. I do
  430. 17:29have a paid Gemini account, so there's a
  431. 17:31team that wants to use something like
  432. 17:33that and doesn't have it, they can be
  433. 17:35talking to me.
  434. 17:41So,
  435. 17:42um
  436. 17:43the big shift then is you used to just
  437. 17:46whatever it just made something and you
  438. 17:48had to take it or leave it. And the only
  439. 17:50thing you do is like run it again. But
  440. 17:52now you can do very surgical in painting
  441. 17:55and direct control over everything.
  442. 17:59Um
  443. 17:59and uh with you could have a
  444. 18:04you could use uh
  445. 18:06you used to be able to just use text
  446. 18:07prompts, but now it could be
  447. 18:09multi-references, brand guides, data,
  448. 18:12anything you want to explain the
  449. 18:15visualization you want. We have more
  450. 18:17consistency with faces uh and it used to
  451. 18:20be terrible at at doing text and now it
  452. 18:23can do text.
  453. 18:24Um let's look at
  454. 18:26>> Great.
  455. 18:27That's why you can say, "Make this mug
  456. 18:29look like it's on a beach at sunset."
  457. 18:31And it nails the vibe in one go. Inside
  458. 18:34the model lives a huge team of mini
  459. 18:36networks or experts. One expert knows
  460. 18:38faces, another knows lighting, another
  461. 18:41knows text. When you give a prompt, a
  462. 18:43tiny manager quickly assigns each part
  463. 18:46of the job to the right experts. So you
  464. 18:48get high-quality results fast without
  465. 18:50overloading your computer. It's like
  466. 18:52ordering different dishes and having a
  467. 18:54kitchen brigade cook them in parallel.
  468. 18:55>> We'll talk more about mixture of
  469. 18:56experts.
  470. 18:57>> does it actually paint a picture? It
  471. 18:59starts with pure TV static noise, then
  472. 19:01erases the noise step by step until an
  473. 19:04image appears guided by your
  474. 19:06instructions. Picture a Polaroid
  475. 19:08developing in reverse. First you you
  476. 19:10blur, then shapes, then a crisp photo.
  477. 19:13This noise-to-art process is called
  478. 19:15diffusion, and it's why the outputs look
  479. 19:17so clean. Subject consistency. Take one
  480. 19:20selfie and spawn dozens of matching
  481. 19:22product shots. Multi-image fusion. Drop
  482. 19:26your logo and a cafe photo and get
  483. 19:28realistic signage.
  484. 19:29Conversational tweaks. Nice. Now, make
  485. 19:32the cup red. Instant update.
  486. 19:35Every image gets an invisible watermark
  487. 19:37baked into the pixels called SynthID. It
  488. 19:40survives cropping or filters and tells
  489. 19:42future software, "Yep, this came from
  490. 19:45Google AI." Helping fight fakes. So,
  491. 19:48Nano Banana isn't magic. It's smart
  492. 19:50architecture. If you learned something
  493. 19:52new, hit like.
  494. 19:53>> So, we'll talking be a lot more about
  495. 19:55about watermarking and provenance um
  496. 19:58a little bit later.
  497. 20:02I have one more that I want to show you
  498. 20:03here.
  499. 20:06>> Hey everyone. Welcome back to Code
  500. 20:08Viral. Today, we're unpeeling net
  501. 20:10>> No, that's the wrong one. I'm sorry.
  502. 20:13Uh
  503. 20:14I like maybe I'll just leave out this
  504. 20:16other one for the time being. Let's go
  505. 20:18back to our
  506. 20:20work. So, getting full control now.
  507. 20:24Um
  508. 20:26So, this is now extending uh I'm going
  509. 20:28to move a little bit more to the video
  510. 20:30side. We were kind of looking a little
  511. 20:32bit more stills there. So, this is
  512. 20:34extending those tokens into space and
  513. 20:37time.
  514. 20:38Uh
  515. 20:39there's a lot of issues there like
  516. 20:40temporal consistency. This has been
  517. 20:42terrible. You weren't able to make a
  518. 20:45character from scene to scene that
  519. 20:47looked the same. We're way past that
  520. 20:48now. You weren't able to have it move.
  521. 20:52Well, now we can. Uh we now are able to
  522. 20:55do lip sync and many many other things.
  523. 20:58So, now we have a video autoencoder that
  524. 21:00compresses the clip into small latent
  525. 21:02space that we talked about. And then we
  526. 21:05cut that into patches, but now there's
  527. 21:07space-time patches rather than just
  528. 21:09image patches.
  529. 21:11And these are some of the systems out
  530. 21:13there for that. Uh video though is very
  531. 21:16expensive. If you just count the tokens,
  532. 21:18so to speak, there's a lot more to do.
  533. 21:20So self-attention tries to compare every
  534. 21:22token with every other one, so that cost
  535. 21:24grows
  536. 21:26um
  537. 21:26with the square of the token count. So
  538. 21:28it's very It's a huge number. This is
  539. 21:31why
  540. 21:32uh video can can be very slow to
  541. 21:35generate on your home computer. Um By
  542. 21:37the way, I've been showing a lot of um
  543. 21:39tools I've been talking about are
  544. 21:41cloud-based tools that you could use,
  545. 21:43often have to pay for or you get a
  546. 21:45limited amount, but many professionals,
  547. 21:47including my lab, and we're doing it for
  548. 21:49a number of reasons, do not use
  549. 21:51cloud-based tools. We use open tools. So
  550. 21:53if you have a gaming computer, you can
  551. 21:56do things You can do things using that,
  552. 21:59and then it's free, unlimited. You can
  553. 22:01use it all night long. Uh and that's
  554. 22:03what many professionals are doing. They
  555. 22:05can't deal with the cost, the privacy,
  556. 22:08the energy uh waste that these other
  557. 22:12systems
  558. 22:13um use. However, if you really
  559. 22:16interested, and you don't have a choice,
  560. 22:17you can, you know, uh
  561. 22:20use one of these cloud
  562. 22:21uh
  563. 22:23commercial tools as well.
  564. 22:25So we definitely have character
  565. 22:26consistency. We have so much that we're
  566. 22:28doing. So how do you use these tools?
  567. 22:30Well, you could just use text and write
  568. 22:32that in, but now you could use reference
  569. 22:34images to keep the character and the
  570. 22:36look consistent. Let's take a look at
  571. 22:38that.
  572. 22:44>> Run an image has dropped, and it's by
  573. 22:45far the best character animation and
  574. 22:47replacement AI model on the market.
  575. 22:50>> Take a look at this video that I made.
  576. 22:52>> Friends, listen, what you're seeing
  577. 22:53right now is crazy.
  578. 22:55>> We are crossing a line in human history
  579. 22:57where the boundary between reality and
  580. 23:00fiction is vanishing. this is not
  581. 23:02>> Hollywood billion-dollar high production
  582. 23:05studio. This is open source. This is
  583. 23:08from your computer click of a button and
  584. 23:09most people will not be able to even
  585. 23:11tell the difference now. So, be safe out
  586. 23:14there. Question what you see. Verify
  587. 23:16what you believe.
  588. 23:17>> and follow and stay ahead of the curve.
  589. 23:19>> And of course, we'll be talking much
  590. 23:21more next week uh cuz this is literally
  591. 23:23week one on the issues of deep fakes.
  592. 23:27I've been on the CBC talking about it as
  593. 23:29well, too. From everything from deep
  594. 23:31fake wildfires that looks like there's a
  595. 23:33wildfire in your area to to every other
  596. 23:37kind of deep fake. I have a lot to show
  597. 23:39you next week on that and tools to
  598. 23:41combat it. Um Another way you would do
  599. 23:44it is first frame last frame is a very
  600. 23:46big one. Let me just show you that.
  601. 23:47That's where you get one frame and
  602. 23:49another frame inset and then use a text
  603. 23:51prompt to say what to do in between.
  604. 23:53>> job. So, that is really really
  605. 23:55impressive. So, our second use case for
  606. 23:57first frame and last frame is product
  607. 24:00shots. So, I have two quick shots here.
  608. 24:03We have this close-up of a soda and then
  609. 24:06a wide shot of a soda and you can
  610. 24:07imagine we would put text inside of that
  611. 24:10blank area. Well, we put this inside of
  612. 24:13Google VEO and we got this video here.
  613. 24:17>> So, ways to really just take two images
  614. 24:20>> Obviously, it's not a crazy dynamic
  615. 24:22movement, but that's not what we're
  616. 24:23looking for. We're looking for something
  617. 24:25that can be that hero shot inside of our
  618. 24:27advertisement.
  619. 24:27>> be so expensive.
  620. 24:29>> darn good. Now, the reason why I did it
  621. 24:31with the text being into that video is
  622. 24:34because AI models tend to not do a great
  623. 24:37job when it comes to text being on the
  624. 24:40screen. It's almost always better to
  625. 24:42just composite in that text inside of
  626. 24:44your video editing application or maybe
  627. 24:46Adobe After Effects just to kind of
  628. 24:48bring everything together. But, this
  629. 24:50helps save a lot of time in the
  630. 24:52texturing and modeling environment
  631. 24:53because you wouldn't have to bring this
  632. 24:55into Cinema 4D or Blender to pull this
  633. 24:58off. For our third example, I want to
  634. 24:59take a look at a really cool VFX
  635. 25:01process. So, think of that book
  636. 25:03Animorphs. Remember the covers where the
  637. 25:05character would like change into a
  638. 25:06different character? Well, I want to
  639. 25:07show you how you can pull that off
  640. 25:09utilizing AI. So, AI systems are really
  641. 25:12good for transitioning between two
  642. 25:14different states and that extends into
  643. 25:16organic examples like this one here. So,
  644. 25:19we have this image of this woman. Let's
  645. 25:21say we want to change her into an alien.
  646. 25:24Well, using Nano Banana Pro, we can just
  647. 25:26upload the image and then prompt to
  648. 25:28change her into the alien character and
  649. 25:30you can see it looks pretty good. Like
  650. 25:32the lighting matches pretty well. It
  651. 25:34definitely is pulling from the both the
  652. 25:36fluorescent lighting and the
  653. 25:38>> So, these video these URLs are around.
  654. 25:41So, if you want to look at them more,
  655. 25:43please do. So, we now have full camera
  656. 25:46as well.
  657. 25:48Um
  658. 25:48there's a very famous artist also I'll
  659. 25:50show you next week who does this these
  660. 25:52frame things where she uses a still
  661. 25:56tool, I think Midjourney, to get a
  662. 25:58really good looks and then has them
  663. 26:00dance or animate with this first last
  664. 26:03frame or number you know, or frames in
  665. 26:06between. We now have full audio as well,
  666. 26:09too and a lot of people I'm using using
  667. 26:12AI music and now just recently using um
  668. 26:17being able to lip sync uh uh
  669. 26:19uh a a character that doesn't exist to
  670. 26:22actually sing their songs. So, I would
  671. 26:24tell you we used to not be able to have
  672. 26:27consistent looking characters
  673. 26:29shot-to-shot. Now, we have that. Then,
  674. 26:31we got multiple characters shot-to-shot.
  675. 26:34We could not do lip sync at all. Then,
  676. 26:37we were able to do lip sync on one
  677. 26:39character. Now, we could do lip sync on
  678. 26:41multiple characters. Now, we're able to
  679. 26:43do um
  680. 26:45a motive voice lip sync and
  681. 26:49uh
  682. 26:49>> [clears throat]
  683. 26:49>> um
  684. 26:50full director
  685. 26:52controls telling a virtual actor what to
  686. 26:54do, what to say. So, all these things
  687. 26:57are coming up pretty quickly.
  688. 26:59Let's show you music videos.
  689. 27:05>> I woke up early and you were still
  690. 27:07asleep. Sunlight on your face, I forgot
  691. 27:10how to leave.
  692. 27:12Made [music] you some coffee, but you
  693. 27:14slept right through it.
  694. 27:15>> There is one thing inside Sundance 2.0
  695. 27:18that most people building AI music
  696. 27:20videos
  697. 27:21>> This one explains exactly
  698. 27:26how to do it, the prompt you give. So,
  699. 27:28you can see it's it's this man in
  700. 27:30mid-20s standing outside an Italian
  701. 27:32villa, 3/4 angle camera, and on and on
  702. 27:35they're going to explain exactly how to
  703. 27:37do it, and then putting your song in it,
  704. 27:40and then understanding that. So, it kind
  705. 27:41of goes on and on if you're interested
  706. 27:43in in this area. Again, huge ethical
  707. 27:46issues that we will talk about next week
  708. 27:49along with some of the details of how
  709. 27:52this works.
  710. 27:53>> They say I'm crazy.
  711. 27:55>> Obviously, it doesn't
  712. 27:56>> In a world that's half asleep, [music]
  713. 27:58they say I'm crazy.
  714. 28:01>> It does not have to look realistic, so
  715. 28:03[laughter] you can be do other kinds of
  716. 28:04things. And this now doing multiple
  717. 28:08lip sync is is quite new. Um
  718. 28:15So, all these possibilities surely video
  719. 28:17to video. You have a video of yourself,
  720. 28:19like we already showed, um and then you
  721. 28:22could make it look like someone else or
  722. 28:24do very So, uh besides the deep fake and
  723. 28:28other problems here, some of this is
  724. 28:30just a new form of personal video
  725. 28:33making. If you have an amazing idea for
  726. 28:35a movie or short sequence, people are
  727. 28:39coming up with uh
  728. 28:40>> [clears throat]
  729. 28:40>> uh new uh movie making approaches that
  730. 28:43we'll talk a little bit more about next
  731. 28:45week. So, we definitely have
  732. 28:47photorealism, strong prompts, uh
  733. 28:50conversational editing now, you know,
  734. 28:53getting be dealing with text. We used to
  735. 28:55only be able to do 5 to 15 seconds, and
  736. 28:57we're now moving past that. Um so, these
  737. 29:00are some of the tools that are out there
  738. 29:02that you might want to uh play with.
  739. 29:05They usually give you a little bit of
  740. 29:07free usage. Um
  741. 29:09still everything is not perfect. It used
  742. 29:11to be hands and text. That's not the
  743. 29:14problem now. But, there's many other
  744. 29:16visual tells that just don't work well.
  745. 29:19Uh physical accuracy of liquid and
  746. 29:21clothing and hair, you know, people
  747. 29:23appreciate that
  748. 29:25because we can tell what's real and what
  749. 29:27isn't. I'm asked about that all the
  750. 29:29time. But, it's not it's just getting so
  751. 29:32much better that at some point
  752. 29:35it's going to be really hard to tell.
  753. 29:37And that's where, as you saw with the
  754. 29:39Google system and others, this notion of
  755. 29:41watermarking and provenance come in.
  756. 29:44These are very big techniques that are
  757. 29:45happening very quickly where um
  758. 29:48>> [clears throat]
  759. 29:48>> you'll be able to tell. Now, is it wrong
  760. 29:51to make an AI video? Um
  761. 29:53it could be, depending on what you're
  762. 29:55doing. But, one thing that I think is
  763. 29:57wrong is not labeling when something's
  764. 30:00AI and not. And we'll talk about this
  765. 30:02more next week. For some reason,
  766. 30:03Facebook has just decided, as other
  767. 30:06systems have, that um
  768. 30:08they'll just you can literally lie with
  769. 30:10things. And we're seeing in the US uh
  770. 30:13uh elections
  771. 30:14uh kind of the full-throat version of
  772. 30:16this where you have you make a video of
  773. 30:18your opponent saying something
  774. 30:20disgusting, and it's not real. The other
  775. 30:22way is it really was you saying
  776. 30:24something disgusting, and you say it's
  777. 30:26AI. So, we'll talk more about about that
  778. 30:29next week.
  779. 30:30Um there are definitely techniques that
  780. 30:32you could use to, just like we did with
  781. 30:36the first two assignments, about how you
  782. 30:38actually uh could um
  783. 30:41do the best version of making uh stills
  784. 30:45and videos so it isn't AI slop and it's
  785. 30:47conducting to what you want. We're
  786. 30:50seeing multi-shot video, native audio,
  787. 30:53complete 3D worlds. So we're moving
  788. 30:55quite quick into this and it's not just
  789. 30:59models of video. At some point it's the
  790. 31:01model of of worlds, understanding
  791. 31:04physics and many other things. So that's
  792. 31:06the last part I'm about to talk about.
  793. 31:10So okay, so current state I think I've
  794. 31:12explained it to you.
  795. 31:15So we can do all this kind of it's
  796. 31:18really affecting these kinds of areas
  797. 31:20and markets and people really switching
  798. 31:23over for in product visualization and
  799. 31:25marketing materials and medical imaging
  800. 31:28enhancing and a number of other areas.
  801. 31:31Some of it very amazing, some of it
  802. 31:33rather dangerous.
  803. 31:35So it's it's going from an interesting
  804. 31:37tool to a
  805. 31:38to a full production
  806. 31:41technique where people having real
  807. 31:43budgets and using this in a number of
  808. 31:45ways.
  809. 31:48Here's some notions about how to do it
  810. 31:49right. So maybe you can look at that on
  811. 31:51your own still scripting and
  812. 31:52storyboarding, thinking through every
  813. 31:54piece. I teach a computer graphics class
  814. 31:57where we're using some of the techniques
  815. 31:59that you would use at Pixar to make a
  816. 32:01good animated movie with with these
  817. 32:03kinds of tools. But
  818. 32:05the other side of it is now
  819. 32:08almost everyone can do this. So if you
  820. 32:10have a great idea, but maybe you don't
  821. 32:12have that animation artistic experience,
  822. 32:14but there's ways to do that. So students
  823. 32:17can illustrate their projects more,
  824. 32:19educators can generate materials. Well,
  825. 32:22again, we'll talk about the goods and
  826. 32:23bads. The one of the things seems to be
  827. 32:26happening now and some of this red is is
  828. 32:29really coming directly from me, which is
  829. 32:31domain domain experts, people who are
  830. 32:33good at this to begin with. It is their
  831. 32:34job, whether that's programming or
  832. 32:37making marketing videos,
  833. 32:39are getting a boost from these tools
  834. 32:41with speed and quality and control like
  835. 32:43never before. Um, also beginners get to
  836. 32:46work with this smart assistant that can
  837. 32:48do it, but there's just huge issues with
  838. 32:52with is it going to take jobs away, the
  839. 32:55deep fakes
  840. 32:56to the point where we're losing truth,
  841. 32:58AI slop, um, we have papers on AI slag
  842. 33:02and energy of these systems. Slag means,
  843. 33:05you know, all the attempts you take
  844. 33:07um, or all the prompts you make that
  845. 33:10don't really matter, but still have to
  846. 33:12get saved somewhere and the energy
  847. 33:14issues there. So, we talked a little bit
  848. 33:16about all these different areas. You can
  849. 33:17look through it a little bit more.
  850. 33:19Um, so yes, I'll I'll bring up next week
  851. 33:22all these areas about deep fakes and
  852. 33:24copyright and authentic
  853. 33:27Sorry, authenticity and the watermarking
  854. 33:30as a way to dealing with it and the
  855. 33:32problems there.
  856. 33:33Um,
  857. 33:34so if it's becoming indistinguishable,
  858. 33:37we're definitely into misinformation and
  859. 33:39other issues. Again, I'll I'll get into
  860. 33:41that more next week, but for you, I
  861. 33:44think the idea is for jobs and things,
  862. 33:47you this this field is changing
  863. 33:48incredibly fast and you should be
  864. 33:51thinking about about all these issues.
  865. 33:53We'll talk more about it next week.
  866. 33:56So, I have some questions if you want to
  867. 33:58put them on the forum. What what what is
  868. 34:00this good for? And I'll just leave it at
  869. 34:02that. Um, I did want to move on to this
  870. 34:04other area quickly about video. So,
  871. 34:07we're starting um,
  872. 34:09uh,
  873. 34:09>> [clears throat]
  874. 34:10>> to move away from large language models
  875. 34:13because with video generators and video
  876. 34:15training now, um, that world models are
  877. 34:18starting to show up. So, world model is
  878. 34:20an AI system that learns from an
  879. 34:23internal representation and can
  880. 34:25understand physical dynamics,
  881. 34:26environmental constraints, cause and
  882. 34:28effect, um, and it allows it to predict,
  883. 34:32uh, uh,
  884. 34:33um, and reason about future states. So,
  885. 34:35you've definitely seen some of this
  886. 34:37with, um, the self-driving cars
  887. 34:40um,
  888. 34:41lecture that I showed you. Um, so, this
  889. 34:44is the new area that people are looking
  890. 34:46into, you know, that, uh, the head of,
  891. 34:50uh, of
  892. 34:50AI research at at Meta Facebook, he left
  893. 34:54and he's very big on saying LLMs will
  894. 34:57never be AGI, but this world model is
  895. 35:00the way to deal with it. So, it's
  896. 35:01learning how the world works, not just
  897. 35:03how it looks. It's got to understand by
  898. 35:06watching phys- you know,
  899. 35:08physical real world. You understand how,
  900. 35:12you know, how someone comes off a curb
  901. 35:14and if they come off the curb
  902. 35:15wrong, they can fall and what happens to
  903. 35:17their phone and how liquids pour. So, a
  904. 35:21lot of this cause and effect, you push a
  905. 35:23cup, it slides, it drops, glass, it
  906. 35:25breaks. This is what we're starting to
  907. 35:27build. So, the goal then is a world
  908. 35:29model, which is an eternal eternal
  909. 35:31simulator of real rules, not just its
  910. 35:34appearance. That's the direction we're
  911. 35:36moving
  912. 35:37for, uh, to do that
  913. 35:40every company is trying to get video
  914. 35:43training down. So, I'm not talking so
  915. 35:45much about about video generation, but
  916. 35:48video understanding that we were looking
  917. 35:51at within the self-driving car world.
  918. 35:53So, the trouble is the computer's just
  919. 35:55really expensive to actually have these
  920. 35:58video encoders and these new kinds of,
  921. 36:02uh,
  922. 36:03transformer systems.
  923. 36:06The just the data alone is is huge. Just
  924. 36:10so much video. Uh, how much video a
  925. 36:12robot needs for first-person data and,
  926. 36:16uh, you know, now we're having
  927. 36:17multi-camera, so you can see it from all
  928. 36:19different views. Video needs to be
  929. 36:22labeled. It was pretty, you know, it was
  930. 36:25an issue, but much easier to label
  931. 36:28images. And uh, I'm still with my lab
  932. 36:31working on semantic labeling cuz some of
  933. 36:34the labels bring in bias and cultural
  934. 36:36flattening. So, we're still putting up
  935. 36:38labels for stills, but how do you
  936. 36:41actually label time-based work? This
  937. 36:44literally hierarchical labels just
  938. 36:46trying to label, for instance,
  939. 36:49a TV
  940. 36:50presentation of a basketball game is
  941. 36:53pretty wild with all the different
  942. 36:54things that happen.
  943. 36:56Um
  944. 36:57So, in conclusion, video can teach us
  945. 37:00about physics and causality, and it
  946. 37:03could help for systems like robotic
  947. 37:06self-traffic cars, simulation, and it's
  948. 37:08a step towards AI that understands
  949. 37:11reality.
  950. 37:12Um there's there's a lot to work on
  951. 37:14here,
  952. 37:16uh but world waters are are definitely
  953. 37:19in their own category now in 2026, and I
  954. 37:22think you can expect rapid change. So,
  955. 37:25very significant companies working on
  956. 37:28this. Again, people leaving Meta to to
  957. 37:31and getting billions of dollars to to
  958. 37:35now work on these world model-based
  959. 37:37systems.
  960. 37:39The idea is to move to artificial
  961. 37:41general intelligence, AIs that can
  962. 37:43understand, learn, apply, and so on.
  963. 37:47Um do current models understand the
  964. 37:49world? There are plenty people telling
  965. 37:50you So, I hear it's about Yanne LeCun
  966. 37:52leaving Meta. There's plenty people
  967. 37:55telling you that LLMs alone are just
  968. 37:58fine, and we're going to get to AGI.
  969. 37:59Surely, Elon Musk and others say this
  970. 38:01all the time. I'm of the belief that
  971. 38:04LLMs could never get us to that state.
  972. 38:07They're very good at the the kind of the
  973. 38:09front end, and I don't think the front
  974. 38:10end will go away. That LLMs are really
  975. 38:13good at conversation and understanding a
  976. 38:14bit, but at some point the full brain,
  977. 38:17like what you're thinking, what you're
  978. 38:18strategizing, what to do next, it really
  979. 38:21LLMs really don't do that too well.
  980. 38:24There's um again for next week there's
  981. 38:26some more and more my opinion is do we
  982. 38:29need AGI or as Trump says SI super
  983. 38:32intelligence or our current systems good
  984. 38:35enough and are these
  985. 38:37bigger systems
  986. 38:39too too dangerous and seem to more about
  987. 38:42like, you know, war and other kinds of
  988. 38:44situations where the models the simpler
  989. 38:47models we have might just be fine for us
  990. 38:51doing research helping in health and
  991. 38:54medicine and other advances. It's a
  992. 38:57ongoing current debate. Um okay, so I've
  993. 39:01now showed you
  994. 39:03the presentation for this week on moving
  995. 39:07away from large language models. We're
  996. 39:09still doing work in that space. How
  997. 39:10that's now combined with these diffusion
  998. 39:13systems where we're we're we're using
  999. 39:16kind of both to understand and generate
  1000. 39:20video
  1001. 39:21and text and we'll see more about this
  1002. 39:24and more demos next week. One of the
  1003. 39:27things you might want to do on Discord
  1004. 39:29is if you find really good examples
  1005. 39:32of how people are using these generation
  1006. 39:35systems maybe put up a link. Thank you
  1007. 39:37very much.

About this transcript

This page contains the full transcript of wk07 2 vizAI iat111 by ivizlab, generated from the public captions YouTube serves with the video. The transcript has 6,448 words across 1,007 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.