SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2403.15241 · CVPR · 2024

IS-FUSION: Instance-Scene Collaborative Fusion for Multimodal 3D Object Detection

Pascal Frossard, Wei Li, Kong, Wenguan Wang, Runnan Chen, Junbo Yin, Jianbing Shen, Ruigang Yang

arXiv · PDF · Open in the Atlas

Code that ran

4 of 4 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; 0 honoured the contract we drafted, 0 violated it and 0 have no contract verdict; 4 failures of our instrument; 0 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/2403.15241.json · badge: /api/ran/2403.15241.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
yinjunbo/IS-Fusion canonical (classifier label)
classifier basis: census
4 ran · 0 no recorded run
FunctionStatusWhere it lives
bbox_2d_transform Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
yinjunbo/IS-Fusion/mmdet3d/models/fusion_layers/coord_transform.py
code served (permissive licence) · get_code("3fda7e126777fae8")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned Tensor, ndim 2, dtype family float, shape (2, 4) as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch

torch.manual_seed(0)

# Create img_meta dict with all necessary fields
img_meta = {
    'img_shape': (480, 640, 3),  # height, width, channels
    'ori_shape': (720, 960, 3),  # original height, width, channels
    'scale_factor': [0.75, 0.75, 0.75, 0.75],  # scale factors (need at least 2 elements)
    'flip': False,  # whether image was flipped
    'img_crop_offset': [10.0, 20.0]  # crop offset (x, y)
}

# Create a sample 2d bbox tensor with shape (2, 4)
# Format: [x1, y1, x2, y2] for each bbox
bbox_2d = torch.tensor([
    [100.0, 150.0, 300.0, 400.0],
    [50.0, 75.0, 250.0, 350.0]
], dtype=torch.float32)

# ori2new flag: True to transform from original to new coordinates
ori2new = True

