NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

CEAM: The Effectiveness of Cyclic and Ephemeral Attention Models of User Behavior on Social Platforms

Farhan Asif Chowdhury, Yozen Liu, Koustuv Saha, Nicholas Vincent, Leonardo Neves, Neil Shah, Maarten W. Bos

Abstract

Predicting user behavior on social platforms requires balancing fleeting, short-term interests with long-term, rhythmic habits. We present the Cyclic Ephemeral Attention Model (CEAM), a neural framework that adaptively fuses "ephemeral" recent actions with "cyclic" historical routines using an attention mechanism. Evaluated on large-scale Snapchat datasets, CEAM improves prediction accuracy by up to 10% over state-of-the-art methods while maintaining user privacy by avoiding sensitive demographic data.

Introduction

Understanding user intent is fundamental to personalization, from content recommendation to notification timing. However, human behavior is a complex interplay between immediate context and entrenched routines. Most existing sequence models, such as RNNs and LSTMs, suffer from "recency bias," excelling at capturing ephemeral bursts of activity but often failing to account for the predictable cycles of daily life.

Figure 1: Aggregated user activity over a week shows distinct daily and weekly cycles across different action types.

The Challenge of Behavioral Prediction

Humans are creatures of habit, influenced by circadian rhythms, work schedules, and weekend patterns. For instance, a user might consistently check news at 8:00 AM regardless of their late-night activity. Standard models often treat time as a global fixed effect or ignore these individual cycles entirely. Furthermore, many personalized approaches rely on intrusive user embeddings, raising privacy concerns.

Methodology: The CEAM Framework

The Cyclic Ephemeral Attention Model (CEAM) addresses these challenges through three integrated components:

  1. Ephemeral Module: A two-layer LSTM processing the user's most recent activity (up to 5 sessions within 4 hours) to capture "bursty" interests.
  2. Cyclic Module: A separate two-layer LSTM analyzing historical activity at the same hour over the previous seven days to capture individual rhythms.
  3. Modality Attention: A core innovation that dynamically weights the "habit" (cyclic) versus "recency" (ephemeral) signals for each prediction.

The model also incorporates mobile-specific context factors, such as network type (Wi-Fi vs. cellular) and entry points (e.g., notifications).

Experimental Results and Insights

CEAM was evaluated on two large-scale Snapchat datasets (MAU and DAU) over a seven-week period. The model consistently outperformed baselines like Time-LSTM by an average of 7%, reaching 10% improvement in macro F1-score for specific engagement tasks.

Figure 6: For highly habitual users, historical session time fractions closely align with current behavior, validating the cyclic approach.

Key findings include:

  • Adaptive Attention: The model automatically prioritizes the Cyclic module in the early morning when recent data is sparse, shifting toward the Ephemeral module as the day progresses.
  • Privacy-Preserving Personalization: By learning from timestamp patterns rather than identity or specific content, CEAM achieves high performance without requiring sensitive user IDs or demographics.
  • Robustness: The model demonstrates strong "cold-start" performance, effectively predicting behavior for users not seen during the training phase.

Conclusion

CEAM demonstrates that explicitly modeling the dual nature of human behavior—habits and whims—significantly enhances predictive performance. Future work will explore incorporating qualitative content features and real-time online model adaptation to further refine these predictions.

Summary updated

BibTeX
@inproceedings{chowdhury2021ceam,
  author = {Farhan Asif Chowdhury and Yozen Liu and Koustuv Saha and Nicholas Vincent and Leonardo Neves and Neil Shah and Maarten W. Bos},
  title = {{CEAM: The Effectiveness of Cyclic and Ephemeral Attention Models of User Behavior on Social Platforms}},
  booktitle = {ICWSM},
  year = {2021},
}
Figure