SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2104.02904 · 2021

Multimodal Object Detection via Probabilistic Ensembling

arXiv · PDF · Open in the Atlas

Code that ran

9 of 11 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; 7 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/2104.02904.json · badge: /api/ran/2104.02904.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
Jamie725/RGBT-detection canonical (classifier label)
classifier basis: census
6 ran · 2 no recorded run
Jamie725/Multimodal-Object-Detection-via-Probabilistic-Ensembling reimplementation (classifier label)
classifier basis: classifier_2025
3 ran · 0 no recorded run
FunctionStatusWhere it lives
avg_bbox_fusion Ran
ran, honoured the contract we drafted
Jamie725/Multimodal-Object-Detection-via-Probabilistic-Ensembling/demo/FLIR/demo_probEn.py
code served (permissive licence) · get_code("37529abc553ac28b")
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) and returned ndarray, ndim 1, dtype family float, shape (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 numpy as np

# Construct a small bounding box vector array
# Shape: (num_bboxes, bbox_coords)
# Bounding boxes typically have 4 coordinates (x, y, width, height) or (x1, y1, x2, y2)
match_bbox_vec = np.array([
    [10.0, 20.0, 30.0, 40.0],
    [12.0, 22.0, 32.0, 42.0],
    [11.0, 21.0, 31.0, 41.0]
], dtype=np.float32)

ARGS = {
    "match_bbox_vec": match_bbox_vec
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1
Imports
numpy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type ndarray, ndim 1, dtype family float, shape (4,) — shape (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
batched_nms Ran
ran; our contract draft was wrong, not the code
Jamie725/RGBT-detection/detectron2/layers/nms.py
pointer only (licence: Apache-2.0) · get_code("0df9d3b583fbc6cb")
How it ran

The body of this sample is withheld: Apache-2.0, as GitHub detects it on this paper's repository, Jamie725/RGBT-detection, is in the permissive set, but a licence decision keeps the body a pointer: the reason for that decision is not recorded with it. 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.

bayesian_fusion Ran
ran, honoured the contract we drafted
Jamie725/Multimodal-Object-Detection-via-Probabilistic-Ensembling/demo/FLIR/demo_probEn.py
code served (permissive licence) · get_code("e1b20ede1f3d84ad")
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) and returned float64, ndim 0, dtype family float, shape () 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 numpy as np

# The function takes match_score_vec which should be a numpy array of scores
# between 0 and 1 (since it computes log(x) and log(1-x))
match_score_vec = np.array([0.3, 0.7, 0.5, 0.9, 0.2, 0.8])

ARGS = {
    "match_score_vec": match_score_vec
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1
Imports
numpy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type float64, ndim 0, dtype family float, shape () — shape () 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
bayesian_fusion_multiclass Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
Jamie725/Multimodal-Object-Detection-via-Probabilistic-Ensembling/demo/FLIR/demo_probEn.py
code served (permissive licence) · get_code("1bfe4666270f8778")
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) and returned tuple, ndim 1, dtype family float; no output shape is stated. The image it ran in was not recorded. If your copy returns the same type and ndim 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 numpy as np

# Construct valid arguments for bayesian_fusion_multiclass
# The function expects:
# - match_score_vec: a 2D numpy array of shape (n_samples, 3) with scores in [0, 1]
# - pred_class: a class prediction (appears unused in the function body, but required as parameter)

# Create match_score_vec: 2 samples, 3 classes with valid probability scores
match_score_vec = np.array([
    [0.7, 0.2, 0.05],
    [0.1, 0.6, 0.25]
], dtype=np.float32)

# Create pred_class: a simple integer class prediction
pred_class = 0

ARGS = {
    "match_score_vec": match_score_vec,
    "pred_class": pred_class
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1
Imports
numpy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type tuple, ndim 1, dtype family float — a tuple output has no array shape of its own; none is stated
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
convert_basic_c2_names Ran
ran; our contract draft was wrong, not the code
Jamie725/RGBT-detection/detectron2/checkpoint/c2_model_loading.py
pointer only (licence: Apache-2.0) · get_code("e8526a516b4f9206")
How it ran

The body of this sample is withheld: Apache-2.0, as GitHub detects it on this paper's repository, Jamie725/RGBT-detection, is in the permissive set, but a licence decision keeps the body a pointer: the reason for that decision is not recorded with it. 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.

convert_c2_detectron_names Ran
ran; our contract draft was wrong, not the code
Jamie725/RGBT-detection/detectron2/checkpoint/c2_model_loading.py
pointer only (licence: Apache-2.0) · get_code("52810b504f0d1066")
How it ran

The body of this sample is withheld: Apache-2.0, as GitHub detects it on this paper's repository, Jamie725/RGBT-detection, is in the permissive set, but a licence decision keeps the body a pointer: the reason for that decision is not recorded with it. 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.

pad_masks Ran
ran; our contract draft was wrong, not the code
Jamie725/RGBT-detection/detectron2/layers/mask_ops.py
pointer only (licence: Apache-2.0); the stored copy get_code serves, from thinklab-sjtu/bench2drivezoo, is pointer only (licence: NOASSERTION) · get_code("406f84cf799ed34d")
How it ran

The body of this sample is withheld: Apache-2.0, as GitHub detects it on this paper's repository, Jamie725/RGBT-detection, is in the permissive set, but a licence decision keeps the body a pointer: the reason for that decision is not recorded with it. 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.

paste_mask_in_image_old Ran
ran; our contract draft was wrong, not the code
Jamie725/RGBT-detection/detectron2/layers/mask_ops.py
pointer only (licence: Apache-2.0); the stored copy get_code serves, from thinklab-sjtu/bench2drivezoo, is pointer only (licence: NOASSERTION) · get_code("d03592674030077f")
How it ran

The body of this sample is withheld: Apache-2.0, as GitHub detects it on this paper's repository, Jamie725/RGBT-detection, is in the permissive set, but a licence decision keeps the body a pointer: the reason for that decision is not recorded with it. 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.

paste_masks_in_image Ran
ran; our contract draft was wrong, not the code
Jamie725/RGBT-detection/detectron2/layers/mask_ops.py
pointer only (licence: Apache-2.0) · get_code("13b3f33534eea02a")
How it ran

The body of this sample is withheld: Apache-2.0, as GitHub detects it on this paper's repository, Jamie725/RGBT-detection, is in the permissive set, but a licence decision keeps the body a pointer: the reason for that decision is not recorded with it. 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.

batched_nms_rotated Not yet run
unverified (harvested, no recorded run)
Jamie725/RGBT-detection/detectron2/layers/nms.py
pointer only (licence: Apache-2.0); the stored copy get_code serves, from nvakhoa/superclass-fsis, is pointer only (licence: Apache-2.0) · get_code("4845964b76bba6c5")
How it ran

The body of this sample is withheld: Apache-2.0, as GitHub detects it on this paper's repository, Jamie725/RGBT-detection, is in the permissive set, but a licence decision keeps the body a pointer: the reason for that decision is not recorded with it. 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.

nms_rotated Not yet run
unverified (harvested, no recorded run)
Jamie725/RGBT-detection/detectron2/layers/nms.py
pointer only (licence: Apache-2.0) · get_code("d3fa37a000ad294d")
How it ran

The body of this sample is withheld: Apache-2.0, as GitHub detects it on this paper's repository, Jamie725/RGBT-detection, is in the permissive set, but a licence decision keeps the body a pointer: the reason for that decision is not recorded with it. 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 11 samples lifted from this paper's linked repositories, 11 carry a function identity and 0 do not. Of the 11 distinct functions with an identity, 8 are also present in other papers whose code we hold (8 with at least one paper dated earlier, 0 the same month, 8 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
convert_basic_c2_names 45 other papers
14 dated earlier, 31 later
1703.06870 (2017-03)
Mask R-CNN
1804.08864 (2018-04)
Learning to See the Invisible: End-to-End Trainable Amodal Instance Segmentation
1901.08164 (2019-01)
Decoupled Greedy Learning of CNNs
and 42 more not named here
convert_c2_detectron_names 29 other papers
13 dated earlier, 16 later
1703.06870 (2017-03)
Mask R-CNN
1804.08864 (2018-04)
Learning to See the Invisible: End-to-End Trainable Amodal Instance Segmentation
1901.08164 (2019-01)
Decoupled Greedy Learning of CNNs
and 26 more not named here
pad_masks 22 other papers
10 dated earlier, 12 later
1703.06870 (2017-03)
Mask R-CNN
1804.08864 (2018-04)
Learning to See the Invisible: End-to-End Trainable Amodal Instance Segmentation
1908.07836 (2019-08)
PubLayNet: largest dataset ever for document layout analysis
and 19 more not named here
paste_mask_in_image_old 22 other papers
10 dated earlier, 12 later
1703.06870 (2017-03)
Mask R-CNN
1804.08864 (2018-04)
Learning to See the Invisible: End-to-End Trainable Amodal Instance Segmentation
1908.07836 (2019-08)
PubLayNet: largest dataset ever for document layout analysis
and 19 more not named here
nms_rotated 14 other papers
8 dated earlier, 6 later
1703.06870 (2017-03)
Mask R-CNN
1804.08864 (2018-04)
Learning to See the Invisible: End-to-End Trainable Amodal Instance Segmentation
1908.07836 (2019-08)
PubLayNet: largest dataset ever for document layout analysis
and 11 more not named here
batched_nms 12 other papers
9 dated earlier, 3 later
1703.06870 (2017-03)
Mask R-CNN
1804.08864 (2018-04)
Learning to See the Invisible: End-to-End Trainable Amodal Instance Segmentation
1908.07836 (2019-08)
PubLayNet: largest dataset ever for document layout analysis
and 9 more not named here
batched_nms_rotated 12 other papers
9 dated earlier, 3 later
1703.06870 (2017-03)
Mask R-CNN
1804.08864 (2018-04)
Learning to See the Invisible: End-to-End Trainable Amodal Instance Segmentation
1908.07836 (2019-08)
PubLayNet: largest dataset ever for document layout analysis
and 9 more not named here
paste_masks_in_image 5 other papers
3 dated earlier, 2 later
1804.08864 (2018-04)
Learning to See the Invisible: End-to-End Trainable Amodal Instance Segmentation
2003.05176 (2020-03)
Equalization Loss for Long-Tailed Object Recognition
2004.08955 (2020-04)
ResNeSt: Split-Attention Networks
and 2 more not named here

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

Object detection with multimodal inputs can improve many safety-critical systems such as autonomous vehicles (AVs). Motivated by AVs that operate in both day and night, we study multimodal object detection with RGB and thermal cameras, since the latter provides much stronger object signatures under poor illumination. We explore strategies for fusing information from different modalities. Our key contribution is a probabilistic ensembling technique, ProbEn, a simple non-learned method that fuses together detections from multi-modalities. We derive ProbEn from Bayes' rule and first principles that assume conditional independence across modalities. Through probabilistic marginalization, ProbEn elegantly handles missing modalities when detectors do not fire on the same object. Importantly, ProbEn also notably improves multimodal detection even when the conditional independence assumption does not hold, e.g., fusing outputs from other fusion methods (both off-the-shelf and trained in-house). We validate ProbEn on two benchmarks containing both aligned (KAIST) and unaligned (FLIR) multimodal images, showing that ProbEn outperforms prior work by more than 13% in relative performance!

For agents

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

get_harvested_code_for_paper("2104.02904")
get_code_for_paper("2104.02904")
have("2104.02904")

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

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

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

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

Connect an agent — have() is free.