Abstract
Learning social media data embedding by deep models has attracted extensive research interest as well as boomed a lot of applications, such as link prediction, classification, and cross-modal search. However, for social images which contain both link information and multimodal contents (e.g., text description, and visual content), simply employing the embedding learnt from network structure or data content results in sub-optimal social image representation. In this paper, we propose a novel social image embedding approach called Deep Multimodal Attention Networks (DMAN), which employs a deep model to jointly embed multimodal contents and link information. Specifically, to effectively capture the correlations between multimodal contents, we propose a multimodal attention network to encode the fine-granularity relation between image regions and textual words. To leverage the network structure for embedding learning, a novel Siamese-Triplet neural network is proposed to model the links among images. With the joint deep model, the learnt embedding can capture both the multimodal contents and the nonlinear network information. Extensive experiments are conducted to investigate the effectiveness of our approach in the applications of multi-label classification and cross-modal search. Compared to state-of-the-art image embeddings, our proposed DMAN achieves significant improvement in the tasks of multi-label classification and cross-modal search.
The Challenge of Social Image Embedding
In the context of modern social media, an image is rarely an isolated data point. It typically exists within a rich multimodal environment, accompanied by user-provided tags, descriptions, and embedded within a complex network of social links (e.g., images shared within the same group or album).
Traditional embedding methods often fall short because they focus on only one aspect of this data:
- Content-based methods ignore the social network structure.
- Network-based methods overlook the actual visual and textual content.
- Hybrid methods often treat these modalities independently, failing to capture fine-grained nuances, such as which specific region of a photo corresponds to a particular tag.
The DMAN Framework
To address these limitations, the researchers developed Deep Multimodal Attention Networks (DMAN). This framework creates high-quality vector representations by simultaneously capturing social links and the fine-grained relationships between image regions and text tags.
As shown in the architecture above, DMAN integrates two primary components into a single deep learning pipeline:
- Siamese-Triplet Network: This component learns from the social network structure using a triplet approach. It processes an original image, a "positive" sample (a linked image), and a "negative" sample (an unlinked image), training the network to ensure the original image's embedding is closer to the positive sample in the latent space.
- Visual-Textual Attention Model: Instead of analyzing the image globally, this mechanism aligns specific image regions with specific textual words. For instance, if an image is tagged with "flower," the attention layer learns to prioritize the pixels containing the flower.
- Joint Optimization: The model is trained using a combined loss function: a Hinge Rank Loss for network links and a Weighted Binary Cross-entropy Loss for image-tag correlations.
To maintain efficiency at scale, the authors implemented a sampling strategy that reduces computational complexity from exponential to linear ($O(N)$).
Experimental Evaluation
The model was evaluated on three major human-annotated datasets: NUS-WIDE (90,000 images), MIR Flickr (25,000 images), and PASCAL VOC (6,509 images). In these experiments, an "edge" was defined between images sharing at least one ground-truth label.
Key Results
DMAN was benchmarked against state-of-the-art methods like CCA, DCCA, and HNE:
- Multi-label Classification: DMAN achieved a Mean Average Precision (mAP) of 57.52% on NUS-WIDE, significantly outperforming HNE (54.99%). On the PASCAL dataset, the improvement was even more striking (54.76% vs. 47.25% for DCCA).
- Cross-modal Retrieval: In text-to-image search tasks, DMAN showed a ~10% improvement in Average Precision over HNE on the NUS-WIDE dataset.
- Qualitative Success: Visualization confirmed that the attention maps successfully "focused" on relevant objects (e.g., cars, dogs) based on textual queries.
Discussion and Future Directions
The primary insight of this research is that joint embedding—learning content and links simultaneously—outperforms separate learning. The social links provide a "macro" context that regularizes the "micro" details of pixels and tags. Furthermore, because DMAN learns a general-purpose embedding, it is task-independent and can be applied to clustering, retrieval, or classification without retraining.
However, some limitations remain. The model can be influenced by co-occurrence bias (e.g., focusing on clouds for a "sea" query because they often appear together). Future work may involve modeling different types of social relationships (e.g., same user vs. same gallery) with varying weights and exploring more sophisticated deep architectures to further refine the integration of social link information.
Summary updated