paper-with-me

Papers

Locality Alignment Improves Vision-Language Models

2024-10-14 · Ian Covert, Tony Sun, James Zou, Tatsunori Hashimoto

Vision language models (VLMs) have seen growing adoption in recent years, but many still struggle with basic spatial reasoning errors. We hypothesize that this is due to VLMs adopting pre-trained vision backbones, specifically vision transformers (ViTs) trained with image-level supervision and minimal inductive biases. Such models may fail to encode the class contents at each position in the image, and our goal is to resolve this by ensuring that the vision backbone effectively captures both local and global image semantics. Our main insight is that we do not require new supervision to learn this capability -- pre-trained models contain significant knowledge of local semantics that we can extract and use for scalable self-supervision. We propose a new efficient post-training stage for ViTs called locality alignment and a novel fine-tuning procedure called MaskEmbed that uses a masked reconstruction loss to learn semantic contributions for each image patch. We first evaluate locality alignment with a vision-only benchmark, finding that it improves a model's performance at a patch-level semantic segmentation task, especially for strong backbones trained with image-caption pairs (e.g., CLIP and SigLIP). We then train a series of VLMs with and without locality alignment, and show that locality-aligned backbones improve performance across a range of benchmarks, particularly ones that involve spatial understanding (e.g., RefCOCO, OCID-Ref, TallyQA, VSR, AI2D). Overall, we demonstrate that we can efficiently learn local semantic extraction via a locality alignment stage, and that this procedure complements existing VLM training recipes that use off-the-shelf vision backbones.

📄 PDF Abstract BibTeX arXiv:2410.11087

Code (1)

shengliu66/vti pytorch

Tasks

Semantic SegmentationSpatial Reasoning

Methods 이 논문이 사용한 방법론

CLIP Contrastive Language-Image Pre-training (CLIP), consisting of a simplified version of ConVIRT trained from scratch, is an efficient method of image representation learning…

Similar Papers 제목 키워드 기반

Locality Preserving Loss: Neighbors that Live together, Align together

2020-04-07 · EACL (AdaptNLP) 2021 4 · Ashwinkumar Ganesan, Francis Ferraro, Tim Oates

We present a locality preserving loss (LPL) that improves the alignment between vector space embeddings while separating uncorrelated representations. Given two pretrained embedding manifolds, LPL optimizes a model to pr…

Natural Language InferenceSentence EmbeddingsSTStext similarity+1

PromptHub: Enhancing Multi-Prompt Visual In-Context Learning with Locality-Aware Fusion, Concentration and Alignment

2026-03-19 · Tianci Luo, Jinpeng Wang, Shiyu Qin, Niu Lian 외 arxiv

Visual In-Context Learning (VICL) aims to complete vision tasks by imitating pixel demonstrations. Recent work pioneered prompt fusion that combines the advantages of various demonstrations, which shows a promising way t…

Data Augmentation

AttAnchor: Guiding Cross-Modal Token Alignment in VLMs with Attention Anchors

2025-09-27 · Junyang Zhang, Tianyi Zhu, Thierry Tambe arxiv

A fundamental reason for the dominance of attention over RNNs and LSTMs in LLMs is its ability to capture long-range dependencies by modeling direct interactions between all tokens, overcoming the sequential limitations …

A Locality Radius Framework for Understanding Relational Inductive Bias in Database Learning

2026-02-19 · Aadi Joshi, Kavya Bhand arxiv

Foreign key discovery and related schema-level prediction tasks are often modeled using graph neural networks (GNNs), implicitly assuming that relational inductive bias improves performance. However, it remains unclear w…

Human-Free Automated Prompting for Vision-Language Anomaly Detection: Prompt Optimization with Meta-guiding Prompt Scheme

2024-06-26 · Pi-Wei Chen, Jerry Chun-Wei Lin, Jia Ji, Feng-Hao Yeh 외

Pre-trained vision-language models (VLMs) are highly adaptable to various downstream tasks through few-shot learning, making prompt-based anomaly detection a promising approach. Traditional methods depend on human-crafte…

Anomaly DetectionAnomaly SegmentationFew-Shot Learning