Abstract
Predicting the popularity of social media content is a critical challenge for understanding public attention and individual preferences in evolving social systems. While previous research has achieved promising results, it often overlooks the sequential nature of social data—where popularity is generated over time through continuous post streams. To address this, we propose Deep Temporal Context Networks (DTCN), a novel framework that incorporates both temporal context and temporal attention. DTCN utilizes a joint embedding network to create unified representations of multi-modal user-post data, followed by a temporal context learning component that captures adaptive contexts for sequential popularity. Finally, a novel temporal attention mechanism predicts the popularity of new user-post pairs by maintaining temporal coherence across multiple time-scales. Experiments on a large-scale Flickr dataset of 600K photos demonstrate that DTCN outperforms state-of-the-art algorithms, achieving a 21.51% relative performance improvement in Spearman Ranking Correlation.
The Challenge of Sequentiality in Social Media
Why do certain posts go viral while others remain unnoticed? Most existing popularity prediction models rely on static content features (e.g., image tags, visual aesthetics) or user-specific metadata (e.g., follower counts). However, social media is not a collection of isolated events; it is a dynamic stream. The "order" and "timing" of posts are just as critical as their content.
Existing models often fail to exploit the temporal interrelationship between posts. For instance, a user’s popularity might exhibit periodicity (spiking every weekend) or follow neighboring trends (rising steadily during a specific event). By neglecting these "temporal contexts," current algorithms struggle to provide accurate predictions in sequential data scenarios like news feeds or photo streams.
The DTCN Framework
The DTCN architecture is designed to model the evolution of popularity through three integrated stages: embedding, learning, and predicting.
1. Multi-modal Joint Embedding
To capture the "what" and "who" of a post, DTCN employs a two-stream network. Visual content is processed through a pre-trained ResNet-152, while user metadata (such as average views and contact counts) is processed through a separate pipeline. These streams are mapped into a unified 64-dimensional latent space, creating a joint representation that combines visual and user features.
2. Temporal Context Learning (TCL)
This core component learns two distinct types of context from the embedded data sequence:
- Neighboring Temporal Context (NTC): Captures short-term fluctuations and local trends (e.g., the buzz surrounding a specific holiday).
- Periodic Temporal Context (PTC): Captures long-term, recurring patterns (e.g., weekly or daily cycles). These contexts are processed by Long Short-Term Memory (LSTM) units to track the evolution of popularity over time.
3. Multiple Time-scale Temporal Attention (MTTA)
Not all historical posts are equally relevant to a future prediction. DTCN uses a novel attention mechanism to calculate "temporal consistency" across multiple scales—minutes, hours, days, and weeks. It aligns the current prediction target with past posts that share similar temporal slots, effectively asking how the timing of a new post relates to successful posts in the user's history.
Experimental Setup and Datasets
To evaluate DTCN, the researchers introduced the TPIC17 (Temporal Popularity Image Collection) dataset, containing approximately 680,000 Flickr photos spanning three years. This dataset includes full metadata, user profiles, and visual content. Experiments were conducted on three subsets (100K, 200K, and 400K) to test the model's scalability.
Key Results and Performance
DTCN was compared against several baselines, including standard CNNs (AlexNet, VGG), Support Vector Regression (SVR), and standard LSTMs. The primary metric for evaluation was the Spearman Ranking Correlation (SRC).
- Superior Accuracy: DTCN achieved an SRC of 0.6692 on the 400K dataset, significantly outperforming standard LSTMs (0.5885) and Contextual LSTMs (0.6072).
- Relative Improvement: The framework showed an average 21.51% relative improvement over state-of-the-art deep prediction algorithms.
- Predictive Power: Unlike models that require initial engagement data (e.g., likes in the first hour), DTCN is designed to predict popularity before a post is published by analyzing the user's historical sequence.
Conclusion and Future Directions
DTCN demonstrates that treating time as a multi-scale coordinate, rather than just a feature, significantly enhances popularity prediction. While the model excels at capturing temporal context, future work could further improve results by incorporating social graph analysis to model follower networks and the specific dynamics of high-impact influencers. Nevertheless, DTCN represents a major step forward in understanding the sequential evolution of public attention in social media systems.
Summary updated