SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2111.12085 · 2021

UniTAB: Unifying Text and Box Outputs for Grounded Vision-Language Modeling

arXiv · PDF · Open in the Atlas

Code that ran

14 of 15 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; 1 honoured the contract we drafted, 0 violated it and 6 have no contract verdict; 7 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/2111.12085.json · badge: /api/ran/2111.12085.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
microsoft/UniTAB canonical (classifier label)
classifier basis not recorded on the link
14 ran · 1 no recorded run
FunctionStatusWhere it lives
build_position_encoding Ran
ran; our contract draft was wrong, not the code
microsoft/UniTAB/models/position_encoding.py
code served (permissive licence) · get_code("cea3f92defccfb9c")
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 PositionEmbeddingSine. 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 math

torch.manual_seed(0)

class TensorList:
    """Mock tensor list object used by the position embedding functions."""
    def __init__(self, tensors, mask):
        self.tensors = tensors
        self.mask = mask

class Args:
    """Mock arguments object for build_position_encoding."""
    def __init__(self, hidden_dim=128, position_embedding='sine'):
        self.hidden_dim = hidden_dim
        self.position_embedding = position_embedding

# Create a small batch of tensors
batch_size = 2
height = 4
width = 3
channels = 16

# Create input tensor
tensors = torch.randn(batch_size, channels, height, width)

# Create mask (False means valid, True means padding)
mask = torch.zeros(batch_size, height, width, dtype=torch.bool)

# Create tensor_list object
tensor_list = TensorList(tensors=tensors, mask=mask)

# Create args for sine position embedding
args_sine = Args(hidden_dim=128, position_embedding='sine')

# Create args for learned position embedding
args_learned = Args(hidden_dim=128, position_embedding='learned')

ARGS = {
    'args': args_sine
}
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 PositionEmbeddingSine — a PositionEmbeddingSine output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a PositionEmbeddingSine 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
convert_to_xywh Ran
ran, honoured the contract we drafted
microsoft/UniTAB/datasets/coco_eval.py
pointer only (licence: MIT); the stored copy get_code serves, from yuhangzang/contextdet, is pointer only (licence: NOASSERTION) · get_code("f31a58bf6457ced5")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (MIT), but get_code serves the stored copy, first harvested from yuhangzang/contextdet, and GitHub could not classify the licence of that repository (NOASSERTION). 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.

cook_refs Ran
ran; our contract draft was wrong, not the code
microsoft/UniTAB/cococapeval/cider/cider_scorer.py
pointer only (licence: MIT); the stored copy get_code serves, from wenhuchen/data-to-text-evaluation-metric, is pointer only (licence: NOASSERTION) · get_code("4c1b107103b7c856")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (MIT), but get_code serves the stored copy, first harvested from wenhuchen/data-to-text-evaluation-metric, and GitHub could not classify the licence of that repository (NOASSERTION). 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.

cook_refs Ran
ran; our contract draft was wrong, not the code
microsoft/UniTAB/cococapeval/bleu/bleu_scorer.py
code served (permissive licence) · get_code("7586e1d32f7325f7")
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.

from collections import defaultdict

