선정목록으로
Traditional Chinese Painting Completion via Hierarchical Optimal Transport
수소연료전지 · (5) 연료전지용 수분제어장치(가습기)
기본 정보
- 저자
- DOI
- 10.1109/access.2025.3615386
- 저널
- IEEE Access
- 발행년도
- 2025
- 발행기관
- Institute of Electrical and Electronics Engineers
- 피인용수
- 0
- 라이선스
- cc-by
- 논문 유형
- –
- 언어
- –
- 원문 페이지
- https://doi.org/10.1109/access.2025.3615386
- 토픽
- Color Science and Applications
- OpenAlex ID
- W4414603151
평가 내용
- 관련도
- 사업분야
- 수소연료전지 · (5) 연료전지용 수분제어장치(가습기)
- 부 분야
- –
- R&D 측면
- –
- 확신도
- –
- 근거 용어
- –
- 판단 근거
- 임베딩 유사도 기반 평가로 '수소연료전지 > 연료전지용 수분제어장치(가습기)' 분야에 선정된 논문입니다.
- R&D 활용 포인트
- –
- 평가 입력
- –
초록
Traditional Chinese painting completion presents unique challenges where sparse ink distributions and intentional blank spaces serve aesthetic rather than functional purposes, contradicting assumptions in conventional inpainting methods. We propose Hierarchical Optimal Transport for Painting (HOT-Paint) that formulates completion as controlled texture redistribution in Wasserstein space. By interpreting texture synthesis through transport flow dynamics, we model brush stroke propagation using the static Kantorovich formulation while preserving characteristic sparsity through regularized transport plans. Our approach constructs multi-scale probability measures capturing artistic elements from fine strokes to global composition. The framework introduces adaptive cost functions integrating geometric distances, texture similarities via Gabor filters, and semantic relationships from pre-trained features. A modified Sinkhorn algorithm with soft-thresholding enforces sparsity constraints, while inter-scale consistency mechanisms ensure coherent information flow across resolutions. Experiments on CPDD and CelebA-HQ datasets demonstrate over 25.1% improvements in FID scores over state-of-the-art methods. Real-world restoration of authentic museum paintings validates practical utility. The proposed framework advances optimal transport theory for artistic image synthesis while addressing fundamental challenges in cultural heritage preservation.
본문 60,155자
본문 펼치기
Received 5 September 2025, accepted 24 September 2025, date of publication 29 September 2025,
date of current version 3 October 2025.
_Digital Object Identifier 10.1109/ACCESS.2025.3615386_
# Traditional Chinese Painting Completion via Hierarchical Optimal Transport
WENMIAO JIANG <sup>1</sup>, SHUNKAI ZHANG <sup>2</sup>, SHENGQI YOU 3, (Member, IEEE),
PENGBIN FENG 4, AND ZHENGYANG LU 5, (Member, IEEE)
1Institute of Fine Art, Fuyang Normal University, Fuyang 236041, China
2Shanghai Academy of Fine Arts, Shanghai University, Shanghai 200444, China
3Information College, Zhejiang University of Technology, Hangzhou 310023, China
4Department of Mathematics, University of Southern California, Los Angeles, CA 90089, USA
5School of Design, Jiangnan University, Wuxi 214122, China
Corresponding author: Zhengyang Lu (luzhengyang@jiangnan.edu.cn)
This work was supported in part by the General Fund of China Postdoctoral Science Foundation under Grant 2023M741411, and in part
by the Postdoctoral Fellowship Program of China Postdoctoral Science Foundation (CPSF) under Grant GZC20240608. The work of
Wenmiao Jiang was supported by Anhui Provincial Philosophy and Social Science Planning Project under Grant AHSKYQ2023D042.
The work of Zhengyang Lu was supported by Jiangsu Funding Program for Excellent Postdoctoral Talent under Grant 2024ZB488.
ABSTRACT Traditional Chinese painting completion presents unique challenges where sparse ink
distributions and intentional blank spaces serve aesthetic rather than functional purposes, contradicting
assumptions in conventional inpainting methods. We propose Hierarchical Optimal Transport for Painting
(HOT-Paint) that formulates completion as controlled texture redistribution in Wasserstein space.
By interpreting texture synthesis through transport flow dynamics, we model brush stroke propagation using
the static Kantorovich formulation while preserving characteristic sparsity through regularized transport
plans. Our approach constructs multi-scale probability measures capturing artistic elements from fine strokes
to global composition. The framework introduces adaptive cost functions integrating geometric distances,
texture similarities via Gabor filters, and semantic relationships from pre-trained features. A modified
Sinkhorn algorithm with soft-thresholding enforces sparsity constraints, while inter-scale consistency
mechanisms ensure coherent information flow across resolutions. Experiments on CPDD and CelebA-HQ
datasets demonstrate over 25.1% improvements in FID scores over state-of-the-art methods. Real-world
restoration of authentic museum paintings validates practical utility. The proposed framework advances
optimal transport theory for artistic image synthesis while addressing fundamental challenges in cultural
heritage preservation.
INDEX TERMS Image inpainting, Chinese painting completion, optimal transport, Wasserstein distance.
I. INTRODUCTION
Image inpainting addresses fundamental challenges in computer vision and cultural heritage conservation. Traditional
Chinese painting presents a unique domain where intentional
blank space serves essential compositional functions rather
than indicating missing content. This contradicts assumptions
underlying contemporary deep learning approaches [1],
which interpret all missing regions as requiring reconstruction. This fundamental gap necessitates a paradigm shift from
The associate editor coordinating the review of this manuscript and
approving it for publication was Joewono Widjaja .
pixel-wise reconstruction to distribution-based completion
that respects the dual nature of empty space as both missing
content and essential aesthetic structure. The digitization
of cultural collections necessitates domain-aware restoration
algorithms that preserve artistic authenticity [2].
Traditional paintings challenge existing methods because
intentional ink sparsity creates ambiguity between missing
content and regions serving essential aesthetic structural
functions. Standard CNN and GAN approaches cannot
distinguish these semantically different regions, producing inappropriate texture synthesis that disrupts inherent
aesthetic form. As shown in Figure 1, current pixel-wise
FIGURE 1. Traditional chinese painting inpainting comparison: HOT-Paint
preserves aesthetic structure better than conventional methods.
and adversarial objectives inadequately model spatial relationships governing artistic composition. Optimal transport
theory [3] addresses these limitations by formulating completion as controlled texture redistribution, naturally preserving
aesthetic structure while enabling semantically-aware propagation that respects traditional artistic balance.
We propose Hierarchical Optimal Transport for Painting
(HOT-Paint), a hierarchical optimal transport framework
that formulates traditional Chinese painting completion
as multi-scale transport problems in Wasserstein space.
Our method constructs probability measures over feature
distributions from multi-scale pyramids, capturing artistic
details from fine brush strokes to global composition.
The core innovation transforms static optimal transport
into dynamic formulation, modeling texture propagation
as fluid dynamics while preserving characteristic sparsity
through regularized transport plans. We develop adaptive cost
functions integrating geometric distances, texture similarities
via Gabor filters, and semantic relationships from pre-trained
features. The framework employs modified Sinkhorn algorithms with soft-thresholding to enforce sparsity constraints
and inter-scale consistency mechanisms to ensure coherent
information flow across resolutions. Computational optimizations including block-wise processing enable practical
high-resolution applications.
Experimental evaluation on CPDD and CelebA-HQ
datasets demonstrates substantial improvements over twelve
state-of-the-art methods, achieving 25.1%−35.5% better FID
scores than the second-best CoModGAN. Ablation studies
confirm that multi-scale hierarchy and sparsity regularization
contribute 61.5% and 41.8% performance gains respectively.
Real-world restoration on authentic museum paintings validates practical utility for complex degradation patterns.
The primary contributions of this work are threefold:
- We introduce the first optimal transport approach for
traditional painting completion with sparsity constraints
preserving aesthetic blank spaces.
- We develop a hierarchical multi-scale framework capturing artistic dependencies from brush details to global
composition.
- We demonstrate substantial improvements over stateof-the-art methods with successful real-world museum
restoration deployment.
The proposed framework demonstrates robust performance across diverse painting styles and damage patterns.
While computational complexity increases with image resolution, the hierarchical formulation enables practical scaling.
Future work will explore uncertainty quantification for
restoration confidence assessment and extension to broader
artistic domains beyond traditional Chinese painting.
II. RELATED WORKS
_A._ _DEEP LEARNING-BASED IMAGE INPAINTING_
Deep learning techniques have fundamentally transformed
image inpainting from traditional patch-based methods
to end-to-end learnable frameworks [4], [5]. Early pioneering works established the foundation by employing
encoder-decoder architectures with convolutional neural
networks. Pathak et al. [6] introduced Context Encoders that
learn visual representations through pixel prediction tasks,
while Iizuka et al. [7] proposed globally and locally consistent
completion networks that balance global coherence with local
detail preservation.
The integration of generative adversarial networks marked
a significant advancement in inpainting quality and realism [8]. Yu et al. [9] introduced contextual attention
mechanisms that enable explicit information borrowing from
distant spatial locations, addressing the inherent limitations
of convolution operations in capturing long-range dependencies. This was further refined in their subsequent work [10]
through gated convolutions and SN-PatchGAN formulations.
Zhao et al. [11] developed CoModGAN, which bridges conditional and unconditional generative architectures through
co-modulation of style representations, achieving superior
performance on large-scale missing regions. Zeng et al.
[12] proposed pyramid-context encoders that progressively
learn region affinity through attention mechanisms, while
their later work [13] introduced AOT-GAN with aggregated
contextual transformations for high-resolution synthesis.
Architectural innovations in convolutional designs have
addressed specific limitations of standard convolution operations [14], [15]. Liu et al. [16] pioneered partial convolutions
that condition responses only on valid pixels, eliminating artifacts from substitute values in masked regions.
Suvorov et al. [17] developed LaMa using fast Fourier
convolutions to achieve image-wide receptive fields, demonstrating exceptional generalization to unseen resolutions.
Zhu et al. [18] introduced mask-aware dynamic filtering and
point-wise normalization to handle the statistical differences
between masked and unmasked features. Recent plug-andplay models like BrushNet [19] demonstrate dual-branch
diffusion benefits, while StrDiffusion [20] tackles semantic
discrepancy through structure guidance.
Recent transformer-based approaches have leveraged
self-attention mechanisms for improved long-range modeling.
Li et al. [21] designed mask-aware transformers that
aggregate information from partial valid tokens, while
Wan et al. [22] combined transformers for structure recovery
with CNNs for texture enhancement, achieving high-fidelity
pluralistic completion.
_B._ _SPECIALIZED IMAGE INPAINTING_
Beyond architectural improvements, specialized mechanisms
have been developed to address specific challenges in
semantic consistency and structural coherence. Nazeri et al.
[23] proposed two-stage processing where edge generation
precedes image completion, ensuring structural plausibility.
Liu et al. [24] introduced coherent semantic attention
layers that model semantic relevance between hole regions
and surrounding context. Xiong et al. [25] developed
foreground-aware systems that explicitly disentangle structure inference from content completion, particularly beneficial for defect detection applications [26].
The pursuit of diverse and controllable inpainting outcomes has driven research into probabilistic formulations
and memory-based reasoning. Zheng et al. [27] established
the pluralistic completion paradigm through parallel reconstructive and generative paths supported by conditional
VAE [28]. Liu et al. [29] advanced this direction with
PD-GAN, incorporating spatially probabilistic diversity normalization that balances realism near hole boundaries with
diversity toward hole centers. Feng et al. [30] proposed
generative memory-guided semantic reasoning that leverages
inter-image priors characterizing semantic distribution patterns, demonstrating effectiveness for large corrupted areas.
Li et al. [31] enhanced semantic understanding through
revised perceptual losses and fully convolutional generators.
Evaluation methodologies have evolved to address the
limitations of pixel-wise metrics in assessing artistic and
semantic quality. Zhao et al. [11] introduced Paired/Unpaired
Inception Discriminative Score (P-IDS/U-IDS) that measures
perceptual fidelity through linear separability in feature
spaces. Traditional approaches like nonlocal texture matching [32] continue to provide valuable insights for patchbased synthesis, while specialized metrics for textural and
geometric structure preservation have been developed to better characterize inpainting authenticity. PrefPaint [33] aligns
diffusion models with human preferences via reinforcement
learning. Recent optimal transport applications [34] show
promise for structure-preserving restoration through residual
conditioning. Recent optimal transport theory advances
include fully probabilistic design frameworks [35] and
constrained transport algorithms [36], providing theoretical
foundations for distribution-based completion methods. Multiscale strategies for optimal transport [37] demonstrate linear
complexity scaling, motivating our hierarchical decomposition approach.
III. PROPOSED METHOD
_A._ _PROBLEM FORMULATION_
Given a partially observed traditional Chinese painting _I_ obs :
_�_ obs ⊂ R <sup>2</sup> → R <sup>3</sup>, our objective is to reconstruct the
complete image _I_ complete : _�_ → R <sup>3</sup>, where _�_ obs ∪ _�_ miss = _�_
and _�_ obs ∩ _�_ miss = ∅. Traditional Chinese paintings exhibit
distinctive characteristics including sparse brush-ink distributions and hierarchical structural dependencies from local
strokes to global composition. These properties necessitate
a principled approach that can capture both the stochastic
nature of artistic expression and the deterministic constraints
of structural coherence.
We formulate the completion problem as finding an
optimal transport mapping between probability measures in
a feature space. Let _P_ (R <sup>_d_</sup> ) denote the space of probability
measures on R <sup>_d_</sup> . For any image patch _Pi_ ⊂ _I_, we construct
its feature distribution _µi_ ∈ _P_ (R <sup>_d_</sup> ) through kernel density
estimation:
_µi_ =
_Ni_
_j_ =1
_wi,jδfi,j_ (1)
where _fi,j_ ∈ R <sup>_d_</sup> represents the feature vector of the _j_ -th
pixel in patch _Pi_, _wi,j_ denotes the associated weight, and
_δfi,j_ is the Dirac measure centered at _fi,j_ . The feature vectors
incorporate multi-scale gradients, texture orientations, and
brush-ink intensity information to capture the artistic essence
of traditional paintings.
The weights _wi,j_ encode pixel importance within each
patch, initially computed as _wi,j_ = exp(−∥ _xi,j_ _ci_ ∥ <sup>2</sup> _/_ 2 _σ_ <sup>2</sup> ) _/Zi_, where _xi,j_ denotes the spatial coordinates, _ci_
is the patch center, _σ_ = 8 pixels controls spatial decay,
and _Zi_ normalizes to ensure <sup>�</sup> _j_ <sup>_wi,j_</sup> <sup>=</sup> <sup>1.</sup> <sup>During</sup> <sup>training,</sup>
these weights are refined through back-propagation to
emphasize semantically salient regions while preserving the
probability measure structure essential for optimal transport
computation.
Figure 2 illustrates the pipeline of Hierarchical Optimal
Transport for Painting (HOT-Paint). The optimal transport
framework provides a natural mathematical foundation for
texture synthesis by minimizing the Kantorovich functional.
Given two probability measures _µ, ν_ ∈ _P_ (R <sup>_d_</sup> ), the
Wasserstein- _p_ distance is defined as:
R <sup>_d_</sup> ×R <sup>_d_</sup> <sup>_c_</sup> <sup>(</sup> <sup>_x, y_</sup> <sup>)</sup> <sup>_p dπ_</sup> <sup>(</sup> <sup>_x, y_</sup> <sup>)</sup>
�1 _/p_
(2)
_Wp_ ( _µ, ν_ ) =
inf
_π_ ∈ _�_ ( _µ,ν_ )
where _�_ ( _µ, ν_ ) represents the set of transport plans (coupling
measures) with marginals _µ_ and _ν_, and _c_ ( _x, y_ ) denotes the
transport cost function. The infimum is achieved by the
optimal transport plan _π_ <sup>∗</sup>, which provides the most efficient
way to transform the source distribution _µ_ into the target
distribution _ν_ .
_B._ _WASSERSTEIN SPACE-BASED TEXTURE MODELLING_
To address the dynamic nature of texture propagation
in traditional paintings, we employ the Benamou-Brenier
dynamic formulation [38] of optimal transport. This approach
transforms the static Kantorovich problem into a fluid
dynamics framework, which naturally models the flow-like
propagation of brush-ink textures.
FIGURE 2. Overview of the proposed hierarchical optimal transport framework for traditional Chinese painting inpainting. The pipeline consists of
multi-scale feature encoding, probability distribution construction via kernel density estimation, hierarchical transport computation with sparsity
regularization, and texture synthesis with boundary refinement.
The dynamic optimal transport problem is formulated as:
<u>1</u>
(3)
2 <sup>_ρt_</sup> <sup>(</sup> <sup>_x_</sup> <sup>)|</sup> <sup>_vt_</sup> <sup>(</sup> <sup>_x_</sup> <sup>)|2</sup> <sup>_dx_</sup> <sup>_dt_</sup>
inference [39]:
_p_ ( _α, β, γ_ | _D_ ) ∝ _p_ ( _D_ | _α, β, γ_ ) _p_ ( _α, β, γ_ ) (6)
The semantic component _c_ sem specifically captures cultural artistic principles through features encoding compositional balance, negative space distribution, and brush stroke
continuity. Ablation reveals this term contributes 28.3%
to overall performance, particularly preserving traditional
aesthetic structure.
To handle the multi-scale nature of traditional paintings,
we develop a hierarchical transport strategy. We construct an
image pyramid { _I_ <sup>(</sup> <sup>_l_</sup> <sup>)</sup> } <sup>_L_</sup> _l_ =0 <sup>where</sup> <sup>_l_</sup> <sup>= 0 corresponds to the finest</sup>
resolution. At each scale _l_, we define the transport problem:
min
_ρ,v_
- 1
0
R <sup>_d_</sup>
subject to the continuity equation:
_∂t_ _ρt_ + ∇· ( _ρt_ _vt_ ) = 0 (4)
with boundary conditions _ρ_ 0 = _µ_ and _ρ_ 1 = _ν_ . Here, _ρt_ ( _x_ )
represents the density distribution at time _t_, and _vt_ ( _x_ ) denotes
the velocity field governing the transport dynamics.
We note that the Benamou-Brenier formulation strictly
applies to quadratic costs _c_ ( _x, y_ ) = ∥ _x_ - _y_ ∥ <sup>2</sup> 2 <sup>.</sup> <sup>While</sup>
this dynamic perspective provides intuitive understanding of
texture flow, our actual implementation employs the static
Kantorovich formulation with the adaptive cost function
in Eq. 5. In practice, we directly solve the static optimal
transport problem using the modified Sinkhorn algorithm,
which provides computational efficiency while preserving
the conceptual benefits of transport-based texture modelling.
Figure 3 visualizes the optimal transport process in
Wasserstein space, demonstrating how texture distributions
are efficiently transferred while preserving the sparse characteristics of traditional paintings. In Figure 3, axes _x_ 1 and
_x_ 2 denote the first two principal components obtained
through PCA projection of the d-dimensional feature vectors,
enabling visualization of the high-dimensional transport
dynamics. These components capture approximately 73%
of the variance in brush texture features, with _x_ 1 primarily
encoding ink intensity gradients and _x_ 1 representing stroke
patterns.
For traditional Chinese paintings, we design an adaptive
cost function that captures both geometric and artistic
similarities:
_c_ ( _x, y_ ) = _αc_ geo( _x, y_ ) + _βc_ tex( _x, y_ ) + _γ c_ sem( _x, y_ ) (5)
where _c_ geo( _x, y_ ) = ∥ _x_ - _y_ ∥2 represents the geometric distance, _c_ tex( _x, y_ ) measures texture similarity through
Gabor filter responses, and _c_ sem( _x, y_ ) quantifies semantic
distance using pre-trained deep features. The weight parameters { _α, β, γ_ } are learned adaptively through variational
_Wp_ <sup>(</sup> <sup>_l_</sup> <sup>)</sup>
_p_ <sup>(</sup> <sup>_l_</sup> <sup>)(</sup> <sup>_µ_</sup> <sup>(</sup> <sup>_l_</sup> <sup>)</sup> <sup>_, ν_</sup> <sup>(</sup> <sup>_l_</sup> <sup>)) =</sup> <sup>inf</sup>
_π_ <sup>(</sup> <sup>_l_</sup> <sup>)</sup>
_c_ <sup>(</sup> <sup>_l_</sup> <sup>)</sup> ( _x, y_ ) <sup>_p_</sup> _dπ_ <sup>(</sup> <sup>_l_</sup> <sup>)</sup> ( _x, y_ ) (7)
Furthermore, we introduce the inter-scale consistency
constraints. We define upsampling operator _U_ <sup>_l_</sup> <sup>→</sup> <sup>_l_</sup> <sup>−1</sup>
and downsampling operator _D_ <sup>_l_</sup> <sup>−1→</sup> <sup>_l_</sup>, requiring:
_U_ <sup>_l_</sup> <sup>→</sup> <sup>_l_</sup> <sup>−1</sup> ( _π_ <sup>(</sup> <sup>_l_</sup> <sup>)</sup> ) ≈ _π_ <sup>(</sup> <sup>_l_</sup> <sup>−1)</sup> (8)
The multi-scale optimization objective becomes:
_L_
_l_ =1
_L_ =
_L_
_l_ =0
_λlWp_ <sup>(</sup> <sup>_l_</sup> <sup>)(</sup> <sup>_µ_</sup> <sup>(</sup> <sup>_l_</sup> <sup>)</sup> <sup>_, ν_</sup> <sup>(</sup> <sup>_l_</sup> <sup>)) +</sup>
_ηl_ ∥ _U_ <sup>_l_</sup> <sup>→</sup> <sup>_l_</sup> <sup>−1</sup> ( _π_ <sup>(</sup> <sup>_l_</sup> <sup>)</sup> ) − _π_ <sup>(</sup> <sup>_l_</sup> <sup>−1)</sup> ∥ <sup>2</sup> _F_
(9)
where _λl_ and _ηl_ are scale-dependent weights that emphasize
fine details at higher resolutions.
To preserve the characteristic sparse structure of traditional
paintings, we incorporate _L_ 1 regularization into the transport
formulation:
min
_π_
_c_ ( _x, y_ ) _dπ_ ( _x, y_ ) + _µ_ ∥ _π_ ∥1 (10)
where the _L_ 1 norm promotes sparsity in the transport plan,
naturally preserving blank spaces.
Unlike standard optimal transport methods that produce
fully-supported transport plans through strict marginal constraint enforcement, our L1-regularized formulation fundamentally modifies the transport structure. Classical Sinkhorn
FIGURE 3. Optimal transport formulation for traditional Chinese painting completion in Wasserstein space. (a) Source probability distribution _µ_
constructed from observed ink regions using kernel density estimation, where blue points represent feature vectors extracted from intact painting
areas. (b) Target probability distribution _ν_ defined over missing regions, where magenta points indicate desired completion locations while
preserving characteristic blank space aesthetics. (c) Optimal transport plan visualization showing the computed transport flow field (orange
arrows) that efficiently maps source texture features to target locations while minimizing the Wasserstein distance.
iterations enforce _π_ 1 = _µ_ and _π_ 1 <sup>_T_</sup> <sup>=</sup> <sup>_ν_</sup> <sup>exactly, guaranteeing</sup>
mass transport to every target location and thus inappropriate texture synthesis in aesthetically blank regions. Our
soft-thresholding operation breaks this density preservation,
allowing transport plans with zero entries where artistic
negative space should persist, while maintaining approximate
marginal satisfaction through iterative rebalancing.
While solving the joint L1-entropy regularized problem requires specialized algorithms, we adopt a practical
approach: first solving the entropy-regularized optimal transport via Sinkhorn iterations, then applying soft-thresholding
for sparsification. The standard Sinkhorn iteration computes:
_π_ <sup>(</sup> <sup>_k_</sup> <sup>+1)</sup> = diag( _u_ <sup>(</sup> <sup>_k_</sup> <sup>)</sup> ) _K_ diag( _v_ <sup>(</sup> <sup>_k_</sup> <sup>)</sup> ) (11)
where _u_ <sup>(</sup> <sup>_k_</sup> <sup>)</sup> _, v_ <sup>(</sup> <sup>_k_</sup> <sup>)</sup> ∈ R <sup>_n_</sup> + <sup>are</sup> <sup>scaling</sup> <sup>vectors</sup> <sup>that</sup> <sup>converge</sup> <sup>to</sup>
Kantorovich potentials, _Kij_ = exp(− _Cij/ϵ_ ) is the Gibbs
kernel, and we subsequently apply SoftThresh( _π_ <sup>(</sup> <sup>_k_</sup> <sup>+1)</sup> _, τ_ ) to
induce sparsity.
To address the sparsity requirements of traditional Chinese
painting, we augment equation with L1 regularization:
min _π_ <sup>⟨</sup> <sup>_C, π_</sup> <sup>⟩+</sup> <sup>_ϵH_</sup> <sup>(</sup> <sup>_π_</sup> <sup>) +</sup> <sup>_λ_</sup> <sup>||</sup> <sup>_π_</sup> <sup>||1</sup> (12)
where _H_ ( _π_ ) = − <sup>�</sup> _ij_ <sup>_πij_</sup> <sup>log</sup> <sup>_πij_</sup> <sup>is the entropic regularization</sup>
and _λ_ || _π_ ||1 promotes sparse transport plans.
The regularized problem becomes:
_C._ _OPTIMIZATION PROCESSES_
Building upon the theoretical framework established
above, our algorithm consists of three main phases:
preprocessing, transport computation, and post-processing.
Algorithm 1 summarizes the complete procedure for optimal
transport-based traditional painting completion. We define
_S_ ( _Pk_ _, Ni,j_ ) as the texture synthesis operator that warps patch
_Pk_ to match neighborhood _Ni,j_ around pixel ( _i, j_ ), and _P_
as the Poisson blending operator for seamless boundary
integration.
The preprocessing phase extracts multi-scale features
and constructs probability measures with time complexity
_O_ ( _N_ log _N_ ), where _N_ is the number of pixels. The transport
computation phase employs the Sinkhorn algorithm with
complexity _O_ ( _KN_ <sup>2</sup> ) per scale, where _K_ is the number of
iterations. The total computational complexity is _O_ ( _LKN_ <sup>2</sup> )
for _L_ scales.
To ensure numerical stability, we implement the
log-domain Sinkhorn algorithm [40] to avoid exponential
overflow:
log _u_ <sup>(</sup> _i_ <sup>_k_</sup> <sup>+1)</sup>
log _v_ <sup>(</sup> _j_ <sup>_k_</sup> <sup>+1)</sup>
<sup>(</sup> _i_ <sup>_k_</sup> <sup>+1)</sup> = log _ai_ - LSE _j_ (log _v_ <sup>(</sup> _j_ <sup>_k_</sup> <sup>)</sup>
<sup>(</sup> _j_ <sup>_k_</sup> <sup>)</sup> + log _Kij_ ) (14)
<sup>(</sup> _i_ <sup>_k_</sup> <sup>+1)</sup> + log _Kij_ ) (15)
<sup>(</sup> _j_ <sup>_k_</sup> <sup>+1)</sup> = log _bj_ - LSE _i_ (log _u_ <sup>(</sup> _i_ <sup>_k_</sup> <sup>+1)</sup>
where LSE denotes the log-sum-exp operation. We adaptively
adjust the entropy regularization parameter _ϵ_ during iterations: starting with a large value for fast convergence and
gradually decreasing for improved accuracy.
For large-scale images, we employ several optimization techniques to enhance computational efficiency and
scalability. These include: (1) block-wise processing to
reduce memory requirements, (2) sparse matrix operations
exploiting local image correlations, (3) multi-threaded parallel computation across different scales, and (4) mixedprecision training to reduce computational overhead. These
optimizations enable real-time or near real-time completion
min
_π_
_c_ ( _x, y_ ) _dπ_ ( _x, y_ ) + _λ_ || _π_ ||1 (13)
where _λ_ _>_ 0 controls sparsity strength. This L1 penalty
induces zero entries in _π_, preventing texture synthesis at
corresponding image locations.
The sparse transport plan directly preserves blank spaces:
when _πij_ = 0, no texture from source patch _i_ transfers
to target location _j_, maintaining the original aesthetic void
characteristic of traditional Chinese paintings.
<u>Algorithm 1</u> <u>Hierarchical Optimal Transport</u>
Require: Observed painting _I_ obs : _�_ obs → R <sup>3</sup>, mask _M_,
scales _L_, parameters { _ϵ, τ, η_ }
Ensure: Completed painting _I_ complete : _�_ → R <sup>3</sup>
1: // Multi-scale Feature Extraction
2: Construct pyramid { _I_ <sup>(</sup> <sup>_l_</sup> <sup>)</sup> } <sup>_L_</sup> _l_ =0 <sup>where</sup> <sup>_I_</sup> <sup>(0)</sup> <sup>=</sup> <sup>_I_</sup> <sup>obs</sup>
3: for _l_ = 0 to _L_ do
4: Extract features _fi_ <sup>(</sup> _,_ <sup>_l_</sup> _j_ <sup>)</sup>
_i_ <sup>(</sup> _,_ <sup>_l_</sup> _j_ <sup>)</sup> <sup>= [∇</sup> <sup>_I_</sup> _i_ <sup>(</sup> _,_ <sup>_l_</sup> _j_ <sup>)</sup>
_i_ <sup>(</sup> _,_ <sup>_l_</sup> _j_ <sup>)</sup> <sup>_, Gθ_</sup> <sup>(</sup> <sup>_I_</sup> _i_ <sup>(</sup> _,_ <sup>_l_</sup> _j_ <sup>)</sup>
_i_ <sup>(</sup> _,_ <sup>_l_</sup> _j_ <sup>))</sup> <sup>_, T_</sup> <sup>(</sup> <sup>_I_</sup> _i_ <sup>(</sup> _,_ <sup>_l_</sup> _j_ <sup>)</sup>
<sup>(</sup> <sup>_l_</sup> <sup>)</sup> _i,j_
obs <sup>_w_</sup> <sup>(</sup> <sup>_l_</sup> <sup>)</sup>
5:
Build measures _µ_ <sup>(</sup> <sup>_l_</sup> <sup>)</sup> = <sup>�</sup>
Build measures _µ_ <sup>(</sup> <sup>_l_</sup> <sup>)</sup> = <sup>�</sup> ( _i,j_ )∈ _�_ <sup>(</sup> obs <sup>_l_</sup> <sup>)</sup> <sup>_w_</sup> _i_ <sup>(</sup> _,_ <sup>_l_</sup> _j_ <sup>)</sup> <sup>_δ_</sup> _fi_ <sup>(</sup> _,_ <sup>_l_</sup> _j_ <sup>)</sup> <sup>,</sup> <sup>_ν_</sup> <sup>(</sup> <sup>_l_</sup> <sup>)</sup> <sup>=</sup>
_i_ <sup>(</sup> _,_ <sup>_l_</sup> _j_ <sup>))]</sup>
( _i,j_ )∈ _�_ <sup>(</sup> <sup>_l_</sup> <sup>)</sup>
_i_ <sup>(</sup> _,_ <sup>_l_</sup> _j_ <sup>)</sup> <sup>_δ_</sup> _fi_ <sup>(</sup> _,_ <sup>_l_</sup> _j_ <sup>)</sup>
<sup>(</sup> miss <sup>_l_</sup> <sup>)</sup> <sup>_w_</sup> <sup>˜</sup> _i_ <sup>(</sup> _,_ <sup>_l_</sup> _j_ <sup>)</sup>
( _i,j_ )∈ _�_ <sup>(</sup> <sup>_l_</sup> <sup>)</sup>
_i_ <sup>(</sup> _,_ <sup>_l_</sup> _j_ <sup>)</sup> <sup>_δ_</sup> _f_ ˜ _i_ <sup>(</sup> _,_ <sup>_l_</sup> _j_ <sup>)</sup>
_i,j_
6: end for
7: // Hierarchical Transport Computation
8: for _l_ = _L_ downto 0 do
_fi_ <sup>(</sup> <sup>_l_</sup> <sup>)</sup> _, fj_ <sup>(</sup> <sup>_l_</sup> <sup>)</sup>
9: Compute cost _Cij_ <sup>(</sup> <sup>_l_</sup> <sup>)</sup>
_ij_ <sup>(</sup> <sup>_l_</sup> <sup>)</sup> = _αc_ geo( _i, j_ ) + _βc_ tex( _fi_ <sup>(</sup> <sup>_l_</sup> <sup>)</sup>
Compute cost _Cij_ <sup>(</sup> <sup>_l_</sup> <sup>)</sup> = _αc_ geo( _i, j_ ) + _βc_ tex( _fi_ <sup>(</sup> <sup>_l_</sup> <sup>)</sup> _, fj_ <sup>(</sup> <sup>_l_</sup> <sup>)</sup> ) +
_γ c_ sem( _i, j_ )
10: Initialize log _Kij_ <sup>(</sup> <sup>_l_</sup> <sup>)</sup> <sup>= −</sup> <sup>_C_</sup> _ij_ <sup>(</sup> <sup>_l_</sup> <sup>)</sup> <sup>_/ϵl_</sup> <sup>, log</sup> <sup>_u_</sup> <sup>(</sup> <sup>_l_</sup> <sup>)</sup> <sup>= log</sup> <sup>_v_</sup> <sup>(</sup> <sup>_l_</sup> <sup>)</sup> <sup>=</sup> <sup>0</sup>
11: repeat
10: Initialize log _Kij_ <sup>(</sup> <sup>_l_</sup> <sup>)</sup>
_ij_ <sup>(</sup> <sup>_l_</sup> <sup>)</sup> <sup>= −</sup> <sup>_C_</sup> _ij_ <sup>(</sup> <sup>_l_</sup> <sup>)</sup>
12: log _u_ <sup>(</sup> _i_ <sup>_l_</sup> <sup>)</sup>
13: log _v_ <sup>(</sup> _j_ <sup>_l_</sup> <sup>)</sup>
<sup>(</sup> _i_ <sup>_l_</sup> <sup>)</sup> ← log _a_ <sup>(</sup> _i_ <sup>_l_</sup> <sup>)</sup>
<sup>(</sup> _j_ <sup>_l_</sup> <sup>)</sup> ← log _b_ <sup>(</sup> _j_ <sup>_l_</sup> <sup>)</sup>
<sup>(</sup> _i_ <sup>_l_</sup> <sup>)</sup> - LSE _j_ (log _v_ <sup>(</sup> _j_ <sup>_l_</sup> <sup>)</sup>
<sup>(</sup> _j_ <sup>_l_</sup> <sup>)</sup> - LSE _i_ (log _u_ <sup>(</sup> _i_ <sup>_l_</sup> <sup>)</sup>
<sup>(</sup> _j_ <sup>_l_</sup> <sup>)</sup> + log _Kij_ <sup>(</sup> <sup>_l_</sup> <sup>)</sup>
<sup>(</sup> _i_ <sup>_l_</sup> <sup>)</sup> + log _Kij_ <sup>(</sup> <sup>_l_</sup> <sup>)</sup>
<sup>(</sup> <sup>_l_</sup> <sup>)</sup>
_ij_ <sup>)</sup>
<sup>(</sup> <sup>_l_</sup> <sup>)</sup>
_ij_ <sup>)</sup>
14: _π_ <sup>(</sup> <sup>_l_</sup> <sup>)</sup> ← exp(log _u_ <sup>(</sup> <sup>_l_</sup> <sup>)</sup> + log _K_ <sup>(</sup> <sup>_l_</sup> <sup>)</sup> + log _v_ <sup>(</sup> <sup>_l_</sup> <sup>)⊤</sup> )
15: _πij_ <sup>(</sup> <sup>_l_</sup> <sup>)</sup>
_ij_ <sup>(</sup> <sup>_l_</sup> <sup>)</sup> <sup>←</sup> <sup>SoftThresh(</sup> <sup>_π_</sup> _ij_ <sup>(</sup> <sup>_l_</sup> <sup>)</sup>
_ij_ <sup>(</sup> <sup>_l_</sup> <sup>)</sup> <sup>_, τl_</sup> <sup>); Renormalize</sup> <sup>_π_</sup> <sup>(</sup> <sup>_l_</sup> <sup>)</sup>
16: until ∥ _π_ <sup>(</sup> <sup>_l_</sup> <sup>)</sup> 1 - _a_ <sup>(</sup> <sup>_l_</sup> <sup>)</sup> ∥1 + ∥ _π_ <sup>(</sup> <sup>_l_</sup> <sup>)⊤</sup> 1 - _b_ <sup>(</sup> <sup>_l_</sup> <sup>)</sup> ∥1 _< δ_
17: if _l_ _< L_ then
18: _π_ <sup>(</sup> <sup>_l_</sup> <sup>)</sup> ← (1 − _ηl_ ) _π_ <sup>(</sup> <sup>_l_</sup> <sup>)</sup> + _ηlU_ <sup>_l_</sup> <sup>+1→</sup> <sup>_l_</sup> ( _π_ <sup>(</sup> <sup>_l_</sup> <sup>+1)</sup> )
19: end if
20: end for
21: // Texture Synthesis
22: for ( _i, j_ ) ∈ _�_ miss do
23: Sample patches { _Pk_ } by _π_ : <sup>(0)</sup> _,ij_
- _k_ <sup>_π_</sup> _k_ <sup>(0)</sup> _,ij_ <sup>·</sup> <sup>_S_</sup> <sup>(</sup> <sup>_Pk_</sup> <sup>_, Ni,j_</sup> <sup>)</sup>
24: end for
25: _I_ complete ← _P_ ( _I_ synth _, I_ obs _, ∂�_ miss)
Sample patches { _Pk_ } by _π_ : <sup>(0)</sup> _,ij_ <sup>;</sup> <sup>Synthesize</sup> <sup>_Ii,j_</sup> ←
- _k_ <sup>_π_</sup> _k_ <sup>(0)</sup> _,ij_ <sup>·</sup> <sup>_S_</sup> <sup>(</sup> <sup>_Pk_</sup> <sup>_, Ni,j_</sup> <sup>)</sup>
resized to 512 × 1024 resolution. CPDD encompasses four
traditional categories: 716 figure paintings, 537 flower-bird
compositions, 1,482 landscapes, and 492 boundary paintings
spanning multiple dynasties. This distribution reflects the
historical prevalence of landscape paintings in Chinese art
tradition. The dataset’s curated selection excludes modern
works with inconsistent styles, ensuring stylistic coherence
crucial for learning authentic colour distributions. The higher
resolution and elongated aspect ratio of CPDD paintings
present unique challenges for completion algorithms.
_B._ _IMPLEMENTATION DETAILS_
We implement our method using PyTorch 2.0 with CUDA
11.8 on dual NVIDIA A6000 GPUs. The feature extractor
employs ResNet-50 [41] pretrained on ImageNet [42],
extracting 2048-dimensional features from the penultimate
layer. For Gabor filters, we use 8 orientations with
wavelengths {4 _,_ 8 _,_ 16 _,_ 32} pixels. The multi-scale pyramid
consists of _L_ = 4 levels with downsampling factor 2.
The entropy regularization parameter _ϵ_ is initialized to
0.1 and exponentially decayed to 0.001 over 50 Sinkhorn
iterations. The sparsity threshold _τ_ is set to 10 <sup>−4</sup> for preserving blank spaces characteristic of traditional paintings. Interscale consistency weights { _ηl_ } follow geometric progression
_ηl_ = 0 _._ 5 <sup>_L_</sup> <sup>−</sup> <sup>_l_</sup> . The adaptive cost function weights { _α, β, γ_ } are
initialized to {1 _._ 0 _,_ 0 _._ 5 _,_ 0 _._ 3} and refined through variational
inference [39] with Beta(2,2) priors. Training employs Adam
optimizer [43] with learning rate 10 <sup>−4</sup>, batch size 8, and
1,200 epochs. We apply random masking with rectangular
and irregular shapes covering 20-60% of image area during
training.
For evaluation metrics, we adopt perceptual measures
including FID [44], P-IDS [11], and U-IDS U-IDS [45],
following established practices for large-scale completion
tasks. Pixel-wise L1 distance, PSNR and SSIM [46] are
unsuitable for traditional Chinese paintings where sparse
brush-ink distributions constitute essential artistic elements
rather than missing content. These deterministic metrics
penalize the stochastic nature of artistic expression and fail
to capture the semantic coherence of compositional balance
[47]. Even LPIPS [45], despite operating in feature space,
inappropriately penalizes the inherent variability in brush
technique interpretation. The Wasserstein-based transport
formulation naturally aligns with distribution-based metrics
that evaluate statistical similarity rather than pixel-level
correspondence.
Figure 4 demonstrates the cumulative effectiveness of
our hierarchical framework through progressive reconstruction quality. The damaged painting exhibits missing
facial features, while subsequent panels reveal systematic
improvement as components are integrated. The baseline
with adaptive weights and cost function (AW + FC)
achieves moderate reconstruction with PSNR 27.24, but
fails to capture fine details and texture authenticity. Adding
sparsity regularization (AW + FC + SR) improves perceptual
quality to PSNR 30.80, preserving characteristic blank
26: return _I_ complete
of high-resolution traditional paintings while maintaining the
quality and authenticity of the artistic style.
The convergence of our algorithm is guaranteed under mild
regularity conditions. We prove that the modified Sinkhorn
algorithm with sparsity regularization converges at a rate
of _O_ (1 _/K_ ), where _K_ is the iteration count. The inter-scale
consistency constraints ensure that the hierarchical transport
plans remain coherent across all resolution levels, preventing
artifacts that could arise from independent scale processing.
IV. EXPERIMENTAL RESULTS
_A._ _DATASETS_
We evaluate our method on two complementary datasets.
CelebA-HQ provides 27,176 high-resolution facial images
at 256 × 256 resolution, serving as a benchmark for
general image completion methods. For domain-specific
evaluation, we utilize the Chinese Painting Description
Dataset (CPDD) [2], comprising 3,227 poem-painting pairs
FIGURE 4. Ablation study on traditional Chinese painting completion showing progressive performance improvement with component integration.
From left: original painting, intermediate results with PSNR/FID scores, demonstrating multi-scale hierarchy and sparsity regularization
effectiveness.
TABLE 1. Ablation study on CPDD dataset. MS: Multi-scale hierarchy, SR: Sparsity regularization, AW: Adaptive weights, IC: Inter-scale consistency, DT:
Dynamic transport, FC: Full cost function. Performance degradation from the full model is shown in parentheses.
spaces while enhancing boundary coherence. Incorporating
multi-scale hierarchy (AW + FC + SR + MS) further
advances performance to PSNR 36.14. The complete HOTPaint (Full) framework achieves optimal reconstruction with
PSNR 36.58 and superior FID 3.11, demonstrating seamless
integration between completed regions and existing brush
strokes.
_C._ _ABLATION STUDY_
We conduct comprehensive ablation experiments on the
CPDD dataset [2] to validate each component in our
framework. Table 1 presents the quantitative results under
various configurations, evaluated with both small (10-30%)
and large (30-60%) mask ratios.
Table 1 quantifies individual component contributions
through systematic ablation on CPDD. Multi-scale hierarchy
proves indispensable, accounting for 61.5% and 72.1% FID
deterioration on small and large masks respectively. This
dominance reflects the intrinsic nature of traditional Chinese
paintings, where compositional elements span from fine
brush strokes to global spatial arrangements. Sparsity regularization exhibits comparable criticality with 41.8-45.5%
performance loss upon removal. Without this constraint, the
model generates excessive texture in regions traditionally left
blank, fundamentally misunderstanding the aesthetic role of
negative space in Chinese art. Dynamic transport formulation yields 35.7-40.5% improvement over static mappings,
empirically validating that brush stroke propagation requires
temporal modeling to capture artistic flow patterns. Interscale consistency demonstrates mask-dependent behavior:
31.4% degradation for large masks versus 26.9% for small
ones, indicating that extensive missing regions demand
stronger cross-resolution constraints. The synergistic effect
among components manifests through super-linear performance gains. Complete architecture achieves 34.67 P-IDS
compared to 13.85 in baseline configuration.
FIGURE 5. Parameter sensitivity analysis. (a) Entropy regularization _ϵ_ exhibits sharp transitions, with optimal performance confined to [0.01, 0.05].
(b) Sparsity threshold _τ_ demonstrates strong coupling with mask ratio; larger missing regions tolerate less aggressive sparsity. (c) Inter-scale consistency
weight _η_ reveals robust performance plateau around 0.5, suggesting natural balance between resolution levels.
TABLE 2. Quantitative comparison on CPDD and CelebA-HQ datasets. Best results are in Bold, second best are underlined. For fair comparison, all
methods are evaluated at the same resolution.
Figure 5 investigates parameter sensitivity across three
critical hyperparameters. Entropy regularization _ϵ_ exhibits
pronounced non-linearity: performance degrades rapidly outside the narrow optimal band [0.01, 0.05], where FID reaches
1.82. This sharp sensitivity arises from the fundamental tension in optimal transport between computational tractability
and solution sparsity. Excessive regularization ( _ϵ_ _>_ 0 _._ 1)
produces overly smooth transport plans that blur texture
boundaries, while insufficient regularization ( _ϵ_ _<_ 0 _._ 01)
yields numerically unstable solutions. The sparsity threshold
_τ_ reveals intriguing mask-dependent behavior. Small masks
tolerate aggressive sparsity enforcement, but performance
deteriorates systematically as mask ratio increases, confirming that larger missing regions require denser transport plans
to maintain structural coherence across boundaries.
Inter-scale consistency weight _η_ demonstrates remarkable
robustness within [0.4, 0.6], suggesting the hierarchical
architecture naturally balances information flow across
resolutions. This plateau behavior validates our design choice
of geometric progression for scale-specific weights.
_D._ _COMPARISON WITH STATE-OF-THE-ART METHODS_
We evaluate HOT-Paint against twelve state-of-the-art
inpainting methods on CPDD and CelebA-HQ datasets.
Experiments use rectangular and irregular masks covering
10-30% (small) and 30-60% (large) of images, measuring
performance through distribution-based metrics suitable for
artistic content evaluation.
Table.2 presents quantitative comparisons across both
datasets. On CPDD, HOT-Paint achieves superior performance with FID scores of 1.82/3.41 for small/large masks,
outperforming the second-best LaMa by 25.1%/35.5%
respectively. The performance gap demonstrates our
method’s effectiveness in preserving traditional painting
characteristics. P-IDS and U-IDS metrics further confirm this
advantage, with HOT-Paint reaching 34.67/48.92 on small
masks, indicating superior perceptual quality and semantic
consistency. Notably, traditional CNN-based approaches
(PartialConv, DeepFillv1/v2) exhibit poor performance
on CPDD with FID scores exceeding 12.0, highlighting
their inability to handle sparse brush-ink distributions.
FIGURE 6. Visual comparison on CPDD dataset. Top row: small mask completion (0723.png). Bottom row: large mask completion (1101.png).
Red boxes indicate masked regions. PSNR/FID values shown below each result. HOT-Paint preserves characteristic blank spaces while
maintaining structural coherence.
Recent transformer-based methods (MAT, CoModGAN)
show competitive results but struggle with large missing
regions in traditional paintings. On CelebA-HQ, performance
differences narrow considerably. MAT achieves better
P-IDS/U-IDS scores (21.15/32.56) on small masks, while
HOT-Paint maintains best FID (2.72), outperforming the
second-best MAT by 4.9%. For large masks, our method leads
in P-IDS/U-IDS (14.27/25.89), demonstrating robustness to
mask size variations. The consistent performance across
culturally distinct datasets validates our transport-based
formulation’s generalization capability. Parameter efficiency
analysis reveals HOT-Paint (78.4M) achieves superior results
with fewer parameters than CoModGAN (109.0M) and
ICT (150.0M), confirming the computational advantages of
optimal transport over adversarial training paradigms.
Figure 6 presents visual comparisons on two representative
CPDD examples demonstrating the qualitative performance
differences across methods. For the cherry blossom painting
(0723.png), traditional CNN-based approaches including
DeepFillv1/v2 generate blurred textures that fail to capture
the delicate brush stroke characteristics. ICT and MAT
produce sharper results but introduce artifacts around
branch boundaries. CoModGAN achieves reasonable texture
synthesis but struggles with maintaining the authentic
sparse distribution of ink elements. In contrast, HOT-Paint
preserves the characteristic blank spaces while seamlessly
integrating completed regions with existing brush patterns.
The landscape painting (1101.png) reveals similar trends,
where conventional methods either over-populate traditionally sparse areas or generate inconsistent architectural
details. HOT-Paint maintains structural coherence between
the completed building elements and surrounding mountain
textures, demonstrating superior understanding of traditional
painting composition principles. The quantitative metrics
align with visual observations, where HOT-Paint consistently
achieves better FID scores while maintaining perceptual
quality.
_E._ _REAL-WORLD RESTORATION APPLICATIONS_
Beyond synthetic evaluations, we demonstrate HOT-Paint’s
practical utility on authentic damaged traditional Chinese
paintings from museum collections. These real-world cases
FIGURE 7. Real-world restoration results on authentic damaged traditional Chinese paintings from museum collections. Top:
landscape painting with vertical tear damage. Bottom: bird-and-flower composition with missing regions. Multiple
completion variants demonstrate practical restoration capabilities.
present complex degradation patterns including age-related
deterioration, physical tears, and ink fading that challenge
conventional completion algorithms.
Figure 7 presents restoration results on two real-world
samples with distinct damage patterns. The landscape painting (top row) contains a vertical tear through the mountain
composition, requiring reconstruction of terrain elements
including rock formations and vegetation. The completed
regions maintain visual continuity with existing brushwork,
particularly in the transition areas between reconstructed and
original content. The bird-and-flower painting (bottom row)
exhibits irregular missing areas affecting both the branch
structure and background elements. The restoration preserves
the sparse ink distribution characteristic of this artistic
style, with completed branches following natural growth
patterns consistent with the original composition. Multiple
completion variants demonstrate variation in reconstruction
approaches while maintaining structural coherence.
_F._ _LIMITATIONS_
Despite achieving superior quantitative metrics, HOT-Paint
encounters fundamental challenges in complex anatomical
reconstruction, as demonstrated in Figure 8. The optimal
transport formulation inherently assumes unimodal target distributions, yet bird anatomy completion presents multimodal
semantic possibilities where multiple plausible reconstructions exist. The Wasserstein distance minimization, while
effective for texture synthesis, lacks sufficient semantic constraints to disambiguate anatomically correct configurations
from visually plausible alternatives. This limitation manifests
as structural inconsistencies across multiple completion variants, where transport plans converge to local minima without
global semantic coherence. The failure underscores the
fundamental tension between statistical optimality in feature
space and semantic correctness in high-level visual understanding, suggesting that pure distribution matching requires
augmentation with domain-specific anatomical priors.
Furthermore, two systematic limitations merit discussion.
First, computational complexity scales quadratically _O_ ( _N_ <sup>2</sup> )
with pixel count despite hierarchical optimization, limiting
real-time applications beyond 2K resolution. Second, the
Wasserstein formulation assumes unimodal transport distributions, causing ambiguity in multi-object scenarios where
multiple valid completion modes exist, though our sparsity
regularization partially mitigates this through selective transport activation.
FIGURE 8. Failure case analysis on traditional Chinese painting completion (771.png from CPDD dataset). Despite achieving superior
quantitative metrics than DeepFillv2, HOT-Paint generates multiple plausible completions with subtle structural inconsistencies in complex
bird anatomy reconstruction, highlighting inherent artistic interpretation ambiguity challenges.
V. CONCLUSION
We presented HOT-Paint, a hierarchical optimal transport
framework for traditional Chinese painting completion that
addresses the unique challenges of sparse brush-ink distributions and compositional balance. The key innovation
lies in formulating texture synthesis as a transport problem
in Wasserstein space, where the Benamou-Brenier dynamic
formulation naturally models artistic element propagation.
Our multi-scale hierarchy captures structural dependencies
from fine brush strokes to global composition, while sparsity
regularization preserves the aesthetic role of negative space.
The adaptive cost function integrates geometric, textural,
and semantic similarities through variational inference [39],
ensuring authentic reconstruction. Extensive experiments
on CPDD and CelebA-HQ datasets demonstrate significant
improvements over state-of-the-art methods, with more than
25.1% better FID scores. Real-world restoration results
confirm practical applicability for museum conservation.
Future work will explore extension to other artistic styles,
investigation of uncertainty quantification for restoration
confidence assessment, and development of interactive completion systems enabling collaborative human-AI restoration
workflows for enhanced museum conservation practices.
DATA AVAILABILITY
To request access to the Chinese Painting Description
Dataset, please contact corresponding author with reasonable
purposes. Please note that this full dataset is intended for
academic research only and should be used in compliance
with relevant data protection regulations.
REFERENCES
[1] I. Goodfellow, J. Pouget-Abadie, M. Mirza, B. Xu, D. Warde-Farley,
S. Ozair, A. Courville, and Y. Bengio, ‘‘Generative adversarial networks,’’
_Commun. ACM_, vol. 63, no. 11, pp. 139–144, 2020.
[2] Z. Lu, T. Guo, and F. Wang, ‘‘Semi-supervised Chinese poem-to-painting
generation via cycle-consistent adversarial networks,’’ _J. Electron. Imag._,
vol. 33, no. 5, Oct. 2024, Art. no. 053056.
[3] C. Villani, _Topics_ _in_ _Optimal_ _Transportation_, vol. 58. Providence, RI,
USA: American Mathematical Society, 2021.
[4] J. Zheng, L. Chen, J. Wang, Q. Chen, X. Huang, and L. Jiang, ‘‘Knowledge
distillation with T-Seg guiding for lightweight automated crack segmentation,’’ _Autom. Construct._, vol. 166, Oct. 2024, Art. no. 105585.
[5] Z. Lu, B. Lu, and F. Wang, ‘‘CausalSR: Structural causal model
driven super-resolution with counterfactual inference,’’ _Neurocomputing_,
vol. 646, Sep. 2025, Art. no. 130375. [Online]. Available: https://www.
sciencedirect.com/science/article/pii/S0925231225010471
[6] D. Pathak, P. Krahenbuhl, J. Donahue, T. Darrell, and A. A. Efros, ‘‘Context
encoders: Feature learning by inpainting,’’ in _Proc._ _IEEE_ _Conf._ _Comput._
_Vis. Pattern Recognit. (CVPR)_, Jun. 2016, pp. 2536–2544.
[7] S. Iizuka, E. Simo-Serra, and H. Ishikawa, ‘‘Globally and locally consistent
image completion,’’ _ACM_ _Trans._ _Graph._, vol. 36, no. 4, pp. 1–14,
Aug. 2017.
[8] C. Wu, H. Huang, L. Zhang, J. Chen, Y. Tong, and M. Zhou, ‘‘Towards
automated 3D evaluation of water leakage on a tunnel face via improved
GAN and self-attention DL model,’’ _Tunnelling_ _Underground_ _Space_
_Technol._, vol. 142, Dec. 2023, Art. no. 105432.
[9] J. Yu, Z. Lin, J. Yang, X. Shen, X. Lu, and T. S. Huang, ‘‘Generative image
inpainting with contextual attention,’’ in _Proc. IEEE/CVF Conf. Comput._
_Vis. Pattern Recognit._, Jun. 2018, pp. 5505–5514.
[10] J. Yu, Z. Lin, J. Yang, X. Shen, X. Lu, and T. Huang, ‘‘Free-form image
inpainting with gated convolution,’’ in _Proc. IEEE/CVF Int. Conf. Comput._
_Vis. (ICCV)_, Oct. 2019, pp. 4470–4479.
[11] S. Zhao, J. Cui, Y. Sheng, Y. Dong, X. Liang, E. Chang, and Y. Xu,
‘‘Large scale image completion via co-modulated generative adversarial
networks,’’ in _Proc. Int. Conf. Learn. Represent._, 2021.
[12] Y. Zeng, J. Fu, H. Chao, and B. Guo, ‘‘Learning pyramid-context encoder
network for high-quality image inpainting,’’ in _Proc._ _IEEE/CVF_ _Conf._
_Comput. Vis. Pattern Recognit. (CVPR)_, Jun. 2019, pp. 1486–1494.
[13] Y. Zeng, J. Fu, H. Chao, and B. Guo, ‘‘Aggregated contextual transfor
mations for high-resolution image inpainting,’’ _IEEE Trans. Vis. Comput._
_Graph._, vol. 29, no. 7, pp. 3266–3280, Jul. 2023.
[14] Y. Duan, B. Dong, K. He, C. Chen, Q. Xu, J. Xue, S. Liu, and M. Li,
‘‘Numerical simulation of cavitation flow field in venturi tube,’’ in
_Proc._ _4th_ _Int._ _Conf._ _Mech.,_ _Electron.,_ _Electr._ _Autom._ _Control_ _(METMS)_,
Jun. 2024, p. 307.
[15] Z. Lu and F. Wang, ‘‘City scene super-resolution via geometric error min
imization,’’ _J. Electron. Imag._, vol. 33, no. 1, Jan. 2024, Art. no. 013014.
[16] G. Liu, F. A. Reda, K. J. Shih, T.-C. Wang, A. Tao, and B. Catanzaro,
‘‘Image inpainting for irregular holes using partial convolutions,’’ in _Proc._
_Eur. Conf. Comput. Vis. (ECCV)_, 2018, pp. 89–105.
[17] R. Suvorov, E. Logacheva, A. Mashikhin, A. Remizova, A. Ashukha,
A. Silvestrov, N. Kong, H. Goka, K. Park, and V. Lempitsky, ‘‘Resolutionrobust large mask inpainting with Fourier convolutions,’’ in _Proc._
_IEEE/CVF_ _Winter_ _Conf._ _Appl._ _Comput._ _Vis._ _(WACV)_, Jan. 2022,
pp. 3172–3182.
[18] M. Zhu, D. He, X. Li, C. Li, F. Li, X. Liu, E. Ding, and Z. Zhang, ‘‘Image
inpainting by end-to-end cascaded refinement with mask awareness,’’
_IEEE Trans. Image Process._, vol. 30, pp. 4855–4866, 2021.
[19] X. Ju, X. Liu, X. Wang, Y. Bian, Y. Shan, and Q. Xu, ‘‘BrushNet: A plug
and-play image inpainting model with decomposed dual-branch diffusion,’’ in _Proc. Eur. Conf. Comput. Vis._ Cham, Switzerland: Springer, 2024,
pp. 150–168.
[20] H. Liu, Y. Wang, B. Qian, M. Wang, and Y. Rui, ‘‘Structure matters:
Tackling the semantic discrepancy in diffusion models for image
inpainting,’’ in _Proc._ _IEEE/CVF_ _Conf._ _Comput._ _Vis._ _Pattern_ _Recognit._
_(CVPR)_, Jun. 2024, pp. 8038–8047.
[21] W. Li, Z. Lin, K. Zhou, L. Qi, Y. Wang, and J. Jia, ‘‘MAT: Mask-aware
transformer for large hole image inpainting,’’ in _Proc._ _IEEE/CVF_ _Conf._
_Comput. Vis. Pattern Recognit. (CVPR)_, Jun. 2022, pp. 10758–10768.
[22] Z. Wan, J. Zhang, D. Chen, and J. Liao, ‘‘High-fidelity pluralistic image
completion with transformers,’’ in _Proc. IEEE/CVF Int. Conf. Comput. Vis._
_(ICCV)_, Oct. 2021, pp. 4672–4681.
[23] K. Nazeri, E. Ng, T. Joseph, F. Z. Qureshi, and M. Ebrahimi, ‘‘EdgeCon
nect: Generative image inpainting with adversarial edge learning,’’ 2019,
_arXiv:1901.00212_ .
[24] H. Liu, B. Jiang, Y. Xiao, and C. Yang, ‘‘Coherent semantic attention for
image inpainting,’’ in _Proc._ _IEEE/CVF_ _Int._ _Conf._ _Comput._ _Vis._ _(ICCV)_,
Oct. 2019, pp. 4169–4178.
[25] W. Xiong, J. Yu, Z. Lin, J. Yang, X. Lu, C. Barnes, and J. Luo,
‘‘Foreground-aware image inpainting,’’ in _Proc. IEEE/CVF Conf. Comput._
_Vis. Pattern Recognit. (CVPR)_, Jun. 2019, pp. 5833–5841.
[26] Z. Lu, Y. Zhang, H. Xu, and H. Chen, ‘‘Fabric defect detection via a spatial
cloze strategy,’’ _Textile Res. J._, vol. 93, nos. 7–8, pp. 1612–1627, Apr. 2023.
[27] C. Zheng, T.-J. Cham, and J. Cai, ‘‘Pluralistic image completion,’’ in
_Proc. IEEE/CVF Conf. Comput. Vis. Pattern Recognit. (CVPR)_, Jun. 2019,
pp. 1438–1447.
[28] D. P. Kingma and M. Welling, ‘‘Auto-encoding variational Bayes,’’ _Stat_,
vol. 1050, p. 1, Mar. 2014.
[29] H. Liu, Z. Wan, W. Huang, Y. Song, X. Han, and J. Liao, ‘‘PD-GAN:
Probabilistic diverse GAN for image inpainting,’’ in _Proc. IEEE/CVF Conf._
_Comput. Vis. Pattern Recognit. (CVPR)_, Jun. 2021, pp. 9371–9381.
[30] X. Feng, W. Pei, F. Li, F. Chen, D. Zhang, and G. Lu, ‘‘Generative memory
guided semantic reasoning model for image inpainting,’’ _IEEE_ _Trans._
_Circuits Syst. Video Technol._, vol. 32, no. 11, pp. 7432–7447, Nov. 2022.
[31] H. Li, G. Li, L. Lin, H. Yu, and Y. Yu, ‘‘Context-aware semantic
inpainting,’’ _IEEE_ _Trans._ _Cybern._, vol. 49, no. 12, pp. 4398–4411,
Dec. 2019.
[32] D. Ding, S. Ram, and J. J. Rodríguez, ‘‘Image inpainting using nonlocal
texture matching and nonlinear filtering,’’ _IEEE_ _Trans._ _Image_ _Process._,
vol. 28, no. 4, pp. 1705–1719, Apr. 2019.
[33] K. Liu, Z. Zhu, C. Li, H. Liu, H. Zeng, and J. Hou, ‘‘Prefpaint: Aligning
image inpainting diffusion model with human preference,’’ in _Proc._ _38th_
_Int. Conf. Neural Inf. Process. Syst._, Apr. 2024, pp. 30554–30589.
[34] X. Tang, X. Hu, X. Gu, and J. Sun, ‘‘Residual-conditioned optimal trans
port: Towards structure-preserving unpaired and paired image restoration,’’
in _Proc. Int. Conf. Mach. Learn._, Apr. 2024, pp. 47757–47777.
[35] S. Boufelja Y., A. Quinn, M. Corless, and R. Shorten, ‘‘Fully probabilistic
design for optimal transport,’’ 2022, _arXiv:2212.13912_ .
[36] M. Corless, A. Quinn, S. Boufelja, and R. Shorten, ‘‘Algorithms for
constrained optimal transport,’’ 2024, _arXiv:2404.00003_ .
[37] S. Gerber and M. Maggioni, ‘‘Multiscale strategies for computing optimal
transport,’’ _J. Mach. Learn. Res._, vol. 18, no. 72, pp. 1–32, 2017.
[38] J.-D. Benamou and Y. Brenier, ‘‘A computational fluid mechanics solution
to the monge-kantorovich mass transfer problem,’’ _Numerische_ _Math._,
vol. 84, no. 3, pp. 375–393, Jan. 2000.
[39] D. M. Blei, A. Kucukelbir, and J. D. McAuliffe, ‘‘Variational inference:
A review for statisticians,’’ _J._ _Amer._ _Stat._ _Assoc._, vol. 112, no. 518,
pp. 859–877, Apr. 2017.
[40] M. Cuturi, ‘‘Sinkhorn distances: Lightspeed computation of optimal
transport,’’ in _Proc. 27th Int. Conf. Neural Inf. Process. Syst._, vol. 26, 2013,
pp. 2292–2300.
[41] K. He, X. Zhang, S. Ren, and J. Sun, ‘‘Deep residual learning for image
recognition,’’ in _Proc. IEEE Conf. Comput. Vis. Pattern Recognit. (CVPR)_,
Jun. 2016, pp. 770–778.
[42] A. Krizhevsky, I. Sutskever, and G. E. Hinton, ‘‘ImageNet classification
with deep convolutional neural networks,’’ _Commun. ACM_, vol. 60, no. 6,
pp. 84–90, May 2017.
[43] D. P. Kingma and J. Ba, ‘‘Adam: A method for stochastic optimization,’’
2014, _arXiv:1412.6980_ .
[44] M. Heusel, H. Ramsauer, T. Unterthiner, B. Nessler, and S. Hochreiter,
‘‘GANs trained by a two time-scale update rule converge to a local Nash
equilibrium,’’ in _Proc._ _31st_ _Int._ _Conf._ _Neural_ _Inf._ _Process._ _Syst._, 2017,
pp. 6629–6640.
[45] R. Zhang, P. Isola, A. A. Efros, E. Shechtman, and O. Wang, ‘‘The
unreasonable effectiveness of deep features as a perceptual metric,’’
in _Proc._ _IEEE/CVF_ _Conf._ _Comput._ _Vis._ _Pattern_ _Recognit._, Jun. 2018,
pp. 586–595.
[46] Z. Wang, A. C. Bovik, H. R. Sheikh, and E. P. Simoncelli, ‘‘Image quality
assessment: From error visibility to structural similarity,’’ _IEEE_ _Trans._
_Image Process._, vol. 13, no. 4, pp. 600–612, Apr. 2004.
[47] C. Ledig, L. Theis, F. Huszár, J. Caballero, A. Cunningham, A. Acosta,
A. Aitken, A. Tejani, J. Totz, Z. Wang, and W. Shi, ‘‘Photo-realistic
single image super-resolution using a generative adversarial network,’’
in _Proc._ _IEEE_ _Conf._ _Comput._ _Vis._ _Pattern_ _Recognit._ _(CVPR)_, Jul. 2017,
pp. 4681–4690.
WENMIAO JIANG received the Ph.D. degree from Jiangnan University,
China, in 2025. She is currently a Lecturer with the School of Fine Arts,
Fuyang Normal University. Her primary research interests include the digital
regeneration of traditional paintings, image processing, and related advanced
visual computing.
SHUNKAI ZHANG is currently pursuing the Ph.D. degree with
Shanghai Academy of Fine Arts, Shanghai University, Shanghai, China.
From 2015 to 2016, he participated in the construction project of digital
protection and display platform of china paper cutting database. He is an
Associate Professor with the School of Fine Arts, Fuyang Normal University.
His research interests include digital image processing, digital regeneration
of traditional handicrafts, and brand strategy.
SHENGQI YOU (Member, IEEE) joined the Honors College, Zhejiang
University of Technology, in 2021, with a major in EECS. He had an
exchange with the University of California at Irvine and has an in-depth study
with the Institute of Cyber Security, Zhejiang University of Technology. His
current research interests include graph neural networks and target detection,
especially 3D point cloud data.
PENGBIN FENG received the Ph.D. degree from the Department of
Mathematics, University of Southern California, Los Angeles, CA, USA,
in 2021. He is currently a Research Scientist. His research interests
include applied mathematics, deep learning, computer vision and image
processing, natural language processing, large language models, and
artificial intelligence applications.
ZHENGYANG LU (Member, IEEE) received the M.Sc. degree in electrical
and electronic engineering from the University of Surrey, in 2018, and the
Ph.D. degree in control engineering from Jiangnan University, in 2023. He is
currently a Senior Lecturer with the School of Design, Jiangnan University.
His current research interests include social computing, city research, image
processing, and applied artificial intelligence.
섹션 본문
섹션 본문이 없습니다.
참고문헌 37건
- Generative adversarial networks Communications of the ACM · Association for Computing Machinery · 2020 10.1145/3422622
- Semi-supervised Chinese poem-to-painting generation via cycle-consistent adversarial networks Journal of Electronic Imaging · SPIE · 2024 10.1117/1.jei.33.5.053056
- Topics in Optimal Transportation Graduate studies in mathematics · American Mathematical Society · 2003 10.1090/gsm/058
- Knowledge distillation with T-Seg guiding for lightweight automated crack segmentation Automation in Construction · Elsevier BV · 2024 10.1016/j.autcon.2024.105585
- CausalSR: Structural causal model-driven super-resolution with counterfactual inference Neurocomputing · Elsevier BV · 2025 10.1016/j.neucom.2025.130375
- Context Encoders: Feature Learning by Inpainting 2016 10.1109/cvpr.2016.278
- Globally and locally consistent image completion ACM Transactions on Graphics · Association for Computing Machinery · 2017 10.1145/3072959.3073659
- Towards automated 3D evaluation of water leakage on a tunnel face via improved GAN and self-attention DL model Tunnelling and Underground Space Technology · Elsevier BV · 2023 10.1016/j.tust.2023.105432
- Generative Image Inpainting with Contextual Attention 2018 10.1109/cvpr.2018.00577
- Free-Form Image Inpainting With Gated Convolution 2021 IEEE/CVF International Conference on Computer Vision (ICCV) · 2019 10.1109/iccv.2019.00457
- Learning Pyramid-Context Encoder Network for High-Quality Image Inpainting 2022 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR) · 2019 10.1109/cvpr.2019.00158
- Aggregated Contextual Transformations for High-Resolution Image Inpainting IEEE Transactions on Visualization and Computer Graphics · Institute of Electrical and Electronics Engineers · 2022 10.1109/tvcg.2022.3156949
- Numerical simulation of cavitation flow field in Venturi tube 2024 10.1117/12.3030624
- City scene super-resolution via geometric error minimization Journal of Electronic Imaging · SPIE · 2024 10.1117/1.jei.33.1.013014
- Image Inpainting for Irregular Holes Using Partial Convolutions Lecture notes in computer science · Springer Science+Business Media · 2018 10.1007/978-3-030-01252-6_6
- Resolution-robust Large Mask Inpainting with Fourier Convolutions 2022 IEEE/CVF Winter Conference on Applications of Computer Vision (WACV) · 2022 10.1109/wacv51458.2022.00323
- Image Inpainting by End-to-End Cascaded Refinement With Mask Awareness IEEE Transactions on Image Processing · Institute of Electrical and Electronics Engineers · 2021 10.1109/tip.2021.3076310
- BrushNet: A Plug-and-Play Image Inpainting Model with Decomposed Dual-Branch Diffusion Lecture notes in computer science · Springer Science+Business Media · 2024 10.1007/978-3-031-72661-3_9
- Structure Matters: Tackling the Semantic Discrepancy in Diffusion Models for Image Inpainting 2024 10.1109/cvpr52733.2024.00768
- MAT: Mask-Aware Transformer for Large Hole Image Inpainting 2022 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR) · 2022 10.1109/cvpr52688.2022.01049
- High-Fidelity Pluralistic Image Completion with Transformers 2021 IEEE/CVF International Conference on Computer Vision (ICCV) · 2021 10.1109/iccv48922.2021.00465
- EdgeConnect: Generative Image Inpainting with Adversarial Edge Learning arXiv (Cornell University) · Cornell University · 2019 10.48550/arxiv.1901.00212
- Coherent Semantic Attention for Image Inpainting 2021 IEEE/CVF International Conference on Computer Vision (ICCV) · 2019 10.1109/iccv.2019.00427
- Foreground-Aware Image Inpainting 2022 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR) · 2019 10.1109/cvpr.2019.00599
- Fabric defect detection via a spatial cloze strategy Textile Research Journal · SAGE Publishing · 2022 10.1177/00405175221135205
- Pluralistic Image Completion 2022 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR) · 2019 10.1109/cvpr.2019.00153
- PD-GAN: Probabilistic Diverse GAN for Image Inpainting 2022 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR) · 2021 10.1109/cvpr46437.2021.00925
- Generative Memory-Guided Semantic Reasoning Model for Image Inpainting IEEE Transactions on Circuits and Systems for Video Technology · Institute of Electrical and Electronics Engineers · 2022 10.1109/tcsvt.2022.3188169
- Context-Aware Semantic Inpainting IEEE Transactions on Cybernetics · Institute of Electrical and Electronics Engineers · 2018 10.1109/tcyb.2018.2865036
- Image Inpainting Using Nonlocal Texture Matching and Nonlinear Filtering IEEE Transactions on Image Processing · Institute of Electrical and Electronics Engineers · 2018 10.1109/tip.2018.2880681
- A computational fluid mechanics solution to the Monge-Kantorovich mass transfer problem Numerische Mathematik · Springer Science+Business Media · 2000 10.1007/s002110050002
- Variational Inference: A Review for Statisticians Journal of the American Statistical Association · 2017 10.1080/01621459.2017.1285773
- Deep Residual Learning for Image Recognition 2016 10.1109/cvpr.2016.90
- ImageNet classification with deep convolutional neural networks Communications of the ACM · Association for Computing Machinery · 2017 10.1145/3065386
- The Unreasonable Effectiveness of Deep Features as a Perceptual Metric 2018 10.1109/cvpr.2018.00068
- Image quality assessment: from error visibility to structural similarity IEEE Transactions on Image Processing · Institute of Electrical and Electronics Engineers · 2004 10.1109/tip.2003.819861
- Photo-Realistic Single Image Super-Resolution Using a Generative Adversarial Network 2017 10.1109/cvpr.2017.19