arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2611.41907cs.CV
收藏

DiffRAC:基于视频扩散运动先验的重复动作计数

DiffRAC: Repetitive Action Counting with Video Diffusion Motion Priors

Tsinghua University(清华大学);Xiaohongshu(小红书);Hong Kong Polytechnic University(香港理工大学);Pennsylvania State University(宾夕法尼亚州立大学)

Junyuan Xiao, Guangmo Yi, Jingqi Tian, Cheng Chen, Lionel Z. Wang, Wenming Yang, Xinjie Li

AI总结:

本文提出DiffRAC,采用适配LoRA的Wan视频扩散Transformer作为运动编码器,通过跨帧注意力亲和度推导周期长度后验,实现重复动作计数,在RepCount-A、UCFRep等数据集上取得优异性能。

摘要:

重复动作计数(RAC)需要识别连续运动中的完整周期,但视觉相似性并非可靠线索:单个周期内可能出现姿态重复,而停顿或静态背景会产生无重复的高相似性。本文提出,视频扩散模型因需捕捉跨帧内容演化以生成连贯运动,可提供更优的跨帧关系来源。我们提出DiffRAC,其采用Wan视频扩散Transformer,经LoRA适配后冻结,作为计数模型的运动编码器。对于每个视频窗口,DiffRAC从多个去噪层读取输入片段时间步间的查询-键注意力亲和度,并沿时间滞后取平均;由学习到的滞后特征、周期图和周期模板汇总的规则间隔滞后响应,生成周期长度的后验分布。基于该后验分布,查询式解码器预测窗口是否在重复(活动)及重复速度(频率),二者乘积为局部计数率;重叠窗口的率经覆盖归一化在原始时间轴上平均,整合为计数并校准,可选的证据门控细化步骤可进一步更新计数。DiffRAC在RepCount-A上达到74.3%的差一准确率(OBO),在UCFRep上达到87.6%;仅在RepCount-A上训练,可迁移至UCFRep和Countix,分别取得82.4%和73.9%的OBO。

英文摘要:

Repetitive action counting (RAC) requires identifying complete cycles in continuous motion, but visual similarity is an unreliable cue for this: a pose can recur within a single cycle, and pauses or static backgrounds produce high similarity without any repetition. We argue that video diffusion models, which must capture how content evolves across frames in order to generate coherent motion, provide a better source of cross-frame relations. We present DiffRAC, which uses a Wan video diffusion transformer, adapted with LoRA and then frozen, as the motion encoder of a counting model. For each video window, DiffRAC reads the query--key attention affinities between time steps of the input clip from several denoiser layers and averages them along temporal lags. Regularly spaced lag responses, summarized by learned lag features, a periodogram, and period templates, yield a posterior over the cycle length. Conditioned on this posterior, a query-based decoder predicts whether the window is repeating (activity) and how fast it repeats (frequency); their product is a local counting rate. Rates from overlapping windows are averaged on the original timeline by coverage normalization, integrated into a count, and calibrated, and an optional evidence-gated refinement step can further update the count. DiffRAC reaches 74.3% off-by-one accuracy (OBO) on RepCount-A and 87.6% on UCFRep. Trained only on RepCount-A, it transfers to UCFRep and Countix with 82.4% and 73.9% OBO.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