SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2609.14439 · September 2026

Context-Aware Mutual Learning for Blind Image Inpainting and Beyond

Yufeng Wang, Haiyong Zheng, Zhaorui Gu, Bing Zheng, Haoru Zhao

arXiv · PDF · Open in the Atlas

Code that ran

7 of 8 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (0 of them constructed an object rather than computing a result; 0 honoured the contract we drafted, 2 violated it and 0 have no contract verdict; 5 failures of our instrument; 1 no recorded run), measured 2026-11-24; bodies inline only under a permissive licence as GitHub detects it. Not a reproduction of the paper's results.

"Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results. This record, dated, as JSON: /api/ran/2609.14439.json · badge: /api/ran/2609.14439.svg

Each repository's role is a label: a classifier's output recorded on the link, or, where no role is recorded, what the Papers with Code archive marked. The line under it names its basis. Neither says who wrote the code.

RepositoryRoleRan
zhenglab/CAML canonical (classifier label)
classifier basis: census
7 ran · 1 no recorded run
FunctionStatusWhere it lives
MAE Ran
ran, violated the contract we drafted
zhenglab/CAML/scores/mae.py
pointer only (licence: NONE) · get_code("1910bb6212d04c1b")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, zhenglab/CAML when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

calculate_activation_statistics Ran
ran; our contract draft was wrong, not the code
zhenglab/CAML/scores/fid_score.py
pointer only (licence: NONE) · get_code("c7dceb995ab5a16b")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, zhenglab/CAML when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

calculate_frechet_distance Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
zhenglab/CAML/scores/fid_score.py
pointer only (licence: NONE) · get_code("9482518e1985dbc5")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, zhenglab/CAML when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

compare_mae Ran
ran, violated the contract we drafted
zhenglab/CAML/scores/metrics.py
pointer only (licence: NONE) · get_code("54f3d3c0498a8789")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, zhenglab/CAML when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

get_activations Ran
ran; our contract draft was wrong, not the code
zhenglab/CAML/scores/fid_score.py
pointer only (licence: NONE) · get_code("4d4777ba95462434")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, zhenglab/CAML when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

img_resize Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
zhenglab/CAML/scores/bce.py
pointer only (licence: NONE) · get_code("275c486bdf54f77b")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, zhenglab/CAML when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

reduce_mean Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
zhenglab/CAML/scores/bce.py
pointer only (licence: NONE) · get_code("674e14375afad8c0")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, zhenglab/CAML when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

load_flist Not yet run
unverified (harvested, no recorded run)
zhenglab/CAML/scores/bce.py
pointer only (licence: NONE) · get_code("148bc989118281b6")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, zhenglab/CAML when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

Also present in other papers' code

Of 8 samples lifted from this paper's linked repositories, 8 carry a function identity and 0 do not. Of the 8 distinct functions with an identity, 5 are also present in other papers whose code we hold (5 with at least one paper dated earlier, 0 the same month, 0 later) and 3 are only here among the 52,977 papers whose code Syntology holds (as of 2026-09-26).

Only here means: among the 52,977 papers whose code Syntology holds (51,887 with lifted samples, 1,090 through their assemblies only), as of 2026-09-26, no other paper's lifted samples or current assembly bricks contain an identical function body after normalisation.

FunctionAlso present inEarliest-datedOthers named
calculate_frechet_distance 74 other papers
74 dated earlier
1610.09585 (2016-10)
Conditional Image Synthesis With Auxiliary Classifier GANs
1706.08500 (2017-06)
GANs Trained by a Two Time-Scale Update Rule Converge to a Local Nash Equilibrium
1807.11458 (2018-07)
To learn image super-resolution, use a GAN to learn how to do image degradation first
and 71 more not named here
calculate_activation_statistics 5 other papers
5 dated earlier
Guo_Painting_From_Part_ICCV_2021_paper (2021 (year only))
Painting from Part
2103.15087 (2021-03)
Learning a Sketch Tensor Space for Image Inpainting of Man-made Scenes
2203.00867 (2022-03)
Incremental Transformer Structure Enhanced Image Inpainting with Masking Positional Encoding
and 2 more not named here
compare_mae 1 other paper
1 dated earlier
Guo_Painting_From_Part_ICCV_2021_paper (2021 (year only))
Painting from Part
get_activations 1 other paper
1 dated earlier
Guo_Painting_From_Part_ICCV_2021_paper (2021 (year only))
Painting from Part
reduce_mean 1 other paper
1 dated earlier
Guo_Painting_From_Part_ICCV_2021_paper (2021 (year only))
Painting from Part

Presence, not direction: an identical function body in two papers' repositories does not say who wrote it, which came from which, or that either paper's method rests on it. Matching is exact after normalisation, so a renamed or edited function is not matched. Dates are when papers appeared, not when code was written. Only .py files the harvester lifted are covered; notebooks are not read. A new-style arXiv id YYMM.NNNN dates a paper to the month 20YY-MM; otherwise Paper.year dates it to the year; otherwise it is undated. Dates are when the paper appeared, not when the code was written. Read 2026-11-24.

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

Abstract

Blind image inpainting, aiming to recover contaminated images in the case of unknown masks, is a challenging task. Motivated by the perspective of human vision and knowledge, blind image inpainting can be decomposed into two stages: mask estimation and image inpainting based on the estimated mask. The two-stage idea exhibits evident advantages in enhancing inpainting quality and augmenting the generalization capability of unknown real-world contamination by explicitly employing the estimated mask for image inpainting compared to one-stage scheme. This two-stage idea has also been intuitively implemented. However, existing two-stage methods excessively emphasize the unilateral relationship of mask estimation to image inpainting, and may overlook the mutual relations between them. Specifically, mask estimation can provide more contextual semantics for image inpainting to strengthen the understanding of semantics, and image inpainting can offer more contextual details (e.g., textures and edges) for mask estimation to improve the learning of details. In this work, we propose a novel Context-Aware Mutual Learning (CAML) framework for blind image inpainting that joints mask estimation and image inpainting to mutually exploit contextual information. In the CAML framework, we design the Inpainting-Guided Context-Mutual (IGCM) learner to acquire the complementary contextual details from image inpainting for assisting mask estimation, and the Estimation-Guided Context-Mutual (EGCM) learner to strengthen the understanding of contextual semantics from mask estimation for assisting image inpainting. Ablation studies validate the efficacy of our CAML. Extensive experiments show that our CAML achieves state-of-the-art performance on both blind image inpainting and additional vision tasks, i.e., snow removal, shadow removal, and watermark removal, indicating its superiority.

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("2609.14439")
get_code_for_paper("2609.14439")
have("2609.14439")

The run record, dated, one paper per request, free:

curl https://syntology.ai/api/ran/2609.14439.json

A badge for a README (the split and the date, never a ratio):

[![Syntology run record](https://syntology.ai/api/ran/2609.14439.svg)](https://syntology.ai/paper/2609.14439)

Connect an agent — have() is free.