DeltaSR: Spiking Video Upscaling with Online Alertness Tuning

The core idea

Think about a typical video call. You sit in front of a laptop camera, and for most of the call, almost nothing in the frame changes. The wall behind you stays the same; only your face and hands move.

Yet a standard video upscaler redraws every single pixel of every single frame as if the entire image were brand new. Turning a small 320×180 frame into a sharp 1280×720 picture takes a good model roughly 100 billion multiply-adds, 30 times a second, whether anything moved or not.

Our model, DeltaSR, takes the opposite approach:

How the model works

Every incoming low-resolution frame (t) moves through a five-stage pipeline:

  1. Motion tracking (optical flow): A tiny optical-flow network measures how objects moved since the previous frame.
  2. Encoding & memory read: An encoder converts the new frame into features. The model then pulls in stored features from 1, 2, and 4 frames back (t−1, t−2, t−4) and aligns them using the measured motion. Combining several slightly shifted, blurry frames of the same object reveals far more detail than any single frame alone.
  3. The spiking body: The aligned features pass through 12 residual blocks (80 channels). This is where spiking happens. Every convolution is fed by a charge neuron that keeps a running charge of its input and only sends a signal when the change since its last message crosses a learned threshold.
  4. Upsampling: An upsampler enlarges the image 4× and adds the result on top of a plain bicubic enlargement. This lets the network focus exclusively on painting in the missing fine detail.
  5. Memory update: The new features are saved for upcoming frames.
One frame's journey through the model
only 4×4 tiles that changed more than τ are recomputed features kept for the next frames (t−1, t−2, t−4) low-resframe t opticalflow encoder memoryreadt−1, t−2, t−4 align &merge 12 residual blocks80 channelscharge neurons upsample ×4+ bicubic skip sharpframe t still refreshafter 16 quiet frames
spiking: works only on change always on (counted at full cost) memory of earlier frames

Click a block to see what it does.

Two extra efficiency tricks

Watch it happen: something moves, the model spikes

The real model, not a mock-up (τ2, still refresh on). Left: the 320×180 input. Right: our 1280×720 output, with orange on the 4×4 tiles whose neurons fired in that frame; the brighter, the more fired. Bottom: compute per frame. While the driveway is empty the model sits at about 5 G per frame (mostly the optical flow), with a short spike every 16 quiet frames when it refreshes its memory. When the bear walks in, the tiles around it light up and compute climbs; when it leaves, everything goes quiet again. Over the whole clip, refreshes included, DeltaSR averages 15.0 G per frame.

One model, every budget: online alertness

With the dial left at τ2, the same weights spend about 20.5 G per frame on doorbells, 26 G on video calls, 33 G on webcams and 79 G on busy REDS footage. Within a single clip the cost rises the moment something moves and falls back when it stops. Pick a clip in the chart below and watch it.

Compute per frame, as it happens
clip:
Footage not shown for this clip (news or private footage); the compute trace is still real.
frame 0 · low-res input the model receives, slowed to 10 fps ·

And you can set the alertness. τ sets how big a change has to be before a tile wakes up. Same weights, same file; only the threshold moves. Raise it when the battery is low, when the chip is running hot, or when one box has to serve many cameras at once; lower it when quality matters most. Here is what each setting costs and gives, scene by scene:

Turning the dial live, on one video call

One continuous run of DeltaSR on the FourPeople call (played forward and back so it lasts long enough). Partway through, alertness steps τ1 → τ2 → τ4 → τ8 without restarting the model. Measured on this clip: τ1 31.95 dB at 56.9 G per frame, τ2 31.87 dB at 21.4 G, τ4 31.78 dB at 17.6 G, τ8 31.56 dB at 14.9 G. Shown at half speed; real speed.

On video calls, going from τ1 to τ8 cuts compute by almost two thirds (49.5 G to 17 G) for a loss of about 0.8 dB. On busy video the savings are smaller, because there is simply more change to process. That is exactly the point: the model spends where the picture needs it.

Training & specs

We trained the model from scratch on REDS, a public dataset of short, busy clips filmed with a moving camera. To ensure the model also experienced perfectly static scenes, 1 in 5 training windows consisted of a repeated frame.

SpecificationDetails
Model size1.8 million weights (quantized from step 1: 8-bit weights, 10-bit activations)
Training dataREDS clips; 15-frame windows, 64×64 low-res crops, batch size 8 (20% still windows)
Loss functionSmooth L1 loss scored on every frame against the real high-res target
ScheduleAdam for 100,000 steps + cosine learning-rate cool-down to 130,000 steps (worth ~+0.10 dB); final weights are a running average
Spiking phaseEnabled for the last 30,000 steps with learned per-neuron thresholds and a small penalty for every message sent
Real-time speed21.5–23.2 ms per frame on one RTX 2080 Ti (worst frame: 23–26 ms)

On busy REDS video, enabling spiking costs only 0.011–0.015 dB compared to running the same model fully dense, while cutting work down to roughly 75%.

What's training now: Because REDS is all motion, the model has never seen a long, still video call. We are currently fine-tuning it on 100-frame clips from Microsoft's VCD video-call dataset (with test people and rooms held out), mixed with REDS, half of which is compressed with H.264 to mimic real calls. We will only keep this fine-tune if it beats the current model at the same compute.

How it compares

We tested the model across four scenarios: video calls (6 clips), webcams, doorbell cameras, and busy REDS clips (as a control). Every model received the same 4× downscaled input, tested both clean and after H.264 compression.

We compared against open, live upscalers of similar size: Mobile RRN, FRVSR, TecoGAN, CDA-VSR (built specifically for compressed video), EDSR (a single-image model run per frame), and plain bicubic, as well as change-triggered frame-reuse versions of Mobile RRN and EDSR.

Why only live models? A live model draws each frame using only the frames it has already seen, so it can sit inside a call or a camera feed. Offline video upscalers wait for future frames before drawing the current one. They score higher on paper, but they cannot run on a live stream, so they are not in this comparison.

Quality vs compute per frame

Results at a glance

Each cell: quality (Y-PSNR, dB) and compute per frame. Our column is DeltaSR at alertness τ2 with still refresh; compressed rows use DeltaSR-C, the codec-aware version, with still refresh off (the codec's own keyframes already reset its memory). The best quality in each row is shaded: orange when it is ours, grey when it is a rival. A dash means that model was not run on that track.

Scene-by-scene takeaways

How fast is it?

Measured on a GPU: on one RTX 2080 Ti, our spiking model takes 21.5–23.2 ms per frame on average and 23–26 ms on its slowest frame, at 1280×720 output. That is about 43–46 frames per second, and never below about 38, comfortably above the 30 fps a call or camera needs. A GPU cannot skip idle neurons, so this speed does not improve on still video; the savings show up on event-driven hardware.

Estimated on event-driven hardware: there, the work only happens where spikes fire, so speed follows the compute numbers above. The table below assumes a chip that does one trillion multiply-adds per second and is limited only by compute (no memory or I/O stalls). It is a back-of-the-envelope estimate, not a measurement:

Estimated frames per second at 1 trillion multiply-adds per second (1,000 ÷ average G per frame). Same assumptions for every model; the real number depends on the chip. Our first frame and each still refresh briefly cost about 80 G, so a real chip would need a small frame buffer or some headroom for those moments.

Bigger independent test sets

To make sure the result isn't down to a handful of clips, we scored everything again on two larger sets that played no part in training, picked by a fixed random rule before scoring: 50 webcam clips from Microsoft's VCD2 (50 different people and rooms) and 40 security-camera clips from MEVA (23 fixed cameras at four sites). On H.264-compressed input the codec-aware model beats CDA-VSR on 49 of 50 webcam clips and 39 of 40 CCTV clips, at a fraction of its compute:

Compressed (CRF 23)DeltaSR-CCDA-VSROur lead (95% interval, clips resampled by person / camera)
Security cameras · 40 clips27.62 dB8.4 G per frame27.40 dB78.7 G+0.22 dB (+0.15 to +0.31); +0.32 dB over Mobile RRN
Webcams · 50 clips36.56 dB24.2 G per frame36.15 dB78.7 G+0.42 dB (+0.32 to +0.52); +1.19 dB over Mobile RRN

On clean security-camera video we are also best (28.15 dB at 14 G vs Mobile RRN's 27.91 dB at 27 G). On clean webcam video with lots of gesturing, Mobile RRN is the better pick for its compute (39.79 dB at 27 G vs our 39.90 dB at 49 G): when people move constantly, there is less stillness for us to save on.

Current limitations