Papers › Structured-Prior-Guided Diffusion Inpainting with Physical Consistency for Traffic...

Structured-Prior-Guided Diffusion Inpainting with Physical Consistency for Traffic Sign Augmentation

2 Sep 2026arXiv:2609.02348added by Syntology

Luo Li, Chongchong Huang, Jun Jia, Qiang Gao, Xinlong Liu, Gui Yang, Liang Cao

Title, abstract, authors and date from arXiv's metadata (CC0); this paper is not in the Papers with Code archive (frozen 2025-07-28).

Traffic sign detection faces a long-tailed data distribution. Many rare signs matter as much as common ones from a regulatory standpoint, yet they have very few samples. Generative data augmentation is one way out. General-purpose inpainting models, however, distort digits, deform geometry and perspective, and shift colours when applied directly to sign regions. We trace this to a single gap: the conditioning signal is too abstract for the physical composition of a sign. We propose a structured-prior-guided diffusion inpainting framework with physical consistency. It injects the semantic, appearance and geometric priors of a sign through three orthogonal pathways: a JSON-formatted text prompt, a front-view vector template rendered with measured dominant colours (via IP-Adapter), and an affine-aligned vector template (via ControlNet). Two physical consistency losses constrain colour with a CIELAB chromaticity L₁ term and edge structure with a Sobel gradient term. We train by self-supervised reconstruction on a large set of images collected in-house at AMAP, then evaluate zero-shot on the public TT100K-2021 dataset, a different source. Our method uses a Stable Diffusion 1.5 backbone of about 1.4B parameters. It beats seven representative competitors on every metric of reconstruction fidelity, physical consistency and semantic controllability. Its OCR exact-match rate reaches 91.1\%, against 44.2\% for the 12B industrial model FLUX.1 Fill [dev], and it needs only 1/14 of that model's inference time. Leave-one-out ablations confirm that each of the three prior pathways and both loss terms contribute on their own. In downstream detection, the synthetic data raises the group-pooled AP50 of rare classes by 1.23× to 7.40× over a real-data-only baseline. Code and pre-trained models are available at https://github.com/52hz-whale/TrafficSignInpaint.

PaperPDFCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2609.02348")

Code

Syntology Ran 0 of 9 code samples harvested from 1 repository linked to this paper; 9 have no recorded run.

By repository: found in paper text by Syntology: 9 samples from 1 repository, 0 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

52hz-whale/TrafficSignInpaint found in paper text by SyntologyApache-2.0 report

Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

9 samples harvested; 0 ran; 0 honoured the contract we drafted; 9 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

9unverified

Licence: 0 of the 9 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from 52hz-whale/TrafficSignInpaint. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

case_name 52hz-whale/TrafficSignInpaint/src/infer.py found in paper text by Syntology unverified Apache-2.0 (permissive) · f5a83632c8892563 · report
check_digit_font 52hz-whale/TrafficSignInpaint/src/config.py found in paper text by Syntology unverified Apache-2.0 (permissive) · 3f86291b18155c3e · report
circle_2_ellipse_by_major_axis 52hz-whale/TrafficSignInpaint/src/dataset.py found in paper text by Syntology unverified Apache-2.0 (permissive) · b0c52130f8adecba · report
combined_edge_color_loss 52hz-whale/TrafficSignInpaint/src/loss.py found in paper text by Syntology unverified Apache-2.0 (permissive) · 6f58066a6cac1d73 · report
decode_array_from_json 52hz-whale/TrafficSignInpaint/src/dataset.py found in paper text by Syntology unverified Apache-2.0 (permissive) · 0591f915b19bf855 · report
extract_sign_colors 52hz-whale/TrafficSignInpaint/data_processing/color_estimate.py found in paper text by Syntology unverified Apache-2.0 (permissive) · 55df6c2d2670f308 · report
pred_original_sample_train 52hz-whale/TrafficSignInpaint/src/loss.py found in paper text by Syntology unverified Apache-2.0 (permissive) · ef963e52ba11593e · report
random_crop_around_bbox 52hz-whale/TrafficSignInpaint/data_processing/step1_crop.py found in paper text by Syntology unverified Apache-2.0 (permissive) · 7bea847972399edd · report
sort_triangle_points 52hz-whale/TrafficSignInpaint/src/dataset.py found in paper text by Syntology unverified Apache-2.0 (permissive) · 26192dc54b6808e1 · report

Results from the paper

The Papers with Code archive ends with its 2025-07-28 snapshot. This paper's arXiv identifier, 2609.02348, was issued in September 2026, after that date, so the archive has no leaderboard rows for it.

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections