Video understanding, tracking, generation, and world models · Action recognition · VID014 · Architecture
MoViNets
Designs mobile-oriented video networks with efficient operations and streaming buffers. Causal processing can reuse recent state instead of repeatedly recomputing overlapping clips, making the family relevant to…
In CodeSplash
Documented in the Academy only. There's no Set up button.
- Availability
- Explained here
- Code example
- Component demo, not a trained model
- Who ran it
- CodeSplash's run and the reference's record
- CodeSplash's run
- The reference's example ran in Python and R here, and they agree.
- The reference's record
- Python: Ran in the reference's review. The report doesn't record which version of the code ran. R: Reviewed but not run: R wasn't available to the reference's authors.
Purpose
Designs mobile-oriented video networks with efficient operations and streaming buffers. Causal processing can reuse recent state instead of repeatedly recomputing overlapping clips, making the family relevant to continuous recognition on constrained hardware.
Question / objective
Estimate an action label from a clip or video and determine which temporal evidence improves prediction. This is a learning or inference objective, not a test of a statistical null hypothesis.
Method type and supervision
architecture · Action recognition. Usually supervised video-label learning; image/video pretraining may use other supervision.
Architecture / computational structure
Mobile-oriented convolutional video network with persistent causal feature buffers.
Assumptions
Inputs must satisfy the temporal, modality and annotation protocol described below. Streaming state must be reset at video boundaries. Warm-up, dropped frames and hidden buffering change latency; offline and causal scores are different evaluation conditions.
Formula / computational definition
, describe an input frame or chunk, model output and retained buffer. This is a conceptual streaming interface; the paper specifies layer-level buffer mechanisms.
Parameters and notation
Learned/estimated quantities: Encoder filters or attention/projection weights, normalization parameters and task-head coefficients are learned; architectural dimensions and sampling rules are chosen. Symbols specific to the objective are defined with the equation. Hyperparameters and design choices: Model size, input rate, resolution, buffer lengths, causal configuration and quantization affect deployment.
Fitting, fine-tuning, and adaptation
Fine-tune with the same causal/chunked protocol used in deployment. Buffer state is runtime state, not a learned parameter; test resets and dropped-frame behavior. Use a separate adaptation validation split, monitor the target metric and retention of previously useful behavior, and save the exact preprocessing and training configuration.
How to use and calibrate
Fix the input protocol and target before fitting; choose design settings on held-out source videos, then freeze the evaluation procedure. Measure streaming accuracy, peak memory, energy where available and latency including state updates.
Example application
Recognize ongoing activities from a live camera stream.
Interpretation / pitfalls
Watch out
An optimized training objective or a favorable example does not establish generalization. Measure streaming accuracy, peak memory, energy where available and latency including state updates. The example below isolates one mechanism and cannot substantiate a full-model benchmark claim.
Python and R code examples
Component: Use a causal streaming buffer with explicit reset. Dependencies: NumPy in Python; base R in R; run the shared setup above. Python component: executed successfully. R component: unexecuted. No complete model training or pretrained inference was executed.
Full implementation route — Python: Use the paper-linked implementation and export the causal state explicitly for streaming inference. R: Bridge the supported Python runtime from R, retaining state objects between calls; use base R only to prototype buffer scheduling, not the full model.
Python and R
The reference's own programs, shown as written. A component demo shows one central piece of the method; it doesn't train a full model.
Component demo, not a trained model — Use a causal streaming buffer with explicit reset.
Shared setup for this chapter
import numpy as np
def softmax(x):
z = np.asarray(x, dtype=float)
e = np.exp(z - z.max())
return e / e.sum()
buffer = np.zeros(2)
outputs = []
for frame in [1.,2.,3.,4.]:
window = np.r_[buffer,frame]
outputs.append(window.mean()); buffer = window[-2:]
print(outputs)
buffer[:] = 0 # reset at a new video
Component demo, not a trained model — Use a causal streaming buffer with explicit reset.
Shared setup for this chapter
softmax <- function(x) {
e <- exp(x - max(x))
e / sum(e)
}
buffer <- numeric(2); outputs <- numeric()
for(frame in c(1,2,3,4)) {
window <- c(buffer,frame); outputs <- c(outputs,mean(window))
buffer <- tail(window,2)
}
print(outputs); buffer[] <- 0 # new-video reset
Sources
- Source 1arxiv.org
From the CodeSplash reference, entry VID014.