Papers › OFTSR: One-Step Flow for Image Super-Resolution with Tunable Fidelity-Realism Trade-offs

OFTSR: One-Step Flow for Image Super-Resolution with Tunable Fidelity-Realism Trade-offs

12 Dec 2024arXiv:2412.09465archive 2025-07-28

Yuanzhi Zhu, Ruiqing Wang, Shilin Lu, Junnan Li, Hanshu Yan, Kai Zhang

Recent advances in diffusion and flow-based generative models have demonstrated remarkable success in image restoration tasks, achieving superior perceptual quality compared to traditional deep learning approaches. However, these methods either require numerous sampling steps to generate high-quality images, resulting in significant computational overhead, or rely on model distillation, which usually imposes a fixed fidelity-realism trade-off and thus lacks flexibility. In this paper, we introduce OFTSR, a novel flow-based framework for one-step image super-resolution that can produce outputs with tunable levels of fidelity and realism. Our approach first trains a conditional flow-based super-resolution model to serve as a teacher model. We then distill this teacher model by applying a specialized constraint. Specifically, we force the predictions from our one-step student model for same input to lie on the same sampling ODE trajectory of the teacher model. This alignment ensures that the student model's single-step predictions from initial states match the teacher's predictions from a closer intermediate state. Through extensive experiments on challenging datasets including FFHQ (256×256), DIV2K, and ImageNet (256×256), we demonstrate that OFTSR achieves state-of-the-art performance for one-step image super-resolution, while having the ability to flexibly tune the fidelity-realism trade-off. Code and pre-trained models are available at https://github.com/yuanzhi-zhu/OFTSR and https://huggingface.co/Yuanzhi/OFTSR, respectively.

PaperPDFCodeCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2412.09465")

Code

Syntology Ran 4 of 16 code samples harvested from 1 repository linked to this paper; 12 have no recorded run. Of those that ran: 3 ran · our draft was wrong; 1 ran with no contract checked.

By repository: official repository: 16 samples from 1 repository, 4 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

yuanzhi-zhu/oftsr officialmentioned in papermentioned on GitHubpytorchApache-2.0 report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

16 samples harvested; 4 ran; 0 honoured the contract we drafted; 12 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

3ran · our draft was wrong
1ran
12unverified

Licence: 0 of the 16 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from yuanzhi-zhu/OFTSR. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

calc_psnr yuanzhi-zhu/OFTSR/evaluate.py official repository ran · our draft was wrong fingerprinted Apache-2.0 (permissive) · 543fa13af92ef55b · report
constant yuanzhi-zhu/oftsr/fm/augment.py official repository ran Apache-2.0 (permissive) · 6d32f9cf6f29b386 · report
prepare_paired_batch yuanzhi-zhu/OFTSR/train_fm.py official repository ran · our draft was wrong Apache-2.0 (permissive) · cdaadfbb9242c2cf · report
zero_module yuanzhi-zhu/oftsr/models/nn.py official repository ran · our draft was wrong Apache-2.0 (permissive) · 129b804760b3115f · report
avg_pool_nd yuanzhi-zhu/oftsr/models/nn.py official repository unverified Apache-2.0 (permissive) · ecd0fc28815b65ae · report
conv_nd yuanzhi-zhu/oftsr/models/nn.py official repository unverified Apache-2.0 (permissive) · fe4eb545bbb728e0 · report
get_optimizer yuanzhi-zhu/oftsr/fm/losses.py official repository unverified Apache-2.0 (permissive) · 3e026dce22169267 · report
get_timesteps_gan yuanzhi-zhu/oftsr/distill_fm.py official repository unverified Apache-2.0 (permissive) · 4d5a0650804371ce · report
get_weightings yuanzhi-zhu/oftsr/fm/losses.py official repository unverified Apache-2.0 (permissive) · b6cf0eb0ba82bf62 · report
imread_uint yuanzhi-zhu/oftsr/fm/image_datasets.py official repository unverified Apache-2.0 (permissive) · 913183cf9882fc5a · report
numpy_to_pil yuanzhi-zhu/oftsr/fid.py official repository unverified Apache-2.0 (permissive) · 19892367876e0b4f · report
optimization_manager yuanzhi-zhu/oftsr/fm/losses.py official repository unverified Apache-2.0 (permissive) · 4c3fe3149cfaaedc · report
pil_to_numpy yuanzhi-zhu/oftsr/fid.py official repository unverified Apache-2.0 (permissive) · 75981a871aba8899 · report
translate2d yuanzhi-zhu/oftsr/fm/augment.py official repository unverified Apache-2.0 (permissive) · 7b7201c90355cb09 · report
translate3d yuanzhi-zhu/oftsr/fm/augment.py official repository unverified Apache-2.0 (permissive) · 8137c1b6cc279011 · report
unet_enc_forward yuanzhi-zhu/oftsr/models/unet.py official repository unverified Apache-2.0 (permissive) · 142f5e900ff3ed99 · report

Tasks

Image RestorationImage Super-ResolutionSuper-Resolution

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Methods

Diffusion

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections