cs.CVNov 21, 2026

Analyzing Atypical Local Features in Museum Artifacts using Generative Image Inpainting

Authors: Maho Kinoshita, Wakana Kuwata, Ryota Mibayashi, Hiroaki Ohshima

Organizations: University of Hyogo, Hyogo, Japan · Kobe University, Hyogo, Japan

Abstract

This study proposes a method for analyzing local visual features in museum artifacts that may appear atypical or unexpected. Objects in the same category often share a similar overall shape, while local details such as patterns, decorations, and facial expressions may reflect regional or cultural characteristics. We use the appearance distribution learned by an image generation model as a reference for what is generally expected within an artifact category. For each target region, we exclude images from that region and fine-tune a generative model using only images from the remaining regions. We then mask selected parts of artifact images from the target region and ask the region-excluded model to complete them. If the completed result differs greatly from the original image, the masked part may contain features that are difficult to predict from the appearance learned from other regions. We measure this difference using LPIPS and treat it as reconstruction difficulty for the generative model. We conduct experiments on images of kokeshi dolls, drums, and masks from the collection of the National Museum of Ethnology. For each category, we select several target regions, build region-excluded LoRA models, and perform inpainting on predefined local parts. The results show that typical shapes and simple decorations are often reconstructed consistently, whereas some region-specific colors, patterns, cord arrangements, and painted details are replaced with more common appearances. These results suggest that region-excluded inpainting can serve as an exploratory tool for finding region-specific local visual features in museum artifact images.

Figures & tables

Explore similar work

Jan 30, 2026

AI-Generated Image Detectors Exploit Global Artifacts: Evidence from Inpainting Exchange

Modern diffusion-based inpainting enables realistic, localized image manipulation, raising critical challenges for reliable detection. We show that state-of-the-art AI-generated image detectors largely fail to identify what was synthesized and instead exploit a global artifact introduced as a side effect of the generation pipeline: latent-diffusion inpainting passes the entire image through a VAE encoder--decoder, inducing a subtle but pervasive spectral shift even in unedited regions. We turn this observation into a simple, model-free diagnostic, Inpainting Exchange (INP-X), that restores the original pixels outside the edited region while preserving all synthesized content. To study the effect at scale, we build a benchmark of 3030K matched real, standard-inpainted, and exchanged triplets (9090K images) spanning four datasets and three inpainters. INP-X requires no model access and is a single compositing step, yet it collapses pretrained detectors, commercial APIs, and bias-aware methods toward chance (commercial APIs: >$$90\%\!\to\!\sim$$55\%; the bias-aware DDA: 97.6% ⁣→ ⁣58.4%97.6\%\!\to\!58.4\%). We give formal propositions linking the effect to high-frequency attenuation from the VAE information bottleneck, and we causally isolate it with a factorial battery and a variance decomposition that attributes 97%97\% of the background spectral shift to the autoencoder round-trip alone. A perceptual study (n=153n{=}153) shows the shift is also perceptible to humans, whose accuracy falls from 63.8%63.8\% to 56.2%56.2\% (p=0.002p{=}0.002): significantly reduced, though not eliminated. Finally, we show that mechanism-driven mitigations (mixed-distribution and localization-supervised training) improve robustness, but detecting INP-X edits remains an open problem. Our benchmark and code are available at: https://github.com/emirhanbilgic/INP-X
Aug 28, 2026

FUSED: Forensic-Semantic Mixture-of-Experts for AI Inpainting Detection and Localization

Diffusion-based inpainting models modify only a localized part of an image, while many AI-image detectors rely on global artifacts and do not localize. These artifacts vary across generators, limiting detector transfer under distribution shifts. Recent work shows that restoring the authentic pixels outside the inpainted region removes these cues and can degrade pretrained detectors. To address this, we present FUSED, a unified framework for the joint detection and localization of AI-generated inpainting. FUSED combines low-level forensic cues with high-level semantic features using a sparsely-gated Mixture-of-Experts architecture, enabling the model to adaptively prioritize the most relevant signal for each token. For each input, FUSED predicts both an image-level manipulation score and a pixel-level mask of the inpainted area. On the OpenSDID cross-generator benchmark, FUSED achieves the best average detection and localization, with the largest gains on unseen generators. The same model transfers directly to the held-out AutoSplice and CocoGlide benchmarks, more than doubling localization performance. Evaluating each held-out benchmark with and without the global generator artifact further shows that all evaluated methods, ours included, partly read the artifact as evidence of manipulation, and FUSED remains the strongest under both conditions. Code and pretrained models are available at https://github.com/AntonNuzhdin/FUSED.
Oct 6, 2026

Can We Model the Artifacts Explicitly? Disentangle Artifacts via Pairwise Edit Relations for Image Manipulation Localization

Image Manipulation Localization (IML) is commonly formulated as a fully supervised learning task that estimates the optimal manipulation mask yy for a given image xx. In this work, we first reveal the latent nature of artifacts and thus reinterpret IML as a latent-variable problem, P(y∣x)=∫P(y∣z) P(z∣x) dzP(y|x)=\int P(y|z)\,P(z|x)\,dz, where zz denotes the artifacts. Following this interpretation, we pinpoint the cause for the current IML models' insufficiency as their implicit artifacts modeling strategy, highlighting the necessity of modeling zz in an explicit manner. Without direct labels, feature disentanglement is the most appropriate solution for this explicit modeling. Accordingly, we propose a two-stage learning paradigm with the Pairwise Artifacts Learning (PAL) and Standard Localization (SL) phases to estimate P(z∣x)P(z|x) and P(y∣z)P(y|z) via edit relations. To support our edit-relation-based learning, we further curate EditGroup-45K, a source-anchored dataset organized into edit groups for pair construction. Extensive experiments show that our PAL paradigm yields consistent improvements across diverse IML architectures, and empirical analyses further verify that PAL does capture artifacts explicitly through feature disentanglement. Code and dataset are available at https://github.com/venus-guangjian/PAL