ZHANGYUXUAN-zR commited on
Commit
0e33075
·
verified ·
1 Parent(s): 99f03e2

Add files using upload-large-folder tool

Browse files
This view is limited to 50 files because it contains too many changes.   See raw diff
Files changed (50) hide show
  1. parse/dev/03RLpj-tc_/images/014198feed124d83196e3770da4948847d47fbbe02a6692b9c0aeb6b4b8e0a13.jpg +3 -0
  2. parse/dev/03RLpj-tc_/images/32a6cdf5b158f006d5f03ba160a5eece477e71a795f880e4db330b20c652b9a1.jpg +3 -0
  3. parse/dev/03RLpj-tc_/images/3565eef4857703cd54d2fbd09011c227cb6f03ede855b110cc9ce720c5b6f647.jpg +3 -0
  4. parse/dev/03RLpj-tc_/images/36aeb68c21807be0909359f33802a964cbeceeecde4ff5ea2984f8fe757db282.jpg +3 -0
  5. parse/dev/03RLpj-tc_/images/41c5035adcd40c83a16de1c5833ae325144c4401482100ebd9399718511292e8.jpg +3 -0
  6. parse/dev/03RLpj-tc_/images/46996ad50747cc42c9777944916f911c171bbc32b70cd77b6a0f3f7c42b47d98.jpg +3 -0
  7. parse/dev/03RLpj-tc_/images/578fc93f934b4eaf42ba8a5e6f4ba0d08297c97c2bd4b63b3ba7427bffdf402c.jpg +3 -0
  8. parse/dev/03RLpj-tc_/images/5e808f18c2b76b7522ea369c73f999d7529876e4667f50da03cd81aee2ec14df.jpg +3 -0
  9. parse/dev/03RLpj-tc_/images/675bf0a31c78325cdf2cc12fc0e4eba89548ea39a3467b99798a60248c1f206a.jpg +3 -0
  10. parse/dev/03RLpj-tc_/images/75a97b20a2f57da40b8aeb8116aae5d6819f0388b92523745f57fab39f959c37.jpg +3 -0
  11. parse/dev/03RLpj-tc_/images/76a1088a1b2eb4c9f18fb457bb21e8b7032f46cf2c7456e531b05a39e4c96707.jpg +3 -0
  12. parse/dev/03RLpj-tc_/images/7e4ddd203ea96151010d258e8a0fccbe3d7a67c09fa3955a63aba9df8efd4d9f.jpg +3 -0
  13. parse/dev/03RLpj-tc_/images/80113999c620fd7601c03a0c69eed92347c2c8ba25b8947de5f80e4896021e86.jpg +3 -0
  14. parse/dev/03RLpj-tc_/images/953b55fe08646189b755b866031a34728ebb1482059b6d2499e91d6b00abde17.jpg +3 -0
  15. parse/dev/03RLpj-tc_/images/a6474c82bc56f3c8850fd0dd7d6451545aea0d9230eb40ab1b4774c8a75e052b.jpg +3 -0
  16. parse/dev/03RLpj-tc_/images/b020f622c4206e9a5300f7756fee57f8a975bc3ad388c6982f47d62126fc0f04.jpg +3 -0
  17. parse/dev/03RLpj-tc_/images/c2b820bf4f97c03bb50f377af925aea32bca53720d95774535f0d070c0d563f2.jpg +3 -0
  18. parse/dev/03RLpj-tc_/images/d8d01bdf0277b917bebab45f72de345fa391efa683a18dc6b0b6c4ec2e6c847f.jpg +3 -0
  19. parse/dev/03RLpj-tc_/images/df4a9ab8291867bf7d43b05e7e5021163cda44e434b159383cce5c820edc7a42.jpg +3 -0
  20. parse/dev/03RLpj-tc_/images/e41c0e0fb6169bcdf42ccf489c38b2614c300474fcf09ff25982dccccbd72a8a.jpg +3 -0
  21. parse/dev/03RLpj-tc_/images/f9a16b0c92de6c778ad170e8c78bce773bc7a6fa978abde181eb0a9ecf697006.jpg +3 -0
  22. parse/dev/03RLpj-tc_/images/fbde2463af1e2ef76001900304399c61bffc25376d5b30ea3b5be843d42aca38.jpg +3 -0
  23. parse/dev/0RTJcuvHtIu/0RTJcuvHtIu.md +249 -0
  24. parse/dev/0RTJcuvHtIu/0RTJcuvHtIu_content_list.json +1137 -0
  25. parse/dev/0RTJcuvHtIu/0RTJcuvHtIu_middle.json +0 -0
  26. parse/dev/0RTJcuvHtIu/0RTJcuvHtIu_model.json +0 -0
  27. parse/dev/1PL1NIMMrw/images/0aff0e317c6c1ebdd0517cd490a38f45ea5898c587b358dda6d9956c2c0032c2.jpg +3 -0
  28. parse/dev/1PL1NIMMrw/images/0c8616227ad4905d31563f061c91a6070732dfd0a9e07d3c31723b8da05aed58.jpg +3 -0
  29. parse/dev/1PL1NIMMrw/images/18c41d5d71228a94608d14be0febdd6cf05d0aa079e6b2c0cae3cbc9617cea85.jpg +3 -0
  30. parse/dev/1PL1NIMMrw/images/211c58f5fc739ddbb34ca25bc8a91e11996e73243a0ad766cce0146bc55d347b.jpg +3 -0
  31. parse/dev/1PL1NIMMrw/images/21d233a469e13e68d4a76847a7e30c0096cc77007b982daf67ee65631d7897a6.jpg +3 -0
  32. parse/dev/1PL1NIMMrw/images/2f5cee305bdaee073493c2f77f89b50ba4dea4d12e343c21efb428a68744b14b.jpg +3 -0
  33. parse/dev/1PL1NIMMrw/images/3b2cd57e585e6cd3793712104f9213ec2320764940344dadad4a68a3bafaa8d5.jpg +3 -0
  34. parse/dev/1PL1NIMMrw/images/528b99ea5220667091bc895ecec5856d21dd707b103c238b2499d6362bf59214.jpg +3 -0
  35. parse/dev/1PL1NIMMrw/images/5682763857dd59665317b37d4e2ff1237798960f4e4fb66b5db1538fb257bd34.jpg +3 -0
  36. parse/dev/1PL1NIMMrw/images/6a643b49072663d0615c3edaee2b20323990fea77d3385f22f3c3e4742fe31fa.jpg +3 -0
  37. parse/dev/1PL1NIMMrw/images/6e79c1fea4484c855d3bdd6476ff264b088b81ca4eadc32fc4a817f3546fbba3.jpg +3 -0
  38. parse/dev/1PL1NIMMrw/images/7f85e50e4b2aded9ff56412f6edcc4084f0058d19aa551b00c9679744e41b05f.jpg +3 -0
  39. parse/dev/1PL1NIMMrw/images/87a328209d36c386b2c5751a4a40e895999983a1e5c87663caac19ecc466a090.jpg +3 -0
  40. parse/dev/1PL1NIMMrw/images/904d0744036049f41de9ff1b79bfb3e5c595bb15c1aa6fad815946070f5097c4.jpg +3 -0
  41. parse/dev/1PL1NIMMrw/images/91c0b57fce63bbd74bd5c37ac54affcd3ffead95ee070efede9bc60786bb0af7.jpg +3 -0
  42. parse/dev/1PL1NIMMrw/images/980d8b4da019551486244a291a41567c364a9fecbc499f427ea0b504874f435b.jpg +3 -0
  43. parse/dev/1PL1NIMMrw/images/9876a7a3a3c5dcbb9c5355c5a64451798259417d2dc8705c960ca8c4e6f7f6f6.jpg +3 -0
  44. parse/dev/1PL1NIMMrw/images/ad8eb7a4ba458e81dd1393b4cc37e53d9b422e624fa5920be835dfb93ed951ad.jpg +3 -0
  45. parse/dev/1PL1NIMMrw/images/d5812eeaadf5ec819405f5a565ca5ce9f054c3060ec20cff000e71cea4c7fe69.jpg +3 -0
  46. parse/dev/1PL1NIMMrw/images/d846014dbc070b0023b6d822d97264fc0ef6c5c12bf7225871d6f1b4a1f98062.jpg +3 -0
  47. parse/dev/1PL1NIMMrw/images/dd06aeb61120fc868024f45c264d037f8b03f44182e787809b7cfde355dece76.jpg +3 -0
  48. parse/dev/1PL1NIMMrw/images/e52f9a62e8d5a9a773304db1105dd4959b748fa605157f43d522da76b851f3c2.jpg +3 -0
  49. parse/dev/1PL1NIMMrw/images/ecb7f6b029c81a0378defcf8e2c4cd9320bbe892964a7f730272470c12d1b1fc.jpg +3 -0
  50. parse/dev/1PL1NIMMrw/images/fd37632bc843db1d58cdde9c7a2bbc74861b1490a0c7ff65cff86cc2692e49ff.jpg +3 -0
parse/dev/03RLpj-tc_/images/014198feed124d83196e3770da4948847d47fbbe02a6692b9c0aeb6b4b8e0a13.jpg ADDED

Git LFS Details

  • SHA256: 41bc00c60fda2bd22c13d8401b01e7eb9f26aa477fa05dfa2c64e774fb409204
  • Pointer size: 130 Bytes
  • Size of remote file: 84.9 kB
parse/dev/03RLpj-tc_/images/32a6cdf5b158f006d5f03ba160a5eece477e71a795f880e4db330b20c652b9a1.jpg ADDED

Git LFS Details

  • SHA256: c691e6f4710a163336cd7adb195ae4fd7b235906469a47dc7cd4af84565a89a3
  • Pointer size: 129 Bytes
  • Size of remote file: 6.21 kB
parse/dev/03RLpj-tc_/images/3565eef4857703cd54d2fbd09011c227cb6f03ede855b110cc9ce720c5b6f647.jpg ADDED

Git LFS Details

  • SHA256: 018e7b26b7a8c84a49d210784107ef3134046f894e80f2326da2a17a9ed920b2
  • Pointer size: 130 Bytes
  • Size of remote file: 37.1 kB
parse/dev/03RLpj-tc_/images/36aeb68c21807be0909359f33802a964cbeceeecde4ff5ea2984f8fe757db282.jpg ADDED

Git LFS Details

  • SHA256: dd572be2f792c7649a28ca66828fce04e9d57c6c3051b67e654748c60d7785a1
  • Pointer size: 129 Bytes
  • Size of remote file: 7.71 kB
parse/dev/03RLpj-tc_/images/41c5035adcd40c83a16de1c5833ae325144c4401482100ebd9399718511292e8.jpg ADDED

Git LFS Details

  • SHA256: 429282397e2f27090ddfbe7256c90930827a353a5f1c34d5a93f4e9847fa6e3f
  • Pointer size: 130 Bytes
  • Size of remote file: 18.9 kB
parse/dev/03RLpj-tc_/images/46996ad50747cc42c9777944916f911c171bbc32b70cd77b6a0f3f7c42b47d98.jpg ADDED

Git LFS Details

  • SHA256: 9c47d03383ba1aeb938960e5bcdc2e7a4fb2e4f167ba4f11940ff4095da52aae
  • Pointer size: 130 Bytes
  • Size of remote file: 50.5 kB
parse/dev/03RLpj-tc_/images/578fc93f934b4eaf42ba8a5e6f4ba0d08297c97c2bd4b63b3ba7427bffdf402c.jpg ADDED

Git LFS Details

  • SHA256: 27313122a283a3d9c0aeca229144320f0678a171f2ad1c5f1e32b43a51c2459d
  • Pointer size: 130 Bytes
  • Size of remote file: 41.8 kB
parse/dev/03RLpj-tc_/images/5e808f18c2b76b7522ea369c73f999d7529876e4667f50da03cd81aee2ec14df.jpg ADDED

Git LFS Details

  • SHA256: 06aac386d3c85907bf14c2ccd271f36089e7d4f7785fc9f56b5e4fac038fe9b8
  • Pointer size: 130 Bytes
  • Size of remote file: 18.5 kB
parse/dev/03RLpj-tc_/images/675bf0a31c78325cdf2cc12fc0e4eba89548ea39a3467b99798a60248c1f206a.jpg ADDED

Git LFS Details

  • SHA256: c615b3293b4d3d7ecd5a03c48a6866e34d2a43ba1a7371aae799eb76835f5b9c
  • Pointer size: 130 Bytes
  • Size of remote file: 23.5 kB
parse/dev/03RLpj-tc_/images/75a97b20a2f57da40b8aeb8116aae5d6819f0388b92523745f57fab39f959c37.jpg ADDED

Git LFS Details

  • SHA256: 2de8ffd57d2c3c0f412302edb8bbe506262802e1b43433769e6657c75684cae5
  • Pointer size: 130 Bytes
  • Size of remote file: 60.1 kB
parse/dev/03RLpj-tc_/images/76a1088a1b2eb4c9f18fb457bb21e8b7032f46cf2c7456e531b05a39e4c96707.jpg ADDED

Git LFS Details

  • SHA256: fdc512115ca693c72d4d663560fbee4ab6b517e16a3e6a796442d843b0ee8f7f
  • Pointer size: 130 Bytes
  • Size of remote file: 43.6 kB
parse/dev/03RLpj-tc_/images/7e4ddd203ea96151010d258e8a0fccbe3d7a67c09fa3955a63aba9df8efd4d9f.jpg ADDED

Git LFS Details

  • SHA256: 7726edd3e56b5428f88dd741459ebb831cbcd0d91d07e485683c5e65ef36806d
  • Pointer size: 130 Bytes
  • Size of remote file: 19.5 kB
parse/dev/03RLpj-tc_/images/80113999c620fd7601c03a0c69eed92347c2c8ba25b8947de5f80e4896021e86.jpg ADDED

Git LFS Details

  • SHA256: 28f63c7cb066548357b5254918eebe9aae2a23a5a6a9bc221d9fda413f8a3464
  • Pointer size: 129 Bytes
  • Size of remote file: 7.09 kB
parse/dev/03RLpj-tc_/images/953b55fe08646189b755b866031a34728ebb1482059b6d2499e91d6b00abde17.jpg ADDED

Git LFS Details

  • SHA256: e4c776dfdf649aaa521719c5ec1b6e6c4d108a18a5ce0775af8ec47afc79d01b
  • Pointer size: 130 Bytes
  • Size of remote file: 62.1 kB
parse/dev/03RLpj-tc_/images/a6474c82bc56f3c8850fd0dd7d6451545aea0d9230eb40ab1b4774c8a75e052b.jpg ADDED

Git LFS Details

  • SHA256: 5695f7191361071ce9da0f6cc355c8b28c4231ae6b15bb22e03ca1af6f18b351
  • Pointer size: 130 Bytes
  • Size of remote file: 13.7 kB
parse/dev/03RLpj-tc_/images/b020f622c4206e9a5300f7756fee57f8a975bc3ad388c6982f47d62126fc0f04.jpg ADDED

Git LFS Details

  • SHA256: f8ef3c9b2decd4c3263f81a7aae3d44dcb7495a15893e48a7f9298b6efc0f85a
  • Pointer size: 129 Bytes
  • Size of remote file: 8.36 kB
parse/dev/03RLpj-tc_/images/c2b820bf4f97c03bb50f377af925aea32bca53720d95774535f0d070c0d563f2.jpg ADDED

Git LFS Details

  • SHA256: 9fb45f44cc15e5d6ddbc6fb79a23faa215377010b5986dfa3c9a66c8de118cd5
  • Pointer size: 130 Bytes
  • Size of remote file: 41 kB
parse/dev/03RLpj-tc_/images/d8d01bdf0277b917bebab45f72de345fa391efa683a18dc6b0b6c4ec2e6c847f.jpg ADDED

Git LFS Details

  • SHA256: b8e8696c2c7ba29df36af6727b5d4fe761df7045962d034fa51136d3d3fc43f1
  • Pointer size: 129 Bytes
  • Size of remote file: 6.56 kB
parse/dev/03RLpj-tc_/images/df4a9ab8291867bf7d43b05e7e5021163cda44e434b159383cce5c820edc7a42.jpg ADDED

Git LFS Details

  • SHA256: 74f91ab77af91ab08334861541f561505fb42f6cf22a0d14a0579a14066a8c7a
  • Pointer size: 130 Bytes
  • Size of remote file: 41.8 kB
parse/dev/03RLpj-tc_/images/e41c0e0fb6169bcdf42ccf489c38b2614c300474fcf09ff25982dccccbd72a8a.jpg ADDED

Git LFS Details

  • SHA256: b4bc5122512c94f92fd443fae039b66ed38ae7ea4d283f903e1e7e917b302729
  • Pointer size: 130 Bytes
  • Size of remote file: 21.6 kB
parse/dev/03RLpj-tc_/images/f9a16b0c92de6c778ad170e8c78bce773bc7a6fa978abde181eb0a9ecf697006.jpg ADDED

Git LFS Details

  • SHA256: 507ad33770811383104d039242d922d0f50f87033d18a94fafc5f33522f33913
  • Pointer size: 130 Bytes
  • Size of remote file: 16.3 kB
parse/dev/03RLpj-tc_/images/fbde2463af1e2ef76001900304399c61bffc25376d5b30ea3b5be843d42aca38.jpg ADDED

Git LFS Details

  • SHA256: 9ee7e52837028f2d03a6e82274cf38e7b8f1adda981ebc14a01bcebddac016ec
  • Pointer size: 130 Bytes
  • Size of remote file: 29 kB