ARGS = {
    'refs': [
        'the quick brown fox jumps over the lazy dog',
        'a quick brown fox leaps over a lazy dog'
    ],
    'eff': 'shortest',
    'n': 4
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
none outside the standard library — 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
cook_test Ran
ran; our contract draft was wrong, not the code
microsoft/UniTAB/cococapeval/cider/cider_scorer.py
pointer only (licence: MIT); the stored copy get_code serves, from wenhuchen/data-to-text-evaluation-metric, is pointer only (licence: NOASSERTION) · get_code("3573c4bc85f65dfd")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (MIT), but get_code serves the stored copy, first harvested from wenhuchen/data-to-text-evaluation-metric, and GitHub could not classify the licence of that repository (NOASSERTION). 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.

cook_test Ran
ran on a synthesized input
microsoft/UniTAB/cococapeval/bleu/bleu_scorer.py
code served (permissive licence) · get_code("99e54843980299e2")
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.

from collections import defaultdict

def precook(s, n=4, out=False):
    """Takes a string as input and returns an object that can be given to
    either cook_refs or cook_test. This is optional: cook_refs and cook_test
    can take string arguments as well."""
    words = s.split()
    counts = defaultdict(int)
    for k in range(1, n + 1):
        for i in range(len(words) - k + 1):
            ngram = tuple(words[i:i + k])
            counts[ngram] += 1
    return (len(words), counts)

def cook_test(test, refs, eff=None, n=4):
    """Takes a test sentence and returns an object that
    encapsulates everything that BLEU needs to know about it."""
    reflen, refmaxcounts = refs
    testlen, counts = precook(test, n, True)
    result = {}
    if eff == 'closest':
        result['reflen'] = min(((abs(l - testlen), l) for l in reflen))[1]
    else:
        result['reflen'] = reflen
    result['testlen'] = testlen
    result['guess'] = [max(0, testlen - k + 1) for k in range(1, n + 1)]
    result['correct'] = [0] * n
    for ngram, count in counts.items():
        result['correct'][len(ngram) - 1] += min(refmaxcounts.get(ngram, 0), count)
    return result

# Build test arguments
test_string = "the quick brown fox jumps over the lazy dog"

# Create reference data using precook
ref_string_1 = "the quick brown fox jumps over the lazy dog"
ref_string_2 = "a fast brown fox leaps over the lazy dog"
reflen_1, refcounts_1 = precook(ref_string_1, n=4)
reflen_2, refcounts_2 = precook(ref_string_2, n=4)

# Merge reference counts (take max for each ngram)
refmaxcounts = defaultdict(int)
for ngram, count in refcounts_1.items():
    refmaxcounts[ngram] = max(refmaxcounts[ngram], count)
for ngram, count in refcounts_2.items():
    refmaxcounts[ngram] = max(refmaxcounts[ngram], count)

# Create refs tuple
refs = ([reflen_1, reflen_2], refmaxcounts)

ARGS = {
    'test': test_string,
    'refs': refs,
    'eff': None,
    'n': 4
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
none outside the standard library — 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
create_positive_map Ran
ran on a synthesized input
microsoft/UniTAB/datasets/coco.py
code served (permissive licence) · get_code("5c1b500d83c0cf64")
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 (3, 256) 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)

class MockTokenized:
    """Mock tokenizer output with char_to_token method"""
    def __init__(self):
        self.char_map = {
            0: 0, 1: 0, 2: 1, 3: 1, 4: 2, 5: 2, 6: 3, 7: 3,
            8: 4, 9: 4, 10: 5, 11: 5, 12: 6, 13: 6, 14: 7, 15: 7
        }
    
    def char_to_token(self, char_pos):
        """Map character position to token index"""
        if char_pos < 0 or char_pos >= len(self.char_map):
            return None
        return self.char_map.get(char_pos, None)

tokenized = MockTokenized()

tokens_positive = [
    [(0, 4), (8, 12)],
    [(2, 6)],
    [(4, 8)]
]

ARGS = {
    "tokenized": tokenized,
    "tokens_positive": tokens_positive
}
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 2, dtype family float, shape (3, 256) — shape (3, 256) 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
evaluate Ran
ran; our contract draft was wrong, not the code
microsoft/UniTAB/datasets/coco_eval.py
pointer only (licence: MIT); the stored copy get_code serves, from yuhangzang/contextdet, is pointer only (licence: NOASSERTION) · get_code("fe0ddcc2d420c9a0")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (MIT), but get_code serves the stored copy, first harvested from yuhangzang/contextdet, and GitHub could not classify the licence of that repository (NOASSERTION). 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.

precook Ran
ran; our contract draft was wrong, not the code
microsoft/UniTAB/cococapeval/bleu/bleu_scorer.py
code served (permissive licence) · get_code("ec4448373d72d636")
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 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.

ARGS = {
    "s": "the quick brown fox jumps over the lazy dog",
    "n": 4,
    "out": False
}
Setup block drafted by
a language model, Claude Sonnet 4.5, prompt python_fixture_v1
Imports
none outside the standard library — 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
precook Ran
ran; our contract draft was wrong, not the code
microsoft/UniTAB/cococapeval/cider/cider_scorer.py
pointer only (licence: MIT); the stored copy get_code serves, from wenhuchen/data-to-text-evaluation-metric, is pointer only (licence: NOASSERTION) · get_code("9560e3e3e41bc1b2")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (MIT), but get_code serves the stored copy, first harvested from wenhuchen/data-to-text-evaluation-metric, and GitHub could not classify the licence of that repository (NOASSERTION). 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.

seq2logits Ran
ran on a synthesized input
microsoft/UniTAB/models/postprocessors.py
code served (permissive licence) · get_code("a3646da4ef0cdb56")
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 3, dtype family float, shape (2, 100, 256) 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 expects:
# - bbox_logits: a tensor of shape (batch_size, seq_len, vocab_size)
#   where argmax is taken over the last dimension
# - text_vocab: an integer (default 50265)

batch_size = 2
seq_len = 8
vocab_size = 256

# Create bbox_logits tensor
# Shape: (batch_size, seq_len, vocab_size)
# The function uses argmax(dim=-1) to get predictions
bbox_logits = torch.randn(batch_size, seq_len, vocab_size)

ARGS = {
    "bbox_logits": bbox_logits,
    "text_vocab": 50265,
}
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 3, dtype family float, shape (2, 100, 256) — shape (2, 100, 256) 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
target2gtind Ran
ran on a synthesized input
microsoft/UniTAB/models/unitab.py
code served (permissive licence) · get_code("e4584fdac028654e")
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 int, shape (2, 8) 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)

