Nick Greenquist
← All posts
Projects

$200 vs $200k: Generating Item Features With an LLM Instead of Hand Tagging

A two-tower recommender experiment on MovieLens 32M comparing LLM-generated movie features to the hand-curated MovieLens tag genome.

TL;DR

  • MovieLens ships a ‘tag genome’, which is a dense matrix of how well each tag describes each movie. It was built on top of about 15 years of community tagging plus a volunteer survey, which most companies don’t have.
  • I tried replacing it with an LLM instead. I scraped each movie’s public text (TMDB and Wikipedia) and had Claude Sonnet score it on 132 tags taken from the genome. All ~9,375 movies took about a day. At API prices that’s roughly $200 (I actually ran it on my Claude Max plan).
  • In a bare-bones two-tower model (just interaction history plus one content vector), the LLM features beat a no-content baseline and slightly beat the genome: MRR 0.1155 (LLM) vs 0.1148 (genome) vs 0.1121 (no content).
  • However, once you add MovieLens’s curated genres, user tags, and release year back into the model, neither content vector helps much anymore.

Recommendations from the deployed app for a 'pixar animation' genome-tag query

A ‘pixar animation’ query in the deployed app. The user’s taste vector here comes entirely from movie content (the genome tags plus the LLM features from this post), with no user-ID embedding.

The problem

A two-tower recommender learns an embedding for every item. For popular items, collaborative signal (who watched what) does most of the work. The issue is that collaborative signal is weakest in the exact places you need help: the long tail, and brand new items that nobody has watched yet. That’s where a ‘content vector’ comes in. Instead of relying on user interactions, it describes what the item actually is.

MovieLens has a really good one called the tag genome: rel(movie, tag) ∈ [0,1] for 1,128 tags × 16,376 movies (≈18M scores) in MovieLens 32M. It also isn’t purely hand-labeled like most people assume. GroupLens collected 50,203 judgments from 676 volunteers (a tiny fraction of the matrix) and trained a regression model to fill in the rest. That model’s features came from a huge pile of existing community tags (186,000 users, 17M ratings, 246,000 tag applications since 1997) plus crawled IMDb reviews. Even then, it only covers the well-tagged head: those 16,376 movies are ~19% of MovieLens 32M’s 87,585 titles.

Most teams setting up a recommender for a new catalog don’t have any of that. Usually you don’t have clean genre labels on every item or hundreds of curated user tags either (MovieLens has 306 of those). What you actually have are interaction logs (usually implicit, like clicks or watches, rather than 1–5 star ratings) and whatever text exists for each item.

So I wanted to answer two questions:

  1. In that bare-bones setting, does a content vector actually help?
  2. Is one generated by an LLM good enough to use instead of the genome?

The setup

To make it a fair test, everything stays the same except the content tower (same two-tower architecture, same data, same loss, same 160k-step schedule, same eval). I ran three versions:

  • A (genome): the 1,128-dim genome scores fill the content tower.
  • B (LLM): 132 LLM-extracted dims fill it instead.
  • C (no content): no content tower at all (this is the baseline).

The main experiment runs these in a ‘base’ model, written C′ / A′ / B′. The user side is just a single implicit history pool (the sum of the ID embeddings of the items a user watched, no ratings) plus the content tower. No genres, no user tags, no release year, and no rating-based pools. That’s about as close to what a real team has on day one as I could get.

ArmUser towerItem towerParams
C′ (no content)1×sum_pool_id(32) = 32movieId(32) = 32383,840
A′ (+ genome)1×sum_pool_id(32) + genome_ctx(32) = 64genome(32) + movieId(32) = 64472,480
B′ (+ LLM)1×sum_pool_id(32) + llm_ctx(32) = 64llm(32) + movieId(32) = 64408,736

Genome’s content tower is actually the largest of the three. A couple of setup choices also work against the LLM here:

  • The LLM’s 132 dims are derived from the genome’s most discriminative tags, so both feature sets measure the same axes. The LLM doesn’t get credit for anything it could pull from text that the genome never tagged. (You could also let an LLM come up with its own tag taxonomy from plot summaries, which might help it even more, but I skipped that to keep the comparison fair.)
  • Genome starts at 1,128 dims vs 132 for the LLM, and both get projected down to 32 dims. That’s the main difference in size, and if anything it favors the genome.

