SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2406.02547 · 2024

Leveraging Visual Tokens for Extended Text Contexts in Multi-Modal Learning

arXiv · PDF · Open in the Atlas

Code that ran

9 of 14 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, 2 violated it and 0 have no contract verdict; 6 failures of our instrument; 5 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/2406.02547.json · badge: /api/ran/2406.02547.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
showlab/VisInContext canonical (classifier label)
classifier basis: census
9 ran · 5 no recorded run
FunctionStatusWhere it lives
compute_metrics Ran
ran; our contract draft was wrong, not the code
showlab/VisInContext/src/main_instruction_tuning.py
pointer only (licence: NONE) · get_code("dd8287b62746381d")
How it ran

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

convert_to_results_file Ran
ran; our contract draft was wrong, not the code
showlab/VisInContext/src/main_eval_multiprocess.py
pointer only (licence: NONE) · get_code("2214804f14ccb9d6")
How it ran

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

default Ran
ran, violated the contract we drafted
showlab/VisInContext/src/multimodal_model/model_helper.py
pointer only (licence: NONE); the stored copy get_code serves, from ThomasMrY/VCT, is pointer only (licence: NONE) · get_code("60fff7c3c400d7ff")
How it ran

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

exists Ran
ran, violated the contract we drafted
showlab/VisInContext/src/multimodal_model/model_helper.py
pointer only (licence: NONE); the stored copy get_code serves, from ThomasMrY/VCT, is pointer only (licence: NONE) · get_code("aa5486a3650902d8")
How it ran

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

find_max_tar_index Ran
ran, honoured the contract we drafted
showlab/VisInContext/src/utils/count_last_webdataset_sample.py
pointer only (licence: NONE) · get_code("0fe4cffe8835adb2")
How it ran

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

load_config Ran
ran; our contract draft was wrong, not the code
showlab/VisInContext/src/main_eval_multiprocess.py
pointer only (licence: NONE) · get_code("a8b2a337d139e618")
How it ran

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

next_token_predict_accuracy Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
showlab/VisInContext/src/multimodal_model/utils.py
pointer only (licence: NONE) · get_code("850f99157ddf3718")
How it ran

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

patch_torch_distributed_new_group Ran
ran; our contract draft was wrong, not the code
showlab/VisInContext/src/multimodal_model/utils.py
pointer only (licence: NONE) · get_code("2a9d9663f0f97436")
How it ran

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

process_shared_results Ran
ran; our contract draft was wrong, not the code
showlab/VisInContext/src/main_eval_multiprocess.py
pointer only (licence: NONE) · get_code("58aea06420896fb5")
How it ran

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

create_fuyu Not yet run
unverified (harvested, no recorded run)
showlab/VisInContext/src/multimodal_model/load_model.py
pointer only (licence: NONE) · get_code("2690d695e4c513f9")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, showlab/VisInContext 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. No invocation recorded.

gather_tensors_all_nodes Not yet run
unverified (harvested, no recorded run)
showlab/VisInContext/src/multimodal_model/model_architecture.py
pointer only (licence: NONE); the stored copy get_code serves, from CSU-JPG/VIST, is pointer only (licence: NONE) · get_code("d28e72b052b5d438")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, showlab/VisInContext 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. No invocation recorded.

group_all_gather Not yet run
unverified (harvested, no recorded run)
showlab/VisInContext/src/multimodal_model/model_architecture.py
pointer only (licence: NONE); the stored copy get_code serves, from CSU-JPG/VIST, is pointer only (licence: NONE) · get_code("f1f89b7214c45bbf")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, showlab/VisInContext 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. No invocation recorded.

load_config Not yet run
unverified (harvested, no recorded run)
showlab/VisInContext/src/main_instruction_tuning.py
pointer only (licence: NONE) · get_code("f99d0248614d77fd")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, showlab/VisInContext 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. No invocation recorded.

torch_save_patch Not yet run
unverified (harvested, no recorded run)
showlab/VisInContext/src/multimodal_model/utils.py
pointer only (licence: NONE) · get_code("2714f132c61ad580")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, showlab/VisInContext 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. No invocation recorded.

Also present in other papers' code

Of 14 samples lifted from this paper's linked repositories, 14 carry a function identity and 0 do not. Of the 13 distinct functions with an identity, 4 are also present in other papers whose code we hold (2 with at least one paper dated earlier, 2 the same month, 4 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.

FunctionAlso present inEarliest-datedOthers named
exists 486 other papers
348 dated earlier, 13 the same month, 114 later, 9 same year, order not determinable, 2 undated · 78 only as an assembly brick
1603.08155 (2016-03)
Perceptual Losses for Real-Time Style Transfer and Super-Resolution
1611.07004 (2016-11)
Image-to-Image Translation with Conditional Adversarial Networks
1804.04637 (2018-04)
EMBER: An Open Dataset for Training Static PE Malware Machine Learning Models
and 483 more not named here
default 163 other papers
128 dated earlier, 5 the same month, 27 later, 2 same year, order not determinable, 1 undated · 27 only as an assembly brick
1603.08155 (2016-03)
Perceptual Losses for Real-Time Style Transfer and Super-Resolution
1810.00825 (2018-10)
Set Transformer: A Framework for Attention-based Permutation-Invariant Neural Networks
1907.01470 (2019-07)
Augmenting Self-attention with Persistent Memory
and 160 more not named here
gather_tensors_all_nodes 1 other paper
1 later
2502.00791 (2025-02)
Vision-centric Token Compression in Large Language Model
group_all_gather 1 other paper
1 later
2502.00791 (2025-02)
Vision-centric Token Compression in Large Language Model

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

Training models with longer in-context lengths is a significant challenge for multimodal model due to substantial GPU memory and computational costs. This exploratory study does not present state-of-the-art models; rather, it introduces an innovative method designed to increase in-context text length in multi-modality large language models (MLLMs) efficiently. We present Visualized In-Context Text Processing (VisInContext), which processes long in-context text using visual tokens. This technique significantly reduces GPU memory usage and floating point operations (FLOPs) for both training and inferenceing stage. For instance, our method expands the pre-training in-context text length from 256 to 2048 tokens with nearly same FLOPs for a 56 billion parameter MOE model. Experimental results demonstrate that model trained with VisInContext delivers superior performance on common downstream benchmarks for in-context few-shot evaluation. Additionally, VisInContext is complementary to existing methods for increasing in-context text length and enhances document understanding capabilities, showing great potential in document QA tasks and sequential document retrieval.

For agents

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

get_harvested_code_for_paper("2406.02547")
get_code_for_paper("2406.02547")
have("2406.02547")

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

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

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

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

Connect an agent — have() is free.