Datasets:
user_idx int32 | item_idx int32 | timestamp int64 | rating float32 | rating_raw float32 | feedback_type int8 | domain int16 | source int8 |
|---|---|---|---|---|---|---|---|
6,482,858 | 96,473 | 1,474,420,458 | 1 | 5 | 0 | 25 | 0 |
851,333 | 86,302 | 1,505,952,102 | 1 | 5 | 0 | 25 | 0 |
657,470 | 3,562,676 | 1,657,288,110 | 0.75 | 4 | 0 | 25 | 0 |
2,232,491 | 188,333 | 1,562,876,793 | 1 | 5 | 0 | 25 | 0 |
18,760,091 | 23,399 | 1,579,935,529 | 1 | 5 | 0 | 25 | 0 |
812,384 | 1,440,583 | 1,668,856,973 | 1 | 5 | 0 | 25 | 0 |
951,411 | 4,466,547 | 1,491,314,391 | 0.5 | 3 | 0 | 25 | 0 |
951,411 | 2,157,989 | 1,471,778,175 | 1 | 5 | 0 | 25 | 0 |
1,146,202 | 934,470 | 1,490,894,645 | 1 | 5 | 0 | 25 | 0 |
1,702,012 | 25,604 | 1,579,898,096 | 1 | 5 | 0 | 25 | 0 |
16,323,920 | 23,399 | 1,525,925,126 | 0.25 | 2 | 0 | 25 | 0 |
12,777,372 | 23,399 | 1,501,178,737 | 1 | 5 | 0 | 25 | 0 |
672,241 | 16,841 | 1,631,773,604 | 1 | 5 | 0 | 25 | 0 |
2,981,955 | 23,399 | 1,657,466,088 | 1 | 5 | 0 | 25 | 0 |
26,469,756 | 23,399 | 1,480,347,661 | 1 | 5 | 0 | 25 | 0 |
1,453,780 | 389,649 | 1,458,160,655 | 1 | 5 | 0 | 25 | 0 |
2,847,908 | 70,850 | 1,544,568,724 | 1 | 5 | 0 | 25 | 0 |
2,847,908 | 3,799,677 | 1,370,213,277 | 1 | 5 | 0 | 25 | 0 |
7,075,673 | 23,399 | 1,512,785,295 | 1 | 5 | 0 | 25 | 0 |
6,488,685 | 812,323 | 1,619,173,296 | 0 | 1 | 0 | 25 | 0 |
573,346 | 1,160,443 | 1,496,196,441 | 1 | 5 | 0 | 25 | 0 |
3,506,217 | 1,366,992 | 1,602,025,737 | 0.25 | 2 | 0 | 25 | 0 |
168,092 | 7,116,203 | 1,652,525,687 | 1 | 5 | 0 | 25 | 0 |
168,092 | 1,623,763 | 1,449,276,154 | 1 | 5 | 0 | 25 | 0 |
598,845 | 3,558,139 | 1,559,423,622 | 0.25 | 2 | 0 | 25 | 0 |
484,471 | 23,399 | 1,562,085,066 | 1 | 5 | 0 | 25 | 0 |
177,226 | 518,542 | 1,612,894,401 | 1 | 5 | 0 | 25 | 0 |
177,226 | 36,905 | 1,548,201,522 | 0.75 | 4 | 0 | 25 | 0 |
177,226 | 36,712 | 1,518,781,693 | 1 | 5 | 0 | 25 | 0 |
6,814,491 | 23,399 | 1,569,109,210 | 0 | 1 | 0 | 25 | 0 |
466,067 | 2,150,683 | 1,467,078,561 | 0.5 | 3 | 0 | 25 | 0 |
183,132 | 3,853,112 | 1,592,297,724 | 0.25 | 2 | 0 | 25 | 0 |
201,488 | 757,860 | 1,544,977,267 | 1 | 5 | 0 | 25 | 0 |
932,914 | 37,427 | 1,595,679,219 | 1 | 5 | 0 | 25 | 0 |
726,363 | 36,905 | 1,427,858,265 | 0.75 | 4 | 0 | 25 | 0 |
131,475 | 4,582,606 | 1,671,459,516 | 0.5 | 3 | 0 | 25 | 0 |
91,515 | 1,301,489 | 1,562,796,586 | 1 | 5 | 0 | 25 | 0 |
275,485 | 1,575,531 | 1,499,360,886 | 1 | 5 | 0 | 25 | 0 |
256,326 | 2,301,263 | 1,583,185,365 | 0.5 | 3 | 0 | 25 | 0 |
3,282,035 | 31,523 | 1,531,000,362 | 1 | 5 | 0 | 25 | 0 |
23,823,039 | 4,354 | 1,562,428,550 | 1 | 5 | 0 | 25 | 0 |
2,657,006 | 66,661 | 1,636,590,749 | 1 | 5 | 0 | 25 | 0 |
977,716 | 641,221 | 1,511,917,006 | 1 | 5 | 0 | 25 | 0 |
19,720,834 | 23,399 | 1,448,504,891 | 1 | 5 | 0 | 25 | 0 |
12,647,545 | 592,310 | 1,509,844,018 | 0.75 | 4 | 0 | 25 | 0 |
3,667,852 | 23,399 | 1,433,795,172 | 0.5 | 3 | 0 | 25 | 0 |
852,435 | 2,508,077 | 1,552,128,513 | 1 | 5 | 0 | 25 | 0 |
2,639,077 | 85,673 | 1,498,411,318 | 0.75 | 4 | 0 | 25 | 0 |
36,960,685 | 23,399 | 1,469,311,675 | 1 | 5 | 0 | 25 | 0 |
6,118,576 | 6,113,158 | 1,571,770,211 | 0.75 | 4 | 0 | 25 | 0 |
6,118,576 | 6,399,686 | 1,478,660,175 | 1 | 5 | 0 | 25 | 0 |
10,952,489 | 93,344 | 1,622,504,698 | 0.5 | 3 | 0 | 25 | 0 |
11,707,787 | 665,150 | 1,564,356,177 | 1 | 5 | 0 | 25 | 0 |
199,357 | 5,135,331 | 1,463,824,260 | 1 | 5 | 0 | 25 | 0 |
2,643,617 | 121,528 | 1,529,552,035 | 1 | 5 | 0 | 25 | 0 |
1,892,821 | 23,399 | 1,678,230,782 | 1 | 5 | 0 | 25 | 0 |
412,548 | 4,517 | 1,504,779,965 | 0.75 | 4 | 0 | 25 | 0 |
7,001,553 | 543,899 | 1,599,013,970 | 0 | 1 | 0 | 25 | 0 |
25,930,378 | 23,399 | 1,459,198,746 | 1 | 5 | 0 | 25 | 0 |
1,301,385 | 2,977,692 | 1,483,284,046 | 1 | 5 | 0 | 25 | 0 |
15,320,790 | 23,399 | 1,573,523,908 | 1 | 5 | 0 | 25 | 0 |
9,212,349 | 23,399 | 1,643,871,787 | 1 | 5 | 0 | 25 | 0 |
5,928,296 | 23,399 | 1,621,459,960 | 0 | 1 | 0 | 25 | 0 |
2,481,914 | 617,428 | 1,459,987,312 | 1 | 5 | 0 | 25 | 0 |
520,082 | 824,407 | 1,677,524,908 | 0.5 | 3 | 0 | 25 | 0 |
7,775,046 | 6,011,094 | 1,661,881,662 | 1 | 5 | 0 | 25 | 0 |
5,199,428 | 740,013 | 1,517,337,852 | 1 | 5 | 0 | 25 | 0 |
20,527,176 | 23,399 | 1,621,389,325 | 1 | 5 | 0 | 25 | 0 |
2,420,083 | 23,399 | 1,576,973,944 | 0.75 | 4 | 0 | 25 | 0 |
1,069,568 | 764,122 | 1,620,620,968 | 1 | 5 | 0 | 25 | 0 |
2,985,785 | 555,479 | 1,596,334,459 | 1 | 5 | 0 | 25 | 0 |
9,868,009 | 299,096 | 1,424,288,224 | 1 | 5 | 0 | 25 | 0 |
2,037,812 | 742,983 | 1,600,620,433 | 1 | 5 | 0 | 25 | 0 |
2,280,081 | 2,504,471 | 1,501,089,075 | 1 | 5 | 0 | 25 | 0 |
2,127,278 | 9,586,131 | 1,564,048,851 | 1 | 5 | 0 | 25 | 0 |
2,127,278 | 296,273 | 1,554,717,806 | 1 | 5 | 0 | 25 | 0 |
5,122,140 | 11,274 | 1,574,629,570 | 0.75 | 4 | 0 | 25 | 0 |
906,391 | 653,790 | 1,442,144,186 | 0.75 | 4 | 0 | 25 | 0 |
177,798 | 5,715,435 | 1,534,790,648 | 0.75 | 4 | 0 | 25 | 0 |
9,286,745 | 4,052,395 | 1,595,345,112 | 1 | 5 | 0 | 25 | 0 |
970,389 | 1,051,995 | 1,472,271,686 | 1 | 5 | 0 | 25 | 0 |
555,839 | 1,050,107 | 1,484,137,663 | 1 | 5 | 0 | 25 | 0 |
2,016,851 | 272,939 | 1,475,934,748 | 1 | 5 | 0 | 25 | 0 |
1,844,363 | 15,436 | 1,652,031,486 | 1 | 5 | 0 | 25 | 0 |
429,503 | 1,351,974 | 1,613,672,234 | 1 | 5 | 0 | 25 | 0 |
2,477,266 | 1,871,300 | 1,469,533,231 | 1 | 5 | 0 | 25 | 0 |
394,587 | 582,089 | 1,583,497,945 | 1 | 5 | 0 | 25 | 0 |
2,767,033 | 44,819 | 1,605,397,117 | 1 | 5 | 0 | 25 | 0 |
1,690,588 | 5,693,539 | 1,652,280,198 | 1 | 5 | 0 | 25 | 0 |
3,728,189 | 758,488 | 1,597,843,150 | 0.5 | 3 | 0 | 25 | 0 |
286,103 | 1,598,163 | 1,398,378,142 | 0.25 | 2 | 0 | 25 | 0 |
994,509 | 995,714 | 1,516,202,075 | 1 | 5 | 0 | 25 | 0 |
173,294 | 5,102,699 | 1,657,565,628 | 0.75 | 4 | 0 | 25 | 0 |
3,357,453 | 954,712 | 1,564,015,832 | 1 | 5 | 0 | 25 | 0 |
2,031,571 | 25,604 | 1,496,942,203 | 1 | 5 | 0 | 25 | 0 |
855,788 | 3,006,814 | 1,626,738,056 | 1 | 5 | 0 | 25 | 0 |
544,409 | 254,745 | 1,428,851,407 | 0.5 | 3 | 0 | 25 | 0 |
4,121,267 | 739,952 | 1,630,764,618 | 1 | 5 | 0 | 25 | 0 |
2,310,459 | 88,781 | 1,648,698,534 | 0 | 1 | 0 | 25 | 0 |
1,840,499 | 358,651 | 1,623,870,927 | 1 | 5 | 0 | 25 | 0 |
Cross-Domain RecSys Interactions — 15 sources, integer-indexed
One unified, integer-indexed interaction corpus glued from 15 recommendation sources for
foundation / sequential recommenders. Built in 3 additive versions that share one schema and
one global index space, so reading all of them together = the full corpus, collision-free.
Interactions only — no model, no embeddings. Item text is provided separately as title+description
metadata, joinable 1:1 by item_idx.
Full corpus: 882,999,680 interactions · ~52.6M users · ~12.1M items.
Versions (read all three for the full corpus)
| version | file | interactions | sources | feedback |
|---|---|---|---|---|
| v1 — base (web/review) | data/interactions_v1.parquet |
706,928,307 | amazon, goodreads, movielens, yelp, mind, steam | rating / read / click / recommend |
| v2 — sequential | data/interactions_v2.parquet |
60,093,215 | hm, amazon_m2, foursquare(Gowalla), trivago, lfm(Last.fm-1k), adressa, foodcom | purchase / click / checkin / play / rating |
| v3 — chinese short-video | data/interactions_v3.parquet |
115,978,158 | pixelrec(Pixel8M), microlens(MicroLens-1M) | comment / click |
Versions are append-only & index-continuous: v2 indices start at max(v1)+1, v3 at max(v1∪v2)+1,
so user_idx/item_idx ranges are disjoint across versions and a plain union never collides. Each
version was built independently (its own k-core), and earlier versions are never rewritten.
Per-source breakdown (interactions in train)
amazon 441,756,006 · goodreads 226,413,879 · pixelrec 106,893,985 · movielens 31,904,072 · hm 28,384,429 · amazon_m2 16,543,664 · microlens 9,084,173 · yelp 5,718,931 · foursquare 4,369,335 · trivago 4,198,784 · lfm 3,218,125 · adressa 2,783,832 · mind 1,104,003 · foodcom 595,046 · steam 31,416.
Files (uniform _v{1,2,3} naming; all parquet, homogeneous per group)
data/interactions_v{1,2,3}.parquet # the corpus (8 cols, identical schema) — glob all 3
maps/user_map_v{1,2,3}.parquet # user_uid <-> user_idx
maps/item_map_v{1,2,3}.parquet # item_uid <-> item_idx <-> (source, native_item) [meta bridge]
meta/meta_v{1,2,3}.parquet # item_idx, source, native_item, title, description
valid_items/valid_items_{source}.parquet # native_item, item_uid, n_inter (per source, the meta entrypoints)
stats/*.json # per-phase build stats
v1=base, v2=sequential, v3=chinese (suffix is consistent across interactions, maps and meta).
Field meanings
data/interactions_v*.parquet (one row = one user→item interaction)
| field | type | meaning |
|---|---|---|
user_idx |
int32 | dense user id, global across versions (disjoint ranges), ordered by descending frequency within its version |
item_idx |
int32 | dense item id, global across versions; the key to join meta/item_map |
timestamp |
int64 | event time, unix seconds UTC. Order-only source amazon_m2 uses a synthetic monotonic per-session step |
rating |
float32 | rating normalized to [0,1] per source (implicit positives = 1.0) |
rating_raw |
float32 | original source value (e.g. 5.0 stars, Food.com 0–5; 1.0 for implicit) |
feedback_type |
int8 | 0 explicit_rating · 1 implicit_click · 2 implicit_recommend · 3 implicit_read · 4 implicit_purchase · 5 implicit_checkin · 6 implicit_play · 7 implicit_comment |
domain |
int16 | sub-domain: amazon category 0–32; other sources 100–115 (one per source/sub) |
source |
int8 | 0 amazon · 1 goodreads · 2 yelp · 3 movielens · 4 mind · 5 steam · 6 amazon_m2 · 7 hm · 8 adressa · 9 trivago · 10 foursquare · 11 lfm · 12 foodcom · 13 microlens · 14 pixelrec · 15 douban |
Rows are sorted within each user by (timestamp, item_idx) — a stable tie-break so sequence slicing
is reproducible even at daily timestamp granularity. No train/test split is applied (do the
temporal cutoff at train time).
maps/user_map_v*.parquet: user_uid (str, namespaced "{source}:{native_user_id}") ↔ user_idx.
maps/item_map_v*.parquet: item_uid ↔ item_idx ↔ (source, native_item). native_item is the
raw item key in the source (parent_asin / book_id / business_id / movieId / article_id / …) — the join
key for external metadata.
meta/meta_v*.parquet: item_idx, source, native_item, title, description (title+description
only). Languages: v1/v2 mostly English (amazon_m2 multilingual, adressa Norwegian); v3 = Chinese.
valid_items/valid_items_{source}.parquet: native_item, item_uid, n_inter — the per-source
item lists that survived the k-core; entry points to filter+index any external metadata.
Metadata coverage
meta/meta_v1.parquet— 10,331,150 items (100% of v1), ~3.3 GB.meta/meta_v2.parquet— 920,925 items (text-bearing v2 sources: amazon_m2, hm, foodcom, lfm), ~104 MB. Textless v2 sources have no item title/description upstream and are intentionally absent: adressa (url only), trivago (amenity properties only), foursquare/Gowalla (geo only).meta/meta_v3.parquet— 471,446 items (100% of v3; Chinese), ~39 MB.
Usage
# Full corpus (all 3 versions) with 🤗 datasets — schemas are identical so they load as one table
from datasets import load_dataset
ds = load_dataset("TOPAPEC/cross-domain-recsys-interactions", split="train", streaming=True)
print(next(iter(ds)))
# Local DuckDB: glob all versions + attach titles by item_idx (download large files first)
import duckdb
from huggingface_hub import snapshot_download
d = snapshot_download("TOPAPEC/cross-domain-recsys-interactions", repo_type="dataset",
allow_patterns=["data/*", "meta/*", "maps/*"])
con = duckdb.connect()
con.sql(f"""
SELECT m.source, m.title, count(*) n
FROM read_parquet('{d}/data/interactions_v*.parquet') t
JOIN read_parquet('{d}/meta/meta_v*.parquet') m USING (item_idx)
GROUP BY 1,2 ORDER BY n DESC LIMIT 10
""").show()
Metadata-join contract (for attaching your own metadata)
Per source: meta_raw → filter(native_item IN valid_items_{source}) → join(item_map_v* on (source, native_item)) → keyed by item_idx. Guarantees (asserted in the build tests): every item_idx
in the corpus has exactly one item_map row; every (source, native_item) resolves to one item_uid;
no uid collisions across sources; version index ranges are disjoint.
Provenance & licenses
Derived ETL (interactions + title/description only) from: Amazon Reviews 2023 (McAuley-Lab), Goodreads (UCSD), MovieLens 32M (GroupLens), Yelp Open Dataset, MIND (Microsoft), Steam (McAuley), Amazon-M2 (KDD Cup 2023), H&M (Kaggle), Adressa (NTNU), Trivago (RecSys'19), Gowalla (SNAP), Last.fm-1k, Food.com (Kaggle), MicroLens & PixelRec (Westlake). You must comply with each source's original license/terms. Only anonymized interaction tuples + item title/description are redistributed.
- Downloads last month
- 163