SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2410.10659 · ECCV · 2024

PCF-Lift: Panoptic Lifting by Probabilistic Contrastive Fusion

Qianyi Wu, Chi-Wing Fu, Pheng-Ann Heng, Shi Qiu, Runsong Zhu, Ka-Hei Hui

arXiv · PDF · Open in the Atlas

Code that ran

14 of 17 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; 4 honoured the contract we drafted, 1 violated it and 0 have no contract verdict; 9 failures of our instrument; 3 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/2410.10659.json · badge: /api/ran/2410.10659.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
runsong123/pcf-lift canonical (classifier label)
classifier basis: census
8 ran · 1 no recorded run
facebookresearch/Detic canonical (classifier label)
classifier basis: census
6 ran · 2 no recorded run
FunctionStatusWhere it lives
compute_blur_score_opencv Ran
ran, honoured the contract we drafted
runsong123/pcf-lift/code/dataset/preprocessing/preprocess_scannet.py
pointer only (licence: NONE) · get_code("21eca8be9e5e4080")
How it ran

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

contrastive_loss Ran
ran; our contract draft was wrong, not the code
runsong123/pcf-lift/code/model/loss/loss.py
pointer only (licence: NONE) · get_code("7cfbd12778d9a0db")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, runsong123/pcf-lift 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_embeddings Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
facebookresearch/Detic/detic/predictor.py
code served (permissive licence) · get_code("1f211df98dc51cee")
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 (4, 3) 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 torch.nn as nn
from unittest.mock import Mock

torch.manual_seed(0)

class MockTextEncoder(nn.Module):
    def __init__(self):
        super().__init__()
        self.linear = nn.Linear(10, 4)
    
    def forward(self, texts):
        # texts is a list of strings
        # return a tensor of shape (batch_size, embedding_dim)
        batch_size = len(texts)
        # Simulate encoding: return tensor of shape (batch_size, 4)
        return self.linear(torch.randn(batch_size, 10))

def mock_build_text_encoder(pretrain=True):
    return MockTextEncoder()

# Monkey-patch the detic module structure
import sys
from types import ModuleType

detic = ModuleType('detic')
detic.modeling = ModuleType('detic.modeling')
detic.modeling.text = ModuleType('detic.modeling.text')
detic.modeling.text.text_encoder = ModuleType('detic.modeling.text.text_encoder')
detic.modeling.text.text_encoder.build_text_encoder = mock_build_text_encoder

sys.modules['detic'] = detic
sys.modules['detic.modeling'] = detic.modeling
sys.modules['detic.modeling.text'] = detic.modeling.text
sys.modules['detic.modeling.text.text_encoder'] = detic.modeling.text.text_encoder

ARGS = {
    'vocabulary': ['cat', 'dog', 'bird'],
    'prompt': 'a '
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
detic, 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 (4, 3) — shape (4, 3) 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
get_fed_loss_inds Ran
ran; our contract draft was wrong, not the code
facebookresearch/Detic/detic/modeling/utils.py
code served (permissive licence) · get_code("bb583e07209fe58b")
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 1, dtype family int, shape (5,) 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)

# gt_classes: a tensor of class indices
gt_classes = torch.tensor([0, 1, 2, 1, 0], dtype=torch.long)

# num_sample_cats: number of categories to sample
num_sample_cats = 5

# C: number of classes (total number of categories)
C = 8

# weight: optional weight tensor for classes, should have length C
weight = torch.ones(C, dtype=torch.float32)

ARGS = {
    "gt_classes": gt_classes,
    "num_sample_cats": num_sample_cats,
    "C": C,
    "weight": weight,
}
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 1, dtype family int, shape (5,) — shape (5,) 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
get_keyframe_indices Ran
ran; our contract draft was wrong, not the code
runsong123/pcf-lift/code/dataset/preprocessing/preprocess_scannet.py
pointer only (licence: NONE) · get_code("bb868b5e80a3524e")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, runsong123/pcf-lift 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_semantic_weights Ran
ran; our contract draft was wrong, not the code
runsong123/pcf-lift/code/model/loss/loss.py
pointer only (licence: NONE) · get_code("5d46d8719fc65650")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, runsong123/pcf-lift 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_class_freq Ran
ran, honoured the contract we drafted
facebookresearch/Detic/detic/modeling/utils.py
code served (permissive licence) · get_code("1f6e4c3da7b82979")
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 1, dtype family float, shape (3,) 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 json
import tempfile
import os

torch.manual_seed(0)

# Create a temporary directory and a mock LVIS metadata file
temp_dir = tempfile.mkdtemp()
metadata_path = os.path.join(temp_dir, 'lvis_v1_train_cat_info.json')

# Create mock category info with id and image_count
cat_info_data = [
    {'id': 1, 'image_count': 100},
    {'id': 2, 'image_count': 250},
    {'id': 3, 'image_count': 50},
]

with open(metadata_path, 'w') as f:
    json.dump(cat_info_data, f)

