SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2207.10553 · ICML · 2023

MABe22: A Multi-Species Multi-Task Benchmark for Learned Representations of Behavior

Yisong Yue, Jennifer Sun, Dipam Chakraborty, Markus Marks, Andrew Ulmer, Brian Geuther, Edward Heng Jia, Vivek Kumar, Sebastian Oleszko, Zachary Partridge, Milan Peelman, Alice Robie, and 10 more

arXiv · PDF · Open in the Atlas

Code that ran

8 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; 1 failure 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/2207.10553.json · badge: /api/ran/2207.10553.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
IRLAB-Therapeutics/mabe_2022 canonical (classifier label)
classifier basis not recorded on the link
7 ran · 1 no recorded run
JiaHeng-DLUT/MABe2022 canonical (classifier label)
classifier basis: classifier_2025
1 ran · 0 no recorded run
FunctionStatusWhere it lives
create_bounding_box Ran
ran on a synthesized input
IRLAB-Therapeutics/mabe_2022/utils/video_dataset.py
code served (permissive licence) · get_code("b6f830514e9874b0")
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 os
import numpy as np
import tempfile
import shutil

# Create a temporary directory for testing
temp_dir = tempfile.mkdtemp()

# Create mock keypoints data structure
keypoints_data = {
    'sequences': {
        'seq_1': {
            'keypoints': np.random.randint(0, 512, size=(5, 3, 10, 2)).astype(np.float32)
        },
        'seq_2': {
            'keypoints': np.random.randint(0, 512, size=(4, 3, 10, 2)).astype(np.float32)
        }
    }
}

# Save the mock keypoints file
keypoints_path = os.path.join(temp_dir, 'submission_keypoints.npy')
np.save(keypoints_path, keypoints_data)

