RETHINED: A New Benchmark and Baseline for Real-Time High-Resolution Image Inpainting On Edge Devices

📅 2025-03-18
📈 Citations: 0
Influential: 0
📄 PDF
🤖 AI Summary
Existing image inpainting methods incur prohibitive computational overhead on high-resolution images and are impractical for edge-device deployment. To address this, we propose the first real-time ultra-high-definition (UHD) image inpainting framework tailored for edge computing. Our approach introduces a lightweight CNN backbone and a resolution-agnostic local patch replacement mechanism—eliminating global upsampling and redundant computations. We further construct DF8K-Inpainting, the first UHD inpainting dataset supporting arbitrary masks. Combined with cross-platform mobile optimization techniques, our system achieves ≤30 ms per-frame inference on mainstream mobile devices—100× faster than state-of-the-art methods—while preserving comparable visual quality. This work significantly advances the practical deployment of high-resolution image inpainting in resource-constrained edge scenarios.

Technology Category

Application Category

📝 Abstract
Existing image inpainting methods have shown impressive completion results for low-resolution images. However, most of these algorithms fail at high resolutions and require powerful hardware, limiting their deployment on edge devices. Motivated by this, we propose the first baseline for REal-Time High-resolution image INpainting on Edge Devices (RETHINED) that is able to inpaint at ultra-high-resolution and can run in real-time ($leq$ 30ms) in a wide variety of mobile devices. A simple, yet effective novel method formed by a lightweight Convolutional Neural Network (CNN) to recover structure, followed by a resolution-agnostic patch replacement mechanism to provide detailed texture. Specially our pipeline leverages the structural capacity of CNN and the high-level detail of patch-based methods, which is a key component for high-resolution image inpainting. To demonstrate the real application of our method, we conduct an extensive analysis on various mobile-friendly devices and demonstrate similar inpainting performance while being $mathrm{100 imes faster}$ than existing state-of-the-art methods. Furthemore, we realease DF8K-Inpainting, the first free-form mask UHD inpainting dataset.
Problem

Research questions and friction points this paper is trying to address.

High-resolution image inpainting on edge devices
Real-time performance with low latency
Lightweight CNN and patch replacement for texture
Innovation

Methods, ideas, or system contributions that make the work stand out.

Lightweight CNN for structure recovery
Resolution-agnostic patch replacement mechanism
Real-time high-resolution inpainting on edge devices
🔎 Similar Papers
No similar papers found.