SPECTRA: Revealing the Full Spectrum of User Preferences via Distributional LLM Inference
Organizations: Carnegie Mellon University · TikTok Inc.
Abstract
Large language models (LLMs) often represent user preferences by generating ranked item lists. These lists can overrepresent frequent categories and omit long-tail interests. We instead treat preference prediction as an LLM classification task, where a fine-tuned LLM assigns a probability to each category. Given a user's interaction history, we estimate the share of future interactions in each category. We propose SPECTRA (Softmax Probing for Extracted Category-level Token Readouts and Analysis), which reads a distribution over interpretable preference categories from a fine-tuned LLM's token scores. We evaluate SPECTRA on MovieLens, Yelp, and a large-scale short-video platform. SPECTRA delivers (i) distributional alignment, reducing Jensen-Shannon divergence to the empirical preference distribution by 38--44% across public datasets; (ii) long-tail recovery with cross-user fairness, raising top-3 category exposure entropy by on MovieLens and producing a larger gain on tail-preference users than on head-preference users; and (iii) downstream application value, with a 41--46% category-NDCG boost on MovieLens and Yelp, and an increase in long-tail NDCG@ from to against a production ranker on logged short-video data.
Figures & tables
| A: tail mass | B: head ECE | C: head bias | |||||
|---|---|---|---|---|---|---|---|
| Dataset | SPECTRA | DG | value | ratio | SPECTRA | DG | |
| MovieLens | 19 | ||||||
| Yelp L1 | 26 | ||||||
| Log loss | AUC | |
| SPECTRA ( Section 3.2 ) | 0.312 | 0.936 |
| Other LLM-based classification models | ||
| Jev 1 ( Almeida, 2026 ) | 0.422 | 0.874 |
| Kev-4B ( Palmer, 2026 ) | 0.640 | 0.608 |
| Other readouts of the same fine-tuned LLM | ||
| Answer-code rotation ( Zhang et al., 2026a ) | 0.465 | 0.840 |
Appendix figures & tables15 assets
Supplementary material from the paper’s appendix.
Appendix
| Job | Hardware | Wall-clock |
|---|---|---|
| MovieLens Qwen3-8B (E1–E4) | 8 L40S | 10–14 h |
| Yelp Qwen3-8B (L1 L2) | 8 L40S | 10 h |
| DeepSeek base-model (E5) | 8 L40S | 12 h |
| Downstream item-utility demo | 16-core CPU | 4 min |
| Calibration / fairness re-analysis | 16-core CPU | 30 min |
| Method | MovieLens (K=19) | Yelp L1 (K=26) |
|---|---|---|
| Direct generation | ||
| Qwen3-Reranker-8B | ||
| SPECTRA (probe) |
| MovieLens (K=19) | Yelp L1 (K=26) | |||
|---|---|---|---|---|
| Method | NDCG@5 | NDCG@10 | NDCG@5 | NDCG@10 |
| Direct generation | ||||
| Qwen3-Reranker-8B | ||||
| SPECTRA (probe) | ||||
| Dataset | ratio Q4/Q1 | |||||
|---|---|---|---|---|---|---|
| MovieLens | 19 | |||||
| Yelp L1 | 26 |
| Dataset | Stratum | range | cells wins |
|---|---|---|---|
| MovieLens | user activity (5 strata) | to | 5/5 |
| MovieLens | context window (6 strata) | to | 6/6 |
| Yelp L1 | user activity (5 strata) | to | 5/5 |
| Yelp L1 | context window (6 strata) | to | 6/6 |
| Dataset / stratum | ECE | n pairs | categories |
|---|---|---|---|
| MovieLens, overall | |||
| MovieLens, head | |||
| MovieLens, mid | |||
| MovieLens, tail | |||
| Yelp L1, overall | |||
| Yelp L1, head |
| Taxonomy | CW | LT NDCG@10 / JS | ST NDCG@10 / JS |
|---|---|---|---|
| (canonical) | 5 | / | / |
| 5 | / | / | |
| 5 | / | / |
| Setting | CW 3 LT | CW 3 ST | CW 5 LT | CW 5 ST |
|---|---|---|---|---|
| DG | ||||
| SPECTRA (canon.) | ||||
| SPECTRA (paraphrase) | ||||
| SPECTRA (simpl. verb.) |
| Setting | Top-1 ECE |
|---|---|
| CW 3, long-term | |
| CW 3, short-term | |
| CW 5, long-term | |
| CW 5, short-term |
| Method | Per-query latency | Notes |
|---|---|---|
| DG (uniform-on-top- ) | s | single fwd + -token decode |
| SPECTRA, no prefill cache | s | probing prompts |
| SPECTRA, with prefill cache | s | shared history prefix |
| Method | JS divergence |
|---|---|
| SPECTRA | |
| Production behavior-sequence ranker |
| Backbone / slice | base alone | SPECTRA | |
|---|---|---|---|
| SASRec, neg99 | |||
| SASRec, neg999 | |||
| GRU4Rec, neg99 | |||
| GRU4Rec, neg999 | |||
| SASRec mid, neg99 | |||
| GRU4Rec mid, neg99 |
| Long-term | Short-term | |||
|---|---|---|---|---|
| Training stage | NDCG@10 | JS-Div | NDCG@10 | JS-Div |
| Pretrain-only | ||||
| SFT-only (no CPT) | ||||
| CPT SFT (main paper) | ||||
User Preference Modeling
User preference modeling infers what people value from choices, behavior, and feedback to personalize recommendations, predictions, and AI actions.
See all 295 papers