ARGS = {
    'path': metadata_path,
    'freq_weight': 1.0,
}
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 1, dtype family float, shape (3,) — shape (3,) 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
match_name_keywords Ran
ran, violated the contract we drafted
facebookresearch/Detic/detic/custom_solver.py
code served (permissive licence) · get_code("c15434906f804d7f")
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 bool, 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 torch

torch.manual_seed(0)

# The function match_name_keywords checks if any string in name_keywords
# is contained in the string n. It takes:
# - n: a string to search in
# - name_keywords: an iterable of strings to search for

n = "layer.weight.bias"
name_keywords = ["weight", "bias", "norm"]

ARGS = {
    "n": n,
    "name_keywords": name_keywords,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type bool, 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
pose_spherical Ran
ran, honoured the contract we drafted
runsong123/pcf-lift/code/dataset/camera_pose_visualizer.py
pointer only (licence: NONE) · get_code("8313c1fb69b28c8e")
How it ran

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

render_features_direct Ran
ran, honoured the contract we drafted
runsong123/pcf-lift/code/model/radiance_field/tensoRF.py
pointer only (licence: NONE) · get_code("d0017e708ddfd332")
How it ran

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

render_features_direct_with_softmax Ran
ran; our contract draft was wrong, not the code
runsong123/pcf-lift/code/model/radiance_field/tensoRF.py
pointer only (licence: NONE) · get_code("3727ced9d381089c")
How it ran

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

sample_points_in_box Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
runsong123/pcf-lift/code/model/renderer/panopli_tensoRF_renderer.py
pointer only (licence: NONE) · get_code("737c9399aca09716")
How it ran

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

window_partition Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
facebookresearch/Detic/detic/modeling/backbone/swintransformer.py
code served (permissive licence) · get_code("f9fd6241d935f07b")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Sonnet 4.5, prompt python_fixture_v1) and returned Tensor, ndim 4, dtype family float, shape (12, 4, 4, 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 a tensor with shape (B, H, W, C)
# B = 2 (batch size)
# H = 8 (height, must be divisible by window_size)
# W = 12 (width, must be divisible by window_size)
# C = 4 (channels)
# window_size = 4

B = 2
H = 8
W = 12
C = 4
window_size = 4

x = torch.randn(B, H, W, C)

ARGS = {
    'x': x,
    'window_size': window_size
}
Setup block drafted by
a language model, Claude Sonnet 4.5, prompt python_fixture_v1
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 4, dtype family float, shape (12, 4, 4, 4) — shape (12, 4, 4, 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
window_reverse Ran
ran; our contract draft was wrong, not the code
facebookresearch/Detic/detic/modeling/backbone/swintransformer.py
code served (permissive licence) · get_code("fb32094c6dbece71")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Sonnet 4.5, prompt python_fixture_v1) and returned Tensor, ndim 4, dtype family float, shape (2, 8, 12, 6) 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)

# Define parameters
# We need windows of shape (num_windows*B, window_size, window_size, C)
# where num_windows = (H // window_size) * (W // window_size)

B = 2
H = 8
W = 12
window_size = 4
C = 6

# Calculate num_windows
num_windows_h = H // window_size  # 8 // 4 = 2
num_windows_w = W // window_size  # 12 // 4 = 3
num_windows = num_windows_h * num_windows_w  # 2 * 3 = 6

# Total number of windows across batch
total_windows = num_windows * B  # 6 * 2 = 12

# Create windows tensor
windows = torch.randn(total_windows, window_size, window_size, C)

ARGS = {
    'windows': windows,
    'window_size': window_size,
    'H': H,
    'W': W
}
Setup block drafted by
a language model, Claude Sonnet 4.5, prompt python_fixture_v1
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 4, dtype family float, shape (2, 8, 12, 6) — shape (2, 8, 12, 6) 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
compute_average_precision Not yet run
unverified (harvested, no recorded run)
facebookresearch/Detic/detic/evaluation/oideval.py
code served (permissive licence) · get_code("2e0a799ccbd489e7")
How it ran

no invocation recorded.

create_timm_resnet Not yet run
unverified (harvested, no recorded run)
facebookresearch/Detic/detic/modeling/backbone/timm.py
code served (permissive licence) · get_code("3634f2208a0255d7")
How it ran

no invocation recorded.