# caption_idx: shape (batch_size, max_length) with token indices
caption_idx = torch.randint(50265, 51000, (2, 8)).long()

# targets: list of dicts with 'boxes' and 'positive_map' keys
# boxes shape: (num_objects, 4) in normalized coordinates (cx, cy, w, h)
# positive_map shape: (num_objects, max_length) with values indicating alignment
targets = [
    {
        'boxes': torch.tensor([
            [0.3, 0.4, 0.2, 0.1],
            [0.7, 0.6, 0.15, 0.2]
        ]).float(),
        'positive_map': torch.tensor([
            [0, 1, 1, 0, 0, 0, 0, 0],
            [0, 0, 0, 1, 1, 1, 0, 0]
        ]).float()
    },
    {
        'boxes': torch.tensor([
            [0.5, 0.5, 0.25, 0.25]
        ]).float(),
        'positive_map': torch.tensor([
            [0, 0, 1, 1, 0, 0, 0, 0]
        ]).float()
    }
]

# num_bins: number of quantization bins for bbox coordinates
num_bins = 100

# text_vocab: size of text vocabulary
text_vocab = 50265

ARGS = {
    'caption_idx': caption_idx,
    'targets': targets,
    'num_bins': num_bins,
    'text_vocab': text_vocab
}
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 2, dtype family int, shape (2, 8) — shape (2, 8) 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
target2prevind Ran
ran on a synthesized input
microsoft/UniTAB/models/unitab.py
code served (permissive licence) · get_code("11cd2a3ee603af97")
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 int, shape (2, 10) 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)

# Build caption_idx: (batch_size=2, max_length=10)
# Contains token indices in range [0, 50265)
caption_idx = torch.randint(0, 50265, (2, 10))

# Build targets: list of dicts with 'boxes' and 'positive_map'
# For batch item 0:
target_0 = {
    'boxes': torch.tensor([
        [0.3, 0.4, 0.2, 0.25],  # cx, cy, w, h format
        [0.7, 0.6, 0.15, 0.2]
    ], dtype=torch.float32),
    'positive_map': torch.zeros((2, 10))
}
# Set some positive_map entries to indicate object-text associations
target_0['positive_map'][0, 1:4] = 0.5  # object 0 maps to tokens 1-3
target_0['positive_map'][1, 6:9] = 0.5  # object 1 maps to tokens 6-8

# For batch item 1:
target_1 = {
    'boxes': torch.tensor([
        [0.5, 0.5, 0.3, 0.3]
    ], dtype=torch.float32),
    'positive_map': torch.zeros((1, 10))
}
target_1['positive_map'][0, 2:5] = 0.5

targets = [target_0, target_1]

# num_bins parameter
num_bins = 100

# text_vocab parameter (default in function)
text_vocab = 50265

ARGS = {
    'caption_idx': caption_idx,
    'targets': targets,
    'num_bins': num_bins,
    'text_vocab': text_vocab
}
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 2, dtype family int, shape (2, 10) — shape (2, 10) 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
withbbox_subseq Ran
ran on a synthesized input
microsoft/UniTAB/models/unitab.py
code served (permissive licence) · get_code("97aaacff6f0b7fee")
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 (10,) 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)

# Analyze the function:
# - textonly_subseq: a tensor that is indexed and has .shape, .device attributes
# - bbox: a tensor that is indexed with slice notation
# - start_token: a scalar (integer token)
# - end_token: a scalar (integer token)

# Create a small textonly_subseq tensor
textonly_subseq = torch.tensor([10, 20, 30, 40], dtype=torch.long)

# Create a small bbox tensor with 4 elements (for coordinates)
bbox = torch.tensor([100, 200, 300, 400], dtype=torch.long)

# Create token values
start_token = 1
end_token = 2

ARGS = {
    "textonly_subseq": textonly_subseq,
    "bbox": bbox,
    "start_token": start_token,
    "end_token": end_token,
}
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 (10,) — shape (10,) 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
build_transformer Not yet run
unverified (harvested, no recorded run)
microsoft/UniTAB/models/transformer_unitab.py
code served (permissive licence) · get_code("0b02672adf92e20a")
How it ran

no invocation recorded.

Also present in other papers' code

