
A model trained to generate video may also provide useful signals for counting repeated movements. In an arXiv preprint posted November 30, 2026, researchers introduce DiffRAC, a system that reads attention relationships inside a video diffusion model to estimate complete action cycles. The findings are author-reported; peer review is not verified, and no independent replication is supplied.
Counting repetitions is harder than recognizing recurring poses. A squat can pass through similar positions while descending and ascending, while pauses and static backgrounds can make frames look alike without a completed movement. DiffRAC tests whether relationships learned for coherent video generation offer better evidence of recurring motion phases. Potential applications include fitness monitoring, sports analysis and rehabilitation assessment, although the study evaluates annotated video benchmarks rather than deployed services.
The system adapts the 5-billion-parameter Wan2.2 model using LoRA, then freezes it. For overlapping video windows, one denoising pass extracts temporal query–key attention affinities: signals describing how strongly the model relates different times. A supervised readout combines evidence from time lags, a periodogram and recurring-pattern templates to estimate possible cycle lengths. It predicts repetition activity and frequency separately, multiplies them into a local counting rate, averages overlapping rates on the original timeline and integrates them. Boundary correction and calibration then adjust the count.
On RepCount-A, the authors report 74.34% off-by-one accuracy, or OBO, across all 152 test videos, and 0.143 normalized mean absolute error, or nMAE, across the 151 positive-count test videos. Published CountLLM results were 63.90% and 0.162, a 10.44-percentage-point OBO difference. OBO measures how often a rounded prediction falls within one repetition of the reference. Lower nMAE is better; it averages absolute rounded-count error divided by the reference count plus 0.1.
The final UCFRep configuration counted 92 of 105 validation videos within one repetition: 87.62% OBO and 0.115 nMAE. On 2,262 filtered Countix test annotations, DiffRAC reached 83.64% OBO and 0.166 nMAE. These headline results use different refinements: two-readout fusion on RepCount-A, an affinity ensemble with action-specific rules on UCFRep, and reranking near predictions from a heterogeneous 14-expert teacher on Countix. The Countix result therefore cannot be attributed solely to diffusion attention.
Matched RepCount-A experiments provide more direct evidence for the representation choice. Averaged over three seeds, attention affinities with the period branch achieved 64.25% OBO, compared with 38.82% for hidden-feature similarity from the same adapted backbone under the same readout. Without the period branch, attention achieved 57.68%. Calibration also mattered substantially, raising the single-readout result from a 40.57% rate-integral OBO to 64.25% after boundary correction and calibration.
With all components reportedly trained only on RepCount-A, transfer OBO reached 82.43% on UCFRep and 73.87% on Countix, exceeding published CountLLM scores by 0.83 and 0.87 percentage points. However, UCFRep nMAE was worse, at 0.181 versus 0.139; Countix nMAE improved to 0.265 versus 0.281. No confidence intervals establish the statistical uncertainty of these small OBO differences.
Comparisons with published systems use differing protocols and modalities. UCFRep additionally uses action labels, annotated temporal crops and two fixed per-video routing assignments whose selection and independence from evaluation outcomes are unclear. Videos are the evaluation units for RepCount-A and UCFRep; Countix results cover 2,262 test annotations filtered for positive counts and more than 40 frames. Overlapping video windows are dependent inputs, not independent evaluation samples. Fast cycles can be lost through temporal compression, slow cycles can exceed fixed windows, multiple subjects can mix together, and long pauses can cause errors. The model estimates totals without precisely locating cycle endings. Each uncached window also requires a forward pass through the large backbone; deployment latency and throughput are not reported.
Cover illustration generated with AI; conceptual, not research evidence.