Datasets:
Expose sampled negative item metadata and expand dataset documentation
Browse filesFiles changed (4)
- README.md+139-76
- manifest.json+12-2
- reports/negative_metadata_coverage.jsonAdded+34
- tables/negative_items/test.parquetAdded+3
21 unmodified lines2223242526272829303112 unmodified lines444546434748495051525354555657585960616245636465666768476970497172737475767778798081828351848553868755888957585960616290919293949596976498996610010110210310410510610710810911011111211311411511611711811912012112212312412512612773747576128129130787980818213113213313413513685868713713813990919293949514014114214314414514698991001471481021491501511529 unmodified lines1621631641651661191201211221231671681251691701711727 unmodified lines18018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223314014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017123423517323621 unmodified lines data_files: - split: test path: tables/products/*.parquet- config_name: negative_items data_files: - split: test path: tables/negative_items/*.parquet- config_name: users data_files: - split: test12 unmodified lines path: tables/product_images/*.parquet---
# MemoryVCD — Full edition# 🧠 MemoryVCD · Full Edition
**323 users · 12 domains · 535,698 interactions**
[📄 Paper](https://aclanthology.org/2026.findings-emnlp.1804/) · [📥 PDF](https://aclanthology.org/2026.findings-emnlp.1804.pdf) · [💻 MemoryCD Code](https://github.com/AgentMemoryWorld/MemoryCD) · [🔗 URL Edition](https://huggingface.co/datasets/WZDavid/MemoryVCD) · [🖼️ Full Edition](https://huggingface.co/datasets/WZDavid/MemoryVCD-Full)
Real user histories for evaluating long-term, cross-domain personalization. MemoryVCD extends the MemoryCD data release with product image references, complete metadata for the saved candidate pools, and explicit evaluation inputs. Full adds the available cached product images.
## 📄 Paper and release relationship
**MemoryCD: Benchmarking Long-Context User Memory of LLM Agents for Lifelong Cross-Domain Personalization** — Zhang et al., *Findings of EMNLP 2026*.
The paper studies memory grounded in real Amazon review histories, with four tasks: rating prediction, item ranking, review summarization, and review generation. It evaluates single-domain and cross-domain memory. See the [paper](https://aclanthology.org/2026.findings-emnlp.1804/) for methods and results.
This repository is the **MemoryVCD extended release**, not a claim that every added visual feature or candidate file was evaluated in the MemoryCD paper. Statistics below describe the released files.
**323 users · 12 domains · 535,698 interaction records · 276,418 history products**| Repository | Purpose | Product images ||---|---|---|| [MemoryCD](https://huggingface.co/datasets/WZDavid/MemoryCD) | Original release; unchanged | Original item metadata || [MemoryVCD](https://huggingface.co/datasets/WZDavid/MemoryVCD) | Extended histories, candidate metadata and evaluation inputs | URL strings || [MemoryVCD-Full](https://huggingface.co/datasets/WZDavid/MemoryVCD-Full) | Same data plus existing image cache | 243,394 embedded image records |
**Full edition:** includes 243,394 verified cached product images embedded in Parquet, with native image previews. Full means all matched valid images available in the local cache at release time; it does **not** mean 100% image coverage. No missing images were synthesized or fetched to fill gaps.## 📊 At a glance
Release: **2026-11-12**. The [URL edition](https://huggingface.co/datasets/WZDavid/MemoryVCD) and [Full edition](https://huggingface.co/datasets/WZDavid/MemoryVCD-Full) share identical histories, product tables, evaluation windows, and candidates. Full additionally contains the `product_images` subset. Use file hashes in `manifest.json` to verify alignment.| Statistic | Count ||---|---:|| Users | 323 || Domains | 12: 4 evaluation targets + 8 memory domains || Interaction records | 535,698 || History product/domain pairs | 276,418 || All product/domain metadata records | 481,333 || Unique sampled negative product/domain pairs | 211,364 || Negative items outside the history product set | 204,915 || Missing metadata for saved negatives | **0** || Product image URLs | 456,761 || Valid cached image records (Full) | 243,394 |
## Browse the dataCounts use `(domain, parent_asin)` as the item key. A negative for one user can be a historical item for another; history and negative counts therefore overlap.
The default **interactions** subset shows one interaction per row: domain, user, product, rating, UTC date, review title/body, and image URL. It is the complete corpus, not a preview sample. Use the subset selector or the links below.## 🗂️ Browse the data
| Subset | Rows | Purpose || Subset | Rows | Contents ||---|---:|---|| [interactions](https://huggingface.co/datasets/WZDavid/MemoryVCD-Full/viewer/interactions/test) | 535,698 | Read, search and filter individual reviews || [products](https://huggingface.co/datasets/WZDavid/MemoryVCD-Full/viewer/products/test) | 481,333 | Product metadata for histories and saved evaluation candidates || [users](https://huggingface.co/datasets/WZDavid/MemoryVCD-Full/viewer/users/test) | 323 | User activity counts and original ordering || [evaluation_windows](https://huggingface.co/datasets/WZDavid/MemoryVCD-Full/viewer/evaluation_windows/test) | 15,504 | Time-axis and domain-axis test windows and memory boundaries || [evaluation_candidates](https://huggingface.co/datasets/WZDavid/MemoryVCD-Full/viewer/evaluation_candidates/test) | 19,751 | Saved ranking/choice candidates, with source provenance || [product_images](https://huggingface.co/datasets/WZDavid/MemoryVCD-Full/viewer/product_images/test) | 243,394 | Actual cached images with product title and identifiers || [interactions](https://huggingface.co/datasets/WZDavid/MemoryVCD-Full/viewer/interactions/test) | 535,698 | One review per row || [products](https://huggingface.co/datasets/WZDavid/MemoryVCD-Full/viewer/products/test) | 481,333 | History and candidate item metadata || [negative_items](https://huggingface.co/datasets/WZDavid/MemoryVCD-Full/viewer/negative_items/test) | 211,364 | Metadata for all saved sampled negatives || [users](https://huggingface.co/datasets/WZDavid/MemoryVCD-Full/viewer/users/test) | 323 | User index and activity counts || [evaluation_windows](https://huggingface.co/datasets/WZDavid/MemoryVCD-Full/viewer/evaluation_windows/test) | 15,504 | Memory boundaries and test targets || [evaluation_candidates](https://huggingface.co/datasets/WZDavid/MemoryVCD-Full/viewer/evaluation_candidates/test) | 19,751 | Positive and negative item IDs with source provenance || [product_images](https://huggingface.co/datasets/WZDavid/MemoryVCD-Full/viewer/product_images/test) | 243,394 | Cached product images with native image fields |
The `test` split label denotes an **evaluation corpus**, not that every interaction is a held-out test target. Memory and test targets are selected **within each user's history** using `evaluation_windows`. There is no random train/validation/test split.All subsets use `test` to label the evaluation corpus. This is **not** a random train/test split: `evaluation_windows` defines memory and test targets within each history.
## Load## 🎯 Negative items and sampling
`products` includes both historical items and all items required by the saved ranking/choice candidates. `negative_items` is a convenient filtered view of those same metadata records; it does not add new interactions or change the candidate pools.
| Domain | Unique negative items | Outside history | Missing metadata ||---|---:|---:|---:|| Beauty_and_Personal_Care | 51,966 | 49,416 | 0 || Books | 53,433 | 52,571 | 0 || Electronics | 52,641 | 51,075 | 0 || Home_and_Kitchen | 53,324 | 51,853 | 0 || **Total** | **211,364** | **204,915** | **0** |
| Candidate task | Saved rows | Negatives per row | Source ||---|---:|---:|---|| Item ranking | 9,876 | 19 | Saved random candidate pools || Item preference choice | 9,875 | 3 | Saved hard-negative pools |
**No resampling was performed.** Candidate order and IDs are preserved. The saved hard-negative files contain 3 negatives; any description expecting 4 does not match these files. Base and time-cutoff sources are distinct: filter `task`, `source_file`, and `cutoff` before evaluation. Time-axis source files cover the original first 100 users, while evaluation windows cover all 323 users. Missing candidate rows are not fabricated.
Join `evaluation_candidates.neg_asins` to `negative_items.parent_asin` **within the same domain**. `candidate_reference_count` counts occurrences across all saved candidate rows; `candidate_tasks` lists the tasks using each item. The coverage audit is in `reports/negative_metadata_coverage.json`.
## 🚀 Load and join
```pythonfrom datasets import load_dataset
repo = "WZDavid/MemoryVCD-Full"reviews = load_dataset(repo, "interactions", split="test")products = load_dataset(repo, "products", split="test")windows = load_dataset(repo, "evaluation_windows", split="test")print(reviews[0])```candidates = load_dataset(repo, "evaluation_candidates", split="test")negatives = load_dataset(repo, "negative_items", split="test")
```python# Stream one cached product image without downloading all image shards.images = load_dataset(repo, "product_images", split="test", streaming=True)example = next(iter(images))display(example["image"])meta = {(r["domain"], r["parent_asin"]): r for r in negatives}example = candidates[0] # Select your intended task/source/cutoff for evaluation.negative_metadata = [meta[(example["domain"], a)] for a in example["neg_asins"]]print([(r["parent_asin"], r["title"]) for r in negative_metadata])```
### Original user histories
`users/users_12domains.jsonl.gz` preserves the original nested histories, one user per line (323 lines). The `users` preview subset is a compact index, not the nested histories themselves. The archive is provided separately to keep the browser readable.For positive item metadata, use the `products` subset. To read cached images:
```pythonimport gzip, jsonfrom huggingface_hub import hf_hub_download
path = hf_hub_download(repo, "users/users_12domains.jsonl.gz", repo_type="dataset")with gzip.open(path, "rt") as f: users = [json.loads(line) for line in f if line.strip()]images = load_dataset("WZDavid/MemoryVCD-Full", "product_images", split="test", streaming=True)example_image = next(iter(images))print(example_image["domain"], example_image["parent_asin"])image = example_image["image"] # PIL image; cached bytes are embedded in Parquet.```
`tools/release_dataset_helpers.py` provides `load_users`, `split_window` and `restore_ranking_input`. These reconstruct data inputs without invoking any models. This is a **data release**, not a bundle of model outputs, API credentials, or experiment caches.
## Corpus distribution## 🌍 Domain statistics
The first four domains are evaluation targets; the remaining eight provide additional cross-domain memory. The primary four contain 314,116 interactions; all twelve contain 535,698. Users are shared across domains, so domain user counts must not be summed.The first four domains are evaluation targets (314,116 interactions). The remaining eight provide additional memory (221,582 interactions). Users overlap across domains.
| Domain | Users | Interactions | History products ||---|---:|---:|---:|9 unmodified lines| Movies_and_TV | 278 | 9,395 | 8,433 || Office_Products | 323 | 28,325 | 14,032 || Sports_and_Outdoors | 323 | 26,847 | 15,194 || **Total (unique users)** | **323** | **535,698** | **276,418** |
## Image and metadata coverage
All **481,333 required product/domain records** have metadata. This includes the random ranking candidates and all saved time-cutoff hard candidates, beyond the 276,418 history products.
There are **456,761 product image URLs** and **243,394 valid cached product images** (50.57% of required product/domain rows). Among history products, **83,565/276,418** have a cached image (30.23%). URL availability is not a live HTTP success guarantee.## 🖼️ Images and metadata
| Domain | Required products | Image URLs | Cached images || Domain | Required metadata | Image URLs | Cached image records ||---|---:|---:|---:|| Beauty_and_Personal_Care | 82,891 | 82,890 | 49,225 || Books | 100,625 | 78,730 | 49,539 |7 unmodified lines| Movies_and_TV | 8,433 | 5,840 | 244 || Office_Products | 14,032 | 13,977 | 3,936 || Sports_and_Outdoors | 15,194 | 15,194 | 5,485 || **Total** | **481,333** | **456,761** | **243,394** |
Full includes all matched valid images in the release cache, **not 100% image coverage**: 50.57% of required metadata rows and 30.23% of history products have cached images. One invalid cached image was excluded. External URLs may expire. Product photos are separate from user-uploaded review photos; review image bytes are not bundled.
## 🧾 Key fields and files
| Table / file | Important fields or contents ||---|---|| `interactions` | `user_id`, `domain`, `parent_asin`, `rating`, `timestamp`, review title/text, `image_url` || `products` / `negative_items` | `title`, `description`, category, store, average rating, image URL; `in_user_history`, cache availability || `evaluation_candidates` | `task`, `source_file`, `cutoff`, `pos_asin`, `neg_asins` || `evaluation_windows` | Target indices, memory prefix/boundary, source domains || `product_images` (Full) | `(domain, parent_asin)`, embedded `image`, source URL and image hash || `users/users_12domains.jsonl.gz` | Original nested histories, one user per line || `metadata/*.jsonl.gz` | Per-domain metadata including required candidate items || `evaluation/source_candidates/` | Original saved hard-negative files || `tools/release_dataset_helpers.py` | Load nested histories and reconstruct evaluation inputs || `reports/`, `manifest.json` | Coverage checks, validation, file sizes and SHA-256 hashes |
Metadata uses the evaluator's slim fields: title up to 200 characters and description up to 400; price is not included. `image_shard` paths refer to the Full repository. Join images with `(domain, parent_asin)`. The `users` subset is an index; use the compressed histories for the complete nested records.
## ⚙️ Evaluation and limitations
| Setting | Released definition ||---|---|| Time axis | Five cutoffs: 0, .25, .5, .75, 1; a three-interaction target window || Domain axis | D0–D5 and Dtx; final three target-domain interactions || Chronology | Memory precedes the target boundary; see helper functions for exact reconstruction || Ordering | `source_user_index`, `source_interaction_index` and stable interaction IDs preserve provenance || Repeated keys | 10,404 excess records share user/domain/item/timestamp; retained to preserve timelines || Selection bias | Users have substantial cross-domain activity; not a representative random sample || Review images | Extra-eight-domain extraction did not retain review-image fields; absence is not proof of no original image |
The same histories/windows support multiple tasks; task counts must not be summed as independent users. Exact source ordering and candidate versions matter for reproducibility.
## 📚 Citation and source
Please cite the foundational MemoryCD paper and identify the MemoryVCD edition/revision used:
```bibtex@inproceedings{zhang-etal-2026-memorycd, title = "{M}emory{CD}: Benchmarking Long-Context User Memory of {LLM} Agents for Lifelong Cross-Domain Personalization", author = "Zhang, Weizhi and Wei, Xiaokai and Huang, Wei-Chieh and Hui, Zheng and Wang, Chen and Gong, Michelle and Yu, Philip S.", booktitle = "Findings of the Association for Computational Linguistics: EMNLP 2026", year = "2026", pages = "38554--38575", url = "https://aclanthology.org/2026.findings-emnlp.1804/", doi = "10.18653/2026.findings-emnlp.1804"}```
`products.cached_image_available` describes availability in the companion Full release, including when read from the URL edition. `image_shard` is relative to the Full repository. Images are embedded as bytes in that shard; the image field's `path` is only a filename label, not an additional loose file to download. Join using `(domain, parent_asin)`. Missing-cache entries remain in the product and interaction tables; only valid cached images enter `product_images`. `image_sha256` checks image payload integrity.
Product images differ from user-uploaded **review images**. The primary-domain histories preserve their review-image fields; the eight added domains' extraction did not retain these fields. A missing field there must not be interpreted as proof that the original review had no image. `review_images_field_present` makes this distinction explicit. Review image bytes are not bundled.
## Fields and ordering
- `interaction_id`: stable identifier formed from source user index, domain, and original position within that domain.- `interaction_index`: zero-based index after a stable timestamp sort within one user/domain; used by evaluation windows.- `source_user_index` and `source_interaction_index`: preserve source ordering and allow reconstruction.- `timestamp`: original Unix milliseconds; `date` is its UTC ISO representation.- `review_title` and `review_text`: complete review text. `rating` preserves the original numeric score.- `image_url`: selected MAIN product image (large, then hi_res, then thumb; fallback to another variant).- `review_images_json`: JSON representation of original review images; `null` if absent.- Product metadata mirrors the evaluator's slim representation: title limited to 200 characters and description to 400. No `price` field is promised in the new product tables. Per-domain slim JSONL files are in `metadata/`.
## Evaluation protocol and actual candidate coverage
All 323 users have windows for the four primary target domains. Time cutoffs are 0, .25, .5, .75 and 1. A three-interaction window moves along the timestamp-sorted target history; preceding interactions are the initial memory. Interior centers use Python `round(c*n)`, with indices `[center-1, center+2)`.
Domain windows hold the target's final three interactions fixed. D0 has no initial memory. D1–D3 add non-target primary domains in the order Personal Care, Books, Electronics, Home & Kitchen, skipping the target. D4 adds the target; D5 adds the eight additional domains; Dtx uses only the additional eight. Memory must precede the earliest test timestamp **strictly**, and source-domain segments remain in their specified order. For Image Prediction, earlier test interactions are revealed before later predictions; other tasks retain the same initial memory throughout the window.
**Saved candidates have different coverage from windows.** The `data/v8e/...` source files cover the original first 100 users at each cutoff. The base `data/cross_domain.jsonl` ranking candidates and `hard_negatives_*_v3.jsonl` choice candidates are separately identified by `source_file`. Missing saved candidates are not fabricated for the other users. Filter by `task`, `source_file`, and `cutoff` before evaluation; do not mix candidate versions.
The stored hard-negative records contain **3 negatives**, although a paper description says 4. This release preserves the actual files rather than silently adding a fourth candidate. Ranking pools retain the saved negatives. `evaluation/source_candidates/` also contains unchanged hard-negative JSONL files. The six tasks reuse these histories/windows; they are not six independent corpora.
## Integrity and limitations
The original histories contain **10,404 excess records sharing a user/domain/product/timestamp key**. They are retained to preserve the original evaluation timelines; this is not a claim that all 535,698 rows are unique events. Stable `interaction_id` values distinguish the retained rows. Users were selected for substantial overlap/activity across the four primary domains; they are not a representative random sample of Amazon users. Ratings are strongly skewed toward 4–5 stars.
See `reports/` for corpus, metadata, image and release validation results. `manifest.json` lists SHA-256 hashes and sizes for release files. Image caches were checked for valid decoding before export. No external image downloads were performed during packaging.
## Source and attributionDerived from [Amazon Reviews 2023](https://huggingface.co/datasets/McAuley-Lab/Amazon-Reviews-2023). Original reviews and images retain applicable source terms and third-party rights. This packaging does not grant new rights to those materials.
Derived from [Amazon Reviews 2023](https://huggingface.co/datasets/McAuley-Lab/Amazon-Reviews-2023). Original reviews and product images retain their applicable source terms and third-party rights; this packaging does not grant a new license to those materials. Refer to the upstream dataset for source attribution and usage terms.Data release: **2026-11-12** · Negative-item view and documentation: **2026-11-18**. Shared tables are identical across URL and Full editions; Full additionally includes cached image bytes.3 unmodified lines456787891011195 unmodified lines207208209210211212213214215216217119 unmodified lines3373383393403413423433443453463473 unmodified lines "files": [ { "path": "README.md", "bytes": 11295, "sha256": "6601ba8e8d8cdb002303d2104f06970004fa42abd0a2bd743b6b096de80cf12b" "bytes": 12702, "sha256": "0fd176a1f9d0878be91758313fdba7cc4e32d7eeec6631e65bb75988a37681ce" }, { "path": "evaluation/source_candidates/hard_negatives_Beauty_and_Personal_Care_v3.jsonl",195 unmodified lines "bytes": 1743, "sha256": "b33d349b41046d6e9e508733b3614b3ceb681d7693bdc07ffb53963cfee5b02d" }, { "path": "reports/negative_metadata_coverage.json", "bytes": 763, "sha256": "27a35444a286714b2cb49ba69bf05f5bad1424b7e0fa7ba0512e22d337ea2e8a" }, { "path": "reports/release_validation.json", "bytes": 3223,119 unmodified lines "bytes": 5014826, "sha256": "623d74e2f3259a822f2acd381fcd7d005baafb47ab57325baecee7e2acc6567b" }, { "path": "tables/negative_items/test.parquet", "bytes": 36411001, "sha256": "d706bcf9c2e1e55b963f8fb11600f21d3b3fae7d4e0713d45fc7c77ca9a14fea" }, { "path": "tables/product_images/test-00000.parquet", "bytes": 61728063,12345678910111213141516171819202122232425262728293031323334{ "status": "passed", "sampling": "Existing saved candidates; no resampling", "candidate_rows": 19751, "unique_negative_product_domain_pairs": 211364, "negative_items_outside_history": 204915, "missing_metadata": [], "domains": [ { "domain": "Beauty_and_Personal_Care", "negative_items": 51966, "outside_history": 49416 }, { "domain": "Books", "negative_items": 53433, "outside_history": 52571 }, { "domain": "Electronics", "negative_items": 52641, "outside_history": 51075 }, { "domain": "Home_and_Kitchen", "negative_items": 53324, "outside_history": 51853 } ], "tasks": { "item_ranking": 9876, "item_preference_choice": 9875 }}123version https://git-lfs.github.com/spec/v1oid sha256:d706bcf9c2e1e55b963f8fb11600f21d3b3fae7d4e0713d45fc7c77ca9a14feasize 36411001README.md+139-76
manifest.json+12-2
reports/negative_metadata_coverage.jsonAdded+34
tables/negative_items/test.parquetAdded+3