FARI: Robust One-Step Inversion for Watermarking in Diffusion Models

Jindong Yang, Han Fang, Weiming Zhang, Nenghai Yu, Kejiang Chen
7/29/2026
2 citations
cs.CRcs.AI
diffusion-flow

Official code: 0xD009/FARI (4 stars, Python, MIT, last commit 2026-04-28).

Abstract

Inversion-based watermarking is a promising approach to authenticate diffusion-generated images, yet practical use is bottlenecked by inversion that is both slow and error-prone. While the primary challenge in the watermarking setting is robustness against external distortions, existing approaches over-optimize internal truncation error, and because that error scales with the sampler step size, they are inherently confined to high-NFE (number of function evaluations) regimes that cannot meet the dual demands of speed and robustness.

Show full abstract

In this work, we have two key observations: (i) the inversion trajectory has markedly lower curvature than the forward generation path does, making it highly compressible and amenable to low-NFE approximation; and (ii) in inversion for watermark verification, the trade-off between speed and truncation error is less critical, since external distortions dominate the error. A faster inverter provides a dual benefit: it is not only more efficient, but it also enables end-to-end adversarial training to directly target robustness, a task that is computationally prohibitive for the original, lengthy inversion trajectories. Building on this, we propose \textbf{FARI} (\textbf{F}ast \textbf{A}symmetric \textbf{R}obust \textbf{I}nversion), a one-step inversion framework paired with lightweight adversarial LoRA fine-tuning of the denoiser for watermark extraction. While consolidation slightly increases internal error, FARI delivers large gains in both speed and robustness: with approximately 20 minutes of fine-tuning on a single NVIDIA RTX A6000 GPU, it surpasses 50-step DDIM inversion on watermark-verification robustness while dramatically reducing inference time. Code and pretrained models are available at https://github.com/0xD009/FARI.

View on arXivView PDF

Code Implementations(1)

0xD009/FARIOfficial100%
MIT

Offical implementation of "FARI: Robust One-Step Inversion for Watermarking in Diffusion Models"

40PythonApr 28, 20267 months agoMIT

Similar Papers

Cite this paper

@article{yang2026fari,
  title  = {FARI: Robust One-Step Inversion for Watermarking in Diffusion Models},
  author = {Jindong Yang and Han Fang and Weiming Zhang and Nenghai Yu and Kejiang Chen},
  year   = {2026},
  eprint = {2607.26723},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2607.26723v1},
  journal = {ICLR 2026 2026}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2607.26723.svg)](https://codeofpaper.com/paper/2607.26723)

Discussion