Datasets:
Languages:
English
Size:
100K<n<1M
ArXiv:
Tags:
recommendation
sequential-recommendation
personalization
user-profiling
amazon-reviews
google-local-reviews
License:
Write the dataset card
Browse files123123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165---
license: apache-2.0
------license: apache-2.0pretty_name: ProfileOptlanguage:- entask_categories:- text-retrieval- question-answeringtags:- recommendation- sequential-recommendation- personalization- user-profiling- amazon-reviews- google-local-reviewssize_categories:- 100K<n<1M---
<div align="center">
# π΅ ProfileOpt
**The data of *Bridging Textual Profiles and Latent User Embeddings for Personalization* (BLUE)**
<p><a href="https://arxiv.org/abs/2605.06981"><img alt="arXiv" src="https://img.shields.io/badge/arXiv-2605.06981-b31b1b?style=flat-square&logo=arxiv&logoColor=white"></a> <a href="https://github.com/TamSiuhin/BLUE"><img alt="Code" src="https://img.shields.io/badge/code-BLUE-181717?style=flat-square&logo=github"></a> <img alt="NeurIPS 2026" src="https://img.shields.io/badge/NeurIPS-2026-6f42c1?style=flat-square"></p>
</div>
User histories, next items and candidate items from **Amazon Reviews 2023** and **Google Local Reviews (New York)**. Models are trained on Amazon Clothing and evaluated zero-shot on the other four domains, in two tasks:
- π― **Sequential recommendation:** rank the next item of a user among 100 candidates.- π¬ **Personalized question answering:** pick the next item among 4 options, and predict the rating of an item.
## π Domains
| Domain | In the paper | `{stem}` | Test users | Training examples in the paper || :-- | :-- | :-- | --: | --: || Amazon Clothing | training domain | `5core_Clothing_Shoes_and_Jewelry` | 1,209 | 106,946 || Amazon Books | zero-shot | `5core_Books` | 1,252 | 44,420 || Amazon Electronics | zero-shot | `5core_Electronics` | 1,256 | 58,422 || Amazon Sports | zero-shot | `5core_Sports_and_Outdoors` | 1,295 | 22,673 || Google Local (New York) | zero-shot | `10core_New_York` | 1,338 | 100,000 |
All the files are in `processed/`; their names start or end with the `{stem}` of a domain.
## π Quick start
Download what the paper uses (4.2 GB): the test sets, the item texts and the training set of Clothing.
```bashhf download Zhaoxuan/ProfileOpt --repo-type dataset --local-dir ProfileOpt \ --include "processed/test_*core_*_99neg_multipossplit_ids.json" \ --include "processed/*_short_id2doc.json" \ --include "processed/train_5core_Clothing_Shoes_and_Jewelry_500neg_multipossplit_ids.json"```
Or read a single file:
```pythonimport jsonfrom huggingface_hub import hf_hub_download
def load(name): path = hf_hub_download("Zhaoxuan/ProfileOpt", f"processed/{name}", repo_type="dataset") with open(path) as f: return json.load(f)
test = load("test_5core_Sports_and_Outdoors_99neg_multipossplit_ids.json")id2doc = load("5core_Sports_and_Outdoors_short_id2doc.json")
user = test[0]["multi_input"]print(user["query"][:200]) # the historyprint(id2doc[user["positive_document"]]) # the next itemprint(len(user["negative_document"])) # 99 negatives```
To train and evaluate the models of the paper, see [BLUE](https://github.com/TamSiuhin/BLUE#data), which reads these files directly.
## π Files
### Sequential recommendation
| File | Content || :-- | :-- || `test_{stem}_99neg_multipossplit_ids.json` | One example per test user: 1 positive and 99 random negatives || `train_{stem}_500neg_multipossplit_ids.json` | Training examples with 500 negatives each || `{stem}_short_id2doc.json` | Item id β item text, **as used in the paper** || `{stem}_id2doc.json` | Item id β item text, with every field and the full descriptions |
The training files are larger than the training sets of the paper, except for Sports. The paper trains on a random subset of the size in the table above.
An example of the test and training files:
```jsonc{ "data_source": "supervised", "extra_info": { "split": "test", "user_id": "AH3SJIFR5DGA3CHUQRKACMIA23VQ", "source": "amazon_reviews_2023_Sports_and_Outdoors" }, "multi_input": { "query": "[G4Free 15 PCS Camping Cookware ... | 5.0], [Coleman Compression Sack | 1.0], ...", "positive_document": "B01NCYC9QJ", "negative_document": ["B007SC1A0M", "B000Z325QO", "..."] }}```
- `query` is the history, oldest first, as `[title | rating]` joined by `, `. On Google Local, an interaction is `[name | address | rating]`.- `positive_document` is the next item, and `negative_document` the candidates to rank it against. Both are keys of `id2doc`.
The item texts follow these templates, with the fields separated by blank lines. The short version leaves out empty fields and cuts long descriptions.
```textProduct Item Title: ... Location Name: ...Product Item Description: ... Location Address: ...Product Item Features: ... Location Description: ... Location Category: ...```
### Personalized question answering
| File | Content || :-- | :-- || `test_{stem}_mcq.json` | One next-item question with 4 options per test user || `test_{stem}_rating_prediction.json` | Rating questions (1 to 5) for 2,000 users, all the test users among them; a user can have several |
Each row has `id`, `user_id`, `user_history_str`, `question` and `answer`; the multiple choice questions also have `choices`.
```jsonc{ "id": 0, "user_id": "AGDNZ2STYWB5XHYGBX7DPIHS6TFQ", "user_history_str": "[PAKULA Scoop Neck ... | 1.0], [PUMA Women's Roma Slim Nylon Shoe | 3.0], ...", "question": "Based on this information, what is the user's rating on the following product? ...", "answer": 5.0}```
### Other files
These are not read by BLUE:
- `test_{stem}_unfiltered_user_history.json`: the histories of 2,000 users per domain, all the test users among them, without candidates.- `test_{stem}_category_prediction.json` and `test_{stem}_review_generation.json`: two more question answering tasks.- Clothing only, from other experiments: `*_wodesc*`, `*_history_split_*`, `test_5core_Clothing_Shoes_and_Jewelry_500neg.json`, `test_5core_Clothing_Shoes_and_Jewelry.json` and `test_Clothing_Shoes_and_Jewelry.json`.
## π Source data
The interactions come from [Amazon Reviews 2023](https://amazon-reviews-2023.github.io/) and [Google Local Reviews](https://mcauleylab.ucsd.edu/public_datasets/gdrive/googlelocal/). Please also follow the terms of these datasets. Section 3.1 of the paper describes how users and target items were selected.
## π Citation
```bibtex@misc{tan2026bridging, title = {Bridging Textual Profiles and Latent User Embeddings for Personalization}, author = {Tan, Zhaoxuan and Zhai, Xiang and Zhu, Yan and Jiang, Meng and Hammad, Mohamed}, year = {2026}, eprint = {2605.06981}, archivePrefix = {arXiv}, primaryClass = {cs.IR}}```README.md+165-3