scannet_to_nyu Not yet run
unverified (harvested, no recorded run)
runsong123/pcf-lift/code/dataset/preprocessing/preprocess_scannet.py
pointer only (licence: NONE) · get_code("4992bd6b57204884")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, runsong123/pcf-lift 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 17 samples lifted from this paper's linked repositories, 17 carry a function identity and 0 do not. Of the 17 distinct functions with an identity, 9 are also present in other papers whose code we hold (9 with at least one paper dated earlier, 2 the same month, 3 later) and 8 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
window_reverse 227 other papers
188 dated earlier, 2 the same month, 28 later, 9 same year, order not determinable · 34 only as an assembly brick
1608.03983 (2016-08)
SGDR: Stochastic Gradient Descent with Warm Restarts
1711.10925 (2017-11)
Deep Image Prior
2003.13678 (2020-03)
Designing Network Design Spaces
and 224 more not named here
window_partition 223 other papers
184 dated earlier, 2 the same month, 28 later, 9 same year, order not determinable · 32 only as an assembly brick
1706.03762 (2017-06)
Attention Is All You Need
1711.10925 (2017-11)
Deep Image Prior
2003.13678 (2020-03)
Designing Network Design Spaces
and 220 more not named here
match_name_keywords 13 other papers
12 dated earlier, 1 same year, order not determinable
2010.04159 (2020-10)
Deformable DETR: Deformable Transformers for End-to-End Object Detection
2111.04076 (2021-11)
Direct Multi-view Multi-person 3D Pose Estimation
2206.11134 (2022-06)
Open Vocabulary Object Detection with Proposal Mining and Prediction Equalization
and 10 more not named here
compute_average_precision 11 other papers
10 dated earlier, 1 same year, order not determinable
aaai_6793 (2020 (year only))
Background Suppression Network for Weakly-Supervised Temporal Action Localization
2006.07976 (2020-06)
Actor-Context-Actor Relation Network for Spatio-Temporal Action Localization
2107.06592 (2021-07)
Is Someone Speaking? Exploring Long-term Temporal Features for Audio-visual Active Speaker Detection
and 8 more not named here
pose_spherical 11 other papers
10 dated earlier, 1 same year, order not determinable
2007.02442 (2020-07)
GRAF: Generative Radiance Fields for 3D-Aware Image Synthesis
2205.14870 (2022-05)
Compressible-composable NeRF via Rank-residual Decomposition
2205.15285 (2022-05)
Fast Dynamic Radiance Fields with Time-Aware Neural Voxels
and 8 more not named here
get_fed_loss_inds 10 other papers
8 dated earlier, 1 later, 1 same year, order not determinable
2206.11134 (2022-06)
Open Vocabulary Object Detection with Proposal Mining and Prediction Equalization
2207.03482 (2022-07)
Bridging the Gap between Object and Image-level Representations for Open-Vocabulary Detection
2207.13080 (2022-07)
DETRs with Hybrid Matching
and 7 more not named here
load_class_freq 7 other papers
6 dated earlier, 1 same year, order not determinable
2206.11134 (2022-06)
Open Vocabulary Object Detection with Proposal Mining and Prediction Equalization
2207.13080 (2022-07)
DETRs with Hybrid Matching
2211.12914 (2022-11)
Open-vocabulary Attribute Detection
and 4 more not named here
create_timm_resnet 6 other papers
5 dated earlier, 1 same year, order not determinable
2206.11134 (2022-06)
Open Vocabulary Object Detection with Proposal Mining and Prediction Equalization
2207.13080 (2022-07)
DETRs with Hybrid Matching
2305.11173 (2023-05)
Going Denser with Open-Vocabulary Part Segmentation
and 3 more not named here
get_clip_embeddings 4 other papers
4 dated earlier
2206.11134 (2022-06)
Open Vocabulary Object Detection with Proposal Mining and Prediction Equalization
2207.13080 (2022-07)
DETRs with Hybrid Matching
2303.14679 (2023-03)
ZBS: Zero-shot Background Subtraction via Instance-level Background Modeling and Foreground Selection
and 1 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

Panoptic lifting is an effective technique to address the 3D panoptic segmentation task by unprojecting 2D panoptic segmentations from multi-views to 3D scene. However, the quality of its results largely depends on the 2D segmentations, which could be noisy and error-prone, so its performance often drops significantly for complex scenes. In this work, we design a new pipeline coined PCF-Lift based on our Probabilistic Contrastive Fusion (PCF) to learn and embed probabilistic features throughout our pipeline to actively consider inaccurate segmentations and inconsistent instance IDs. Technical-wise, we first model the probabilistic feature embeddings through multivariate Gaussian distributions. To fuse the probabilistic features, we incorporate the probability product kernel into the contrastive loss formulation and design a cross-view constraint to enhance the feature consistency across different views. For the inference, we introduce a new probabilistic clustering method to effectively associate prototype features with the underlying 3D object instances for the generation of consistent panoptic segmentation results. Further, we provide a theoretical analysis to justify the superiority of the proposed probabilistic solution. By conducting extensive experiments, our PCF-lift not only significantly outperforms the state-of-the-art methods on widely used benchmarks including the ScanNet dataset and the challenging Messy Room dataset (4.4% improvement of scene-level PQ), but also demonstrates strong robustness when incorporating various 2D segmentation models or different levels of hand-crafted noise.

For agents

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

get_harvested_code_for_paper("2410.10659")
get_code_for_paper("2410.10659")
have("2410.10659")

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

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

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

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

Connect an agent — have() is free.