paper-with-me

홈 › Papers

Plug-and-Play Context Feature Reuse for Efficient Masked Generation

2025-05-25 · Xuejie Liu, Anji Liu, Guy Van Den Broeck, Yitao Liang

Masked generative models (MGMs) have emerged as a powerful framework for image synthesis, combining parallel decoding with strong bidirectional context modeling. However, generating high-quality samples typically requires many iterative decoding steps, resulting in high inference costs. A straightforward way to speed up generation is by decoding more tokens in each step, thereby reducing the total number of steps. However, when many tokens are decoded simultaneously, the model can only estimate the univariate marginal distributions independently, failing to capture the dependency among them. As a result, reducing the number of steps significantly compromises generation fidelity. In this work, we introduce ReCAP (Reused Context-Aware Prediction), a plug-and-play module that accelerates inference in MGMs by constructing low-cost steps via reusing feature embeddings from previously decoded context tokens. ReCAP interleaves standard full evaluations with lightweight steps that cache and reuse context features, substantially reducing computation while preserving the benefits of fine-grained, iterative generation. We demonstrate its effectiveness on top of three representative MGMs (MaskGIT, MAGE, and MAR), including both discrete and continuous token spaces and covering diverse architectural designs. In particular, on ImageNet256 class-conditional generation, ReCAP achieves up to 2.4x faster inference than the base model with minimal performance drop, and consistently delivers better efficiency-fidelity trade-offs under various generation settings.

📄 PDF Abstract BibTeX arXiv:2505.19089

Code (0)

등록된 구현이 없습니다.

Tasks

Image Generation

Methods 이 논문이 사용한 방법론

SPEED The monocular depth estimation (MDE) is the task of estimating depth from a single frame. This information is an essential knowledge in many computer vision tasks such as scene…
BASE 설명 없음

Similar Papers 제목 키워드 기반

Diffusion-State Policy Optimization for Masked Diffusion Language Models

2026-02-06 · Daisuke Oba, Hiroki Furuta, Naoaki Okazaki arxiv

Masked diffusion language models generate text through iterative masked-token filling, but terminal-only rewards on final completions provide coarse credit assignment for the intermediate filling decisions that shape the…

BrushNet: A Plug-and-Play Image Inpainting Model with Decomposed Dual-Branch Diffusion

2024-03-11 · Xuan Ju, Xian Liu, Xintao Wang, Yuxuan Bian 외

Image inpainting, the process of restoring corrupted images, has seen significant advancements with the advent of diffusion models (DMs). Despite these advancements, current DM adaptations for inpainting, which involve m…

Image Inpainting

VideoPainter: Any-length Video Inpainting and Editing with Plug-and-Play Context Control

2025-03-07 · Yuxuan Bian, Zhaoyang Zhang, Xuan Ju, Mingdeng Cao 외

Video inpainting, which aims to restore corrupted video content, has experienced substantial progress. Despite these advances, existing methods, whether propagating unmasked region pixels through optical flow and recepti…

Image InpaintingOptical Flow EstimationText-to-Video EditingVideo Editing+1

Plug & Play Convolutional Regression Tracker for Video Object Detection

2020-03-02 · Ye Lyu, Michael Ying Yang, George Vosselman, Gui-Song Xia

Video object detection targets to simultaneously localize the bounding boxes of the objects and identify their classes in a given video. One challenge for video object detection is to consistently detect all objects acro…

Objectobject-detectionObject Detectionregression+1

MaskAnyNet: Rethinking Masked Image Regions as Valuable Information in Supervised Learning

2025-11-16 · Jingshan Hong, Haigen Hu, Huihuang Zhang, Qianwei Zhou 외 arxiv

In supervised learning, traditional image masking faces two key issues: (i) discarded pixels are underutilized, leading to a loss of valuable contextual information; (ii) masking may remove small or critical features, es…