Using LLMs to generate item features isn’t new (KAR, ONCE/GENRE, LLMRec, RLMRec, and KAR reported a production A/B gain at Huawei). What I wanted to test here is how an LLM holds up directly against the MovieLens genome on its own tags, with a no-content baseline to measure the actual lift.

Generating the features

For each of the ~9,375 movies (9,366 scraped successfully):

  1. Scrape: TMDB first (overview, tagline, genres, top-billed cast, director, writers, keywords), then the Wikipedia plot and factual prestige info (Oscar wins/noms, Criterion status, box-office scale).
  2. Extract: six structured-output calls to Claude Sonnet (run through Claude Code), one per feature group: themes, tone, setting/era, provenance/structure, reception/prestige, and visual medium. Each group has ~20–30 dims and every call is locked to a JSON schema.

I split it into six smaller calls because asking for 130+ scores in one prompt runs into ‘lost in the middle’ issues where the later dimensions just default to 0.5. Locking it to a JSON schema was also important so bad formatting doesn’t break the tensor. For the visual and prestige groups, I restricted the prompt to factual things only (so animated or black-and-white is fine, guessing whether a movie is ‘visually stunning’ from a Wikipedia plot is not).

Because each movie is scored independently, I could run the calls in parallel and finish scraping and scoring the whole corpus in about a day.

Here are the raw outputs for three very different movies (top scores per group, each 0–1, nothing hand-picked):

Feature Group Alien (1979) theatrical poster: the egg with green glow and the 'ALIEN' wordmark
Alien (1979)
Toy Story (1995) theatrical poster: Woody, Buzz Lightyear and the toys
Toy Story (1995)
Before Sunrise (1995) theatrical poster: Julie Delpy and Ethan Hawke
Before Sunrise (1995)
Themes & plot survival 1.0, betrayal 0.7, mortality 0.7 friendship 0.9, family 0.7 romance 1.0, relationships 0.9, existentialism 0.6
Tone & mood tense 1.0, dark 0.9, atmospheric 0.9, creepy 0.9 feel_good 0.9, comedic 0.8, emotional 0.6 intimate 0.9, reflective 0.8, emotional 0.7
Setting, era & sub-genre space 1.0, aliens 1.0, monster 0.9, future 0.7 small_town 0.4
Provenance & structure franchise 0.8, twist_ending 0.7 franchise 0.9 character_study 0.6, independent_film 0.5
Factual reception & prestige oscar_technical 1.0, classic 0.9, cult_classic 0.6 oscar_nominated 0.9, classic 0.8
Visual medium cgi_heavy 0.3 animated 1.0, computer_animation 1.0

Overall these look pretty spot on. Alien hits every group (and cgi_heavy is only 0.3 since it used practical effects). Toy Story gets 1.0 on animated and computer_animation, with feel_good and comedic tone where Alien gets tense and dark. Before Sunrise (basically two strangers talking through one night) gets 1.0 on romance with an intimate and reflective tone, and almost nothing for genre, visual medium, or prestige (it even gave france a 0.2, just under the cutoff). For the most part, the model sticks to what’s actually in the text.

Results

The eval is a held-out ‘rollback’ setup: for each validation user, the input is their watch history up to that point and the target is the next movie they watched. That gives 19,134 validation users and n = 382,138 examples (for reference, a random Hit@250 baseline is 2.7%). I also repeated the run on a smaller ‘Phase 1’ corpus of the 4,461 most-rated movies.

MetricC′ (pure CF floor)A′ (+ genome)B′ (+ LLM)
Hit@50.15000.15380.1555
Hit@100.21780.22290.2236
Hit@500.45600.46440.4647
NDCG@100.12590.12900.1297
MRR0.11210.11480.1155

Content's lift over a pure-CF floor in the universal setting, and how it vanishes once the curated metadata is added back

Figure 1. Left: in the base model, both content sources beat the pure-CF baseline, and the order C′ < A′ < B′ holds on both corpora. Right: once you add the curated genres, user tags, year, and rating pools back in, the lift over the baseline drops to about zero or below (more on that below).

