Patch-based stochastic attention for image editing

Published: 01 Jan 2024, Last Modified: 13 May 2025Comput. Vis. Image Underst. 2024EveryoneRevisionsBibTeXCC BY-SA 4.0
Abstract: Highlights•An efficient attention layer for images based on Approximate Nearest Neighbor Search.•Our layer has a log-linear computational complexity and linear memory complexity.•In contrast standard attention has quadratic computational and memory complexity.•We detail how differentiability is preserved despite the use of nearest neighbors.•Low memory costs permit to adapt SOTA editing algorithms to high-resolution images
Loading