Abstract
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.