Here is what stood out from the numbers:

  • Content features help when the model doesn’t have other metadata. Genome adds +2.4% MRR over the baseline and the LLM adds +3.0%.
  • The LLM features match the genome and slightly beat it. B′ comes out ahead of A′ on every metric and every popularity tier. The margin is small (+0.6% MRR, which is within single-run noise on any single tier), but it leans the same way across the board.
  • The same ordering holds on the smaller Phase 1 corpus (4,461 movies, n = 99,846): C′ 0.1133 < A′ 0.1158 < B′ 0.1165.

One caveat is that this lift shows up on the popular head, not the deep tail. Down near the ≥200-rating cutoff every model is close to zero and there aren’t enough eval examples to tell them apart, so true cold-start (where content features should matter most) isn’t really measured here.

Why it works

Since both feature sets sit on the same axes, I could correlate them directly by computing the Pearson r for each of the 132 LLM dims against its mapped genome tag(s) across all 9,375 movies.

Mean r = 0.598 (median 0.608), with 99 of 132 dims at r ≥ 0.5 and none below 0.1. By group, visual (0.70), setting (0.68), and provenance (0.64) agree the most, themes and tone sit at 0.56, and reception is lowest at 0.42.

  • Best axes (factual): vampires 0.94, documentary 0.89, animated/anime 0.88, western 0.86, WWII 0.86, time-travel 0.85.
  • Worst axes (crowd sentiment): imdb_top_250 0.16, criterion 0.18, palme_dor 0.27.

Distribution of the 132 per-dimension genome-vs-LLM Pearson correlations

Figure 2. Agreement between each LLM feature and its genome tag across all 9,375 movies. It’s highest on factual axes (genre, era, medium) and lowest on crowd-prestige tags like imdb top 250 and criterion, which you can’t reliably tell from a plot summary.

So the LLM picks up most of the genome’s signal on anything you can read from text (genre, setting, provenance, medium), which is why B′ keeps up with A′. Where the two disagree, it goes both ways:

  • Things only the genome catches: crowd prestige (“masterpiece”, “imdb top 250”), niche sub-genres (genome tags The Good, the Bad and the Ugly with “spaghetti western” and “ennio morricone”, while the LLM just tags “western”), and subjective aesthetics.
  • Things only the LLM catches: plain plot facts that genome tends to bury, like “artificial_intelligence” for 2001, “based_on_book” for Die Hard, and “hitman”/“conspiracy” for Sicario.

A lot of the genome’s extra axes mostly track popularity rather than content, so they don’t add much to ranking. In the base model, the LLM’s plot facts actually come out slightly ahead.

What if you already have curated metadata?

One obvious question is whether this only worked because I stripped out all the other features. So I re-ran all three models in a ‘rich’ setup that puts MovieLens’s genres, 306 user tags, release year, and rating-based history pools back in.

When you do that, the content lift goes away for both sources, and the no-content baseline even beats the genome:

Whole-corpus MRRC (no content)A (genome)B (LLM)
Rich model0.11740.11440.1176
Base model0.11210.11480.1155

That doesn’t mean content features are useless. Arm C already has genres, user tags, and year, so the genome is mostly duplicating information the model already has. What’s more interesting is seeing how much each model drops when you take that metadata away:

Armrich → base (whole-corpus MRR)Δ
Floor (C → C′)0.1174 → 0.1121−0.0053
LLM (B → B′)0.1176 → 0.1155−0.0021
Genome (A → A′)0.1144 → 0.1148+0.0004

Genome loses nothing because it can basically rebuild the genre and tag info by itself (genome tags ARE that metadata in another form). The LLM drops a little, since its plot, tone, and theme features only partly overlap with genres and user tags. The baseline drops the most. That means the LLM features overlap less with basic metadata, so more of their signal is actually new. (This same ordering replicated on Phase 1 too.)

In short, if you already have a solid metadata stack, adding a content vector doesn’t buy you much. If you don’t (which is most teams), it’s worth about +2–3% MRR, and the LLM features overlap less with basic metadata than the genome does.

Cost and speed

A tiny MRR edge is nice, but the bigger deal for me is that a normal team can actually build the LLM version. Every genome dollar figure below is my own estimate (the genome papers don’t publish costs):

