Reveal: Retrieval-Augmented Visual-Language Pre-Training with Multi-Source Multimodal Knowledge Memory

Ziniu Hu, Ahmet Iscen, Chen Sun, Zirui Wang, Kai-Wei Chang, Yizhou Sun, Cordelia Schmid, David A. Ross, Alireza Fathi

Abstract

REVEAL is a novel retrieval-augmented framework that enables vision-language models to access a massive, multi-source "external memory" of world knowledge. By decoupling reasoning from memorization, REVEAL achieves state-of-the-art results on knowledge-intensive tasks like Visual Question Answering (VQA) while remaining significantly more parameter-efficient than massive models like Flamingo or PaLM.

Introduction

Current state-of-the-art vision-language models, such as Flamingo or PaLI, typically store world knowledge implicitly within their model weights. This paradigm suffers from two primary drawbacks: scaling inefficiency and static knowledge. To "know" more, models must increase in size, requiring billions of parameters and massive compute. Furthermore, once trained, the model’s knowledge is frozen; updating it necessitates expensive re-training.

REVEAL (Retrieval-Augmented Visual Language Model) addresses these challenges by proposing a retrieval-augmented approach. Instead of forcing the model to memorize all information, it provides a multimodal "library" and trains the model to retrieve relevant information to answer queries.

Methods

The REVEAL architecture consists of four integrated components designed for end-to-end multimodal retrieval and generation.

The REVEAL architecture overview, showing (a) input query encoding, (b) asynchronous memory update, (c) online retrieval, and (d) fusion and decoding.
  1. Unified Multimodal Memory: A key-value store containing diverse data, including image-text pairs from WIT and CC12M, Wikipedia passages, and WikiData knowledge graph triplets.
  2. Encoder: Employs a Vision Transformer (ViT) for images and a T5-based architecture for text to convert queries and memory entries into a shared embedding space.
  3. Retriever: Identifies the top-$K$ relevant entries. A learned gating function determines the relevance of different knowledge sources (e.g., Wikipedia vs. WikiData) for a specific query.
  4. Generator: A T5 decoder that fuses the input query with retrieved knowledge using a differentiable "attentive fusion" layer.

To handle millions of entries, REVEAL uses a Perceiver architecture for memory compression, reducing long sequences into fixed latent tokens. The system is trained end-to-end, allowing the retriever to receive gradients directly from the generation task.

Results and Discussion

REVEAL demonstrates significant performance gains across various benchmarks, particularly in knowledge-intensive tasks. On OK-VQA, it achieved a new state-of-the-art accuracy of 59.1%. On A-OKVQA, it reached 52.2%, a 3.6% improvement over previous benchmarks.

A key finding is REVEAL's efficiency. As shown in the comparison below, REVEAL-Large (1.4B parameters) and the full REVEAL (2.1B parameters) outperform the much larger Flamingo (80B parameters) on image captioning tasks like MSCOCO.

Comparison of REVEAL against state-of-the-art models on MSCOCO and NoCaps benchmarks.

Beyond raw performance, REVEAL offers "plug-and-play" knowledge. Ablation studies showed that re-inserting "deleted" knowledge into the memory during inference improved accuracy by 6.7% without any weight updates, confirming the model's effective use of external memory.

Conclusion

REVEAL represents a shift toward more efficient and updatable vision-language models. While retrieval introduces some latency and requires a significant memory footprint (nearly 1TB for large configurations), the benefits in parameter efficiency and knowledge flexibility are substantial. Future work will explore providing citations for generated answers and extending the framework to broader multimodal tasks.

Summary updated

BibTeX
@inproceedings{hu2022reveal,
  author = {Ziniu Hu and Ahmet Iscen and Chen Sun and Zirui Wang and Kai-Wei Chang and Yizhou Sun and Cordelia Schmid and David A. Ross and Alireza Fathi},
  title = {{Reveal: Retrieval-Augmented Visual-Language Pre-Training with Multi-Source Multimodal Knowledge Memory}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2022},
}
Figure