Papers › X-Paste: Revisiting Scalable Copy-Paste for Instance Segmentation using CLIP and...

X-Paste: Revisiting Scalable Copy-Paste for Instance Segmentation using CLIP and StableDiffusion

7 Dec 2022arXiv:2212.03863archive 2025-07-28

Hanqing Zhao, Dianmo Sheng, Jianmin Bao, Dongdong Chen, Dong Chen, Fang Wen, Lu Yuan, Ce Liu, Wenbo Zhou, Qi Chu, Weiming Zhang, Nenghai Yu

Copy-Paste is a simple and effective data augmentation strategy for instance segmentation. By randomly pasting object instances onto new background images, it creates new training data for free and significantly boosts the segmentation performance, especially for rare object categories. Although diverse, high-quality object instances used in Copy-Paste result in more performance gain, previous works utilize object instances either from human-annotated instance segmentation datasets or rendered from 3D object models, and both approaches are too expensive to scale up to obtain good diversity. In this paper, we revisit Copy-Paste at scale with the power of newly emerged zero-shot recognition models (e.g., CLIP) and text2image models (e.g., StableDiffusion). We demonstrate for the first time that using a text2image model to generate images or zero-shot recognition model to filter noisily crawled images for different object categories is a feasible way to make Copy-Paste truly scalable. To make such success happen, we design a data acquisition and processing framework, dubbed ``X-Paste", upon which a systematic study is conducted. On the LVIS dataset, X-Paste provides impressive improvements over the strong baseline CenterNet2 with Swin-L as the backbone. Specifically, it archives +2.6 box AP and +2.1 mask AP gains on all classes and even more significant gains with +6.8 box AP, +6.5 mask AP on long-tail classes. Our code and models are available at https://github.com/yoctta/XPaste.

PaperPDFCodeCode 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="2212.03863")

Code

Syntology Ran 1 of 3 code samples harvested from 1 repository linked to this paper; 2 have no recorded run. Of those that ran: 1 ran · our draft was wrong.

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

yoctta/xpaste officialmentioned in papermentioned on GitHubpytorch report
aim-uofa/DiverGen mentioned on GitHubpytorchBSD-2-Clause report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. 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

3 samples harvested; 1 ran; 0 honoured the contract we drafted; 2 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.

1ran · our draft was wrong
2unverified

Licence: 3 of the 3 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 yoctta/XPaste. “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.

show_images yoctta/XPaste/generation/text2im.py official repository ran · our draft was wrong no licence file found · pointer only · fb696737fcf5870c · report
load_model_from_config yoctta/XPaste/generation/text2im.py official repository unverified no licence file found · pointer only · 38dfd086eed39fea · report
sample_ldm yoctta/XPaste/generation/text2im.py official repository unverified no licence file found · pointer only · 9ab914a1aef4d4be · report

Tasks

Data AugmentationInstance SegmentationObjectObject DetectionOpen Vocabulary Object DetectionSegmentationSemantic SegmentationZero-Shot Learning

Results from the paper archive 2025-07-28

TaskDatasetModelMetricValueRank at snapshotLeaderboardReport
Instance Segmentation COCO minival CenterNet2 (Swin-L w/ X-Paste + Copy-Paste) mask AP 48.8 #33 of 93 Archive leaderboard report
Instance Segmentation LVIS v1.0 val CenterNet2 (Swin-L w/ X-Paste + Copy-Paste) mask AP 45.4 #8 of 25 Archive leaderboard report
Instance Segmentation LVIS v1.0 val CenterNet2 (Swin-L w/ X-Paste + Copy-Paste) mask APr 43.8 #8 of 25 Archive leaderboard report
Object Detection LVIS v1.0 val CenterNet2 (Swin-L w/ X-Paste + Copy-Paste) box AP 50.9 #11 of 15 Archive leaderboard report
Object Detection LVIS v1.0 val CenterNet2 (Swin-L w/ X-Paste + Copy-Paste) box APr 48.7 #11 of 15 Archive leaderboard report
Open Vocabulary Object Detection LVIS v1.0 X-Paste AP novel-LVIS base training 21.4 #22 of 28 Archive leaderboard report
Open Vocabulary Object Detection LVIS v1.0 X-Paste AP novel-Unrestricted open-vocabulary training 22.8 #22 of 28 Archive leaderboard report

Ranks are positions in the archive's leaderboards as they stood at the 2025-07-28 snapshot. Results published since then are not among these rows, so a rank here is not a current standing.

Methods

Copy-Paste

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