Of 15 samples lifted from this paper's linked repositories, 15 carry a function identity and 0 do not. Of the 15 distinct functions with an identity, 9 are also present in other papers whose code we hold (9 with at least one paper dated earlier, 0 the same month, 8 later) and 6 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
cook_refs 25 other papers
13 dated earlier, 12 later
1411.5726 (2014-11)
CIDEr: Consensus-based Image Description Evaluation
1502.03044 (2015-02)
Show, Attend and Tell: Neural Image Caption Generation with Visual Attention
1503.01817 (2015-03)
YFCC100M: The New Data in Multimedia Research
and 22 more not named here
convert_to_xywh 24 other papers
7 dated earlier, 17 later
1512.02325 (2015-12)
SSD: Single Shot MultiBox Detector
2010.04159 (2020-10)
Deformable DETR: Deformable Transformers for End-to-End Object Detection
2103.11731 (2021-03)
Meta-DETR: Image-Level Few-Shot Object Detection with Inter-Class Correlation Exploitation
and 21 more not named here
evaluate 23 other papers
7 dated earlier, 16 later
1512.02325 (2015-12)
SSD: Single Shot MultiBox Detector
2010.04159 (2020-10)
Deformable DETR: Deformable Transformers for End-to-End Object Detection
2103.11731 (2021-03)
Meta-DETR: Image-Level Few-Shot Object Detection with Inter-Class Correlation Exploitation
and 20 more not named here
cook_test 22 other papers
11 dated earlier, 11 later
1411.5726 (2014-11)
CIDEr: Consensus-based Image Description Evaluation
1502.03044 (2015-02)
Show, Attend and Tell: Neural Image Caption Generation with Visual Attention
1503.01817 (2015-03)
YFCC100M: The New Data in Multimedia Research
and 19 more not named here
precook 22 other papers
13 dated earlier, 9 later
1411.4555 (2014-11)
Show and Tell: A Neural Image Caption Generator
1502.03044 (2015-02)
Show, Attend and Tell: Neural Image Caption Generation with Visual Attention
1611.09268 (2016-11)
MS MARCO: A Human Generated MAchine Reading COmprehension Dataset
and 19 more not named here
cook_refs 21 other papers
11 dated earlier, 10 later
1502.03044 (2015-02)
Show, Attend and Tell: Neural Image Caption Generation with Visual Attention
1611.09268 (2016-11)
MS MARCO: A Human Generated MAchine Reading COmprehension Dataset
1611.09571 (2016-11)
Predicting Human Eye Fixations via an LSTM-based Saliency Attentive Model
and 18 more not named here
precook 14 other papers
5 dated earlier, 9 later
1411.5726 (2014-11)
CIDEr: Consensus-based Image Description Evaluation
1502.03044 (2015-02)
Show, Attend and Tell: Neural Image Caption Generation with Visual Attention
1806.00807 (2018-06)
Learning Semantic Sentence Embeddings using Sequential Pair-wise Discriminator
and 11 more not named here
build_position_encoding 8 other papers
2 dated earlier, 6 later
2104.12763 (2021-04)
MDETR -Modulated Detection for End-to-End Multi-Modal Understanding
2108.11084 (2021-08)
Transformer for Single Image Super-Resolution
2207.13325 (2022-07)
SiRi: A Simple Selective Retraining Mechanism for Transformer-based Visual Grounding
and 5 more not named here
cook_test 2 other papers
2 dated earlier
1502.03044 (2015-02)
Show, Attend and Tell: Neural Image Caption Generation with Visual Attention
1806.00807 (2018-06)
Learning Semantic Sentence Embeddings using Sequential Pair-wise Discriminator

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 propose UniTAB that Unifies Text And Box outputs for grounded vision-language (VL) modeling. Grounded VL tasks such as grounded captioning require the model to generate a text description and align predicted words with object regions. To achieve this, models must generate desired text and box outputs together, and meanwhile indicate the alignments between words and boxes. In contrast to existing solutions that use multiple separate modules for different outputs, UniTAB represents both text and box outputs with a shared token sequence, and introduces a special &lt;obj&gt; token to naturally indicate word-box alignments in the sequence. UniTAB thus could provide a more comprehensive and interpretable image description, by freely grounding generated words to object regions. On grounded captioning, UniTAB presents a simpler solution with a single output head, and significantly outperforms state of the art in both grounding and captioning evaluations. On general VL tasks that have different desired output formats (i.e., text, box, or their combination), UniTAB with a single network achieves better or comparable performance than task-specific state of the art. Experiments cover 7 VL benchmarks, including grounded captioning, visual grounding, image captioning, and visual question answering. Furthermore, UniTAB's unified multi-task network and the task-agnostic output sequence design make the model parameter efficient and generalizable to new tasks.

For agents

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

get_harvested_code_for_paper("2111.12085")
get_code_for_paper("2111.12085")
have("2111.12085")

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

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

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

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

Connect an agent — have() is free.