Papers › RETLLM: Training and Data-Free MLLMs for Multimodal Information Retrieval

RETLLM: Training and Data-Free MLLMs for Multimodal Information Retrieval

25 Feb 2026arXiv:2602.22278added by Syntology

Dawei Su, Dongsheng Wang

Title, abstract, authors and date from arXiv's metadata (CC0); this paper is not in the Papers with Code archive (frozen 2025-07-28).

Multimodal information retrieval (MMIR) has gained attention for its flexibility in handling text, images, or mixed queries and candidates. Recent breakthroughs in multimodal large language models (MLLMs) boost MMIR performance by incorporating MLLM knowledge under the contrastive finetuning framework. However, they suffer from pre-training inconsistency and require large datasets. In this work, we introduce a novel framework, RetLLM, designed to query MLLMs for MMIR in a training- and data-free manner. Specifically, we formulate MMIR as a similarity score generation task and prompt MLLMs to directly predict retrieval scores in a coarse-then-fine pipeline. At the coarse stage, a top-k filtering strategy builds a small yet high-quality candidate pool for each query, enabling MLLMs to focus on semantically relevant candidates. Subsequently, the retrieval score is predicted by feeding both the query and candidate into MLLMs at the fine stage. Importantly, we propose a visual enhancement module during reasoning to help MLLMs re-pick forgotten visuals, improving retrieval. Extensive experiments on MMIR benchmarks show that RetLLM outperforms fine-tuned models. Ablation studies further verify each component. Our work demonstrates that MLLMs can achieve strong MMIR performance without any training, highlighting their inherent multimodal reasoning ability in a simple, scalable framework. We release our code at: https://github.com/alivecat05/RETLLM

PaperPDFCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2602.22278")

Code

Syntology Ran 2 of 14 code samples harvested from 1 repository linked to this paper; 12 have no recorded run. Of those that ran: 2 ran · our draft was wrong.

By repository: found in paper text by Syntology: 14 samples from 1 repository, 2 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

alivecat05/RETLLM found in paper text by Syntology report

Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

14 samples harvested; 2 ran; 0 honoured the contract we drafted; 12 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

2ran · our draft was wrong
12unverified

Licence: 0 of the 14 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from alivecat05/RETLLM. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

recall_at_k alivecat05/RETLLM/Codes/main_retrieval_long_module.py found in paper text by Syntology ran · our draft was wrong fingerprinted Apache-2.0 (permissive) · d413d290d3c00325 · report
rotate_half alivecat05/RETLLM/modeling_qwen2_5_vl.py found in paper text by Syntology ran · our draft was wrong fingerprinted Apache-2.0 (permissive) · e03d53ba9d4f9ae5 · report
apply_rotary_pos_emb_flashatt alivecat05/RETLLM/modeling_qwen2_5_vl.py found in paper text by Syntology unverified Apache-2.0 (permissive) · 24acaeb8ad82253e · report
apply_rotary_pos_emb_vision alivecat05/RETLLM/modeling_qwen2_5_vl.py found in paper text by Syntology unverified Apache-2.0 (permissive) · 09445ca10af72017 · report
batchify alivecat05/RETLLM/Codes/main_retrieval_long_module.py found in paper text by Syntology unverified Apache-2.0 (permissive) · 4d3f99af6174569e · report
calculate_entropy alivecat05/RETLLM/Codes/Qwen_vl.py found in paper text by Syntology unverified Apache-2.0 (permissive) · 76755f6879d57a39 · report
calculate_recall_from_results alivecat05/RETLLM/Codes/main_retrieval_long_module.py found in paper text by Syntology unverified Apache-2.0 (permissive) · de6a889b9a238540 · report
compute_entropy alivecat05/RETLLM/Codes/Qwen_vl.py found in paper text by Syntology unverified Apache-2.0 (permissive) · c98c3c7150fdcd2f · report
extract_numbers alivecat05/RETLLM/Codes/Qwen2_vl.py found in paper text by Syntology unverified Apache-2.0 (permissive) · 22d6dd835992f7a4 · report
get_featuremap_size alivecat05/RETLLM/Codes/dino_heal.py found in paper text by Syntology unverified Apache-2.0 (permissive) · ccce81326befa5c1 · report
get_vision_attention_map alivecat05/RETLLM/Codes/attention_demo.py found in paper text by Syntology unverified Apache-2.0 (permissive) · 15f2ce30d8f6af86 · report
get_vision_attention_map alivecat05/RETLLM/Codes/attention_demo_fixed.py found in paper text by Syntology unverified Apache-2.0 (permissive) · ebb035364fe02208 · report
load_model alivecat05/RETLLM/main_eval.py found in paper text by Syntology unverified Apache-2.0 (permissive) · 3e4ea555a8a80225 · report
text_retrieval alivecat05/RETLLM/main_eval.py found in paper text by Syntology unverified Apache-2.0 (permissive) · 75359491f96c06bb · report

Results from the paper

The Papers with Code archive ends with its 2025-07-28 snapshot. This paper's arXiv identifier, 2602.22278, was issued in February 2026, after that date, so the archive has no leaderboard rows for it.

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections