This view is limited to 50 files because it contains too many changes. See the raw diff here.
Files changed (50) hide show
  1. DATASHEET.md +90 -55
  2. LICENSE +17 -9
  3. README.md +127 -42
  4. benchmark/PROTOCOL.md +63 -0
  5. benchmark/adaptive_hybrid_results.csv +3 -0
  6. benchmark/adaptive_hybrid_results.md +8 -0
  7. benchmark/baseline_ci.csv +3 -0
  8. benchmark/baseline_ci.md +17 -0
  9. benchmark/baseline_results.csv +2 -2
  10. benchmark/baseline_results.md +9 -6
  11. benchmark/baseline_results_std.csv +2 -2
  12. benchmark/cornac_sota.md +31 -0
  13. benchmark/cornac_sota_ci.csv +3 -0
  14. benchmark/cornac_sota_per_user.csv +3 -0
  15. benchmark/cornac_sota_results.csv +3 -0
  16. benchmark/hybrid_lambda_sweep.csv +3 -0
  17. benchmark/hybrid_sensitivity.csv +3 -0
  18. benchmark/item_map.csv +1 -1
  19. benchmark/neural_results.csv +3 -0
  20. benchmark/pairwise_tests.csv +3 -0
  21. benchmark/per_user_metrics.csv +3 -0
  22. benchmark/recommenders_sota.md +29 -0
  23. benchmark/recommenders_sota_ci.csv +3 -0
  24. benchmark/recommenders_sota_per_user.csv +3 -0
  25. benchmark/recommenders_sota_results.csv +3 -0
  26. benchmark/relevance_ge_7/item_map.csv +3 -0
  27. benchmark/relevance_ge_7/split_config.json +63 -0
  28. benchmark/relevance_ge_7/test.csv +3 -0
  29. benchmark/relevance_ge_7/train.csv +3 -0
  30. benchmark/relevance_ge_7/user_map.csv +3 -0
  31. benchmark/relevance_ge_7/val.csv +3 -0
  32. benchmark/split_config.json +58 -5
  33. benchmark/test.csv +3 -0
  34. benchmark/train.csv +3 -0
  35. benchmark/user_map.csv +2 -2
  36. benchmark/val.csv +3 -0
  37. data/benchmark/test-00000-of-00001.csv +2 -2
  38. data/benchmark/test-00000-of-00001.parquet +2 -2
  39. data/benchmark/train-00000-of-00001.csv +2 -2
  40. data/benchmark/train-00000-of-00001.parquet +2 -2
  41. data/benchmark/validation-00000-of-00001.csv +3 -0
  42. data/benchmark/validation-00000-of-00001.parquet +3 -0
  43. data/benchmark_ge7/test-00000-of-00001.csv +3 -0
  44. data/benchmark_ge7/test-00000-of-00001.parquet +3 -0
  45. data/benchmark_ge7/train-00000-of-00001.csv +3 -0
  46. data/benchmark_ge7/train-00000-of-00001.parquet +3 -0
  47. data/benchmark_ge7/validation-00000-of-00001.csv +3 -0
  48. data/benchmark_ge7/validation-00000-of-00001.parquet +3 -0
  49. data/content/train-00000-of-00001.csv +3 -0
  50. data/content/train-00000-of-00001.parquet +3 -0
DATASHEET.md CHANGED
@@ -1,32 +1,50 @@
1
  # Datasheet for the ViHoRec Dataset
2
 
3
- Following the *Datasheets for Datasets* framework (Gebru et al., 2021). All
4
- statistics below are produced automatically by `scripts/quality_control.py`,
5
- `scripts/anonymize.py`, and `scripts/make_benchmark_split.py`.
 
 
 
 
 
6
 
7
  ## 1. Motivation
8
  - **Purpose.** There is no publicly documented Vietnamese hotel recommendation
9
  dataset. ViHoRec fills this gap for research on collaborative filtering,
10
- content-based, and hybrid recommendation, and on cold-start handling.
11
- - **Created by.** The authors (University of Information Technology, VNU-HCM).
 
 
 
12
  - **Not for.** Commercial use (see LICENSE) or re-identification of individuals.
13
 
14
  ## 2. Composition
15
- Three released tables (`release/`):
16
 
17
- | File | Rows | Columns |
18
  |---|---|---|
19
- | `interactions.csv` | 18,267 | user_id, hotel_id, rating, date, source |
20
- | `users.csv` | 6,832 | user_id, n_interactions |
21
- | `hotels.csv` | 560 | hotel_id, name, location |
22
- | content metadata (`data_content_based_raw.csv`) | 309 | 11 attributes (facilities, surroundings, vicinity, price, distance, ...) |
 
 
23
 
24
- - **Instances.** A row in `interactions.csv` is one user–hotel rating (0–10)
25
- with a timestamp and its originating site.
26
- - **Sources.** Booking.com (7,597), Traveloka (6,273), Ivivu (4,404).
27
- - **Ratings** span 1.0–10.0; **dates** span 2011-10-15 to 2023-12-09.
28
- - **Sensitive data.** Direct identifiers (reviewer display names) are **removed**
29
- before release; user ids are salted-HMAC pseudonyms (see §6).
 
 
 
 
 
 
 
 
 
30
 
31
  ## 3. Collection Process
32
  - **How.** Automated crawling with `requests`/BeautifulSoup and JSON review
@@ -37,54 +55,71 @@ Three released tables (`release/`):
37
  - **Timeframe.** Reviews were posted 2011–2023; crawling performed in 2023.
38
 
39
  ## 4. Preprocessing / Cleaning / Quality Control
40
- Reproduced by `scripts/quality_control.py`. Reported measures:
41
 
42
  | Check | Result |
43
  |---|---|
44
- | Field completeness | 0% missing after collection-time imputation (see limitation below) |
 
 
45
  | Exact duplicate interactions | 7 (0.038%) removed |
46
- | Near-duplicates (reviewer + canonical hotel + date) | 11 (0.060%) |
47
  | Invalid / out-of-range ratings | 0 (dirty token `8..5` repaired) |
48
  | Unparsable dates | 0 |
49
- | Raw hotel names → canonical hotels | 581 → 560 (21 spelling variants merged, 3.6%) |
50
- | Hotels appearing on ≥2 sites | 78 |
51
- | Hotels with conflicting location | 1 (flagged) |
 
 
52
 
53
- - **Entity resolution.** Cross-site hotel matching uses an accent-free,
54
- stopword-stripped, order-independent canonical key (`textnorm.py`), replacing
55
- the original naïve `LabelEncoder(NameHotel)` exact-string matching.
56
- - **Manual validation.** `annotation_agreement.py` draws a stratified sample
57
- (default n≈250: interactions + hotels) for ≥2 annotators and reports percent
58
- agreement and Cohen's / Fleiss' κ, plus an estimated record-accuracy rate.
 
 
 
 
 
 
 
 
 
 
 
 
 
59
 
60
  ## 5. Uses
61
- - Recommended: benchmarking CF/CB/hybrid recommenders, cold-start studies,
62
- Vietnamese-language RecSys, low-resource / sparse-data research.
 
63
  - **Known limitations.**
64
- - Small scale (18k interactions) vs. MovieLens-100k / Amazon; sparse
65
- (97.5% sparsity in the benchmark split).
66
- - Reviewer display names were partially imputed/normalised at crawl time
67
- (missing names were replaced), so `n_interactions` per user and the
68
- number of distinct users are approximate — user identity is derived from
69
- a low-cardinality name string and may merge distinct individuals.
70
- - Ratings are aggregate scores, not multi-criteria.
71
 
72
- ## 6. Ethics, Terms of Service & Legal
73
  - **Terms of Service.** Booking.com, Traveloka, and Ivivu restrict automated
74
- scraping and commercial reuse in their ToS. To stay within a defensible
75
- research-use position we: (a) collected only publicly visible review text and
76
- ratings, no private/account data; (b) do **not** redistribute raw HTML or
77
- full review text, only derived numeric ratings and hotel metadata;
78
- (c) release under **CC BY-NC 4.0** (non-commercial); (d) provide takedown on
79
- request. Users of this dataset must comply with the source platforms' ToS.
80
- - **Personal data / anonymisation.** No emails, account ids, or full names are
81
- released. `anonymize.py` drops the display name entirely and assigns a
82
- salted `HMAC-SHA256(secret_salt, name)[:12]` pseudonym; the secret salt is
83
- kept off-repo (`VIHOREC_SALT`) and the name→id lookup
84
- (`reports/_private_mapping.csv`) is **never** published.
85
- - **Risk.** Re-identification risk is low: no free-text, no geolocation beyond
86
- city, and pseudonymous ids.
87
 
