Introduction
Modern news recommendation systems predominantly utilize a "dual-tower" architecture, where one tower encodes the candidate news article and another encodes the user’s historical interactions. Traditionally, the user tower operates hierarchically: it encodes individual news titles in isolation before aggregating them through mechanisms like attention or Gated Recurrent Units (GRUs). However, this approach suffers from two primary limitations. First, isolated modeling prevents the capture of deep, token-level interactions across a user's entire history. Second, the reliance on general-purpose Pre-trained Language Models (PLMs) like BERT means these systems lack domain-specific knowledge regarding the unique patterns of news consumption.
To address these gaps, we present PUNR (Pre-training with User Behavior Modeling), a novel unsupervised pre-training framework designed to learn high-density user representations by treating a user's reading history as a continuous sequence.
The PUNR Framework
PUNR shifts the paradigm from supervised fine-tuning to a specialized unsupervised pre-training phase tailored for behavioral data. The framework is built upon three core pillars: Joint User Modeling, dual pre-training tasks, and a Siamese encoder architecture.
1. Joint User Modeling
Unlike traditional models that process news items independently, PUNR concatenates the titles of a user's clicked news into a single long sequence: [CLS] Title 1 [SEP] Title 2 [SEP] .... By feeding this entire sequence into a Transformer, the self-attention mechanism can identify cross-article dependencies. This allows the model to find subtle semantic links between words in different articles—for instance, connecting a "tech" keyword in an early click to a "stock market" keyword in a later one.
2. Specialized Pre-training Tasks
To extract maximum utility from the joint sequence, PUNR employs two distinct but complementary tasks:
- User Behavior Masking (UBM): Inspired by BERT’s Masked Language Modeling (MLM), this task involves masking entire news segments within the sequence. The model is challenged to recover the missing title based on the surrounding context of the user's history, forcing it to understand the thematic continuity of user interests.
- User Behavior Generation (UBG): This task introduces a generative "bottleneck." The model utilizes the final user vector (derived from the
[CLS]token) and a shallow decoder to reconstruct the entire text of the user's history. This generative requirement forces the user vector to compress and retain high-fidelity behavioral information, ensuring the representation is a dense summary of the user's profile rather than a vague approximation.
3. Siamese Encoder Architecture
PUNR utilizes a Siamese architecture where the news encoder and user encoder share the same parameters. This design ensures that news articles and users are mapped into the same latent space. By aligning the representations of the "item" and the "user," the final matching process (via dot product) becomes significantly more accurate.
Experimental Evaluation
The researchers evaluated PUNR using the MIND (Microsoft News Dataset), the industry standard for news recommendation research. The evaluation utilized both MIND-Large (2.2 million training samples, 1 million users) and MIND-Small for iterative testing.
Performance Metrics
PUNR achieved state-of-the-art (SOTA) results on the MIND benchmarks, demonstrating the superiority of behavior-specific pre-training:
- MIND-Large Results: PUNR achieved an AUC of 71.03, notably outperforming NRMS-BERT (69.5) and the single-tower UNBERT (70.68).
- Ablation Studies: Removing either the UBM or UBG tasks resulted in a measurable performance decline. This confirms that both "predicting the missing piece" and "reconstructing the whole" are essential for capturing the nuances of user behavior.
Discussion and Limitations
The success of PUNR highlights the importance of token-level interaction and generative regularization in user modeling. By forcing the model to be able to re-write a user's history from a single vector, the framework ensures that the resulting representation is both robust and informative.
However, the authors identify two significant hurdles for production deployment:
- Computational Overhead: Pre-training with long concatenated sequences and a generative decoder requires substantial GPU memory and time compared to standard hierarchical methods.
- Dynamic Encoding Requirements: Because the user representation depends on the joint modeling of the entire sequence, user embeddings cannot be easily cached. Any change in a user's history requires the entire sequence to be re-encoded, which poses challenges for real-time serving in high-traffic environments.
Conclusion
PUNR demonstrates that unsupervised pre-training focused on user behavior can significantly bridge the gap between general language understanding and personalized recommendation. Future research will focus on model distillation and optimization techniques to reduce the computational footprint, making these high-density representations viable for millisecond-latency production systems.
Summary updated