parse/dev/0RTJcuvHtIu/0RTJcuvHtIu.md ADDED
@@ -0,0 +1,249 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Flexible Diffusion Modeling of Long Videos
2
+
3
+ William Harvey, Saeid Naderiparizi, Vaden Masrani, Christian Weilbach, Frank Wood∗
4
+
5
+ Department of Computer Science University of British Columbia Vancouver, Canada {wsgh,saeidnp,vadmas,weilbach,fwood}@cs.ubc.ca
6
+
7
+ # Abstract
8
+
9
+ We present a framework for video modeling based on denoising diffusion probabilistic models that produces long-duration video completions in a variety of realistic environments. We introduce a generative model that can at test-time sample any arbitrary subset of video frames conditioned on any other subset and present an architecture adapted for this purpose. Doing so allows us to efficiently compare and optimize a variety of schedules for the order in which frames in a long video are sampled and use selective sparse and long-range conditioning on previously sampled frames. We demonstrate improved video modeling over prior work on a number of datasets and sample temporally coherent videos over 25 minutes in length. We additionally release a new video modeling dataset and semantically meaningful metrics based on videos generated in the CARLA autonomous driving simulator.
10
+
11
+ # 1 Introduction
12
+
13
+ Generative modeling of photo-realistic videos is at the frontier of what is possible with deep learning on currently-available hardware. Although related work has demonstrated modeling of short photorealistic videos (e.g. 30 frames [36], 48 frames [6] or 64 frames [16]), generating longer videos that are both coherent and photo-realistic remains an open challenge. A major difficulty is scaling: photorealistic image generative models [4, 8] are already close to the memory and processing limits of modern hardware. A long video is at very least a concatenation of many photorealistic frames, implying resource requirements, long-range coherence notwithstanding, that scale with frame count.
14
+
15
+ Attempting to model such long-range coherence makes the problem harder still, especially because in general every frame can have statistical dependencies on other frames arbitrarily far back in the video. Unfortunately fixed-lag autoregressive models impose unrealistic conditional independence assumptions (the next frame being independent of frames further back in time than the autoregressive lag is problematic for generating videos with long-range coherence). And while deep generative models based on recurrent neural networks (RNN) theoretically impose no such conditional independence assumptions, in practice they must be trained over short sequences [12, 26] or with truncated gradients [31]. Despite this, some RNN-based video generative models have demonstrated longer-range coherence, albeit without yet achieving convincing photorealistic video generation [26, 3, 7, 20, 2].
16
+
17
+ In this work we embrace the fact that finite architectures will always impose conditional independences. The question we ask is: given an explicit limit $K$ on the number of video frames we can jointly model, how can we best allocate these frames to generate a video of length $N > K ?$ One option is to use the previously-described autoregressive model but, if $K = N / 4$ , we could instead follow Ho et al. [16] by training two models: one which first samples every 4th frame in the video, and another which (in multiple stages) infills the remaining frames conditioned on those. To enable efficient exploration of the space of such sampling schemes, we propose a flexible architecture based on the denoising diffusion probabilistic model (DDPM) framework. This can sample any subset of video frames conditioned on observed values of any other subset of video frames. It therefore lets us explore a wide variety of previously untested sampling schemes while being easily repurposed for different generation tasks such as unconditional generation, video completion, and generation of videos of different lengths. Since our model can be flexibly applied to sample any frames given any others we call it a Flexible Diffusion Model, or FDM.
18
+
19
+ ![](images/d3896c398df1e076a51acfb5819f046231ccb319e84ddbaf5049df13dc706653.jpg)
20
+ Figure 1: A long video (25 minutes, or approximately 15 000 frames) generated by FDM for each of CARLA Town01 and MineRL, conditioned on 500 and 250 prior frames respectively. We show blocks of frames from three points within each video, starting from the final observed frame on the left. Blocks are marked with the time elapsed since the last observation and frames within them are one second apart. We observe no degradation in sample quality even after $> 1 5 0 0 0$ frames.
21
+
22
+ Contributions (1) At the highest level, we claim to have concurrently developed one of the first denoising diffusion probabilistic model (DDPM)-based video generative models [16, 40]. To do so we augment a previously-used DDPM image architecture [15, 22] with a temporal attention mechanism including a novel relative (frame) position encoding network. (2) The principal contribution of this paper, regardless, is a “meta-learning” training objective that encourages learning of a video generative model that can (a) be flexibly conditioned on any number of frames (up to computational resource constraints) at any time in the past and future and (b) be flexibly marginalized (to achieve this within computational resource constraints). (3) We demonstrate that our model can be used to efficiently explore the space of resource constrained video generation schemes, leading to improvements over prior work on several long-range video modeling tasks. (4) Finally, we release a new autonomous driving video dataset along with a new video generative model performance metric that captures semantics more directly than the visual quality and comparison metrics currently in widespread use.
23
+
24
+ # 2 Sampling long videos
25
+
26
+ Our goal in this paper is to sample coherent photo-realistic videos v with thousands of frames (see Fig. 1). To sample an arbitrarily long video with a generative model that can sample or condition on only a small number of frames at once, we must use a sequential procedure. The simplest example of this is an autoregressive scheme, an example of which is shown in Fig. 2a for a video completion task. In this example it takes seven stages to sample a complete video, in that we must run the generative model’s sampling procedure seven times. At each stage three frames are sampled conditioned on the immediately preceding four frames. This scheme is appealing for its simplicity but imposes a strong assumption that, given the set of four frames that are conditioned on at a particular stage, all frames that come afterwards are conditionally independent of all frames that came before. This restriction can be partially ameliorated with the sampling scheme shown in Fig. 2b where, in the first three stages, every second frame is sampled and then, in the remaining four stages, the remaining frames are infilled. One way to implement this would be to train two different models operating at the two different temporal resolutions. In the language of Ho et al. [16], who use a similar approach, sampling would be carried out in the first three stages by a “frameskip-2” model and, in the remaining stages, by a “frameskip-1” model. Both this approach and the autoregressive approach are examples of what we call sampling schemes. More generally, we characterize a sampling scheme as a sequence of tuples $[ ( \mathcal { X } _ { s } , \mathcal { Y } _ { s } ) ] _ { s = 1 } ^ { \bar { S } }$ , each containing a vector $\mathcal { X } _ { s }$ of indices of frames to sample and a vector $\mathcal { { D } } _ { s }$ of indices of frames to condition on for stages $s = 1 , \ldots , S$ .
27
+
28
+ Algorithm 1 Sample a video v given a sampling scheme $[ ( \mathcal { X } _ { s } , \mathcal { Y } _ { s } ) ] _ { s = 1 } ^ { S }$ . For unconditional generation, the input v can be a tensor of zeros. For conditional generation, the observed input frames should contain their observed values.
29
+
30
+ ![](images/754ba6c3882c936adc15285b6eb3db96a76d55df22201eb208337df69c833391.jpg)
31
+
32
+ ![](images/600712d51e1e42029bc1b4c4cd2cbf9b83301ebb8fae3df91ba6c5a7c1851508.jpg)
33
+ Figure 2: Sampling schemes to complete a video of length $N = 3 0$ conditioned on the first 10 frames, with access to at most $K = 7$ frames at a time. Each stage $s$ of the sampling procedure is represented by one row in the figure, going from top to bottom. Within each subfigure, one column represents one frame of the video, from frame one on the left to frame 30 on the right. At each stage, the values of frames marked in blue are sampled conditioned on the (observed or previously sampled) values of frames marked in red; frames marked in gray are ignored; and frames marked in white are yet to be sampled. For every sampling scheme, all video frames have been sampled after the final row.
34
+
35
+ Algorithm 1 lays out how such a sampling scheme is used to sample a video. If the underlying generative model is trained specifically to model sequences of consecutive frames, or sequences of regularly-spaced frames, then the design space for sampling schemes compatible with these models is severely constrained. In this paper we take a different approach. We design and train a generative model to sample any arbitrarily-chosen subset of video frames conditioned on any other subset and train it using an entirely novel distribution of such tasks. In short, our model is trained to generate frames for any choice of $\mathcal { X }$ and $\mathcal { V }$ . The only constraint we impose on our sampling schemes is therefore a computational consideration that $| \mathcal { X } _ { s } | + | \mathcal { V } _ { s } | \le K$ for all $s$ but, to generate meaningful videos, any valid sampling scheme must also satisfy two more constraints: (1) all frames are sampled at at least one stage and (2) frames are never conditioned upon before they are sampled.
36
+
37
+ Such a flexible generative model allows us to explore and use sampling schemes like those in Fig. 2c and Fig. 2d. We find in our experiments that the best video sampling scheme is dataset dependent. Accordingly, we have developed methodology to optimize such sampling schemes in a dataset dependent way, leading to improved video quality as measured by the Fréchet Video Distance [33] among other metrics. We now review conditional DDPMs (Section 3), before discussing the FDM’s architecture, the specific task distribution used to train it, and the choice and optimization of sampling schemes in Section 4.
38
+
39
+ # 3 A review of conditional denoising diffusion probabilistic models
40
+
41
+ Denoising diffusion probabilistic models, or DDPMs [28, 15, 22, 30], are a class of generative model for data $\mathbf { x }$ , which throughout this paper will take the form of a 4-dimensional tensor representing multiple video frames. We will describe the conditional extension [32], in which the modeled $\mathbf { x }$ is conditioned on observations $\mathbf { y }$ . DDPMs simulate a diffusion process which transforms $\mathbf { x }$ to noise, and generate data by learning the probabilistic inverse of the diffusion process. The diffusion process happens over timesteps $0 , \ldots , T$ such that $\mathbf { x } _ { 0 } = \mathbf { x }$ is data without noise, $\mathbf { x } _ { 1 }$ has a very small amount of noise added, and so on until $\mathbf { x } _ { T }$ is almost independent of $\mathbf { x } _ { \mathrm { 0 } }$ and approximates a random sample from a unit Gaussian. In the diffusion process we consider, the distribution over $\mathbf { x } _ { t }$ depends only on $\mathbf { x } _ { t - 1 }$ :
42
+
43
+ $$
44
+ \begin{array} { r } { q ( \mathbf x _ { t } | \mathbf x _ { t - 1 } ) = \mathcal N ( \mathbf x _ { t } ; \sqrt { \alpha _ { t } } \mathbf x _ { t - 1 } , ( 1 - \alpha _ { t } ) \mathbf I ) . } \end{array}
45
+ $$
46
+
47
+ Hyperparameters $\alpha _ { 1 } , \ldots , \alpha _ { T }$ are chosen to all be close to but slightly less than 1 so that the amount of noise added at each step is small. The combination of this diffusion process and a data distribution
48
+
49
+ ![](images/3fc8bc3620910017f4fb64feeca7720f8dbd1c2dc54a5bb68290e6287af2087d.jpg)
50
+ Figure 3: Left: Our DDPM iteratively transforms Gaussian noise $\mathbf { x } _ { T }$ to video frames $\mathbf { x } _ { \mathrm { 0 } }$ (shown with blue borders), conditioning on observed frames $\mathbf { y }$ (red borders) at every step. Right: The U-net architecture used within each DDPM step. It computes $\epsilon _ { \theta } ( \mathbf x _ { t } , \mathbf y , t )$ , with which the Gaussian transition $p _ { \theta } ( \mathbf { x } _ { t - 1 } | \mathbf { x } _ { t } )$ is parameterized.
51
+
52
+ $q ( \mathbf { x } _ { 0 } , \mathbf { y } )$ (recalling that $\mathbf { x } _ { 0 } = \mathbf { x }$ ) defines the joint distribution
53
+
54
+ $$
55
+ q ( \mathbf x _ { 0 : T } , \mathbf y ) = q ( \mathbf x _ { 0 } , \mathbf y ) \prod _ { t = 1 } ^ { T } q ( \mathbf x _ { t } | \mathbf x _ { t - 1 } ) .
56
+ $$
57
+
58
+ DDPMs work by “inverting” the diffusion process: given values of $\mathbf { x } _ { t }$ and $\mathbf { y }$ a neural network is used to parameterize $p _ { \theta } ( \mathbf { x } _ { t - 1 } | \mathbf { x } _ { t } , \mathbf { y } )$ , an approximation of $q ( \mathbf { x } _ { t - 1 } | \mathbf { x } _ { t } , \mathbf { y } )$ . This neural network lets us draw samples of $\mathbf { x } _ { \mathrm { 0 } }$ by first sampling $\mathbf { x } _ { T }$ from a unit Gaussian (recall that the diffusion process was chosen so that $q ( \mathbf { x } _ { T } )$ is well approximated by a unit Gaussian), and then iteratively sampling $\mathbf { x } _ { t - 1 } \sim p _ { \theta } ( \cdot | \mathbf { x } _ { t } , \mathbf { y } )$ for $t = T , T - 1 , \dots , 1$ . The joint distribution of sampled $\mathbf { x } _ { \mathrm { 0 : } T }$ given $\mathbf { y }$ is
59
+
60
+ $$
61
+ p _ { \theta } ( \mathbf { x } _ { 0 : T } | \mathbf { y } ) = p ( \mathbf { x } _ { T } ) \prod _ { t = 1 } ^ { T } p _ { \theta } ( \mathbf { x } _ { t - 1 } | \mathbf { x } _ { t } , \mathbf { y } )
62
+ $$
63
+
64
+ where $p ( \mathbf { x } _ { T } )$ is a unit Gaussian that does not depend on $\theta$ . Training the conditional DDPM therefore involves fitting $p _ { \theta } ( \mathbf { x } _ { t - 1 } | \mathbf { x } _ { t } , \mathbf { y } )$ to approximate $q ( \mathbf { x } _ { t - 1 } | \mathbf { x } _ { t } , \mathbf { y } )$ for all choices of $t$ , $\mathbf { x } _ { t }$ , and $\mathbf { y }$ .
65
+
66
+ Several observations have been made in recent years which simplify the learning of $p _ { \theta } ( \mathbf { x } _ { t - 1 } | \mathbf { x } _ { t } , \mathbf { y } )$ . Sohl-Dickstein et al. [28] showed that when $\alpha _ { t }$ is close to 1, $p _ { \theta } ( \mathbf { x } _ { t - 1 } | \mathbf { x } _ { t } )$ is approximately Gaussian [28]. Furthermore, Ho et al. [15] showed that this Gaussian’s variance can be modeled well with a non-learned function of $t$ , and that a good estimate of the Gaussian’s mean can be obtained from a “denoising model” as follows. Given data $\mathbf { x } _ { \mathrm { 0 } }$ and unit Gaussian noise $\epsilon$ , the denoising model (in the form of a neural network) is fed “noisy” data $\mathbf { x } _ { t } : = \sqrt { \tilde { \alpha } _ { t } } \mathbf { x } _ { 0 } + \sqrt { 1 - \tilde { \alpha } _ { t } } \epsilon$ and trained to recover $\epsilon$ via a mean squared error loss. The parameters $\begin{array} { r } { \tilde { \alpha } _ { t } : = \prod _ { i = 1 } ^ { t } \alpha _ { i } } \end{array}$ are chosen to ensure that the marginal distribution of $\mathbf { x } _ { t }$ given $\mathbf { x } _ { \mathrm { 0 } }$ is $q ( \mathbf { x } _ { t } | \mathbf { x } _ { 0 } )$ as derived from Eq. (1). Given a weighting function $\lambda ( t )$ , the denoising loss is
67
+
68
+ $$
69
+ \mathcal { L } ( \theta ) = \mathbb { E } _ { q ( \mathbf { x } _ { 0 } , \mathbf { y } , \epsilon ) } \left[ \sum _ { t = 1 } ^ { T } \lambda ( t ) | | \epsilon - \epsilon _ { \theta } ( \mathbf { x } _ { t } , \mathbf { y } , t ) | | _ { 2 } ^ { 2 } \right] \quad \mathrm { w i t h } \quad \mathbf { x } _ { t } = \sqrt { \tilde { \alpha } _ { t } } \mathbf { x } _ { 0 } + \sqrt { 1 - \tilde { \alpha } _ { t } } \epsilon .
70
+ $$
71
+
72
+ The mean of $p _ { \theta } ( \mathbf { x } _ { t - 1 } | \mathbf { x } _ { t } , \mathbf { y } )$ is obtained from the denoising model’s output $\epsilon _ { \theta } ( \mathbf x _ { t } , \mathbf y , t )$ as $\begin{array} { r } { \frac { 1 } { \alpha _ { t } } \mathbf { x } _ { t } - \frac { 1 - \alpha _ { t } } { \sqrt { 1 - \tilde { \alpha } _ { t } } } \epsilon _ { \theta } \big ( \mathbf { x } _ { t } , \mathbf { y } , t \big ) } \end{array}$ . If the weighting function $\lambda ( t )$ is chosen appropriately, optimising Eq. (4) is equivalent to optimising a lower-bound on the data likelihood under $p _ { \theta }$ . In practice, simply setting $\lambda ( t ) : = 1$ for all $t$ can produce more visually compelling results in the image domain [15].
73
+
74
+ In our proposed method, as in Tashiro et al. [32], the shapes of $\mathbf { x } _ { \mathrm { 0 } }$ and $\mathbf { y }$ sampled from $q ( \cdot )$ vary. This is because we want to train a model which can flexibly adapt to e.g. varying numbers of observed frames. To map Eq. (4) to this scenario, note that both $\mathbf { x } _ { \mathrm { 0 } }$ and $\mathbf { y }$ implicitly contain information about which frames in the video they represent (via the index vectors $\mathcal { X }$ and $\mathcal { V }$ introduced in the previous section). This information is used inside the neural network $\epsilon _ { \theta } ( \mathbf x _ { t } , \mathbf y , t )$ so that interactions between frames can be conditioned on the distance between them (as described in the following section) and also to ensure that the sampled noise vector $\epsilon$ has the same shape as $\mathbf { x } _ { \mathrm { 0 } }$ .
75
+
76
+ $: \mathcal { X } : = \{ \} ; \mathcal { Y } : = \{ \}$
77
+ 2: while True do
78
+ 3: $n _ { \mathrm { g r o u p } } \sim$ UniformDiscrete $( 1 , K )$
79
+ 4: $s _ { \mathrm { g r o u p } } \sim \mathrm { L o g U n i f o r m } ( 1 , ( N - 1 ) / n _ { \mathrm { g r o u p } } )$
80
+ 5: $x _ { \mathrm { g r o u p } } \sim \mathrm { U n i f o r m } ( 0 , N - ( n _ { \mathrm { g r o u p } } - 1 ) \cdot s _ { \mathrm { g r o u p } } )$
81
+ 6: ogroup ∼ Bernoulli(0.5)
82
+ 7: $\tilde { \mathcal { G } } : = \{ \lfloor x _ { \mathrm { g r o u p } } + s _ { \mathrm { g r o u p } } \cdot i \rfloor | i \in \{ 0 , \ldots , n _ { \mathrm { g r o u p } } - 1 \} \} \backslash \mathcal { X } \backslash \mathcal { Y }$
83
+ 8: if $| \mathcal { X } | + | \mathcal { Y } | + | \mathcal { G } | > K$ then
84
+ 9: return set2vector $( \mathcal { X } )$ , set2vector $( { \mathcal { V } } )$
85
+ 10: else if $| \mathcal { X } | = 0$ or $o _ { \mathrm { g r o u p } } = 0$ then
86
+ 11: $\mathcal { X } : = \mathcal { X } \cup \mathcal { G }$
87
+ 12: else
88
+ 13: $y : = \mathcal { y } \cup \mathcal { G }$
89
+
90
+ ![](images/5026656df62c5d1435c78fbe9221db88072c7b53140f572331883e0731269e40.jpg)
91
+ Figure 4: Left: Samples from $u ( \mathcal { X } , \mathcal { Y } )$ with video length $N = 3 0$ and limit $K = 1 0$ on the number of sampled indices. Each row shows one sample and columns map to frames, with frame 1 on the left and frame $N$ on the right. Blue and red denote latent and observed frames respectively. All other frames are ignored and shown as white. Right: Pseudocode for drawing these samples. The while loop iterates over a series of regularly-spaced groups of latent variables. Each group is parameterized by: the number of indices in it, $n _ { \mathrm { g r o u p } }$ ; the spacing between indices in it, $s _ { \mathrm { g r o u p } }$ ; the position of the first frame in it, $x _ { \mathrm { g r o u p } }$ , and an indicator variable for whether this group is observed, $O _ { \mathrm { { g r o u p } } }$ (which is ignored on line 10 if $\mathcal { X }$ is empty to ensure that the returned value of $\mathcal { X }$ is never empty). These quantities are sampled in a continuous space and then discretized to make a set of integer coordinates on line 7. The process repeats until a group is sampled which, if added to $\mathcal { X }$ or $\mathcal { V }$ , will cause the number of frames to exceed $K$ . That group is then discarded and $\mathcal { X }$ and $\mathcal { V }$ are returned as vectors. The FDM’s training objective forces it to work well for any $( \mathcal { X } , \mathcal { Y } )$ pair from this broad distribution.
92
+
93
+ # 4 Training procedure and architecture
94
+
95
+ Training task distribution Different choices of latent and observed indices $\mathcal { X }$ and $\mathcal { V }$ can be regarded as defining different conditional generation tasks. In this sense, we aim to learn a model which can work well on any task (i.e. any choice of $\mathcal { X }$ and $\mathcal { V }$ ) and so we randomly sample these vectors of indices during training. We do so with the distribution $u ( \mathcal { X } , \mathcal { Y } )$ described in Fig. 4. This provides a broad distribution covering many plausible test-time use cases while still providing sufficient structure to improve learning (see ablation in Section 6 and more details in Appendix C). To cope with constrained computational resources, the distribution is designed such that $\left| \mathcal { X } \right| + \left| \mathcal { V } \right|$ is upper-bounded by some pre-specified $K$ . Sampling from $q ( \mathbf { x } _ { 0 } , \mathbf { y } )$ in Eq. (4) is then accomplished by randomly selecting both a full training video $\mathbf { v }$ and indices $\mathcal { X } , \mathcal { Y } \sim u ( \cdot , \cdot )$ . We then extract the specified frames $\mathbf { x } = \mathbf { v } [ \mathcal { X } ]$ and $\mathbf { y } = \mathbf { v } [ \mathcal { V } ]$ (where we use $\mathbf { v } [ \mathcal { X } ]$ to denote the concatenation of all frames in $\mathbf { v }$ with indices in $\mathcal { X }$ and and $\mathbf { v } [ \mathcal { V } ]$ similarly).
96
+
97
+ Architecture DDPM image models [15, 22] typically use a U-net architecture [24]. Its distinguishing feature is a series of spatial downsampling layers followed by a series of upsampling layers, and these are interspersed with convolutional res-net blocks [14] and spatial attention layers. Since we require an architecture which operates on 4-D video tensors rather than 3-D image tensors we add an extra frame dimension to its input, output and hidden state, resulting in the architecture shown on the right of Fig. 3. We create the input to this architecture as a concatenation $\mathbf x _ { t } \oplus \mathbf y$ , adding an extra input channel which is all ones for observed frames and all zeros for latent frames. For RGB video, the input shape is therefore ( $K$ , image height, image width, 4). Since the output should have the same shape as $\mathbf { x } _ { t }$ we only return outputs corresponding to the latent frames, giving output shape $\vert \mathcal { X } \vert$ , image height, image width, 3). We run all layers from the original model (including convolution, resizing, group normalization, and spatial attention) independently for each of the $K$ frames. To allow communication between the frames, we add a temporal attention layer after each spatial attention layer, described in more detail in the appendix. The spatial attention layer allows each spatial location to attend to all other spatial locations within the same frame, while the temporal attention layer allows each spatial location to attend to the same spatial location across all other frames. This combination of a temporal attention layer with a spatial attention layer is sometimes referred to as factorized attention [32, 16]. We found that, when using this architecture in conjunction with our meta-learning approach, performance could be improved by using a novel form of relative position encoding [27, 38]. This is included in our released source code but we leave its exposition to the supplementary material.
98
+
99
+ Training batch padding Although the size $| \mathcal { X } \oplus \mathcal { Y } |$ of index vectors sampled from our training distribution is bounded above by $K$ , it can vary. To fit examples with various sizes of index vectors into the same batch, one option would be to pad them all to length $K$ with zeros and use masks so that the zeros cannot affect the loss. This, however, would waste computation on processing tensors of zeros. We instead use this computation to obtain a lower-variance loss estimate by processing additional data with “training batch padding”. This means that, for training examples where $| x \oplus y | < K$ , we concatenate frames uniformly sampled from a second video to increase the length along the frame-dimension to $K$ . Masks are applied to the temporal attention mechanisms so that frames from different videos cannot attend to eachother and the output for each is the same as that achieved by processing the videos in different batches.
100
+
101
+ Sampling schemes Before describing the sampling schemes we explore experimentally, we emphasize that the relative performance of each is dataset-dependent and there is no single best choice. A central benefit of FDM is that it can be used at test-time with different sampling schemes without retraining. Our simplest sampling scheme, Autoreg, samples ten consecutives frames at each stage conditioned on the previous ten frames. Long-range is similar to Autoreg but conditions on only the five most recent frames as well as five of the original 36 observed frames. Hierarchy-2 uses a multi-level sampling procedure. In the first level, ten evenly spaced frames spanning the non-observed portion of the video are sampled (conditioned on ten observed frames). In the second level, groups of consecutive frames are sampled conditioned on the closest past and future frames until all frames have been sampled. Hierarchy-3 adds an intermediate stage where several groups of variables with an intermediate spacing between them are sampled. We include adaptive hierarchy-2, abbreviated Ad. hierarchy-2, as a demonstration of a sampling scheme only possible with a model like FDM. It samples the same frames at each stage as Hierarchy-2 but selects which frames to condition on adaptively at test-time with a heuristic aimed at collecting the maximally diverse set of frames, as measured by the pairwise LPIPS distance [41] between them.
102
+
103
+ Optimizing sampling schemes An appealing alternative to the heuristic sampling schemes described in the previous paragraph would be to find a sampling scheme that is, in some sense, optimal for a given model and video generation/completion task. While it is unclear how to tractably choose which frames should be sampled at each stage, we suggest that the frames to condition on at each stage can be chosen by greedily optimizing the diffusion model loss which, as mentioned in Section 3, is closely related to the data log-likelihood. Given a fixed sequence of frames to sample at each stage $[ \mathcal { X } _ { s } ] _ { s = 1 } ^ { S }$ we select $\mathcal { \partial } _ { s }$ for each $s$ to minimize Eq. (4). This is estimated using a set of 100 training videos and by iterating over 10 evenly-spaced values of $t$ (which reduced variance relative to random sampling of $t$ ). See the appendix for further details. We create two optimized sampling schemes: one with the same latent indices as Autoreg, and one with the same latent indices as Hierarchy-2. We call the corresponding optimized schemes Opt. autoreg and Opt. hierarchy-2.
104
+
105
+ # 5 CARLA Town01 Dataset
106
+
107
+ In addition to our methodological contributions, we propose a new video-modeling dataset and benchmark which provides an interpretable measure of video completion quality. The dataset consists of videos of a car driving with a first-person view, produced using the CARLA autonomous driving simulator [9]. All 408 training and 100 test videos (of length 1000 frames and resolution $1 2 8 \times 1 2 8 )$ ) are produced within a single small town, CARLA’s Town01. As such, when a sufficiently expressive video model is trained on this dataset it memorizes the layout of the town and videos sampled from the model will be recognisable as corresponding to routes travelled within the town. We train a regression model in the form of a neural network which maps with high accuracy from any single rendered frame to $( x , y )$ coordinates representing the car’s position. Doing so allows us to plot the routes corresponding to sampled videos (see left of Fig. 5) and compute semantically-meaningful yet quantitative measures of the validity of these routes. Specifically, we compute histograms of speeds, where each speed is estimated by measuring the distance between the regressed locations for frames spaced ten apart (1 second at the dataset’s frame rate). Sampled videos occasionally “jump” between disparate locations in the town, resulting in unrealistically large estimated speeds. To measure the frequency of these events for each method, we compute the percentage of our point-speed estimates that exceed a threshold of $1 0 \mathrm { m / s }$ (the dataset was generated with a maximum simulated speed of $\mathrm { 3 m / s }$ ). We report this metric as the outlier percentage (OP). After filtering out these outliers, we compute the Wasserstein distance (WD) between the resulting empirical distribution and that of the original dataset, giving a measure of how well generated videos match the speed of videos in the dataset. We release the CARLA Town 01 dataset along with code and our trained regression model to allow future comparisons.2
108
+
109
+ ![](images/91d03113bf431ff2ce8593f9dcf8c30de45d678fc436461bb3511e1f415c4d07.jpg)
110
+ Figure 5: Left: Map of the town featured in the CARLA Town01 dataset. We visualize two video completions by FDM by showing coordinates output by our regressor (discussed in Section 5) for each frame. Those corresponding to the initial 36 observed frames are shown in red and those for the 964 sampled frames are shown in blue. Right: For each completion, we show one of the initially observed frames followed by four of the sampled frames (at positions chosen to show the progression with respect to visible landmarks and marked by black dots on the map). The town’s landmarks are usually sampled with high-fidelity, which is key to allowing the regressor to produce a coherent trajectory on the left. However there are sometimes failures: a blue square near the top-right of the map shows where the video model “jumped” to a wrong location for a single frame.
111
+
112
+ # 6 Experiments
113
+
114
+ We perform our main comparisons on the video completion task. In keeping with Saxena et al. [26], we condition on the first 36 frames of each video and sample the remainder. We present results on three datasets: GQN-Mazes [10], in which videos are 300 frames long; MineRL Navigate [13, 26] (which we will from now on refer to as simply MineRL), in which videos are 500 frames long; and the CARLA Town01 dataset we release, for which videos are 1000 frames long. We train FDM in all cases with the maximum number of represented frames $K = 2 0$ . We host non-cherry-picked video samples (both conditional and unconditional) from FDM and all baselines online3.
115
+
116
+ Comparison of sampling schemes The relative performance of different sampling schemes varies significantly between datasets as shown in Table 1. We report Fréchet Video Distances (FVDs) [33], a measure of how similar sampled completions are to the test set, on all datasets. In addition on GQN-Mazes we we report the accuracy metric [26], which classifies videos based on which rooms are visited and measures how often a completion is given the same class as the corresponding test video. For CARLA Town01 we report the previously described percentage outliers (PO) and Wasserstein distance (WD) metrics.
117
+
118
+ ![](images/20181a2ed912845712556e621993f86259d7ed3f838de77c7ab7cd3878c59243.jpg)
119
+ Figure 6: Speed distributions measured from sampled and ground-truth dataset videos.
120
+
121
+ We can broadly consider the aforementioned sampling schemes as either being in the “autoregressive” family (Autoreg and Long-range) or in the “hierarchical”
122
+
123
+ Table 1: Evaluation on video completion with various modes of our method along with several baselines from the literature. Error bars denote the standard error computed with 5 random seeds. Higher is better for the accuracy metric [26] and lower is better for all other metrics shown.
124
+
125
+ <table><tr><td rowspan="2">Model</td><td rowspan="2">Sampling scheme</td><td colspan="2">GQN-Mazes</td><td>MineRL</td><td colspan="3">CARLA Town01</td></tr><tr><td>FVD</td><td> Accuracy</td><td>FVD</td><td>FVD</td><td>WD</td><td>OP</td></tr><tr><td>CWVAE [26]</td><td>CWVAE</td><td>837±8</td><td>82.6± 0.5</td><td>1573±5</td><td>1161</td><td>0.666</td><td>44.4</td></tr><tr><td>TATS [11]</td><td>TATS</td><td>163 ± 2.6</td><td>77.0± 0.8</td><td>807±14</td><td>329</td><td>1.648</td><td>42.4</td></tr><tr><td>VDM [16]</td><td>VDM</td><td>66.7 ± 1.5</td><td>77.8± 0.5</td><td>271±8.8</td><td>169</td><td>0.501</td><td>16.9</td></tr><tr><td rowspan="5">FDM (ours)</td><td>Autoreg</td><td>86.4± 5.2</td><td>69.6 ± 1.3</td><td>281±10</td><td>222</td><td>0.579</td><td>0.51</td></tr><tr><td>Long-range</td><td>64.5 ± 1.9</td><td>77.0 ± 1.4</td><td>267 ±4.0</td><td>213</td><td>0.653</td><td>0.47</td></tr><tr><td>Hierarchy-2</td><td>53.1 ± 1.1</td><td>82.8± 0.7</td><td>275±7.7</td><td>120</td><td>0.318</td><td>3.28</td></tr><tr><td>Hierarchy-3</td><td>53.7 ± 1.9</td><td>83.8 ± 1.1</td><td>311± 6.8</td><td>149</td><td>0.363</td><td>4.53</td></tr><tr><td>Ad. hierarchy-2</td><td>55.0 ± 1.4</td><td>83.2 ± 1.3</td><td>316 ±8.9</td><td>117</td><td>0.311</td><td>3.44</td></tr></table>
126
+
127
+ family (the remainder). Those in the hierarchical family achieve significantly better FVDs [33] on GQN-Mazes. Our samples in the appendix suggest that this is related to the autoregressive methods “forgetting” the colors of walls after looking away from them for a short time. In contrast, for MineRL the autoregressive methods tend to achieve the best FVDs. This may relate to the fact that trajectories in MineRL tend to travel in straight lines through procedurally-generated “worlds”[13, 26], limiting the number of long-range dependencies. Finally on CARLA Town01 we notice qualitatively different behaviours from our autoregressive and hierarchical sampling schemes. The hierarchical sampling schemes have a tendency to occasionally lose coherence and “jump” to different locations in the town. This is reflected by higher outlier percentages (OP) in Table 1. On the other hand the autoregressive schemes often stay stationary for unrealistically long times at traffic lights. This is reflected in the histogram of speeds in Fig. 6, which has a larger peak around zero than the ground truth. The high variance of the sampling scheme’s relative performance over different datasets points to a strength of our method, which need only be trained once and then used to explore a variety of sampling schemes. Furthermore, we point out that the best FVDs in Table 1 on all datasets were obtained using sampling schemes that could not be implemented using models trained in prior work, or over evenly spaced frames.
128
+
129
+ Comparison with baselines The related work most relevant to ours is the concurrent work of Ho et al. [16], who model 64-frame videos using two trained DDPMs. The first is a “frameskip-4” model trained to generate every fourth frame and the second is a “frameskip-1” model trained on sequences of nine consecutive frames and used to “fill in” the gaps between frames generated in the first stage. To compare against this approach, which we denote VDM, we train both a “frameskip-4” and a “frameskip-1” model with architectures identical to our own.4 Since VDM requires two trained DDPMs, we train it for more GPU-hours than FDM despite the fact that FDM is meta-learning over a far broader task distribution. We also compare against TATS [11], which embeds videos into a discrete latent space before modelling them with a transformers, and the clockwork VAE (CWVAE) [26], a VAE-based model specifically designed to maintain long-range dependencies within video.
130
+
131
+ Both the diffusion-based methods, FDM and VDM, achieve significantly higher FVD scores than TATS and CWVAE. This may point toward the utility of diffusion models in general for modeling images and video. Table 1 also makes clear the main benefit of FDM over VDM: although there is no sampling scheme for FDM which always outperforms VDM, there is at least one sampling scheme that outperforms it on each dataset. This speaks to the utility of learning a flexible model like FDM that allows different sampling schemes to be experimented with after training.
132
+
133
+ Optimized sampling schemes As mentioned in Section 4, another advantage of FDM is that it makes possible a model- and dataset-specific optimization procedure to determine on which frames to condition. Table 2 shows the results when this procedure is used to create sampling schemes for different datasets. In the first row we show results where the latent frames are fixed to be those of the Autoreg sampling scheme, and in the second row the latent frames are fixed to match those of Hierarchy-2. On two of the three datasets the best results in Table 1 are improved upon, showing the utility of this optimization procedure.
134
+
135
+ Table 2: FVD scores for our sampling schemes with observed indices optimized offline as described in Section 4. We mark with an asterisk $( ^ { * } )$ the eight numbers which improve on the corresponding non-optimized sampling schemes and highlight in bold those that are better than any in Table 1.
136
+
137
+ <table><tr><td></td><td colspan="2">GQN-Mazes</td><td>MineRL</td><td colspan="3">CARLA Town01</td></tr><tr><td>Sampling scheme</td><td>FVD</td><td>Accuracy</td><td>FVD</td><td>FVD</td><td>WD</td><td>OP</td></tr><tr><td> Opt. autoreg</td><td>53.6±1.2*</td><td>80.2±1.2*</td><td>257±6.8*</td><td>146*</td><td>0.452*</td><td>0.65</td></tr><tr><td>Opt. hierarchy-2</td><td>51.1 ± 1.3*</td><td>84.6±0.7*</td><td>320 ± 7.0</td><td>124</td><td>0.349</td><td>4.11*</td></tr></table>
138
+
139
+ Comparison with training on a single task Training a network with our distribution over training tasks could be expected to lead to worse performance on a single task than training specifically for that task. To test whether this is the case, we train an ablation of FDM with training tasks exclusively of the type used in our Autoreg sampling scheme, i.e. “predict ten consecutive frames given the previous ten.” Tested with the Autoreg sampling scheme, it obtained an FVD of 82.0 on GQN-Mazes and 234 on MineRL. As expected given the specialization to a single task, this is better than when FDM is run with the Autoreg sampling scheme (obtaining FVDs of 86.4 and 281 respectively).
140
+
141
+ Ablation on training task distribution To test how important our proposed structured training distribution is to FDM’s performance, we perform an ablation with a different task distribution that samples $\mathcal { X }$ and $\mathcal { V }$ from uniform distributions instead of our proposed structured task distribution We provide full details in the appendix, but report here that switching away form our structured training distribution made the FVD scores worse on all five tested sampling schemes on both GQN-Mazes and MineRL. The reduction in the average FVD was $3 1 \%$ on GQN-Mazes and $5 2 \%$ on MineRL. This implies that our structured training distribution has a significant positive effect.
142
+
143
+ # 7 Related work
144
+
145
+ Some related work creates conditional models by adapting the sampling procedure of an unconditional DDPM [30, 18, 21, 16]. These approaches require approximations and the more direct approach that we use (explcitly training a conditional DDPM) was shown to have benefits by Tashiro et al. [32]. We consider further comparison of these competing approaches to be outside the focus of this work, which is on modeling a small portion of video frames at a time, essentially performing marginalization in addition to conditioning.
146
+
147
+ There are a number of approaches in the literature which use VAEs rather than DDPMs for video modelling. Babaeizadeh et al. [2] use a VAE model which predicts frames autoregressively conditioned on a global time-invariant latent variable. A related approach by Denton and Fergus [7] also uses a VAE with convolutional LSTM architectures in both the encoder and decoder. Unlike Babaeizadeh et al. [2] the prior is learned and a different latent variable is sampled for each frame. Babaeizadeh et al. [3] use a VAE with one set of latent variables per frame and inter-frame dependencies tracked by a two-layer LSTM. Their architecture intentionally overfits to the training data, which when coupled with image augmentations techniques achieves SOTA on various video prediction tasks. Kim et al. [20] use a variational RNN [5] with a hierarchical latent space that includes binary indicator variables which specify how the video is divided into a series of subsequences. Both Villegas et al. [35] and Wichers et al. [37] target long-term video prediction using a hierarchical variational LSTM architecture, wherein high-level features such as landmarks are predicted first, then decoded into low-level pixel space. The two approaches differ in that Villegas et al. [35] requires ground truth landmark labels, while [37] removes this dependence using an unsupervised adversarial approach. Fully GAN-based video models have also been proposed [1, 6] but generally suffer from “low quality frames or low number of frames or both” [1].
148
+
149
+ # 8 Discussion
150
+
151
+ We have defined and empirically explored a new method for generating photorealistic videos with long-range coherence that respects and efficiently uses fixed, finite computational resources. Our approach outperforms prior work on long-duration video modeling as measured by quantitative and semantically meaningful metrics and opens up several avenues for future research. For one, similar to using DDPMs for image generation, our method is slow to sample from (it takes approximately 16 minutes to generate a 300 frame video on a GPU). Ideas for making sampling faster by decreasing the number of integration steps [25, 29, 39] could be applied to our video model.
152
+
153
+ On a different note, consider the datasets on which our artifact was trained. In each there was a policy for generating the sequences of actions that causally led to the frame-to-frame changes in camera pose. In MineRL the video was generated by agents that were trained to explore novel Minecraft worlds to find a goal block approximately 64 meters away [13]. The CARLA data was produced by a camera attached to an agent driven by a low level proportional–integral–derivative controller following waypoints laid down by a high level planner that was given new, random location goals to drive to intermittently. In both cases our video model had no access to either the policy or the specific actions taken by these agents and, so, in a formal sense, our models integrate or marginalize over actions drawn from the stochastic policy used to generate the videos in the first place. Near-term future work could involve adding other modalities (e.g. audio) to FDM as well as explicitly adding actions and rewards, transforming our video generative model into a vision-based world model in the reinforcement learning sense [17, 19]. Furthermore, we point out that FDM trained on CARLA Town01 is in theory capable of creating 100-second videos conditioned on both the first and final frame. Doing so can be interpreted as running a “visual” controller which proposes a path between a current state and a specified goal. Preliminary attempts to run in FDM in this way yielded inconsistent results but we believe that this could be a fruitful direction for further investigation.
154
+
155
+ # Acknowledgments
156
+
157
+ We would like to thank Inverted AI, and especially Alireza Morsali, for generating the CARLA Town01 dataset. We acknowledge the support of the Natural Sciences and Engineering Research Council of Canada (NSERC), the Canada CIFAR AI Chairs Program, and the Intel Parallel Computing Centers program. Additional support was provided by UBC’s Composites Research Network (CRN), and Data Science Institute (DSI). This research was enabled in part by technical support and computational resources provided by WestGrid (www.westgrid.ca), Compute Canada (www.computecanada.ca), and Advanced Research Computing at the University of British Columbia (arc.ubc.ca). WH acknowledges support by the University of British Columbia’s Four Year Doctoral Fellowship (4YF) program.
158
+
159
+ # References
160
+
161
+ [1] Nuha Aldausari, Arcot Sowmya, Nadine Marcus, and Gelareh Mohammadi. Video generative adversarial networks: a review. ACM Computing Surveys (CSUR), 55(2):1–25, 2022.
162
+ [2] Mohammad Babaeizadeh, Chelsea Finn, Dumitru Erhan, Roy H Campbell, and Sergey Levine. Stochastic variational video prediction. arXiv preprint arXiv:1710.11252, 2017.
163
+ [3] Mohammad Babaeizadeh, Mohammad Taghi Saffar, Suraj Nair, Sergey Levine, Chelsea Finn, and Dumitru Erhan. Fitvid: Overfitting in pixel-level video prediction. arXiv preprint arXiv:2106.13195, 2021.
164
+ [4] Rewon Child. Very deep vaes generalize autoregressive models and can outperform them on images. arXiv preprint arXiv:2011.10650, 2020.
165
+ [5] Junyoung Chung, Kyle Kastner, Laurent Dinh, Kratarth Goel, Aaron C Courville, and Yoshua Bengio. A recurrent latent variable model for sequential data. Advances in neural information processing systems, 28, 2015.
166
+ [6] Aidan Clark, Jeff Donahue, and Karen Simonyan. Adversarial video generation on complex datasets. arXiv preprint arXiv:1907.06571, 2019. [7] Emily Denton and Rob Fergus. Stochastic video generation with a learned prior. In International conference on machine learning, pages 1174–1183. PMLR, 2018. [8] Prafulla Dhariwal and Alexander Nichol. Diffusion models beat gans on image synthesis. Advances in Neural Information Processing Systems, 34, 2021.
167
+ [9] Alexey Dosovitskiy, German Ros, Felipe Codevilla, Antonio Lopez, and Vladlen Koltun. Carla: An open urban driving simulator. In Conference on robot learning, pages 1–16. PMLR, 2017.
168
+ [10] SM Ali Eslami, Danilo Jimenez Rezende, Frederic Besse, Fabio Viola, Ari S Morcos, Marta Garnelo, Avraham Ruderman, Andrei A Rusu, Ivo Danihelka, Karol Gregor, et al. Neural scene representation and rendering. Science, 360(6394):1204–1210, 2018.
169
+ [11] Songwei Ge, Thomas Hayes, Harry Yang, Xi Yin, Guan Pang, David Jacobs, Jia-Bin Huang, and Devi Parikh. Long video generation with time-agnostic vqgan and time-sensitive transformer. arXiv preprint arXiv:2204.03638, 2022.
170
+ [12] Audrunas Gruslys, Rémi Munos, Ivo Danihelka, Marc Lanctot, and Alex Graves. Memoryefficient backpropagation through time. Advances in Neural Information Processing Systems, 29, 2016.
171
+ [13] William H Guss, Brandon Houghton, Nicholay Topin, Phillip Wang, Cayden Codel, Manuela Veloso, and Ruslan Salakhutdinov. Minerl: A large-scale dataset of minecraft demonstrations. arXiv preprint arXiv:1907.13440, 2019.
172
+ [14] Kaiming He, Xiangyu Zhang, Shaoqing Ren, and Jian Sun. Deep residual learning for image recognition. arxiv 2015. arXiv preprint arXiv:1512.03385, 2015.
173
+ [15] Jonathan Ho, Ajay Jain, and Pieter Abbeel. Denoising diffusion probabilistic models. Advances in Neural Information Processing Systems, 33:6840–6851, 2020.
174
+ [16] Jonathan Ho, Tim Salimans, Alexey Gritsenko, William Chan, Mohammad Norouzi, and David J Fleet. Video diffusion models. arXiv preprint arXiv:2204.03458, 2022.
175
+ [17] Maximilian Igl, Luisa Zintgraf, Tuan Anh Le, Frank Wood, and Shimon Whiteson. Deep variational reinforcement learning for pomdps. In International Conference on Machine Learning, pages 2117–2126. PMLR, 2018.
176
+ [18] Zahra Kadkhodaie and Eero P Simoncelli. Solving linear inverse problems using the prior implicit in a denoiser. arXiv preprint arXiv:2007.13640, 2020.
177
+ [19] Lukasz Kaiser, Mohammad Babaeizadeh, Piotr Milos, Blazej Osinski, Roy H Campbell, Konrad Czechowski, Dumitru Erhan, Chelsea Finn, Piotr Kozakowski, Sergey Levine, et al. Modelbased reinforcement learning for atari. arXiv preprint arXiv:1903.00374, 2019.
178
+ [20] Taesup Kim, Sungjin Ahn, and Yoshua Bengio. Variational temporal abstraction. Advances in Neural Information Processing Systems, 32, 2019.
179
+ [21] Gautam Mittal, Jesse Engel, Curtis Hawthorne, and Ian Simon. Symbolic music generation with diffusion models. arXiv preprint arXiv:2103.16091, 2021.
180
+ [22] Alexander Quinn Nichol and Prafulla Dhariwal. Improved denoising diffusion probabilistic models. In International Conference on Machine Learning, pages 8162–8171. PMLR, 2021.
181
+ [23] Adam Paszke, Sam Gross, Soumith Chintala, Gregory Chanan, Edward Yang, Zachary DeVito, Zeming Lin, Alban Desmaison, Luca Antiga, and Adam Lerer. Automatic differentiation in pytorch. In NIPS-W, 2017.
182
+ [24] Olaf Ronneberger, Philipp Fischer, and Thomas Brox. U-net: Convolutional networks for biomedical image segmentation. In International Conference on Medical image computing and computer-assisted intervention, pages 234–241. Springer, 2015.
183
+ [25] Tim Salimans and Jonathan Ho. Progressive distillation for fast sampling of diffusion models. arXiv preprint arXiv:2202.00512, 2022.
184
+
185
+ [26] Vaibhav Saxena, Jimmy Ba, and Danijar Hafner. Clockwork variational autoencoders. Advances in Neural Information Processing Systems, 34, 2021.
186
+
187
+ [27] Peter Shaw, Jakob Uszkoreit, and Ashish Vaswani. Self-attention with relative position representations. arXiv preprint arXiv:1803.02155, 2018.
188
+
189
+ [28] Jascha Sohl-Dickstein, Eric Weiss, Niru Maheswaranathan, and Surya Ganguli. Deep unsupervised learning using nonequilibrium thermodynamics. In International Conference on Machine Learning, pages 2256–2265. PMLR, 2015.
190
+
191
+ [29] Jiaming Song, Chenlin Meng, and Stefano Ermon. Denoising diffusion implicit models. arXiv preprint arXiv:2010.02502, 2020.
192
+
193
+ [30] Yang Song, Jascha Sohl-Dickstein, Diederik P Kingma, Abhishek Kumar, Stefano Ermon, and Ben Poole. Score-based generative modeling through stochastic differential equations. arXiv preprint arXiv:2011.13456, 2020.
194
+
195
+ [31] Corentin Tallec and Yann Ollivier. Unbiasing truncated backpropagation through time. arXiv preprint arXiv:1705.08209, 2017.
196
+
197
+ [32] Yusuke Tashiro, Jiaming Song, Yang Song, and Stefano Ermon. Csdi: Conditional score-based diffusion models for probabilistic time series imputation. Advances in Neural Information Processing Systems, 34, 2021.
198
+
199
+ [33] Thomas Unterthiner, Sjoerd van Steenkiste, Karol Kurach, Raphael Marinier, Marcin Michalski, and Sylvain Gelly. Towards accurate generative models of video: A new metric & challenges. arXiv preprint arXiv:1812.01717, 2018.
200
+
201
+ [34] Ashish Vaswani, Noam Shazeer, Niki Parmar, Jakob Uszkoreit, Llion Jones, Aidan N Gomez, Łukasz Kaiser, and Illia Polosukhin. Attention is all you need. Advances in neural information processing systems, 30, 2017.
202
+
203
+ [35] Ruben Villegas, Dumitru Erhan, Honglak Lee, et al. Hierarchical long-term video prediction without supervision. In International Conference on Machine Learning, pages 6038–6046. PMLR, 2018.
204
+
205
+ [36] Dirk Weissenborn, Oscar Täckström, and Jakob Uszkoreit. Scaling autoregressive video models. arXiv preprint arXiv:1906.02634, 2019.
206
+
207
+ [37] Nevan Wichers, Ruben Villegas, Dumitru Erhan, and Honglak Lee. Hierarchical Long-term Video Prediction without Supervision. June 2018. doi: 10.48550/arXiv.1806.04768.
208
+
209
+ [38] Kan Wu, Houwen Peng, Minghao Chen, Jianlong Fu, and Hongyang Chao. Rethinking and improving relative position encoding for vision transformer. In Proceedings of the IEEE/CVF International Conference on Computer Vision, pages 10033–10041, 2021.
210
+
211
+ [39] Zhisheng Xiao, Karsten Kreis, and Arash Vahdat. Tackling the generative learning trilemma with denoising diffusion GANs. In International Conference on Learning Representations, 2022. URL https://openreview.net/forum?id $\equiv$ JprM0p-q0Co.
212
+
213
+ [40] Ruihan Yang, Prakhar Srivastava, and Stephan Mandt. Diffusion probabilistic modeling for video generation. arXiv preprint arXiv:2203.09481, 2022.
214
+
215
+ [41] Richard Zhang, Phillip Isola, Alexei A Efros, Eli Shechtman, and Oliver Wang. The unreasonable effectiveness of deep features as a perceptual metric. In Proceedings of the IEEE conference on computer vision and pattern recognition, pages 586–595, 2018.
216
+
217
+ # Checklist
218
+
219
+ 1. For all authors...
220
+
221
+ (a) Do the main claims made in the abstract and introduction accurately reflect the paper’s contributions and scope? [Yes]
222
+ (b) Did you describe the limitations of your work? [Yes]
223
+ (c) Did you discuss any potential negative societal impacts of your work? [Yes]
224
+ (d) Have you read the ethics review guidelines and ensured that your paper conforms to them? [Yes]
225
+
226
+ 2. If you are including theoretical results...
227
+
228
+ (a) Did you state the full set of assumptions of all theoretical results? [N/A] (b) Did you include complete proofs of all theoretical results? [N/A]
229
+
230
+ 3. If you ran experiments...
231
+
232
+ (a) Did you include the code, data, and instructions needed to reproduce the main experimental results (either in the supplemental material or as a URL)? [Yes]
233
+ (b) Did you specify all the training details (e.g., data splits, hyperparameters, how they were chosen)? [Yes]
234
+ (c) Did you report error bars (e.g., with respect to the random seed after running experiments multiple times)? [Yes]
235
+ (d) Did you include the total amount of compute and the type of resources used (e.g., type of GPUs, internal cluster, or cloud provider)? [Yes] See appendix.
236
+
237
+ 4. If you are using existing assets (e.g., code, data, models) or curating/releasing new assets...
238
+
239
+ (a) If your work uses existing assets, did you cite the creators? [Yes]
240
+ (b) Did you mention the license of the assets? [Yes]
241
+ (c) Did you include any new assets either in the supplemental material or as a URL? [Yes]
242
+ (d) Did you discuss whether and how consent was obtained from people whose data you’re using/curating? [N/A]
243
+ (e) Did you discuss whether the data you are using/curating contains personally identifiable information or offensive content? [N/A]
244
+
245
+ 5. If you used crowdsourcing or conducted research with human subjects...
246
+
247
+ (a) Did you include the full text of instructions given to participants and screenshots, if applicable? [N/A]
248
+ (b) Did you describe any potential participant risks, with links to Institutional Review Board (IRB) approvals, if applicable? [N/A]
249
+ (c) Did you include the estimated hourly wage paid to participants and the total amount spent on participant compensation? [N/A]
parse/dev/0RTJcuvHtIu/0RTJcuvHtIu_content_list.json ADDED
@@ -0,0 +1,1137 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [
2
+ {
3
+ "type": "text",
4
+ "text": "Flexible Diffusion Modeling of Long Videos ",
5
+ "text_level": 1,
6
+ "bbox": [
7
+ 235,
8
+ 122,
9
+ 764,
10
+ 147
11
+ ],
12
+ "page_idx": 0
13
+ },
14
+ {
15
+ "type": "text",
16
+ "text": "William Harvey, Saeid Naderiparizi, Vaden Masrani, Christian Weilbach, Frank Wood∗ ",
17
+ "bbox": [
18
+ 191,
19
+ 200,
20
+ 805,
21
+ 215
22
+ ],
23
+ "page_idx": 0
24
+ },
25
+ {
26
+ "type": "text",
27
+ "text": "Department of Computer Science University of British Columbia Vancouver, Canada {wsgh,saeidnp,vadmas,weilbach,fwood}@cs.ubc.ca ",
28
+ "bbox": [
29
+ 302,
30
+ 217,
31
+ 697,
32
+ 270
33
+ ],
34
+ "page_idx": 0
35
+ },
36
+ {
37
+ "type": "text",
38
+ "text": "Abstract ",
39
+ "text_level": 1,
40
+ "bbox": [
41
+ 462,
42
+ 306,
43
+ 535,
44
+ 323
45
+ ],
46
+ "page_idx": 0
47
+ },
48
+ {
49
+ "type": "text",
50
+ "text": "We present a framework for video modeling based on denoising diffusion probabilistic models that produces long-duration video completions in a variety of realistic environments. We introduce a generative model that can at test-time sample any arbitrary subset of video frames conditioned on any other subset and present an architecture adapted for this purpose. Doing so allows us to efficiently compare and optimize a variety of schedules for the order in which frames in a long video are sampled and use selective sparse and long-range conditioning on previously sampled frames. We demonstrate improved video modeling over prior work on a number of datasets and sample temporally coherent videos over 25 minutes in length. We additionally release a new video modeling dataset and semantically meaningful metrics based on videos generated in the CARLA autonomous driving simulator. ",
51
+ "bbox": [
52
+ 233,
53
+ 338,
54
+ 766,
55
+ 503
56
+ ],
57
+ "page_idx": 0
58
+ },
59
+ {
60
+ "type": "text",
61
+ "text": "1 Introduction ",
62
+ "text_level": 1,
63
+ "bbox": [
64
+ 174,
65
+ 529,
66
+ 310,
67
+ 545
68
+ ],
69
+ "page_idx": 0
70
+ },
71
+ {
72
+ "type": "text",
73
+ "text": "Generative modeling of photo-realistic videos is at the frontier of what is possible with deep learning on currently-available hardware. Although related work has demonstrated modeling of short photorealistic videos (e.g. 30 frames [36], 48 frames [6] or 64 frames [16]), generating longer videos that are both coherent and photo-realistic remains an open challenge. A major difficulty is scaling: photorealistic image generative models [4, 8] are already close to the memory and processing limits of modern hardware. A long video is at very least a concatenation of many photorealistic frames, implying resource requirements, long-range coherence notwithstanding, that scale with frame count. ",
74
+ "bbox": [
75
+ 174,
76
+ 559,
77
+ 825,
78
+ 657
79
+ ],
80
+ "page_idx": 0
81
+ },
82
+ {
83
+ "type": "text",
84
+ "text": "Attempting to model such long-range coherence makes the problem harder still, especially because in general every frame can have statistical dependencies on other frames arbitrarily far back in the video. Unfortunately fixed-lag autoregressive models impose unrealistic conditional independence assumptions (the next frame being independent of frames further back in time than the autoregressive lag is problematic for generating videos with long-range coherence). And while deep generative models based on recurrent neural networks (RNN) theoretically impose no such conditional independence assumptions, in practice they must be trained over short sequences [12, 26] or with truncated gradients [31]. Despite this, some RNN-based video generative models have demonstrated longer-range coherence, albeit without yet achieving convincing photorealistic video generation [26, 3, 7, 20, 2]. ",
85
+ "bbox": [
86
+ 174,
87
+ 664,
88
+ 825,
89
+ 787
90
+ ],
91
+ "page_idx": 0
92
+ },
93
+ {
94
+ "type": "text",
95
+ "text": "In this work we embrace the fact that finite architectures will always impose conditional independences. The question we ask is: given an explicit limit $K$ on the number of video frames we can jointly model, how can we best allocate these frames to generate a video of length $N > K ?$ One option is to use the previously-described autoregressive model but, if $K = N / 4$ , we could instead follow Ho et al. [16] by training two models: one which first samples every 4th frame in the video, and another which (in multiple stages) infills the remaining frames conditioned on those. To enable efficient exploration of the space of such sampling schemes, we propose a flexible architecture based on the denoising diffusion probabilistic model (DDPM) framework. This can sample any subset of video frames conditioned on observed values of any other subset of video frames. It therefore lets us explore a wide variety of previously untested sampling schemes while being easily repurposed for different generation tasks such as unconditional generation, video completion, and generation of videos of different lengths. Since our model can be flexibly applied to sample any frames given any others we call it a Flexible Diffusion Model, or FDM. ",
96
+ "bbox": [
97
+ 174,
98
+ 795,
99
+ 825,
100
+ 877
101
+ ],
102
+ "page_idx": 0
103
+ },
104
+ {
105
+ "type": "image",
106
+ "img_path": "images/d3896c398df1e076a51acfb5819f046231ccb319e84ddbaf5049df13dc706653.jpg",
107
+ "image_caption": [
108
+ "Figure 1: A long video (25 minutes, or approximately 15 000 frames) generated by FDM for each of CARLA Town01 and MineRL, conditioned on 500 and 250 prior frames respectively. We show blocks of frames from three points within each video, starting from the final observed frame on the left. Blocks are marked with the time elapsed since the last observation and frames within them are one second apart. We observe no degradation in sample quality even after $> 1 5 0 0 0$ frames. "
109
+ ],
110
+ "image_footnote": [],
111
+ "bbox": [
112
+ 176,
113
+ 89,
114
+ 821,
115
+ 210
116
+ ],
117
+ "page_idx": 1
118
+ },
119
+ {
120
+ "type": "text",
121
+ "text": "",
122
+ "bbox": [
123
+ 174,
124
+ 319,
125
+ 825,
126
+ 416
127
+ ],
128
+ "page_idx": 1
129
+ },
130
+ {
131
+ "type": "text",
132
+ "text": "Contributions (1) At the highest level, we claim to have concurrently developed one of the first denoising diffusion probabilistic model (DDPM)-based video generative models [16, 40]. To do so we augment a previously-used DDPM image architecture [15, 22] with a temporal attention mechanism including a novel relative (frame) position encoding network. (2) The principal contribution of this paper, regardless, is a “meta-learning” training objective that encourages learning of a video generative model that can (a) be flexibly conditioned on any number of frames (up to computational resource constraints) at any time in the past and future and (b) be flexibly marginalized (to achieve this within computational resource constraints). (3) We demonstrate that our model can be used to efficiently explore the space of resource constrained video generation schemes, leading to improvements over prior work on several long-range video modeling tasks. (4) Finally, we release a new autonomous driving video dataset along with a new video generative model performance metric that captures semantics more directly than the visual quality and comparison metrics currently in widespread use. ",
133
+ "bbox": [
134
+ 174,
135
+ 436,
136
+ 825,
137
+ 602
138
+ ],
139
+ "page_idx": 1
140
+ },
141
+ {
142
+ "type": "text",
143
+ "text": "2 Sampling long videos ",
144
+ "text_level": 1,
145
+ "bbox": [
146
+ 174,
147
+ 627,
148
+ 382,
149
+ 645
150
+ ],
151
+ "page_idx": 1
152
+ },
153
+ {
154
+ "type": "text",
155
+ "text": "Our goal in this paper is to sample coherent photo-realistic videos v with thousands of frames (see Fig. 1). To sample an arbitrarily long video with a generative model that can sample or condition on only a small number of frames at once, we must use a sequential procedure. The simplest example of this is an autoregressive scheme, an example of which is shown in Fig. 2a for a video completion task. In this example it takes seven stages to sample a complete video, in that we must run the generative model’s sampling procedure seven times. At each stage three frames are sampled conditioned on the immediately preceding four frames. This scheme is appealing for its simplicity but imposes a strong assumption that, given the set of four frames that are conditioned on at a particular stage, all frames that come afterwards are conditionally independent of all frames that came before. This restriction can be partially ameliorated with the sampling scheme shown in Fig. 2b where, in the first three stages, every second frame is sampled and then, in the remaining four stages, the remaining frames are infilled. One way to implement this would be to train two different models operating at the two different temporal resolutions. In the language of Ho et al. [16], who use a similar approach, sampling would be carried out in the first three stages by a “frameskip-2” model and, in the remaining stages, by a “frameskip-1” model. Both this approach and the autoregressive approach are examples of what we call sampling schemes. More generally, we characterize a sampling scheme as a sequence of tuples $[ ( \\mathcal { X } _ { s } , \\mathcal { Y } _ { s } ) ] _ { s = 1 } ^ { \\bar { S } }$ , each containing a vector $\\mathcal { X } _ { s }$ of indices of frames to sample and a vector $\\mathcal { { D } } _ { s }$ of indices of frames to condition on for stages $s = 1 , \\ldots , S$ . ",
156
+ "bbox": [
157
+ 174,
158
+ 661,
159
+ 825,
160
+ 911
161
+ ],
162
+ "page_idx": 1
163
+ },
164
+ {
165
+ "type": "text",
166
+ "text": "Algorithm 1 Sample a video v given a sampling scheme $[ ( \\mathcal { X } _ { s } , \\mathcal { Y } _ { s } ) ] _ { s = 1 } ^ { S }$ . For unconditional generation, the input v can be a tensor of zeros. For conditional generation, the observed input frames should contain their observed values. ",
167
+ "bbox": [
168
+ 173,
169
+ 92,
170
+ 825,
171
+ 133
172
+ ],
173
+ "page_idx": 2
174
+ },
175
+ {
176
+ "type": "image",
177
+ "img_path": "images/754ba6c3882c936adc15285b6eb3db96a76d55df22201eb208337df69c833391.jpg",
178
+ "image_caption": [],
179
+ "image_footnote": [],
180
+ "bbox": [
181
+ 176,
182
+ 137,
183
+ 825,
184
+ 218
185
+ ],
186
+ "page_idx": 2
187
+ },
188
+ {
189
+ "type": "image",
190
+ "img_path": "images/600712d51e1e42029bc1b4c4cd2cbf9b83301ebb8fae3df91ba6c5a7c1851508.jpg",
191
+ "image_caption": [
192
+ "Figure 2: Sampling schemes to complete a video of length $N = 3 0$ conditioned on the first 10 frames, with access to at most $K = 7$ frames at a time. Each stage $s$ of the sampling procedure is represented by one row in the figure, going from top to bottom. Within each subfigure, one column represents one frame of the video, from frame one on the left to frame 30 on the right. At each stage, the values of frames marked in blue are sampled conditioned on the (observed or previously sampled) values of frames marked in red; frames marked in gray are ignored; and frames marked in white are yet to be sampled. For every sampling scheme, all video frames have been sampled after the final row. "
193
+ ],
194
+ "image_footnote": [],
195
+ "bbox": [
196
+ 181,
197
+ 236,
198
+ 818,
199
+ 286
200
+ ],
201
+ "page_idx": 2
202
+ },
203
+ {
204
+ "type": "text",
205
+ "text": "Algorithm 1 lays out how such a sampling scheme is used to sample a video. If the underlying generative model is trained specifically to model sequences of consecutive frames, or sequences of regularly-spaced frames, then the design space for sampling schemes compatible with these models is severely constrained. In this paper we take a different approach. We design and train a generative model to sample any arbitrarily-chosen subset of video frames conditioned on any other subset and train it using an entirely novel distribution of such tasks. In short, our model is trained to generate frames for any choice of $\\mathcal { X }$ and $\\mathcal { V }$ . The only constraint we impose on our sampling schemes is therefore a computational consideration that $| \\mathcal { X } _ { s } | + | \\mathcal { V } _ { s } | \\le K$ for all $s$ but, to generate meaningful videos, any valid sampling scheme must also satisfy two more constraints: (1) all frames are sampled at at least one stage and (2) frames are never conditioned upon before they are sampled. ",
206
+ "bbox": [
207
+ 173,
208
+ 421,
209
+ 825,
210
+ 560
211
+ ],
212
+ "page_idx": 2
213
+ },
214
+ {
215
+ "type": "text",
216
+ "text": "Such a flexible generative model allows us to explore and use sampling schemes like those in Fig. 2c and Fig. 2d. We find in our experiments that the best video sampling scheme is dataset dependent. Accordingly, we have developed methodology to optimize such sampling schemes in a dataset dependent way, leading to improved video quality as measured by the Fréchet Video Distance [33] among other metrics. We now review conditional DDPMs (Section 3), before discussing the FDM’s architecture, the specific task distribution used to train it, and the choice and optimization of sampling schemes in Section 4. ",
217
+ "bbox": [
218
+ 174,
219
+ 566,
220
+ 825,
221
+ 664
222
+ ],
223
+ "page_idx": 2
224
+ },
225
+ {
226
+ "type": "text",
227
+ "text": "3 A review of conditional denoising diffusion probabilistic models ",
228
+ "text_level": 1,
229
+ "bbox": [
230
+ 174,
231
+ 686,
232
+ 733,
233
+ 705
234
+ ],
235
+ "page_idx": 2
236
+ },
237
+ {
238
+ "type": "text",
239
+ "text": "Denoising diffusion probabilistic models, or DDPMs [28, 15, 22, 30], are a class of generative model for data $\\mathbf { x }$ , which throughout this paper will take the form of a 4-dimensional tensor representing multiple video frames. We will describe the conditional extension [32], in which the modeled $\\mathbf { x }$ is conditioned on observations $\\mathbf { y }$ . DDPMs simulate a diffusion process which transforms $\\mathbf { x }$ to noise, and generate data by learning the probabilistic inverse of the diffusion process. The diffusion process happens over timesteps $0 , \\ldots , T$ such that $\\mathbf { x } _ { 0 } = \\mathbf { x }$ is data without noise, $\\mathbf { x } _ { 1 }$ has a very small amount of noise added, and so on until $\\mathbf { x } _ { T }$ is almost independent of $\\mathbf { x } _ { \\mathrm { 0 } }$ and approximates a random sample from a unit Gaussian. In the diffusion process we consider, the distribution over $\\mathbf { x } _ { t }$ depends only on $\\mathbf { x } _ { t - 1 }$ : ",
240
+ "bbox": [
241
+ 173,
242
+ 720,
243
+ 825,
244
+ 847
245
+ ],
246
+ "page_idx": 2
247
+ },
248
+ {
249
+ "type": "equation",
250
+ "img_path": "images/dce8a1e7e71cd9f590aa26dda40e122c7848f76674f30f8b852c3c2dc30ec66a.jpg",
251
+ "text": "$$\n\\begin{array} { r } { q ( \\mathbf x _ { t } | \\mathbf x _ { t - 1 } ) = \\mathcal N ( \\mathbf x _ { t } ; \\sqrt { \\alpha _ { t } } \\mathbf x _ { t - 1 } , ( 1 - \\alpha _ { t } ) \\mathbf I ) . } \\end{array}\n$$",
252
+ "text_format": "latex",
253
+ "bbox": [
254
+ 354,
255
+ 849,
256
+ 643,
257
+ 867
258
+ ],
259
+ "page_idx": 2
260
+ },
261
+ {
262
+ "type": "text",
263
+ "text": "Hyperparameters $\\alpha _ { 1 } , \\ldots , \\alpha _ { T }$ are chosen to all be close to but slightly less than 1 so that the amount of noise added at each step is small. The combination of this diffusion process and a data distribution ",
264
+ "bbox": [
265
+ 173,
266
+ 882,
267
+ 821,
268
+ 911
269
+ ],
270
+ "page_idx": 2
271
+ },
272
+ {
273
+ "type": "image",
274
+ "img_path": "images/3fc8bc3620910017f4fb64feeca7720f8dbd1c2dc54a5bb68290e6287af2087d.jpg",
275
+ "image_caption": [
276
+ "Figure 3: Left: Our DDPM iteratively transforms Gaussian noise $\\mathbf { x } _ { T }$ to video frames $\\mathbf { x } _ { \\mathrm { 0 } }$ (shown with blue borders), conditioning on observed frames $\\mathbf { y }$ (red borders) at every step. Right: The U-net architecture used within each DDPM step. It computes $\\epsilon _ { \\theta } ( \\mathbf x _ { t } , \\mathbf y , t )$ , with which the Gaussian transition $p _ { \\theta } ( \\mathbf { x } _ { t - 1 } | \\mathbf { x } _ { t } )$ is parameterized. "
277
+ ],
278
+ "image_footnote": [],
279
+ "bbox": [
280
+ 210,
281
+ 88,
282
+ 785,
283
+ 279
284
+ ],
285
+ "page_idx": 3
286
+ },
287
+ {
288
+ "type": "text",
289
+ "text": "$q ( \\mathbf { x } _ { 0 } , \\mathbf { y } )$ (recalling that $\\mathbf { x } _ { 0 } = \\mathbf { x }$ ) defines the joint distribution ",
290
+ "bbox": [
291
+ 173,
292
+ 364,
293
+ 573,
294
+ 380
295
+ ],
296
+ "page_idx": 3
297
+ },
298
+ {
299
+ "type": "equation",
300
+ "img_path": "images/8995c3cea64e569618e46fcb6860c8c4f159411ad6a0ebb7097797ae5c3c9c15.jpg",
301
+ "text": "$$\nq ( \\mathbf x _ { 0 : T } , \\mathbf y ) = q ( \\mathbf x _ { 0 } , \\mathbf y ) \\prod _ { t = 1 } ^ { T } q ( \\mathbf x _ { t } | \\mathbf x _ { t - 1 } ) .\n$$",
302
+ "text_format": "latex",
303
+ "bbox": [
304
+ 372,
305
+ 381,
306
+ 625,
307
+ 424
308
+ ],
309
+ "page_idx": 3
310
+ },
311
+ {
312
+ "type": "text",
313
+ "text": "DDPMs work by “inverting” the diffusion process: given values of $\\mathbf { x } _ { t }$ and $\\mathbf { y }$ a neural network is used to parameterize $p _ { \\theta } ( \\mathbf { x } _ { t - 1 } | \\mathbf { x } _ { t } , \\mathbf { y } )$ , an approximation of $q ( \\mathbf { x } _ { t - 1 } | \\mathbf { x } _ { t } , \\mathbf { y } )$ . This neural network lets us draw samples of $\\mathbf { x } _ { \\mathrm { 0 } }$ by first sampling $\\mathbf { x } _ { T }$ from a unit Gaussian (recall that the diffusion process was chosen so that $q ( \\mathbf { x } _ { T } )$ is well approximated by a unit Gaussian), and then iteratively sampling $\\mathbf { x } _ { t - 1 } \\sim p _ { \\theta } ( \\cdot | \\mathbf { x } _ { t } , \\mathbf { y } )$ for $t = T , T - 1 , \\dots , 1$ . The joint distribution of sampled $\\mathbf { x } _ { \\mathrm { 0 : } T }$ given $\\mathbf { y }$ is ",
314
+ "bbox": [
315
+ 173,
316
+ 425,
317
+ 825,
318
+ 496
319
+ ],
320
+ "page_idx": 3
321
+ },
322
+ {
323
+ "type": "equation",
324
+ "img_path": "images/b454d0380db4bb7fd3af07540825b197bbc1e8138044742368a5bd96a5555403.jpg",
325
+ "text": "$$\np _ { \\theta } ( \\mathbf { x } _ { 0 : T } | \\mathbf { y } ) = p ( \\mathbf { x } _ { T } ) \\prod _ { t = 1 } ^ { T } p _ { \\theta } ( \\mathbf { x } _ { t - 1 } | \\mathbf { x } _ { t } , \\mathbf { y } )\n$$",
326
+ "text_format": "latex",
327
+ "bbox": [
328
+ 366,
329
+ 496,
330
+ 632,
331
+ 539
332
+ ],
333
+ "page_idx": 3
334
+ },
335
+ {
336
+ "type": "text",
337
+ "text": "where $p ( \\mathbf { x } _ { T } )$ is a unit Gaussian that does not depend on $\\theta$ . Training the conditional DDPM therefore involves fitting $p _ { \\theta } ( \\mathbf { x } _ { t - 1 } | \\mathbf { x } _ { t } , \\mathbf { y } )$ to approximate $q ( \\mathbf { x } _ { t - 1 } | \\mathbf { x } _ { t } , \\mathbf { y } )$ for all choices of $t$ , $\\mathbf { x } _ { t }$ , and $\\mathbf { y }$ . ",
338
+ "bbox": [
339
+ 173,
340
+ 540,
341
+ 823,
342
+ 570
343
+ ],
344
+ "page_idx": 3
345
+ },
346
+ {
347
+ "type": "text",
348
+ "text": "Several observations have been made in recent years which simplify the learning of $p _ { \\theta } ( \\mathbf { x } _ { t - 1 } | \\mathbf { x } _ { t } , \\mathbf { y } )$ . Sohl-Dickstein et al. [28] showed that when $\\alpha _ { t }$ is close to 1, $p _ { \\theta } ( \\mathbf { x } _ { t - 1 } | \\mathbf { x } _ { t } )$ is approximately Gaussian [28]. Furthermore, Ho et al. [15] showed that this Gaussian’s variance can be modeled well with a non-learned function of $t$ , and that a good estimate of the Gaussian’s mean can be obtained from a “denoising model” as follows. Given data $\\mathbf { x } _ { \\mathrm { 0 } }$ and unit Gaussian noise $\\epsilon$ , the denoising model (in the form of a neural network) is fed “noisy” data $\\mathbf { x } _ { t } : = \\sqrt { \\tilde { \\alpha } _ { t } } \\mathbf { x } _ { 0 } + \\sqrt { 1 - \\tilde { \\alpha } _ { t } } \\epsilon$ and trained to recover $\\epsilon$ via a mean squared error loss. The parameters $\\begin{array} { r } { \\tilde { \\alpha } _ { t } : = \\prod _ { i = 1 } ^ { t } \\alpha _ { i } } \\end{array}$ are chosen to ensure that the marginal distribution of $\\mathbf { x } _ { t }$ given $\\mathbf { x } _ { \\mathrm { 0 } }$ is $q ( \\mathbf { x } _ { t } | \\mathbf { x } _ { 0 } )$ as derived from Eq. (1). Given a weighting function $\\lambda ( t )$ , the denoising loss is ",
349
+ "bbox": [
350
+ 173,
351
+ 574,
352
+ 826,
353
+ 702
354
+ ],
355
+ "page_idx": 3
356
+ },
357
+ {
358
+ "type": "equation",
359
+ "img_path": "images/44c3ffa1c847398e4b684bdbf6916d12017a75017767ddfdf7c1534d3b8ab6ea.jpg",
360
+ "text": "$$\n\\mathcal { L } ( \\theta ) = \\mathbb { E } _ { q ( \\mathbf { x } _ { 0 } , \\mathbf { y } , \\epsilon ) } \\left[ \\sum _ { t = 1 } ^ { T } \\lambda ( t ) | | \\epsilon - \\epsilon _ { \\theta } ( \\mathbf { x } _ { t } , \\mathbf { y } , t ) | | _ { 2 } ^ { 2 } \\right] \\quad \\mathrm { w i t h } \\quad \\mathbf { x } _ { t } = \\sqrt { \\tilde { \\alpha } _ { t } } \\mathbf { x } _ { 0 } + \\sqrt { 1 - \\tilde { \\alpha } _ { t } } \\epsilon .\n$$",
361
+ "text_format": "latex",
362
+ "bbox": [
363
+ 215,
364
+ 703,
365
+ 781,
366
+ 747
367
+ ],
368
+ "page_idx": 3
369
+ },
370
+ {
371
+ "type": "text",
372
+ "text": "The mean of $p _ { \\theta } ( \\mathbf { x } _ { t - 1 } | \\mathbf { x } _ { t } , \\mathbf { y } )$ is obtained from the denoising model’s output $\\epsilon _ { \\theta } ( \\mathbf x _ { t } , \\mathbf y , t )$ as $\\begin{array} { r } { \\frac { 1 } { \\alpha _ { t } } \\mathbf { x } _ { t } - \\frac { 1 - \\alpha _ { t } } { \\sqrt { 1 - \\tilde { \\alpha } _ { t } } } \\epsilon _ { \\theta } \\big ( \\mathbf { x } _ { t } , \\mathbf { y } , t \\big ) } \\end{array}$ . If the weighting function $\\lambda ( t )$ is chosen appropriately, optimising Eq. (4) is equivalent to optimising a lower-bound on the data likelihood under $p _ { \\theta }$ . In practice, simply setting $\\lambda ( t ) : = 1$ for all $t$ can produce more visually compelling results in the image domain [15]. ",
373
+ "bbox": [
374
+ 173,
375
+ 747,
376
+ 826,
377
+ 809
378
+ ],
379
+ "page_idx": 3
380
+ },
381
+ {
382
+ "type": "text",
383
+ "text": "In our proposed method, as in Tashiro et al. [32], the shapes of $\\mathbf { x } _ { \\mathrm { 0 } }$ and $\\mathbf { y }$ sampled from $q ( \\cdot )$ vary. This is because we want to train a model which can flexibly adapt to e.g. varying numbers of observed frames. To map Eq. (4) to this scenario, note that both $\\mathbf { x } _ { \\mathrm { 0 } }$ and $\\mathbf { y }$ implicitly contain information about which frames in the video they represent (via the index vectors $\\mathcal { X }$ and $\\mathcal { V }$ introduced in the previous section). This information is used inside the neural network $\\epsilon _ { \\theta } ( \\mathbf x _ { t } , \\mathbf y , t )$ so that interactions between frames can be conditioned on the distance between them (as described in the following section) and also to ensure that the sampled noise vector $\\epsilon$ has the same shape as $\\mathbf { x } _ { \\mathrm { 0 } }$ . ",
384
+ "bbox": [
385
+ 173,
386
+ 813,
387
+ 825,
388
+ 912
389
+ ],
390
+ "page_idx": 3
391
+ },
392
+ {
393
+ "type": "text",
394
+ "text": "$: \\mathcal { X } : = \\{ \\} ; \\mathcal { Y } : = \\{ \\}$ \n2: while True do \n3: $n _ { \\mathrm { g r o u p } } \\sim$ UniformDiscrete $( 1 , K )$ \n4: $s _ { \\mathrm { g r o u p } } \\sim \\mathrm { L o g U n i f o r m } ( 1 , ( N - 1 ) / n _ { \\mathrm { g r o u p } } )$ \n5: $x _ { \\mathrm { g r o u p } } \\sim \\mathrm { U n i f o r m } ( 0 , N - ( n _ { \\mathrm { g r o u p } } - 1 ) \\cdot s _ { \\mathrm { g r o u p } } )$ \n6: ogroup ∼ Bernoulli(0.5) \n7: $\\tilde { \\mathcal { G } } : = \\{ \\lfloor x _ { \\mathrm { g r o u p } } + s _ { \\mathrm { g r o u p } } \\cdot i \\rfloor | i \\in \\{ 0 , \\ldots , n _ { \\mathrm { g r o u p } } - 1 \\} \\} \\backslash \\mathcal { X } \\backslash \\mathcal { Y }$ \n8: if $| \\mathcal { X } | + | \\mathcal { Y } | + | \\mathcal { G } | > K$ then \n9: return set2vector $( \\mathcal { X } )$ , set2vector $( { \\mathcal { V } } )$ \n10: else if $| \\mathcal { X } | = 0$ or $o _ { \\mathrm { g r o u p } } = 0$ then \n11: $\\mathcal { X } : = \\mathcal { X } \\cup \\mathcal { G }$ \n12: else \n13: $y : = \\mathcal { y } \\cup \\mathcal { G }$ ",
395
+ "bbox": [
396
+ 415,
397
+ 125,
398
+ 820,
399
+ 294
400
+ ],
401
+ "page_idx": 4
402
+ },
403
+ {
404
+ "type": "image",
405
+ "img_path": "images/5026656df62c5d1435c78fbe9221db88072c7b53140f572331883e0731269e40.jpg",
406
+ "image_caption": [
407
+ "Figure 4: Left: Samples from $u ( \\mathcal { X } , \\mathcal { Y } )$ with video length $N = 3 0$ and limit $K = 1 0$ on the number of sampled indices. Each row shows one sample and columns map to frames, with frame 1 on the left and frame $N$ on the right. Blue and red denote latent and observed frames respectively. All other frames are ignored and shown as white. Right: Pseudocode for drawing these samples. The while loop iterates over a series of regularly-spaced groups of latent variables. Each group is parameterized by: the number of indices in it, $n _ { \\mathrm { g r o u p } }$ ; the spacing between indices in it, $s _ { \\mathrm { g r o u p } }$ ; the position of the first frame in it, $x _ { \\mathrm { g r o u p } }$ , and an indicator variable for whether this group is observed, $O _ { \\mathrm { { g r o u p } } }$ (which is ignored on line 10 if $\\mathcal { X }$ is empty to ensure that the returned value of $\\mathcal { X }$ is never empty). These quantities are sampled in a continuous space and then discretized to make a set of integer coordinates on line 7. The process repeats until a group is sampled which, if added to $\\mathcal { X }$ or $\\mathcal { V }$ , will cause the number of frames to exceed $K$ . That group is then discarded and $\\mathcal { X }$ and $\\mathcal { V }$ are returned as vectors. The FDM’s training objective forces it to work well for any $( \\mathcal { X } , \\mathcal { Y } )$ pair from this broad distribution. "
408
+ ],
409
+ "image_footnote": [],
410
+ "bbox": [
411
+ 174,
412
+ 103,
413
+ 403,
414
+ 292
415
+ ],
416
+ "page_idx": 4
417
+ },
418
+ {
419
+ "type": "text",
420
+ "text": "4 Training procedure and architecture ",
421
+ "text_level": 1,
422
+ "bbox": [
423
+ 174,
424
+ 492,
425
+ 511,
426
+ 510
427
+ ],
428
+ "page_idx": 4
429
+ },
430
+ {
431
+ "type": "text",
432
+ "text": "Training task distribution Different choices of latent and observed indices $\\mathcal { X }$ and $\\mathcal { V }$ can be regarded as defining different conditional generation tasks. In this sense, we aim to learn a model which can work well on any task (i.e. any choice of $\\mathcal { X }$ and $\\mathcal { V }$ ) and so we randomly sample these vectors of indices during training. We do so with the distribution $u ( \\mathcal { X } , \\mathcal { Y } )$ described in Fig. 4. This provides a broad distribution covering many plausible test-time use cases while still providing sufficient structure to improve learning (see ablation in Section 6 and more details in Appendix C). To cope with constrained computational resources, the distribution is designed such that $\\left| \\mathcal { X } \\right| + \\left| \\mathcal { V } \\right|$ is upper-bounded by some pre-specified $K$ . Sampling from $q ( \\mathbf { x } _ { 0 } , \\mathbf { y } )$ in Eq. (4) is then accomplished by randomly selecting both a full training video $\\mathbf { v }$ and indices $\\mathcal { X } , \\mathcal { Y } \\sim u ( \\cdot , \\cdot )$ . We then extract the specified frames $\\mathbf { x } = \\mathbf { v } [ \\mathcal { X } ]$ and $\\mathbf { y } = \\mathbf { v } [ \\mathcal { V } ]$ (where we use $\\mathbf { v } [ \\mathcal { X } ]$ to denote the concatenation of all frames in $\\mathbf { v }$ with indices in $\\mathcal { X }$ and and $\\mathbf { v } [ \\mathcal { V } ]$ similarly). ",
433
+ "bbox": [
434
+ 173,
435
+ 523,
436
+ 826,
437
+ 676
438
+ ],
439
+ "page_idx": 4
440
+ },
441
+ {
442
+ "type": "text",
443
+ "text": "Architecture DDPM image models [15, 22] typically use a U-net architecture [24]. Its distinguishing feature is a series of spatial downsampling layers followed by a series of upsampling layers, and these are interspersed with convolutional res-net blocks [14] and spatial attention layers. Since we require an architecture which operates on 4-D video tensors rather than 3-D image tensors we add an extra frame dimension to its input, output and hidden state, resulting in the architecture shown on the right of Fig. 3. We create the input to this architecture as a concatenation $\\mathbf x _ { t } \\oplus \\mathbf y$ , adding an extra input channel which is all ones for observed frames and all zeros for latent frames. For RGB video, the input shape is therefore ( $K$ , image height, image width, 4). Since the output should have the same shape as $\\mathbf { x } _ { t }$ we only return outputs corresponding to the latent frames, giving output shape $\\vert \\mathcal { X } \\vert$ , image height, image width, 3). We run all layers from the original model (including convolution, resizing, group normalization, and spatial attention) independently for each of the $K$ frames. To allow communication between the frames, we add a temporal attention layer after each spatial attention layer, described in more detail in the appendix. The spatial attention layer allows each spatial location to attend to all other spatial locations within the same frame, while the temporal attention layer allows each spatial location to attend to the same spatial location across all other frames. This combination of a temporal attention layer with a spatial attention layer is sometimes referred to as factorized attention [32, 16]. We found that, when using this architecture in conjunction with our meta-learning approach, performance could be improved by using a novel form of relative position encoding [27, 38]. This is included in our released source code but we leave its exposition to the supplementary material. ",
444
+ "bbox": [
445
+ 174,
446
+ 690,
447
+ 825,
448
+ 911
449
+ ],
450
+ "page_idx": 4
451
+ },
452
+ {
453
+ "type": "text",
454
+ "text": "",
455
+ "bbox": [
456
+ 174,
457
+ 90,
458
+ 825,
459
+ 147
460
+ ],
461
+ "page_idx": 5
462
+ },
463
+ {
464
+ "type": "text",
465
+ "text": "Training batch padding Although the size $| \\mathcal { X } \\oplus \\mathcal { Y } |$ of index vectors sampled from our training distribution is bounded above by $K$ , it can vary. To fit examples with various sizes of index vectors into the same batch, one option would be to pad them all to length $K$ with zeros and use masks so that the zeros cannot affect the loss. This, however, would waste computation on processing tensors of zeros. We instead use this computation to obtain a lower-variance loss estimate by processing additional data with “training batch padding”. This means that, for training examples where $| x \\oplus y | < K$ , we concatenate frames uniformly sampled from a second video to increase the length along the frame-dimension to $K$ . Masks are applied to the temporal attention mechanisms so that frames from different videos cannot attend to eachother and the output for each is the same as that achieved by processing the videos in different batches. ",
466
+ "bbox": [
467
+ 174,
468
+ 162,
469
+ 825,
470
+ 301
471
+ ],
472
+ "page_idx": 5
473
+ },
474
+ {
475
+ "type": "text",
476
+ "text": "Sampling schemes Before describing the sampling schemes we explore experimentally, we emphasize that the relative performance of each is dataset-dependent and there is no single best choice. A central benefit of FDM is that it can be used at test-time with different sampling schemes without retraining. Our simplest sampling scheme, Autoreg, samples ten consecutives frames at each stage conditioned on the previous ten frames. Long-range is similar to Autoreg but conditions on only the five most recent frames as well as five of the original 36 observed frames. Hierarchy-2 uses a multi-level sampling procedure. In the first level, ten evenly spaced frames spanning the non-observed portion of the video are sampled (conditioned on ten observed frames). In the second level, groups of consecutive frames are sampled conditioned on the closest past and future frames until all frames have been sampled. Hierarchy-3 adds an intermediate stage where several groups of variables with an intermediate spacing between them are sampled. We include adaptive hierarchy-2, abbreviated Ad. hierarchy-2, as a demonstration of a sampling scheme only possible with a model like FDM. It samples the same frames at each stage as Hierarchy-2 but selects which frames to condition on adaptively at test-time with a heuristic aimed at collecting the maximally diverse set of frames, as measured by the pairwise LPIPS distance [41] between them. ",
477
+ "bbox": [
478
+ 173,
479
+ 318,
480
+ 825,
481
+ 523
482
+ ],
483
+ "page_idx": 5
484
+ },
485
+ {
486
+ "type": "text",
487
+ "text": "Optimizing sampling schemes An appealing alternative to the heuristic sampling schemes described in the previous paragraph would be to find a sampling scheme that is, in some sense, optimal for a given model and video generation/completion task. While it is unclear how to tractably choose which frames should be sampled at each stage, we suggest that the frames to condition on at each stage can be chosen by greedily optimizing the diffusion model loss which, as mentioned in Section 3, is closely related to the data log-likelihood. Given a fixed sequence of frames to sample at each stage $[ \\mathcal { X } _ { s } ] _ { s = 1 } ^ { S }$ we select $\\mathcal { \\partial } _ { s }$ for each $s$ to minimize Eq. (4). This is estimated using a set of 100 training videos and by iterating over 10 evenly-spaced values of $t$ (which reduced variance relative to random sampling of $t$ ). See the appendix for further details. We create two optimized sampling schemes: one with the same latent indices as Autoreg, and one with the same latent indices as Hierarchy-2. We call the corresponding optimized schemes Opt. autoreg and Opt. hierarchy-2. ",
488
+ "bbox": [
489
+ 174,
490
+ 540,
491
+ 825,
492
+ 693
493
+ ],
494
+ "page_idx": 5
495
+ },
496
+ {
497
+ "type": "text",
498
+ "text": "5 CARLA Town01 Dataset ",
499
+ "text_level": 1,
500
+ "bbox": [
501
+ 176,
502
+ 713,
503
+ 413,
504
+ 731
505
+ ],
506
+ "page_idx": 5
507
+ },
508
+ {
509
+ "type": "text",
510
+ "text": "In addition to our methodological contributions, we propose a new video-modeling dataset and benchmark which provides an interpretable measure of video completion quality. The dataset consists of videos of a car driving with a first-person view, produced using the CARLA autonomous driving simulator [9]. All 408 training and 100 test videos (of length 1000 frames and resolution $1 2 8 \\times 1 2 8 )$ ) are produced within a single small town, CARLA’s Town01. As such, when a sufficiently expressive video model is trained on this dataset it memorizes the layout of the town and videos sampled from the model will be recognisable as corresponding to routes travelled within the town. We train a regression model in the form of a neural network which maps with high accuracy from any single rendered frame to $( x , y )$ coordinates representing the car’s position. Doing so allows us to plot the routes corresponding to sampled videos (see left of Fig. 5) and compute semantically-meaningful yet quantitative measures of the validity of these routes. Specifically, we compute histograms of speeds, where each speed is estimated by measuring the distance between the regressed locations for frames spaced ten apart (1 second at the dataset’s frame rate). Sampled videos occasionally “jump” between disparate locations in the town, resulting in unrealistically large estimated speeds. To measure the frequency of these events for each method, we compute the percentage of our point-speed estimates that exceed a threshold of $1 0 \\mathrm { m / s }$ (the dataset was generated with a maximum simulated speed of $\\mathrm { 3 m / s }$ ). We report this metric as the outlier percentage (OP). After filtering out these outliers, we compute the Wasserstein distance (WD) between the resulting empirical distribution and that of the original dataset, giving a measure of how well generated videos match the speed of videos in the dataset. We release the CARLA Town 01 dataset along with code and our trained regression model to allow future comparisons.2 ",
511
+ "bbox": [
512
+ 173,
513
+ 746,
514
+ 825,
515
+ 911
516
+ ],
517
+ "page_idx": 5
518
+ },
519
+ {
520
+ "type": "image",
521
+ "img_path": "images/91d03113bf431ff2ce8593f9dcf8c30de45d678fc436461bb3511e1f415c4d07.jpg",
522
+ "image_caption": [
523
+ "Figure 5: Left: Map of the town featured in the CARLA Town01 dataset. We visualize two video completions by FDM by showing coordinates output by our regressor (discussed in Section 5) for each frame. Those corresponding to the initial 36 observed frames are shown in red and those for the 964 sampled frames are shown in blue. Right: For each completion, we show one of the initially observed frames followed by four of the sampled frames (at positions chosen to show the progression with respect to visible landmarks and marked by black dots on the map). The town’s landmarks are usually sampled with high-fidelity, which is key to allowing the regressor to produce a coherent trajectory on the left. However there are sometimes failures: a blue square near the top-right of the map shows where the video model “jumped” to a wrong location for a single frame. "
524
+ ],
525
+ "image_footnote": [],
526
+ "bbox": [
527
+ 174,
528
+ 90,
529
+ 820,
530
+ 210
531
+ ],
532
+ "page_idx": 6
533
+ },
534
+ {
535
+ "type": "text",
536
+ "text": "",
537
+ "bbox": [
538
+ 173,
539
+ 371,
540
+ 825,
541
+ 496
542
+ ],
543
+ "page_idx": 6
544
+ },
545
+ {
546
+ "type": "text",
547
+ "text": "6 Experiments ",
548
+ "text_level": 1,
549
+ "bbox": [
550
+ 174,
551
+ 515,
552
+ 312,
553
+ 532
554
+ ],
555
+ "page_idx": 6
556
+ },
557
+ {
558
+ "type": "text",
559
+ "text": "We perform our main comparisons on the video completion task. In keeping with Saxena et al. [26], we condition on the first 36 frames of each video and sample the remainder. We present results on three datasets: GQN-Mazes [10], in which videos are 300 frames long; MineRL Navigate [13, 26] (which we will from now on refer to as simply MineRL), in which videos are 500 frames long; and the CARLA Town01 dataset we release, for which videos are 1000 frames long. We train FDM in all cases with the maximum number of represented frames $K = 2 0$ . We host non-cherry-picked video samples (both conditional and unconditional) from FDM and all baselines online3. ",
560
+ "bbox": [
561
+ 173,
562
+ 546,
563
+ 825,
564
+ 643
565
+ ],
566
+ "page_idx": 6
567
+ },
568
+ {
569
+ "type": "text",
570
+ "text": "Comparison of sampling schemes The relative performance of different sampling schemes varies significantly between datasets as shown in Table 1. We report Fréchet Video Distances (FVDs) [33], a measure of how similar sampled completions are to the test set, on all datasets. In addition on GQN-Mazes we we report the accuracy metric [26], which classifies videos based on which rooms are visited and measures how often a completion is given the same class as the corresponding test video. For CARLA Town01 we report the previously described percentage outliers (PO) and Wasserstein distance (WD) metrics. ",
571
+ "bbox": [
572
+ 174,
573
+ 660,
574
+ 524,
575
+ 824
576
+ ],
577
+ "page_idx": 6
578
+ },
579
+ {
580
+ "type": "image",
581
+ "img_path": "images/20181a2ed912845712556e621993f86259d7ed3f838de77c7ab7cd3878c59243.jpg",
582
+ "image_caption": [
583
+ "Figure 6: Speed distributions measured from sampled and ground-truth dataset videos. "
584
+ ],
585
+ "image_footnote": [],
586
+ "bbox": [
587
+ 545,
588
+ 676,
589
+ 808,
590
+ 819
591
+ ],
592
+ "page_idx": 6
593
+ },
594
+ {
595
+ "type": "text",
596
+ "text": "We can broadly consider the aforementioned sampling schemes as either being in the “autoregressive” family (Autoreg and Long-range) or in the “hierarchical” ",
597
+ "bbox": [
598
+ 173,
599
+ 832,
600
+ 524,
601
+ 873
602
+ ],
603
+ "page_idx": 6
604
+ },
605
+ {
606
+ "type": "table",
607
+ "img_path": "images/f4fd07bb7c01804ebaf569cda8a5523542a1ee9451fda5a2a392cb477928e63f.jpg",
608
+ "table_caption": [
609
+ "Table 1: Evaluation on video completion with various modes of our method along with several baselines from the literature. Error bars denote the standard error computed with 5 random seeds. Higher is better for the accuracy metric [26] and lower is better for all other metrics shown. "
610
+ ],
611
+ "table_footnote": [],
612
+ "table_body": "<table><tr><td rowspan=\"2\">Model</td><td rowspan=\"2\">Sampling scheme</td><td colspan=\"2\">GQN-Mazes</td><td>MineRL</td><td colspan=\"3\">CARLA Town01</td></tr><tr><td>FVD</td><td> Accuracy</td><td>FVD</td><td>FVD</td><td>WD</td><td>OP</td></tr><tr><td>CWVAE [26]</td><td>CWVAE</td><td>837±8</td><td>82.6± 0.5</td><td>1573±5</td><td>1161</td><td>0.666</td><td>44.4</td></tr><tr><td>TATS [11]</td><td>TATS</td><td>163 ± 2.6</td><td>77.0± 0.8</td><td>807±14</td><td>329</td><td>1.648</td><td>42.4</td></tr><tr><td>VDM [16]</td><td>VDM</td><td>66.7 ± 1.5</td><td>77.8± 0.5</td><td>271±8.8</td><td>169</td><td>0.501</td><td>16.9</td></tr><tr><td rowspan=\"5\">FDM (ours)</td><td>Autoreg</td><td>86.4± 5.2</td><td>69.6 ± 1.3</td><td>281±10</td><td>222</td><td>0.579</td><td>0.51</td></tr><tr><td>Long-range</td><td>64.5 ± 1.9</td><td>77.0 ± 1.4</td><td>267 ±4.0</td><td>213</td><td>0.653</td><td>0.47</td></tr><tr><td>Hierarchy-2</td><td>53.1 ± 1.1</td><td>82.8± 0.7</td><td>275±7.7</td><td>120</td><td>0.318</td><td>3.28</td></tr><tr><td>Hierarchy-3</td><td>53.7 ± 1.9</td><td>83.8 ± 1.1</td><td>311± 6.8</td><td>149</td><td>0.363</td><td>4.53</td></tr><tr><td>Ad. hierarchy-2</td><td>55.0 ± 1.4</td><td>83.2 ± 1.3</td><td>316 ±8.9</td><td>117</td><td>0.311</td><td>3.44</td></tr></table>",
613
+ "bbox": [
614
+ 173,
615
+ 137,
616
+ 825,
617
+ 308
618
+ ],
619
+ "page_idx": 7
620
+ },
621
+ {
622
+ "type": "text",
623
+ "text": "family (the remainder). Those in the hierarchical family achieve significantly better FVDs [33] on GQN-Mazes. Our samples in the appendix suggest that this is related to the autoregressive methods “forgetting” the colors of walls after looking away from them for a short time. In contrast, for MineRL the autoregressive methods tend to achieve the best FVDs. This may relate to the fact that trajectories in MineRL tend to travel in straight lines through procedurally-generated “worlds”[13, 26], limiting the number of long-range dependencies. Finally on CARLA Town01 we notice qualitatively different behaviours from our autoregressive and hierarchical sampling schemes. The hierarchical sampling schemes have a tendency to occasionally lose coherence and “jump” to different locations in the town. This is reflected by higher outlier percentages (OP) in Table 1. On the other hand the autoregressive schemes often stay stationary for unrealistically long times at traffic lights. This is reflected in the histogram of speeds in Fig. 6, which has a larger peak around zero than the ground truth. The high variance of the sampling scheme’s relative performance over different datasets points to a strength of our method, which need only be trained once and then used to explore a variety of sampling schemes. Furthermore, we point out that the best FVDs in Table 1 on all datasets were obtained using sampling schemes that could not be implemented using models trained in prior work, or over evenly spaced frames. ",
624
+ "bbox": [
625
+ 173,
626
+ 334,
627
+ 825,
628
+ 554
629
+ ],
630
+ "page_idx": 7
631
+ },
632
+ {
633
+ "type": "text",
634
+ "text": "Comparison with baselines The related work most relevant to ours is the concurrent work of Ho et al. [16], who model 64-frame videos using two trained DDPMs. The first is a “frameskip-4” model trained to generate every fourth frame and the second is a “frameskip-1” model trained on sequences of nine consecutive frames and used to “fill in” the gaps between frames generated in the first stage. To compare against this approach, which we denote VDM, we train both a “frameskip-4” and a “frameskip-1” model with architectures identical to our own.4 Since VDM requires two trained DDPMs, we train it for more GPU-hours than FDM despite the fact that FDM is meta-learning over a far broader task distribution. We also compare against TATS [11], which embeds videos into a discrete latent space before modelling them with a transformers, and the clockwork VAE (CWVAE) [26], a VAE-based model specifically designed to maintain long-range dependencies within video. ",
635
+ "bbox": [
636
+ 173,
637
+ 571,
638
+ 826,
639
+ 724
640
+ ],
641
+ "page_idx": 7
642
+ },
643
+ {
644
+ "type": "text",
645
+ "text": "Both the diffusion-based methods, FDM and VDM, achieve significantly higher FVD scores than TATS and CWVAE. This may point toward the utility of diffusion models in general for modeling images and video. Table 1 also makes clear the main benefit of FDM over VDM: although there is no sampling scheme for FDM which always outperforms VDM, there is at least one sampling scheme that outperforms it on each dataset. This speaks to the utility of learning a flexible model like FDM that allows different sampling schemes to be experimented with after training. ",
646
+ "bbox": [
647
+ 174,
648
+ 731,
649
+ 825,
650
+ 814
651
+ ],
652
+ "page_idx": 7
653
+ },
654
+ {
655
+ "type": "text",
656
+ "text": "Optimized sampling schemes As mentioned in Section 4, another advantage of FDM is that it makes possible a model- and dataset-specific optimization procedure to determine on which frames to condition. Table 2 shows the results when this procedure is used to create sampling schemes for different datasets. In the first row we show results where the latent frames are fixed to be those of the Autoreg sampling scheme, and in the second row the latent frames are fixed to match those of Hierarchy-2. On two of the three datasets the best results in Table 1 are improved upon, showing the utility of this optimization procedure. ",
657
+ "bbox": [
658
+ 176,
659
+ 830,
660
+ 823,
661
+ 859
662
+ ],
663
+ "page_idx": 7
664
+ },
665
+ {
666
+ "type": "table",
667
+ "img_path": "images/abab72ee95103acbfb30e20e81038ca8ab2dcfdd4907e58e3942bc60dd057563.jpg",
668
+ "table_caption": [
669
+ "Table 2: FVD scores for our sampling schemes with observed indices optimized offline as described in Section 4. We mark with an asterisk $( ^ { * } )$ the eight numbers which improve on the corresponding non-optimized sampling schemes and highlight in bold those that are better than any in Table 1. "
670
+ ],
671
+ "table_footnote": [],
672
+ "table_body": "<table><tr><td></td><td colspan=\"2\">GQN-Mazes</td><td>MineRL</td><td colspan=\"3\">CARLA Town01</td></tr><tr><td>Sampling scheme</td><td>FVD</td><td>Accuracy</td><td>FVD</td><td>FVD</td><td>WD</td><td>OP</td></tr><tr><td> Opt. autoreg</td><td>53.6±1.2*</td><td>80.2±1.2*</td><td>257±6.8*</td><td>146*</td><td>0.452*</td><td>0.65</td></tr><tr><td>Opt. hierarchy-2</td><td>51.1 ± 1.3*</td><td>84.6±0.7*</td><td>320 ± 7.0</td><td>124</td><td>0.349</td><td>4.11*</td></tr></table>",
673
+ "bbox": [
674
+ 209,
675
+ 145,
676
+ 787,
677
+ 219
678
+ ],
679
+ "page_idx": 8
680
+ },
681
+ {
682
+ "type": "text",
683
+ "text": "",
684
+ "bbox": [
685
+ 174,
686
+ 247,
687
+ 825,
688
+ 316
689
+ ],
690
+ "page_idx": 8
691
+ },
692
+ {
693
+ "type": "text",
694
+ "text": "Comparison with training on a single task Training a network with our distribution over training tasks could be expected to lead to worse performance on a single task than training specifically for that task. To test whether this is the case, we train an ablation of FDM with training tasks exclusively of the type used in our Autoreg sampling scheme, i.e. “predict ten consecutive frames given the previous ten.” Tested with the Autoreg sampling scheme, it obtained an FVD of 82.0 on GQN-Mazes and 234 on MineRL. As expected given the specialization to a single task, this is better than when FDM is run with the Autoreg sampling scheme (obtaining FVDs of 86.4 and 281 respectively). ",
695
+ "bbox": [
696
+ 174,
697
+ 334,
698
+ 825,
699
+ 431
700
+ ],
701
+ "page_idx": 8
702
+ },
703
+ {
704
+ "type": "text",
705
+ "text": "Ablation on training task distribution To test how important our proposed structured training distribution is to FDM’s performance, we perform an ablation with a different task distribution that samples $\\mathcal { X }$ and $\\mathcal { V }$ from uniform distributions instead of our proposed structured task distribution We provide full details in the appendix, but report here that switching away form our structured training distribution made the FVD scores worse on all five tested sampling schemes on both GQN-Mazes and MineRL. The reduction in the average FVD was $3 1 \\%$ on GQN-Mazes and $5 2 \\%$ on MineRL. This implies that our structured training distribution has a significant positive effect. ",
706
+ "bbox": [
707
+ 174,
708
+ 449,
709
+ 825,
710
+ 546
711
+ ],
712
+ "page_idx": 8
713
+ },
714
+ {
715
+ "type": "text",
716
+ "text": "7 Related work ",
717
+ "text_level": 1,
718
+ "bbox": [
719
+ 174,
720
+ 568,
721
+ 316,
722
+ 584
723
+ ],
724
+ "page_idx": 8
725
+ },
726
+ {
727
+ "type": "text",
728
+ "text": "Some related work creates conditional models by adapting the sampling procedure of an unconditional DDPM [30, 18, 21, 16]. These approaches require approximations and the more direct approach that we use (explcitly training a conditional DDPM) was shown to have benefits by Tashiro et al. [32]. We consider further comparison of these competing approaches to be outside the focus of this work, which is on modeling a small portion of video frames at a time, essentially performing marginalization in addition to conditioning. ",
729
+ "bbox": [
730
+ 174,
731
+ 601,
732
+ 825,
733
+ 684
734
+ ],
735
+ "page_idx": 8
736
+ },
737
+ {
738
+ "type": "text",
739
+ "text": "There are a number of approaches in the literature which use VAEs rather than DDPMs for video modelling. Babaeizadeh et al. [2] use a VAE model which predicts frames autoregressively conditioned on a global time-invariant latent variable. A related approach by Denton and Fergus [7] also uses a VAE with convolutional LSTM architectures in both the encoder and decoder. Unlike Babaeizadeh et al. [2] the prior is learned and a different latent variable is sampled for each frame. Babaeizadeh et al. [3] use a VAE with one set of latent variables per frame and inter-frame dependencies tracked by a two-layer LSTM. Their architecture intentionally overfits to the training data, which when coupled with image augmentations techniques achieves SOTA on various video prediction tasks. Kim et al. [20] use a variational RNN [5] with a hierarchical latent space that includes binary indicator variables which specify how the video is divided into a series of subsequences. Both Villegas et al. [35] and Wichers et al. [37] target long-term video prediction using a hierarchical variational LSTM architecture, wherein high-level features such as landmarks are predicted first, then decoded into low-level pixel space. The two approaches differ in that Villegas et al. [35] requires ground truth landmark labels, while [37] removes this dependence using an unsupervised adversarial approach. Fully GAN-based video models have also been proposed [1, 6] but generally suffer from “low quality frames or low number of frames or both” [1]. ",
740
+ "bbox": [
741
+ 173,
742
+ 690,
743
+ 825,
744
+ 911
745
+ ],
746
+ "page_idx": 8
747
+ },
748
+ {
749
+ "type": "text",
750
+ "text": "8 Discussion ",
751
+ "text_level": 1,
752
+ "bbox": [
753
+ 173,
754
+ 89,
755
+ 292,
756
+ 106
757
+ ],
758
+ "page_idx": 9
759
+ },
760
+ {
761
+ "type": "text",
762
+ "text": "We have defined and empirically explored a new method for generating photorealistic videos with long-range coherence that respects and efficiently uses fixed, finite computational resources. Our approach outperforms prior work on long-duration video modeling as measured by quantitative and semantically meaningful metrics and opens up several avenues for future research. For one, similar to using DDPMs for image generation, our method is slow to sample from (it takes approximately 16 minutes to generate a 300 frame video on a GPU). Ideas for making sampling faster by decreasing the number of integration steps [25, 29, 39] could be applied to our video model. ",
763
+ "bbox": [
764
+ 174,
765
+ 121,
766
+ 825,
767
+ 218
768
+ ],
769
+ "page_idx": 9
770
+ },
771
+ {
772
+ "type": "text",
773
+ "text": "On a different note, consider the datasets on which our artifact was trained. In each there was a policy for generating the sequences of actions that causally led to the frame-to-frame changes in camera pose. In MineRL the video was generated by agents that were trained to explore novel Minecraft worlds to find a goal block approximately 64 meters away [13]. The CARLA data was produced by a camera attached to an agent driven by a low level proportional–integral–derivative controller following waypoints laid down by a high level planner that was given new, random location goals to drive to intermittently. In both cases our video model had no access to either the policy or the specific actions taken by these agents and, so, in a formal sense, our models integrate or marginalize over actions drawn from the stochastic policy used to generate the videos in the first place. Near-term future work could involve adding other modalities (e.g. audio) to FDM as well as explicitly adding actions and rewards, transforming our video generative model into a vision-based world model in the reinforcement learning sense [17, 19]. Furthermore, we point out that FDM trained on CARLA Town01 is in theory capable of creating 100-second videos conditioned on both the first and final frame. Doing so can be interpreted as running a “visual” controller which proposes a path between a current state and a specified goal. Preliminary attempts to run in FDM in this way yielded inconsistent results but we believe that this could be a fruitful direction for further investigation. ",
774
+ "bbox": [
775
+ 174,
776
+ 224,
777
+ 825,
778
+ 444
779
+ ],
780
+ "page_idx": 9
781
+ },
782
+ {
783
+ "type": "text",
784
+ "text": "Acknowledgments ",
785
+ "text_level": 1,
786
+ "bbox": [
787
+ 176,
788
+ 462,
789
+ 303,
790
+ 477
791
+ ],
792
+ "page_idx": 9
793
+ },
794
+ {
795
+ "type": "text",
796
+ "text": "We would like to thank Inverted AI, and especially Alireza Morsali, for generating the CARLA Town01 dataset. We acknowledge the support of the Natural Sciences and Engineering Research Council of Canada (NSERC), the Canada CIFAR AI Chairs Program, and the Intel Parallel Computing Centers program. Additional support was provided by UBC’s Composites Research Network (CRN), and Data Science Institute (DSI). This research was enabled in part by technical support and computational resources provided by WestGrid (www.westgrid.ca), Compute Canada (www.computecanada.ca), and Advanced Research Computing at the University of British Columbia (arc.ubc.ca). WH acknowledges support by the University of British Columbia’s Four Year Doctoral Fellowship (4YF) program. ",
797
+ "bbox": [
798
+ 174,
799
+ 486,
800
+ 825,
801
+ 611
802
+ ],
803
+ "page_idx": 9
804
+ },
805
+ {
806
+ "type": "text",
807
+ "text": "References ",
808
+ "text_level": 1,
809
+ "bbox": [
810
+ 174,
811
+ 632,
812
+ 266,
813
+ 647
814
+ ],
815
+ "page_idx": 9
816
+ },
817
+ {
818
+ "type": "text",
819
+ "text": "[1] Nuha Aldausari, Arcot Sowmya, Nadine Marcus, and Gelareh Mohammadi. Video generative adversarial networks: a review. ACM Computing Surveys (CSUR), 55(2):1–25, 2022. \n[2] Mohammad Babaeizadeh, Chelsea Finn, Dumitru Erhan, Roy H Campbell, and Sergey Levine. Stochastic variational video prediction. arXiv preprint arXiv:1710.11252, 2017. \n[3] Mohammad Babaeizadeh, Mohammad Taghi Saffar, Suraj Nair, Sergey Levine, Chelsea Finn, and Dumitru Erhan. Fitvid: Overfitting in pixel-level video prediction. arXiv preprint arXiv:2106.13195, 2021. \n[4] Rewon Child. Very deep vaes generalize autoregressive models and can outperform them on images. arXiv preprint arXiv:2011.10650, 2020. \n[5] Junyoung Chung, Kyle Kastner, Laurent Dinh, Kratarth Goel, Aaron C Courville, and Yoshua Bengio. A recurrent latent variable model for sequential data. Advances in neural information processing systems, 28, 2015. \n[6] Aidan Clark, Jeff Donahue, and Karen Simonyan. Adversarial video generation on complex datasets. arXiv preprint arXiv:1907.06571, 2019. [7] Emily Denton and Rob Fergus. Stochastic video generation with a learned prior. In International conference on machine learning, pages 1174–1183. PMLR, 2018. [8] Prafulla Dhariwal and Alexander Nichol. Diffusion models beat gans on image synthesis. Advances in Neural Information Processing Systems, 34, 2021. \n[9] Alexey Dosovitskiy, German Ros, Felipe Codevilla, Antonio Lopez, and Vladlen Koltun. Carla: An open urban driving simulator. In Conference on robot learning, pages 1–16. PMLR, 2017. \n[10] SM Ali Eslami, Danilo Jimenez Rezende, Frederic Besse, Fabio Viola, Ari S Morcos, Marta Garnelo, Avraham Ruderman, Andrei A Rusu, Ivo Danihelka, Karol Gregor, et al. Neural scene representation and rendering. Science, 360(6394):1204–1210, 2018. \n[11] Songwei Ge, Thomas Hayes, Harry Yang, Xi Yin, Guan Pang, David Jacobs, Jia-Bin Huang, and Devi Parikh. Long video generation with time-agnostic vqgan and time-sensitive transformer. arXiv preprint arXiv:2204.03638, 2022. \n[12] Audrunas Gruslys, Rémi Munos, Ivo Danihelka, Marc Lanctot, and Alex Graves. Memoryefficient backpropagation through time. Advances in Neural Information Processing Systems, 29, 2016. \n[13] William H Guss, Brandon Houghton, Nicholay Topin, Phillip Wang, Cayden Codel, Manuela Veloso, and Ruslan Salakhutdinov. Minerl: A large-scale dataset of minecraft demonstrations. arXiv preprint arXiv:1907.13440, 2019. \n[14] Kaiming He, Xiangyu Zhang, Shaoqing Ren, and Jian Sun. Deep residual learning for image recognition. arxiv 2015. arXiv preprint arXiv:1512.03385, 2015. \n[15] Jonathan Ho, Ajay Jain, and Pieter Abbeel. Denoising diffusion probabilistic models. Advances in Neural Information Processing Systems, 33:6840–6851, 2020. \n[16] Jonathan Ho, Tim Salimans, Alexey Gritsenko, William Chan, Mohammad Norouzi, and David J Fleet. Video diffusion models. arXiv preprint arXiv:2204.03458, 2022. \n[17] Maximilian Igl, Luisa Zintgraf, Tuan Anh Le, Frank Wood, and Shimon Whiteson. Deep variational reinforcement learning for pomdps. In International Conference on Machine Learning, pages 2117–2126. PMLR, 2018. \n[18] Zahra Kadkhodaie and Eero P Simoncelli. Solving linear inverse problems using the prior implicit in a denoiser. arXiv preprint arXiv:2007.13640, 2020. \n[19] Lukasz Kaiser, Mohammad Babaeizadeh, Piotr Milos, Blazej Osinski, Roy H Campbell, Konrad Czechowski, Dumitru Erhan, Chelsea Finn, Piotr Kozakowski, Sergey Levine, et al. Modelbased reinforcement learning for atari. arXiv preprint arXiv:1903.00374, 2019. \n[20] Taesup Kim, Sungjin Ahn, and Yoshua Bengio. Variational temporal abstraction. Advances in Neural Information Processing Systems, 32, 2019. \n[21] Gautam Mittal, Jesse Engel, Curtis Hawthorne, and Ian Simon. Symbolic music generation with diffusion models. arXiv preprint arXiv:2103.16091, 2021. \n[22] Alexander Quinn Nichol and Prafulla Dhariwal. Improved denoising diffusion probabilistic models. In International Conference on Machine Learning, pages 8162–8171. PMLR, 2021. \n[23] Adam Paszke, Sam Gross, Soumith Chintala, Gregory Chanan, Edward Yang, Zachary DeVito, Zeming Lin, Alban Desmaison, Luca Antiga, and Adam Lerer. Automatic differentiation in pytorch. In NIPS-W, 2017. \n[24] Olaf Ronneberger, Philipp Fischer, and Thomas Brox. U-net: Convolutional networks for biomedical image segmentation. In International Conference on Medical image computing and computer-assisted intervention, pages 234–241. Springer, 2015. \n[25] Tim Salimans and Jonathan Ho. Progressive distillation for fast sampling of diffusion models. arXiv preprint arXiv:2202.00512, 2022. ",
820
+ "bbox": [
821
+ 181,
822
+ 656,
823
+ 826,
824
+ 911
825
+ ],
826
+ "page_idx": 9
827
+ },
828
+ {
829
+ "type": "text",
830
+ "text": "",
831
+ "bbox": [
832
+ 171,
833
+ 65,
834
+ 828,
835
+ 916
836
+ ],
837
+ "page_idx": 10
838
+ },
839
+ {
840
+ "type": "text",
841
+ "text": "[26] Vaibhav Saxena, Jimmy Ba, and Danijar Hafner. Clockwork variational autoencoders. Advances in Neural Information Processing Systems, 34, 2021. ",
842
+ "bbox": [
843
+ 169,
844
+ 90,
845
+ 825,
846
+ 121
847
+ ],
848
+ "page_idx": 11
849
+ },
850
+ {
851
+ "type": "text",
852
+ "text": "[27] Peter Shaw, Jakob Uszkoreit, and Ashish Vaswani. Self-attention with relative position representations. arXiv preprint arXiv:1803.02155, 2018. ",
853
+ "bbox": [
854
+ 173,
855
+ 133,
856
+ 823,
857
+ 164
858
+ ],
859
+ "page_idx": 11
860
+ },
861
+ {
862
+ "type": "text",
863
+ "text": "[28] Jascha Sohl-Dickstein, Eric Weiss, Niru Maheswaranathan, and Surya Ganguli. Deep unsupervised learning using nonequilibrium thermodynamics. In International Conference on Machine Learning, pages 2256–2265. PMLR, 2015. ",
864
+ "bbox": [
865
+ 173,
866
+ 178,
867
+ 823,
868
+ 222
869
+ ],
870
+ "page_idx": 11
871
+ },
872
+ {
873
+ "type": "text",
874
+ "text": "[29] Jiaming Song, Chenlin Meng, and Stefano Ermon. Denoising diffusion implicit models. arXiv preprint arXiv:2010.02502, 2020. ",
875
+ "bbox": [
876
+ 173,
877
+ 236,
878
+ 823,
879
+ 265
880
+ ],
881
+ "page_idx": 11
882
+ },
883
+ {
884
+ "type": "text",
885
+ "text": "[30] Yang Song, Jascha Sohl-Dickstein, Diederik P Kingma, Abhishek Kumar, Stefano Ermon, and Ben Poole. Score-based generative modeling through stochastic differential equations. arXiv preprint arXiv:2011.13456, 2020. ",
886
+ "bbox": [
887
+ 173,
888
+ 280,
889
+ 823,
890
+ 323
891
+ ],
892
+ "page_idx": 11
893
+ },
894
+ {
895
+ "type": "text",
896
+ "text": "[31] Corentin Tallec and Yann Ollivier. Unbiasing truncated backpropagation through time. arXiv preprint arXiv:1705.08209, 2017. ",
897
+ "bbox": [
898
+ 173,
899
+ 338,
900
+ 825,
901
+ 367
902
+ ],
903
+ "page_idx": 11
904
+ },
905
+ {
906
+ "type": "text",
907
+ "text": "[32] Yusuke Tashiro, Jiaming Song, Yang Song, and Stefano Ermon. Csdi: Conditional score-based diffusion models for probabilistic time series imputation. Advances in Neural Information Processing Systems, 34, 2021. ",
908
+ "bbox": [
909
+ 173,
910
+ 382,
911
+ 826,
912
+ 425
913
+ ],
914
+ "page_idx": 11
915
+ },
916
+ {
917
+ "type": "text",
918
+ "text": "[33] Thomas Unterthiner, Sjoerd van Steenkiste, Karol Kurach, Raphael Marinier, Marcin Michalski, and Sylvain Gelly. Towards accurate generative models of video: A new metric & challenges. arXiv preprint arXiv:1812.01717, 2018. ",
919
+ "bbox": [
920
+ 173,
921
+ 439,
922
+ 825,
923
+ 483
924
+ ],
925
+ "page_idx": 11
926
+ },
927
+ {
928
+ "type": "text",
929
+ "text": "[34] Ashish Vaswani, Noam Shazeer, Niki Parmar, Jakob Uszkoreit, Llion Jones, Aidan N Gomez, Łukasz Kaiser, and Illia Polosukhin. Attention is all you need. Advances in neural information processing systems, 30, 2017. ",
930
+ "bbox": [
931
+ 173,
932
+ 497,
933
+ 826,
934
+ 540
935
+ ],
936
+ "page_idx": 11
937
+ },
938
+ {
939
+ "type": "text",
940
+ "text": "[35] Ruben Villegas, Dumitru Erhan, Honglak Lee, et al. Hierarchical long-term video prediction without supervision. In International Conference on Machine Learning, pages 6038–6046. PMLR, 2018. ",
941
+ "bbox": [
942
+ 174,
943
+ 554,
944
+ 826,
945
+ 598
946
+ ],
947
+ "page_idx": 11
948
+ },
949
+ {
950
+ "type": "text",
951
+ "text": "[36] Dirk Weissenborn, Oscar Täckström, and Jakob Uszkoreit. Scaling autoregressive video models. arXiv preprint arXiv:1906.02634, 2019. ",
952
+ "bbox": [
953
+ 173,
954
+ 612,
955
+ 825,
956
+ 642
957
+ ],
958
+ "page_idx": 11
959
+ },
960
+ {
961
+ "type": "text",
962
+ "text": "[37] Nevan Wichers, Ruben Villegas, Dumitru Erhan, and Honglak Lee. Hierarchical Long-term Video Prediction without Supervision. June 2018. doi: 10.48550/arXiv.1806.04768. ",
963
+ "bbox": [
964
+ 173,
965
+ 656,
966
+ 823,
967
+ 685
968
+ ],
969
+ "page_idx": 11
970
+ },
971
+ {
972
+ "type": "text",
973
+ "text": "[38] Kan Wu, Houwen Peng, Minghao Chen, Jianlong Fu, and Hongyang Chao. Rethinking and improving relative position encoding for vision transformer. In Proceedings of the IEEE/CVF International Conference on Computer Vision, pages 10033–10041, 2021. ",
974
+ "bbox": [
975
+ 173,
976
+ 700,
977
+ 823,
978
+ 744
979
+ ],
980
+ "page_idx": 11
981
+ },
982
+ {
983
+ "type": "text",
984
+ "text": "[39] Zhisheng Xiao, Karsten Kreis, and Arash Vahdat. Tackling the generative learning trilemma with denoising diffusion GANs. In International Conference on Learning Representations, 2022. URL https://openreview.net/forum?id $\\equiv$ JprM0p-q0Co. ",
985
+ "bbox": [
986
+ 173,
987
+ 758,
988
+ 826,
989
+ 801
990
+ ],
991
+ "page_idx": 11
992
+ },
993
+ {
994
+ "type": "text",
995
+ "text": "[40] Ruihan Yang, Prakhar Srivastava, and Stephan Mandt. Diffusion probabilistic modeling for video generation. arXiv preprint arXiv:2203.09481, 2022. ",
996
+ "bbox": [
997
+ 169,
998
+ 816,
999
+ 825,
1000
+ 845
1001
+ ],
1002
+ "page_idx": 11
1003
+ },
1004
+ {
1005
+ "type": "text",
1006
+ "text": "[41] Richard Zhang, Phillip Isola, Alexei A Efros, Eli Shechtman, and Oliver Wang. The unreasonable effectiveness of deep features as a perceptual metric. In Proceedings of the IEEE conference on computer vision and pattern recognition, pages 586–595, 2018. ",
1007
+ "bbox": [
1008
+ 174,
1009
+ 859,
1010
+ 825,
1011
+ 904
1012
+ ],
1013
+ "page_idx": 11
1014
+ },
1015
+ {
1016
+ "type": "text",
1017
+ "text": "Checklist ",
1018
+ "text_level": 1,
1019
+ "bbox": [
1020
+ 174,
1021
+ 89,
1022
+ 254,
1023
+ 106
1024
+ ],
1025
+ "page_idx": 12
1026
+ },
1027
+ {
1028
+ "type": "text",
1029
+ "text": "1. For all authors... ",
1030
+ "bbox": [
1031
+ 214,
1032
+ 116,
1033
+ 339,
1034
+ 131
1035
+ ],
1036
+ "page_idx": 12
1037
+ },
1038
+ {
1039
+ "type": "text",
1040
+ "text": "(a) Do the main claims made in the abstract and introduction accurately reflect the paper’s contributions and scope? [Yes] \n(b) Did you describe the limitations of your work? [Yes] \n(c) Did you discuss any potential negative societal impacts of your work? [Yes] \n(d) Have you read the ethics review guidelines and ensured that your paper conforms to them? [Yes] ",
1041
+ "bbox": [
1042
+ 238,
1043
+ 135,
1044
+ 825,
1045
+ 227
1046
+ ],
1047
+ "page_idx": 12
1048
+ },
1049
+ {
1050
+ "type": "text",
1051
+ "text": "2. If you are including theoretical results... ",
1052
+ "bbox": [
1053
+ 214,
1054
+ 231,
1055
+ 493,
1056
+ 244
1057
+ ],
1058
+ "page_idx": 12
1059
+ },
1060
+ {
1061
+ "type": "text",
1062
+ "text": "(a) Did you state the full set of assumptions of all theoretical results? [N/A] (b) Did you include complete proofs of all theoretical results? [N/A] ",
1063
+ "bbox": [
1064
+ 238,
1065
+ 248,
1066
+ 738,
1067
+ 280
1068
+ ],
1069
+ "page_idx": 12
1070
+ },
1071
+ {
1072
+ "type": "text",
1073
+ "text": "3. If you ran experiments... ",
1074
+ "bbox": [
1075
+ 212,
1076
+ 285,
1077
+ 393,
1078
+ 299
1079
+ ],
1080
+ "page_idx": 12
1081
+ },
1082
+ {
1083
+ "type": "text",
1084
+ "text": "(a) Did you include the code, data, and instructions needed to reproduce the main experimental results (either in the supplemental material or as a URL)? [Yes] \n(b) Did you specify all the training details (e.g., data splits, hyperparameters, how they were chosen)? [Yes] \n(c) Did you report error bars (e.g., with respect to the random seed after running experiments multiple times)? [Yes] \n(d) Did you include the total amount of compute and the type of resources used (e.g., type of GPUs, internal cluster, or cloud provider)? [Yes] See appendix. ",
1085
+ "bbox": [
1086
+ 238,
1087
+ 303,
1088
+ 825,
1089
+ 421
1090
+ ],
1091
+ "page_idx": 12
1092
+ },
1093
+ {
1094
+ "type": "text",
1095
+ "text": "4. If you are using existing assets (e.g., code, data, models) or curating/releasing new assets... ",
1096
+ "bbox": [
1097
+ 214,
1098
+ 426,
1099
+ 823,
1100
+ 440
1101
+ ],
1102
+ "page_idx": 12
1103
+ },
1104
+ {
1105
+ "type": "text",
1106
+ "text": "(a) If your work uses existing assets, did you cite the creators? [Yes] \n(b) Did you mention the license of the assets? [Yes] \n(c) Did you include any new assets either in the supplemental material or as a URL? [Yes] \n(d) Did you discuss whether and how consent was obtained from people whose data you’re using/curating? [N/A] \n(e) Did you discuss whether the data you are using/curating contains personally identifiable information or offensive content? [N/A] ",
1107
+ "bbox": [
1108
+ 238,
1109
+ 444,
1110
+ 823,
1111
+ 551
1112
+ ],
1113
+ "page_idx": 12
1114
+ },
1115
+ {
1116
+ "type": "text",
1117
+ "text": "5. If you used crowdsourcing or conducted research with human subjects... ",
1118
+ "bbox": [
1119
+ 214,
1120
+ 556,
1121
+ 705,
1122
+ 570
1123
+ ],
1124
+ "page_idx": 12
1125
+ },
1126
+ {
1127
+ "type": "text",
1128
+ "text": "(a) Did you include the full text of instructions given to participants and screenshots, if applicable? [N/A] \n(b) Did you describe any potential participant risks, with links to Institutional Review Board (IRB) approvals, if applicable? [N/A] \n(c) Did you include the estimated hourly wage paid to participants and the total amount spent on participant compensation? [N/A] ",
1129
+ "bbox": [
1130
+ 238,
1131
+ 574,
1132
+ 825,
1133
+ 665
1134
+ ],
1135
+ "page_idx": 12
1136
+ }
1137
+ ]
parse/dev/0RTJcuvHtIu/0RTJcuvHtIu_middle.json ADDED
The diff for this file is too large to render. See raw diff
 
