SONIC: Spectral Optimization of Noise for Inpainting with Consistency
Seungyeon Baek, Erqun Dong, Shadan Namazifard, Mark J. Matthews, Kwang Moo Yi
Abstract
We propose a novel training-free method for inpainting with off-the-shelf text-to-image models. While guidance-based methods in theory allow generic models to be used for inverse problems such as inpainting -- in practice their effectiveness is limited, leading to the necessity of specialized inpainting-specific models. In this work, we argue the missing ingredient for training-free generic model usage is proper optimization of the initial noise sample. We optimize the initial noise to approximately reproduce the unmasked image, in as few as tens of optimization steps, then use it with a conventional training-free inpainting method. Critically, we propose two core ideas that make this possible: (i) we perform linear approximation that avoids the costly and often impractical unrolling required to relate the initial noise sample to model output -- which potentially is why this relationship was previously overlooked; and (ii) perform spectral preconditioning by optimizing the initial noise sample in the spectral domain with Adam, which stabilizes the optimization. We demonstrate our method on various inpainting tasks, outperforming the state of the art. Project website: https://ubc-vision.github.io/sonic/
Create a lesson
Metadata
- Comments
- Accepted at ECCV 2026
Related papers
SpectralGS: Spectral Gaussian Splatting for Unsupervised Spectral Super-Resolution
Shared title terminologycs.CVQiaoying Qu, Bin Pan, Chen Jia et al.
Probe Before You Learn: Allocating Prompts from Initial Gradients under Label Noise
Shared title terminologycs.CVJiazhe Zhang, Zibin Geng, Qiang Ma et al.
Prompt-Consistent Cross-View Object Geo-Localization
Shared title terminologycs.CVLingyun Xing, Wenning Hao, Kai Jiang et al.
Why Adaptive Optimizers Struggle with Large Convolution Kernels
Shared title terminologycs.CVTianyu Ding, Jiachen Jiang, Jinxin Zhou et al.
PartPO: Part-Level Policy Optimization for Shape-to-Program Generation
Shared title terminologycs.CVHannuo Zhang, Zhixiang Chi, Xuanchen Li et al.
MQCODet: Modality Quality-Guided Collaborative Optimization for UAV-Based RGB-T Tiny Pedestrian Detection
Shared title terminologycs.CVHui Li, Jianbo Ma, Hui Luo et al.