Mind the Heads: Topological Representation Alignment for Multimodal LLMs
Davide Caffagni, Alberto Compagnoni, Federico Melis, Sara Sarto, Pier Luigi Dovesi, Mark Granroth-Wilding, Marcella Cornia, Lorenzo Baraldi
NeurIPS page · Open on the map
Category: Vision-Language Models › Multimodal Reasoning and Alignment · Type: new method · Keywords: multimodal LLMs, representation alignment, attention heads, topological structure, visual hallucinations, cross-modal alignment
Areas: Multimodal › Multimodal Integration and Robustness › Multimodal Large Language Models; Evaluation & Benchmarks › Visual Multimodal Evaluation › Multimodal evaluation
Summary
HeRA aligns individual attention heads in multimodal LLMs to preserve topological structure of representations across modalities, improving performance on vision-centric tasks and reducing hallucinations.
Explained to a 5-year-old
Some computer programs learn to understand both words and pictures. They have special parts called attention heads that help focus on different things. The new idea makes these heads match the way pictures are organized with the way words are organized. This helps the program guess pictures better and not get confused by words alone. As a result, the program becomes more accurate when looking at pictures.
Explained to a 5-year-old, longer
Computers can be taught to read words and look at pictures. They have many little helpers inside called attention heads that point to different parts. Usually, people only make these helpers match one part of the picture. The new idea makes each helper match the picture in a way that keeps the shape of the information. It looks at how similar things are near each other in both words and pictures. Then it picks the helpers that are the least similar to improve the most. This extra training helps the computer understand pictures better. It also stops the computer from guessing pictures only from the words it knows. As a result, the computer makes fewer mistakes when answering questions about pictures. The improvement works for many different computer models that read both text and images. This makes the models more reliable for tasks like describing pictures or answering visual questions. Overall, the method makes multimodal models smarter and less likely to be fooled.
For a technical reader
The paper addresses the misalignment between language and vision representations in multimodal large language models by operating at the granularity of individual attention heads. It introduces a contrastive loss that preserves local neighborhood relationships (topological structure) across modalities, using a mutual k-nearest-neighbor metric to evaluate head alignment. Heads with the lowest alignment scores are selected for regularization, and the loss is applied during multimodal pre-training. Empirical results show consistent gains on vision-centric benchmarks and a reduction in hallucinations caused by over-reliance on linguistic priors. The method serves as a drop-in regularizer that can be combined with existing MLLM training pipelines without altering the model architecture.
Problem
Multimodal large language models often align representations at a fixed layer, ignoring the fine-grained structure of transformer attention heads, which can limit cross-modal alignment and cause over-reliance on language priors.
Method
The approach enforces cross-modal alignment at the level of individual attention heads by using a contrastive objective that matches local neighborhood relationships (topological structure) across modalities. It selects heads based on an alignment score and applies the objective during multimodal training.
Results
The approach yields consistent improvements on vision-centric tasks and reduces visual hallucinations caused by over-reliance on linguistic priors.
Contributions
The work introduces a head-wise alignment strategy that preserves topological structure of representations across modalities and selects the least aligned heads for greatest gains, providing a regularizer that mitigates hallucinations.
Research questions this paper is counted under
This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. Suggest a correction