parse/dev/0RTJcuvHtIu/0RTJcuvHtIu_model.json ADDED
The diff for this file is too large to render. See raw diff
 
parse/dev/1PL1NIMMrw/images/0aff0e317c6c1ebdd0517cd490a38f45ea5898c587b358dda6d9956c2c0032c2.jpg ADDED

Git LFS Details

  • SHA256: 8b3a408aef18923f26e471f6d8a57cd0ec853e84b03d7bf3638f4f9d7175c162
  • Pointer size: 131 Bytes
  • Size of remote file: 114 kB
parse/dev/1PL1NIMMrw/images/0c8616227ad4905d31563f061c91a6070732dfd0a9e07d3c31723b8da05aed58.jpg ADDED

Git LFS Details

  • SHA256: 98a01f1d6d092b914f5468d60063058798b04dcfd35717e40f2dd61da0fdee5d
  • Pointer size: 129 Bytes
  • Size of remote file: 7.98 kB
parse/dev/1PL1NIMMrw/images/18c41d5d71228a94608d14be0febdd6cf05d0aa079e6b2c0cae3cbc9617cea85.jpg ADDED

Git LFS Details

  • SHA256: 34e2dea99e4e059a0a98e6089f8ca2104ba2aa9b44770e4205b4a121dac6fada
  • Pointer size: 131 Bytes
  • Size of remote file: 114 kB
