Antara Fills the Frames the Weather Satellite Never Took

A self-supervised model that learns from the satellite's own timeline, and holds up precisely where classical optical flow falls apart.

9 min read • View on GitHub • More from HimanshuSolo

A wide editorial illustration of a geostationary satellite beaming a signal toward Earth's limb while a horizontal film strip of satellite frames floats between them. One frame in the middle of the strip is a clean white gap, and a drafting hand enters from the left, drawing the missing frame from the two neighbors with two taut threads running into the pen nib. The image explains the core idea of self-supervised frame interpolation: reconstructing a withheld frame from the frames on either side.
The model never sees the middle frame. It reconstructs it from the two outer frames, using the withheld frame only to score itself.
Key Takeaways

The Frame That Labels Itself

Most machine learning projects spend their first month building a dataset. Antara skips that step entirely, because the satellite already built one. Take three consecutive geostationary scans at t-1, t, and t+1. Feed the model only the outer two. Withhold the middle. Then score the model's synthetic middle frame against the real one the satellite actually captured.

That is the whole supervision scheme. No human labels, no hand-drawn masks, no annotation budget. The answer key is a photograph the satellite took and the model was simply not shown. Every scan in the archive is a free training example waiting for its neighbors to be paired with it.

The elegance is that the trick scales for free. A geostationary satellite like GOES-16 has been scanning the same hemisphere every ten minutes for years. That is hundreds of thousands of overlapping triplets, each one already labeled by physics. The dataset is not a file you download. It is the satellite's own timeline.

Why Anyone Wants a Frame That Isn't There

The motivation is a cadence problem. INSAT-3D, GOES, and Himawari image the full disk every 10 to 30 minutes. Cyclones, convective cells, and wildfire plumes move faster than that. A forecaster watching a storm intensify between two scans is looking at a slideshow when they need a film.

A synthetic intermediate frame buys temporal resolution without buying a new satellite. If you can interpolate one frame between each pair of real scans, a 10-minute cadence behaves like a 5-minute cadence. Antara is built against the ISRO problem statement "Fill in the Frames Seamlessly," and that framing is the right one: the goal is not prettier imagery, it is a denser record of fast-moving weather.

The Baseline It Has to Beat

Classical interpolation is the reference. Antara's baseline is Farneback dense optical flow in roughly fifty lines: compute forward and backward flow between the two frames, scale each by half, warp each source toward the midpoint, and average the two warps.

# forward and backward dense flow
flow_fwd = cv2.calcOpticalFlowFarneback(prev, next, None, 0.5, 3, 15, 3, 5, 1.2, 0)
flow_bwd = cv2.calcOpticalFlowFarneback(next, prev, None, 0.5, 3, 15, 3, 5, 1.2, 0)

# scale to the midpoint and warp each source
mid_fwd = _warp(prev, flow_fwd * 0.5)
mid_bwd = _warp(next, flow_bwd * 0.5)

# blend the two warps
mid = cv2.addWeighted(mid_fwd, 0.5, mid_bwd, 0.5, 0)

The docstring claims the blend "fills in occlusion holes a single-direction warp would leave uncovered." That is worth questioning. A 50/50 average mixes two warped images; it does not identify which pixels are occluded. Where the two sources disagree, the output is a ghosted smear, not a repaired pixel. Hold that thought. It is the mechanism behind everything that happens later.

The Average Is a Lie

On a held-out day, fine-tuning lifts FILM's PSNR from 32.66 dB to 33.25 dB. That is less than a decibel. And LPIPS, a perceptual metric where lower is better, gets worse, moving from 0.0371 to 0.0595. Judged by the average, the fine-tune barely did anything, and arguably did harm.

Then stratify by weather and the story snaps into focus. Separate the evaluation into calm scenes and cyclone scenes. Farneback collapses by 6.46 dB on cyclones, dropping from 31.44 to 24.98. FILM drops only 4.56 dB, from 36.62 to 32.06, with SSIM barely moving. The gains live exactly where the weather gets violent. The average was never the point.

