SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2208.08630 · ECCV · 2022

Unifying Visual Perception by Dispersible Points Learning

Guanglu Song, Yu Liu, Biao Leng, Jianming Liang

arXiv · PDF · Open in the Atlas

Code that ran

9 of 9 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 7 have no contract verdict; 2 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/2208.08630.json · badge: /api/ran/2208.08630.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
Sense-X/UniHead canonical (classifier label)
classifier basis not recorded on the link
9 ran · 0 no recorded run
FunctionStatusWhere it lives
build_activation_layer Ran
ran on a synthesized input
Sense-X/UniHead/up/models/backbones/convnext.py
code served (permissive licence) · get_code("224ba178f860a4e3")
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 GELU. 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

torch.manual_seed(0)

# The function takes a single parameter: act_func
# It can be None or a string like 'relu', 'gelu', 'selu', 'leaky_relu'
# Let's test with None (which returns nn.GELU())

ARGS = {
    'act_func': None
}
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 GELU — a GELU output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a GELU output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not 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
efficientnet Ran
ran on a synthesized input
Sense-X/UniHead/up/models/backbones/efficientnet.py
code served (permissive licence) · get_code("a088fd1c2c78a12c")
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 collections

GlobalParams = collections.namedtuple('GlobalParams', ['dropout_rate', 'data_format', 'num_classes', 'width_coefficient', 'depth_coefficient', 'depth_divisor', 'min_depth', 'drop_connect_rate'])

BlockArgs = collections.namedtuple('BlockArgs', ['kernel_size', 'num_repeat', 'input_filters', 'output_filters', 'expand_ratio', 'id_skip', 'strides', 'se_ratio'])

ARGS = {
    'width_coefficient': 1.0,
    'depth_coefficient': 1.0,
    'dropout_rate': 0.2,
    'drop_connect_rate': 0.3,
    'override_block': None
}
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
efficientnet_params Ran
ran on a synthesized input
Sense-X/UniHead/up/models/backbones/efficientnet.py
code served (permissive licence) · get_code("97f60d1e327e8cc2")
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, 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 torch
import torch.nn as nn

torch.manual_seed(0)

ARGS = {
    'model_name': 'efficientnet_b0'
}
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, 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
get_model_params Ran
ran on a synthesized input
Sense-X/UniHead/up/models/backbones/efficientnet.py
code served (permissive licence) · get_code("86782e22d067e4c3")
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 collections

torch.manual_seed(0)

# The function signature is:
# get_model_params(model_name, override_params=None, override_block=None)

