SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2312.02228 · 2023

PixelLM: Pixel Reasoning with Large Multimodal Model

arXiv · PDF · Open in the Atlas

Code that ran

3 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; 3 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/2312.02228.json · badge: /api/ran/2312.02228.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
maverickren/pixellm canonical (classifier label)
classifier basis: classifier_2025
3 ran · 1 no recorded run
FunctionStatusWhere it lives
dice_loss Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
maverickren/pixellm/model/PixelLM.py
code served (permissive licence) · get_code("a1c2083ec2eaeb22")
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 Tensor, 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)

# Create small tensors for inputs and targets
# inputs: predictions (arbitrary shape, will be flattened to (batch, features))
# targets: binary labels with same shape as inputs
batch_size = 2
height = 4
width = 3

inputs = torch.randn(batch_size, height, width)
targets = torch.randint(0, 2, (batch_size, height, width)).float()

# num_masks: number of masks (used for normalization)
num_masks = 2.0

# scale: scaling factor for normalization
scale = 1000

# eps: small epsilon for numerical stability
eps = 1e-06

ARGS = {
    "inputs": inputs,
    "targets": targets,
    "num_masks": num_masks,
    "scale": scale,
    "eps": eps,
}
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 Tensor, 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
overlap_loss Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
maverickren/pixellm/model/PixelLM.py
code served (permissive licence) · get_code("e098b877e1d246a5")
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 Tensor, ndim 0, dtype family float; no output shape is stated. The image it ran in was not recorded. The code mentions cuda, and the harness aliases cuda to the CPU for every sample; whether this run needed that is 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 torch
import torch.nn.functional as F

torch.manual_seed(0)

# Create inputs tensor: (num_total_tokens, height, width)
# This represents logits for mask predictions
inputs = torch.randn(10, 4, 5)

# Create targets tensor: (num_total_tokens, height, width)
# This represents binary target masks
targets = torch.randint(0, 2, (10, 4, 5)).float()

# num_masks: number of mask instances
num_masks = 3.0

# batch_seg_token_count: cumulative token counts per batch segment
# Should be a 1D tensor indicating how many tokens belong to each segment
batch_seg_token_count = torch.tensor([3, 4, 3])

ARGS = {
    "inputs": inputs,
    "targets": targets,
    "num_masks": num_masks,
    "batch_seg_token_count": batch_seg_token_count,
}
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 Tensor, ndim 0, dtype family float — no output shape is stated: observe_signature.py could not observe it (call:AssertionError)
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
sigmoid_ce_loss Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
maverickren/pixellm/model/PixelLM.py
code served (permissive licence) · get_code("a9292f5d89194794")
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 Tensor, 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
import torch.nn.functional as F

torch.manual_seed(0)

# Create small tensors for inputs and targets
# inputs: predictions (logits) - arbitrary shape, will be flattened in loss computation
# targets: binary labels (0 or 1) - same shape as inputs
batch_size = 2
height = 4
width = 3

inputs = torch.randn(batch_size, height, width, dtype=torch.float32)
targets = torch.randint(0, 2, (batch_size, height, width), dtype=torch.float32)

# num_masks: a float representing the number of masks
num_masks = 2.0

ARGS = {
    "inputs": inputs,
    "targets": targets,
    "num_masks": num_masks,
}
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 Tensor, 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
parse_args Not yet run
unverified (harvested, no recorded run)
maverickren/pixellm/train_ds.py
code served (permissive licence) · get_code("f48c10974d472de6")
How it ran

no invocation recorded.

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, 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 1 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
sigmoid_ce_loss 17 other papers
3 the same month, 14 later · 1 only as an assembly brick
2312.10103 (2023-12)
GSVA: Generalized Segmentation via Multimodal Large Language Models
2312.15715 (2023-12)
Segment Every Reference Object in Spatial and Temporal Spaces
2312.17240 (2023-12)
LISA++: An Improved Baseline for Reasoning Segmentation with Large Language Model
and 14 more not named here
dice_loss 16 other papers
1 dated earlier, 3 the same month, 12 later · 1 only as an assembly brick
2311.05348 (2023-11)
u-LLaVA: Unifying Multi-Modal Tasks via Large Language Model
2312.10103 (2023-12)
GSVA: Generalized Segmentation via Multimodal Large Language Models
2312.15715 (2023-12)
Segment Every Reference Object in Spatial and Temporal Spaces
and 13 more not named here
overlap_loss 1 other paper
1 later
2510.03853 (2025-10)
UGround: Towards Unified Visual Grounding with Unrolled Transformers

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

While large multimodal models (LMMs) have achieved remarkable progress, generating pixel-level masks for image reasoning tasks involving multiple open-world targets remains a challenge. To bridge this gap, we introduce PixelLM, an effective and efficient LMM for pixel-level reasoning and understanding. Central to PixelLM is a novel, lightweight pixel decoder and a comprehensive segmentation codebook. The decoder efficiently produces masks from the hidden embeddings of the codebook tokens, which encode detailed target-relevant information. With this design, PixelLM harmonizes with the structure of popular LMMs and avoids the need for additional costly segmentation models. Furthermore, we propose a target refinement loss to enhance the model's ability to differentiate between multiple targets, leading to substantially improved mask quality. To advance research in this area, we construct MUSE, a high-quality multi-target reasoning segmentation benchmark. PixelLM excels across various pixel-level image reasoning and understanding tasks, outperforming well-established methods in multiple benchmarks, including MUSE, single- and multi-referring segmentation. Comprehensive ablations confirm the efficacy of each proposed component. All code, models, and datasets will be publicly available.

For agents

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

get_harvested_code_for_paper("2312.02228")
get_code_for_paper("2312.02228")
have("2312.02228")

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

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

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

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

Connect an agent — have() is free.