parse/dev/1PL1NIMMrw/images/211c58f5fc739ddbb34ca25bc8a91e11996e73243a0ad766cce0146bc55d347b.jpg ADDED

Git LFS Details

  • SHA256: 00b71675e8a20c3ad53158e82d335d81f6976bbca33784a24dd10be413d693f9
  • Pointer size: 130 Bytes
  • Size of remote file: 56.2 kB
parse/dev/1PL1NIMMrw/images/21d233a469e13e68d4a76847a7e30c0096cc77007b982daf67ee65631d7897a6.jpg ADDED

Git LFS Details

  • SHA256: 8e1dd7b5da972903012bffe55153ca6ffac7a176420e2c7dbb2fc135adc66277
  • Pointer size: 130 Bytes
  • Size of remote file: 29 kB
parse/dev/1PL1NIMMrw/images/2f5cee305bdaee073493c2f77f89b50ba4dea4d12e343c21efb428a68744b14b.jpg ADDED

Git LFS Details

  • SHA256: c3e6b3696400234de6a3e299e5866867e5e6af4fc89b15f50350a6568aa7c5c7
  • Pointer size: 130 Bytes
  • Size of remote file: 60.6 kB
parse/dev/1PL1NIMMrw/images/3b2cd57e585e6cd3793712104f9213ec2320764940344dadad4a68a3bafaa8d5.jpg ADDED

