Papers › Grounding Language Models for Visual Entity Recognition

Grounding Language Models for Visual Entity Recognition

28 Feb 2024arXiv:2402.18695archive 2025-07-28

Zilin Xiao, Ming Gong, Paola Cascante-Bonilla, Xingyao Zhang, Jie Wu, Vicente Ordonez

We introduce AutoVER, an Autoregressive model for Visual Entity Recognition. Our model extends an autoregressive Multi-modal Large Language Model by employing retrieval augmented constrained generation. It mitigates low performance on out-of-domain entities while excelling in queries that require visually-situated reasoning. Our method learns to distinguish similar entities within a vast label space by contrastively training on hard negative pairs in parallel with a sequence-to-sequence objective without an external retriever. During inference, a list of retrieved candidate answers explicitly guides language generation by removing invalid decoding paths. The proposed method achieves significant improvements across different dataset splits in the recently proposed Oven-Wiki benchmark. Accuracy on the Entity seen split rises from 32.7% to 61.5%. It also demonstrates superior performance on the unseen and query splits by a substantial double-digit margin.

PaperPDFCodeCode 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="2402.18695")

Code

Syntology Ran 12 of 26 code samples harvested from 1 repository linked to this paper; 14 have no recorded run. Of those that ran: 3 ran · our draft was wrong; 2 ran · fixture could not drive it; 7 ran with no contract checked.

By repository: official repository: 26 samples from 1 repository, 12 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

mrzilinxiao/autover officialmentioned in papermentioned on GitHubpytorchApache-2.0 report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. 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

26 samples harvested; 12 ran; 0 honoured the contract we drafted; 14 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.

3ran · our draft was wrong
2ran · fixture could not drive it
7ran
14unverified

Licence: 0 of the 26 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 MrZilinXiao/AutoVER. “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.

CLIPVisionTower MrZilinXiao/AutoVER/LLaVA/llava/model/language_model/llava_llama.py official repository ran Apache-2.0 (permissive) · c41616ca93fd79a8 · report
CausalLMOutputWithPastWithRet MrZilinXiao/AutoVER/LLaVA/llava/model/language_model/llava_llama.py official repository ran Apache-2.0 (permissive) · d3336c4c93426ff0 · report
accuracy MrZilinXiao/AutoVER/LLaVA/llava/model/language_model/llava_llama.py official repository ran · fixture could not drive it Apache-2.0 (permissive) · ed5ed903e9e24d08 · report
contrastive_acc MrZilinXiao/AutoVER/LLaVA/llava/model/language_model/llava_llama.py official repository ran · fixture could not drive it Apache-2.0 (permissive) · 0b76a505072cf34e · report
contrastive_loss MrZilinXiao/AutoVER/LLaVA/llava/model/language_model/llava_llama.py official repository ran · our draft was wrong fingerprinted Apache-2.0 (permissive) · 83ada93fd84968cc · report
contrastive_loss_with_target mrzilinxiao/autover/common_utils/loss_utils.py official repository ran Apache-2.0 (permissive) · 418757e4ade61509 · report
encode_image mrzilinxiao/autover/baselines/submit_gpt4v.py official repository ran · our draft was wrong Apache-2.0 (permissive) · f41cb1a19b154297 · report
evaluate_oven mrzilinxiao/autover/bm25_toolkit/official_oven_eval_toolkit.py official repository ran Apache-2.0 (permissive) · 249898a5ceca22bd · report
load_json mrzilinxiao/autover/bm25_toolkit/bm25_index.py official repository ran · our draft was wrong Apache-2.0 (permissive) · e18691c020115ad3 · report
load_jsonl mrzilinxiao/autover/bm25_toolkit/official_oven_eval_toolkit.py official repository ran Apache-2.0 (permissive) · 0dc083025b2aad97 · report
prepare_qid2example mrzilinxiao/autover/bm25_toolkit/official_oven_eval_toolkit.py official repository ran Apache-2.0 (permissive) · cb38c498b185418c · report
run_exactmatch_query mrzilinxiao/autover/bm25_toolkit/exactmatch_query.py official repository ran Apache-2.0 (permissive) · 0ac33fc045371be4 · report
LlavaLlamaForCausalLMWithRet MrZilinXiao/AutoVER/LLaVA/llava/model/language_model/llava_llama.py official repository unverified Apache-2.0 (permissive) · 8db3d394148aae40 · report
LlavaLlamaModelWithRet MrZilinXiao/AutoVER/LLaVA/llava/model/language_model/llava_llama.py official repository unverified Apache-2.0 (permissive) · bd94789c33b6b3ce · report
LlavaMetaForCausalLMWithRet MrZilinXiao/AutoVER/LLaVA/llava/model/language_model/llava_llama.py official repository unverified Apache-2.0 (permissive) · 3653c732c4369b00 · report
LlavaMetaModel MrZilinXiao/AutoVER/LLaVA/llava/model/language_model/llava_llama.py official repository unverified Apache-2.0 (permissive) · ee2ab77aead57d40 · report
RetrieverMetaModel MrZilinXiao/AutoVER/LLaVA/llava/model/language_model/llava_llama.py official repository unverified Apache-2.0 (permissive) · 31d0e17da04e4bfe · report
all_gather_with_grad mrzilinxiao/autover/common_utils/dist_utils.py official repository unverified Apache-2.0 (permissive) · 0ec9fc2025c16f65 · report
all_gather_with_grad_torch mrzilinxiao/autover/common_utils/dist_utils.py official repository unverified Apache-2.0 (permissive) · f1a8171c466e7574 · report
build_entity_encoder MrZilinXiao/AutoVER/LLaVA/llava/model/language_model/llava_llama.py official repository unverified Apache-2.0 (permissive) · e374a58821b3513a · report
build_vision_tower MrZilinXiao/AutoVER/LLaVA/llava/model/language_model/llava_llama.py official repository unverified Apache-2.0 (permissive) · 01a59cbdcf1329ec · report
find_img_path mrzilinxiao/autover/baselines/submit_gpt4v.py official repository unverified Apache-2.0 (permissive) · e8003b1ffefe6856 · report
get_peft_state_maybe_zero_3 mrzilinxiao/autover/train_oven.py official repository unverified Apache-2.0 (permissive) · fa1225dfac92bc0d · report
get_peft_state_non_lora_maybe_zero_3 mrzilinxiao/autover/train_oven.py official repository unverified Apache-2.0 (permissive) · 1c53657305b66e9f · report
maybe_zero_3 mrzilinxiao/autover/train_oven.py official repository unverified Apache-2.0 (permissive) · 616ffbdc154ed2d8 · report
run_gpt_query mrzilinxiao/autover/bm25_toolkit/bm25_query.py official repository unverified Apache-2.0 (permissive) · a5be46c82b7c5a66 · report

Tasks

Language ModelingLanguage ModellingLarge Language ModelRetrievalText Generation

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

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