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

Bi-preference Learning Heterogeneous Hypergraph Networks for Session-based Recommendation

Xiaokun Zhang, Bo Xu, Fenglong Ma, Chenliang Li, Yuan Lin, Hongfei Lin

TL;DR

Most session-based recommendation (SBR) systems focus solely on what you like (interest), completely ignoring how much you want to pay (price). BiPNet fixes this by using a heterogeneous hypergraph and multi-task learning to simultaneously model interest and price preferences, significantly outperforming state-of-the-art models on real-world e-commerce datasets.

What Problem Does This Paper Address?

Session-based recommendation is the "anonymous" version of personalized shopping. Because the system doesn't know who you are (no long-term history), it has to predict your next move based only on your current clicks.

While current models are great at spotting patterns in item transitions (e.g., "people who look at this keyboard often look at this mouse"), they suffer from two major blind spots:

  1. Price Sensitivity: A user might love a high-end camera but only have a budget for a mid-range one. Existing models treat all items with similar "interest" features as equal, regardless of price.
  2. Feature Interdependence: Price preference isn't a vacuum. You might be willing to pay $50 for a brand-name shirt but only $10 for a generic one. This "brand effect" and "price elasticity" (the trade-off between interest and cost) are usually ignored.

Methods

The authors propose BiPNet (Bi-Preference Learning Heterogeneous Hypergraph Networks), which introduces several novel components:

  • Heterogeneous Hypergraph Construction: Instead of a simple graph, they build a hypergraph where nodes represent not just Item IDs, but also Price Levels, Categories, and Brands. Hyperedges connect these nodes to represent features, sessions, and price sequences.
  • Triple-level Convolution: To learn node embeddings, the model performs three types of information aggregation:
  • Co-occurrence: Items appearing in the same session.
  • Intra-type: Distinguishing the importance of different nodes within the same category or brand.
  • Inter-type: Modeling how a brand or category influences the semantics of a price.
  • Logistic Price Discretization: Rather than dividing prices into equal buckets (e.g., $0-10, $10-20), they use a logistic distribution. This reflects human psychology: we are more sensitive to small price changes in the middle of the market than at the extreme high or low ends.
  • Bi-Preference Learning Schema: This is a multi-task learning framework. The model is trained to predict the next item ID and the next price level simultaneously. A "remember gate" (gating mechanism) is used to fuse these two preferences before making the final recommendation.

Datasets

The model was evaluated on three public e-commerce benchmarks:

  • Cosmetics: User actions from an online cosmetics shop (Kaggle).
  • Grocery: The 'Grocery and Gourmet Food' sub-dataset from Amazon.
  • Toys: The 'Toys and Games' sub-dataset from Amazon.

The authors applied "10-core" filtering (ensuring items and features appear at least 10 times) to maintain data quality.

Key Insights and Ideas

  • Price is a "Hard" Constraint: The paper argues that while interest is a "soft" preference, price is often a "hard" constraint. By modeling price as a supervised signal in a multi-task setup, the model gains a much clearer picture of user intent.
  • The Power of Side Information in Sparse Sessions: SBR often fails on very short sessions (1-2 clicks). BiPNet excels here because even if the item transition history is thin, the brand and price level provide immediate, high-value signals about the user's "persona."
  • Hypergraphs > Graphs: Standard graphs only show pairwise relations. Hypergraphs allow the model to capture "triadic" associations (e.g., how <price, category, brand> jointly define an item's value), which is essential for understanding price elasticity.

Key Results

BiPNet consistently outperformed competitive baselines like SR-GNN, COTREC, and NARM.

  • Accuracy Gains: On the Cosmetics dataset, BiPNet achieved a relative improvement of 5.74% in Prec@20 and 2.22% in MRR@20 (Mean Reciprocal Rank) over the best-performing baseline.
  • Ablation Success: Removing the price preference mining component (the "BiPNet-p" variant) led to a significant drop in performance, proving that price isn't just "extra data"—it's a fundamental driver of recommendation accuracy.
  • Robustness: The model showed superior performance across various session lengths, particularly maintaining its lead in short, data-sparse sessions.

Limitations and Future Work

  • Feature Scope: The current model focuses on ID, price, category, and brand. The authors acknowledge that other features like item images, text reviews, and star ratings could further refine the "interest" side of the equation.
  • Loss Weighting: The multi-task learning currently treats price and interest losses as equally important. Future work could involve automated weight assignment for these losses based on the specific context of the dataset or session.
  • Complexity: While the authors provide a complexity analysis showing the model is scalable, the triple-level convolution on a heterogeneous hypergraph is computationally heavier than simpler GNN approaches.

Summary updated

BibTeX
@article{zhang2024bi,
  author = {Xiaokun Zhang and Bo Xu and Fenglong Ma and Chenliang Li and Yuan Lin and Hongfei Lin},
  title = {{Bi-preference Learning Heterogeneous Hypergraph Networks for Session-based Recommendation}},
  journal = {ACM Trans. Information Systems},
  year = {2024},
  doi = {10.1145/3631940},
}
Figure