Abstract
KM-BART is a transformer-based model designed for Visual Commonsense Generation (VCG). By extending the BART architecture to handle multimodal inputs and introducing a novel Knowledge-based Commonsense Generation (KCG) pretraining task, KM-BART learns to infer the intents and temporal context of visual scenes. The model achieves state-of-the-art performance on the VCG benchmark, demonstrating superior reasoning capabilities compared to existing vision-language models.
Introduction
While modern Vision-Language (VL) models excel at recognition tasks—such as object detection or basic visual question answering—they often lack the ability to perform Visual Commonsense Generation (VCG). VCG requires a model to "read between the lines" of a static image to infer underlying motivations and temporal context. For instance, seeing a person holding an envelope should trigger inferences about the past (receiving mail), the present intent (reading the letter), and the future (emotional response). These inferences are not explicitly present in the pixels but require external world knowledge.
Methods
The researchers developed KM-BART (Knowledge Enhanced Multimodal BART) by adapting the sequence-to-sequence BART architecture to process interleaved visual and textual data.
Multimodal Architecture
KM-BART utilizes a pretrained Masked R-CNN to extract "Regions of Interest" (RoIs) from images, which are then converted into feature vectors. The model uses special tokens (e.g., <img>, <event>, <caption>) to distinguish between different input modalities and tasks within the transformer layers.
Knowledge-based Commonsense Generation (KCG)
The primary innovation is the KCG pretraining task. To imbue the model with commonsense, the authors leveraged COMET, a language model trained on massive knowledge graphs like ATOMIC. COMET was used to generate millions of commonsense descriptions for standard image-caption datasets (SBU and COCO). To ensure these synthetic descriptions were grounded in the actual images, a "self-training filtering" strategy was employed. A judge model, trained on high-quality VCG data, pruned the synthetic dataset from 3.6 million to 1.46 million high-quality, visually consistent samples.
Datasets
Pretraining was conducted on a large-scale corpus including Conceptual Captions, SBU, Microsoft COCO, and Visual Genome. Evaluation was performed on the Visual Commonsense Generation (VCG) dataset, which contains over 117,000 examples of images paired with "before," "after," and "intent" annotations.
Key Results
KM-BART achieved state-of-the-art (SOTA) performance on the VCG benchmark across metrics such as BLEU, METEOR, and CIDEr.
Quantitative and Qualitative Performance
Beyond standard metrics, KM-BART showed a significant improvement in generating "Unique" and "Novel" sentences, indicating it learns to generalize rather than simply memorizing training pairs. In human evaluations, judges preferred KM-BART’s inferences over previous leading models in 66.7% of cases when explicit event descriptions were omitted, highlighting its robust visual reasoning.
Conclusion
KM-BART demonstrates that "absorbing" knowledge during pretraining via distillation from models like COMET is a highly effective strategy for VCG. While current versions do not use "Place" and "Person" metadata, this makes the model more versatile for real-world applications. Future work will focus on scaling the KCG task to even larger datasets and improving the interpretability of the model's reasoning steps.
Summary updated