Git LFS Details

  • SHA256: 04b3a9c3d7c08a837c31e5292e200eada66a81883e9cdd52569b3d75d92ad252
  • Pointer size: 130 Bytes
  • Size of remote file: 68.3 kB
parse/dev/1PL1NIMMrw/images/528b99ea5220667091bc895ecec5856d21dd707b103c238b2499d6362bf59214.jpg ADDED

Git LFS Details

  • SHA256: 4a0a0206ff83f40eea68cea5cd823a8cb8d2317df016ad0200074047eda3d721
  • Pointer size: 131 Bytes
  • Size of remote file: 136 kB
parse/dev/1PL1NIMMrw/images/5682763857dd59665317b37d4e2ff1237798960f4e4fb66b5db1538fb257bd34.jpg ADDED

Git LFS Details

  • SHA256: adf2302262e4c543539706dc34a696804be646b42c1f98a1aefbb1474f0c0cbf
  • Pointer size: 130 Bytes
  • Size of remote file: 32.1 kB
parse/dev/1PL1NIMMrw/images/6a643b49072663d0615c3edaee2b20323990fea77d3385f22f3c3e4742fe31fa.jpg ADDED

Git LFS Details

  • SHA256: 3127ed37b0b51b78c91b0858e904c99926b140c50221206417fa2c8948eb90a3
  • Pointer size: 130 Bytes
  • Size of remote file: 24.7 kB
