SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2410.19079 · NeurIPS · 2024

BIFRÖST: 3D-Aware Image compositing with Language Instructions

Xiangyu Yue, Kaixiong Gong, Lingxiao Li, Tao Chen, Xili Dai, Weihong Li, Xiaojun Yuan

arXiv · PDF · Open in the Atlas

Code that ran

6 of 10 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, 0 violated it and 0 have no contract verdict; 5 failures of our instrument; 4 no recorded run), measured 2026-11-22; 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/2410.19079.json · badge: /api/ran/2410.19079.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
lingxiao-li/Bifrost canonical (classifier label)
classifier basis: census
6 ran · 4 no recorded run
FunctionStatusWhere it lives
aug_tar_mask Ran
ran; our contract draft was wrong, not the code
lingxiao-li/Bifrost/Main_Bifrost/run_inference.py
pointer only (licence: NONE) · get_code("5c8a198587379eb7")
How it ran

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

collect_category Ran
ran; our contract draft was wrong, not the code
lingxiao-li/Bifrost/LLaVA_Bifrost/create_dataset.py
pointer only (licence: NONE) · get_code("af9521954b6808b2")
How it ran

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

crop_back Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
lingxiao-li/Bifrost/Main_Bifrost/predict.py
pointer only (licence: NONE) · get_code("14fd6f0edec9fdb6")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, lingxiao-li/Bifrost 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_node_name Ran
ran; our contract draft was wrong, not the code
lingxiao-li/Bifrost/Main_Bifrost/tool_add_control_anydoor.py
pointer only (licence: NONE) · get_code("0dbf855dab1ab575")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, lingxiao-li/Bifrost 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_state_dict Ran
ran; our contract draft was wrong, not the code
lingxiao-li/Bifrost/Main_Bifrost/cldm/model.py
pointer only (licence: NONE) · get_code("cfc17707f35e7ec4")
How it ran

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

load_image Ran
ran, honoured the contract we drafted
lingxiao-li/Bifrost/LLaVA_Bifrost/predict.py
pointer only (licence: NONE) · get_code("9b3c1cb391672ccb")
How it ran

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

crop_back Not yet run
unverified (harvested, no recorded run)
lingxiao-li/Bifrost/Main_Bifrost/run_gradio_demo.py
pointer only (licence: NONE) · get_code("85a326ed10cb110a")
How it ran

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

load_state_dict Not yet run
unverified (harvested, no recorded run)
lingxiao-li/Bifrost/Main_Bifrost/cldm/model.py
pointer only (licence: NONE) · get_code("df733a879693145d")
How it ran

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

process_image_mask Not yet run
unverified (harvested, no recorded run)
lingxiao-li/Bifrost/Main_Bifrost/run_gradio_demo.py
pointer only (licence: NONE) · get_code("99e5482c726e27f0")
How it ran

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

process_pairs Not yet run
unverified (harvested, no recorded run)
lingxiao-li/Bifrost/Main_Bifrost/predict.py
pointer only (licence: NONE) · get_code("efeaba2f1d0910b4")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, lingxiao-li/Bifrost 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 10 samples lifted from this paper's linked repositories, 10 carry a function identity and 0 do not. Of the 10 distinct functions with an identity, 7 are also present in other papers whose code we hold (5 with at least one paper dated earlier, 4 the same month, 7 later) and 3 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
load_image 85 other papers
49 dated earlier, 8 the same month, 24 later, 4 same year, order not determinable
2112.05682 (2021-12)
Self-attention Does Not Need $O(n^2)$ Memory
2305.10973 (2023-05)
Drag Your GAN: Interactive Point-based Manipulation on the Generative Image Manifold
2307.10490 (2023-07)
Abusing Images and Sounds for Indirect Instruction Injection in Multi-Modal LLMs
and 82 more not named here
get_state_dict 29 other papers
23 dated earlier, 2 the same month, 3 later, 1 same year, order not determinable
2304.04269 (2023-04)
HumanSD: A Native Skeleton-Guided Diffusion Model for Human Image Generation
2305.02034 (2023-05)
SAMRS: Scaling-up Remote Sensing Segmentation Dataset with Segment Anything Model
2305.11147 (2023-05)
UniControl: A Unified Diffusion Model for Controllable Visual Generation In the Wild
and 26 more not named here
load_state_dict 25 other papers
20 dated earlier, 2 the same month, 2 later, 1 same year, order not determinable
2304.04269 (2023-04)
HumanSD: A Native Skeleton-Guided Diffusion Model for Human Image Generation
2305.02034 (2023-05)
SAMRS: Scaling-up Remote Sensing Segmentation Dataset with Segment Anything Model
2305.11147 (2023-05)
UniControl: A Unified Diffusion Model for Controllable Visual Generation In the Wild
and 22 more not named here
get_node_name 15 other papers
11 dated earlier, 2 the same month, 2 later
2304.04269 (2023-04)
HumanSD: A Native Skeleton-Guided Diffusion Model for Human Image Generation
2305.11147 (2023-05)
UniControl: A Unified Diffusion Model for Controllable Visual Generation In the Wild
2306.07280 (2023-06)
Controlling Text-to-Image Diffusion by Orthogonal Finetuning
and 12 more not named here
process_image_mask 2 other papers
1 dated earlier, 1 later
2307.09481 (2023-07)
AnyDoor: Zero-shot Object-level Image Customization
2411.11045 (2024-11)
StableV2V: Stablizing Shape Consistency in Video-to-Video Editing
crop_back 1 other paper
1 later
2411.11045 (2024-11)
StableV2V: Stablizing Shape Consistency in Video-to-Video Editing
process_pairs 1 other paper
1 later
2411.11045 (2024-11)
StableV2V: Stablizing Shape Consistency in Video-to-Video Editing

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

Repositories linked to this paper

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

Abstract

This paper introduces Bifröst, a novel 3D-aware framework that is built upon diffusion models to perform instruction-based image composition. Previous methods concentrate on image compositing at the 2D level, which fall short in handling complex spatial relationships ($\textit{e.g.}$, occlusion). Bifröst addresses these issues by training MLLM as a 2.5D location predictor and integrating depth maps as an extra condition during the generation process to bridge the gap between 2D and 3D, which enhances spatial comprehension and supports sophisticated spatial interactions. Our method begins by fine-tuning MLLM with a custom counterfactual dataset to predict 2.5D object locations in complex backgrounds from language instructions. Then, the image-compositing model is uniquely designed to process multiple types of input features, enabling it to perform high-fidelity image compositions that consider occlusion, depth blur, and image harmonization. Extensive qualitative and quantitative evaluations demonstrate that Bifröst significantly outperforms existing methods, providing a robust solution for generating realistically composited images in scenarios demanding intricate spatial understanding. This work not only pushes the boundaries of generative image compositing but also reduces reliance on expensive annotated datasets by effectively utilizing existing resources in innovative ways.

For agents

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

get_harvested_code_for_paper("2410.19079")
get_code_for_paper("2410.19079")
have("2410.19079")

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

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

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

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

Connect an agent — have() is free.