Beyond Isolated Behaviors: Hierarchical User Modeling for LLM Personalization

Liang Wang, Xinyi Mou, Xiaoyou Liu, Tiannan Wang, Yuqing Wang, Zhongyu WeiarXiv 2026

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:

  1. Behavior Fragmentation: Treating history as an unordered list ignores how a user's preferences evolve and consolidate into stable, long-term patterns over time.
  2. 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.

Figure 1: Comparison of personalization paradigms. (a) Existing methods adopt a flat behavioral paradigm, retrieving or encoding user behaviors without explicit structural modeling. (b) Habitus captures the temporal accumulation of repeated behaviors into stable disposi- tions. (c) Field captures shared behavioral regularities among users with similar dispositions. (d) PHF inte- grates practice, habitus, and field into a unified hierar- chical framework for LLM personalization.

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:

  1. 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.
  2. 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.
  3. 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.

Figure 2: Overview of the PHF framework and PHFCompass implement. (1) Raw behaviors are abstracted into denoised practice essence via semantic ID extraction. (2) Practices are temporally aggregated into stable habitus representations. (3) Users are organized into latent fields through group router. (4) Habitus and field embeddings are combined as well as the query embedding to condition the LLM for personalized generation.

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

Abstract

Large Language Models (LLMs) have demonstrated remarkable capabilities across diverse domains, yet personalizing their outputs to individual users remains an open challenge. Existing approaches predominantly adopt a flat behavioral paradigm, aggregating user behaviors without an explicit account of how they are organized into deeper behavioral structures. In this work, we draw on Pierre Bourdieu's Theory of Practice to propose PHF (Practice-Habitus-Field), a sociologically grounded framework that reconceptualizes LLM personalization through three hierarchical levels: individual behaviors as practices, their temporal accumulation into stable dispositions as habitus, and shared regularities across similar users as fields. We instantiate PHF through $\mathrm{PHF}_{\text{Compass}}$, a lightweight and model-agnostic implementation based on a frozen LLM. Experiments on the Language Model Personalization (LaMP) benchmark demonstrate consistent improvements across diverse tasks, while further analyses validate the interpretability and extensibility of the learned behavioral structures.
BibTeX
@misc{wang2026beyond,
  author = {Liang Wang and Xinyi Mou and Xiaoyou Liu and Tiannan Wang and Yuqing Wang and Zhongyu Wei},
  title = {{Beyond Isolated Behaviors: Hierarchical User Modeling for LLM Personalization}},
  year = {2026},
  eprint = {2606.02300},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2606.02300},
}
Figure