betaFeedback

WorksComputer Science

MoF: Preference-Aware Mixture Modeling for Black-Box LLM Personalization

Abstract

Proprietary Large Language Models (LLMs) have demonstrated remarkable capabilities across a wide range of tasks, yet aligning their outputs with diverse user preferences remains challenging. Existing personalization approaches for black-box LLMs often rely on user-specific scoring heads, causing the number of personalized parameters to grow linearly with the number of users and requiring additional adaptation for unseen users. To address these limitations, we propose Mixture-of-Facets (MoF), a scalable personalization framework for black-box LLMs that models user preferences as compositions of shared latent preference facets rather than dedicated user-specific parameters. MoF performs personalization through history-conditioned routing over shared facet heads, enabling personalization for users unseen during training without additional parameter updates. Across diverse personalization tasks, MoF delivers stronger personalization performance while maintaining a more scalable and parameter-efficient design than prior approaches. Additional analysis indicates strong generalization to unseen users.

Introduction

Large Language Models (LLMs) have demonstrated strong performance across a wide range of tasks, from general natural language processing to complex reasoning ([5] (OpenAI 2022; OpenAI et al. 2024)). As LLM-based personal assistants become increasingly widespread ([1] (Mok et al. 2025; Li et al. 2025)), there has been growing interest in LLM personalization, i.e., tailoring model responses to individual user preferences (Zhang et al., 2025b; Salemi et al., 2024). Such personalization is motivated by the observation that users may prefer different responses to the same query depending on their preferences (Kirk et al., 2024a,b; Chen et al., 2024). In this work, we view user preference as a relative tendency to favor one response over another for a given query and aim to steer LLM outputs toward responses that better align with such preferences.

Despite their strong capabilities, most LLMs are trained using a one-size-fits-all paradigm through next-token prediction ([2, 4]) and are subsequently aligned with general human preferences during post-training (Ouyang et al., 2022). As a result, LLMs tend to generate outputs that reflect dominant or average preferences, which creates a fundamental challenge in aligning LLM outputs with diverse human preferences (Jang et al., 2023; Sorensen et al., 2024; Feng et al., 2024; Zhou et al., 2024).

To address this challenge, prior work has explored parameter-efficient fine-tuning (PEFT) approaches, such as training user-specific LoRA (Hu et al., 2022) modules (Tan et al., 2024b; QI et al., 2024) or incorporating user embeddings into model inputs (Liu et al., 2025; Qiu et al., 2025). While effective, these methods require direct access to model parameters and are therefore not applicable to black-box LLMs, which are increasingly deployed through APIs (Sun et al., 2024). To enable personalization for black-box settings, recent work has explored retrieval- and prompting-based approaches (Salemi et al., 2024; Richardson et al., 2023; Shi et al., 2025), which avoid model adaptation but remain vulnerable to irrelevant information. To provide more robust personalization, HYDRA (Zhuang et al., 2024) introduces a reranker & adapter framework that personalizes black-box LLM outputs by selecting useful historical items and ranking candidate responses according to user preferences. However, HYDRA relies on user-specific scoring heads, causing the number of personalized parameters to grow linearly with the number of users and requiring additional adaptation for unseen users. These limitations become increasingly problematic in practical deployments with large user populations.

To overcome these limitations, we propose Mixture-of-Facets (MoF), a preference-aware mixture architecture inspired by the Mixture-of-Experts (MoE) framework (Jacobs et al., 1991; Shazeer et al., 2017; Fedus et al., 2022). Rather than modeling user preferences through user-specific parameters, MoF assumes that user preferences can be represented as compositions of shared latent preference facets. Based on this idea, MoF shifts from user-specific scoring heads to shared facet heads, with personalization performed through history-conditioned routing. To encourage the router to focus on preference-related signals, MoF leverages a sparse autoencoder (SAE) (Huben et al., 2024; Qiu et al., 2025) over user histories. This design allows scalable personalization with a fixed number of shared parameters and generalizes to users unseen during training without additional parameter updates. To further promote facet specialization, we introduce a cluster-based sampling (CBS) strategy that exposes facet heads to diverse preference signals during training.

Experimental results across multiple personalization tasks demonstrate that MoF achieves the best overall performance in terms of average rank, while improving scalability and parameter efficiency. Additional analysis shows that MoF maintains competitive performance even without additional adaptation, indicating strong generalization to unseen users. Our key contributions are summarized as follows:

  • We propose MoF, a scalable black-box LLM personalization framework that models user preferences as compositions of shared latent preference facets.

  • We introduce a history-conditioned routing mechanism that enables personalization for unseen users without requiring user-specific adaptation.

  • We analyze the generalization and scalability of MoF, showing competitive performance on unseen users and constant personalization-parameter storage overhead as the number of users increases.

Related Work

White-Box LLM Personalization. LLM personalization is defined as the process of adapting a model’s responses to individual users based on their profiles, characteristics, preferences, and interaction history (Zhang et al., 2025b). To achieve this, PEFT-based personalization methods commonly utilize techniques such as LoRA (Hu et al., 2022). OPPU (Tan et al., 2024b) assigns each user a personalized LoRA module to capture user-specific preferences. PROPER (Zhang et al., 2025a) further improves personalization by combining parameter composition with MoE-style routing. However, maintaining separate adapters for individual users can introduce substantial parameter and storage overhead. To improve parameter sharing, PER-PCS (Tan et al., 2024a) decomposes personalized PEFT modules into reusable parameter pieces and constructs user-specific adapters by composing components from a shared parameter pool.

Although PROPER and PER-PCS employ compositional parameterization, their components differ from the preference facets considered in MoF. PROPER models group-level user adaptations, while PER-PCS composes reusable PEFT parameter pieces to construct personalized adapters. In contrast, MoF represents individual preferences as weighted compositions of jointly learned shared latent preference facets, with routing weights derived from user history. More importantly, both PROPER and PER-PCS require access to backbone parameters and are thus limited to white-box settings, whereas MoF operates without such access and is applicable to black-box LLMs.

Black-Box LLM Personalization. To address this challenge, prior work has explored prompting-based personalization methods. LaMP (Salemi et al., 2024) introduces retrieval augmentation for personalization by retrieving personal items from user profiles. CFRAG (Shi et al., 2025) extends this direction by incorporating collaborative filtering and retrieving histories from similar users. PAG (Richardson et al., 2023) combines retrieval with task-aware user summaries generated by LLMs to improve personalization. Fermi (Kim and Yang, 2025) learns personalized prompts for each user by iteratively refining prompts using user profiles. Although these methods improve personalization without modifying model parameters, their effectiveness can be affected by irrelevant or noisy contextual signals.

To further advance black-box LLM personalization, HYDRA (Zhuang et al., 2024) reranks user histories and selects preference-aligned responses via a personalized adapter. However, HYDRA relies on user-specific scoring heads (Figure 2 (a)), causing personalized parameters to grow linearly with the number of users and requiring an additional adaptation stage for unseen users (Figure 1 (b)). In contrast, MoF enables scalable personalization through shared facet heads and history-conditioned routing, supporting personalization for unseen users without additional adaptation while requiring no dedicated user-specific parameters.

Overview of the training and inference pipeline

Figure 1. Overview of the training and inference pipeline. (a) Train stage: the shared base model and scoring heads are jointly trained using data collected from multiple users. (b) Fit stage: the base model is frozen while only the scoring heads are updated for unseen users. (c) Inference stage: the reranker selects useful history items, the black-box LLM generates candidate responses, and the adapter scores the candidates to produce the final response.

Comparison between user-specific head personalization and the proposed MoF framework

Figure 2. Comparison between (a) user-specific head personalization and (b) the proposed MoF framework. Unlike previous work, MoF combines shared facet heads through preference-aware routing.

Methodology

Preliminary

