SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2510.15783 · NeurIPS · 2025

ReCon: Region-Controllable Data Augmentation with Rectification and Alignment for Object Detection

Bin Wang, Jun-Hai Yong, Rui Qin, Haowei Zhu, Tianxiang Pan

arXiv · PDF · Open in the Atlas

Code that ran

We lifted 13 functions out of this paper's own repositories and ran 1 of them in a sandbox. "Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results.

RepositoryRoleRan
haoweiz23/ReCon canonical 1 of 13
FunctionStatusWhere it lives
retrieve_timesteps Ran haoweiz23/ReCon/pipelines/pipeline_controlnet_recon.py
pointer only (licence: NONE) · get_code("63e7d99da5ea137f")
bbox_encode Not yet run haoweiz23/ReCon/utils/generation_utils.py
pointer only (licence: NONE) · get_code("9b752fc598a9435b")
create_cross_attention_mask Not yet run haoweiz23/ReCon/models/attention_processor.py
pointer only (licence: NONE) · get_code("edf3593ab00c7564")
create_polygon_mask Not yet run haoweiz23/ReCon/utils/plot_utils.py
pointer only (licence: NONE) · get_code("49d6c351dd5f8baa")
cross_attention_with_multi_KV Not yet run haoweiz23/ReCon/models/attention_processor.py
pointer only (licence: NONE) · get_code("7bb51e4545605eb5")
dilate_with_no_overlap Not yet run haoweiz23/ReCon/pipelines/recon_helper.py
pointer only (licence: NONE) · get_code("81954369153e1842")
get_bboxes_union Not yet run haoweiz23/ReCon/pipelines/recon_helper.py
pointer only (licence: NONE) · get_code("e7fd0e7384eafe63")
iou Not yet run haoweiz23/ReCon/pipelines/recon_helper.py
pointer only (licence: NONE) · get_code("e18fc75828d40d3f")
prepare_image Not yet run haoweiz23/ReCon/pipelines/pipeline_controlnet_recon.py
pointer only (licence: NONE) · get_code("97adae2d05ca5b3e")
random_split_dataset Not yet run haoweiz23/ReCon/generate.py
pointer only (licence: NONE) · get_code("5015fca4827c3ded")
retrieve_latents Not yet run haoweiz23/ReCon/pipelines/pipeline_controlnet_recon.py
pointer only (licence: NONE) · get_code("8262566e1ed7239a")
scaled_dot_product_attention Not yet run haoweiz23/ReCon/models/attention_processor.py
pointer only (licence: NONE) · get_code("f759aa4f93d14c47")
tokenize_coordinates Not yet run haoweiz23/ReCon/utils/generation_utils.py
pointer only (licence: NONE) · get_code("a402bc6a24a27858")

Repositories linked to this paper

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

Abstract

The scale and quality of datasets are crucial for training robust perception models. However, obtaining large-scale annotated data is both costly and time-consuming. Generative models have emerged as a powerful tool for data augmentation by synthesizing samples that adhere to desired distributions. However, current generative approaches often rely on complex post-processing or extensive fine-tuning on massive datasets to achieve satisfactory results, and they remain prone to content-position mismatches and semantic leakage. To overcome these limitations, we introduce ReCon, a novel augmentation framework that enhances the capacity of structure-controllable generative models for object detection. ReCon integrates region-guided rectification into the diffusion sampling process, using feedback from a pre-trained perception model to rectify misgenerated regions within diffusion sampling process. We further propose region-aligned cross-attention to enforce spatial-semantic alignment between image regions and their textual cues, thereby improving both semantic consistency and overall image fidelity. Extensive experiments demonstrate that ReCon substantially improve the quality and trainability of generated data, achieving consistent performance gains across various datasets, backbone architectures, and data scales. Our code is available at https://github.com/haoweiz23/ReCon.

For agents

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

get_harvested_code_for_paper("2510.15783")
get_code_for_paper("2510.15783")
have("2510.15783")

Connect an agent — have() is free.