ARGS = {
    'img_meta': img_meta,
    'bbox_2d': bbox_2d,
    'ori2new': ori2new
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Tensor, ndim 2, dtype family float, shape (2, 4) — shape (2, 4) as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
extract_2d_info Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
yinjunbo/IS-Fusion/mmdet3d/models/fusion_layers/coord_transform.py
code served (permissive licence) · get_code("5a5d8bac063f49f1")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned tuple. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch

torch.manual_seed(0)

# Create a small tensor to use as reference for tensor.new_tensor()
tensor = torch.randn(2, 4)

# Create img_meta dictionary with all required and optional fields
img_meta = {
    'img_shape': (480, 640, 3),
    'ori_shape': (960, 1280, 3),
    'scale_factor': [0.5, 0.5, 0.5, 0.5],
    'flip': True,
    'img_crop_offset': [10.0, 20.0]
}

ARGS = {
    'img_meta': img_meta,
    'tensor': tensor
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type tuple — a tuple output has no array shape of its own; none is stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
gen_sineembed_for_position Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
yinjunbo/IS-Fusion/mmdet3d/models/middle_encoders/fusion_encoder.py
code served (permissive licence) · get_code("4c82654ae6131ecc")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned Tensor, ndim 3, dtype family float, shape (2, 3, 256) as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import math

torch.manual_seed(0)

# The function expects pos_tensor with shape (batch, num_positions, 2 or 4)
# where the last dimension is either:
# - 2: (x, y) coordinates
# - 4: (y, x, w, h) coordinates

# Create a small pos_tensor with shape (2, 3, 2) for batch_size=2, num_positions=3, coords=2
pos_tensor_2d = torch.randn(2, 3, 2, dtype=torch.float32)

# Also test with 4D coordinates
pos_tensor_4d = torch.randn(2, 3, 4, dtype=torch.float32)

ARGS = {
    "pos_tensor": pos_tensor_2d
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Tensor, ndim 3, dtype family float, shape (2, 3, 256) — shape (2, 3, 256) as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
multi_head_attention_forward Ran
ran; our contract draft was wrong, not the code
yinjunbo/IS-Fusion/mmdet3d/models/middle_encoders/fusion_encoder.py
code served (permissive licence) · get_code("e8974f996d0fa2ae")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned tuple. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import torch.nn as nn
import torch.nn.functional as F

torch.manual_seed(0)

# Parameters
embed_dim = 8
num_heads = 2
head_dim = embed_dim // num_heads
batch_size = 2
tgt_len = 3
src_len = 5

# Input tensors
query = torch.randn(tgt_len, batch_size, embed_dim)
key = torch.randn(src_len, batch_size, embed_dim)
value = torch.randn(src_len, batch_size, embed_dim)

# Projection weights and biases
in_proj_weight = torch.randn(3 * embed_dim, embed_dim)
in_proj_bias = torch.randn(3 * embed_dim)

# Separate projection weights (for use_separate_proj_weight=True case)
q_proj_weight = torch.randn(embed_dim, embed_dim)
k_proj_weight = torch.randn(embed_dim, embed_dim)
v_proj_weight = torch.randn(embed_dim, embed_dim)

# Output projection weights and biases
out_proj_weight = torch.randn(embed_dim, embed_dim)
out_proj_bias = torch.randn(embed_dim)

# Optional masks and biases
key_padding_mask = torch.zeros(batch_size, src_len, dtype=torch.bool)
attn_mask = None
bias_k = None
bias_v = None

# Static tensors (optional, for static attention)
static_k = None
static_v = None

ARGS = {
    'query': query,
    'key': key,
    'value': value,
    'embed_dim_to_check': embed_dim,
    'num_heads': num_heads,
    'in_proj_weight': in_proj_weight,
    'in_proj_bias': in_proj_bias,
    'bias_k': bias_k,
    'bias_v': bias_v,
    'add_zero_attn': False,
    'dropout_p': 0.0,
    'out_proj_weight': out_proj_weight,
    'out_proj_bias': out_proj_bias,
    'training': True,
    'key_padding_mask': key_padding_mask,
    'need_weights': True,
    'attn_mask': attn_mask,
    'use_separate_proj_weight': False,
    'q_proj_weight': q_proj_weight,
    'k_proj_weight': k_proj_weight,
    'v_proj_weight': v_proj_weight,
    'static_k': static_k,
    'static_v': static_v,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type tuple — a tuple output has no array shape of its own; none is stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block

Also present in other papers' code

Of 4 samples lifted from this paper's linked repositories, 4 carry a function identity and 0 do not. Of the 4 distinct functions with an identity, 2 are also present in other papers whose code we hold (2 with at least one paper dated earlier, 0 the same month, 2 later) and 2 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
gen_sineembed_for_position 7 other papers
5 dated earlier, 2 later
2203.01305 (2022-03)
DN-DETR: Accelerate DETR Training by Introducing Query DeNoising
2203.03605 (2022-03)
DINO: DETR with Improved DeNoising Anchor Boxes for End-to-End Object Detection
2206.02777 (2022-06)
Mask DINO: Towards A Unified Transformer-based Framework for Object Detection and Segmentation
and 4 more not named here
multi_head_attention_forward 3 other papers
2 dated earlier, 1 later
2104.00678 (2021-04)
Group-Free 3D Object Detection via Transformers
2203.11496 (2022-03)
TransFusion: Robust LiDAR-Camera Fusion for 3D Object Detection with Transformers
2503.14493 (2025-03)
State Space Model Meets Transformer: A New Paradigm for 3D Object Detection

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

Bird's eye view (BEV) representation has emerged as a dominant solution for describing 3D space in autonomous driving scenarios. However, objects in the BEV representation typically exhibit small sizes, and the associated point cloud context is inherently sparse, which leads to great challenges for reliable 3D perception. In this paper, we propose IS-FUSION, an innovative multimodal fusion framework that jointly captures the Instanceand Scenelevel contextual information. IS-FUSION essentially differs from existing approaches that only focus on the BEV scenelevel fusion by explicitly incorporating instance-level multimodal information, thus facilitating the instance-centric tasks like 3D object detection. It comprises a Hierarchical Scene Fusion (HSF) module and an Instance-Guided Fusion (IGF) module. HSF applies Point-to-Grid and Grid-to-Region transformers to capture the multimodal scene context at different granularities. IGF mines instance candidates, explores their relationships, and aggregates the local multimodal context for each instance. These instances then serve as guidance to enhance the scene feature and yield an instance-aware BEV representation. On the challenging nuScenes benchmark, IS-FUSION outperforms all the published multimodal works to date. Code is available at: https://github.com/yinjunbo/IS-Fusion.

For agents

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

get_harvested_code_for_paper("2403.15241")
get_code_for_paper("2403.15241")
have("2403.15241")

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

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

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

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

Connect an agent — have() is free.