parse/dev/1PL1NIMMrw/images/6e79c1fea4484c855d3bdd6476ff264b088b81ca4eadc32fc4a817f3546fbba3.jpg ADDED

Git LFS Details

  • SHA256: 3a523f74167aecd11594f1212ff8266af76ec984f864af6b3e7710d1b690154f
  • Pointer size: 131 Bytes
  • Size of remote file: 249 kB
parse/dev/1PL1NIMMrw/images/7f85e50e4b2aded9ff56412f6edcc4084f0058d19aa551b00c9679744e41b05f.jpg ADDED

Git LFS Details

  • SHA256: 4cd20e17cd6f3e908aeb3e56dc74bcd81c9092878b80b377aef74396f05f336f
  • Pointer size: 130 Bytes
  • Size of remote file: 40.4 kB
parse/dev/1PL1NIMMrw/images/87a328209d36c386b2c5751a4a40e895999983a1e5c87663caac19ecc466a090.jpg ADDED

Git LFS Details

  • SHA256: 472d19967b83d01fc7e87a5f5e909d682a2e58ff4622db7975c84f4e33a3458d
  • Pointer size: 130 Bytes
  • Size of remote file: 47.2 kB
parse/dev/1PL1NIMMrw/images/904d0744036049f41de9ff1b79bfb3e5c595bb15c1aa6fad815946070f5097c4.jpg ADDED

