Hierarchical Sequential Context Modeling for High-Fidelity Image Inpainting
Zexuan Sun, Jinjia Peng, Mengkai Li, Huibing Wang
Hebei University · Dalian Maritime University
Key points
From the paper's conclusion- To jointly model these complementary dependencies, this paper proposes Hierarchical Sequential Context Modeling (HSCM), a novel inpainting framework that employs state-space models for multi-scale autoregressive sequence modeling.
Abstract
Image inpainting aims to restore missing regions by leveraging surrounding spatial context, where nearby pixels provide crucial structural cues and distant regions offer complementary semantic guidance. To jointly model these complementary dependencies, this paper proposes Hierarchical Sequential Context Modeling (HSCM), a novel inpainting framework that employs state-space models for multi-scale autoregressive sequence modeling. Unlike existing single-scale SSM-based approaches, HSCM explicitly separates pixel-level and semanticlevel modeling into two complementary branches. The Local Perception Unit preserves fine-grained textures, and the Global Compensation Unit propagates high-level semantics across patches to enhance overall coherence. The asynchronous hierarchical design first reconstructs local textures and then performs semantic compensation, achieving notable performance gains with minimal computational overhead. Leveraging its four-directional architecture, HSCM maintains linear computational growth with spatial resolution and effectively establishes a comprehensive global receptive field. Furthermore, a Cross-Gated Feedforward Network is proposed to alleviate patch boundary artifacts and enhance inter-channel feature consistency. Built upon a multi-scale encoder–decoder architecture, HSCM delivers state-of-the-art inpainting quality and robust generalization across diverse benchmarks, including CelebA-HQ, FFHQ, Paris Street View, and Places2.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- SAIN:structure-aware image inpainting for large missing areasJournal of King Saud University - Computer and Information Sciences · 2026
- HarmonPaint: Harmonized Training-Free Diffusion Inpainting.IEEE transactions on visualization and computer graphics · 2026
- Focus-and-Disperse: A Fine-to-Broad Context Aggregation for Image InpaintingApplied Sciences · 2026
- Context-Aware Autoregressive Image Generation for Emerging Reasoning PropertiesarXiv · 2026
- FUSED: Forensic-Semantic Mixture-of-Experts for AI Inpainting Detection and LocalizationarXiv · 2026
- Pose-Free Feed-Forward 3D Inpainting via Learnable Mask Attention and Support Token RefinementarXiv · 2026