SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2309.05956 · 2023

Beyond Generation: Harnessing Text to Image Models for Object Detection and Segmentation

arXiv · PDF · Open in the Atlas

Code that ran

7 of 9 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; 2 honoured the contract we drafted, 0 violated it and 0 have no contract verdict; 5 failures of our instrument; 2 no recorded run), measured 2026-11-23; repository links from the Papers with Code archive attributed under CC BY-SA, no affiliation; 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/2309.05956.json · badge: /api/ran/2309.05956.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
gyhandy/text2image-for-detection canonical (classifier label)
classifier basis: census
7 ran · 2 no recorded run
FunctionStatusWhere it lives
binarize_mask Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
gyhandy/text2image-for-detection/cutpaste/background.py
pointer only (licence: NONE) · get_code("dec93047c9706811")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, gyhandy/text2image-for-detection 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.

create_mask Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
gyhandy/text2image-for-detection/cutpaste/pb.py
pointer only (licence: NONE) · get_code("47caad7b315514da")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, gyhandy/text2image-for-detection 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_area Ran
ran, honoured the contract we drafted
gyhandy/text2image-for-detection/cutpaste/foreground.py
pointer only (licence: NONE) · get_code("338cddb61947c898")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, gyhandy/text2image-for-detection 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_box Ran
ran, honoured the contract we drafted
gyhandy/text2image-for-detection/cutpaste/foreground.py
pointer only (licence: NONE) · get_code("f4d263d621b7c43a")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, gyhandy/text2image-for-detection 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_gradient_sum Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
gyhandy/text2image-for-detection/cutpaste/pb.py
pointer only (licence: NONE) · get_code("45759338adac308c")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, gyhandy/text2image-for-detection 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_mixed_gradient_sum Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
gyhandy/text2image-for-detection/cutpaste/pb.py
pointer only (licence: NONE) · get_code("ec845b137200d97a")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, gyhandy/text2image-for-detection 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.

sort_images Ran
ran; our contract draft was wrong, not the code
gyhandy/text2image-for-detection/cutpaste/clip_postprocess.py
pointer only (licence: NONE) · get_code("43bfb3c107e16439")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, gyhandy/text2image-for-detection 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_CLIP_score Not yet run
unverified (harvested, no recorded run)
gyhandy/text2image-for-detection/cutpaste/clip_postprocess.py
pointer only (licence: NONE) · get_code("605bfe5472a780c1")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, gyhandy/text2image-for-detection 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.

scores_for_one_caption Not yet run
unverified (harvested, no recorded run)
gyhandy/text2image-for-detection/cutpaste/clip_postprocess.py
pointer only (licence: NONE) · get_code("b16d4b8d3120eee3")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, gyhandy/text2image-for-detection 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 9 samples lifted from this paper's linked repositories, 9 carry a function identity and 0 do not. Of the 9 distinct functions with an identity, 0 are also present in other papers whose code we hold (0 with at least one paper dated earlier, 0 the same month, 0 later) and 9 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.

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-23.

Repositories linked to this paper

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

Abstract

We propose a new paradigm to automatically generate training data with accurate labels at scale using the text-to-image synthesis frameworks (e.g., DALL-E, Stable Diffusion, etc.). The proposed approach1 decouples training data generation into foreground object generation, and contextually coherent background generation. To generate foreground objects, we employ a straightforward textual template, incorporating the object class name as input prompts. This is fed into a text-to-image synthesis framework, producing various foreground images set against isolated backgrounds. A foreground-background segmentation algorithm is then used to generate foreground object masks. To generate context images, we begin by creating language descriptions of the context. This is achieved by applying an image captioning method to a small set of images representing the desired context. These textual descriptions are then transformed into a diverse array of context images via a text-to-image synthesis framework. Subsequently, we composite these with the foreground object masks produced in the initial step, utilizing a cut-and-paste method, to formulate the training data. We demonstrate the advantages of our approach on five object detection and segmentation datasets, including Pascal VOC and COCO. We found that detectors trained solely on synthetic data produced by our method achieve performance comparable to those trained on real data (Fig. 1). Moreover, a combination of real and synthetic data yields even much better results. Further analysis indicates that the synthetic data distribution complements the real data distribution effectively. Additionally, we emphasize the compositional nature of our data generation approach in out-of-distribution and zero-shot data generation scenarios. We open-source our code at https://github.com/gyhandy/Text2Image-for-Detection

For agents

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

get_harvested_code_for_paper("2309.05956")
get_code_for_paper("2309.05956")
have("2309.05956")

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

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

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

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

Connect an agent — have() is free.