In this work, we formally define an emerging IR paradigm called Visualized Information Retrieval, or
VisIR
, where multimodal information, such as texts, images, tables and charts, is jointly represented by a unified visual format called
Screenshots
, for various retrieval applications. We further make three key contributions for VisIR. First, we create
VIRA
(Vis-IR Aggregation), a large-scale dataset comprising a vast collection of screenshots from diverse sources, carefully curated into captioned and questionanswer formats. Second, we develop
UniSE
(Universal Screenshot Embeddings), a family of retrieval models that enable screenshots to query or be queried across arbitrary data modalities. Finally, we construct
MVRB
(Massive Visualized IR Benchmark), a comprehensive benchmark covering a variety of task forms and application scenarios. Through extensive evaluations on MVRB, we highlight the deficiency from existing multimodal retrievers and the substantial improvements made by UniSE.
Model Usage
Our code works well on transformers==4.51.3, and we recommend using this version.
1. UniSE-MLLM Models
import torch
from transformers import AutoModel
MODEL_NAME = "BAAI/BGE-VL-Screenshot"
model = AutoModel.from_pretrained(MODEL_NAME,
trust_remote_code=True,
attn_implementation="flash_attention_2",
torch_dtype=torch.bfloat16
) # You must set trust_remote_code=True, and we recommend using flash_attention_2 and bfloat16
model.set_processor(MODEL_NAME)
with torch.no_grad():
device = torch.device("cuda:0")
model = model.to(device)
model.eval()
query_inputs = model.data_process(
images=["./assets/query_1.png", "./assets/query_2.png"],
text=["After a 17% drop, what is Nvidia's closing stock price?", "I would like to see a detailed and intuitive performance comparison between the two models."],
q_or_c="query",
task_instruction="Represent the given image with the given query."
)
candidate_inputs = model.data_process(
images=["./assets/positive_1.jpeg", "./assets/neg_1.jpeg",
"./assets/positive_2.jpeg", "./assets/neg_2.jpeg"],
q_or_c="candidate"
)
query_embeddings = model(**query_inputs)
candidate_embeddings = model(**candidate_inputs)
scores = torch.matmul(query_embeddings, candidate_embeddings.T)
print(scores)
# Expected output:# [[0.5352, 0.3223, 0.1738, 0.1348],# [0.1592, 0.0757, 0.4375, 0.4180]]
Performance on MVRB
MVRB is a comprehensive benchmark designed for the retrieval task centered on screenshots. It includes four meta tasks: Screenshot Retrieval (SR), Composed Screenshot Retrieval (CSR), Screenshot QA (SQA), and Open-Vocabulary Classification (OVC). We evaluate three main types of retrievers on MVRB: OCR+Text Retrievers, General Multimodal Retrievers, and Screenshot Document Retrievers. Our proposed UniSE-MLLM achieves state-of-the-art (SOTA) performance on this benchmark.
@article{liu2025any,
title={Any Information Is Just Worth One Single Screenshot: Unifying Search With Visualized Information Retrieval},
author={Liu, Ze and Liang, Zhengyang and Zhou, Junjie and Liu, Zheng and Lian, Defu},
journal={arXiv preprint arXiv:2502.11431},
year={2025}
}
Runs of BAAI BGE-VL-Screenshot on huggingface.co
344
Total runs
-6
24-hour runs
3
3-day runs
62
7-day runs
86
30-day runs
More Information About BGE-VL-Screenshot huggingface.co Model
BGE-VL-Screenshot huggingface.co is an AI model on huggingface.co that provides BGE-VL-Screenshot's model effect (), which can be used instantly with this BAAI BGE-VL-Screenshot model. huggingface.co supports a free trial of the BGE-VL-Screenshot model, and also provides paid use of the BGE-VL-Screenshot. Support call BGE-VL-Screenshot model through api, including Node.js, Python, http.
BGE-VL-Screenshot huggingface.co is an online trial and call api platform, which integrates BGE-VL-Screenshot's modeling effects, including api services, and provides a free online trial of BGE-VL-Screenshot, you can try BGE-VL-Screenshot online for free by clicking the link below.
BAAI BGE-VL-Screenshot online free url in huggingface.co:
BGE-VL-Screenshot is an open source model from GitHub that offers a free installation service, and any user can find BGE-VL-Screenshot on GitHub to install. At the same time, huggingface.co provides the effect of BGE-VL-Screenshot install, users can directly use BGE-VL-Screenshot installed effect in huggingface.co for debugging and trial. It also supports api for free installation.