A close-up editorial illustration of a cyclone eye seen from directly above, with concentric bands of cloud spiraling inward in dense crosshatch that thickens toward the wall. Two opposing sets of directional arrows curve around the eye, one clockwise on the left and one counter-clockwise on the right, meeting at a dashed circle in the center. The image explains why fast rotational motion is hard to interpolate: the flow field reverses across the eye, and a 50/50 blend smears it instead of resolving it.
Across a cyclone eye the flow field reverses. A bidirectional blend averages two opposing motions into a smear, which is exactly where the baseline loses its 6.46 dB.

How a Grayscale Satellite Learns From an RGB Model

Antara does not train a network from scratch. It fine-tunes FILM, Google's pretrained frame interpolation model, which solves a different problem: it interpolates ordinary three-channel RGB video. Band 13, the clean longwave infrared channel Antara works with, is a single channel. The fix is a small, honest hack.

# FILM expects three-channel input; Band 13 is one channel
rgb_prev = replicate_to_rgb01(frame_prev)
rgb_next = replicate_to_rgb01(frame_next)

# ... run the model at any t in (0, 1) ...

# average the three output channels back to grayscale
gray = output.mean(dim=0)

The channel is copied three times on the way in and averaged back to one on the way out. The author's own comment notes the output channels "aren't guaranteed identical even though the input channels were replicated," which is a fair caveat. It is a pragmatic move: it lets pretrained RGB filters see infrared data at the cost of a few redundant channels.

Two other details matter. The model pads each image to a multiple of 64 pixels before inference and crops back afterward, because FILM downsamples internally. And the interface accepts any t between 0 and 1, not just the midpoint. That last piece is what turns one gap into Nx resolution: the same pair of scans can yield a frame at 0.25, 0.5, or 0.75.

Drag the query slider to place a prediction anywhere between the two scans. The model can interpolate at any t, but fine-tuning only ever trained the midpoint, so the amber bands are regions it was never taught to trust.

The Comparison

Here is the three-way contest on a held-out day, using 207 triplets drawn from three days and evaluated on a fourth. These figures come from the project's README as written by the author and were not independently reproduced for this article, so treat them as the author's reported numbers rather than third-party verification.

MethodPSNR (dB)SSIMLPIPS
Farneback optical flow26.600.6999n/a
FILM, zero-shot32.660.92420.0371
FILM, fine-tuned33.250.93140.0595

The table hides its own story. The PSNR gain is small and LPIPS moves the wrong way, so on the average the fine-tune looks like noise at best. The real result only appears when you split the evaluation by weather.

MethodCalmCycloneDrop
Farneback31.44 dB24.98 dB-6.46 dB
FILM36.62 dB32.06 dB-4.56 dB

This is where the fine-tune pays off. Classical flow loses 6.46 dB when the scene turns violent; FILM loses 4.56. A further patch-size ablation, run at 128, 256, and 512 pixels, shows FILM holding steady around 31.5 to 31.9 dB while Farneback climbs from 22.80 to 24.65. FILM does not depend on having a large spatial context to get its answer right, which is the expected signature of a learned flow prior rather than a local correlation.

What the Report Doesn't Prove

The most important open question is baked into the training loop. Fine-tuning always uses dt = 0.5, the exact midpoint. But the multi-frame output the project advertises places predictions at 0.25 and 0.75, and those off-center frames have never been scored against ground truth. The README admits the multi-frame results are "qualitative only." So the model can interpolate anywhere, but it was only taught the middle, and nobody has checked the rest.

None of these are verdicts. The off-center gap is a real limitation, and the normalization question is one to put to the author rather than a confirmed flaw. What the project does prove is narrower and more interesting than its headline number suggests: a self-supervised setup can take a satellite's own timeline as its dataset, and a learned flow prior can hold together in the one place classical flow falls apart.