DimensionGenome (GroupLens)LLM extraction (this repo)
Human labeling50,203 judgments (676 volunteers); ~$5k–23k (central ~$10k) to buy as crowd labor today (est)Zero
Binding prerequisite~15 years of community tagging (186k users / 17M ratings / 246k tag applications, since 1997) + crawled IMDb reviews; accrues with usage, not buyable quicklyThe item’s own text, exists day one
Specialist engineeringLSI/SVD features + rating-affinity + text-mining + a 6-model regression bake-off; weeks–months (est)Scraper + schema derivation + 6 grouped prompts; a few engineer-days
Direct $ (this corpus)~$10k survey + tens of $k labor, only if you already own that tagging history; ~$85–210k to hand-curate without it (est)~$0 marginal as run; ~$170–220 if reproduced on the metered API (Sonnet $3/$15)
Wall-clock to build, full corpusAccreted over ~15 years of community use~1 day for all ~9,375 items (independent calls, fanned out in parallel)
Time-to-first-vector, new itemEffectively never until the crowd tags itSub-hour, zero-shot from text
Maintenance / new domainRe-survey + re-crawl + re-train; new domain = redo everythingParallel API calls per item
Quality (universal setting)A′: MRR 0.1148B′: MRR 0.1155, matches / slightly beats, +2–3% over the floor

A few notes on that table:

  • The LLM side isn’t free. Running the full extraction used ~84% of one week’s Sonnet quota on my Claude Max plan, which is ≈$0 marginal under the subscription and ~$170–220 on the metered API. That’s still roughly 1–3 orders of magnitude cheaper. Really though, the price isn’t even the main point: if you don’t already have 15 years of community tagging data, you just can’t build a tag genome at all.
  • A brand-new item gets an LLM content vector in under an hour (scrape plus six calls). With the genome it effectively never does, since its input features are all zero until users tag it.
  • Having a content vector on day one also lets you do cold-start tricks, like using content nearest neighbors to show a new item to users who already like similar items (cf. DropoutNet, NeurIPS 2017). I didn’t build or test that here. Genome could do it too, just only for items it already covers.

Limitations

  • One seed per arm, no confidence intervals. The ordering and metadata results replicate across both corpora, but I’d treat the per-tier A′ vs B′ gaps (≤ 0.0007 MRR) as basically a tie that happens to lean the same way.
  • All models train and eval on the 9,375 movies with >200 ratings, where the genome has full coverage. The bigger gap in practice is the other ~81% of the catalog where the genome doesn’t exist at all (the LLM could score all of it for an estimated ~$1.6–2k metered). So these numbers probably understate how much more practical the LLM approach is.
  • A real cold-start head-to-head isn’t possible here, since there’s no genome for cold-start items to compare against.
  • Single LLM (Claude Sonnet). This shows Sonnet-class extraction matches the genome, not that any smaller/cheaper model would.
  • Movies are an easy domain because every movie has a Wikipedia plot, TMDB cast, and reviews. Items with only two or three sentences of description are untested.
  • The LLM trails on crowd-sentiment tags (r≈0.16–0.18), mostly because I only scraped Wikipedia and TMDB. Running the same pipeline over user reviews would probably pick that up.
  • Possible training-data contamination: MovieLens and its genome tags are public and talked about a lot online, so the LLM might be partly remembering genome knowledge instead of just reading the plot summary. That would inflate the r≈0.60 agreement. Testing on a fresh catalog would settle it.
  • The base model isn’t 100% implicit. Its history pool has no ratings, but the content arms’ user-side pooling still weights each item’s content vector by rating (a small effect).

Takeaway

If you’re building a recommender with implicit interactions, item text, and no curated metadata (which is probably most teams), generating content features with an LLM is worth doing. They beat collaborative filtering alone and match the genome on its own tags. If you already have a rich metadata stack, an extra content vector doesn’t add much either way.

Overall, it’s pretty cool that you can get basically the same result as 15 years of community tagging and a 50,000-judgment survey just by running an LLM over public item text for a day. For any new catalog without that history, it’s a very practical way to get content features right away.

Sources: genome facts come from GroupLens’s tag-genome work (Vig, Sen & Riedl, 2010/2012) and its follow-ups (TagDL, SIGIR ‘21; book genome, CHIIR ‘22; cross-domain genome, CHIIR ‘26), with cost anchors from public MTurk/Prolific and Pandora figures. The code, data pipeline, and per-tier eval outputs are in the repo.

This is a personal project, not affiliated with my employer. All views are my own.

← All posts