# Define the ARGS dictionary
ARGS = {
    'data_dir': temp_dir
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, tqdm — 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
encode_angle Ran
ran on a synthesized input
IRLAB-Therapeutics/mabe_2022/utils/handcrafted_geometries.py
code served (permissive licence) · get_code("f1b4d733b8e23f8c")
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 ndarray, ndim 2, dtype family float, shape (4, 2) 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

# Create a small angle array to pass to encode_angle
angle = np.array([0.0, np.pi/2, np.pi, 3*np.pi/2])

ARGS = {
    "angle": angle
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
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 2, dtype family float, shape (4, 2) — shape (4, 2) 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
find_corners Ran
ran on a synthesized input
IRLAB-Therapeutics/mabe_2022/utils/find_cage_features.py
code served (permissive licence) · get_code("c6f9d81c41c5531f")
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 list, ndim 2, 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
from skimage.transform import hough_line, hough_line_peaks
from skimage.filters import gaussian

# Create a simple test frame with shape (height, width, channels)
# The function expects a 3D array where it accesses [:, :, 0] for the first channel
# We'll create a frame with some structure to help the edge detection work
frame = np.random.rand(100, 120, 3).astype(np.float32)

# Add some contrast to create detectable edges
frame[10:15, :, 0] = 1.0  # bright horizontal band (top edge)
frame[85:90, :, 0] = 0.1  # dark horizontal band (bottom edge)
frame[:, 10:15, 0] = 0.1  # dark vertical band (left edge)
frame[:, 105:110, 0] = 1.0  # bright vertical band (right edge)

ARGS = {
    "frame": frame
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, skimage — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type list, ndim 2, dtype family float — a list 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
find_edge Ran
ran on a synthesized input
IRLAB-Therapeutics/mabe_2022/utils/find_cage_features.py
code served (permissive licence) · get_code("3acb200f06ba0194")
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 numpy as np

# Create a small contrast image for testing
# The function expects a 2D array that can be normalized and thresholded
np.random.seed(0)
contrast_image = np.random.rand(128, 128) * 255
# Add some structure to make edge detection meaningful
contrast_image[40:50, :] += 100  # Add a horizontal band
contrast_image[:, 60:70] += 50   # Add a vertical band

ARGS = {
    "contrast_image": contrast_image,
    "is_horizontal": True,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, skimage — 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
find_intersection Ran
ran on a synthesized input
IRLAB-Therapeutics/mabe_2022/utils/find_cage_features.py
code served (permissive licence) · get_code("527d57cb512bcc8e")
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

torch.manual_seed(0)

# edge_0 and edge_1 are tuples of ((x, y), slope)
# The function unpacks them and performs geometric calculations

edge_0 = ((2.0, 3.0), 1.5)
edge_1 = ((4.0, 5.0), 2.0)

ARGS = {
    "edge_0": edge_0,
    "edge_1": edge_1
}
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_keypoints_map Ran
ran on a synthesized input
IRLAB-Therapeutics/mabe_2022/utils/keypoint_dataset.py
code served (permissive licence) · get_code("673c8d94f0ecf918")
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 tempfile
import numpy as np
import os

# Create a temporary directory to hold the test data
temp_dir = tempfile.mkdtemp()

# Create mock keypoints data structures
# The function expects .npy files that contain dictionaries with 'sequences' key
submission_keypoints_data = {
    'sequences': {
        'seq_1': np.array([[1.0, 2.0], [3.0, 4.0]]),
        'seq_2': np.array([[5.0, 6.0], [7.0, 8.0]])
    }
}

user_train_keypoints_data = {
    'sequences': {
        'seq_3': np.array([[9.0, 10.0], [11.0, 12.0]]),
        'seq_4': np.array([[13.0, 14.0], [15.0, 16.0]])
    }
}

# Save the mock data as .npy files
np.save(os.path.join(temp_dir, 'submission_keypoints.npy'), submission_keypoints_data)
np.save(os.path.join(temp_dir, 'user_train.npy'), user_train_keypoints_data)
np.save(os.path.join(temp_dir, 'submission_keypoints_filled_holes.npy'), submission_keypoints_data)
np.save(os.path.join(temp_dir, 'train_keypoints_filled_holes.npy'), user_train_keypoints_data)

ARGS = {
    'data_dir': temp_dir,
    'set': 'all',
    'filled_holes': False
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy — 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
polygon_area Ran
ran on a synthesized input
IRLAB-Therapeutics/mabe_2022/utils/handcrafted_geometries.py
code served (permissive licence) · get_code("3c1d9542aa38d20e")
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 ndarray, ndim 2, dtype family float, shape (2, 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 numpy as np

# polygon_area expects m to be a 4D numpy array with shape (batch, num_polygons, num_points, 2)
# where the last dimension contains (x, y) coordinates
# The function accesses m[:, :, :, 0] for x and m[:, :, :, 1] for y
# It also accesses m[:, :, -1] and m[:, :, 0] for the correction term
# And m[:, :, :-1] and m[:, :, 1:] for the main area calculation

# Create a small valid polygon array
# Shape: (batch=2, num_polygons=3, num_points=4, coordinates=2)
m = np.array([
    [
        [[0, 0], [1, 0], [1, 1], [0, 1]],  # square
        [[0, 0], [2, 0], [1, 2], [0, 0]],  # triangle
        [[0, 0], [1, 1], [2, 0], [1, -1]]  # diamond
    ],
    [
        [[0, 0], [3, 0], [3, 3], [0, 3]],  # larger square
        [[1, 1], [2, 1], [2, 2], [1, 2]],  # small square
        [[0, 0], [4, 0], [2, 4], [0, 0]]   # triangle
    ]
], dtype=np.float32)

ARGS = {
    'm': m
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
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 2, dtype family float, shape (2, 3) — shape (2, 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
validate_submission Ran
ran; our contract draft was wrong, not the code
JiaHeng-DLUT/MABe2022/mabe/models/moco_model.py
pointer only (licence: NONE) · get_code("9084513f06fedbf0")
How it ran

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

normalize_mouse Not yet run
unverified (harvested, no recorded run)
IRLAB-Therapeutics/mabe_2022/utils/handcrafted_geometries.py
code served (permissive licence) · get_code("93ca5cca72ba494a")
How it ran

no invocation recorded.

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, 0 are also present in other papers whose code we hold (0 with at least one paper dated earlier, 0 the same month, 0 later) and 9 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.

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 introduce MABe22, a large-scale, multi-agent video and trajectory benchmark to assess the quality of learned behavior representations. This dataset is collected from a variety of biology experiments, and includes triplets of interacting mice (4.7 million frames video+pose tracking data, 10 million frames pose only), symbiotic beetle-ant interactions (10 million frames video data), and groups of interacting flies (4.4 million frames of pose tracking data). Accompanying these data, we introduce a panel of reallife downstream analysis tasks to assess the quality of learned representations by evaluating how well they preserve information about the experimental conditions (e.g. strain, time of day, optogenetic stimulation) and animal behavior. We test multiple state-of-the-art self-supervised video and trajectory representation learning methods to demonstrate the use of our benchmark, revealing that methods developed using human action datasets do not fully translate to animal datasets. We hope that our benchmark and dataset encourage a broader exploration of behavior representation learning methods across species and settings.

For agents

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

get_harvested_code_for_paper("2207.10553")
get_code_for_paper("2207.10553")
have("2207.10553")

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

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

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

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

Connect an agent — have() is free.