# RIFE

**RIFE**（Real-Time Intermediate Flow Estimation，实时中间流估计）是一种用于视频帧插值的神经网络算法。视频帧插值的任务是在已有帧之间合成新帧。RIFE 直接端到端地估计两帧输入之间的中间光流，而不是先计算完整的双向光流再进行变形。<sup>[1](https://arxiv.org/abs/2011.06294)</sup> 该算法由旷视研究院（Megvii Research）的黄哲威、张天源、文恒、施柏鑫和周舒畅提出，其中施柏鑫同时隶属[北京大学](https://www.edgepedia.org/zh/peking-university)，论文被 ECCV 2022 接收。<sup>[2](https://www.ecva.net/papers/eccv_2022/papers_ECCV/papers/136740608.pdf)</sup>

| 关键事实 | 详情 |
|---|---|
| 全名 | Real-Time Intermediate Flow Estimation for Video Frame Interpolation（视频帧插值的实时中间流估计）<sup>[1](https://arxiv.org/abs/2011.06294)</sup> |
| 作者 | 黄哲威、张天源、文恒、施柏鑫、周舒畅（旷视研究院；施柏鑫同时隶属北京大学）<sup>[2](https://www.ecva.net/papers/eccv_2022/papers_ECCV/papers/136740608.pdf)</sup> |
| 核心设计 | IFNet 端到端、由粗到细地估计中间流；RefineNet 进行最终细化；无需预训练光流模型<sup>[1](https://arxiv.org/abs/2011.06294)</sup><sup> • </sup><sup>[3](https://videoprocessing.ai/benchmarks/video-frame-interpolation-participants.html)</sup> |
| 速度 | 比 SuperSlomo 和 DAIN 快 4 至 27 倍，效果更好；在 2080Ti GPU 上进行 2 倍 720p 插值可达 30+ FPS<sup>[1](https://arxiv.org/abs/2011.06294)</sup><sup> • </sup><sup>[4](https://github.com/searchinglokesh/RIFE-Official)</sup> |
| 时间步灵活性 | 通过时间编码输入支持任意时间步插值，并支持一对图像之间的 2 倍、4 倍、8 倍及多帧插值<sup>[1](https://arxiv.org/abs/2011.06294)</sup><sup> • </sup><sup>[4](https://github.com/searchinglokesh/RIFE-Official)</sup> |
| 训练 | 采用特权蒸馏方案，让教师网络看到真实中间帧，从而稳定 IFNet 的训练<sup>[1](https://arxiv.org/abs/2011.06294)</sup><sup> • </sup><sup>[5](https://git.mitgai.net/rife-dev/rife-api/blob/main/README.md)</sup> |
| 实用生态 | Practical-RIFE 增加了功能和新模型；大多数场景默认推荐 4.25 版本<sup>[6](https://github.com/hzwer/Practical-RIFE/blob/main/README.md?plain=1)</sup> |

## 工作原理

视频帧插值方法通常先估计两帧输入之间的双向光流，再近似或细化中间流，或者将难以处理的中间流估计交给一个端到端训练的可学习光流网络。<sup>[7](https://openaccess.thecvf.com/content/CVPR2022/papers/Kong_IFRNet_Intermediate_Feature_Refine_Network_for_Efficient_Frame_Interpolation_CVPR_2022_paper.pdf)</sup> RIFE 走的是第二条路线，使用一个专用网络 IFNet 直接由粗到细地预测中间流，使运动估计和帧合成一起学习。<sup>[1](https://arxiv.org/abs/2011.06294)</sup><sup> • </sup><sup>[5](https://git.mitgai.net/rife-dev/rife-api/blob/main/README.md)</sup> MSU 基准的架构概述将该系统描述为：IFNet 用于近似中间光流，RefineNet 用于对合成帧进行最终细化。<sup>[3](https://videoprocessing.ai/benchmarks/video-frame-interpolation-participants.html)</sup>

有两个设计选择使该方法与众不同。第一，RIFE 不依赖预训练的光流模型；光流估计在插值系统内部训练。<sup>[1](https://arxiv.org/abs/2011.06294)</sup> 第二，时间编码输入使网络能够在两帧之间的任意时间步进行插值，而不仅限于中点，这将该方法扩展到更广泛的应用。<sup>[1](https://arxiv.org/abs/2011.06294)</sup> 训练稳定性通过特权蒸馏方案解决：允许一个教师网络看到真实中间帧来监督 IFNet，从而提高稳定性和整体性能。<sup>[1](https://arxiv.org/abs/2011.06294)</sup><sup> • </sup><sup>[5](https://git.mitgai.net/rife-dev/rife-api/blob/main/README.md)</sup>

## 速度与基准

论文最引人注目的主张是吞吐量：与流行的 SuperSlomo 和 DAIN 方法相比，RIFE 快 4 至 27 倍，且结果更好，在发表时于多个公开基准上达到了最先进的性能。<sup>[1](https://arxiv.org/abs/2011.06294)</sup> 发布的模型在 NVIDIA 2080Ti GPU 上对 720p 视频进行 2 倍插值时运行速度超过 30 FPS。<sup>[4](https://github.com/searchinglokesh/RIFE-Official)</sup> 在 Flowframes 桌面应用中，一项社区基准显示，RTX 2070 SUPER 8 GB 在 1920x1080、2 倍插值下产生 14 输出 FPS，在 1280x720 下为 25.5 FPS，并建议使用 SSD，因为存储可能拖慢流水线。<sup>[8](https://github.laiyagushi.com/n00mkrad/flowframes/blob/main/Benchmarks.md)</sup> RIFE 也能在 CPU 上运行，但远低于实时；它足够轻量，消费级 GPU 即可处理。<sup>[9](https://git.mitgai.net/rife-dev/rife-api)</sup>

官方仓库提供了三个基准套件的评估脚本：一个使用 YUV 帧输入输出的高清基准，MiddleBury "Other" 数据集（包含 12 个多样化测试序列，以插值误差评分），以及 Vimeo90K。<sup>[10](https://deepwiki.com/hzwer/ECCV2022-RIFE/5-evaluation)</sup> 在 MSU 视频帧插值基准中，该基准用五项客观指标比较了八种方法，并进行了一项有 400 多名参与者参与的主观研究，RIFE 作为 2020 年加入的参与者出现。<sup>[3](https://videoprocessing.ai/benchmarks/video-frame-interpolation-participants.html)</sup><sup> • </sup><sup>[11](https://videoprocessing.ai/benchmarks/video-frame-interpolation.html)</sup> 一个综合排行榜列出了一个 2022 年 7 月的 RIFE-Large 模型，PSNR 为 33.08，SSIM 为 0.9399。<sup>[12](https://www.wizwand.com/sota/video-frame-interpolation-on-aggregate-benchmarks-average)</sup>

## Practical-RIFE 与软件生态

**Practical-RIFE** 是作者基于 RIFE 和 SAFA（旷视的一个研究项目，在 WACV 2024 上展示）的后续项目，增加了功能并为实际使用设计了新模型；其维护者指出，提高 PSNR 指标与主观感知并不一致，他们引导普通用户使用 SVFI、RIFE-App 和 Flowframes 等终端用户软件。<sup>[6](https://github.com/hzwer/Practical-RIFE/blob/main/README.md?plain=1)</sup> 模型发布按编号和日期进行版本管理：4.26 于 2024 年 9 月 21 日发布，4.25 于 2024 年 9 月 19 日发布，对光流块和缩放列表进行了更改，作者称这显著改善了动漫场景，而计算量更低的 4.25.lite 于 2024 年 10 月 20 日发布；4.25 是大多数场景的推荐默认版本。<sup>[6](https://github.com/hzwer/Practical-RIFE/blob/main/README.md?plain=1)</sup> 2024 年 8 月，维护者发现 4.24 及更高版本作为扩散模型生成的某些视频的后处理效果良好。<sup>[6](https://github.com/hzwer/Practical-RIFE/blob/main/README.md?plain=1)</sup>

RIFE 权重和 Practical-RIFE 检查点被嵌入到一长串下游工具中：Flowframes GUI、SVFI、rife-ncnn-vulkan 移植版、VapourSynth 绑定，以及用于慢动作、24 到 60 fps 转换和动漫放大流水线的 ComfyUI 和视频编辑插件。<sup>[5](https://git.mitgai.net/rife-dev/rife-api/blob/main/README.md)</sup><sup> • </sup><sup>[6](https://github.com/hzwer/Practical-RIFE/blob/main/README.md?plain=1)</sup> 原始代码在 MIT 许可证下发布。<sup>[4](https://github.com/searchinglokesh/RIFE-Official)</sup>

## 应用与局限

除了媒体播放，RIFE 还被应用于科学成像。在三维断层成像中，《自然·通讯》的一篇论文使用该模型跨长度尺度对投影进行插值，称赞其由粗到细的方法能够准确估计中间流并保留细节，并指出该模型会定期更新。<sup>[13](https://www.nature.com/articles/s41467-024-52260-2.pdf)</sup> 一项针对 29 名患者（58 个序列，7.5 和 15 帧每秒）的冠状动脉造影回顾性研究，使用线性插值、RRIN 和 RIFE 处理数据；一项由三名阅片者参与的观察者研究和一项 BM3D 模糊指标都将算法排名为原始 < RIFE < RRIN < LI，意味着 RIFE 在三种插值方法中引入的模糊最少。<sup>[14](https://pubmed.ncbi.nlm.nih.gov/42710263/)</sup>

该方法的局限源于其基于光流的设计。2025 年的一项实时帧插值综述指出，像 RIFE 这样基于光流的方法提供高吞吐量，但在涉及大运动和遮挡的复杂场景中往往失败。<sup>[15](https://arxiv.org/abs/2512.18241)</sup> 一项在渲染视频插值中的比较发现，轻量级方法 RIFE 和 IFRNet 在低强度光照下表现不佳，产生高度模糊的结果，例如阴影中的窗框。<sup>[16](https://doi.org/10.1145/3730400)</sup> 基准测试实践本身也受到批评：2024 年的一篇基准测试论文指出，众多测试数据集和不一致的误差指标使得跨论文的公平比较变得困难，而且许多测试集违反了两帧输入之间线性关系的假设。<sup>[17](https://arxiv.org/abs/2403.17128)</sup>

## References

1. [Huang, Zhang, Heng, Shi, Zhou. Real-Time Intermediate Flow Estimation for Video Frame Interpolation, arXiv:2011.06294](https://arxiv.org/abs/2011.06294)
2. [ECCV 2022 paper PDF, ECVA](https://www.ecva.net/papers/eccv_2022/papers_ECCV/papers/136740608.pdf)
3. [MSU Video Frame Interpolation Benchmark, Participants](https://videoprocessing.ai/benchmarks/video-frame-interpolation-participants.html)
4. [RIFE-Official repository README](https://github.com/searchinglokesh/RIFE-Official)
5. [rife-dev/rife-api README](https://git.mitgai.net/rife-dev/rife-api/blob/main/README.md)
6. [hzwer/Practical-RIFE README](https://github.com/hzwer/Practical-RIFE/blob/main/README.md?plain=1)
7. [Kong et al. IFRNet, CVPR 2022](https://openaccess.thecvf.com/content/CVPR2022/papers/Kong_IFRNet_Intermediate_Feature_Refine_Network_for_Efficient_Frame_Interpolation_CVPR_2022_paper.pdf)
8. [Flowframes Benchmarks](https://github.laiyagushi.com/n00mkrad/flowframes/blob/main/Benchmarks.md)
9. [rife-dev/rife-api](https://git.mitgai.net/rife-dev/rife-api)
10. [Evaluation and Benchmarks, DeepWiki for hzwer/ECCV2022-RIFE](https://deepwiki.com/hzwer/ECCV2022-RIFE/5-evaluation)
11. [MSU Video Frame Interpolation Benchmark](https://videoprocessing.ai/benchmarks/video-frame-interpolation.html)
12. [SOTA Video Frame Interpolation on Aggregate Benchmarks, Wizwand](https://www.wizwand.com/sota/video-frame-interpolation-on-aggregate-benchmarks-average)
13. [Video frame interpolation neural network for 3D tomography, Nature Communications](https://www.nature.com/articles/s41467-024-52260-2.pdf)
14. [Quantitative assessment of video frame interpolation in coronary angiography, PubMed](https://pubmed.ncbi.nlm.nih.gov/42710263/)
15. [SG-RIFE: Semantic-Guided Real-Time Intermediate Flow Estimation, arXiv:2512.18241](https://arxiv.org/abs/2512.18241)
16. [MoFlow: Motion-Guided Flows for Recurrent Rendered Frame Prediction, ACM TOG](https://doi.org/10.1145/3730400)
17. [Kiefhaber et al. Benchmarking Video Frame Interpolation, arXiv:2403.17128](https://arxiv.org/abs/2403.17128)

---
*Initially written Oct 15, 2026*

Topic: 技术与人造世界 › 计算技术与数字系统 › 人工智能与数据 › Language and vision AI › Computer vision › Vision methods and geometry › Motion analysis and optical flow

Copyright 2026 Edgepedia

License: Edgepedia Community License 1.0, https://www.edgepedia.org/edgepedia/license

Source: https://www.edgepedia.org/zh/rife

English original: https://www.edgepedia.org/rife