Git LFS Details

  • SHA256: 276141d1f4029726b94d6b29fb7660263a84c778c51cc5f91bb9f5d82f0a1f0a
  • Pointer size: 130 Bytes
  • Size of remote file: 13.8 kB
parse/dev/1PL1NIMMrw/images/91c0b57fce63bbd74bd5c37ac54affcd3ffead95ee070efede9bc60786bb0af7.jpg ADDED

Git LFS Details

  • SHA256: 668cc1c70a8922095eef364f099bf1471c4a5c6001bbb62a2dda79aaa5b66d6b
  • Pointer size: 130 Bytes
  • Size of remote file: 46 kB
parse/dev/1PL1NIMMrw/images/980d8b4da019551486244a291a41567c364a9fecbc499f427ea0b504874f435b.jpg ADDED

Git LFS Details

  • SHA256: 980eef98540066a02688f7aaf28c94430eab5fd2d132df96fbcb749daac8addc
  • Pointer size: 131 Bytes
  • Size of remote file: 103 kB
parse/dev/1PL1NIMMrw/images/9876a7a3a3c5dcbb9c5355c5a64451798259417d2dc8705c960ca8c4e6f7f6f6.jpg ADDED

Git LFS Details

  • SHA256: 70b0da5f2d39e5e54d288835f0cb324d9927ab28097e481a36debda6fc4c2e0c
  • Pointer size: 130 Bytes
  • Size of remote file: 43.6 kB