88
- ## 7. Distribution & Maintenance
89
- - Hosted with a versioned DOI (e.g., Zenodo); this repository is the canonical
90
- build pipeline. Report issues / request takedown to the corresponding author.
 
1
  # Datasheet for the ViHoRec Dataset
2
 
3
+ Revision 1 of the public release. Statistics match the revised manuscript:
4
+ 17,911 interactions, 6,822 reviewer keys, and a three-way temporal split
5
+ (798 keys; 8,645 train / 798 validation / 798 test).
6
+
7
+ Following the *Datasheets for Datasets* framework (Gebru et al., 2021).
8
+ Counts are produced by `scripts/quality_control.py`, `scripts/anonymize.py`,
9
+ and `scripts/make_benchmark_split.py` in
10
+ [MinhNguyenDS/ViHoRec](https://github.com/MinhNguyenDS/ViHoRec).
11
 
12
  ## 1. Motivation
13
  - **Purpose.** There is no publicly documented Vietnamese hotel recommendation
14
  dataset. ViHoRec fills this gap for research on collaborative filtering,
15
+ content-based, and hybrid recommendation, and on short-history ranking.
16
+ The full corpus is cold-start dominated (most reviewer keys have one
17
+ interaction); the public protocol is short-history, not strict cold-start.
18
+ - **Created by.** The authors (University of Information Technology, VNU-HCM,
19
+ and University of Science, VNU-HCM).
20
  - **Not for.** Commercial use (see LICENSE) or re-identification of individuals.
21
 
22
  ## 2. Composition
 
23
 
24
+ | Hub subset | Rows | Columns |
25
  |---|---|---|
26
+ | `interactions` | 17,911 | user_id, hotel_id, rating, date, source |
27
+ | `users` | 6,822 | user_id, n_interactions |
28
+ | `hotels` | 560 | hotel_id, name, location |
29
+ | `content` | 310 rows / 309 names | 11 attributes (see below) |
30
+ | `benchmark` | 8,645 / 798 / 798 | userID, itemID, rating, timestamp |
31
+ | `benchmark_ge7` | 8,645 / 506 / 512 | same schema; holdouts rated ≥ 7 |
32
 
33
+ - **Instances.** A row in `interactions` is one reviewer-key–hotel rating on
34
+ the [1, 10] scale (mean 7.58), with a date and its originating site.
35
+ - **Sources (raw crawl).** Booking.com 7,597; Traveloka 6,273; Ivivu 4,404.
36
+ After dropping exact duplicates and placeholder names, the released rows
37
+ are Booking.com 7,239; Traveloka 6,273; Ivivu 4,399.
38
+ - **Dates** span 2011-10-15 to 2023-12-09.
39
+ - **Content metadata.** Facilities, surroundings (Around), vicinity, price,
40
+ plus name, location, overall rating, review count, quality, distance to
41
+ center, and booking link. The sheet has 310 rows and 309 distinct names:
42
+ Mövenpick Villas & Residences Phu Quoc appears twice, once from Booking.com
43
+ and once from Traveloka, with different attributes. The manuscript count
44
+ of 309 is distinct names. Text from this sheet covers 283 of 535 benchmark
45
+ hotels (52.9%).
46
+ - **Sensitive data.** Reviewer display names are removed before release.
47
+ `user_id` is a salted-HMAC pseudonym (see §6), not an anonymized person id.
48
 
49
  ## 3. Collection Process
50
  - **How.** Automated crawling with `requests`/BeautifulSoup and JSON review
 
55
  - **Timeframe.** Reviews were posted 2011–2023; crawling performed in 2023.
56
 
57
  ## 4. Preprocessing / Cleaning / Quality Control
 
58
 
59
  | Check | Result |
60
  |---|---|
61
+ | Raw interactions | 18,274 |
62
+ | Placeholder reviewer names | 357 rows (1.95%); 356 dropped (`Không tên`, `Guest`, and variants) |
63
+ | Other fields missing | 0.0% |
64
  | Exact duplicate interactions | 7 (0.038%) removed |
65
+ | Near-duplicates (reviewer + canonical hotel + date) | 11 (0.060%); 4 retained because the rating differs |
66
  | Invalid / out-of-range ratings | 0 (dirty token `8..5` repaired) |
67
  | Unparsable dates | 0 |
68
+ | Raw hotel names → canonical hotels | 581 → 560 |
69
+ | Hotels appearing on ��2 sites | 81 |
70
+ | Hotels with conflicting location | 0 |
71
+ | Interactions after cleaning | 17,911 |
72
+ | Reviewer keys / hotels | 6,822 / 560 |
73
 
74
+ - **Entity resolution.** Listings merge when they share a city and the same
75
+ discriminative name tokens, and their stated property types are compatible.
76
+ Pair-level validation is documented in the GitHub `reports/er_validation.md`.
77
+ - **Identity.** `user_id` is a reviewer-name key, not a person. A same-day
78
+ multi-city audit is a floor of 69 colliding keys (1.01%), covering 3,513
79
+ interactions (19.6%). The longest remaining history is 210. The previous
80
+ 342-review bucket was a placeholder name and is not in this release.
81
+ - **Public split.** Three-way temporal leave-one-out. A key enters when it
82
+ has at least four interactions. Per key, chronological order: the last
83
+ interaction is test, the second-last is validation, and the remainder is
84
+ train. The matrix is 798 keys × 535 hotels: 8,645 / 798 / 798, sparsity
85
+ 97.60%. The shortest training history is 2 (183 keys). See
86
+ `benchmark/PROTOCOL.md` and `benchmark/split_config.json`.
87
+ - **Relevance.** Implicit next reviewed hotel. Every crawled rating is a
88
+ positive. `benchmark_ge7` is the sensitivity fold that keeps only holdouts
89
+ rated at least 7 (506 validation / 512 test users). Training rows are unchanged.
90
+ - **Manual validation.** A stratified sample of 248 records (186 interactions
91
+ and 62 hotels). Checklist pass rates and the hotel-panel percent agreement
92
+ are reported in the manuscript.
93
 
94
  ## 5. Uses
95
+ - Recommended: benchmarking CF, content-based, and hybrid recommenders;
96
+ short-history studies; Vietnamese-language RecSys; sparse-data research.
97
+ Keys with a single interaction stay in the corpus and are excluded from scoring.
98
  - **Known limitations.**
99
+ - Small scale (17,911 interactions); the benchmark matrix is 97.60% sparse.
100
+ - Reviewer keys come from display names. 6,822 is an upper bound on
101
+ identifiers and a lower bound on people.
102
+ - Content text covers 52.9% of benchmark hotels.
103
+ - Ratings are a single aggregate score, not multi-criteria.
104
+ - Hyper-parameters in `benchmark/baseline_ci.md` were selected on validation.
105
+ Do not retune them on `test`.
106
 
107
+ ## 6. Ethics, Terms of Service and Legal
108
  - **Terms of Service.** Booking.com, Traveloka, and Ivivu restrict automated
109
+ scraping and commercial reuse. This release: (a) collected only publicly
110
+ visible ratings, dates, hotel names, and city locations; (b) does not
111
+ redistribute raw HTML or full review text; (c) uses CC BY-NC 4.0;
112
+ (d) accepts takedown requests. Users must still comply with the source
113
+ platforms' terms in their own jurisdiction.
114
+ - **Personal data / pseudonymization.** No emails, account ids, or display
115
+ names are released. `anonymize.py` assigns
116
+ `HMAC-SHA256(secret_salt, name)[:12]`. The salt is kept off-repository
117
+ (`VIHOREC_SALT`). The name-to-id lookup is never published. HMAC is not
118
+ anonymization.
119
+ - **Risk.** Residual re-identification risk is non-zero, mainly for prolific
120
+ reviewers with distinctive rating sequences. Mitigations: no review text,
121
+ city-level location only, unpublished name map.
122
 
123
+ ## 7. Distribution and Maintenance
124
+ - This repository is the revision-1 Hub build. The construction pipeline
125
+ lives on GitHub. Report issues or request takedown from the corresponding author.
LICENSE CHANGED
@@ -1,9 +1,9 @@
1
  ViHoRec Dataset License
2
  =======================
3
 
4
- The ViHoRec dataset (the anonymised files under `dataset_release/release/`:
5
- interactions.csv, users.csv, hotels.csv, and the benchmark split) is released
6
- under the
7
 
8
  Creative Commons Attribution-NonCommercial 4.0 International (CC BY-NC 4.0)
9
 
@@ -19,9 +19,13 @@ Under the following terms:
19
  changes were made.
20
  * NonCommercial - You may not use the material for commercial purposes.
21
 
22
- The accompanying source code under `dataset_release/scripts/` is released under
23
  the MIT License and may be reused, including commercially.
24
 
 
 
 
 
25
  Rationale for NonCommercial
26
  ---------------------------
27
  The underlying reviews were published by users on third-party booking platforms
@@ -34,9 +38,13 @@ CITATION
34
  --------
35
  If you use this dataset, please cite:
36
 
37
- @article{vihorec,
38
- title = {ViHoRec: A Vietnamese Hotel Recommendation Dataset with a
39
- Documented Collection and Quality-Control Pipeline},
40
- author = {Nguyen, Hoang Minh},
41
- year = {2026}
 
 
 
 
42
  }
 
1
  ViHoRec Dataset License
2
  =======================
3
 
4
+ The ViHoRec dataset (the pseudonymised files in this repository:
5
+ interactions, users, hotels, content metadata, and the benchmark splits)
6
+ is released under the
7
 
8
  Creative Commons Attribution-NonCommercial 4.0 International (CC BY-NC 4.0)
9
 
 
19
  changes were made.
20
  * NonCommercial - You may not use the material for commercial purposes.
21
 
22
+ The accompanying source code in the GitHub repository is released under
23
  the MIT License and may be reused, including commercially.
24
 
25
+ User identifiers are HMAC-SHA256 pseudonyms of reviewer display names.
26
+ That is not anonymization: a holder of the secret salt could re-identify
27
+ a key, and common names can still collide. See DATASHEET.md.
28
+
29
  Rationale for NonCommercial
30
  ---------------------------
31
  The underlying reviews were published by users on third-party booking platforms
 
38
  --------
39
  If you use this dataset, please cite:
40
 
41
+ @misc{nguyen2026vihorec,
42
+ title = {ViHoRec: A Quality-Controlled Vietnamese Hotel Recommendation
43
+ Dataset and Short-History Benchmark},
44
+ author = {Nguyen, Minh Hoang and Huynh, Tin Van and Nguyen, Kiet Van},
45
+ year = {2026},
46
+ eprint = {2607.12946},
47
+ archivePrefix= {arXiv},
48
+ primaryClass = {cs.IR},
49
+ url = {https://arxiv.org/abs/2607.12946}
50
  }
README.md CHANGED
@@ -12,7 +12,7 @@ tags:
12
  - recommender-systems
13
  - hotel
14
  - vietnamese
15
- - cold-start
16
  - tabular
17
  - entity-resolution
18
  - parquet
@@ -31,12 +31,26 @@ configs:
31
  data_files:
32
  - split: train
33
  path: data/hotels/train-*.parquet
 
 
 
 
34
  - config_name: benchmark
35
  data_files:
36
  - split: train
37
  path: data/benchmark/train-*.parquet
 
 
38
  - split: test
39
  path: data/benchmark/test-*.parquet
 
 
 
 
 
 
 
 
40
  dataset_info:
41
  - config_name: interactions
42
  features:
@@ -52,7 +66,7 @@ dataset_info:
52
  dtype: string
53
  splits:
54
  - name: train
55
- num_examples: 18267
56
  - config_name: users
57
  features:
58
  - name: user_id
@@ -61,7 +75,7 @@ dataset_info:
61
  dtype: int64
62
  splits:
63
  - name: train
64
- num_examples: 6832
65
  - config_name: hotels
66
  features:
67
  - name: hotel_id
@@ -73,6 +87,33 @@ dataset_info:
73
  splits:
74
  - name: train
75
  num_examples: 560
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
76
  - config_name: benchmark
77
  features:
78
  - name: userID
@@ -85,85 +126,113 @@ dataset_info:
85
  dtype: int64
86
  splits:
87
  - name: train
88
- num_examples: 9787
 
 
89
  - name: test
90
- num_examples: 800
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
91
  ---
92
 
93
  # ViHoRec — Vietnamese Hotel Recommendation Dataset
94
 
95
- Paper: [arXiv:2607.12946](https://arxiv.org/abs/2607.12946) · [Hugging Face Papers](https://huggingface.co/papers/2607.12946)
96
 
97
- A **quality-controlled, anonymised, benchmark-ready** Vietnamese hotel
98
- recommendation dataset for recommender-systems research.
 
 
99
 
100
  | Resource | Count |
101
  |---|---|
102
- | Interactions (cleaned) | 18,267 |
103
- | Users | 6,832 |
104
  | Hotels | 560 |
105
- | Benchmark split | 800 users × 535 hotels (9,787 train / 800 test) |
 
106
 
107
  Sources: Booking.com, Traveloka, Ivivu. License: **CC BY-NC 4.0** (data), MIT (code on GitHub).
108
 
 
 
109
  ## Dataset Viewer / subsets
110
 
111
  The Hub Dataset Viewer is configured via the YAML `configs` block above.
112
- Use the **Subset** dropdown:
113
 
114
  | Subset | Splits | Rows | Description |
115
  |---|---|---|---|
116
- | `interactions` (default) | `train` | 18,267 | user–hotel ratings |
117
- | `users` | `train` | 6,832 | user aggregates |
118
- | `hotels` | `train` | 560 | hotel metadata |
119
- | `benchmark` | `train` / `test` | 9,787 / 800 | public LOO split |
 
 
120
 
121
- Data files live under `data/<config>/<split>-00000-of-00001.parquet` (plus CSV twins for convenience).
122
 
123
  ## Load with 🤗 Datasets
124
 
125
  ```python
126
  from datasets import load_dataset
127
 
128
- # default subset = interactions
129
- ds = load_dataset("MinhDS/ViHoRec")
130
- print(ds["train"][0])
131
-
132
  interactions = load_dataset("MinhDS/ViHoRec", "interactions")
133
  users = load_dataset("MinhDS/ViHoRec", "users")
134
  hotels = load_dataset("MinhDS/ViHoRec", "hotels")
135
- benchmark = load_dataset("MinhDS/ViHoRec", "benchmark") # train + test
 
136
 
137
- # streaming (no full download)
138
- stream = load_dataset("MinhDS/ViHoRec", "interactions", split="train", streaming=True)
139
- for row in stream.take(3):
140
- print(row)
141
  ```
142
 
143
- Or with pandas / Polars:
144
 
145
  ```python
146
  import pandas as pd
147
 
148
  interactions = pd.read_parquet("hf://datasets/MinhDS/ViHoRec/data/interactions/train-00000-of-00001.parquet")
149
  train = pd.read_parquet("hf://datasets/MinhDS/ViHoRec/data/benchmark/train-00000-of-00001.parquet")
 
150
  test = pd.read_parquet("hf://datasets/MinhDS/ViHoRec/data/benchmark/test-00000-of-00001.parquet")
151
  ```
152
 
153
- ## Repository layout (Hub)
154
 
155
  ```
156
  data/
157
  ├── interactions/train-00000-of-00001.{parquet,csv}
158
  ├── users/train-00000-of-00001.{parquet,csv}
159
  ├── hotels/train-00000-of-00001.{parquet,csv}
160
- └── benchmark/
161
- ├── train-00000-of-00001.{parquet,csv}
162
- └── test-00000-of-00001.{parquet,csv}
163
- benchmark/ # reference artifacts (not in Viewer configs)
 
164
  ├── user_map.csv / item_map.csv
165
  ├── split_config.json
166
- └── baseline_results*.csv
 
 
 
 
167
  DATASHEET.md
168
  LICENSE
169
  README.md
@@ -171,22 +240,38 @@ README.md
171
 
172
  ## Key statistics
173
  - Raw interactions: 18,274 (Booking 7,597 / Traveloka 6,273 / Ivivu 4,404)
174
- - After cleaning: **18,267** interactions, **6,832** users, **560** hotels
175
- - Entity matching merged 21 cross-site name variants; 78 hotels on ≥2 sites
176
- - Benchmark split: 800 users × 535 items, 9,787 train / 800 test, 97.53% sparse
 
 
 
 
 
 
177
 
178
- ## Full pipeline & code
179
- The reproducible construction scripts live on GitHub:
180
  [MinhNguyenDS/ViHoRec](https://github.com/MinhNguyenDS/ViHoRec).
181
 
182
  ```bash
183
- # rebuild Hub-ready parquet/csv layout from release/
184
- python scripts/prepare_hf_hub.py
185
- # then: huggingface-cli upload MinhDS/ViHoRec hf_hub/ . --repo-type dataset
186
  ```
187
 
188
  ## Citation
189
 
190
- If you use ViHoRec, please cite [arXiv:2607.12946](https://arxiv.org/abs/2607.12946)
 
 
 
 
 
 
 
 
 
 
 
 
191
 
192
  See `DATASHEET.md` for provenance, ethics, and known limitations.
 
12
  - recommender-systems
13
  - hotel
14
  - vietnamese
15
+ - short-history
16
  - tabular
17
  - entity-resolution
18
  - parquet
 
31
  data_files:
32
  - split: train
33
  path: data/hotels/train-*.parquet
34
+ - config_name: content
35
+ data_files:
36
+ - split: train
37
+ path: data/content/train-*.parquet
38
  - config_name: benchmark
39
  data_files:
40
  - split: train
41
  path: data/benchmark/train-*.parquet
42
+ - split: validation
43
+ path: data/benchmark/validation-*.parquet
44
  - split: test
45
  path: data/benchmark/test-*.parquet
46
+ - config_name: benchmark_ge7
47
+ data_files:
48
+ - split: train
49
+ path: data/benchmark_ge7/train-*.parquet
50
+ - split: validation
51
+ path: data/benchmark_ge7/validation-*.parquet
52
+ - split: test
53
+ path: data/benchmark_ge7/test-*.parquet
54
  dataset_info:
55
  - config_name: interactions
56
  features:
 
66
  dtype: string
67
  splits:
68
  - name: train
69
+ num_examples: 17911
70
  - config_name: users
71
  features:
72
  - name: user_id
 
75
  dtype: int64
76
  splits:
77
  - name: train
78
+ num_examples: 6822
79
  - config_name: hotels
80
  features:
81
  - name: hotel_id
 
87
  splits:
88
  - name: train
89
  num_examples: 560
90
+ - config_name: content
91
+ features:
92
+ - name: Location
93
+ dtype: string
94
+ - name: NameHotel
95
+ dtype: string
96
+ - name: RatingHotel
97
+ dtype: float64
98
+ - name: CountRating
99
+ dtype: int64
100
+ - name: Price
101
+ dtype: int64
102
+ - name: Facilities
103
+ dtype: string
104
+ - name: Quality
105
+ dtype: float64
106
+ - name: DistanceCenter
107
+ dtype: float64
108
+ - name: Around
109
+ dtype: string
110
+ - name: Vicinity
111
+ dtype: string
112
+ - name: Link
113
+ dtype: string
114
+ splits:
115
+ - name: train
116
+ num_examples: 310
117
  - config_name: benchmark
118
  features:
119
  - name: userID
 
126
  dtype: int64
127
  splits:
128
  - name: train
129
+ num_examples: 8645
130
+ - name: validation
131
+ num_examples: 798
132
  - name: test
133
+ num_examples: 798
134
+ - config_name: benchmark_ge7
135
+ features:
136
+ - name: userID
137
+ dtype: int64
138
+ - name: itemID
139
+ dtype: int64
140
+ - name: rating
141
+ dtype: float32
142
+ - name: timestamp
143
+ dtype: int64
144
+ splits:
145
+ - name: train
146
+ num_examples: 8645
147
+ - name: validation
148
+ num_examples: 506
149
+ - name: test
150
+ num_examples: 512
151
  ---
152
 
153
  # ViHoRec — Vietnamese Hotel Recommendation Dataset
154
 
155
+ Revision 1 public release. Paper: [arXiv:2607.12946](https://arxiv.org/abs/2607.12946) · [Hugging Face Papers](https://huggingface.co/papers/2607.12946)
156
 
157
+ A **quality-controlled, pseudonymised, benchmark-ready** Vietnamese hotel
158
+ recommendation dataset. `user_id` is an HMAC of a reviewer display name
159
+ (a reviewer key, not an anonymised person). The public protocol is a
160
+ **short-history** three-way temporal split, not a strict cold-start benchmark.
161
 
162
  | Resource | Count |
163
  |---|---|
164
+ | Interactions (cleaned) | 17,911 |
165
+ | Reviewer keys | 6,822 |
166
  | Hotels | 560 |
167
+ | Content sheet | 310 rows, 309 distinct names |
168
+ | Benchmark split | 798 keys × 535 hotels (8,645 train / 798 validation / 798 test) |
169
 
170
  Sources: Booking.com, Traveloka, Ivivu. License: **CC BY-NC 4.0** (data), MIT (code on GitHub).
171
 
172
+ This card replaces the previous Hub build (18,267 interactions, 6,832 keys, two-way 800 / 9,787 / 800). Placeholder reviewer names are dropped, and hyper-parameters are selected on validation.
173
+
174
  ## Dataset Viewer / subsets
175
 
176
  The Hub Dataset Viewer is configured via the YAML `configs` block above.
177
+ Use the **Subset** dropdown. The validation split is the manuscript `val.csv`.
178
 
179
  | Subset | Splits | Rows | Description |
180
  |---|---|---|---|
181
+ | `interactions` (default) | `train` | 17,911 | reviewer-key–hotel ratings |
182
+ | `users` | `train` | 6,822 | key aggregates |
183
+ | `hotels` | `train` | 560 | canonical hotel catalogue |
184
+ | `content` | `train` | 310 | hotel text metadata (11 attributes) |
185
+ | `benchmark` | `train` / `validation` / `test` | 8,645 / 798 / 798 | public three-way split |
186
+ | `benchmark_ge7` | `train` / `validation` / `test` | 8,645 / 506 / 512 | same train fold; holdouts rated ≥ 7 |
187
 
188
+ Data files live under `data/<config>/<split>-00000-of-00001.parquet` (plus CSV twins). Paper-named copies of the canonical split are `benchmark/train.csv`, `benchmark/val.csv`, and `benchmark/test.csv`.
189
 
190
  ## Load with 🤗 Datasets
191
 
192
  ```python
193
  from datasets import load_dataset
194
 
 
 
 
 
195
  interactions = load_dataset("MinhDS/ViHoRec", "interactions")
196
  users = load_dataset("MinhDS/ViHoRec", "users")
197
  hotels = load_dataset("MinhDS/ViHoRec", "hotels")
198
+ content = load_dataset("MinhDS/ViHoRec", "content")
199
+ benchmark = load_dataset("MinhDS/ViHoRec", "benchmark") # train + validation + test
200
 
201
+ train = benchmark["train"]
202
+ val = benchmark["validation"]
203
+ test = benchmark["test"]
 
204
  ```
205
 
206
+ Or with pandas:
207
 
208
  ```python
209
  import pandas as pd
210
 
211
  interactions = pd.read_parquet("hf://datasets/MinhDS/ViHoRec/data/interactions/train-00000-of-00001.parquet")
212
  train = pd.read_parquet("hf://datasets/MinhDS/ViHoRec/data/benchmark/train-00000-of-00001.parquet")
213
+ val = pd.read_parquet("hf://datasets/MinhDS/ViHoRec/data/benchmark/validation-00000-of-00001.parquet")
214
  test = pd.read_parquet("hf://datasets/MinhDS/ViHoRec/data/benchmark/test-00000-of-00001.parquet")
215
  ```
216
 
217
+ ## Repository layout
218
 
219
  ```
220
  data/
221
  ├── interactions/train-00000-of-00001.{parquet,csv}
222
  ├── users/train-00000-of-00001.{parquet,csv}
223
  ├── hotels/train-00000-of-00001.{parquet,csv}
224
+ ├── content/train-00000-of-00001.{parquet,csv}
225
+ ├── benchmark/{train,validation,test}-00000-of-00001.{parquet,csv}
226
+ └── benchmark_ge7/{train,validation,test}-00000-of-00001.{parquet,csv}
227
+ benchmark/ # reference artifacts (not all in Viewer configs)
228
+ ├── train.csv / val.csv / test.csv
229
  ├── user_map.csv / item_map.csv
230
  ├── split_config.json
231
+ ├── PROTOCOL.md
232
+ ├── baseline_results*.csv / baseline_ci.md
233
+ ├── neural_results.csv
234
+ ├── recommenders_sota.md / cornac_sota.md
235
+ └── relevance_ge_7/ # companion split, paper filenames
236
  DATASHEET.md
237
  LICENSE
238
  README.md
 
240
 
241
  ## Key statistics
242
  - Raw interactions: 18,274 (Booking 7,597 / Traveloka 6,273 / Ivivu 4,404)
243
+ - After cleaning: **17,911** interactions, **6,822** reviewer keys, **560** hotels
244
+ (7 exact duplicates and 356 placeholder-name rows removed)
245
+ - Released source rows: Booking 7,239 / Traveloka 6,273 / Ivivu 4,399
246
+ - City- and type-aware entity resolution; 81 hotels on ≥2 sites; 0 hotels left with a conflicting location
247
+ - Benchmark: 798 keys × 535 hotels, 8,645 train / 798 validation / 798 test, 97.60% sparse
248
+ - Shortest train history = 2 (183 keys). Single-interaction keys stay in the corpus and are not scored
249
+ - Closed-form test Recall@10 (validation-tuned): UserKNN 0.129, Hybrid-fixed (λ=0.7) 0.135, Adaptive Hybrid 0.133, EASE (λ=1000) 0.120
250
+ - Sequential reference on the same freeze: SASRec and SSEPT Recall@10 = 0.172
251
+ - Do not cite the submitted two-way Adaptive Hybrid Recall@10 of 0.1388
252
 
253
+ ## Full pipeline and code
254
+ Construction scripts live on GitHub:
255
  [MinhNguyenDS/ViHoRec](https://github.com/MinhNguyenDS/ViHoRec).
256
 
257
  ```bash
258
+ huggingface-cli upload MinhDS/ViHoRec hf_hub_r1/ . --repo-type dataset
 
 
259
  ```
260
 
261
  ## Citation
262
 
263
+ If you use ViHoRec, please cite [arXiv:2607.12946](https://arxiv.org/abs/2607.12946):
264
+
265
+ ```bibtex
266
+ @misc{nguyen2026vihorec,
267
+ title={ViHoRec: A Quality-Controlled Vietnamese Hotel Recommendation Dataset and Short-History Benchmark},
268
+ author={Nguyen, Minh Hoang and Huynh, Tin Van and Nguyen, Kiet Van},
269
+ year={2026},
270
+ eprint={2607.12946},
271
+ archivePrefix={arXiv},
272
+ primaryClass={cs.IR},
273
+ url={https://arxiv.org/abs/2607.12946}
274
+ }
275
+ ```
276
 
277
  See `DATASHEET.md` for provenance, ethics, and known limitations.
benchmark/PROTOCOL.md ADDED
@@ -0,0 +1,63 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # ViHoRec public evaluation protocol
2
+
3
+ This is the frozen protocol for the revised release. Scripts that search a
4
+ hyper-parameter must read `val.csv`; `test.csv` is scored once.
5
+
6
+ ## Task name
7
+
8
+ **Short-history / temporal leave-one-out recommendation.**
9
+
10
+ It is not a strict user-cold-start protocol. Eligible users have at least four
11
+ interactions in the cleaned corpus. After the last and second-last reviews are
12
+ held out, every evaluated user still has at least two training interactions.
13
+ The shortest test bucket is therefore train-history length **2**, not 0.
14
+
15
+ The full corpus *is* cold-start dominated as a **dataset property**: most
16
+ reviewer keys have a single interaction and are excluded from this split.
17
+ That fact belongs in the characterization table, not in the name of the
18
+ benchmark.
19
+
20
+ ## Fold assignment (per user, chronological)
21
+
22
+ | Fold | Assignment | File |
23
+ |---|---|---|
24
+ | train | all interactions except the last two | `train.csv` |
25
+ | val | second-last interaction | `val.csv` |
26
+ | test | last interaction | `test.csv` |
27
+
28
+ Ordering is per user, not a global calendar cut. One user's training review
29
+ can be later than another user's test review. Identifiers are remapped to
30
+ contiguous integers in `user_map.csv` / `item_map.csv`.
31
+
32
+ Current counts (see `split_config.json`):
33
+
34
+ - 798 users × 535 hotels
35
+ - 8,645 train / 798 val / 798 test
36
+ - train-history min / median / max = 2 / 5 / 208
37
+ - 183 users have exactly two training interactions
38
+ - sparsity 97.60%
39
+
40
+ ## Relevance (I10)
41
+
42
+ The task is implicit next-item ranking. For a user, the single relevant item
43
+ is the hotel they reviewed next, **regardless of the numeric score**. Every
44
+ crawled rating is a positive (Cornac `rating_threshold = 0.5`). A 3/10 visit
45
+ counts the same as a 10/10 visit: the signal is the visit.
46
+
47
+ A sensitivity variant that keeps only holdouts rated ≥ 7 lives in
48
+ `relevance_ge_7/` (train unchanged; 506 val / 512 test users remain). Do not
49
+ overwrite the canonical files with that ablation.
50
+
51
+ ## What must not happen
52
+
53
+ - Selecting λ, `(α_min, n0, τ)`, EASE λ, or neural hyper-parameters on `test.csv`
54
+ - Calling the min-k = 4 protocol a cold-start benchmark
55
+ - Quoting submitted Adaptive Recall@10 0.1388 / 0.141 or `adaptive_hybrid_results.md` from the two-way run (the val-tuned file now matches `baseline_ci.md`)
56
+
57
+ ## Statistics (Phase 3)
58
+
59
+ Primary claims use per-user Recall@10 and NDCG@10. Uncertainty is a percentile
60
+ bootstrap 95% CI over users (10,000 resamples). Model comparisons are paired
61
+ Wilcoxon signed-rank tests on per-user Recall@10 (ties dropped). The pairing
62
+ unit is the user: leave-one-out ranking scores are bounded and zero-inflated,
63
+ so a Gaussian t-test is the wrong default.
benchmark/adaptive_hybrid_results.csv ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5d97548f9bd537d9076454ffaf5e698ef392dc573bb91f0c558edeb7b4a482bd
3
+ size 580
benchmark/adaptive_hybrid_results.md ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ | Method | MRR | MAP@5 | NDCG@5 | Precision@5 | Recall@5 | MAP@10 | NDCG@10 | Precision@10 | Recall@10 |
2
+ |---|---|---|---|---|---|---|---|---|---|
3
+ | UserKNN-cosine | 0.0606 | 0.0387 | 0.0492 | 0.0163 | 0.0815 | 0.0449 | 0.0644 | 0.0129 | 0.1291 |
4
+ | Content-TFIDF | 0.0287 | 0.0126 | 0.0160 | 0.0053 | 0.0263 | 0.0164 | 0.0252 | 0.0055 | 0.0551 |
5
+ | Hybrid-fixed (lam=0.7) | 0.0608 | 0.0378 | 0.0458 | 0.0140 | 0.0702 | 0.0462 | 0.0665 | 0.0135 | 0.1353 |
6
+ | AdaptiveHybrid-uncon | 0.0512 | 0.0316 | 0.0375 | 0.0110 | 0.0551 | 0.0367 | 0.0499 | 0.0094 | 0.0940 |
7
+ | AdaptiveHybrid-default | 0.0629 | 0.0404 | 0.0502 | 0.0160 | 0.0802 | 0.0471 | 0.0666 | 0.0132 | 0.1316 |
8
+ | AdaptiveHybrid-valtuned | 0.0639 | 0.0405 | 0.0490 | 0.0150 | 0.0752 | 0.0480 | 0.0675 | 0.0133 | 0.1328 |
benchmark/baseline_ci.csv ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ef3cafef8d5b49f25af737d32a38a7039f87ea2d7f696bf9e9024a3493cfb8f5
3
+ size 892
benchmark/baseline_ci.md ADDED
@@ -0,0 +1,17 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # ViHoRec baselines (three-way split; val-tuned, test once)
2
+
3
+ Hybrid-fixed λ = 0.7. Adaptive Hybrid {'alpha_min': 0.85, 'n0': 6.0, 'tau': 1.0} (val Recall@10 = 0.1341). EASE λ = 1000.
4
+
5
+ 95% CIs are percentile bootstrap over users (10,000 resamples). p is two-sided Wilcoxon signed-rank on per-user Recall@10 vs UserKNN. \* p<0.05, \*\* p<0.01, \*\*\* p<0.001.
6
+
7
+ | Method | R@10 | 95% CI | N@10 | 95% CI | MRR | vs UserKNN |
8
+ |---|---:|---|---:|---|---:|---|
9
+ | Random | 0.0159 | [0.0109, 0.0213] | 0.0080 | [0.0053, 0.0109] | 0.0123 | 0.0000*** |
10
+ | BPR-MF | 0.0977 | [0.0827, 0.1132] | 0.0485 | [0.0403, 0.0574] | 0.0493 | 0.0000*** |
11
+ | MostPop | 0.1103 | [0.0890, 0.1328] | 0.0539 | [0.0425, 0.0663] | 0.0496 | 0.0588 |
12
+ | ItemKNN-cosine | 0.0865 | [0.0677, 0.1065] | 0.0420 | [0.0321, 0.0527] | 0.0426 | 0.0001*** |
13
+ | UserKNN-cosine | 0.1291 | [0.1065, 0.1529] | 0.0644 | [0.0519, 0.0777] | 0.0606 | — |
14
+ | Content-TFIDF | 0.0551 | [0.0401, 0.0714] | 0.0252 | [0.0177, 0.0336] | 0.0287 | 0.0000*** |
15
+ | Hybrid-fixed (lam=0.7) | 0.1353 | [0.1115, 0.1591] | 0.0665 | [0.0536, 0.0800] | 0.0608 | 0.5002 |
16
+ | AdaptiveHybrid | 0.1328 | [0.1103, 0.1566] | 0.0675 | [0.0545, 0.0816] | 0.0639 | 0.4386 |
17
+ | EASE (lam=1000) | 0.1203 | [0.0977, 0.1441] | 0.0595 | [0.0473, 0.0723] | 0.0573 | 0.2087 |
benchmark/baseline_results.csv CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:47088c309345f21459b3249a5b4106f221e7ec76e6a56cce5293bbefefda3b14
3
- size 529
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6297955bb8d525781dcbeefb58ca30e75b05fff2aef7ac7fcee26b463c9bbfa0
3
+ size 767
benchmark/baseline_results.md CHANGED
@@ -1,8 +1,11 @@
1
  | Method | MRR | MAP@5 | NDCG@5 | Precision@5 | Recall@5 | MAP@10 | NDCG@10 | Precision@10 | Recall@10 |
2
  |---|---|---|---|---|---|---|---|---|---|
3
- | Random | 0.0119 | 0.0036 | 0.0046 | 0.0016 | 0.0079 | 0.0054 | 0.0093 | 0.0023 | 0.0225 |
4
- | MostPop | 0.0496 | 0.0310 | 0.0385 | 0.0123 | 0.0612 | 0.0368 | 0.0528 | 0.0106 | 0.1062 |
5
- | ItemKNN-cosine | 0.0401 | 0.0212 | 0.0277 | 0.0095 | 0.0475 | 0.0252 | 0.0376 | 0.0079 | 0.0788 |
6
- | UserKNN-cosine | 0.0630 | 0.0387 | 0.0465 | 0.0140 | 0.0700 | 0.0472 | 0.0671 | 0.0134 | 0.1338 |
7
- | BPR-MF | 0.0512 | 0.0297 | 0.0369 | 0.0119 | 0.0592 | 0.0358 | 0.0519 | 0.0106 | 0.1058 |
8
- | Content-TFIDF | 0.0275 | 0.0118 | 0.0165 | 0.0063 | 0.0312 | 0.0153 | 0.0249 | 0.0057 | 0.0575 |
 
 
 
 
1
  | Method | MRR | MAP@5 | NDCG@5 | Precision@5 | Recall@5 | MAP@10 | NDCG@10 | Precision@10 | Recall@10 |
2
  |---|---|---|---|---|---|---|---|---|---|
3
+ | Random | 0.0123 | 0.0047 | 0.0059 | 0.0019 | 0.0096 | 0.0056 | 0.0080 | 0.0016 | 0.0159 |
4
+ | BPR-MF | 0.0493 | 0.0284 | 0.0347 | 0.0109 | 0.0543 | 0.0340 | 0.0485 | 0.0097 | 0.0978 |
5
+ | MostPop | 0.0496 | 0.0310 | 0.0390 | 0.0128 | 0.0639 | 0.0371 | 0.0539 | 0.0110 | 0.1103 |
6
+ | ItemKNN-cosine | 0.0426 | 0.0245 | 0.0323 | 0.0113 | 0.0564 | 0.0285 | 0.0420 | 0.0086 | 0.0865 |
7
+ | UserKNN-cosine | 0.0606 | 0.0387 | 0.0492 | 0.0163 | 0.0815 | 0.0449 | 0.0644 | 0.0129 | 0.1291 |
8
+ | Content-TFIDF | 0.0287 | 0.0126 | 0.0160 | 0.0053 | 0.0263 | 0.0164 | 0.0252 | 0.0055 | 0.0551 |
9
+ | Hybrid-fixed (lam=0.7) | 0.0608 | 0.0378 | 0.0458 | 0.0140 | 0.0702 | 0.0462 | 0.0665 | 0.0135 | 0.1353 |
10
+ | AdaptiveHybrid | 0.0639 | 0.0405 | 0.0490 | 0.0150 | 0.0752 | 0.0480 | 0.0675 | 0.0133 | 0.1328 |
11
+ | EASE (lam=1000) | 0.0573 | 0.0347 | 0.0434 | 0.0140 | 0.0702 | 0.0412 | 0.0595 | 0.0120 | 0.1203 |
benchmark/baseline_results_std.csv CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:3395e73746e85b8f73b0ddbbbc0bdc11664c77e6408bbc057dc1fba8d4e4bd8a
3
- size 219
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1c1130d878d090f2cab4e75aea7723f8007f9df1fc14dc6f39cfb456793affcf
3
+ size 216
benchmark/cornac_sota.md ADDED
@@ -0,0 +1,31 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Cornac generative / CF baselines (public three-way split)
2
+
3
+ Fit on `train.csv`. Best-on-val checkpoint when the model supports it. `test.csv` scored once. Item text = hotel name + city + Facilities/Around/Vicinity/Price, encoded with `paraphrase-multilingual-MiniLM-L12-v2`.
4
+
5
+ Sequential prefixes follow Cornac leave-last-out: the validation review is in the test-time history but is not a training label. That is one extra observed item relative to GRU4Rec in `run_neural_baselines.py` (train history only).
6
+
7
+ SANSA is item–item CF (RecSys 2023). It uses the same train-only history and seen-item mask as EASE / UserKNN. SuiteSparse/CHOLMOD cannot build on this Windows env, and Cornac SANSA ICF is unstable on the 19.5%-dense 535-item gramian (the 150k-item sparse path). Reported SANSA is the exact dense LDL — the CHOLMOD density=1 closed form of Spišák et al. at this catalog size. Val-tuned λ=1000.
8
+
9
+ | Method | MRR | NDCG@5 | Recall@5 | NDCG@10 | Recall@10 | Train (s) | Test (s) |
10
+ |---|---:|---:|---:|---:|---:|---:|---:|
11
+ | TIGER | 0.0599 | 0.0495 | 0.0802 | 0.0734 | 0.1566 | 19974 | 155 |
12
+ | RPG | 0.0673 | 0.0515 | 0.0802 | 0.0722 | 0.1454 | 2299 | 35 |
13
+ | LETTER | 0.0569 | 0.0484 | 0.0802 | 0.0698 | 0.1466 | 28724 | 171 |
14
+ | SANSA | 0.0583 | 0.0450 | 0.0727 | 0.0598 | 0.1190 | 2 | 0 |
15
+
16
+ 95% bootstrap CI over users; Wilcoxon on per-user Recall@10 vs UserKNN (R@10 = 0.1291). \* p<0.05.
17
+
18
+ | Method | R@10 | 95% CI | N@10 | vs UserKNN |
19
+ |---|---:|---|---:|---|
20
+ | TIGER | 0.1566 | [0.1316, 0.1830] | 0.0734 | 0.0233* |
21
+ | RPG | 0.1454 | [0.1216, 0.1704] | 0.0722 | 0.2596 |
22
+ | LETTER | 0.1466 | [0.1228, 0.1717] | 0.0698 | 0.2050 |
23
+ | SANSA | 0.1190 | [0.0977, 0.1416] | 0.0598 | 0.1441 |
24
+
25
+ Reference (same freeze, train-only history): UserKNN 0.1291, Hybrid-fixed 0.1353, GRU4Rec 0.1604, EASE λ=1000 0.1203.
26
+
27
+ ## Skipped
28
+
29
+ - **Companion**: Needs SentimentModality (aspect–opinion tuples from reviews). ViHoRec does not release review text.
30
+ - **HypAR**: Review-hypergraph model; the public release has no review documents.
31
+ - **DiffGRM**: Paper-scale GPU recipe (d_model=256, 100 epochs, beam 128). This environment is torch CPU-only.
benchmark/cornac_sota_ci.csv ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:65f533fff80073e383943df316f7274cb38471b378b86696625743d770a2bb69
3
+ size 423
benchmark/cornac_sota_per_user.csv ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ad909d285e2fa13a4f9ae497ccb0038cfbaa1de2719b340127a55d6761b51cb0
3
+ size 34722
benchmark/cornac_sota_results.csv ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9298c343d83a56f58eb2369542c5a65694399a2e2f3498302be72894fb013871
3
+ size 414
benchmark/hybrid_lambda_sweep.csv ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:bf1b53ae79c7dd847ff20f87c122d9d3d0e7d3dfb336c5ac4dcc8ecfc52a2510
3
+ size 1158
benchmark/hybrid_sensitivity.csv ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1e417da92f9bc2d9dfca7d6c94ca55119e3460262e238bfca69dcdf97e6ad983
3
+ size 2234
benchmark/item_map.csv CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:a0719dd721ee53fc831096b97902346bd9d4d13e3099c1b49460c1b1c8f86f99
3
  size 5792
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:45dfca77094b4a09deee9148474cbb52334d8837ab1f79c7a852551d4ec8aae6
3
  size 5792
benchmark/neural_results.csv ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f09abe19325341702a46d4e7f75e15782c7a5fb153e8b834ea55c860feeff699
3
+ size 298
benchmark/pairwise_tests.csv ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3e1ce76589d288a2a54f5044b9f5fa10c1113eb917ed77afc01de10bcb81845b
3
+ size 784
benchmark/per_user_metrics.csv ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d17e3849418ab272c1cecad490fffd1862f6118d1f4f48e046c73714e140fa63
3
+ size 74471
benchmark/recommenders_sota.md ADDED
@@ -0,0 +1,29 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Recommenders-team baselines (public three-way split)
2
+
3
+ Library: [recommenders-team/recommenders](https://github.com/recommenders-team/recommenders). The repo does not contain 2025–2026 *papers*; NEWS last updated April 2025. The models below are the newest **implementations** on `main`: PyTorch SASRec / SSEPT (UniRec port, 2026) and PyTorch NeuMF.
4
+
5
+ Protocol matches `run_neural_baselines.py`: train on `train.csv`, select epoch on `val.csv`, score `test.csv` once. Train-only history, full 535-item catalogue, mask seen train items. Recommenders' built-in sampled HR@10 (100 negatives) is **not** used.
6
+
7
+ | Method | MRR | NDCG@5 | Recall@5 | NDCG@10 | Recall@10 | Train (s) | Test (s) |
8
+ |---|---:|---:|---:|---:|---:|---:|---:|
9
+ | SASRec | 0.0753 | 0.0580 | 0.0890 | 0.0845 | 0.1717 | 75 | 0 |
10
+ | NCF-NeuMF | 0.0681 | 0.0529 | 0.0840 | 0.0726 | 0.1441 | 53 | 2 |
11
+ | SSEPT | 0.0706 | 0.0554 | 0.0915 | 0.0810 | 0.1717 | 85 | 1 |
12
+
13
+ 95% bootstrap CI over users; Wilcoxon on per-user Recall@10 vs UserKNN (R@10 = 0.1291). \* p<0.05.
14
+
15
+ | Method | R@10 | 95% CI | N@10 | vs UserKNN |
16
+ |---|---:|---|---:|---|
17
+ | SASRec | 0.1717 | [0.1466, 0.1980] | 0.0845 | 0.0007*** |
18
+ | NCF-NeuMF | 0.1441 | [0.1203, 0.1692] | 0.0726 | 0.1396 |
19
+ | SSEPT | 0.1717 | [0.1454, 0.1980] | 0.0810 | 0.0003*** |
20
+
21
+ Reference (same freeze, train-only history): UserKNN 0.1291, GRU4Rec 0.1604, LightGCN 0.1454, NeuMF 0.1228, TIGER 0.1566.
22
+
23
+ ## Skipped
24
+
25
+ - **LightGCN**: Already evaluated in-repo (neural_results.csv, test R@10=0.1454). Recommenders LightGCN is the same 2020 model on the DeepRec yaml stack.
26
+ - **SUM**: TensorFlow DeepRec sequential (Lian et al., 2021). Not on the 2026 PyTorch UniRec line; extra TF dependency on Python 3.13.
27
+ - **SLi-Rec**: TensorFlow DeepRec (Microsoft, 2019). Same TF stack as SUM.
28
+ - **NextItNet**: TensorFlow DeepRec dilated CNN (Yuan et al., 2019).
29
+ - **NRMS/NAML/LSTUR**: News recommenders; they need article text. ViHoRec has hotel metadata, not news bodies.
benchmark/recommenders_sota_ci.csv ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6322ff490d6e8630b5d22cb8be2e415ba53593fa1c5cd36440c7e0a66418cfb4
3
+ size 367
benchmark/recommenders_sota_per_user.csv ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:434cbfbb1b20f6e45339e8bdbcad2ad8a0e23e717b3fb91185151f8e72952fb0
3
+ size 27516
benchmark/recommenders_sota_results.csv ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e89628085cd3b98ecdc24b7b041d45b8c4f82eb1d885097aea301a1142499927
3
+ size 340
benchmark/relevance_ge_7/item_map.csv ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:45dfca77094b4a09deee9148474cbb52334d8837ab1f79c7a852551d4ec8aae6
3
+ size 5792
benchmark/relevance_ge_7/split_config.json ADDED
@@ -0,0 +1,63 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "protocol": "temporal leave-one-out, three-way (train / val / test)",
3
+ "fold_assignment": {
4
+ "test": "last interaction per user",
5
+ "val": "second-last interaction per user",
6
+ "train": "all earlier interactions"
7
+ },
8
+ "temporal_scope": {
9
+ "ordering": "per user, not global",
10
+ "note": "Each user's own history is split chronologically, so no user's future leaks into their training data. Across users the folds overlap in wall-clock time: one user's training review can be later than another user's test review. This is the standard leave-last-one-out protocol; a single global cut-off date would be a different and stricter setting, and is not used here."
11
+ },
12
+ "relevance": {
13
+ "definition": "implicit next-item: the chronologically next hotel the user reviewed",
14
+ "all_ratings_are_positive": false,
15
+ "relevance_threshold": 7.0,
16
+ "note": "Ratings are not thresholded by default; the holdout item is relevant because it was visited, not because it scored well."
17
+ },
18
+ "min_interactions": 4,
19
+ "seed": 42,
20
+ "n_users": 798,
21
+ "n_items": 535,
22
+ "n_train": 8645,
23
+ "n_val": 506,
24
+ "n_test": 512,
25
+ "train_history_length": {
26
+ "min": 2,
27
+ "median": 5.0,
28
+ "max": 208
29
+ },
30
+ "users_with_train_history_2": 183,
31
+ "users_evaluated": {
32
+ "val": 506,
33
+ "test": 512
34
+ },
35
+ "sparsity_pct": 97.6012,
36
+ "output_dir": "benchmark\\relevance_ge_7",
37
+ "folds": {
38
+ "train": {
39
+ "n": 8645,
40
+ "n_users": 798,
41
+ "n_items": 508,
42
+ "date_min": "2012-01-08",
43
+ "date_max": "2023-12-06",
44
+ "rating_mean": 7.5283
45
+ },
46
+ "val": {
47
+ "n": 506,
48
+ "n_users": 506,
49
+ "n_items": 232,
50
+ "date_min": "2015-10-20",
51
+ "date_max": "2023-12-07",
52
+ "rating_mean": 8.8534
53
+ },
54
+ "test": {
55
+ "n": 512,
56
+ "n_users": 512,
57
+ "n_items": 226,
58
+ "date_min": "2017-07-08",
59
+ "date_max": "2023-12-09",
60
+ "rating_mean": 8.782
61
+ }
62
+ }
63
+ }
benchmark/relevance_ge_7/test.csv ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ef6d39f2c6580ea60aff7db836833aa5e62edce95808cc2281bd4cee0bd614cc
3
+ size 11745
benchmark/relevance_ge_7/train.csv ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:781a3b99e5a020179e8f1c427c2acf858d1035385040114f88e76ab1320c915e
3
+ size 196724
benchmark/relevance_ge_7/user_map.csv ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:053f3b8b0568c8e450b2196ba1c2433273b9d1a8dbcccd970729342dc20a0b1b
3
+ size 15068
benchmark/relevance_ge_7/val.csv ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8ae5d879f9a6ca7493afd701fb05666ab6bdb9dd9bb883d78aff6e8a8ee2d62a
3
+ size 11623
benchmark/split_config.json CHANGED
@@ -1,10 +1,63 @@
1
  {
2
- "protocol": "leave-last-one-out (temporal)",
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3
  "min_interactions": 4,
4
  "seed": 42,
5
- "n_users": 800,
6
  "n_items": 535,
7
- "n_train": 9787,
8
- "n_test": 800,
9
- "sparsity_pct": 97.5264
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
10
  }
 
1
  {
2
+ "protocol": "temporal leave-one-out, three-way (train / val / test)",
3
+ "fold_assignment": {
4
+ "test": "last interaction per user",
5
+ "val": "second-last interaction per user",
6
+ "train": "all earlier interactions"
7
+ },
8
+ "temporal_scope": {
9
+ "ordering": "per user, not global",
10
+ "note": "Each user's own history is split chronologically, so no user's future leaks into their training data. Across users the folds overlap in wall-clock time: one user's training review can be later than another user's test review. This is the standard leave-last-one-out protocol; a single global cut-off date would be a different and stricter setting, and is not used here."
11
+ },
12
+ "relevance": {
13
+ "definition": "implicit next-item: the chronologically next hotel the user reviewed",
14
+ "all_ratings_are_positive": true,
15
+ "relevance_threshold": null,
16
+ "note": "Ratings are not thresholded by default; the holdout item is relevant because it was visited, not because it scored well."
17
+ },
18
  "min_interactions": 4,
19
  "seed": 42,
20
+ "n_users": 798,
21
  "n_items": 535,
22
+ "n_train": 8645,
23
+ "n_val": 798,
24
+ "n_test": 798,
25
+ "train_history_length": {
26
+ "min": 2,
27
+ "median": 5.0,
28
+ "max": 208
29
+ },
30
+ "users_with_train_history_2": 183,
31
+ "users_evaluated": {
32
+ "val": 798,
33
+ "test": 798
34
+ },
35
+ "sparsity_pct": 97.6012,
36
+ "output_dir": "benchmark",
37
+ "folds": {
38
+ "train": {
39
+ "n": 8645,
40
+ "n_users": 798,
41
+ "n_items": 508,
42
+ "date_min": "2012-01-08",
43
+ "date_max": "2023-12-06",
44
+ "rating_mean": 7.5283
45
+ },
46
+ "val": {
47
+ "n": 798,
48
+ "n_users": 798,
49
+ "n_items": 289,
50
+ "date_min": "2015-10-20",
51
+ "date_max": "2023-12-07",
52
+ "rating_mean": 7.5561
53
+ },
54
+ "test": {
55
+ "n": 798,
56
+ "n_users": 798,
57
+ "n_items": 278,
58
+ "date_min": "2017-07-08",
59
+ "date_max": "2023-12-09",
60
+ "rating_mean": 7.4976
61
+ }
62
+ }
63
  }
benchmark/test.csv ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:eb2d913269c597d986e242b65c53f7067f765c68915005054fae99426e97afbc
3
+ size 18217
benchmark/train.csv ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:781a3b99e5a020179e8f1c427c2acf858d1035385040114f88e76ab1320c915e
3
+ size 196724
benchmark/user_map.csv CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:c830948d8aa0afc75ea53f2a3005ae1ae3176ea57e653ddccf58271c68fd3716
3
- size 15106
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:053f3b8b0568c8e450b2196ba1c2433273b9d1a8dbcccd970729342dc20a0b1b
3
+ size 15068
benchmark/val.csv ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:dcaeba814337360e1c483be1e3d61201ecbfb587555938114ae907bf8a15b948
3
+ size 18229
data/benchmark/test-00000-of-00001.csv CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:ab7ea148c81fb5305521ba317ffbb66ab598b37566e68161240fa2fe684a51b2
3
- size 16666
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:eb2d913269c597d986e242b65c53f7067f765c68915005054fae99426e97afbc
3
+ size 18217
data/benchmark/test-00000-of-00001.parquet CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:96a7b7146bc32b1a0dc153646e12360b32c866613d431a317523bbf9adf13ffc
3
- size 13009
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:da63b684ed22429f54b5337bf4dc5ba0ad394ee1c8cef5981c87ee05a7c6ff8c
3
+ size 13372
data/benchmark/train-00000-of-00001.csv CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:ff236a8d562028ff9d2c21cbc159225d84a1e6d06c7983e00310c9eca7fade53
3
- size 203527
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:781a3b99e5a020179e8f1c427c2acf858d1035385040114f88e76ab1320c915e
3
+ size 196724
data/benchmark/train-00000-of-00001.parquet CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:90b391f355d11ef7c56a563a4260a0cee723999f24883079a06bc08d408e18c5
3
- size 59180
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:22da58f3157f2f4d6776b5a0ddb1763f3f3a31d0230bb1fa0fcb64fcc49aec1f
3
+ size 55033
data/benchmark/validation-00000-of-00001.csv ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:dcaeba814337360e1c483be1e3d61201ecbfb587555938114ae907bf8a15b948
3
+ size 18229
data/benchmark/validation-00000-of-00001.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4e179b599b3124ea6eb41e811e69eaddf1586c415d3eaaede9c2f4af5f60c870
3
+ size 14263
data/benchmark_ge7/test-00000-of-00001.csv ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ef6d39f2c6580ea60aff7db836833aa5e62edce95808cc2281bd4cee0bd614cc
3
+ size 11745
data/benchmark_ge7/test-00000-of-00001.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6f842d26b4037559a145ed497fbcff1f8ca6dfab0e117f09984702452e51b5ea
3
+ size 9768
data/benchmark_ge7/train-00000-of-00001.csv ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:781a3b99e5a020179e8f1c427c2acf858d1035385040114f88e76ab1320c915e
3
+ size 196724
data/benchmark_ge7/train-00000-of-00001.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:22da58f3157f2f4d6776b5a0ddb1763f3f3a31d0230bb1fa0fcb64fcc49aec1f
3
+ size 55033
data/benchmark_ge7/validation-00000-of-00001.csv ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8ae5d879f9a6ca7493afd701fb05666ab6bdb9dd9bb883d78aff6e8a8ee2d62a
3
+ size 11623
data/benchmark_ge7/validation-00000-of-00001.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:44330721be7b56fdb2d9055fc736c402854994b367b7350d927ff3ea928b904d
3
+ size 10280
data/content/train-00000-of-00001.csv ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1b0f7871f42f561590a04d2414d2fecdde0610df6a00a66c223b0639aead9927
3
+ size 120172
data/content/train-00000-of-00001.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:40c1d8b18cf09d44804d46c183d935e9bf60352ccc221e68946f008d0fee5186
3
+ size 35735