Datasets:
Download README.md from Zhaoxuan/ProfileOpt: direct link, hf CLI and curl.
- Browser
- Download file 6.7 kB
-
https://huggingface.co/datasets/Zhaoxuan/ProfileOpt/resolve/main/README.md
- Command line
-
hf download hf://datasets/Zhaoxuan/ProfileOpt/README.md
-
curl -L -o README.md https://huggingface.co/datasets/Zhaoxuan/ProfileOpt/resolve/main/README.md
license: apache-2.0
pretty_name: ProfileOpt
language:
- en
task_categories:
- text-retrieval
- question-answering
tags:
- recommendation
- sequential-recommendation
- personalization
- user-profiling
- amazon-reviews
- google-local-reviews
size_categories:
- 100K<n<1M
π΅ ProfileOpt
The data of Bridging Textual Profiles and Latent User Embeddings for Personalization (BLUE)
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.
hf 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:
import json
from 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 history
print(id2doc[user["positive_document"]]) # the next item
print(len(user["negative_document"])) # 99 negatives
To train and evaluate the models of the paper, see BLUE, 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:
{
"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", "..."]
}
}
queryis the history, oldest first, as[title | rating]joined by,. On Google Local, an interaction is[name | address | rating].positive_documentis the next item, andnegative_documentthe candidates to rank it against. Both are keys ofid2doc.
The item texts follow these templates, with the fields separated by blank lines. The short version leaves out empty fields and cuts long descriptions.
Product 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.
{
"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.jsonandtest_{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.jsonandtest_Clothing_Shoes_and_Jewelry.json.
π Source data
The interactions come from Amazon Reviews 2023 and Google Local Reviews. Please also follow the terms of these datasets. Section 3.1 of the paper describes how users and target items were selected.
π Citation
@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}
}