CacheFlow: Fast Human Motion Prediction by Cached Normalizing Flow

Takahiro Maeda, Jinkun Cao, Norimichi Ukita, Kris Kitani
5/19/2025
6 citations
cs.CV
diffusion-flow

Official code: meaten/CacheFlow (20 stars, Python, last commit 2026-07-29).

Abstract

Many density estimation techniques for 3D human motion prediction require a significant amount of inference time, often exceeding the duration of the predicted time horizon. To address the need for faster density estimation for 3D human motion prediction, we introduce a novel flow-based method for human motion prediction called CacheFlow.

Show full abstract

Unlike previous conditional generative models that suffer from poor time efficiency, CacheFlow takes advantage of an unconditional flow-based generative model that transforms a Gaussian mixture into the density of future motions. The results of the computation of the flow-based generative model can be precomputed and cached. Then, for conditional prediction, we seek a mapping from historical trajectories to samples in the Gaussian mixture. This mapping can be done by a much more lightweight model, thus saving significant computation overhead compared to a typical conditional flow model. In such a two-stage fashion and by caching results from the slow flow model computation, we build our CacheFlow without loss of prediction accuracy and model expressiveness. This inference process is completed in approximately one millisecond, making it 4 times faster than previous VAE methods and 30 times faster than previous diffusion-based methods on standard benchmarks such as Human3.6M and AMASS datasets. Furthermore, our method demonstrates improved density estimation accuracy and comparable prediction accuracy to a SOTA method on Human3.6M. Our code and models are available at https://github.com/meaten/CacheFlow.

View on arXivView PDF

Code Implementations(1)

meaten/CacheFlowOfficial100%

Fast Human Motion Prediction method based on Flow Matching

200Python, DockerfileDec 17, 20254 months agoNOASSERTION

Similar Papers

Cite this paper

@article{maeda2025cacheflow,
  title  = {CacheFlow: Fast Human Motion Prediction by Cached Normalizing Flow},
  author = {Takahiro Maeda and Jinkun Cao and Norimichi Ukita and Kris Kitani},
  year   = {2025},
  eprint = {2505.13140},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2505.13140v3}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2505.13140.svg)](https://codeofpaper.com/paper/2505.13140)

Discussion