SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2310.09478 · 2023

MiniGPT-v2: large language model as a unified interface for vision-language multi-task learning

arXiv · PDF · Open in the Atlas

Code that ran

3 of 3 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; 0 no recorded run), measured 2026-11-22; 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/2310.09478.json · badge: /api/ran/2310.09478.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
vision-cair/minigpt-4 canonical (classifier label)
classifier basis: classifier_2025
2 ran · 0 no recorded run
copy not recorded community
not in the paper's declared repositories
1 ran · 0 no recorded run
FunctionStatusWhere it lives
computeIoU Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
vision-cair/minigpt-4/demo_v2.py
code served (permissive licence) · get_code("f8e4c1c5aac977d6")
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 float, 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 computeIoU takes two bounding boxes
# Each bbox is a tuple/list of 4 elements: (x1, y1, x2, y2)
# representing coordinates of opposite corners

bbox1 = (10, 20, 50, 80)
bbox2 = (30, 40, 70, 100)

ARGS = {
    "bbox1": bbox1,
    "bbox2": bbox2,
}
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 float, 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
extract_substrings Ran
ran; our contract draft was wrong, not the code
vision-cair/minigpt-4/demo_v2.py
code served (permissive licence) · get_code("5c3e6655c3b3e958")
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 list, 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 re

def extract_substrings(string):
    index = string.rfind('}')
    if index != -1:
        string = string[:index + 1]
    pattern = '<p>(.*?)\\}(?!<)'
    matches = re.findall(pattern, string)
    substrings = [match for match in matches]
    return substrings

# Setup code to construct valid arguments
test_string = '<p>hello}</p><p>world}more</p>end}'

ARGS = {
    'string': test_string
}
Setup block drafted by
a language model, Claude Haiku 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 list, ndim 1, 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
is_overlapping Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
this paper's copy was not recorded; identical code first harvested from ermongroup/TEOChat
pointer only · get_code("37438be3369e6493")
How it ran

The body of this sample is withheld: this paper's copy of the code was not recorded (its link names no repository or source path), so no licence was read for it. 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.

Also present in other papers' code

Of 3 samples lifted from this paper's linked repositories, 3 carry a function identity and 0 do not. Of the 3 distinct functions with an identity, 3 are also present in other papers whose code we hold (0 with at least one paper dated earlier, 0 the same month, 3 later) and 0 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
computeIoU 6 other papers
6 later
2312.16862 (2023-12)
TinyGPT-V: Efficient Multimodal Large Language Model via Small Backbones
2024.findings-emnlp.803 (2024 (year only))
Cross-modality Information Check for Detecting Jailbreaking in Multimodal Large Language Models
2402.06659 (2024-02)
Shadowcast: Stealthy Data Poisoning Attacks against Vision-Language Models
and 3 more not named here
extract_substrings 5 other papers
5 later
2311.15826 (2023-11)
GeoChat: Grounded Large Vision-Language Model for Remote Sensing
2312.16862 (2023-12)
TinyGPT-V: Efficient Multimodal Large Language Model via Small Backbones
2402.06659 (2024-02)
Shadowcast: Stealthy Data Poisoning Attacks against Vision-Language Models
and 2 more not named here
is_overlapping 5 other papers
5 later
2312.16862 (2023-12)
TinyGPT-V: Efficient Multimodal Large Language Model via Small Backbones
2402.06659 (2024-02)
Shadowcast: Stealthy Data Poisoning Attacks against Vision-Language Models
2403.02076 (2024-03)
VTG-GPT: Tuning-Free Zero-Shot Video Temporal Grounding with GPT
and 2 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-22.

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

Abstract

Large language models have shown their remarkable capabilities as a general interface for various language-related applications. Motivated by this, we target to build a unified interface for completing many vision-language tasks including image description, visual question answering, and visual grounding, among others. The challenge is to use a single model for performing diverse vision-language tasks effectively with simple multi-modal instructions. Towards this objective, we introduce MiniGPT-v2, a model that can be treated as a unified interface for better handling various vision-language tasks. We propose using unique identifiers for different tasks when training the model. These identifiers enable our model to better distinguish each task instruction effortlessly and also improve the model learning efficiency for each task. After the three-stage training, the experimental results show that MiniGPT-v2 achieves strong performance on many visual question-answering and visual grounding benchmarks compared to other vision-language generalist models. Our model and codes are available at https://minigpt-v2.github.io/

For agents

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

get_harvested_code_for_paper("2310.09478")
get_code_for_paper("2310.09478")
have("2310.09478")

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

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

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

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

Connect an agent — have() is free.