[Paper Review] A Large-Scale Rich Context Query and Recommendation Dataset in Online Knowledge-Sharing
This paper introduces ZhihuRec, a large-scale, publicly available dataset from the Zhihu knowledge-sharing platform, comprising 100M interactions across users, questions, answers, topics, and query logs over 10 days. It enables advanced research in personalized recommendation, including sequential, context-aware, and search-integrated systems, with support for both positive and negative feedback, and demonstrates utility in user profiling and quality prediction tasks.
Data plays a vital role in machine learning studies. In the research of recommendation, both user behaviors and side information are helpful to model users. So, large-scale real scenario datasets with abundant user behaviors will contribute a lot. However, it is not easy to get such datasets as most of them are only hold and protected by companies. In this paper, a new large-scale dataset collected from a knowledge-sharing platform is presented, which is composed of around 100M interactions collected within 10 days, 798K users, 165K questions, 554K answers, 240K authors, 70K topics, and more than 501K user query keywords. There are also descriptions of users, answers, questions, authors, and topics, which are anonymous. Note that each user's latest query keywords have not been included in previous open datasets, which reveal users' explicit information needs. We characterize the dataset and demonstrate its potential applications for recommendation study. Multiple experiments show the dataset can be used to evaluate algorithms in general top-N recommendation, sequential recommendation, and context-aware recommendation. This dataset can also be used to integrate search and recommendation and recommendation with negative feedback. Besides, tasks beyond recommendation, such as user gender prediction, most valuable answerer identification, and high-quality answer recognition, can also use this dataset. To the best of our knowledge, this is the largest real-world interaction dataset for personalized recommendation.
Motivation & Objective
- To address the scarcity of large-scale, real-world recommendation datasets with rich user interaction logs and side information.
- To provide a public, comprehensive dataset from a socialized knowledge-sharing platform to support advanced recommendation research.
- To enable studies on sequential, context-aware, and hybrid recommendation models, as well as search-recommendation integration and user behavior modeling.
- To support tasks beyond recommendation, such as gender prediction, high-quality answer recognition, and most valuable answerer identification.
- To offer a benchmark dataset with both positive and negative feedback for improved recommendation algorithm evaluation.
Proposed method
- The dataset, ZhihuRec, was collected from Zhihu over 10 days, capturing user interactions including clicks, skips, searches, and recommendations.
- It includes detailed content features: anonymized user profiles, questions, answers, authors, topics, and timestamps.
- User query keywords—previously absent in open datasets—are included, revealing explicit information needs.
- The dataset supports multiple recommendation paradigms: top-N, sequential, context-aware, and negative feedback-aware learning.
- It enables integration of search and recommendation by preserving both query logs and recommendation interaction logs.
- The dataset is publicly released via GitHub and supports downstream tasks using standard ML pipelines with scikit-learn and deep learning models.
Experimental results
Research questions
- RQ1How can a large-scale, real-world dataset with rich interaction logs and query behavior improve the evaluation of recommendation algorithms?
- RQ2To what extent can query logs and negative feedback enhance sequential and context-aware recommendation models?
- RQ3Can the dataset support the integration of search and recommendation systems in knowledge-sharing platforms?
- RQ4How effective is the dataset for user profiling tasks such as gender prediction and most valuable answerer identification?
- RQ5Can the dataset be used to train and evaluate models for high-quality answer recognition?
Key findings
- ZhihuRec is the largest publicly available recommendation dataset to date, with 100M interactions across 798K users, 165K questions, 554K answers, and 240K authors.
- The dataset includes user query logs, a feature absent in prior open datasets, enabling explicit modeling of user information needs.
- Experiments show that the dataset supports effective evaluation of top-N, sequential, and context-aware recommendation algorithms.
- The inclusion of both positive and negative feedback (e.g., clicks and skips) enables robust training of models that handle the one-class problem.
- For most valuable answerer identification, the MLP model achieved the highest F1 score of 0.6648, indicating strong performance in user quality prediction.
- For high-quality answer recognition, the MLP model achieved an F1 score of 0.3913, demonstrating the dataset’s utility in content quality modeling.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.