Given a user set U={u1,…,uN}\mathcal{U} = \{u_1, \ldots, u_N\}, the goal of LLM personalization is to generate a response y^u\hat{y}_u aligned with user preferences for a query quq_u. For each user uu, the behavior history is defined as Hu={hu1,…,huT}H_u = \{h_u^1, \ldots, h_u^T\}, where each history item hut=(qut,yut)h_u^t = (q_u^t, y_u^t) consists of a past query qutq_u^t and the corresponding user-preferred response yuty_u^t. Since different users may prefer different responses to the same query, personalized response generation requires leveraging user-specific preference information extracted from historical interactions.

Following prior work (Zhuang et al., 2024), we adopt a reranker & adapter personalization framework for black-box LLMs. Given a target query quq_u, relevant history items Hu′={hu,1′,…,hu,M′}H'_u = \{h'_{u,1}, \ldots, h'_{u,M}\} are retrieved from HuH_u and then reranked by a reranker sϕRs_\phi^R to construct a personalized context set Hu∗H_u^*. Conditioned on Hu∗H_u^*, the black-box LLM generates a set of candidate responses Ou={ou1,…,ouB}O_u = \{o_u^1, \ldots, o_u^B\}. An adapter sθAs_\theta^A scores the OuO_u according to their alignment with user preferences, and the highest-scoring response is selected as the final output y^u\hat{y}_u. An overview of the framework is illustrated in Figure 1 (c). Detailed formulations of the reranker and adapter objectives are provided in Appendix § 6.

Mixture-of-Facets (MoF)

Building on the reranker & adapter framework introduced above, we apply Mixture-of-Facets (MoF) to both the reranker and adapter (Figure 2). MoF consists of two key components: (1) the Facet Heads, which estimate facet-specific scores (§ 3.2.1), and (2) the Preference-Aware Router, which computes routing weights based on user preferences (§ 3.2.3). To encourage facet specialization during training, we further introduce a cluster-based sampling (CBS) strategy (§ 3.3).

Facet Heads

