EXACT: Explicit Attribute-Guided Decoding-Time Personalization

Xin Yu, Hanwen Xing, Lingzhou Xue

Abstract

Achieving personalized alignment requires adapting large language models to each user's evolving context. While decoding-time personalization offers a scalable alternative to training-time methods, existing methods largely rely on implicit, less interpretable preference representations and impose a rigid, context-agnostic user representation, failing to account for how preferences shift across prompts. We introduce EXACT, a new decoding-time personalization that aligns generation with limited pairwise preference feedback using a predefined set of interpretable attributes. EXACT first identifies user-specific attribute subsets by maximizing the likelihood of preferred responses in the offline stage. Then, for online inference, EXACT retrieves the most semantically relevant attributes for an incoming prompt and injects them into the context to steer generation. We establish theoretical approximation guarantees for the proposed algorithm under mild assumptions, and provably show that our similarity-based retrieval mechanism effectively mitigates contextual preference shifts, adapting to disparate tasks without pooling conflicting preferences. Extensive experiments on human-annotated preference datasets demonstrate that EXACT consistently outperforms strong baselines, including preference modeling accuracy and personalized generation quality.

Introduction

Standard Large Language Model (LLM) alignment techniques, such as Reinforcement Learning from Human Feedback (RLHF), typically target a "population average," often resulting in outputs that lack individual personality or specific stylistic nuances. While personalized LLMs have been proposed, they frequently suffer from two major limitations: static profiles that fail to account for how a user's preferences change across different tasks (contextual preference shifts), and a lack of interpretability, often relying on "black box" latent vectors.

EXACT (EXplicit Attribute-guided deCoding-Time personalization) addresses these challenges by utilizing a library of human-readable attributes and a retrieval mechanism that adapts to the specific context of each prompt.

Methodology

EXACT operates through a two-stage pipeline that requires no updates to the underlying model weights:

1. Offline Indexing (Learning)

For each user, the system analyzes historical preference pairs (e.g., cases where a user preferred one response over another). Using a greedy selection algorithm, EXACT identifies a small subset of attributes (typically $k=3$) from a predefined library of 42 attributes that best explains the user's historical choices. This process is mathematically grounded in the principles of Direct Preference Optimization (DPO).

2. Online Inference (Retrieval & Steering)

Upon receiving a new prompt, EXACT performs a semantic similarity search to find the most relevant historical interaction in the user's memory. It retrieves the attributes associated with that specific context and injects them into the new prompt (e.g., appending Attributes: <Concise, Analytic, Direct>). This approach ensures that the model's style is tailored to the current task rather than being a generic "average" of all user preferences.

Examples of attribute-guided responses across different datasets and styles.

Experimental Evaluation

The researchers evaluated EXACT using two primary human-annotated preference datasets: PRISM, featuring diverse real-world interactions, and Summarize from Human Feedback (TL;DR), focused on Reddit post summarization. The framework was tested across three popular open-weight models: Llama-3.1-8B, Gemma-2-9B-it, and Qwen2.5-7B-Instruct.

Key Results

EXACT consistently outperformed strong baselines, including Drift (implicit attribute weights) and Reward Modeling (per-user LoRA adapters).

  • Preference Modeling Accuracy: On the PRISM dataset, EXACT achieved an accuracy of approximately 66%, significantly surpassing the base models (54-59%) and the Drift baseline (56-61%).
  • Generation Quality: In "LLM-as-a-judge" evaluations, EXACT-generated responses were preferred over base model responses 72-78% of the time.
Performance comparison of EXACT against baselines on PRISM and Summarize datasets.

Discussion and Insights

A core contribution of EXACT is the recognition that preferences are constructive. Users do not have static styles; rather, they prefer different attributes depending on the domain (e.g., brevity for news vs. detail for creative writing). By using explicit, interpretable words like "Vivid" or "Formal," EXACT provides transparency that latent-vector methods lack. Furthermore, the system is highly efficient, with the personalization overhead accounting for only about 5.27% of total inference time.

Limitations and Future Work

While effective, EXACT currently relies on a fixed library of 42 attributes, which may not capture highly niche user preferences. Additionally, the retrieval mechanism assumes that prompt similarity is a reliable proxy for style preference. Future research will explore expanding the attribute library and allowing for the dynamic discovery of new attributes directly from user feedback.

Summary updated

BibTeX
@misc{yu2026exact,
  author = {Xin Yu and Hanwen Xing and Lingzhou Xue},
  title = {{EXACT: Explicit Attribute-Guided Decoding-Time Personalization}},
  year = {2026},
  eprint = {2602.17695},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2602.17695},
}
Figure