parse/dev/1PL1NIMMrw/images/ad8eb7a4ba458e81dd1393b4cc37e53d9b422e624fa5920be835dfb93ed951ad.jpg ADDED

Git LFS Details

  • SHA256: 4afc8bb89d748cc1e7b5dbf086844cd1efd9e5c1f5a983098ebb98515a7bdca6
  • Pointer size: 131 Bytes
  • Size of remote file: 104 kB
parse/dev/1PL1NIMMrw/images/d5812eeaadf5ec819405f5a565ca5ce9f054c3060ec20cff000e71cea4c7fe69.jpg ADDED

Git LFS Details

  • SHA256: 4cb92f438ac8197bbb99e8e1577ad5a789f057ad3154744116c1865bc95a3651
  • Pointer size: 131 Bytes
  • Size of remote file: 242 kB
parse/dev/1PL1NIMMrw/images/d846014dbc070b0023b6d822d97264fc0ef6c5c12bf7225871d6f1b4a1f98062.jpg ADDED

Git LFS Details

  • SHA256: 18a06d4e7a36c35c9527ec72e72ad9c9afc6fd7581aec94cc2fc54982535ad43
  • Pointer size: 130 Bytes
  • Size of remote file: 88.5 kB
parse/dev/1PL1NIMMrw/images/dd06aeb61120fc868024f45c264d037f8b03f44182e787809b7cfde355dece76.jpg ADDED

Git LFS Details

  • SHA256: 9c8a28e93dfa9085d1da5e5362325cae0eaed31e8e78e98511e9f0eb828cb239
  • Pointer size: 130 Bytes
  • Size of remote file: 92.7 kB
parse/dev/1PL1NIMMrw/images/e52f9a62e8d5a9a773304db1105dd4959b748fa605157f43d522da76b851f3c2.jpg ADDED

Git LFS Details

  • SHA256: 40665fe6c1b7061bb8427da87ed655e6d4c861785d33efaa3df05331e8803af8
  • Pointer size: 131 Bytes
  • Size of remote file: 105 kB
parse/dev/1PL1NIMMrw/images/ecb7f6b029c81a0378defcf8e2c4cd9320bbe892964a7f730272470c12d1b1fc.jpg ADDED

Git LFS Details

  • SHA256: 815da47c1fd4b6acb58972bdc6ce59bafeb3fae2b2157b85b864b5388720e6c3
  • Pointer size: 130 Bytes
  • Size of remote file: 35.8 kB
parse/dev/1PL1NIMMrw/images/fd37632bc843db1d58cdde9c7a2bbc74861b1490a0c7ff65cff86cc2692e49ff.jpg ADDED

Git LFS Details

  • SHA256: 108436d11ef8436aba31e20bac5c738e1ac2ef4d9843d877d01fe50c72d301ef
  • Pointer size: 130 Bytes
  • Size of remote file: 46.8 kB