Skip to content

About

Novel YouTube recommendation data collected for the paper 'Two Buttons, One Feed': regular video titles, YouTube Shorts, and advertisements.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

15 Commits

Folders and files

Repository files navigation

Two Buttons, One Feed: Aligning YouTube Recommendations Requires Both 'Like' and 'Not Interested'

Data and analysis code for a controlled simulated user audit of YouTube's explicit feedback controls (like and not interested), run as a 2×2 factorial design across twelve simulated accounts.

The dataset is also on Hugging Face: cho-ai/youtube-alignment-data.

Headline finding. No single signal aligned the feed. Accounts that watched ninety on-interest videos to completion, engaging with nothing else, still received on-interest recommendations one time in ten. Liking raised that to roughly one and a half; declining unwanted content to two. Only using both controls reached four in ten — and the two combine super-additively, so their value depends on being used together.

Quick start

pip install -r requirements.txt
python src/pipeline.py

This regenerates every number reported in the paper and writes tables to results/tables/. It runs in under a minute on a laptop; no GPU required.

To use a single common observation window across all four conditions instead of the per-condition cutoffs used in the paper:

python src/pipeline.py --window harmonised

To regenerate the figures:

python src/figures.py

Two notes for anyone re-running from the raw captures rather than the derived files. Language detection is seeded in config.py, as langdetect is non-deterministic by default and it is the filter that reduces 5,932 records to 5,296. Cluster assignments and LLM category labels are provided as data rather than regenerated, because the model snapshot used for labelling in June 2025 is no longer served by the provider; they are therefore inputs to the pipeline, not outputs of it.

The experiment

Twelve YouTube accounts configured as 13-year-olds were trained in synchrony for nine daily sessions (26 May – 3 June 2025), each watching ten puzzle-gaming videos per day in full — ninety videos per account. Collection continued for three days after the final session. Accounts were split across four conditions, three each:

condition watches likes marks "not interested"
watch (control) ✓
like ✓ ✓
notInt ✓ ✓
combined ✓ ✓ ✓

Homepage recommendations were captured hourly. Device, browser, geolocation and account settings were held fixed; all twelve sessions ran in parallel to minimise temporal drift.

Repository layout

data/raw/          hourly homepage captures, one row per item per account
data/derived/      embeddings, cluster assignments, LLM category labels,
                   and the assembled analysed corpus
src/config.py      every parameter, window and seed
src/pipeline.py    raw captures -> reported numbers
src/figures.py     the paper's figures
results/tables/    generated tables
results/figures/   generated figures
docs/DATASHEET.md  datasheet for the dataset (Gebru et al., 2021)

Data

data/raw/feedwatch{6,7}.csv — one row per distinct item observed per account, with count, persona, type, title, url, channel, channel_url, firstSeen, lastSeen. Four item types are recorded:

type rows distinct
video — standard homepage recommendations 7,716 —
short — Shorts shelf 4,349 1,398
feedAd — in-feed advertisements 1,447 103
videoAd — in-video advertisements 717 75

Only video rows are analysed in the paper. The Shorts and advertisement records are released and not analysed.

Every account was created by the researchers.

The same files are mirrored on Hugging Face at cho-ai/youtube-alignment-data, with a dataset card and the datasheet.

Known data issues

These are documented in the paper and reproduced by the pipeline.

  1. Video capture outage, 30 May – 1 June 2025. A parser fault suspended capture of standard video recommendations while Shorts and advertisement capture continued normally. It affected all twelve accounts identically, so it reduces observation time without biasing between-condition comparison. python src/pipeline.py prints the per-condition, per-date counts showing it.

  2. One account failed. notInt_3 returned no video recommendations after 28 May, contributing 40 of 1,346 not-interested records (3.0%). The paper reports that condition as n=2. Set EXCLUDE_FAILED_ACCOUNT = True in config.py to drop it entirely as a sensitivity check.

  3. Differing per-condition end cutoffs. The original analysis applied a different end cutoff to each condition and none at all to notInt, giving that condition roughly 18 hours more observation. --window published reproduces this; --window harmonised applies one common end to all four.

  4. Uneven Shorts volume across conditions. Shorts counts differ markedly between conditions. This may be a real difference in how the Shorts shelf responds to explicit feedback, or a collection artefact. We flag it as an open question rather than a finding.

Licences

  • Code: MIT (LICENSE)
  • Data: CC BY 4.0 (LICENSE-DATA)

Dependencies: sentence-transformers (Apache 2.0), all-MiniLM-L6-v2 (Apache 2.0), hdbscan (BSD-3), scikit-learn (BSD-3), langdetect (Apache 2.0). Collection tool adapted from TheirTube (Kihara, 2020).

Ethics

No human subjects. All twelve accounts were created by the researchers and the records are public video metadata served to those accounts. The study used a small number of accounts over nine days on age-appropriate content to limit any effect on recommendations served to real users. Institutional ethics approval was obtained.

Citation

If you use this dataset or code, please cite the paper:

@misc{cho2026twobuttons,
  title        = {Two Buttons, One Feed: Aligning {YouTube} Recommendations Requires Both `Like' and `Not Interested'},
  author       = {Cho, Desiree and Hale, Scott A. and Zhao, Jun and Shadbolt, Nigel and Przybylski, Andrew K.},
  year         = {2026},
  note         = {Preprint}
}

Machine-readable metadata is in CITATION.cff. This entry will be replaced with the published reference if the paper is accepted.

About

Novel YouTube recommendation data collected for the paper 'Two Buttons, One Feed': regular video titles, YouTube Shorts, and advertisements.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages