Introduction
In the modern mobile ecosystem, notification systems serve as a primary bridge between applications and users. However, the sheer volume of alerts—averaging 100 per day per user—has led to a phenomenon known as "notification fatigue." For developers, the challenge is a "Goldilocks" dilemma: sending too few notifications results in missed engagement opportunities, while sending too many, or sending them at inappropriate times (such as during sleep or work hours), leads to user frustration and the eventual disabling of notifications.
Traditional notification systems often employ a "greedy" strategy, making delivery decisions based solely on the current context, such as whether the device is currently active. These systems frequently fail to account for long-term user behavioral patterns or the need to coordinate multiple notifications over a 24-hour period. This paper introduces the Temporal Interaction Model (TIM), a framework designed to model long-term temporal patterns and manage daily notification quotas holistically to maximize engagement while minimizing user annoyance.
Methodology
The Temporal Interaction Model (TIM)
The core of the TIM framework is the Temporal Attention Unit (TAU). This unit divides the 24-hour day into discrete, equal time slots and employs a dual-layer attention mechanism to predict the probability of a notification click (CTR):
- Target Attention: This layer analyzes how a user interacted with notifications in the same time slot across previous days. Crucially, it utilizes Date Type Embeddings (DTE) to distinguish between workdays and rest days, acknowledging that user routines shift significantly during the weekend.
- Linear Self-Attention with RoPE: To capture the flow of a user's daily routine, the model uses Linear Self-Attention integrated with Rotary Positional Embeddings (RoPE). This allows the model to understand the relationship between different time slots within a single day, identifying sequences of activity and rest.
Holistic Optimization Strategy
Moving beyond isolated delivery decisions, TIM formulates notification scheduling as a mathematical optimization problem. Rather than asking "Should I send this now?", the system asks "How should I best distribute this user's daily notification budget?"
Using a Lagrangian function, the system calculates the optimal distribution of a user's daily "quota" across predicted high-CTR slots. A regularization term is included in the optimization to prevent "bursts"—the delivery of too many notifications in a short window—which is a primary driver of user dissatisfaction.
Experimental Setup
The researchers evaluated TIM using a massive, real-world dataset from Kuaishou, a leading short video platform. The dataset included:
- Scale: 1 million randomly selected users.
- Features: Long-term interaction sequences, including notification receipts, clicks, active app duration, and video browsing counts.
- Evaluation: Seven days of historical data were used for training, with the model's performance validated on data from two days later to prevent data leakage and ensure temporal consistency.
Key Insights
The Power of Historical Patterns
The study revealed that a user's historical interaction sequence is a significantly stronger predictor of engagement than static contextual features. When interaction history was added to baseline models like XGBoost, the Area Under the Curve (AUC) improved dramatically, rising from approximately 0.59 to 0.66. This suggests that "prime times" are deeply ingrained in user habits.
Work-Life Differentiation
By incorporating Date Type Embeddings, the model successfully learned distinct behavioral patterns for workdays versus weekends. Analysis of the attention scores showed clear "striped" patterns, indicating that the model identifies specific hours where users are consistently more receptive depending on the day of the week.
Global Quota Management
A significant contribution of this work is the shift toward global attention budget management. By treating the day as a whole, the system avoids exhausting a user's receptivity during the first available high-probability window, ensuring that high-value content can be delivered later in the day if that is when the user is most likely to engage deeply.
Results
Offline Performance
In offline evaluations, TIM significantly outperformed standard baselines. It achieved an AUC of 0.8614 on workdays, a substantial improvement over the 0.5907 achieved by standard XGBoost models.
Online A/B Testing
Live deployment on the Kuaishou app demonstrated the real-world efficacy of the model:
- Click-Through Rate (CTR): Increased by 1.217%.
- Daily Active Users (DAU): Increased by 0.1%.
- Watch Time: Increased by 0.066%.
Importantly, the "switch close rate" (the rate at which users disable notifications) remained neutral. This confirms that the engagement gains were achieved through better timing rather than increased volume or user disturbance.
Conclusion and Future Work
TIM demonstrates that modeling long-term temporal patterns and adopting a holistic optimization strategy can significantly improve the efficiency of notification systems. By respecting user routines and managing daily quotas, TIM increases engagement while maintaining a positive user experience.
Future research will focus on incorporating real-time feedback loops to adjust to immediate changes in user behavior. Additionally, the authors aim to explore multi-objective optimization to balance CTR with other long-term metrics, such as user retention and total watch time, across diverse application environments.
Summary updated