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

NPA: Neural News Recommendation with Personalized Attention

Chuhan Wu, Fangzhao Wu, Mingxiao An, Jianqiang Huang, Yongfeng Huang, Xing Xie · DOI

TL;DR

NPA (Neural Personalized Attention) is a news recommendation framework that uses a user’s unique ID to "re-weight" the importance of specific words in news titles and specific articles in their reading history. By making the attention mechanism user-specific rather than global, the model better captures how different people prioritize different aspects of the same news story.

The Challenge of Subjective Informativeness

In the era of information overload, news platforms struggle to match the right stories to the right users. Traditional recommendation systems often treat the "informativeness" of a word or an article as a static property. For example, in the headline "Dolphins May Have Found A Head Coach," a standard model might learn that "Dolphins" is generally an important keyword.

However, the authors argue that informativeness is subjective. As illustrated in Figure 1, different users may focus on different parts of a headline or different articles in their history based on their personal interests. To a sports fanatic, "Dolphins" is the crucial signal; to a casual reader, it might be noise. Similarly, not every article a user clicks on is equally representative of their long-term interests. The challenge is building a model that can dynamically adjust its focus based on who is doing the reading—a concept the authors call "personalized attention."

Subjective informativeness: different users prioritize different words and articles.

The NPA Framework

The NPA framework consists of three main components designed to capture these subjective preferences hierarchically.

The architecture of the NPA framework, showing the News Encoder, User Encoder, and Click Predictor.
  1. News Encoder: This module converts news titles into mathematical representations. It uses a CNN (Convolutional Neural Network) to capture local context (e.g., understanding that "Fiesta" and "Bowl" together refer to a specific event). Crucially, it then applies a word-level personalized attention mechanism. Instead of using a fixed query vector to find important words, it uses an embedding of the User ID to generate a custom query. This allows the model to highlight different words for different users.
  2. User Encoder: This module builds a profile of the user based on their clicked news history. It uses news-level personalized attention, again driven by the User ID embedding, to decide which past articles should carry the most weight in defining that user's current interests.
  3. Click Predictor: To determine the likelihood of a click, the model calculates the inner product between the user’s representation and a candidate news representation.

For training, the authors employ a negative sampling strategy. Instead of just looking at what a user clicked, the model is trained to distinguish one "clicked" (positive) article from $K$ "non-clicked" (negative) articles sampled from the same session. This makes training more efficient and helps the model learn from the vast amount of data provided by what users ignore.

Experimental Setup and Results

The researchers evaluated NPA on a real-world dataset collected from MSN News logs over a one-month period (late 2018 to early 2019), involving 10,000 users and over 42,000 news articles.

NPA consistently outperformed several state-of-the-art baselines, including LibFM, CNN-based recommenders, and DKN (Deep Knowledge-Aware Network).

  • Accuracy: NPA achieved an AUC of 0.6243, a significant improvement over the next best baseline, DKN (0.5869).
  • Ablation Studies: The authors proved that "Personalized Attention" is superior to "Vanilla Attention." Removing the personalization (using a global query) dropped the AUC significantly.
  • Efficiency: By using negative sampling, NPA was able to train on a large collection of logs in about 15 minutes on a standard GPU (GTX 1080ti), whereas some baselines took over an hour.

Limitations and Future Work

Despite its performance, NPA faces a few challenges:

  • The Cold Start Problem: Because the model relies heavily on User ID embeddings, it may struggle with brand-new users who don't have an established ID embedding or click history.
  • Title-Only Focus: The current model only looks at news titles. Incorporating the full article body or metadata could provide even richer context.
  • Temporal Decay: Performance declines as the gap between training and testing days increases, suggesting that news becomes "stale." Future work could involve better handling of real-time news trends and evolving user preferences.

Summary updated

BibTeX
@inproceedings{wu2019npa,
  author = {Chuhan Wu and Fangzhao Wu and Mingxiao An and Jianqiang Huang and Yongfeng Huang and Xing Xie},
  title = {{NPA: Neural News Recommendation with Personalized Attention}},
  booktitle = {ACM SIGKDD Conference on Knowledge Discovery and Data Mining},
  year = {2019},
  doi = {10.1145/3292500.3330665},
}
Figure