SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2307.10864 · 2023

Divide & Bind Your Attention for Improved Generative Semantic Nursing

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; 1 honoured the contract we drafted, 1 violated it and 0 have no contract verdict; 5 failures of our instrument; 1 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/2307.10864.json · badge: /api/ran/2307.10864.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
boschresearch/Divide-and-Bind canonical (classifier label)
classifier basis: census
7 ran · 1 no recorded run
FunctionStatusWhere it lives
default_param Ran
ran; our contract draft was wrong, not the code
boschresearch/Divide-and-Bind/divide_and_bind/pipeline_divide_and_bind_latest.py
pointer only (licence: AGPL-3.0) · get_code("eb9a392d46a9c13e")
How it ran

The body of this sample is withheld: AGPL-3.0, as GitHub detects it on this paper's repository, boschresearch/Divide-and-Bind, is not in the permissive set Syntology serves inline. 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_indices_to_alter Ran
ran, honoured the contract we drafted
boschresearch/Divide-and-Bind/divide_and_bind/pipeline_divide_and_bind.py
pointer only (licence: AGPL-3.0) · get_code("e132ad4cbb6127e2")
How it ran

The body of this sample is withheld: AGPL-3.0, as GitHub detects it on this paper's repository, boschresearch/Divide-and-Bind, is not in the permissive set Syntology serves inline. 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.

jenson_shannon_divergence Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
boschresearch/Divide-and-Bind/divide_and_bind/pipeline_divide_and_bind.py
pointer only (licence: AGPL-3.0) · get_code("c520f65767f7c7a6")
How it ran

The body of this sample is withheld: AGPL-3.0, as GitHub detects it on this paper's repository, boschresearch/Divide-and-Bind, is not in the permissive set Syntology serves inline. 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.

min_max_norm Ran
ran, violated the contract we drafted
boschresearch/Divide-and-Bind/utils/annotation_sd.py
pointer only (licence: AGPL-3.0) · get_code("bbce8ae94df69bee")
How it ran

The body of this sample is withheld: AGPL-3.0, as GitHub detects it on this paper's repository, boschresearch/Divide-and-Bind, is not in the permissive set Syntology serves inline. 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.

move_to Ran
ran; our contract draft was wrong, not the code
boschresearch/Divide-and-Bind/utils/ptp_utils.py
pointer only (licence: AGPL-3.0); the stored copy get_code serves, from boschresearch/VSTAR, is pointer only (licence: AGPL-3.0) · get_code("630566ccfdfd6468")
How it ran

The body of this sample is withheld: AGPL-3.0, as GitHub detects it on this paper's repository, boschresearch/Divide-and-Bind, is not in the permissive set Syntology serves inline. 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.

reshape_CA_attn_map Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
boschresearch/Divide-and-Bind/utils/annotation_sd.py
pointer only (licence: AGPL-3.0) · get_code("0eec56d25a94e28f")
How it ran

The body of this sample is withheld: AGPL-3.0, as GitHub detects it on this paper's repository, boschresearch/Divide-and-Bind, is not in the permissive set Syntology serves inline. 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.

text_under_image Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
boschresearch/Divide-and-Bind/utils/ptp_utils.py
pointer only (licence: AGPL-3.0); the stored copy get_code serves, from debottam-dutta7/co3, is pointer only (licence: NONE) · get_code("42f35256bd885673")
How it ran

The body of this sample is withheld: AGPL-3.0, as GitHub detects it on this paper's repository, boschresearch/Divide-and-Bind, is not in the permissive set Syntology serves inline. 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.

aggregate_attention Not yet run
unverified (harvested, no recorded run)
boschresearch/Divide-and-Bind/utils/annotation_sd.py
pointer only (licence: AGPL-3.0) · get_code("c2a62ea502f8be8b")
How it ran

The body of this sample is withheld: AGPL-3.0, as GitHub detects it on this paper's repository, boschresearch/Divide-and-Bind, is not in the permissive set Syntology serves inline. 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, 3 are also present in other papers whose code we hold (1 with at least one paper dated earlier, 2 the same month, 3 later) and 5 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
text_under_image 5 other papers
2 dated earlier, 1 the same month, 2 later
2301.13826 (2023-01)
Attend-and-Excite: Attention-Based Semantic Guidance for Text-to-Image Diffusion Models
2305.16311 (2023-05)
Break-A-Scene: Extracting Multiple Concepts from a Single Image
2307.10816 (2023-07)
BoxDiff: Text-to-Image Synthesis with Training-Free Box-Constrained Diffusion
and 2 more not named here
get_indices_to_alter 2 other papers
1 the same month, 1 later
2307.10816 (2023-07)
BoxDiff: Text-to-Image Synthesis with Training-Free Box-Constrained Diffusion
2411.07132 (2024-11)
Token Merging for Training-Free Semantic Binding in Text-to-Image Synthesis
move_to 1 other paper
1 later
2403.13501 (2024-03)
VSTAR: Generative Temporal Nursing for Longer Dynamic Video Synthesis

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

Emerging large-scale text-to-image generative models, e.g., Stable Diffusion (SD), have exhibited overwhelming results with high fidelity. Despite the magnificent progress, current state-of-the-art models still struggle to generate images fully adhering to the input prompt. Prior work, Attend & Excite, has introduced the concept of Generative Semantic Nursing (GSN), aiming to optimize cross-attention during inference time to better incorporate the semantics. It demonstrates promising results in generating simple prompts, e.g., "a cat and a dog". However, its efficacy declines when dealing with more complex prompts, and it does not explicitly address the problem of improper attribute binding. To address the challenges posed by complex prompts or scenarios involving multiple entities and to achieve improved attribute binding, we propose Divide & Bind. We introduce two novel loss objectives for GSN: a novel attendance loss and a binding loss. Our approach stands out in its ability to faithfully synthesize desired objects with improved attribute alignment from complex prompts and exhibits superior performance across multiple evaluation benchmarks.

For agents

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

get_harvested_code_for_paper("2307.10864")
get_code_for_paper("2307.10864")
have("2307.10864")

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

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

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

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

Connect an agent — have() is free.