Each facet head is implemented as a two-layer perceptron. We intentionally use lightweight two-layer MLPs to isolate the effect of shared-facet composition while preserving parameter and computational efficiency. Given an input pair xR=(qu,hu,m′)x^R = (q_u, h'_{u,m}) for the reranker or xA=(qu,oub)x^A = (q_u, o_u^b) for the adapter, each facet head produces a preference logit. As illustrated in Figure 2 (b), the input xx is first encoded by a BERT (Devlin et al., 2019)-based encoder δ\delta, which is jointly trained with the facet heads. We denote the final hidden representation of the [CLS] token as zx=δ(x)[CLS]z_x = \delta(x)_{\mathrm{[CLS]}}. Each facet head ψf\psi_f takes zxz_x as input and computes the corresponding preference logit:

ψf(zx)=Wf(2)tanh⁡(Wf(1)zx+bf(1))+bf(2).(1)\psi_f(z_x) = \mathbf{W}_f^{(2)} \tanh\left(\mathbf{W}_f^{(1)} z_x + \mathbf{b}_f^{(1)}\right) + \mathbf{b}_f^{(2)}. \tag*{(1)}

Here, Wf(1)∈Rd×d\mathbf{W}_{f}^{(1)} \in\mathbb{R}^{d \times d} and Wf(2)∈Ro×d\mathbf{W}_{f}^{(2)} \in\mathbb{R}^{o \times d} denote the learnable weight matrices, where dd is the hidden representation dimension and oo denotes the dimension of the output logits.

The model contains a total of FF facet heads, each encouraged to specialize in different latent preference patterns during training. The outputs of all facet heads are aggregated into the following facet logit matrix:

Ψ(x)=[ψ1(zx),…,ψF(zx)]∈RF×o.(2)\Psi(x) = [\psi_1(z_x), \ldots, \psi_F(z_x)] \in\mathbb{R}^{F \times o}. \tag*{(2)}

Each row of Ψ(x)\Psi(x) represents the output logits generated by a corresponding facet head.

Sparse User Representation

Independently of computing Ψ(x)\Psi(x), the router constructs a user-specific preference representation from HuH_u in order to estimate routing weights for aggregating Ψ(x)\Psi(x). We intentionally exclude query representations from the router input so that routing decisions focus on persistent user preference characteristics rather than query-specific semantics.

Each history item is encoded using the shared encoder δ\delta, which is kept frozen during router training. For each history item huth_u^t, we obtain the corresponding history embedding as eut=δ(hut)[CLS]e_u^t = \delta(h_u^t)_{\mathrm{[CLS]}}. The resulting historical embedding set for user uu is defined as Eu={eu1,…,euT}\mathbf{E}_u = \{e_u^1, \ldots, e_u^T\}. To capture patterns within the user history, we apply a Transformer encoder over Eu\mathbf{E}_u and compute the user representation via mean pooling:

eu′=Mean⁡(Encoder⁡(Eu)).(3)e_u' = \operatorname{Mean}(\operatorname{Encoder}(\mathbf{E}_u)). \tag*{(3)}

The dense user representation eu′e_u' contains general semantic and syntactic information that is not directly relevant to user preferences. To facilitate the router’s focus on preference-related signals, we further transform the dense representation into a sparse latent representation using a Sparse Autoencoder (SAE) (Huben et al., 2024). The SAE projects the dense user representation into a higher-dimensional sparse latent space, encouraging preference-related activation patterns to be selectively represented across different latent dimensions. The sparse latent representation is computed as

euenc=ReLU⁡(Wenceu′+benc),(4)e_u^{\mathrm{enc}} = \operatorname{ReLU}\left(\mathbf{W}_{\mathrm{enc}}e_u' + b_{\mathrm{enc}}\right), \tag*{(4)}

where euenc∈Rτde_u^{\mathrm{enc}} \in\mathbb{R}^{\tau d} and Wenc∈Rτd×d\mathbf{W}_{\mathrm{enc}} \in\mathbb{R}^{\tau d \times d}. Here, τ\tau denotes the latent expansion factor that controls the dimensionality of the sparse representation. This

latent space provides additional capacity for sparse activations, facilitating the selective representation of preference-related signals. The resulting sparse representation euence_u^{\mathrm{enc}} is used as the router input representation.

The SAE decoder reconstructs the original dense representation from the sparse latent representation:

eudec=Wdeceuenc+bdec,(5)e_u^{\mathrm{dec}} = \mathbf{W}_{\mathrm{dec}}e_u^{\mathrm{enc}} + b_{\mathrm{dec}}, \tag*{(5)}

where eudec∈Rde_u^{\mathrm{dec}} \in\mathbb{R}^{d} and Wdec∈Rd×τd\mathbf{W}_{\mathrm{dec}} \in\mathbb{R}^{d \times\tau d}. The SAE is optimized using the following objective:

LSAE=∥eudec−eu′∥22+λ1∥euenc∥1.(6)\mathcal{L}_{\mathrm{SAE}} = \left\|e_u^{\mathrm{dec}} - e_u'\right\|_2^2 + \lambda_1 \left\|e_u^{\mathrm{enc}}\right\|_1. \tag*{(6)}

The reconstruction objective preserves preference-relevant information encoded in the user-history representation, while the L1L_1 regularization promotes sparsity in the latent representation.

User Preference-Aware Router

Using the sparse user representation euence_u^{\mathrm{enc}}, the router determines which facet heads are more relevant for a particular user. The router is implemented as a linear projection layer that produces routing logits over the FF facet heads:

gu=Wreuenc+br,(7)\mathbf{g}_u = \mathbf{W}_r e_u^{\mathrm{enc}} + b_r, \tag*{(7)}

where Wr∈RF×dW_r \in\mathbb{R}^{F \times d} denotes the routing projection matrix and gu∈RF\mathbf{g}_u \in\mathbb{R}^{F} represents the routing logits over all facet heads. To encourage sparse activation of facet heads, we apply top-kk routing over gu\mathbf{g}_u:

(g~u,Ku)=top-k⁡(gu,K),(8)(\widetilde{\mathbf{g}}_u, \mathcal{K}_u) = \operatorname{top\text{-}k}(\mathbf{g}_u, K), \tag*{(8)}

where g~u∈RK\widetilde{\mathbf{g}}_u \in\mathbb{R}^{K} denotes the selected top-kk routing logits and Ku\mathcal{K}_u represents the corresponding facet indices. The routing weights are then computed using a softmax over the selected routing logits:

αu,k=exp⁡(g~u,k)∑j=1Kexp⁡(g~u,j).(9)\alpha_{u,k} = \frac{\exp(\widetilde{g}_{u,k})}{\sum_{j=1}^{K} \exp(\widetilde{g}_{u,j})}. \tag*{(9)}

The final MoF prediction is obtained as a weighted sum of the selected facet outputs using the routing weights:

MoF⁡(x,Hu)=∑k=1Kαu,kψKu,k(x).(10)\operatorname{MoF}(x, H_u) = \sum_{k=1}^{K} \alpha_{u,k} \psi_{\mathcal{K}_{u,k}}(x). \tag*{(10)}

This sparse routing mechanism enables the model to represent user-specific preference patterns as compositions of shared facet heads, allowing personalization without dedicated user-specific heads.

Objective

The model is trained using a binary classification objective over the MoF prediction and the corresponding supervision label riur_i^u. The labeling strategy is described in Appendix § 6. For a user uu and training instance (xiu,riu)(x_i^u, r_i^u), the prediction probability is computed as

piu=σ(MoF⁡(xiu,Hu)).(11)p_i^u = \sigma(\operatorname{MoF}(x_i^u, H_u)). \tag*{(11)}

The MoF objective is defined as

LMoF⁡=−riulog⁡piu−(1−riu)log⁡(1−piu).(12)\mathcal{L}_{\operatorname{MoF}} = -r_i^u \log p_i^u - (1-r_i^u)\log(1-p_i^u). \tag*{(12)}

The final training objective jointly optimizes the MoF objective and the sparse autoencoder objective:

L=LMoF⁡+λLSAE⁡.(13)\mathcal{L} = \mathcal{L}_{\operatorname{MoF}} + \lambda\mathcal{L}_{\operatorname{SAE}}. \tag*{(13)}

Here, λ\lambda controls the contribution of the SAE regularization objective during training.

Cluster-Based Sampling (CBS)

In HYDRA, training instances are constructed by retrieving history items based on relevance to the target query. However, retrieval relevance often emphasizes lexical or semantic similarity, which may fail to reflect the diverse aspects of user preferences. As a result, the sampled training instances may be concentrated on a limited subset of preference patterns. To encourage facet specialization in MoF, we introduce a cluster-based sampling (CBS) strategy over HuH_u. Specifically, we first partition history items into multiple clusters using k-means clustering over the history embedding set Eu\mathbf{E}_u. CBS is applied when constructing training instances for both the reranker and adapter. Rather than sampling history items from a single global retrieval pool, CBS samples them separately from each cluster. This strategy increases the diversity of preference signals observed during training and encourages the facet heads to capture diverse preference patterns rather than focusing on semantically similar history items.

Experiment

Experimental Setup

Datasets. We evaluate MoF on two personalization classification tasks and two personalization generation tasks from the LaMP benchmark (Salemi et al., 2024). Specifically, we use Movie Tagging Classification (LaMP-2) and Product Rating Classification (LaMP-3) for classification, and News Headline Generation (LaMP-4) and Scholarly Title Generation (LaMP-5) for generation. Further details on the datasets are provided in Appendix § 8.

Baselines. We compare MoF against both prompt-based and reranker & adapter-based personalization methods. Zero-Shot uses only the input query without any personalization cues. ICL augments the input with randomly selected kk items from the user history. RAG (Salemi et al., 2024) retrieves relevant history items using BM25 (Robertson and Zaragoza, 2009) and augments them into the input. PAG (Richardson et al., 2023) further enhances personalization by incorporating LLM-generated user profile summaries together with retrieved history items. CFRAG (Shi et al., 2025) incorporates collaborative information by retrieving similar users and relevant items from their histories, followed by personalized reranking for LLM generation. HYDRA (Zhuang et al., 2024) is a reranker & adapter-based personalization framework. We additionally report HYDRA-Reranker, which uses only the reranker for personalization, and HYDRA-Adapter, which applies only the adapter over candidate responses generated from the zero-shot setting.

Evaluation Metrics. Following LaMP (Salemi et al., 2024), we use Accuracy (Acc) and F1 score (F1) for LaMP-2, MAE and RMSE for LaMP-3, and ROUGE-1 (R-1), ROUGE-L (R-L), and BLEU for LaMP-4 and LaMP-5. Higher scores indicate better performance for all metrics except MAE and RMSE.

Implementation Details. Following prior work (Zhuang et al., 2024), we conduct training and evaluation using subsets of the original datasets, where we sample 100 users for training and 50 users for testing. For robustness, results are averaged over 3 runs with different randomly sampled user sets. We use bge-base-en-v1.5 (Xiao et al., 2024) (110M parameters) as the base model for both the reranker and adapter modules. As the black-box LLM, we employ gpt-3.5-turbo-1106 (OpenAI, 2022). Additional implementation details are provided in Appendix § 11.

Main Results

Table 1 presents the main experimental results on the LaMP benchmark. We observe that prompt-based personalization methods do not consistently improve over the zero-shot setting and in some cases even degrade performance. One possible explanation is that prompt-based methods are sensitive to history selection and context coverage because randomly selected or limited histories may fail to represent the user’s preferences while introducing distracting context. The extent of this effect also varies across tasks and retrieval sizes. In contrast, reranker & adapter-based approaches generally provide more consistent gains across tasks, suggesting that aligning the output distribution of a black-box LLM with user preferences can be more effective than relying solely on prompt-level personalization.

Dataset (→)LaMP-2LaMP-3LaMP-4LaMP-5Avg. Rank↓
Method (↓)Acc ↑F1 ↑MAE ↓RMSE ↓R-1 ↑R-L ↑BLEU ↑R-1 ↑R-L ↑BLEU ↑
Zero-Shot0.4200.2570.5000.7770.1470.1290.8910.4460.3755.82213.5
ICL (kk=1)0.3930.2520.7271.1630.1580.1400.9770.4440.3736.09813.6
ICL (kk=2)0.4670.3870.5200.8790.1670.1430.8370.4480.3816.03211.3
ICL (kk=4)0.5130.4030.4330.7620.1610.1401.2400.4470.3845.51110.0
RAG (kk=1)0.4330.2760.6130.9780.1650.1450.8890.4520.3855.96112.0
RAG (kk=2)0.4930.3460.5000.8120.1670.1501.2730.4590.3875.3889.5
RAG (kk=4)0.5470.4090.4400.7650.1760.1481.4560.4570.3955.8886.9
PAG (kk=0)0.5070.3660.3330.6630.1620.1400.8730.4360.3615.65910.5
PAG (kk=1)0.4730.3370.4000.7390.1810.1571.0400.4540.3716.0638.0
CFRAG (kk=4)0.5930.4470.4400.7800.1760.1510.9660.4560.3925.7487.4
HYDRA-Reranker0.5670.3830.4800.8300.1680.1521.5170.4650.3906.2816.8
HYDRA-Adapter0.4470.2710.3800.7350.1590.1400.8520.4670.3946.0599.3
HYDRA0.5930.4170.3930.7610.1830.1631.8490.4590.3966.6523.5
MoF-Reranker (ours)0.6000.4510.4070.7240.1770.1541.5020.4560.3907.4214.2
MoF-Adapter (ours)0.4670.3080.3270.6820.1610.1421.275__0.477____0.400__6.5156.5
MoF (ours)0.6270.4380.3000.6050.1990.176__1.662__0.4810.413__6.967__1.4

Table 1. Main results on the LaMP benchmark. Results are averaged over three runs with different sampled user sets. kk denotes the number of retrieved user-history items. For HYDRA and MoF, we use k=4k = 4. ↑ and ↓ indicate that higher and lower values are better, respectively. Bold and underline indicate the best and second-best scores, respectively. Avg. Rank denotes the average rank of each method across all metrics.

Compared with HYDRA, which relies on user-specific scoring heads, MoF achieves better overall performance despite eliminating user-specific parameters. For example, MoF improves accuracy from 0.593 to 0.627 on LaMP-2 and reduces MAE from 0.393 to 0.300 on LaMP-3.

MoF achieves the strongest average performance across the tasks with an average rank of 1.4, demonstrating stronger overall performance than existing prompt-based and reranker & adapter-based baselines. Specifically, MoF achieves the best performance on most evaluation metrics across LaMP-2, LaMP-3, LaMP-4, and LaMP-5, with competitive results on the remaining metrics. These results demonstrate the effectiveness of preference-aware mixture modeling for black-box LLM personalization.

We further observe that both MoF-Reranker and MoF-Adapter individually achieve competitive performance. This suggests that preference-aware retrieval and personalized candidate selection provide complementary benefits. Additional experimental results on other black-box LLMs are provided in Appendix G, suggesting that the proposed framework generalizes across different proprietary black-box LLMs.

Generalization to Unseen Users

Unlike HYDRA, which requires an additional fit stage for unseen users because of its user-specific heads, MoF can perform personalization without additional training for new users. Table 2 presents the generalization performance on unseen users with and without the fit stage. MoF maintains competitive performance even without the fit stage, with only minor degradation across datasets. Notably, MoF without the fit stage outperforms HYDRA with the fit stage on all metrics reported in Table 2, demonstrating strong generalization to unseen users. While MoF-Adapter does not outperform its fitted counterpart in every case, it remains competitive without additional training. These findings suggest that MoF can effectively generalize to unseen users without requiring user-specific adaptation.

Dataset (→)LaMP-2LaMP-3LaMP-4
Method (↓)FitAcc ↑MAE ↓R-1 ↑R-L ↑
HYDRA✗––––
HYDRA✓0.5930.3930.1830.163
MoF✗0.6200.3330.2000.179
MoF✓0.6270.3000.1990.176
HYDRA-Reranker✗––––
HYDRA-Reranker✓0.5670.4800.1680.152
MoF-Reranker✗0.5470.4400.1780.158
MoF-Reranker✓0.6000.4070.1770.154
HYDRA-Adapter✗––––
HYDRA-Adapter✓0.4470.3800.1590.140
MoF-Adapter✗0.4400.3470.1530.137
MoF-Adapter✓0.4670.3270.1610.142

Table 2. Evaluation of unseen user generalization: performance with and without the fit stage. – indicates that the method cannot be applied without a fit stage.

Scalability Analysis

Figure 3 (a) and (b) show the effect of the number of training users. Across both datasets, MoF achieves competitive performance with substantially fewer training users than HYDRA. For example, MoF trained with only 30 users in (a) and 50 users in (b) already surpasses HYDRA trained with 100 users, suggesting that MoF can achieve strong personalization performance with fewer training users. Furthermore, performance remains stable as the number of training users increases up to 300, suggesting that the learned shared facets remain effective as the training user population grows.

Scalability analysis with increasing user populations

Figure 3. Scalability analysis with increasing user populations. (a), (b) show personalization performance as the number of training users increases, while (c) compares storage growth across methods.

Figure 3 (c) compares storage growth as the number of users increases. While HYDRA requires user-specific scoring heads, causing storage cost to grow linearly with the user population (approximately 2.26 MB per user in our implementation), MoF maintains constant personalization-parameter storage cost through shared facet heads. Appendix B further presents a theoretical analysis showing that MoF exhibits constant personalization complexity with respect to the number of users.

To assess scalability to a larger user population, we evaluate MoF, trained on 100 users, on 1,000 unseen users without additional user-specific fitting. As shown in Table 3, MoF consistently outperforms the zero-shot and RAG baselines on LaMP-2, LaMP-3, and LaMP-4. These results provide further evidence of inference-time scalability and unseen-user generalization to a substantially larger user population.

Dataset (→)LaMP-2LaMP-3LaMP-4
Method (↓)Acc ↑MAE ↓R-1 ↑R-L ↑
Zero-Shot0.3910.5150.1430.124
RAG (k=1k = 1)0.4090.6760.1550.135
RAG (k=2k = 2)0.4800.5210.1600.141
RAG (k=4k = 4)0.5080.4490.1640.146
MoF (ours)0.5770.3540.1750.156

Table 3. Large-scale evaluation on 1,000 unseen users without user-specific fitting.

Controlled Analysis of CBS

To disentangle the effect of CBS from that of the MoF architecture, we conduct controlled comparisons with and without CBS. As shown in Table 4, applying CBS to HYDRA degrades performance on most reported metrics, whereas combining CBS with MoF improves performance across the reported metrics. Notably, MoF without CBS remains competitive with HYDRA, suggesting that CBS alone does not account for the gains of MoF. Rather, CBS complements the shared-facet architecture by exposing facet heads to diverse preference signals, encouraging specialization across facets.

Dataset (→)LaMP-2LaMP-3LaMP-4
Method (↓)CBSAcc ↑MAE ↓R-1 ↑R-L ↑
HYDRA✗0.5930.3930.1830.163
HYDRA✓0.5600.3730.1700.149
MoF✗0.5870.3800.1830.168
MoF✓0.6270.3000.1990.176

Table 4. Controlled comparison of HYDRA and MoF with and without CBS.

We further examine where CBS contributes within MoF by selectively applying it to the reranker and adapter. As shown in Table 5, applying CBS to the reranker improves performance on LaMP-2 and LaMP-3 but slightly decreases the ROUGE metrics on LaMP-4. Extending CBS to both the reranker and adapter further improves LaMP-3 and recovers and improves the ROUGE metrics on LaMP-4. These results suggest that extending CBS to both components can provide additional benefits within the MoF framework.

CBSLaMP-2LaMP-3LaMP-4
RAAcc ↑MAE ↓R-1 ↑R-L ↑
MoF✗✗0.5870.3800.1830.168
MoF✓✗0.6130.3270.1790.155
MoF✓✓0.6270.3000.1990.176

Table 5. Effect of applying CBS to different components of MoF. R and A denote the reranker and adapter, respectively.

Ablation Studies

Table 6 presents an ablation study evaluating the contribution of each component in MoF. Removing CBS results in the largest performance degradation in most settings, indicating the importance of exposing the model to diverse training samples during preference learning. We also observe substantial performance drops when removing the router, demonstrating the benefit of adaptively combining shared preference facets. Replacing multiple shared facet heads with a single head also degrades performance, suggesting that user preferences are better captured by combinations of multiple latent preference patterns. Finally, removing SAE results in smaller but consistent performance degradation across datasets, indicating that sparse representations provide complementary benefits for personalization.

Dataset (→)LaMP-2LaMP-3LaMP-4
Method (↓)Acc ↑MAE ↓R-1 ↑R-L ↑
MoF0.6270.3000.1990.176
w/o SAE0.6070.3330.1880.165
w/o Router0.6000.3600.1840.161
w/o Multi-Facet0.6070.3530.1830.160
w/o CBS0.5870.3800.1830.168

Table 6. Ablation study of MoF.

Impact of Number of Facet Heads

Figure 4 presents the impact of varying the number of facet heads under top-3 routing. We observe that performance generally improves as the number of facet heads increases up to a moderate range, while further increasing the number of heads does not consistently provide additional gains. For LaMP-3 in Figure 4 (a), MoF generally achieves favorable performance when using 6–8 facet heads and performs competitively against the corresponding HYDRA variants across most settings. Similarly, for LaMP-4 in Figure 4 (b), performance tends to improve up to around 6–7 facet heads before showing limited additional gains. These observations suggest that increasing the number of facet heads alone does not necessarily improve personalization performance. Additional results and analyses are presented in Appendix § 13.

Impact of the number of facet heads under top-3 routing

Figure 4. Impact of the number of facet heads under top-3 routing. (a) and (b) show results on LaMP-3 and LaMP-4, respectively. A moderate number of facet heads generally provides the strongest performance.

Visualization

Figure 5 visualizes the history items selected for two example users, illustrating how CBS in MoF retrieves samples from multiple preference clusters compared with the standard retrieval used in HYDRA. The visualization is obtained by projecting k-means-clustered history embeddings (K=10K=10) using UMAP (McInnes et al., 2018). Compared with HYDRA, which tends to retrieve histories concentrated within specific regions, MoF selects items across multiple clusters, exposing the model to more diverse preference signals. We further observe that user histories often span multiple regions in the latent space (Figure 5 (a)) rather than forming a single concentrated pattern. Such heterogeneous preference distributions motivate CBS to provide richer signals for learning facet representations. This observation is consistent with the ablation results, where removing CBS causes the largest performance degradation.

Visualization of CBS for two example users

Figure 5. Visualization of CBS for two example users. Colors indicate clusters of user-history embeddings. Red circles and white crosses denote training samples selected using CBS in MoF and BM25 retrieval in HYDRA, respectively, and the green star denotes the query.

Qualitative Analysis

To investigate whether the learned router captures meaningful preference-related structures, we group users according to their routing-weight distributions and perform BERTopic (Grootendorst, 2022) analysis on their historical interactions. As illustrated in Figure 10, users exhibit distinct routing patterns rather than being assigned uniformly. We analyze the corresponding user groups in Table 7, where users with similar routing patterns also show coherent narrative tendencies. For example, G1G1 is associated with threat- and conflict-centered narratives, whereas G2G2 focuses on action and fantasy themes, while G3G3 emphasizes character-driven and emotional narratives. These findings provide qualitative evidence that routing weights reflect meaningful preference-related structures rather than arbitrary assignment patterns.

IDRepresentative n-gramsInterpretation
G1G1“17th century salem hester prynne”; “years old daughter maddy”; “abuse fanatically pious mother”; “wormhole surpass limitations human space”Threat-, escape-, and conflict-centered narratives spanning historical, familial, supernatural, and speculative settings
G2G2“zion defends massive invasion machines”; “young wizards harry discovers trio”; “11th birthday learns powerful wizard”; “zombies perfectly evolved survivors”Genre-driven action/fantasy narratives emphasizing adventure, large-scale conflict, and survival
G3G3“actively opposed hitler nazis convictions”; “young prince life threatened evil”; “adventures lion witch wardrobe”; “young writer elizabeth wurtzel earns”; “suddenly single cal adrift”Character-centered dramatic narratives involving moral conviction, family/romance, youth vulnerability, and emotional struggle

Table 7. Qualitative analysis of user groups identified from routing patterns. Representative n-grams are obtained using BERTopic on user histories within each group.

Heatmap of routing weight distributions across users

Figure 10. Heatmap of routing weight distributions across users. Users with similar routing patterns are grouped together.

Conclusion

In this paper, we introduced MoF, a personalization framework for black-box LLMs based on shared preference facets and preference-aware routing. By replacing user-specific heads with a fixed number of shared facet heads, MoF achieves scalable personalization while maintaining constant personalization-parameter storage overhead as the number of users increases. Experimental results further show that preference-aware routing supports effective personalization and generalization to users unseen during training without additional parameter updates.

Limitations

While MoF achieves a substantially stronger average rank across tasks, it does not outperform HYDRA on every individual metric (e.g., BLEU on LaMP-4). Thus, our results support strong overall personalization performance under a more scalable parameterization, rather than uniform superiority over HYDRA on every metric.

Although MoF generalizes to a substantially larger set of unseen users, our primary experiments train the model on a relatively limited number of users. Therefore, the current results demonstrate inference-time scalability to larger user populations but do not fully characterize training behavior under substantially larger and more heterogeneous user populations.

MoF also employs a fixed number of shared facet heads for all users. While this design provides parameter-efficient personalization, a fixed facet capacity may become restrictive as user preferences become increasingly diverse. Future work could explore adaptive facet allocation or routing mechanisms that dynamically adjust model capacity while preserving parameter efficiency.

Finally, our evaluation is limited to the LaMP benchmark and does not include LongLaMP or a direct comparison with FERMI. LongLaMP involves long-form personalization with task-specific profile structures that may require adapting the current MoF formulation, while FERMI performs iterative per-user prompt optimization under a different personalization paradigm. Extending MoF to long-form settings and comparing it with such optimization-based approaches remain important directions for future work.

Ethical Considerations

MoF performs personalization based on user interaction histories, which may contain sensitive information reflecting individual preferences and behavioral patterns. Although MoF eliminates user-specific scoring heads and reduces the need for storing personalized parameters, the preference inference process may still capture sensitive behavioral patterns from historical interactions. In addition, personalization systems may unintentionally reinforce existing user tendencies or reduce exposure to diverse content. Practical deployments should therefore consider privacy-preserving mechanisms such as anonymization, secure handling of user histories, and user-controlled personalization settings.

We use publicly available artifacts according to their respective licenses and terms of use. The LaMP benchmark code and data creation methods are licensed under CC BY-NC-SA 4.0, and we follow the corresponding licenses and usage conditions of the datasets included in the benchmark. We use bge-base-en-v1.5 (FlagEmbedding) under the MIT License. We additionally use OpenAI models (e.g., gpt-3.5-turbo-1106 and gpt-4o-mini-2024-07-18) according to OpenAI’s API terms of use and service policies.

All artifacts were used in a manner consistent with their intended use and access conditions. Public benchmarks, pretrained models, and APIs were used only for research and evaluation purposes and in accordance with their specified usage policies.

Detailed Preliminary Framework

Reranker

The reranker SϕRS_{\phi}^{R} takes the current query quq_{u} and retrieved history candidates as input, and outputs a score indicating the usefulness of each history item for generating a user-preferred response. For each user uu, we first retrieve a set of MM history candidates HuU={hu,1′,hu,2′,…,hu,M′}H_{u}^{U} = \{h'_{u,1}, h'_{u,2}, \ldots, h'_{u,M}\} from the full user history HuH_{u} based on their relevance to the target query quq_{u}. To construct the reranker training dataset DRD^{R}, we randomly sample MM history items from HuH_u and treat the query in each sampled history item as a target query for retrieval-based training instance construction. We create a binary supervision label ru,mR∈{0,1}r^{R}_{u,m} \in\{0,1\} indicating whether the history item hu,m′h'_{u,m} helps generate a user-preferred response. For classification tasks, a positive label is assigned when the model output matches the ground-truth label. For generation tasks, a positive label is assigned when the evaluation score exceeds the average score across candidate responses. The reranker is optimized using the following binary classification objective:

LR(ϕ)=∑u∈U∑m=1MℓBCE(sϕR(qu,hu,m′),ru,mR).(14)\mathcal{L}_{R}(\phi) = \sum_{u \in\mathcal{U}} \sum_{m=1}^{M} \ell_{\mathrm{BCE}}\left(s^{R}_{\phi}(q_u,h'_{u,m}),r^{R}_{u,m}\right). \tag*{(14)}

Based on the reranker scores, the top-kk history items are selected to construct the personalized context set:

Hu∗=arg top⁡-khu,m′∈Hu′ sϕR(qu,hu,m′)(15)H_u^* = \underset{h'_{u,m}\in H'_u}{\operatorname{arg\,top}\text{-}k}\ s^{R}_{\phi}(q_u,h'_{u,m}) \tag*{(15)}

Adapter

Given the query quq_u and the personalized context set Hu∗H_u^*, we sample a set of BB candidate responses Ou={ou1,…,ouB}O_u = \{o_u^1,\ldots,o_u^B\} from the black-box LLM. The adapter sθAs^A_{\theta} acts as a lightweight selection module that scores candidate responses without modifying the black-box LLM parameters, thereby aligning the output distribution with user preferences. The adapter assigns a preference score to each candidate response in OuO_u based on its alignment with user preferences. To build the adapter training dataset DAD^A, we generate candidate response sets OuO_u for all history items in HuH_u. We assign a binary supervision label ru,bA∈{0,1}r^A_{u,b} \in\{0,1\} to each candidate response oubo_u^b, where ru,bA=1r^A_{u,b}=1 indicates that the response aligns with user preferences. Following the labeling strategy used for reranker training, positive labels are assigned based on exact matching for classification tasks and relative evaluation scores for generation tasks. The adapter is optimized using the following binary classification objective:

LA(θ)=∑u∈U∑b=1BℓBCE(sθA(qu,oub),ru,bA).(16)\mathcal{L}_{A}(\theta) = \sum_{u \in\mathcal{U}} \sum_{b=1}^{B} \ell_{\mathrm{BCE}}\left(s^A_{\theta}(q_u,o_u^b),r^A_{u,b}\right). \tag*{(16)}

The final personalized response is selected as the candidate with the highest adapter score:

y^u=arg max⁡b sθA(qu,oub).(17)\hat{y}_u = \underset{b}{\operatorname{arg\,max}}\ s^A_{\theta}(q_u,o_u^b). \tag*{(17)}

Training & Inference

As illustrated in Figure 1, both the reranker sϕRs^R_{\phi} and the adapter sθAs^A_{\theta} are trained in two stages: a train stage and a fit stage. During the train stage, the base model and scoring heads are jointly trained using data collected from a large number of users. This enables the model to capture shared preference signals across users while learning user-specific preference patterns through separate heads. During the fit stage, only the heads are updated for unseen users while the shared base model remains frozen. This stage adapts the personalization modules to the preference patterns of new users without modifying the shared parameters.

During inference, retrieved history items are first reranked to select the more useful historical items Hu∗H_u^* for the current query, as defined in Eq. (15). Conditioned on Hu∗H_u^*, the black-box LLM generates a set of candidate responses OuO_u. The adapter then assigns preference scores to the candidate responses in OuO_u, and the response with the highest score is selected as the final personalized response y^u\hat{y}_u, as defined in Eq. (17).

Parameter Scalability Analysis

We analyze how the number of trainable personalization parameters scales with the number of users. Let NN denote the number of users, FF the number of facet heads. For user-specific personalization approaches such as HYDRA, each user maintains an independent scoring head. The trainable personalization parameters can therefore be expressed as

PHYDRA(N)=NPhead,(18)P_{\mathrm{HYDRA}}(N) = N P_{\mathrm{head}}, \tag*{(18)}

where PheadP_{\mathrm{head}} denotes the parameter count of a single user-specific head. Consequently, introducing one additional user increases the parameter count by

PHYDRA(N+1)−PHYDRA(N)=Phead.(19)P_{\mathrm{HYDRA}}(N+1)-P_{\mathrm{HYDRA}}(N)=P_{\mathrm{head}}. \tag*{(19)}

Thus, the personalization parameter complexity grows linearly with the number of users:

PHYDRA(N)=O(N).(20)P_{\mathrm{HYDRA}}(N)=O(N). \tag*{(20)}

In contrast, MoF employs a fixed set of shared facet heads coupled with a shared routing module. The trainable personalization parameters become

PMoF=FPψ+Prouter+PSAE,(21)P_{\mathrm{MoF}} = F P_{\psi} + P_{\mathrm{router}} + P_{\mathrm{SAE}}, \tag*{(21)}

where PψP_{\psi} denotes the parameter count of a single facet head, and ProuterP_{\mathrm{router}} and PSAEP_{\mathrm{SAE}} denote the parameters of the shared routing and sparse autoencoder modules, respectively. Since all terms in PMoFP_{\mathrm{MoF}} are independent of the number of users, introducing a new user does not increase the parameter count:

PMoF(N+1)−PMoF(N)=0.(22)P_{\mathrm{MoF}}(N+1)-P_{\mathrm{MoF}}(N)=0. \tag*{(22)}

Therefore, MoF exhibits constant parameter complexity with respect to the number of users:

PMoF=O(1).(23)P_{\mathrm{MoF}}=O(1). \tag*{(23)}

This result indicates that personalization for unseen users can be achieved solely through history-derived routing weights without introducing additional user-specific parameters. Consequently, MoF can scale to large and dynamically evolving user populations without increasing the number of trainable personalization parameters.

Task Details

We evaluate LLM personalization using the LaMP benchmark (Salemi et al., 2024). The benchmark consists of seven personalized NLP tasks spanning both classification and generation settings. We exclude LaMP-1 and LaMP-7 because these tasks involve task-specific input structures that are not directly compatible with the reranker & adapter formulation adopted in our framework and prior black-box personalization methods. This exclusion reflects a limitation of the current reranker & adapter instantiation rather than an inherent restriction of the MoF framework. Since our goal is to evaluate personalized preference modeling under a unified black-box personalization setting, we focus on tasks that share comparable interaction structures and evaluation protocols. In addition, LaMP-6 is not publicly available and therefore cannot be included in our experiments. This evaluation setting is consistent with the evaluation setting used in prior black-box personalization work (Zhuang et al., 2024).

LaMP-2: Movie Tagging Classification. LaMP-2 evaluates whether a model can predict a user’s tagging behavior for movies. Each user’s history consists of a sequence of movie description–tag pairs, where the descriptions correspond to previously viewed movies and the tags represent the user’s assigned labels. The task requires the model to capture personalized preference patterns from

the sequential interaction history and predict the appropriate tag for a target movie description. Following prior work, we evaluate performance using Accuracy (Acc) and F1 score (F1).

LaMP-3: Product Rating Classification. LaMP-3 evaluates personalized rating prediction based on users’ product reviews. User history is represented as a sequence of review–rating pairs generated by the same user. Given a target review, the model predicts the rating score that the user would assign. Although LaMP-3 is formulated as an ordinal classification task in the original benchmark, following prior work we report MAE and RMSE as evaluation metrics.

LaMP-4: News Headline Generation. LaMP-4 evaluates personalized text generation by requiring the model to generate headlines for news articles. User history consists of article–headline pairs written by the same journalist. The task requires extracting the journalist’s writing characteristics and stylistic patterns from historical interactions and generating a personalized headline for a target article. We evaluate generation quality using ROUGE-1 (R-1), ROUGE-L (R-L), and BLEU.

LaMP-5: Scholarly Title Generation. LaMP-5 focuses on generating titles for academic papers based on their abstracts. Similar to LaMP-4, each user’s history consists of abstract–title pairs written by the same author. The model is expected to infer the author’s writing style and title construction patterns from historical data and generate a personalized title for a target abstract. We evaluate performance using ROUGE-1 (R-1), ROUGE-L (R-L), and BLEU.

Data Statistics

Table 8 reports the number of training instances used in the train and fit stages for the reranker and adapter modules across different LaMP datasets.

MethodModuleStageLaMP-2LaMP-3LaMP-4LaMP-5
MoFRerankerTrain10,22810,85210,81610,998
MoFRerankerFit4,4684,9264,8414,999
MoFAdapterTrain167,979140,195289,36871,226
MoFAdapterFit45,40176,336128,87139,294

Table 8. Size of training data used in the train and fit stages of MoF across different LaMP datasets.

Computational Cost

Table 9 reports the training and fitting runtime of the reranker and adapter modules across different LaMP datasets.

MethodModuleStageLaMP-2LaMP-3LaMP-4LaMP-5
MoFRerankerTrain00:04:4000:09:3700:03:3600:09:52
MoFRerankerFit00:00:5600:01:1400:00:5800:01:19
MoFAdapterTrain00:57:5301:53:0601:24:0600:50:08
MoFAdapterFit00:31:4200:21:1900:25:0300:08:21

Table 9. Training and fitting time of MoF across different LaMP datasets.

Implementation Details

All experiments are conducted on a machine equipped with an AMD Ryzen Threadripper 1950X CPU and a single NVIDIA GeForce RTX 3090 GPU. For black-box LLM generation, we set the temperature to 1.0. For training, we employ AdamW (Loshchilov and Hutter, 2019) with a learning rate of 5.0×10−55.0 \times10^{-5}, a batch size of 64, and a weight decay of 0.01. All models are trained for 2 epochs. We set λ=0.5\lambda= 0.5, λ1=8.6×10−4\lambda_1 = 8.6 \times10^{-4} and τ=2\tau= 2. For the reranker, we partition each user’s history into 10 clusters and retrieve one item from each cluster using BM25, yielding M=10M = 10 sampled candidates. For the adapter, we set the number of candidate responses BB to 8. Based on validation performance, we set the number of facet heads to F=7F = 7 and use top-3 sparse routing across all experiments. To construct user embeddings, we use up to the most recent 128 history items for each user. Additional sensitivity analyses are provided in Appendix § 13.

Generalization Across LLMs

Table 10 presents additional experimental results using gpt-4o-mini-2024-07-18 (OpenAI, 2024) as the underlying proprietary black-box LLM while keeping all other experimental settings identical to those in the main experiments. We observe that the overall trends remain largely consistent with those in Table 1. Similar to the main results, prompt-based personalization methods do not consistently improve performance across tasks, whereas reranker & adapter-based approaches generally provide stronger and more stable gains. MoF maintains the strongest overall performance with the best average rank of 3.6, demonstrating strong performance across multiple tasks under a different black-box model setting. Specifically, MoF achieves the best performance on several evaluation metrics while remaining competitive on the remaining settings. For example, MoF improves F1 from 0.448 to 0.504 on LaMP-2 compared with HYDRA and also achieves stronger performance on LaMP-4, improving R-1 from 0.168 to 0.180 and R-L from 0.147 to 0.157. Although absolute performance differs from the main experimental setting, the relative advantage of MoF remains largely preserved. These results suggest that the proposed framework can generalize across different proprietary black-box LLMs.

Dataset (→)LaMP-2LaMP-3LaMP-4LaMP-5Avg. Rank↓
Method (↓)Acc ↑F1 ↑MAE ↓RMSE ↓R-1 ↑R-L ↑BLEU ↑R-1 ↑R-L ↑BLEU ↑
Zero-Shot0.4670.2810.3200.6390.1500.1340.8490.4220.3433.11312.0
ICL (kk=1)0.5130.3440.4130.7570.1500.1290.9080.4340.3644.52512.0
ICL (kk=2)0.4930.3650.3930.7160.1520.1351.2500.4330.3644.04311.2
ICL (kk=4)0.5200.3880.3270.6480.1560.1401.6810.4400.3755.2307.9
RAG (kk=1)0.5200.3490.3400.6470.1570.1410.8060.4320.3594.20410.4
RAG (kk=2)0.5270.3610.3670.6510.1650.1451.4250.4610.3855.9347.6
RAG (kk=4)0.5730.4050.3270.5940.1630.1471.3040.4660.4106.0784.4
PAG (kk=0)0.5070.3700.2870.5720.1270.1090.1830.4020.3292.63112.0
PAG (kk=1)0.5670.4700.2800.5660.1420.1230.3540.3990.3402.89010.2
CFRAG (kk=4)0.6730.5330.3470.642<u>0.171</u><u>0.148</u>1.4410.4450.3835.1375.3
HYDRA-Reranker0.6130.4170.3470.6350.1600.1401.3310.4640.4015.3626.4
HYDRA-Adapter0.5270.3430.3070.6100.1430.1260.7280.4100.3283.12711.5
HYDRA<u>0.653</u>0.4480.3470.6320.1680.1471.230<u>0.468</u><u>0.405</u>5.6035.0
MoF-Reranker (ours)0.5870.4520.3200.6110.169<u>0.148</u><u>1.459</u>0.4620.4035.252<u>4.2</u>
MoF-Adapter (ours)0.5070.3360.3000.6040.152<u>0.132</u>1.1160.4190.3452.98510.5
MoF (ours)<u>0.653</u><u>0.504</u>0.3270.6270.1800.1571.1090.472<u>0.405</u>5.6433.6

Table 10. Performance on the LaMP benchmark using gpt-4o-mini-2024-07-18 as the underlying proprietary black-box LLM. Experimental settings follow Table 1, while replacing the black-box LLM used in the main experiments. Results indicate that MoF maintains strong overall performance, demonstrating robustness beyond a specific black-box model.

Sensitivity Analysis

Impact of Number of Retrieved Items

Figure 6 presents the impact of varying the number of retrieved items on personalization performance. We observe that increasing the number of retrieved items generally improves performance in both LaMP-2 and LaMP-3 up to a moderate retrieval size, while larger retrieval sizes may provide diminishing returns. For LaMP-2 in Figure 6 (a), MoF shows consistent performance improvements as the number of retrieved items increases, whereas BM25 and MoF-Reranker exhibit weaker gains or performance saturation. This trend suggests that the proposed framework benefits more from additional retrieved information. A similar trend can be observed for LaMP-3 in Figure 6 (b). Although performance slightly degrades at larger retrieval sizes, MoF maintains lower MAE and RMSE values than the baselines across different retrieval settings. These observations suggest that the proposed framework remains relatively robust under larger retrieval sizes while benefiting from richer user-history information.

Impact of the number of retrieved user-history items on personalization performance

Figure 6. Impact of the number of retrieved user-history items on personalization performance. (a) shows results on LaMP-2 and (b) shows results on LaMP-3. MoF generally benefits from additional retrieved information up to moderate retrieval sizes and maintains strong performance across different retrieval sizes.

Impact of Top-k Routing

Figure 7 presents the impact of varying the number of selected facet heads under top-kk routing while fixing the total number of facet heads to 7. We observe that performance generally improves up to a moderate routing size, while larger routing sizes provide limited additional benefits. For LaMP-3 in Figure 7 (a), MoF achieves its best performance around k=2k=2, obtaining lower MAE and RMSE values than the corresponding HYDRA variants across all settings. Similarly, for LaMP-4 in Figure 7 (b), performance reaches its highest values around k=3k=3 for both R-1 and R-L metrics. In addition, MoF achieves stronger performance than HYDRA across most routing settings. These observations suggest that selecting a moderate routing size provides a better balance between utilizing diverse preference signals and maintaining focused preference representations, which is consistent with prior MoE studies emphasizing sparse expert activation and effective expert specialization ((Zhou et al., 2022)). While activating additional facet heads may incorporate richer preference information, excessively large routing sizes may reduce the effectiveness of preference aggregation by introducing redundant or less relevant preference signals.

Impact of top-k routing on personalization performance

Figure 7. Impact of top-k routing on personalization performance while fixing the total number of facet heads to 7. (a) and (b) present results on LaMP-3 and LaMP-4, respectively. Performance varies with the number of activated facet heads, indicating the importance of routing selection in preference aggregation.

Impact of User Embedding History Length

Figure 8 presents the impact of varying the number of recent user interactions used for constructing user embeddings. We observe that increasing the history length does not consistently improve personalization performance. For LaMP-3 in Figure 8 (a), MoF achieves its strongest performance at relatively short-to-moderate history lengths, with the best results observed around 128 recent interactions. Similarly, for LaMP-4 in Figure 8 (b), performance also peaks around moderate history lengths before showing limited additional gains. Across both tasks, MoF generally maintains stronger performance than the corresponding HYDRA variants. These observations suggest that incorporating additional historical interactions does not necessarily provide proportional benefits. Prior work on sequential recommendation has shown that user representations benefit from focusing on behavior signals that are more relevant to current preferences rather than uniformly aggregating long interaction histories (Kang and McAuley, 2018). Our results exhibit a similar trend, suggesting that moderate history lengths may provide a favorable balance between preserving relevant preference information and limiting the influence of older interactions.

Impact of the number of recent user interactions used for user embedding construction on personalization performance

Figure 8. Impact of the number of recent user interactions used for user embedding construction on personalization performance. (a) and (b) present results on LaMP-3 and LaMP-4, respectively. Moderate history lengths generally provide stronger performance across tasks.

Case Study

Figure 9 presents qualitative examples from LaMP-2 to illustrate how MoF performs preference-aware personalization under the same input query. In this task, the model is asked to predict the movie tag for the same target movie from a candidate tag set, while each user provides a different interaction history. Although the target query is identical, MoF retrieves different user-history samples and assigns different preference alignment scores depending on the user’s past tagging behavior.

Case study on LaMP-2 illustrating how MoF personalizes prediction behavior for the same query

Figure 9. Case study on LaMP-2 illustrating how MoF personalizes prediction behavior for the same query. MoF selects different user-history examples and assigns distinct preference alignment scores according to each user’s tagging patterns, resulting in user-specific evidence selection and predictions.

For User 101291, MoF selects historical movies that are mostly associated with the tag “based on a book.” The selected examples are distributed across multiple regions in the history embedding space, indicating that MoF does not simply rely on local semantic similarity, but instead gathers preference-relevant evidence from diverse historical clusters. As a result, the model assigns the highest scores to the “based on a book” candidates, suggesting that the user’s previous tagging patterns provide strong evidence for this preference.

In contrast, for User 10497, MoF retrieves a different set of historical examples under the same target query. The selected histories include multiple examples associated with “comedy,” and the resulting preference scores are highest for the “comedy” candidates. This shows that MoF can adapt its prediction behavior to a different user’s preference pattern even when the input movie is unchanged. The comparison demonstrates that MoF personalizes the decision process by conditioning on user-specific historical preferences rather than producing a single globally preferred prediction.

Overall, this case study highlights two important properties of MoF. First, the cluster-based history selection encourages the model to use diverse evidence from the user’s interaction history, which helps capture heterogeneous preference signals. Second, the preference-aware routing mechanism enables different users to emphasize different latent facets, leading to user-specific score distributions and final predictions. These qualitative results support the main experimental findings that MoF can effectively model personalized preferences while avoiding user-specific scoring heads.

Prompt Templates

Following prior work (Zhuang et al., 2024; Salemi et al., 2024), we employ prompt templates throughout the framework, including black-box LLM generation and the construction of training instances for both the reranker and adapter modules. The prompts combine task-specific instructions with personalized contextual information derived from user histories. The complete prompt templates used in our experiments are illustrated in Figure 11, Figure 12, Figure 13, and Figure 14.

Prompt template used for Movie Tagging Classification (LaMP-2)

Figure 11. Prompt template used for Movie Tagging Classification (LaMP-2). The prompt incorporates retrieved user history examples together with task instructions and the target movie description.

Prompt template used for Product Rating Classification (LaMP-3)

Figure 12. Prompt template used for Product Rating Classification (LaMP-3). The prompt incorporates retrieved user history examples together with task instructions and the target review.

Prompt template used for News Headline Generation (LaMP-4)

Figure 13. Prompt template used for News Headline Generation (LaMP-4). The prompt incorporates retrieved user history examples together with task instructions and the target news article.

Prompt template used for Scholarly Title Generation (LaMP-5)

Figure 14. Prompt template used for Scholarly Title Generation (LaMP-5). The prompt incorporates retrieved user history examples together with task instructions and the target paper abstract.

Scholarly Title Generation (LaMP-5)

"Lectures on Jacques Herbrand as a Logician" is a title for "we give some lectures on the work on formal logic of jacques herbrand, and sketch his life and his influence on automated theorem proving. the intended audience ranges from students interested in logic over historians to logicians. besides the well - known correction of herbrand's false lemma by goedel and dreben, we also present the hardly known unpublished correction of heijenoort and its consequences on herbrand's modus ponens elimination. besides herbrand's fundamental theorem and its relation to the loewenheim - skolem - theorem, we carefully investigate herbrand's notion of intuitionism in connection with his notion of falsehood in an infinite domain. we sketch herbrand's two proofs of the consistency of arithmetic and his notion of a recursive function, and last but not".

and "THF0 --- The Core of the TPTP Language for Higher-Order Logic" is a title for "one of the keys to the success of the thousands of problems for theorem provers ( tptp ) problem library and related infrastructure is the consistent use of the tptp language. this paper introduces the core of the tptp language for higher - order logic - - thf0, based on church's simple type theory. thf0 is a syntactically conservative extension of the untyped first - order tptp language.".

and "DiaWoz-II: a tool for wizard-of-Oz experiments in mathematics" is a title for "we present diawoz - ii, a configurable software environment for wizard - of - oz studies in mathematics and engineering. its interface is based on a structural wysiwyg editor which allows the input of complex mathematical formulae. this allows the collection of dialog corpora consisting of natural language interleaved with non - trivial mathematical expressions, which is not offered by other wizard - of - oz tools in the field. we illustrate the application of diawoz - ii in an empirical study on tutorial dialogs about mathematical proofs, summarize our experience with diawoz - ii and briefly present some preliminary observations on the collected dialogs.".

and "Agent based mathematical reasoning" is a title for "in this contribution we propose an agent architecture for theorem proving which we intend to investigate in depth in the future. the work reported in this paper is in an early state, and by no means finished. we present and discuss our proposal in order to get feedback from the calculus community.".

Following the given patterns Generate a title for the following abstract of a paper:

Abstract We present a straightforward embedding, of quantified multimodal logic in simple type theory

References

  1. [1]Anthropic. 2026. Claude code overview. Claude Code documentation.
  2. [2]Tom Brown, Benjamin Mann, Nick Ryder, Melanie Subbiah, Jared D Kaplan, Prafulla Dhariwal, Arvind Neelakantan, Pranav Shyam, Girish Sastry, Amanda Askell, Sandhini Agarwal, Ariel Herbert-Voss, Gretchen Krueger, Tom Henighan, Rewon Child, Aditya Ramesh, Daniel Ziegler, Jeffrey Wu, Clemens Winter, and 12 others. 2020. Language models are few-shot learners. In Proceedings of the Advances in Neural Information Processing Systems (NeurIPS), pages 1877–1901.arxiv.org/abs/2005.14165
  3. [4]Hyung Won Chung, Le Hou, Shayne Longpre, Barret Zoph, Yi Tai, William Fedus, Yunxuan Li, Xuezhi Wang, Mostafa Dehghani, Siddhartha Brahma, Albert Webson, Shixiang Shane Gu, Zhuyun Dai, Mirac Suzgun, Xinyun Chen, Akanksha Chowdhery, Alex Castro-Ros, Marie Pellat, Kevin Robinson, and 16 others. 2024. Scaling instruction-finetuned language models. Journal of Machine Learning Research (JMLR), 25.
  4. [5]Gheorghe Comanici, Eric Bieber, Mike Schaekermann, Ice Pasupat, Noveen Sachdeva, Inderjit Dhillon, Marcel Blistein, Ori Ram, Dan Zhang, Evan Rosen, Luke Marris, Sam Petulla, Colin Gaffney, Asaf Aharoni, Nathan Lintz, Tiago Cardoal Pais, Henrik Jacobsson, Idan Szpektor, Nan-Jiang Jiang, and 3416 others. 2025. Gemini 2.5: Pushing the frontier with advanced reasoning, multimodality, long context, and next generation agentic capabilities. arXiv preprint arXiv:2507.06261.arxiv.org/abs/2507.06261

Paper details

vlnc:W_5k55scy8
Version
v1 · latest
Published
Fresh — added to the Hub within the last 30 days
Added
License
CC BY 4.0
Usage

views · 0

downloads · 0

A view counts once per browser per day, a download each time the PDF is requested.

  • Computer Science

Not recorded for this paper

View statement
Looking for related papers…
Contents