Represent Items by Items: An Enhanced Representation of the Target Item for Recommendation

Yinjiang Cai, Zeyu Cui, Shu Wu, Zhen Lei, Xibo MaarXiv 2021

Abstract

Item-based Collaborative Filtering (ICF) is a cornerstone of modern recommender systems, yet it consistently struggles with the "long-tail" problem. Infrequent items lack sufficient user interactions to learn high-quality embeddings, leading to poor semantic representations. This paper introduces Co-occurrence based Enhanced Representation (CER), a model that enriches a target item's representation by attentively aggregating the embeddings of items it frequently co-occurs with. By "representing items by items," CER significantly boosts recommendation accuracy, particularly for data-sparse tail items, achieving up to a 39% relative improvement on low-frequency items.

Introduction: The Long-Tail Bottleneck

In recommender systems, ICF predicts user preferences for a target item based on its similarity to the user's interaction history. The efficacy of this approach is fundamentally limited by the quality of the target item's embedding. However, real-world user interactions follow a sharp long-tail distribution: a few "head" items receive the bulk of interactions, while the vast majority of "tail" items remain sparse.

The long-tail distribution of items and the conceptual framework of CER.

While recent advancements like NAIS and DIN have optimized user representations, they often overlook the poor quality of target item embeddings. For tail items, the lack of feedback results in inaccurate embeddings that lack meaningful semantic depth, creating a performance bottleneck.

Methodology: Co-occurrence based Enhanced Representation (CER)

To address the representation gap for tail items, CER supplements an item's raw embedding with an "enhanced representation" derived from its co-occurrence set—other items that frequently appear in the same users' histories.

Model Architecture

The CER framework consists of several critical components designed to extract and fuse semantic information from co-occurring items:

The detailed architecture of the CER model including sampling and attention mechanisms.
  1. Enhanced Representation via Attention: CER employs an attention network (MLP) to dynamically weigh the embeddings of co-occurring items. This ensures that the final representation prioritizes items most relevant to the target item's semantics.
  2. Weighted Sampling Strategy: Since co-occurrence sets can be prohibitively large, CER uses a "Weighted Sampling" strategy. This approach balances global popularity (to ensure high-quality source embeddings) with local frequency (to ensure semantic relevance).
  3. Dynamic Fusion: The model concatenates the user representation, the raw target item embedding, and the enhanced representation. A final MLP processes these inputs, allowing the model to adaptively rely on the raw embedding for popular items or the enhanced representation for sparse tail items.

Experimental Results

The authors evaluated CER on two public benchmarks: Amazon-Beauty (dense, 198k interactions) and Amazon-Books (sparse, 8.8M interactions).

Performance Gains

CER achieved state-of-the-art results, significantly outperforming baselines like FISM, NAIS, and DIN:

  • Amazon-Books: CER showed a 17.87% relative improvement in HR@10 and a 26.74% relative improvement in NDCG@10 over FISM.
  • Long-Tail Impact: The most dramatic gains occurred on low-frequency items. For items with only ~10 interactions in the Books dataset, CER improved HR@10 by approximately 39% compared to DIN.

Efficiency

Despite the added complexity, CER maintains high efficiency. Because co-occurrence representations can be precomputed offline, online inference time is approximately 3.3ms, comparable to standard models like DIN (3.1ms).

Conclusion and Future Work

CER demonstrates that "items can define items." By borrowing semantic accuracy from well-trained popular items to represent sparse tail items, CER effectively mitigates the long-tail problem in ICF. While the training phase is more computationally intensive than simpler models, the substantial gains in accuracy and the ability to precompute representations for fast inference make it a robust solution for large-scale production systems. Future work may explore graph-based retrieval methods to further optimize the construction of co-occurrence sets.

Summary updated

BibTeX
@misc{cai2021represent,
  author = {Yinjiang Cai and Zeyu Cui and Shu Wu and Zhen Lei and Xibo Ma},
  title = {{Represent Items by Items: An Enhanced Representation of the Target Item for Recommendation}},
  year = {2021},
  eprint = {2104.12483},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2104.12483},
}
Figure