ARGS = {
    'model_name': 'efficientnet_b0',
    'override_params': None,
    'override_block': None,
}
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
img2windows Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
Sense-X/UniHead/up/models/backbones/cswin.py
code served (permissive licence) · get_code("39b18f062e0cc6d9")
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 3, dtype family float, shape (16, 6, 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 small image tensor: B=2, C=4, H=8, W=6
img = torch.randn(2, 4, 8, 6)

# Window dimensions that divide evenly into H and W
H_sp = 2  # H // H_sp = 8 // 2 = 4
W_sp = 3  # W // W_sp = 6 // 3 = 2

ARGS = {
    "img": img,
    "H_sp": H_sp,
    "W_sp": W_sp,
}
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 3, dtype family float, shape (16, 6, 4) — shape (16, 6, 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
revise_cls Ran
ran on a synthesized input
Sense-X/UniHead/configs/convert.py
code served (permissive licence) · get_code("56accaab9249dc45")
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 dict. 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

torch.manual_seed(0)

ARGS = {
    'data': {
        'dataset': {
            'train': {
                'dataset': {
                    'kwargs': {
                        'meta_file': 'original_train_meta.txt',
                        'image_reader': {
                            'type': 'pillow',
                            'kwargs': {
                                'image_dir': 'original_train_dir',
                                'memcached': True
                            }
                        }
                    }
                }
            },
            'test': {
                'dataset': {
                    'kwargs': {
                        'meta_file': 'original_test_meta.txt',
                        'image_reader': {
                            'type': 'pillow',
                            'kwargs': {
                                'image_dir': 'original_test_dir',
                                'memcached': True
                            }
                        }
                    }
                }
            }
        },
        'saver': {
            'pretrain_model': 'original_pretrain_path'
        },
        'mimic': {
            'teacher': {
                'teacher_weight': 'original_teacher.pth.tar'
            }
        }
    }
}
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 dict — a dict output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a dict output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not 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
revise_det Ran
ran on a synthesized input
Sense-X/UniHead/configs/convert.py
code served (permissive licence) · get_code("13fea2bae65c1b3e")
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 dict. 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

torch.manual_seed(0)

ARGS = {
    'data': {
        'dataset': {
            'train': {
                'dataset': {
                    'type': 'coco',
                    'kwargs': {
                        'meta_file': 'old_train_meta.json',
                        'image_reader': {
                            'type': 'ceph_opencv',
                            'kwargs': {
                                'image_dir': 'old_train_dir'
                            }
                        },
                        'cache': {
                            'cache_dir': 'old_cache_dir',
                            'cache_name': 'old_cache.pkl'
                        }
                    }
                }
            },
            'test': {
                'dataset': {
                    'type': 'coco',
                    'kwargs': {
                        'meta_file': 'old_test_meta.json',
                        'image_reader': {
                            'type': 'ceph_opencv',
                            'kwargs': {
                                'image_dir': 'old_test_dir'
                            }
                        },
                        'cache': {
                            'cache_dir': 'old_cache_dir',
                            'cache_name': 'old_cache.pkl'
                        },
                        'evaluator': {
                            'kwargs': {
                                'gt_file': 'old_gt.json'
                            }
                        }
                    }
                }
            }
        },
        'saver': {
            'pretrain_model': 'old_pretrain.pth',
            'resume_model': 'old_resume.pth'
        },
        'mimic': {
            'teacher': {
                'teacher_weight': 'old_teacher.pth.tar'
            }
        }
    }
}
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 dict — a dict output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a dict output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not 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
revise_ssl Ran
ran on a synthesized input
Sense-X/UniHead/configs/convert.py
code served (permissive licence) · get_code("8b707972d22a5595")
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 dict. 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

torch.manual_seed(0)

ARGS = {
    'data': {
        'dataset': {
            'train': {
                'dataset': {
                    'kwargs': {
                        'meta_file': 'original_meta.txt',
                        'image_reader': {
                            'type': 'original_type',
                            'kwargs': {
                                'image_dir': 'original_dir'
                            }
                        }
                    }
                }
            },
            'test': {
                'dataset': {
                    'kwargs': {
                        'meta_file': 'original_test_meta.txt',
                        'image_reader': {
                            'type': 'original_test_type',
                            'kwargs': {
                                'image_dir': 'original_test_dir'
                            }
                        }
                    }
                }
            }
        },
        'saver': {
            'pretrain_model': 'original_pretrain_path',
            'other_key': 'other_value'
        }
    }
}
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 dict — a dict output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a dict output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not 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
windows2img Ran
ran; our contract draft was wrong, not the code
Sense-X/UniHead/up/models/backbones/cswin.py
code served (permissive licence) · get_code("ab01fbfe58c75b08")
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 4, dtype family float, shape (2, 8, 6, 12) 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

torch.manual_seed(0)

# Understand the function:
# - img_splits_hw: shape (B', H, W, C) where B' = B * (H/H_sp) * (W/W_sp)
# - H_sp, W_sp: spatial dimensions of each window/split
# - H, W: original image height and width
# - C: number of channels (inferred from last dim)

# Let's construct valid arguments:
# Choose concrete values:
B = 2  # batch size
H_sp = 4  # height of each split
W_sp = 3  # width of each split
H = 8  # original image height
W = 6  # original image width
C = 3  # channels

# B' = B * (H/H_sp) * (W/W_sp) = 2 * (8/4) * (6/3) = 2 * 2 * 2 = 8
B_prime = B * (H // H_sp) * (W // W_sp)

# img_splits_hw should have shape (B', H, W, C) = (8, 8, 6, 3)
img_splits_hw = torch.randn(B_prime, H, W, C)

ARGS = {
    "img_splits_hw": img_splits_hw,
    "H_sp": H_sp,
    "W_sp": W_sp,
    "H": H,
    "W": W,
}
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 4, dtype family float, shape (2, 8, 6, 12) — shape (2, 8, 6, 12) 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

Also present in other papers' code

Of 9 samples lifted from this paper's linked repositories, 9 carry a function identity and 0 do not. Of the 9 distinct functions with an identity, 5 are also present in other papers whose code we hold (5 with at least one paper dated earlier, 0 the same month, 2 later) and 4 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
img2windows 14 other papers
1 dated earlier, 13 later · 1 only as an assembly brick
2107.00652 (2021-07)
CSWin Transformer: A General Vision Transformer Backbone with Cross-Shaped Windows
2211.13654 (2022-11)
Cross Aggregation Transformer for Image Restoration
2303.06373 (2023-03)
Recursive Generalization Transformer for Image Super-Resolution
and 11 more not named here
windows2img 14 other papers
1 dated earlier, 13 later · 1 only as an assembly brick
2107.00652 (2021-07)
CSWin Transformer: A General Vision Transformer Backbone with Cross-Shaped Windows
2211.13654 (2022-11)
Cross Aggregation Transformer for Image Restoration
2303.06373 (2023-03)
Recursive Generalization Transformer for Image Super-Resolution
and 11 more not named here
revise_cls 1 other paper
1 dated earlier
2201.02593 (2022-01)
Equalized Focal Loss for Dense Long-Tailed Object Detection
revise_det 1 other paper
1 dated earlier
2201.02593 (2022-01)
Equalized Focal Loss for Dense Long-Tailed Object Detection
revise_ssl 1 other paper
1 dated earlier
2201.02593 (2022-01)
Equalized Focal Loss for Dense Long-Tailed 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

We present a conceptually simple, flexible, and universal visual perception head for variant visual tasks, e.g., classification, object detection, instance segmentation and pose estimation, and different frameworks, such as one-stage or two-stage pipelines. Our approach effectively identifies an object in an image while simultaneously generating a high-quality bounding box or contour-based segmentation mask or set of keypoints. The method, called UniHead, views different visual perception tasks as the dispersible points learning via the transformer encoder architecture. Given a fixed spatial coordinate, UniHead adaptively scatters it to different spatial points and reasons about their relations by transformer encoder. It directly outputs the final set of predictions in the form of multiple points, allowing us to perform different visual tasks in different frameworks with the same head design. We show extensive evaluations on ImageNet classification and all three tracks of the COCO suite of challenges, including object detection, instance segmentation and pose estimation. Without bells and whistles, UniHead can unify these visual tasks via a single visual head design and achieve comparable performance compared to expert models developed for each task. We hope our simple and universal UniHead will serve as a solid baseline and help promote universal visual perception research. Code and models are available at https://github.com/Sense-X/UniHead.

For agents

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

get_harvested_code_for_paper("2208.08630")
get_code_for_paper("2208.08630")
have("2208.08630")

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

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

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

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

Connect an agent — have() is free.