[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-111284":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":10,"language":11,"languages":10,"totalLinesOfCode":10,"stars":12,"forks":13,"watchers":13,"openIssues":14,"contributorsCount":14,"subscribersCount":14,"size":14,"stars1d":14,"stars7d":14,"stars30d":14,"stars90d":14,"forks30d":14,"starsTrendScore":14,"compositeScore":15,"rankGlobal":10,"rankLanguage":10,"license":10,"archived":16,"fork":16,"defaultBranch":17,"hasWiki":18,"hasPages":18,"topics":19,"createdAt":10,"pushedAt":20,"updatedAt":21,"readmeContent":22,"aiSummary":23,"trendingCount":14,"starSnapshotCount":14,"syncStatus":13,"lastSyncTime":24,"discoverSource":25},111284,"DASA","Yuanyu0\u002FDASA","Yuanyu0","[NeurIPS 2026] The official implementation of \"Dynamics-Aware Sparse Attention for Efficient Autoregressive Video Diffusion\"","https:\u002F\u002Fyuanyu0.github.io\u002FDASA\u002F",null,"Python",61,2,0,38.43,false,"main",true,[],"2026-10-24 13:08:49","2026-11-10 12:17:33","\u003Cdiv align=\"center\">\n\n# \u003Cimg src=\"docs\u002Fassets\u002Flogo.svg\" alt=\"DASA sparse-cube logo\" height=\"42\" align=\"top\"> Dynamics-Aware Sparse Attention for Efficient Autoregressive Video Diffusion\n\n[![Python 3.10](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FPython-3.10-3776AB?logo=python&logoColor=white)](DASA\u002Frequirements.txt)\n[![arXiv](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FarXiv-2610.26262-b31b1b?logo=arxiv&logoColor=white)](https:\u002F\u002Farxiv.org\u002Fabs\u002F2610.26262)\n[![Project Page](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FProject-Page-245f8f?logo=githubpages&logoColor=white)](https:\u002F\u002Fyuanyu0.github.io\u002FDASA\u002F)\n\n\u003Cstrong>Yuanyu He\u003Csup>1,2*\u003C\u002Fsup> · Zhuokun Chen\u003Csup>3*\u003C\u002Fsup> · Yefei He\u003Csup>1†\u003C\u002Fsup> · Zhiwei Tang\u003Csup>2\u003C\u002Fsup> · Jiasheng Tang\u003Csup>2\u003C\u002Fsup> · Yinghao Yu\u003Csup>2\u003C\u002Fsup> · Jianfei Cai\u003Csup>3\u003C\u002Fsup> · Bohan Zhuang\u003Csup>1‡\u003C\u002Fsup>\u003C\u002Fstrong>\u003Cbr>\n\u003Csup>1\u003C\u002Fsup> Zhejiang University &nbsp; \u003Csup>2\u003C\u002Fsup> Alibaba Group &nbsp; \u003Csup>3\u003C\u002Fsup> Monash University\n\n\u003Csup>*\u003C\u002Fsup> Equal contribution &nbsp; \u003Csup>†\u003C\u002Fsup> Project leader &nbsp; \u003Csup>‡\u003C\u002Fsup> Corresponding author\n\n[Overview](#overview) · [Results](#results) · [Installation](#installation) · [Weights](#model-weights) · [Inference](#inference) · [Training](#training) · [Citation](#citation)\n\n\u003C\u002Fdiv>\n\n---\n\n\u003Ca id=\"overview\">\u003C\u002Fa>\n\n## 🔥 Overview\n\n**Dynamics-Aware Sparse Attention (DASA)** accelerates chunk-wise autoregressive video diffusion by exploiting temporal redundancy: stable regions can reuse past features, while memory and denoising effort are focused on tokens that carry new visual information.\n\n\u003Cdiv align=\"center\">\n\u003Cimg src=\"docs\u002Fassets\u002Fmethod.png\" alt=\"DASA overview: frame-wise memory management and region-level computation allocation\" width=\"96%\">\n\u003C\u002Fdiv>\n\nDASA has two training-free inference components and an optional training adaptation:\n\n- **Frame-wise Memory Management** prunes historical KV tokens with layer-wise similarity thresholds, preserves every token in the last frame as a reference anchor, and refreshes a token after its age reaches the maximum threshold τ. This reduces cache growth while retaining long-range context.\n- **Region-level Computation Allocation** locally aligns the current chunk with the reference frame. Tokens whose cosine similarity reaches γ reuse aligned features and exit early; the remaining dynamic regions continue through denoising.\n- **Dynamics-Guided Distillation Adaptation** counters the static bias that can arise when feature reuse is exposed during training.\n\n\u003Ca id=\"results\">\u003C\u002Fa>\n\n## 📊 Results\n\n### Video generation on VBench\n\nDASA raises throughput from 18.42 to 26.21 FPS on Self-Forcing (1.42×) and from 18.30 to 26.50 FPS on LongLive (1.45×). VBench total scores remain close to baseline, moving from 84.19 to 83.81 and from 83.16 to 82.72. With dynamics-guided adaptation, throughput reaches 27.58 FPS (1.50×) and 27.91 FPS (1.53×), with total scores of 83.98 and 83.09.\n\n\u003Ca id=\"installation\">\u003C\u002Fa>\n\n## 🛠️ Installation\n\nThe pinned environment targets Linux x86_64, Python 3.10, CUDA 12.4, and PyTorch 2.5.1. Start from the repository root and enter `DASA\u002F` for code commands.\n\n```bash\ncd DASA\nexport PYTHONNOUSERSITE=1\nconda create -n dasa python=3.10 pip -y\nconda activate dasa\npip install -r requirements.txt\n```\n\n\u003Ca id=\"model-weights\">\u003C\u002Fa>\n\n## 📦 Model weights\n\nRun these commands from the `DASA\u002F` code directory:\n\n```bash\ncd DASA\nhuggingface-cli download Wan-AI\u002FWan2.1-T2V-1.3B --local-dir wan_models\u002FWan2.1-T2V-1.3B\nhuggingface-cli download gdhe17\u002FSelf-Forcing checkpoints\u002Fself_forcing_dmd.pt --local-dir .\nhuggingface-cli download Efficient-Large-Model\u002FLongLive-1.3B --local-dir longlive_models\n```\n\n\u003Ca id=\"inference\">\u003C\u002Fa>\n\n## 🎬 Inference\n\nSet `data_path` in each config under `DASA\u002Fconfigs\u002F` to a text file with one prompt per line. DASA parameters are grouped under the `dasa` key.\n\n| Backbone | Inference | Training |\n| :--- | :---: | :---: |\n| Self-Forcing | [Config](DASA\u002Fconfigs\u002Fself_forcing\u002Finference.yaml) | [Config](DASA\u002Fconfigs\u002Fself_forcing\u002Ffinetune.yaml) |\n| LongLive | [Config](DASA\u002Fconfigs\u002Flonglive\u002Finference.yaml) | [Config](DASA\u002Fconfigs\u002Flonglive\u002Ffinetune.yaml) |\n\nRun from the `DASA\u002F` code directory:\n\n```bash\ncd DASA\nCUDA_VISIBLE_DEVICES=0 python -m dasa.launch self_forcing inference\nCUDA_VISIBLE_DEVICES=0 python -m dasa.launch longlive inference\n```\n\nDefaults produce 5-second videos in `DASA\u002Foutputs\u002F\u003Cbackbone>\u002Finference\u002F`. Use `--config_path PATH` to select a custom config.\n\n\u003Ca id=\"training\">\u003C\u002Fa>\n\n## 🚀 Training\n\nDownload the 14B teacher and set training prompt paths in the `finetune.yaml` files. Self-Forcing trains full weights; LongLive trains LoRA adapters.\n\n```bash\ncd DASA\nhuggingface-cli download Wan-AI\u002FWan2.1-T2V-14B --local-dir wan_models\u002FWan2.1-T2V-14B\n\nCUDA_VISIBLE_DEVICES=0,1,2,3 python -m dasa.launch self_forcing finetune --nproc_per_node 4\nCUDA_VISIBLE_DEVICES=0,1,2,3 python -m dasa.launch longlive finetune --nproc_per_node 4\n```\n\nCheckpoints are saved in `DASA\u002Foutputs\u002F\u003Cbackbone>\u002Ffinetune\u002F`. Add `--max_steps N` to limit training steps.\n\n\u003Ca id=\"citation\">\u003C\u002Fa>\n\n## ⭐️ Citation\n\n```bibtex\n@article{he2026dynamics,\n  title={Dynamics-Aware Sparse Attention for Efficient Autoregressive Video Diffusion},\n  author={He, Yuanyu and Chen, Zhuokun and He, Yefei and Tang, Zhiwei and Tang, Jiasheng and Yu, Yinghao and Cai, Jianfei and Zhuang, Bohan},\n  journal={arXiv preprint arXiv:2610.26262},\n  year={2026}\n}\n```\n\n## 🤝 Acknowledgements\n\nBuilt on [Self-Forcing](https:\u002F\u002Fgithub.com\u002Fguandeh17\u002FSelf-Forcing), [LongLive](https:\u002F\u002Fgithub.com\u002FNVlabs\u002FLongLive), [Wan2.1](https:\u002F\u002Fgithub.com\u002FWan-Video\u002FWan2.1) and [CLIP](https:\u002F\u002Fgithub.com\u002Fopenai\u002FCLIP). See [NOTICE](DASA\u002FNOTICE) for upstream licenses.\n","DASA 是一个面向自回归视频扩散模型的高效稀疏注意力方法，旨在降低视频生成过程中的计算与内存开销。其核心通过帧级记忆管理（动态剪枝历史KV缓存）和区域级计算分配（基于运动相似性区分稳定\u002F动态区域，实现特征复用与早退）实现训练后即用的推理加速；可选的动力学引导蒸馏模块进一步缓解静态偏差。项目在VBench基准上实现约1.5倍吞吐提升，同时保持生成质量基本稳定。适用于对延迟和显存敏感的长视频生成、实时视频编辑及边缘端轻量化部署等场景。","2026-11-24 04:40:40","CREATED_QUERY"]