We spent a stretch of November fine-tuning a diffusion video upscaler on public-domain footage, trying to make old tapes restore more faithfully. The interesting result wasn't that we succeeded. It was that our first attempt "won" on the standard metric by quietly making the picture worse.

That failure is worth writing up, because it's a trap that shows up anywhere image quality is measured with PSNR.

The setup

The model is a one-step diffusion upscaler with a frozen transformer and decoder. We trained a small LoRA on the transformer's attention and feed-forward layers: about 16 million parameters, a few tens of megabytes, and it merges back into the weights afterwards, so inference cost doesn't change.

Training pairs came from public-domain sources only: NASA's image and video library, and Wikimedia Commons material tagged public domain, CC0, or CC BY. We deliberately avoided sources with murky reuse terms. Pairs were generated at 4x degradation and a 256 px crop, which is the minimum the model's window attention allows.

The loss combined three terms: a Charbonnier pixel loss, a low-frequency match on 8x8 pooled images, and a temporal-difference match to keep consecutive frames consistent. The goal was faithfulness, not sharpness.

The result that looked like a win

We held out eight videos with fixed crops that were never trained on. After 100 steps, the fine-tuned model had clearly improved:

  • Low-frequency error: 0.0453 → 0.0336 (closer to the clean original)
  • PSNR: 26.66 → 28.72
  • Texture energy: 1.12 → 0.24

Two out of three looked great. That third number is the problem.

We measure "texture" as the ratio of total Laplacian energy in the output to the clean frames. A value of 1.0 means the output has roughly the same fine detail as the original; plain bicubic upscaling scores about 0.12. Our model had dropped from 1.12 to 0.24. It had learned to blur.

PSNR had gone up precisely because of that blur. When you optimize pixel error, the safest bet for uncertain detail is to predict the mean, and the mean of a textured region is a smooth patch. The metric wasn't wrong; it was measuring exactly what we asked it to. We'd just asked for the wrong thing.

Fixing the objective

We added a per-8x8-patch texture-energy match term to the loss and restarted. Now a checkpoint only counts as better if texture stays near 1.0. With that constraint the low-frequency error still improved (-0.009 at step 100, another -0.0017 at step 200) but detail only drifted to 0.85 and 0.74, and the later run pushes texture weight harder to hold it.

The broader lesson: if you care about perceived detail, track it explicitly. Don't assume PSNR implies it. We now treat texture energy as a gate alongside the error metrics, and we validate on fixed crops with fixed noise so the numbers are comparable across runs.

A note on engine choice

While this was running, a newer version of the same model family was released under an Apache-2.0 licence. We scored both on the same held-out clips. The newer engine won on every quality column and invented substantially less texture, even though it was slower per clip. That's a good reminder to re-benchmark when a model family updates: work spent fine-tuning the previous engine can be overtaken by a checkpoint you didn't train.

Why this matters for restoration

Old footage has two failure modes that pull in opposite directions. Noise and compression damage want smoothing; real texture and faces want preservation. An optimizer left to its own devices will pick smoothing, because that's the low-error solution, and the result looks like a waxy version of the original.

That's the constraint we build around in Phoenix Upscaler: generative detail is a donor, blended onto a source-safe base, rather than the whole picture. The guide explains the quality modes, and we wrote up the reasoning behind the one-time pricing on the Topaz alternative page.

If you're training or evaluating an image or video model, add one metric that measures the thing you actually care about. Otherwise your loss function will quietly define quality for you.