TL;DR
Current LLM personalization methods treat a user's history as a flat, unordered collection of past actions, leading to fragmented profiles and poor performance when data is sparse. This paper introduces PHF, a hierarchical user-modeling framework inspired by sociology that structures user history into individual actions (practices), long-term personal habits (habitus), and shared group behaviors (fields). Their lightweight implementation, $\text{PHF}_{\text{Compass}}$, consistently outperforms existing methods on the LaMP benchmark without modifying the underlying frozen LLM.
What Problem Does This Paper Address?
When we try to personalize Large Language Models (LLMs)—whether for writing assistance, product recommendations, or search—we usually rely on a "flat behavioral paradigm." This means we either retrieve a few relevant past interactions via RAG or compress the entire history into a single vector.
The authors point out two major flaws in this approach:
- Behavior Fragmentation: Treating history as an unordered list ignores how a user's preferences evolve and consolidate into stable, long-term patterns over time.
- User Isolation: Modeling users completely independently misses out on shared behavioral regularities. If a user has a very short history (a cold-start problem), an isolated model struggles to make accurate predictions.
To solve this, the paper looks to classical sociology—specifically Pierre Bourdieu’s Theory of Practice—to build a multi-level hierarchy that captures both individual evolution and group dynamics.
Methods
The authors propose the PHF (Practice-Habitus-Field) framework, operationalized via a lightweight architecture called $\text{PHF}_{\text{Compass}}$. It breaks user modeling down into three distinct steps:
- Practice (Denoising Single Behaviors): Raw text histories are messy. $\text{PHF}_{\text{Compass}}$ uses an interaction encoder combined with Multi-level Residual Vector Quantization (RQ-VAE) to map continuous text embeddings into discrete "semantic IDs." This filters out surface-level text noise and extracts the core intent of an action.
- Habitus (Modeling Long-Term Logic): To capture how repeated actions form stable dispositions, discrete practices are aggregated chronologically. The authors use a time fusioner with a square-root scaling function to weight recent actions higher without letting them completely overwhelm older, foundational preferences.
- Field (Capturing Shared Patterns): To fix user isolation, the framework groups users with similar habitus vectors into latent communities using K-Means clustering. Each cluster centroid represents a "field embedding" that captures collective behavioral regularities.
During inference, the individual habitus embedding and the collective field embedding are concatenated with the current query embedding and fed directly into a frozen LLM. Only a few lightweight projection layers are trained, making the method highly scalable.
Datasets
The framework was evaluated using the official validation sets of the Language Model Personalization (LaMP) benchmark, spanning six public tasks:
- Classification: LaMP-1 (Citation Identification), LaMP-2 (Movie Tagging), and LaMP-3 (Product Rating).
- Generation: LaMP-4 (News Headline Generation), LaMP-5 (Scholarly Title Generation), and LaMP-7 (Tweet Paraphrasing).
Key Insights and Ideas
- Sociology Meets Machine Learning: Bridging the gap between sociological theory and user embeddings provides a clean, interpretable blueprint for structuring user profiles that raw data-driven aggregation often misses.
- The Failure of Redundant RAG: In a surprising twist, trying to combine $\text{PHF}_{\text{Compass}}$ embeddings with standard Retrieval-Augmented Generation (RAG) actually degraded performance. The raw text retrieved by RAG introduced excessive length and noise, proving that compact, structured latent embeddings are cleaner and more effective than raw text context.
- Task-Level Dynamics: Classification tasks (like predicting a product rating) benefit immensely from field modeling because group trends help smooth out sparse individual data. Conversely, generation tasks rely heavily on habitus to maintain a consistent personal writing style.
Key Results
$\text{PHF}_{\text{Compass}}$ achieved state-of-the-art results across the board on the LaMP benchmark, outperforming both retrieval-based (BM25, Dense) and aggregation-based (PPlug, OPPU) baselines:
- Classification Boosts: On LaMP-1 (Citation Identification), $\text{PHF}_{\text{Compass}}$ achieved an accuracy of 0.631, a massive leap from the strongest flat baseline (Dense at 0.529). On LaMP-3, it reduced Mean Absolute Error (MAE) to 0.260 (compared to PPlug's 0.314).
- Generation Consistency: It consistently led on generation tasks, hitting a ROUGE-1 score of 0.535 on LaMP-7 (Tweet Paraphrasing) compared to PPlug's 0.524.
- Ablation Confirmation: Removing the habitus component caused the most severe performance drops across all tasks, proving that fine-grained individual history modeling remains the bedrock of effective personalization.
Limitations and Future Work
While powerful, $\text{PHF}_{\text{Compass}}$ was only evaluated on the English text-based, static histories of the LaMP benchmark. The authors acknowledge that its performance in multilingual, multimodal, or highly dynamic streaming environments (where user habits change in real-time) still needs to be validated. Additionally, clustering users into fields risks reinforcing existing biases present in the training data, a challenge that future fairness-aware extensions will need to address.
Summary updated