TL;DR
While most multimodal AI models are limited to simple image-caption pairs, real-world data is often a complex web of many-to-many relationships. This paper introduces Multimodal Graph Learning (MMGL), a framework that enables Large Language Models (LLMs) to generate text by reasoning over structured graphs of multiple images and text blocks, significantly improving performance on tasks like document summarization.
What Problem Does This Paper Address?
Current multimodal learning typically operates on a "1-to-1" assumption—think of one image paired with one caption. However, the real world is rarely that tidy. A Wikipedia page, for instance, contains multiple sections, various images, and a hierarchical structure where an image might relate to several text blocks at once.
Existing models struggle to handle these "many-to-many" relationships. The authors identify three major hurdles in moving from pairs to graphs:
- Scalability: How do you feed dozens of multimodal "neighbors" into an LLM without hitting memory or computational walls?
- Structure: How do you tell the model that Image A belongs to Section 1, while Section 1 is a sub-part of Section 2?
- Efficiency: How can we teach a massive, pre-trained LLM to understand these graphs without the prohibitive cost of full fine-tuning?
Methods
The authors propose the MMGL framework, which treats multimodal data as a graph where nodes are text or images and edges represent their relationships.
To answer their three research questions, they explored several design spaces:
- Neighbor Encoding: They compared three ways to ingest data. SA-Text+Embeddings uses raw text for text neighbors and embeddings for images; SA-Embeddings converts everything into embeddings first; and CA-Embeddings uses cross-attention layers to inject neighbor information.
- Graph Structure Encoding: To move beyond simple sequences, they tested Laplacian Position Encodings (LPE) and Graph Neural Networks (GNNs). The GNN approach runs a small graph network over the neighbor embeddings to bake the structural context directly into the data before the LLM even sees it.
- Parameter-Efficient Fine-Tuning (PEFT): Instead of updating the whole LLM, they utilized LoRA, Prefix Tuning, and Flamingo-style tuning (gated cross-attention) to adapt the model to the graph data with minimal parameter updates.
Datasets
The study utilizes WikiWeb2M, a recently released dataset that treats Wikipedia pages as multimodal graphs. Unlike the older WIT dataset which only features image-caption pairs, WikiWeb2M includes the full page structure: section hierarchies, multiple images per page, and parent-child relationships between sections. The primary task evaluated is section summarization—generating a concise summary of a specific section based on its own content and its multimodal neighbors.
Key Insights and Ideas
- Context is King: Performance improved consistently as more neighbor information was added (moving from just "section text" to "full page multimodal content").
- The "Information Loss" Trap: Interestingly, using raw text for neighbors (SA-TE) performed better than using pre-computed text embeddings (SA-E). This suggests that current text encoders or the simple MLP mappers used to align them with LLMs lose critical nuances that the LLM can only find in raw tokens.
- Structure Matters: Treating neighbors as a flat sequence is sub-optimal. Using GNNs to encode the graph structure provided the best results, proving that the relational context (e.g., hierarchy) is a strong signal for generative tasks.
- The Missing Modality Dilemma: The authors noted a slight performance dip when adding images to sections where images were inconsistent or missing. This highlights a real-world challenge: models need to be robust to "noisy" graphs where not every node has every modality.
Key Results
- Performance Gains: Adding full page context (text and images) improved the CIDEr score (a measure of summarization quality) from 79.68 to 96.62 compared to using only the target section's text.
- Structural Edge: GNN-based position encodings outperformed standard sequential encodings across all metrics (BLEU-4, ROUGE-L, and CIDEr).
- Efficiency: Using LoRA or Flamingo tuning allowed the models to achieve high performance while only training roughly 25-33% of the total parameters, making the approach much more accessible for researchers with limited hardware.
Limitations and Future Work
The authors acknowledge a significant trade-off: while using raw text for neighbors yields the best results, it scales poorly due to the quadratic complexity of LLM self-attention. Conversely, while embeddings scale better, they currently suffer from information loss.
Future work will likely focus on developing more expressive mappers to bridge the gap between frozen encoders and LLMs, as well as finding ways to make the raw-text approach more computationally efficient for massive graphs.
Summary updated