Abstract
Impressive progress has been made in the fields of computer vision and natural language processing. However, it remains a challenge to find the best point of interaction for these very different modalities. In this chapter we discuss how attributes allow us to exchange information between the two modalities and in this way lead to an interaction on a semantic level. Specifically we discuss how attributes allow using knowledge mined from language resources for recognizing novel visual categories, how we can generate sentence description about images and video, how we can ground natural language in visual content, and finally, how we can answer natural language questions about images.
Bridging the Abstraction Gap
There is a fundamental mismatch in abstraction between computer vision and natural language. The visual modality deals with specific instances—the exact arrangement of pixels showing a zebra from a side angle in the sun. In contrast, the linguistic modality deals with abstract categories—the word "zebra" represents the entire concept of the animal across all possible visual variations.
Bridging this gap is notoriously difficult. Mapping raw pixels directly to full sentences often fails to capture the underlying logic of a scene. This research proposes a solution: decomposing both modalities into shared, human-interpretable semantic units called attributes (e.g., "striped," "furry," "running").
The Attribute Bridge
By using attributes as an intermediate compositional layer, AI models can move beyond simple pattern matching toward semantic reasoning. Attributes allow for a more modular and interpretable interaction between vision and language.
Zero-Shot Learning and Semantic Transfer
One of the most powerful applications of attributes is zero-shot object recognition. Instead of requiring thousands of labeled images for every new category, models can leverage knowledge mined from text corpora like Wikipedia or WordNet. By understanding that a "zebra" is "striped" and "similar to a horse," a model can recognize a zebra even if it has never seen one during training.
The paper introduces Propagated Semantic Transfer (PST), a graph-based algorithm that uses this attribute space to transfer knowledge from known classes to novel ones. Results on the Animals with Attributes (AwA) dataset showed that automatically mined attributes from search engine snippets achieved a 76.0% AUC, remarkably close to the 79.2% achieved with manual human annotations.
Generating Descriptions and Grounding Language
Attributes also facilitate complex generation tasks. To describe videos, models can first predict an intermediate layer of semantic attributes (objects, actions, tools) using Conditional Random Fields (CRFs) and then "translate" these into natural language using Recurrent Neural Networks (RNNs). This ensures consistency across multi-sentence descriptions by maintaining a consistent "topic" at the attribute level.
Furthermore, attributes enable phrase grounding—the ability to localize specific text phrases within an image. The GroundeR mechanism uses attention to map phrases to bounding boxes. Remarkably, this can be learned unsupervised by attempting to reconstruct the input phrase from the attended visual features, achieving 24.66% accuracy on the Flickr30k Entities benchmark and pushing supervised performance to 47.70%.
Compositionality and Reasoning in VQA
The core strength of the attribute-based approach is compositionality. By breaking down concepts into functional blocks, models can solve complex tasks like Visual Question Answering (VQA). In Neural Module Networks (NMN), the linguistic structure of a question dictates the on-the-fly assembly of a custom neural network. For example, a question about a cat's color would trigger a find[cat] module followed by a describe[color] module. This approach achieved a highly competitive 58.7% accuracy on the VQA test server.
Conclusion
Attributes provide a robust framework for cross-modal interaction. They allow vision models to tap into the vast knowledge stored in text corpora and enable language models to ground abstract concepts in visual reality. While challenges remain in scaling these detailed alignments and achieving truly joint multimodal training, the use of semantic attributes marks a significant step toward AI that understands the world through a combination of sight and language.
Summary updated