Manuscript Offprint
arXiv:2611.00650Heirloom: Carrying a Phone's Personalization Across Base-Model Generations
ABSTRACT
On-device language models can learn a user’s preferences through adapters trained on private data. However, a base-model upgrade may change the layers or vocabulary, leaving the personal adapter incompatible. Replacing it with a non-personal adapter loses much of the personalization, while retraining requires retaining the user’s labeled history. We present HEIRLOOM, a system that transfers a personal adapter to a new base model on the phone without retaining labels. HEIRLOOM uses the old personal model as a teacher, collecting its predictions on stored unlabeled inputs, vendor-provided prompts, or prompts generated by the new base. It then unloads the old base and trains an adapter for the new model to match those predictions, keeping only one base model in memory at a time. We evaluate HEIRLOOM across three generation upgrades from two model families, an architecture-preserving refresh, and three personalization tasks. On movie tagging, migration from stored inputs maintains pre-upgrade accuracy and differs from labeled retraining by at most 1.7 percentage points across the three upgrades. On a phone’s neural processing unit (NPU), a fixed-length migration for the 4B upgrade takes 38 minutes and consumes 20% of the battery end to end, making the stored-input setting feasible during overnight charging.
1 Introduction
An on-device language model serves its user best once it has learned that user’s habits, such as the tags they put on a film, how they title their notes and which messages are urgent. Because the data reflecting these habits is private, personalization can run on the phone. Its common form is a low-rank adapter (Hu et al., 2022), tens of megabytes of weights trained on the user’s history and applied on top of a frozen base model that the vendor ships with the operating system (OS). Phone platforms already load developer- and vendor-trained adapters on their on-device base models (Apple, 2026a; Google, 2023), and recent work trains personal adapters on the phone itself (Geyko et al., 2026; Wang et al., 2026; 2025).
However, the base model beneath a personal adapter does not remain fixed. Apple’s on-device model changed at least three times between mid-2025 and June 2026, and both its documentation and an OS-managed foundation-model proposal describe adapters as tied to a particular base-model version (Apple, 2026a;b; Yuan et al., 2024). Vendors and app developers can retrain their adapters on servers when the base changes. Unlike vendor adapters, personal adapters cannot be retrained on a server using private user data. Retraining on the phone also becomes difficult once the original labels have been discarded. Some upgrades retain the architecture and change only the base weights. Others introduce a new generation with different layers and tokenization. For example, Qwen3.5 (Qwen Team, 2026) changes the number and types of Qwen3’s layers (Yang et al., 2025a;b) and expands its vocabulary from about 152K to 248K tokens. Figure 1 illustrates why the old adapter cannot be loaded onto the new model.
¹Florida International University, Miami, FL, USA ²University of Houston, Houston, TX, USA ³University of Connecticut, Storrs, CT, USA ⁴Independent Researcher, USA ⁵NEC Laboratories America, Inc., Princeton, NJ, USA ⁶Singapore Management University, Singapore. Correspondence to: Dongsheng Luo dsluo@smu.edu.sg.
Preprint.
Heirloom: Carrying a Phone's Personalization Across Base-Model Generations

Figure 1. HEIRLOOM migrates a personal adapter across a base-model upgrade. (a) The old personal model, the user's adapter on the old base. (b) The vendor ships a new base that is incompatible with the old adapter, and retraining needs labels the phone did not keep. (c) HEIRLOOM trains the new adapter to match the old model's outputs on the stored inputs.
After an upgrade, a phone can fall back to the new vendor adapter, attempt to reuse the old personal adapter, or retrain it. Each option has a drawback. As Figure 3 shows, the new vendor adapter lacks the user's adaptation and loses substantial accuracy in our experiments. Directly copying an adapter is not possible across an incompatible generation, and even across a compatible refresh it can change many previously correct answers. Retraining restores performance but requires access to the user's labeled history at the time of every upgrade. The inputs themselves may remain available as app content, such as films or articles, while their associated choices or edits need not be retained indefinitely. Keeping those labels for future retraining works against data minimization. Moreover, preserving average accuracy is not the whole problem: an upgrade may change answers that the previous personal model got right (Echterhoff et al., 2024).
Existing adapter-transfer methods offer two broad approaches. Weight-based methods copy or transform adapter parameters between models (Khan et al., 2025; Lin et al., 2025; Cao et al., 2025; Li et al., 2025; Xia et al., 2025; Farhadzadeh et al., 2025a;b), but depend on some correspondence between their layers or modules. We evaluate one published mapping for the Phi upgrade (Li et al., 2025). In our implementation, it performs poorly even before further fine-tuning. Instead, distillation-based methods (Wang et al., 2024; Jung & Kim, 2026; Guan et al., 2026; Chen & Zhang, 2026) train a new model from an old model's outputs on retained or synthetic task inputs. FaLA (Huang et al., 2023) considers replacing an on-device personalized classifier, but uses labels to select training pairs and studies a smaller model. An upgrade may invalidate a personal adapter's weights even though the old personalized model still contains the user's learned behavior. The challenge is to transfer that behavior across base-model generations after the original labels have been discarded, within the memory and energy constraints of a phone.
We present HEIRLOOM, an on-device system that transfers learned user preferences across base-model generations by distilling the old personal model's behavior into a new adapter. Its predictions on the inputs used to train the personal adapter often reproduce the user's original labels, together with information about the teacher's confidence. A new adapter can learn from these predictions without accessing the labels themselves. When past inputs are unavailable, the teacher can instead label task prompts that the vendor provides or the new base generates. These predictions are less directly tied to the user's past choices, but still reflect the behavior of the personalized teacher. In all cases, the new adapter begins from the vendor's adapter for the new base.
Three constraints shape the design. First, different base-model generations may use different vocabularies. Therefore, HEIRLOOM transfers probabilities over task labels, or generated text for open-ended tasks. Second, the old and new bases may not fit together in phone memory. HEIRLOOM records the teacher's outputs, unloads the old model, and trains the student afterward. Third, without retained labels, the phone cannot use ordinary labeled validation to decide when to stop training. HEIRLOOM selects a training length using held-out agreement with the teacher. For movie
Heirloom: Carrying a Phone's Personalization Across Base-Model Generations
tagging with stored inputs, a fixed training length performs comparably and avoids the additional selection run.
We evaluate HEIRLOOM on three tasks from LaMP (Salemi et al., 2024): movie tagging for 19 users, product rating for 100, and headline generation for ten. We study Qwen3-1.7B to Qwen3.5-2B, Qwen3-4B to Qwen3.5-4B, and Phi-3.5-mini to Phi-4-mini, as well as an architecture-preserving refresh. Accuracy is evaluated on graphics processing units (GPUs), while two phones provide measurements of migration time, energy, and memory. On movie tagging, HEIRLOOM with stored unlabeled inputs maintains the pre-upgrade accuracy across all three generation upgrades and the refresh. Its mean accuracy is within 1.7 points of fixed-recipe retraining on the three generation upgrades, and it has fewer negative flips on the 2B and Phi upgrades. A non-personal teacher on the same inputs performs worse, indicating that the old personal model provides the useful supervision. When no inputs are retained, public and self-generated prompts recover much of the original performance but generally remain below stored inputs. On product rating, the 128-input cap reduces accuracy. Using the full unlabeled history brings HEIRLOOM closer to retraining. Although labeled retraining remains ahead on headline generation, 512 stored inputs largely preserve the old model's ROUGE-L.
The device measurements show both the feasibility and the cost of migration. On the OnePlus 15, a stored-input migration for the 4B upgrade with a fixed training length takes 38 minutes and consumes 20% of the battery end to end. Training one prompt for one epoch costs about the same as labeled retraining, but HEIRLOOM uses more epochs and takes longer overall. Selecting a training length adds another training run. With no retained history, the larger public or self-generated prompt sets further increase the time and energy required. All measured stored-input tagging migrations fit within an eight-hour charging window on the two phones, whereas some configurations with no retained inputs do not.
We summarize our contributions as follows:
-
We characterize how base-model generation changes and an architecture-preserving refresh disrupt personal adapters, measuring both per-user accuracy loss and changes to previously correct predictions.
-
We design HEIRLOOM, an on-device migration system that transfers task-level teacher supervision across model vocabularies, trains with one base model in memory at a time, and selects training length without retained user labels.
-
We evaluate HEIRLOOM across three generation upgrades from two model families, an architecture-preserving refresh, and three personalization tasks. We also analyze retention budgets, alternative prompt sources, the contribution of the personal teacher, and migration time, energy, and memory on two smartphones.
2.1 Personal adapters on the phone
Low-Rank Adaptation (LoRA) (Hu et al., 2022) leaves the base model's weights frozen. To each chosen linear layer it adds a trainable update with , and a small rank . With on every projection of Qwen3-1.7B, the adapter holds 17.4M parameters, 35 MB in 16-bit precision, against 1.7B in the base. A single base can serve many adapters, each trained where the data resides.
We consider personalization in two stages. The vendor first trains a task adapter on publicly avail-
Heirloom: Carrying a Phone's Personalization Across Base-Model Generations
Table 1. Base models of the three upgrades and the refresh, from each model's configuration. Linear-attention layers are Gated DeltaNet layers (Yang et al., 2025b).
| Model | Layers | Attn. / linear | Vocabulary |
|---|---|---|---|
| Qwen3-1.7B | 28 | 28 / 0 | 151,936 |
| Qwen3.5-2B | 24 | 6 / 18 | 248,320 |
| Qwen3-4B | 36 | 36 / 0 | 151,936 |
| Qwen3.5-4B | 32 | 8 / 24 | 248,320 |
| Phi-3.5-mini | 32 | 32 / 0 | 32,064 |
| Phi-4-mini | 32 | 32 / 0 | 200,064 |
| Qwen3-4B-Instruct-2507 | 36 | 36 / 0 | 151,936 |

Figure 2. The step from Qwen3-1.7B to Qwen3.5-2B, drawn from the configurations in Table 1. The adapter attaches to the projections of each of the old base's attention layers. The new base has fewer layers, three of every four of them linear-attention layers with other projections, and a larger vocabulary whose token ids differ. The feed-forward projections keep their shape.
able labeled examples, such as movie tags, and distributes it with the base model. We refer to this as the vendor's adapter. The phone then fine-tunes that adapter on the user's labeled history. The resulting personal adapter combines task knowledge from public data with the user's preferences.
2.2 Why upgrades disrupt adapters
From Table 1 and Figure 2, we find the Qwen3-to-Qwen3.5 upgrades change several features that an adapter depends on. The number of layers decreases, and three of every four attention layers are replaced by linear-attention layers that do not have the same query, key, and value projections. Even projections that retain their dimensions are now embedded in a different network, where their activations may no longer match those seen during personalization. Weight-mapping methods that align corresponding modules (Li et al., 2025; Xia et al., 2025; Farhadzadeh et al., 2025a;b) face missing or changed counterparts. The vocabulary expands by 63%, with different token IDs, making direct comparison of token-level outputs unsuitable without alignment.
The step from Phi-3.5-mini to Phi-4-mini, in a second model family, keeps the layer count and the width, grows the vocabulary sixfold and reorganizes the attention heads. Only some of the old adapter's matrices have a counterpart of the same shape. We evaluate this partial copy in Section 7.5.
A refresh such as Qwen3-4B to Qwen3-4B-Instruct-2507 keeps the architecture and the vocabulary and changes the weights through further training. The old adapter still loads unchanged, and we next examine whether it continues to serve the user.
2.3 The cost of losing personalization
We analyze three options available when the base changes: using the new vendor adapter, copying the old adapter where possible, and retraining from labeled history. We study personalized movie
Heirloom: Carrying a Phone's Personalization Across Base-Model Generations

Figure 3. Per-user accuracy before and after each upgrade. Crosses, the new base with the vendor's adapter, fall below the diagonal for most users. Dots, HEIRLOOM with stored inputs, lie on both sides of it. One point per user, four folds pooled.
tagging in LaMP (Salemi et al., 2024), where the model predicts one of 15 user-specific tags from a film description. Nineteen users have between 92 and 251 films each. We train personal adapters on three quarters of each user's history and evaluate on the remaining quarter, rotating the test fold four times.
Starting over with the new vendor adapter reduces accuracy. Relative to the old personal model, accuracy falls by 15.4 points on the 2B upgrade and 12.1 points on the 4B upgrade. As shown in Figure 3, the vendor adapter performs worse for 18 of 19 users on the 2B upgrade and 15 of 19 on the 4B upgrade. The task adapter alone does not preserve the individual adaptation learned on the old model.
Copying fails even where the adapter loads, because the refresh changes the weights and the update BA no longer matches the inputs each layer now receives. Across the refresh, the copied adapter is 7.2 points less accurate than the old personal model, worse for 18 of 19 users, and changes 23% of the answers the old model got right.
Retraining recovers the lost accuracy, but it requires labeled history. Fine-tuning the new vendor adapter using one learning rate and training length for all users ends 2.4 and 2.3 points above the old personal model on the two Qwen upgrades. To make this option available at each future upgrade, the phone must continue to retain the inputs together with the user's labels. Those labels record personal actions and preferences that the application may otherwise have no reason to store.
2.4 The old model as a teacher
At upgrade time, the old personal model is still available and can serve as a teacher. Knowledge distillation (Hinton et al., 2015) trains a student using the teacher's predictions without requiring labeled examples. Figure 4 shows that, on previously seen inputs, the old personal model predicts the user's labels more often than on unseen films and assigns higher confidence than on public or self-generated prompts. These observations suggest that its predictions contain information useful for recovering personalization. The remaining questions are how well that information transfers to a different base, which prompts are needed, and what the migration costs on a phone.
3 Migration Setting
Setting. At upgrade time, the phone has access to the old base and its personal adapter, as well as the new base and its vendor adapter. HEIRLOOM does not assume that both base models can fit in memory at the same time. The goal is a personal adapter for the new base whose answers serve the
Heirloom: Carrying a Phone's Personalization Across Base-Model Generations

Figure 4. The old personal model's outputs on past inputs largely reproduce the user's labels. Left, for each user, the share of stored inputs whose teacher top label is the user's tag (dots), its accuracy on unseen films (circles) and the non-personal teacher's share (crosses). Right, the teacher's top-label probability by prompt source. 2B upgrade, fold 0, 19 users.
user at least as well as the old personal model did, while nothing about the user leaves the phone.
Retention levels. We distinguish three levels of retained history. With inputs and labels, the phone can retrain the new adapter directly. This serves as our labeled reference. With inputs only, it retains past task inputs but not the associated user choices. For movie tagging, these are film descriptions without tags, with a default cap of 128. With no history retained, it has neither inputs nor labels, but it can still use task prompts distributed by the vendor or generated by the new base. Here, retained history refers only to raw task inputs and user labels. The old personal model remains available during migration at all three retention levels.
What the levels protect. These retention levels differ in the raw personal records that remain accessible to the application. Although keeping fewer records reduces the amount of stored history, it does not eliminate privacy risks. Membership-inference attacks can still target a LoRA-tuned model (Ran et al., 2025), and the personal adapter retains information learned from the user's labels. HEIRLOOM keeps the personal adapter and the teacher's outputs on the phone and deletes the temporary outputs after migration.
Metrics. We evaluate a migration by three metrics. The first is the change in the user's task accuracy relative to the old personal model, computed per user and averaged over users, so that a few users with long histories do not dominate. The second metric is the negative flip rate (Yan et al., 2021; Echterhoff et al., 2024). Among the test items the old personal model answered correctly, it is the fraction that the model after the upgrade gets wrong. The third is what a migration costs the phone in time, energy and peak memory, measured against an overnight charge, and we compare it with labeled retraining on the same phone.
4 Design
4.1 Overview
Figure 5 illustrates HEIRLOOM's two-phase migration pipeline. The phone obtains prompts from retained inputs, vendor-provided task data, or the new model, depending on what history remains. In the first phase, the old personal model produces label probabilities or text answers for these prompts. HEIRLOOM stores those outputs and unloads the old base. In the second phase, a new adapter initialized from the vendor's adapter learns to reproduce the stored outputs. When necessary, a held-out portion of the prompts determines the training length without labels. Only one base model needs to be loaded at a time. After migration, the new personal adapter replaces the old one, and the temporary teacher outputs are removed.
Heirloom: Carrying a Phone's Personalization Across Base-Model Generations

Figure 5. HEIRLOOM at a base-model upgrade. Phase 1 runs the old personal model once over the prompts available at the user's retention level and stores its outputs. Phase 2 trains a new adapter on the new base, starting from the vendor's adapter, to reproduce those outputs. The strip below shows the one base in memory at each step.
4.2 Distilling label probabilities
Closed label sets. When the task chooses among labels , such as 15 film tags, the teacher's output for a prompt is a probability for each label, 15 numbers per film. HEIRLOOM obtains them from a single forward pass. At the answer position it takes the model's score (logit) for each label's first token and normalizes over the labels:
The student computes probabilities over the same task labels using its own tokenizer and minimizes the Kullback–Leibler (KL) divergence , averaged over prompts. For movie tagging, the 15 labels have distinct first tokens in both tokenizers, which HEIRLOOM checks once per upgrade. This allows the two models to compare label probabilities without aligning their full vocabularies. At inference, both models select the label with the highest full-sequence likelihood. Standard token-level distillation compares next-token distributions and requires vocabulary alignment, which these models do not have. For labels sharing an initial token, we use the first position at which their token sequences differ, as detailed in Appendix J.
Matching the full label-probability distribution preserves more of the old model than matching only its top label. Where the user's history is ambiguous (a film the user might tag "dark comedy" or "violence"), the probabilities record how the old personal model weighs the two, and the student learns these preferences. On prompts not used for personalization, the teacher provides its own predictions, which need not reproduce the user's original labels.
Generation. When the answer is free text, such as a headline, HEIRLOOM uses sequence-level distillation (Kim & Rush, 2016). The teacher writes its answer greedily, at most 32 tokens. The student is fine-tuned on it with cross-entropy in its own tokenizer, and the generated text serves as the interface between the two vocabularies.
4.3 Prompt sources
Stored inputs. When the phone retains only inputs, HEIRLOOM uses them as prompts. A cap of stored inputs covers most users' whole history on movie tagging and truncates every history on product rating. Headline generation, with 510 to 1000 articles per user, uses a cap of .
Public prompts. With nothing kept, HEIRLOOM uses public prompts, drawn from the data the vendor's adapter was trained on and deduplicated. The public prompts contain no user-specific information, but the teacher's predictions may reflect the user's preferences.
Heirloom: Carrying a Phone's Personalization Across Base-Model Generations
Self-generated prompts. If the vendor ships no prompts, the new base generates them itself, and we call these self-generated prompts. For the 15 tags, HEIRLOOM requests 512 film descriptions from it, each fitting a given tag or tag pair. Generating them decodes up to 120 tokens per prompt, without the vendor's adapter, before phase 1.
4.4 Selecting training length without labels
Without labels, training length cannot be selected using ordinary validation accuracy. Agreement on training prompts is also unreliable because it tends to improve throughout training. HEIRLOOM instead holds out one fifth of the prompts and evaluates checkpoints after 2, 4, 8, and 16 epochs. It selects the number of epochs with the lowest held-out KL divergence, then trains a new adapter on all prompts for that length. We call the preliminary run the selection run. For headline generation, HEIRLOOM selects the training length using the negative log-likelihood of the teacher's answers on held-out prompts, with one epoch included among the candidates.
For stored-input movie tagging, Section 7.4 shows that a fixed eight-epoch run performs comparably to the selected length, allowing the phone to omit selection. Selection remains useful when longer training reduces accuracy, as with public prompts for headline generation.
4.5 Two-phase execution
To fit migration within phone memory, HEIRLOOM separates teacher inference from student training. The old personal model first produces compact task-level targets and is unloaded before the new base is loaded. For 128 movie-tagging prompts, these targets occupy only about 3.8 KB and can also be reused for training-length selection. This allows migration to proceed with one base model in memory at a time.
For prompts and final training epochs, phase 1 requires teacher forward passes and phase 2 processes training examples. Selection adds a 16-epoch run on four fifths of the prompts before the final run. Thus, the prompt cap bounds migration cost independently of the total history length. Labeled retraining processes the same number of examples per epoch but uses its own selected number of epochs: eight for the 2B upgrade and two for the 4B upgrade. When no inputs remain, HEIRLOOM instead trains on 512 prompts, compared with a median of 83 stored inputs for tagging. Self-generated prompts add up to decoded tokens and require loading the new base before the teacher phase.
5 Implementation
We implement HEIRLOOM using PyTorch, Hugging Face Transformers, and Parameter-Efficient Fine-Tuning (PEFT). Model accuracy is evaluated on NVIDIA RTX PRO 6000 GPUs, while migration time, energy, and memory are measured on phones. Two implementation details shorten the teacher pass and fit training into the phone's free memory. First, on tagging and rating the teacher pass needs only the logits at the answer position, so it costs one forward pass over the prompt, a prefill. Second, when memory runs short the student's batch is split into micro-batches with gradient accumulation, so the update is the same batch-mean loss whatever memory is free.
On the phone, HEIRLOOM uses the NPU training engine of Zheng et al. (2026) for both distillation and labeled retraining. The engine stores most frozen base weights in 8-bit form on the NPU and performs their matrix operations there, with precision exceptions described in Appendix K. LoRA parameters, the optimizer, and other operations, including the linear-attention recurrence, run on the central processing unit (CPU). Each update uses the same effective batch size of 16, learning rate, and training length as the GPU runs. We use the released Qwen3.5-2B and Qwen3.5-4B as students and the GPU-trained personal adapters as teachers. Measurements were taken on a OnePlus 15 and a OnePlus 13T, both with 16 GB of memory. Appendix K provides their detailed configurations.
Heirloom: Carrying a Phone's Personalization Across Base-Model Generations
6 Experimental Setup
All three workloads come from the public LaMP benchmark (Salemi et al., 2024) (its tasks LaMP-2M, LaMP-3 and LaMP-4), so no participants were recruited and no new data was collected.
6.1 Tagging workload
Personalized movie tagging (Salemi et al., 2024) asks which of 15 tags a user would give a film from its description. LaMP contains multiple question-history entries that may correspond to the same person. Following the overlap in these histories, we merge entries that share more than half their historical items and treat each merged group as one user. This differs from prior work that treats each entry as a separate user (Tan et al., 2024). After merging, the task contains 50 users, 20 with at least 92 films. The other 30 users contribute the 1,013 films of the public data, and we evaluate the 20 users with the most films. The largest user, with 3,190 films, 37% under one tag, and 56% of all test items, is excluded as an outlier. Appendix I reports the results for this user. The remaining 19 users have 92 to 251 films each, 2,555 in total.
Because the release has no usable dates, we randomly divide each user's films into four folds, using one fold for testing and the other three for training. We rotate the test fold across four runs. The stored inputs are randomly selected from each training history, serving as a proxy for retained records. They are at most 128, from 69 to 128 per user and fold (median 83), the whole history for 16 of the 19 users.
6.2 Generation workload
News-headline generation (Salemi et al., 2024) asks for the headline a user would write for an article. We use the 10 users with the longest histories and shuffle their articles as in tagging. The last quarter (2,328 articles in all) is the test set, the rest the history, and the stored inputs are the history's last articles. Headlines are scored by ROUGE-L F1, the longest-common-subsequence overlap with the user's own headline, on a 0 to 100 scale, as in LaMP.
6.3 Product rating
We use LaMP-3 (Salemi et al., 2024), predicting a user's rating from one to five based on a product review. After merging entries belonging to the same person, we select the 100 users with the most reviews, as detailed in Appendix J. All 100 are evaluated with the main methods, while the first 20 are evaluated with every method. For each user, 600 randomly chosen reviews are divided into four folds, leaving 450 training reviews per fold. The 128-input cap thus truncates every history. Public prompts come from 4,000 reviews written by other users, with no overlap in reviews. For self-generated prompts, the new base produces 512 reviews, roughly balanced across the five scores. We report accuracy, negative flip rate, and mean absolute error.
We evaluate an upgrade only when its old base passes the personalization-usefulness rule defined in Appendix H: an adapter trained from scratch must improve mean accuracy over the vendor adapter by at least three points and help more than half the evaluated users. The 1.7B base fails the second condition for rating, so that task is evaluated on the 4B and Phi upgrades.
6.4 Upgrades
We study three upgrades from two model families: Qwen3-1.7B to Qwen3.5-2B, Qwen3-4B to Qwen3.5-4B, and Phi-3.5-mini to Phi-4-mini. We call these the 2B, 4B, and Phi upgrades. We also study a refresh from Qwen3-4B to Qwen3-4B-Instruct-2507. Table 1 summarizes their configurations. Tagging runs on all four with the same 19 users and four folds. Product rating runs on the 4B upgrade and, for the first 20 users, on the Phi upgrade, and generation on the two Qwen upgrades.
Heirloom: Carrying a Phone's Personalization Across Base-Model Generations
6.5 Training
In our experiments, the vendor adapter is a task adapter trained on public benchmark examples to represent the adapter a vendor could distribute. All adapters use LoRA rank 16 with alpha 32. They are attached to the attention and multilayer perceptron (MLP) projections and, for Qwen3.5, to the input, gate, and output projections of the linear-attention layers. Model weights use bfloat16, and label scores use float32. We train the vendor adapter for each base and task on public data (1,013 films, 4,000 reviews, or 4,000 articles) for two epochs at a learning rate of with batches of 16. The old personal adapter is then fine-tuned on the user's history using the same recipe. Retraining on the new base uses a recipe selected by validation, whereas HEIRLOOM retains the original learning rate and selects only the number of epochs, unless otherwise stated.
Self-generated movie prompts are sampled at temperature 1 and deduplicated, with 17 descriptions per tag and 257 covering the 105 tag pairs. Some films recur across LaMP users, so public training data may contain the same film with another user's tag. This exposure is shared by all methods through their vendor adapters. The public prompts used for distillation exclude the evaluated user's items.
6.6 Baselines
Except for Copy, all methods on the new base start from the vendor adapter. The vendor-adapter baseline uses that adapter without personalization. Copy loads the old personal adapter on an architecture-compatible refresh. Retrieval follows LaMP's BM25-based approach, placing the four or eight most similar labeled history examples in the prompt.
Labeled retraining fine-tunes the new vendor adapter on the user's history. Appendix D reports the learning-rate and epoch grid used to select the fixed retraining recipe based on pooled first-fold validation accuracy, with ties favoring fewer epochs and then the lower learning rate. A separate per-user tuning baseline selects the recipe for each user and fold based on that user's other three folds. Finally, the non-personal-teacher control performs the same stored-input distillation as HEIRLOOM but uses the old base with its vendor adapter as the teacher. This isolates the contribution of the personal teacher from that of the prompts and distillation procedure.
6.7 Run-to-run noise
GPU training is not bit-reproducible, so the same retraining configuration run twice on the same user and fold can give two different test accuracies. Over the configurations we ran twice, the two runs differ by 2.35 and 2.99 points on average on tagging with the two Qwen upgrades. To account for this variability, we average performance across users and folds and pair tests by user. The vendor-adapter sensitivity analysis in Appendix C and the adapter-rank analysis in Appendix E use only the first fold. The generation workload uses one split of 10 users.
6.8 Metrics and comparisons
We compute accuracy over the test items of each user's folds and then average across users. We report the mean per-user difference relative to the old personal model and a 95% bootstrap confidence interval obtained by resampling users. Negative flip rate is the fraction of previously correct test predictions that become incorrect after an upgrade, averaged over users. We also report the cost of migration on the phone.
For our operational comparisons, we classify a method as maintaining pre-upgrade accuracy if its mean is at least -2 points, its confidence-interval lower bound is at least -4, and the sign test does not detect a loss at . We describe two methods as on par under the corresponding mean-and-interval criterion, or when a Wilcoxon test detects a gain at . These are practical decision criteria, not formal equivalence or non-inferiority tests. The criteria and three primary comparisons per upgrade were specified before computing the four-fold results. The two-point threshold is approximately one sixth to one eighth of the loss incurred by the vendor adapter on
Heirloom: Carrying a Phone's Personalization Across Base-Model Generations
Table 2. Movie-tagging accuracy and negative flip rates across three model upgrades (19 users, four folds). is the mean per-user accuracy difference from the old personal model, in percentage points. Flips is the negative flip rate (%). Dashes indicate inapplicable comparisons.
| Method | 2B upgradeQwen3-1.7B→3.5-2B | 4B upgradeQwen3-4B→3.5-4B | Phi upgradePhi-3.5→Phi-4-mini | ||||||
|---|---|---|---|---|---|---|---|---|---|
| Acc. | Flips | Acc. | Flips | Acc. | Flips | ||||
| Before the upgrade | 54.3 | 58.9 | 57.0 | ||||||
| No personalization | |||||||||
| No adapter | 19.9 | -34.5 | 75 | 34.3 | -24.5 | 53 | 26.3 | -30.8 | 62 |
| Vendor's adapter | 38.9 | -15.4 | 47 | 46.7 | -12.1 | 38 | 43.3 | -13.7 | 38 |
| Nothing kept | |||||||||
| LoRASuite mapping (Li et al., 2025) | — | — | — | — | — | — | 8.9 | -48.1 | 90 |
| Trans-LoRA filter (Wang et al., 2024) | 53.1 | -1.3 | 15 | 56.8 | -2.1 | 16 | 55.5 | -1.5 | 13 |
| TuneShift-KD filter (Guan et al., 2026) | 49.8 | -4.6 | 21 | 53.9 | -4.9 | 21 | 53.7 | -3.3 | 16 |
| Inputs and labels kept | |||||||||
| Retrieval (Salemi et al., 2024), 4 labeled examples | 38.7 | -15.7 | 47 | 49.8 | -9.1 | 33 | 48.0 | -9.0 | 30 |
| Retrieval, 8 labeled examples | 39.4 | -15.0 | 46 | 49.8 | -9.1 | 32 | 50.9 | -6.2 | 27 |
| LoRASuite, fine-tuned on 100 labels | — | — | — | — | — | — | 26.2 | -30.8 | 66 |
| Retraining, fixed recipe | 56.7 | +2.4 | 21 | 61.2 | +2.3 | 15 | 57.2 | +0.1 | 17 |
| Retraining, per-user tuning | 57.0 | +2.7 | 19 | 59.0 | +0.1 | 18 | 57.7 | +0.6 | 16 |
| Inputs kept | |||||||||
| Top-label relabeling (Chen & Zhang, 2026) | 53.3 | -1.1 | 21 | 56.2 | -2.7 | 22 | 55.0 | -2.0 | 18 |
| HEIRLOOM, stored inputs | 56.2 | +1.9 | 14 | 59.5 | +0.6 | 15 | 56.7 | -0.3 | 13 |
tagging. The tagging comparisons assess stored-input HEIRLOOM against the old model and both retraining baselines. The rating comparisons assess 128-input HEIRLOOM against the old model and retraining, and all-input HEIRLOOM against retraining. We apply Holm correction to the Wilcoxon p-values for each set of three primary comparisons and call only adjusted significant.
7 Evaluation
We evaluate whether HEIRLOOM preserves user-specific behavior across model upgrades, which design choices contribute to successful migration, and what migration costs on a phone. Our study covers three generation upgrades, an architecture-preserving refresh, three personalization tasks, multiple retention budgets and prompt sources, and two smartphones. We first examine accuracy and prediction stability, then isolate the contribution of the personal teacher and key design choices, and finally assess on-device time, energy, and memory.
7.1 Accuracy retention on movie tagging
We first evaluate how well HEIRLOOM preserves movie-tagging personalization across the three generation upgrades. Tables 2 and 3 report the accuracy results, and Figure 6 shows their differences from the old personal model.
With stored inputs but no retained labels, HEIRLOOM reaches the old personal model's mean accuracy on each of the three generation upgrades. The mean change is +1.9 points [95% confidence interval (CI): +0.6, +3.1] on the 2B upgrade, +0.6 [-1.3, +2.5] on the 4B upgrade, and -0.3 [-2.3, +1.6] on the Phi upgrade. Although the corrected test does not establish a significant gain (), 15 of 19 users improve and three decline on the 2B upgrade.
Across the three upgrades, HEIRLOOM differs from fixed-recipe retraining by at most 1.7 percentage points in mean accuracy. Relative to retraining with one fixed recipe on the full history, its differences are -0.5 [-3.3, +2.1], -1.7 [-3.8, +0.1], and -0.4 [-1.7, +0.7] points on the 2B, 4B, and Phi upgrades. Relative to per-user-tuned retraining, they are -0.8 [-3.2, +1.4], +0.5 [-2.0, +2.8],
Heirloom: Carrying a Phone's Personalization Across Base-Model Generations

Figure 6. With stored inputs and no labels, HEIRLOOM keeps the pre-upgrade accuracy on all three upgrades. Dots are the mean per-user difference to the old personal model over 19 users and four folds, bars its 95% interval. The filter baselines reported in Tables 2 and 15, together with methods outside the plotted range in Tables 2 and 3, are omitted.
Table 3. Movie-tagging results for alternative prompt sources and retention budgets (19 users, four folds). Δ and Flips are defined in Table 2. The shaded row repeats the stored-input result.
| Method | 2B upgradeQwen3-1.7B→3.5-2B | 4B upgradeQwen3-4B→3.5-4B | Phi upgradePhi-3.5→Phi-4-mini | ||||||
|---|---|---|---|---|---|---|---|---|---|
| Acc. | Δ | Flips | Acc. | Δ | Flips | Acc. | Δ | Flips | |
| Before the upgrade | 54.3 | 58.9 | 57.0 | ||||||
| Nothing kept | |||||||||
| HEIRLOOM, self-generated | 53.1 | -1.3 | 16 | 56.7 | -2.2 | 15 | 54.9 | -2.1 | 15 |
| HEIRLOOM, 128 public prompts | 53.3 | -1.0 | 16 | 56.6 | -2.2 | 16 | 54.4 | -2.6 | 14 |
| HEIRLOOM, public prompts | 53.8 | -0.5 | 14 | 58.0 | -0.9 | 13 | 55.1 | -1.9 | 13 |
| Inputs kept | |||||||||
| Non-personal teacher | 43.7 | -10.6 | 37 | 43.9 | -15.0 | 40 | 43.0 | -14.1 | 37 |
| HEIRLOOM, 32 stored inputs | 54.3 | 0.0 | 19 | 55.4 | -3.5 | 22 | 54.5 | -2.5 | 18 |
| HEIRLOOM, stored inputs | 56.2 | +1.9 | 14 | 59.5 | +0.6 | 15 | 56.7 | -0.3 | 13 |
and -0.9 [-3.0, +1.0] points. Across all three upgrades, these comparisons satisfy our predefined practical accuracy-tolerance criterion against both retraining baselines. This result matters when stored inputs overlap with the old adapter's training history. On those inputs, the teacher's output distribution retains much of the information provided by the original labels. Appendix D reports the retraining configurations.
Without retained inputs, public and self-generated prompts recover much of the old model's accuracy but generally trail stored-input distillation by 1.5–3.1 points across the three upgrades. Figure 4 shows that this gap is consistent with the stronger correspondence between the teacher's predictions and the user's original labels on stored inputs. These GPU results use training lengths selected through held-out teacher agreement. For the no-history setting, four fixed epochs reduce on-device cost but lower public-prompt accuracy by a further 0.3 and 1.5 points on the two Qwen upgrades.
7.2 The value of the personal teacher
The gain depends on using the personalized teacher. To isolate its contribution, we repeat stored-input distillation with the old base's non-personal vendor adapter as teacher, leaving the prompts and training unchanged. Table 3 shows that accuracy with the non-personal teacher falls 10.6, 15.0, and 14.1 points below the old personal model across the three upgrades. Compared with the
Heirloom: Carrying a Phone's Personalization Across Base-Model Generations

Figure 7. On the 2B and Phi upgrades, HEIRLOOM with stored inputs changes fewer of the answers the old model got right than either retraining baseline. Left bars give the negative flip rate of Tables 2 and 3, and right bars the share of the old model's wrong answers now right, averaged over 19 users and four folds.

Figure 8. Held-out selection (stars) lands within a point of the best single length. Lines show accuracy relative to the old personal model after 2 to 16 epochs on all prompts, per prompt source, averaged over 19 users and four folds.
new vendor adapter, the non-personal teacher recovers only about a third of the lost accuracy on the 2B upgrade and none on the other two. This control indicates that the teacher's learned user preferences account for most of HEIRLOOM's gain.
7.3 Preserving correct predictions
In Figure 7, HEIRLOOM preserves more of the old model's correct predictions than either retraining baseline on the 2B and Phi upgrades, while achieving a similar negative flip rate to fixed-recipe retraining on the 4B upgrade. This difference is consistent with their training objectives. Retraining learns from the user's labels, whereas HEIRLOOM matches the old model's output distribution. As a result, HEIRLOOM tends to retain both correct and incorrect decisions made before the upgrade, while retraining corrects more of the old model's previous mistakes.
7.4 Prompt and training choices
Prompt budget. With only 32 stored inputs, HEIRLOOM ends 0.0, -3.5, and -2.5 points from the old personal model, below the results with up to 128 inputs. Table 3 and Figure 6 show this prompt-budget effect. With public prompts, 512 do better than 128 on all three upgrades, because without the teacher's training inputs the student needs prompts that cover the task's inputs.
Prompt selection. Public prompts outperform the unfiltered self-generated prompts by 0.7, 1.3,
Heirloom: Carrying a Phone's Personalization Across Base-Model Generations
Table 4. Accuracy and negative flips following the Qwen3-4B refresh (19 users, four folds). is the difference from the old personal model, with 95% confidence intervals. Retraining uses eight epochs at a learning rate of
| Method | Acc. | [95% CI] | Flips |
|---|---|---|---|
| Before the upgrade | 58.9 | - | - |
| Copy the old adapter | 51.6 | -7.2 [-9.5, -5.2] | 23 |
| HEIRLOOM, stored inputs | 58.1 | -0.8 [-2.2, +0.7] | 13 |
| HEIRLOOM, self-generated | 55.7 | -3.2 [-5.2, -1.3] | 16 |
| Retraining, fixed recipe | 58.3 | -0.5 [-2.3, +1.1] | 17 |
| Vendor's adapter | 44.5 | -14.3 [-19.6, -9.6] | 37 |
and 0.2 points across the three upgrades. We also adapt the prompt-selection strategies of Trans-LoRA (Wang et al., 2024) and TuneShift-KD (Guan et al., 2026) to choose 512 prompts from 2,048 generated candidates, while keeping HEIRLOOM's distillation procedure unchanged. Relative to the corresponding unfiltered runs, Trans-LoRA filtering changes accuracy by +0.2 [-0.8, +1.1], 0.0 [-1.0, +1.2], and +0.6 [-0.7, +2.0] points, showing little difference. TuneShift-KD filtering reduces accuracy by 3.1, 2.8, and 1.2 points, respectively. The adapted filters provide no consistent improvement over the simpler public-prompt setting. Appendix G details their implementation and the candidate-pool differences affecting these comparisons.
Distillation targets. Table 2 and Figure 6 show that distilling the full label-probability distribution improves accuracy by 3.0, 3.3, and 1.8 points over using only the top label, which also causes more negative flips.
Training length. As Figure 8 shows, held-out selection approaches the best fixed training length identified retrospectively from test accuracy, with a gap of at most 0.9 points across the three upgrades. This suggests that teacher agreement can guide training length without labels. For stored-input tagging, a fixed eight-epoch run achieves nearly the same accuracy as the selected length, differing by +0.1, -0.1, and +0.9 points across the upgrades. The phone can therefore omit the additional selection run for this setting. As shown in Appendix A, selection remains useful for headline generation, where longer training can reduce accuracy.
7.5 Limits of adapter weight reuse
Even when the architecture is unchanged, copying the old adapter can lose accuracy. Across the Qwen3-4B refresh, direct copying reduces accuracy by 7.2 points and changes 23% of previously correct predictions. Direct copying reduces accuracy for 18 of the 19 users, with aggregate results reported in Table 4. HEIRLOOM with stored inputs instead differs from the old personal model by -0.8 points [-2.2, +0.7], with a 13% negative flip rate. It also differs by only -0.2 points [-1.7, +1.2] from labeled retraining. Copying the old adapter as an initialization does not improve either method: relative to starting from the vendor adapter, it changes labeled retraining by -1.0 points and HEIRLOOM by -5.1. The refresh changed the base weights and position encoding, altering the activations on which the old adapter had been trained. For this measured refresh, reproducing the old model's behavior is more effective than carrying its weights forward.
Partial weight reuse also performs poorly in the Phi upgrade. The attention-output and two feed-forward projections retain compatible shapes, but the fused query-key-value projection does not. Copying only the compatible components changes 107 of the 2,555 predictions made by the new base without an adapter and increases accuracy by just 0.3 points, leaving it 16.8 points below the vendor adapter. Using this partial copy to initialize labeled retraining or HEIRLOOM lowers accuracy by 4.5 and 4.1 points, respectively, compared with initialization from the vendor adapter.
We evaluate an implementation of LoRASuite's published mapping on the Phi upgrade (Li et al., 2025). Because its released code does not support this model pair, we implement the mapping from the paper's equations. The mapped adapter achieves 8.9% accuracy, compared with 26.3% for the
Heirloom: Carrying a Phone's Personalization Across Base-Model Generations
Table 5. Product rating on the 4B upgrade (Qwen3-4B → Qwen3.5-4B), four folds, all 100 users and the first 20. is the per-user difference in points with its 95% interval, against the old personal model and against retraining on the whole labeled history. MAE is the mean absolute error of the score. Each group's last row compares HEIRLOOM with retraining at 128 inputs each.
| Method | Acc. | [95% CI] against | Flips | MAE | |
|---|---|---|---|---|---|
| pre-upgrade | retraining | ||||
| All 100 users | |||||
| Before the upgrade | 73.8 | - | - | - | 0.28 |
| Retraining, fixed recipe | 75.1 | +1.3 [+0.8, +1.8] | - | 12 | 0.26 |
| Retraining, 128 stored inputs | 73.8 | 0.0 [-0.6, +0.5] | -1.3 [-1.7, -1.0] | 14 | 0.28 |
| HEIRLOOM, 128 stored inputs | 72.9 | -0.9 [-1.4, -0.5] | -2.2 [-2.8, -1.8] | 12 | 0.29 |
| HEIRLOOM, all inputs | 74.5 | +0.7 [+0.3, +1.0] | -0.6 [-1.0, -0.3] | 8 | 0.27 |
| Vendor's adapter | 64.0 | -9.9 [-11.8, -8.0] | -11.2 [-13.0, -9.5] | 28 | 0.40 |
| No adapter | 63.0 | -10.8 [-12.8, -9.0] | -12.1 [-14.0, -10.4] | 31 | 0.42 |
| HEIRLOOM vs. retraining, 128 inputs each | -0.9 [-1.4, -0.4] | ||||
| First 20 users | |||||
| Before the upgrade | 74.9 | - | - | - | 0.26 |
| Retraining, fixed recipe | 76.8 | +1.9 [+0.6, +3.3] | - | 10 | 0.24 |
| Retraining, 128 stored inputs | 75.2 | +0.3 [-0.8, +1.5] | -1.6 [-2.2, -0.9] | 13 | 0.26 |
| HEIRLOOM, 128 stored inputs | 74.8 | -0.1 [-1.0, +1.0] | -2.0 [-2.8, -1.1] | 10 | 0.26 |
| HEIRLOOM, all inputs | 75.8 | +0.9 [+0.1, +1.7] | -1.0 [-2.0, 0.0] | 7 | 0.25 |
| Vendor's adapter | 63.4 | -11.5 [-16.8, -6.9] | -13.4 [-18.9, -8.8] | 29 | 0.39 |
| No adapter | 62.9 | -12.0 [-17.1, -7.3] | -13.9 [-18.9, -9.4] | 31 | 0.40 |
| HEIRLOOM vs. retraining, 128 inputs each | -0.4 [-1.2, +0.5] | ||||
new base without an adapter. Fine-tuning on up to 100 labeled examples improves its accuracy to 26.2%, still below the same fine-tuning from the vendor adapter or a fresh LoRA. Appendix F examines the unusually large mapped updates underlying this result.
7.6 Product rating with limited history
We study product rating, where every user's training history is longer than the 128-input cap. On the 4B upgrade, we evaluate the main methods for all 100 users, as shown in Table 5. Appendix J provides the full baseline results for the first 20 users on the 4B and Phi upgrades. On product rating, the vendor adapter raises the new base's accuracy from 63.0% to 64.0%, while personalization provides a much larger gain. This highlights the value of preserving user-specific adaptation across upgrades.
Table 5 shows that at the 128-input cap, HEIRLOOM achieves 72.9% accuracy, 0.9 points below the old personal model and 2.2 points below retraining on the full labeled history. Retraining on the same 128 inputs with labels reaches 73.8%, leaving a 0.9-point gap attributable to the different supervision under this shared input budget. When HEIRLOOM has access to all 450 unlabeled training inputs, accuracy rises to 74.5%, 0.7 points above the old personal model and 0.6 points below full-history labeled retraining. The latter difference is small under the paper's operational criterion. The 128-input cap costs 1.6 points [1.2, 2.0] compared with all inputs. At that cap, 67 of 100 users fall below their pre-upgrade accuracy. Figure 9 shows that retaining all inputs improves accuracy for 86 of the 100 users relative to the capped version. Thus, removing labels has a modest cost when the same inputs are available, while discarding most of the inputs adds a further limitation.
The effect of the cap differs between tasks because it covers different fractions of their training histories. In movie tagging, 128 inputs include the whole history for 16 of 19 users. In product rating, the same budget covers only 28% of each user's 450 inputs, leaving the student's training set without teacher outputs for the other 72%. This difference is consistent with the 1.6-point gain from using all inputs on rating. It also indicates why accuracy results obtained when nearly the full
Heirloom: Carrying a Phone's Personalization Across Base-Model Generations

Figure 9. Product rating on the 4B upgrade, 100 users. Left, the rows of Table 5 as mean per-user differences to the old personal model with 95% intervals, its vendor's adapter and no-adapter rows below this range. Right, per user, HEIRLOOM with all stored inputs against HEIRLOOM at the 128-input cap, both relative to the old personal model.
Table 6. Headline generation on the two Qwen upgrades, 10 users. R-L is ROUGE-L F1 ×100 and Δ its difference to the old personal model. Retraining uses the user's labeled history (510 to 1000 articles), while the stored-input rows use at most 512 or 128 inputs, without labels. Best per user is each user's setting chosen on that user's test set.
| Personal data kept | Method | 1.7B → 3.5-2B | 4B → 3.5-4B | ||
|---|---|---|---|---|---|
| R-L | Δ | R-L | Δ | ||
| - | Before the upgrade | 12.66 | - | 13.41 | - |
| inputs + labels | Retraining, fixed recipe | 13.11 | +0.45 | 14.62 | +1.21 |
| Retraining, best per user | 13.35 | +0.69 | 14.76 | +1.35 | |
| inputs | HEIRLOOM, 512 stored | 12.31 | -0.35 | 13.63 | +0.22 |
| HEIRLOOM, 128 stored | 11.61 | -1.05 | 13.38 | -0.03 | |
| nothing | HEIRLOOM, public | 12.12 | -0.55 | 13.33 | -0.08 |
| - | Non-personal teacher | 10.80 | -1.86 | 12.27 | -1.14 |
| Vendor's adapter | 11.07 | -1.59 | 12.11 | -1.30 | |
| No adapter | 7.66 | -5.00 | 9.00 | -4.41 | |
history is retained should not automatically be extrapolated to longer histories. The three primary comparisons for the first 20 users are within one point of the corresponding 100-user results in Table 5.
As reported in Appendix J, the 128-input HEIRLOOM model on the Phi upgrade is 1.0 point [-2.2, +0.1] below the old personal model and 1.6 points [-2.4, -0.8] below full-history retraining for the first 20 rating users. Unlike the 4B rating upgrade, the Phi vendor adapter provides a larger improvement over the new base without an adapter, with a mean gain of 7.9 points [0.0, 15.8].
7.7 Headline generation and retraining
As shown in Table 6, HEIRLOOM preserves much of the old personal model's performance on both Qwen headline-generation upgrades by distilling its generated text. The old personal model exceeds the vendor adapter by 1.6 and 1.3 ROUGE-L points. With 512 stored inputs, HEIRLOOM recovers 78% of this personalization gain on the 2B upgrade and 117% on the 4B upgrade, slightly exceeding the old personal model on the latter. Appendix A reports smaller gains with 128 stored inputs or public prompts. Distilling the non-personal teacher instead produces results close to the
Heirloom: Carrying a Phone's Personalization Across Base-Model Generations

Figure 10. Headline generation, ROUGE-L relative to the old personal model against training epochs on all prompts, 10 users. Lines are the cells of Table 8, HEIRLOOM by prompt set and teacher, and retraining at its recipe's learning rate. Stars are the held-out selection for 512 stored inputs. Each value subtracts the old personal model's R-L of Table 6.
vendor adapter.
Retaining the original labels offers a further advantage on headline generation. Retraining uses each user's full labeled history of 510–1,000 articles, while HEIRLOOM uses at most 512 inputs. With the fixed recipe selected across other users (1 epoch at ), retraining improves on the old model by 0.45 [0.16, 0.77] and 1.21 [0.60, 1.78] ROUGE-L points. It exceeds the 512-input HEIRLOOM model by 0.80 [0.43, 1.15] and 0.99 [0.56, 1.34] points on the two upgrades, respectively, with a gain for nine of the ten users in each. Figure 10 shows that retraining and public-prompt distillation can deteriorate with additional epochs, whereas stored-input distillation is comparatively stable. Thus, stored-input migration largely reproduces the old model's behavior, but labeled retraining can improve on it.
We tested whether transferring more of the teacher's output distribution narrows the headline-generation gap. Appendix B reports that adding universal logit distillation (Boizard et al., 2025) to the 512-input text-distillation objective changes ROUGE-L by +0.25 [-0.39, +0.91] and -0.05 [-0.54, +0.50] points on the two upgrades. We observe no clear improvement in these experiments. For this open-ended task, generated teacher text preserves much of the old model's behavior, but not necessarily the additional information available from the user's original labels.
7.8 Cost on the phone
We measure migration costs on the OnePlus 15 for both Qwen upgrades and on the OnePlus 13T for the 2B upgrade. Table 7 summarizes the main measurements, and Appendix K details the measurement conditions. The timed runs use a charger, a screen-off phone, and an external cooling fan. Except for the end-to-end measurements, energy is estimated from per-token measurements on battery with idle consumption subtracted. Battery-share values represent charge consumption relative to the device's full capacity, so values above 100% indicate multiple full-charge equivalents. We also measure one 4B migration and a labeled-retraining run end to end on battery. We measure one 4B migration and a labeled-retraining run end to end on battery. The Phi upgrade is not included in device measurements because the training engine has not been validated for its fused query-key-value projections and partial rotary position encoding.
As shown in Figure 11, all measured stored-input tagging migrations fit within an eight-hour charging window on both phones. A distillation epoch and a labeled-retraining epoch have similar costs: 271 versus 303 seconds on the 4B upgrade and 150 seconds for both on the 2B upgrade. Per-token energy is comparable. The overall difference comes from training length. With a fixed eight epochs, migration takes 1.05 times as long as retraining on the 2B upgrade and 3.7 times as long on the 4B upgrade. Including the selection run increases these ratios to 3.6 and 7.0. The selection run
Heirloom: Carrying a Phone's Personalization Across Base-Model Generations
Table 7. Cost of one migration on the OnePlus 15 for the user with the median number of stored inputs (83). Phase 1 is the old personal model's teacher pass and phase 2 the training of the new adapter on the new base. Minutes are measured on the charger, and energy is in kJ and as a share of the battery. is the accuracy at the fixed length minus that at the selected length, from the GPU runs.
| Method | Minutes | Tokens/sphase 2 | Energy | Peak memory(GB) | ||||
|---|---|---|---|---|---|---|---|---|
| Phase 1 | Phase 2 | Total | kJ | % battery | ||||
| 2B upgrade, Qwen3-1.7B → Qwen3.5-2B | ||||||||
| Stored inputs, selected length | 1.0 | 71.8 | 72.7 | 77 | 29.3 | 30 | 2.6 | - |
| Stored inputs, 8 epochs | 1.0 | 20.0 | 21.0 | 77 | 8.3 | 8.6 | 2.6 | +0.1 |
| Retraining with labels | - | 20.0 | 20.0 | 79 | 8.2 | 8.5 | 2.5 | - |
| 4B upgrade, Qwen3-4B → Qwen3.5-4B | ||||||||
| Stored inputs, selected length | 1.5 | 69.9 | 71.4 | 41 | 30.7 | 33 | 3.3 | - |
| Stored inputs, 8 epochs | 1.5 | 36.2 | 37.8 | 43 | 16.7 | 18 | 3.6 | -0.1 |
| measured end to end | - | - | - | - | 19.4 | 20 | - | - |
| Retraining with labels | - | 10.1 | 10.1 | 39 | 4.1 | 4.5 | 3.4 | - |
| measured end to end | - | - | - | - | 4.9 | 5.3 | - | - |
| Public prompts, 4 epochs | 9.1 | 116.7 | 125.8 | 42 | 54.8 | 60 | 3.6 | -1.5 |
| Self-generated prompts, 4 epochs | 10.3 | 127.3 | 137.6 | 45 | 63.8 | 69 | 3.6 | -0.4 |
| Public prompts, selected length | 9.1 | 879.5 | 888.6 | 40 | 371.9 | 404 | 4.1 | - |
accounts for 45% and 85% of the measured selected-length migration time, respectively. As shown in Section 7.4, the fixed eight-epoch setting avoids this overhead on stored-input movie tagging with little change in accuracy.
Table 20 shows that on the OnePlus 13T, stored-input migration for the 2B upgrade draws 26% of the battery at a fixed length and 91% with selection. Retraining takes 21 minutes and 26% of the battery. The 13T draws 0.173 J per training token against 0.086 on the OnePlus 15.
Measured end to end on battery, the 4B upgrade's migration from stored inputs at a fixed 8 epochs takes 38 minutes and draws 20% of the battery (19.4 kJ, Figure 12). End to end means from the start of the teacher pass until the next job begins, idle draw and fixed overheads included. We measured a labeled retraining run the same way immediately afterward, and it drew 5.3%. The fixed overheads and the run without the fan are in Appendix K.
Keeping no task history increases migration cost. On the 4B upgrade, 512 public or self-generated prompts require about 6.3 times as many training tokens per epoch as the median user's stored inputs. At four fixed epochs, the estimated charge consumption is 60% for public prompts and 69% for self-generated prompts. Their GPU accuracy is 1.5 and 0.4 points below the selected-length result, respectively. Adding held-out selection to public prompts raises the estimated running time to 14.8 hours, beyond a single eight-hour charging window. For the measured no-history configuration, HEIRLOOM uses four fixed epochs to limit the device cost.
The 4B upgrade illustrates why two-phase execution is needed. During student training, the new base occupies 4.7 GB of NPU weights, and the phone's available memory falls from 9.4 GB at idle to 2.2 GB. As Figure 12 shows, the available memory is smaller than the old base's 3.9 GB of weights, so keeping both bases resident would exceed the memory available in this configuration. Instead, phase 1 stores only 30 bytes per movie-tagging prompt, or ten bytes per rating prompt, before unloading the teacher. On the 2B upgrade, both bases could fit under the measured conditions, but the sequential design also works there. Table 7 reports peak trainer-process resident memory of 2.6 and 3.6 GB for the stored-input configurations of the two upgrades, respectively.
The phone's phase 1 reproduces the GPU teacher's label probabilities to a mean KL divergence of at most 0.0022 per teacher, over the 24 old personal models run on the phones. Of the 28 adapters we trained on the phones, at the selected length or with the retraining recipe, 16 predict every test item exactly as the GPU run of the same user and fold. All of them together agree with the GPU on 891 of 919 items. Appendix L reports that the two phones, with different NPUs, train bit-identical
Heirloom: Carrying a Phone's Personalization Across Base-Model Generations

Figure 11. On the two phones, every measured migration from stored inputs fits in an 8-hour overnight charge. Left, minutes on the charger, as phase 1, selection run and final training. Right, the energy from the per-token rates, idle draw subtracted, as a share of the battery. Bars cut at the axis end continue in Tables 7 and 20.
adapters in all four configurations run on both, and that reruns on one phone are also bit-identical.
8 Discussion
Running HEIRLOOM on the phone. A platform could schedule migration while the phone is charging and replace the old personal adapter after training completes. Because HEIRLOOM saves the teacher's outputs before unloading the old base, an interrupted student-training phase can restart without repeating the teacher pass. A deployment would need to coordinate migration with model installation and the phone's normal workload.
Implications for platforms. To use HEIRLOOM, a platform would need to retain the old base long enough to produce teacher outputs and make the new task adapter available before migration. The experiments suggest that the initialization of the vendor adapter matters. Appendix C shows that, in first-fold comparisons, starting from the previous recipe or an adapter tuned for public-data accuracy changes the absolute results, but does not systematically widen the gap between HEIRLOOM and labeled retraining.
Retrieval instead of an adapter. A system can personalize the new model by placing labeled history examples in each prompt, avoiding adapter migration. Previous LaMP results with larger models show that retrieval can outperform per-user fine-tuning (Salemi & Zamani, 2025). However, retrieval requires retaining the labels and increases the context processed at every request. In our tagging experiments, Table 2 shows that using eight similar labeled films leaves the new model 6.2–15.0 points below the old personal model. Stored-input migration comes much closer without retaining labels. Retrieval remains complementary to a migrated adapter when labeled examples are available.
Closed label sets and open generation. Task format affects the supervision available for migration. For closed-set tasks, label probabilities preserve the teacher's relative preferences among alternative answers. For open-ended generation, a generated response provides a narrower supervision target. This distinction is consistent with the headline-generation results, where HEIRLOOM retains much of the old model's performance while full-history labeled retraining achieves further gains.
Teacher quality and history coverage. Migration quality depends on the personalization
Heirloom: Carrying a Phone's Personalization Across Base-Model Generations

Figure 12. The 4B stored-input migration on the OnePlus 15 at a fixed eight epochs, followed by labeled retraining, was measured end to end on battery. Table 7 reports the corresponding values. Top, the charge counter as a share of the full charge. Bottom, available memory from each job's step log, with the idle reading and the old base's weights marked.
learned by the old model and the retained inputs available at upgrade time. On product rating, using the full unlabeled history improves accuracy by 1.6 points over the 128-input cap. This result highlights a practical trade-off between retained history, migration accuracy, and device computation.
Evaluation scope and future deployment. Our evaluation characterizes personalization retention on LaMP user histories using GPU-trained personal models, with migration costs and prediction agreement on two phones. These results establish the behavior and resource requirements of the evaluated upgrades and provide a basis for studying time-ordered histories and successive model generations.
9 Related Work
Weight-based adapter transfer. Prior work reuses or transforms adaptation weights between models. PortLLM (Khan et al., 2025), task-vector approaches (Huang et al., 2024b; Cao et al., 2025; Lin et al., 2025), and other weight-space transfers assume conditions under which parameter updates remain meaningful across models. Cross-LoRA (Xia et al., 2025), LoRASuite (Li et al., 2025), LoRA-X (Farhadzadeh et al., 2025a), ProLoRA (Farhadzadeh et al., 2025b) and TransFusion (Rinaldi et al., 2025) align layers, heads, or subspaces. LoRASuite also fine-tunes the mapped adapter with task data. Other approaches, including Trans-PEFT (Gu et al., 2025), Portable Reward Tuning (Chijiwa et al., 2025), and CAR-LoRA (Khan et al., 2026), change training so adapters are more portable across later model changes. Recyclable Tuning (Qin et al., 2023) reuses or distills previous adaptations during continued pretraining. HEIRLOOM does not depend on transferring adapter weights or preparing the original personal adapter for a future upgrade.
Distillation-based transfer. Trans-LoRA (Wang et al., 2024), TiTok (Jung & Kim, 2026) and TuneShift-KD (Guan et al., 2026) use synthetic examples and teacher predictions to transfer fine-tuned models. Their prompt generation or filtering may depend on seed examples, auxiliary models, or task-specific training. UpgradeBench (Chen & Zhang, 2026) studies model-specialist upgrades across successive Qwen generations and finds that relabeling retained inputs can approach retraining with gold labels. FaLA (Huang et al., 2023) transfers a personalized on-device classifier to a new encoder, but selects training pairs using labels and evaluates smaller models. HEIRLOOM examines the complementary system setting of one user's billion-parameter personal model on a phone after the labels have been discarded.
Heirloom: Carrying a Phone's Personalization Across Base-Model Generations
Knowledge distillation. Standard distillation matches a teacher's output distribution (Hinton et al., 2015), while sequence-level distillation uses generated text (Kim & Rush, 2016). Learning without Forgetting (Li & Hoiem, 2018) uses teacher predictions to retain older behavior. Born-again networks (Furlanello et al., 2018) show that a student can match or exceed a teacher when trained on its training examples. FedMD (Li & Wang, 2019) and FedDF (Lin et al., 2020) distill across model architectures using shared public data, and data-free distillation (Chen et al., 2019) uses generated inputs. Universal logit distillation (Boizard et al., 2025) compares sorted next-token distributions across tokenizers. HEIRLOOM applies these ideas at task-answer level: label probabilities for closed-set tasks and generated text for open-ended tasks, so the two base models need not share a vocabulary.
On-device personalization. EchoPFL (Li et al., 2024) coordinates asynchronous personalization across mobile devices, and DAPPER (Gong et al., 2023) estimates personalized-model accuracy without labels. For language models, XPerT (Wang et al., 2025) selects a suitable model from other users to accelerate on-device adaptation. EdgeTune (Wang et al., 2026) tests whether an adapter can be reused across model versions or requires returning with retained labels. Its weight-based test presumes comparable parameter shapes. Phones have been used to fine-tune billion-parameter models (Geyko et al., 2026) and perform NPU-based editing (Lu et al., 2026). M4 (Yuan et al., 2024) proposes an OS-managed foundation-model interface with task adapters and recognizes that adapters are version-specific. HEIRLOOM addresses the point at which an already personalized adapter must be moved to a different base while its original labels are no longer stored.
Regression-free model updates. Backward-compatible representation learning (Shen et al., 2020) and Positive-Congruent Training (Yan et al., 2021) study how model updates can preserve useful earlier behavior. The latter introduces negative flip rate as a measure of newly incorrect predictions. MUSCLE (Echterhoff et al., 2024) uses distillation with labeled data to reduce these flips, and self-synthesized rehearsal (Huang et al., 2024a) generates additional examples for maintaining past behavior. We use negative flip rate to assess the user-facing stability of personalization after an upgrade.
Per-user personalization of language models. LaMP (Salemi et al., 2024) and LongLaMP (Kumar et al., 2024) provide tasks with per-user histories for classification and generation. OPPU (Tan et al., 2024) combines a personal adapter with retrieval, and comparisons of retrieval with parameter-efficient fine-tuning show that their relative benefits depend on task and history size (Salemi & Zamani, 2025). Our work focuses on a different stage of the personalization lifecycle: preserving a previously trained per-user adapter when the underlying base model is replaced.
10 Conclusion
A base-model upgrade can leave a phone's personalized adapter unusable, even though the old personal model still reflects the user's preferences. HEIRLOOM preserves this information by recording the old model's predictions and training an adapter for the new base to reproduce them, without retaining labels or loading both bases into memory together. Across three generation upgrades and an architecture-preserving refresh, stored-input migration maintains the old model's mean accuracy on movie tagging and performs close to labeled retraining. On product rating, access to more of the unlabeled history improves the result, while on headline generation, distillation preserves the old model's performance but does not match the further gains from retraining with labels. On the OnePlus 15, a fixed-length 4B migration takes 38 minutes and consumes 20% of the battery end to end. The results also make the trade-off clear: retaining fewer inputs can reduce migration accuracy or require more device computation. These results demonstrate a practical path for preserving on-device personalization across base-model generations, even when the user's original labels are no longer available.
Heirloom: Carrying a Phone's Personalization Across Base-Model Generations
References
Apple. Foundation models adapter training. https://developer.apple.com/apple-intelligence/foundation-models-adapter/, 2026a.
Apple. Foundation models updates. https://developer.apple.com/documentation/updates/foundationmodels, 2026b.
Boizard, N. et al. Towards cross-tokenizer distillation: the universal logit distillation loss for LLMs. Transactions on Machine Learning Research (TMLR), 2025.
Cao, S., Wu, M., Prasad, K., Tian, Y., and Liu, Z. ParamΔ for direct mixing: Post-train large language model at zero cost. In International Conference on Learning Representations, volume 2025, pp. 48384–48403, 2025.
Chen, H., Wang, Y., Xu, C., Yang, Z., Liu, C., Shi, B., Xu, C., Xu, C., and Tian, Q. Data-free learning of student networks. In 2019 IEEE/CVF International Conference on Computer Vision (ICCV), pp. 3513–3521. IEEE, 2019.
Chen, Y. and Zhang, W. UpgradeBench: A decision-centric benchmark for upgrading fine-tuned LLM specialists, 2026. arXiv:2608.20918.
Chijiwa, D. et al. Portable reward tuning: Towards reusable fine-tuning across different pretrained models. In International Conference on Machine Learning (ICML), 2025.
Echterhoff, J. M., Faghri, F., Vemulapalli, R., Hu, T.-Y., Li, C.-L., Tuzel, O., and Pouransari, H. Muscle: A model update strategy for compatible llm evolution. In Findings of the Association for Computational Linguistics: EMNLP 2024, pp. 7320–7332, 2024.
Farhadzadeh, F. et al. LoRA-X: Bridging foundation models with training-free cross-model adaptation. In International Conference on Learning Representations (ICLR), 2025a.
Farhadzadeh, F. et al. Zero-shot adaptation of parameter-efficient fine-tuning in diffusion models. In International Conference on Machine Learning (ICML), 2025b. arXiv:2506.04244.
Furlanello, T., Lipton, Z. C., Tschannen, M., Itti, L., and Anandkumar, A. Born again neural networks. In International Conference on Machine Learning (ICML), pp. 1607–1616, 2018.
Geyko, A., Mosbach, M., and Brinkmann, A. Fine-tuning a 3b-parameter llm on a smartphone: Characterizing sustained training. arXiv preprint arXiv:2610.06325, 2026.
Gong, T., Kim, Y., Orzikulova, A., Liu, Y., Hwang, S. J., Shin, J., and Lee, S.-J. Dapper: Label-free performance estimation after personalization for heterogeneous mobile sensing. Proceedings of the ACM on Interactive, Mobile, Wearable and Ubiquitous Technologies, 7(2):1–27, 2023.
Google. A new foundation for AI on Android. Android Developers Blog, https://android-developers.googleblog.com/2023/12/a-new-foundation-for-ai-on-android.html, 2023.
Gu, N. et al. Adapt once, thrive with updates: Transferable parameter-efficient fine-tuning on evolving base models. In Annual Meeting of the Association for Computational Linguistics (ACL), 2025. arXiv:2506.06844.
Guan, Y., Ohene-Agyei, J., Kwan, D., Dandurand, J. S., Zhang, Y., and Vijaykumar, N. TuneShift-KD: Knowledge distillation and transfer for fine-tuned models, 2026. arXiv:2603.24518.
Hinton, G., Vinyals, O., and Dean, J. Distilling the knowledge in a neural network. arXiv preprint arXiv:1503.02531, 2015.
Heirloom: Carrying a Phone's Personalization Across Base-Model Generations
Hu, E. J., Shen, Y., Wallis, P., Allen-Zhu, Z., Li, Y., Wang, S., Wang, L., and Chen, W. LoRA: Low-rank adaptation of large language models. In International Conference on Learning Representations (ICLR), 2022.
Huang, J. et al. Mitigating catastrophic forgetting in large language models with self-synthesized rehearsal. In Annual Meeting of the Association for Computational Linguistics (ACL), 2024a.
Huang, S., Qu, L., Yuan, X., and Chen, C. Fala: Fast linear adaptation for replacing backbone models on edge devices. In Findings of the Association for Computational Linguistics: EMNLP 2023, pp. 4874–4885, 2023.
Huang, S.-C. et al. Chat vector: A simple approach to equip LLMs with instruction following and model alignment in new languages. In Annual Meeting of the Association for Computational Linguistics (ACL), 2024b.
Jung, C. and Kim, J. TiTok: Transfer token-level knowledge via contrastive excess to transplant LoRA. In International Conference on Learning Representations (ICLR), 2026. arXiv:2510.04682.
Khan, R. M. S., Tan, Z., Zhang, R., Wei, H., Chen, T., and Fleming, C. CAR-LoRA: Training compression-aware and robust LoRA adapters for evolving LLMs. In International Conference on Learning Representations (ICLR), 2026.
Khan, R. M. S. et al. PortLLM: Personalizing evolving large language models with training-free and portable model patches. In International Conference on Learning Representations (ICLR), 2025.
Kim, Y. and Rush, A. M. Sequence-level knowledge distillation. In Conference on Empirical Methods in Natural Language Processing (EMNLP), 2016.
Kumar, I., Viswanathan, S., Yerra, S., Salemi, A., Rossi, R. A., Dernoncourt, F., Deilamsalehy, H., Chen, X., Zhang, R., Agarwal, S., et al. Longlamp: A benchmark for personalized long-form text generation. arXiv preprint arXiv:2407.11016, 2024.
Li, D. and Wang, J. Fedmd: Heterogenous federated learning via model distillation. arXiv preprint arXiv:1910.03581, 2019.
Li, X., Liu, S., Zhou, Z., Guo, B., Xu, Y., and Yu, Z. Echopfl: Asynchronous personalized federated learning on mobile devices with on-demand staleness control. Proceedings of the ACM on Interactive, Mobile, Wearable and Ubiquitous Technologies, 8(1):41:1–41:22, 2024.
Li, Y., Meng, F., Zhang, M., Zhu, S., Wang, S., and Xu, M. LoRASuite: Efficient LoRA adaptation across large language model upgrades. In Advances in Neural Information Processing Systems (NeurIPS), 2025. arXiv:2505.13515.
Li, Z. and Hoiem, D. Learning without forgetting. IEEE transactions on pattern analysis and machine intelligence, 40(12):2935–2947, 2018.
Lin, P.-J. et al. Efficient model development through fine-tuning transfer. In Conference on Empirical Methods in Natural Language Processing (EMNLP), 2025.
Lin, T., Kong, L., Stich, S. U., and Jaggi, M. Ensemble distillation for robust model fusion in federated learning. In Advances in Neural Information Processing Systems (NeurIPS), pp. 2351–2363, 2020.
Lu, Z., Xu, D., Cai, D., Li, Z., Liu, W., Luan, J., Liu, F., Wang, S., and Xu, M. MobiEdit: Resource-efficient knowledge editing for personalized on-device LLMs. In International Conference on Learning Representations (ICLR), 2026.
Qin, Y. et al. Recyclable tuning for continual pre-training. In Findings of the Association for Computational Linguistics (ACL), 2023.
Heirloom: Carrying a Phone's Personalization Across Base-Model Generations
Qwen Team. Qwen3.5: Towards native multimodal agents. https://qwen.ai/blog?id=qwen3.5, February 2026.
Ran, D., He, X., Cong, T., Wang, A., Li, Q., and Wang, X. Lora-leak: Membership inference attacks against lora fine-tuned language models. arXiv preprint arXiv:2507.18302, 2025.
Rinaldi, F. et al. Update your transformer to the latest release: Re-basin of task vectors. In International Conference on Machine Learning (ICML), 2025.
Salemi, A. and Zamani, H. Comparing retrieval-augmentation and parameter-efficient fine-tuning for privacy-preserving personalization of large language models. In Proceedings of the 2025 International ACM SIGIR Conference on Innovative Concepts and Theories in Information Retrieval (ICTIR), pp. 286–296, 2025.
Salemi, A., Mysore, S., Bendersky, M., and Zamani, H. LaMP: When large language models meet personalization. In Annual Meeting of the Association for Computational Linguistics (ACL), 2024.
Shen, Y., Xiong, Y., Xia, W., and Soatto, S. Towards backward-compatible representation learning. In IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), 2020.
Tan, Z. et al. Democratizing large language models via personalized parameter-efficient fine-tuning. In Conference on Empirical Methods in Natural Language Processing (EMNLP), 2024.
Wang, H., Yang, B., Yin, X., and Gao, W. Never start from scratch: Expediting on-device llm personalization via explainable model selection. In Proceedings of the 23rd Annual International Conference on Mobile Systems, Applications and Services, pp. 154–168, 2025.
Wang, R. et al. Trans-LoRA: Towards data-free transferable parameter efficient finetuning. In Advances in Neural Information Processing Systems (NeurIPS), 2024.
Wang, Z., Khan, R. M. S., Chen, T., and Nirjon, S. Edgetune: Efficient on-device llm personalization at the edge. In Proceedings of the 2026 ACM/IEEE International Conference on Embedded Artificial Intelligence and Sensing Systems (Sensys), pp. 421–437, 2026.
Xia, F., Liao, M., Fang, Y., Li, D., Xie, Y., Li, W., Li, Y., Xia, D., and Huang, J. Cross-lora: A data-free lora transfer framework across heterogeneous llms. arXiv preprint arXiv:2508.05232, 2025.
Yan, S., Xiong, Y., Kundu, K., Yang, S., Deng, S., Wang, M., Xia, W., and Soatto, S. Positive-congruent training: Towards regression-free model updates. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pp. 14299–14308, 2021.
Yang, A., Li, A., Yang, B., Zhang, B., Hui, B., Zheng, B., Yu, B., Gao, C., Huang, C., Lv, C., et al. Qwen3 technical report. arXiv preprint arXiv:2505.09388, 2025a.
Yang, S., Kautz, J., and Hatamizadeh, A. Gated delta networks: Improving Mamba2 with delta rule. In International Conference on Learning Representations (ICLR), 2025b.
Yuan, J., Yang, C., Cai, D., Wang, S., Yuan, X., Zhang, Z., Li, X., Zhang, D., Mei, H., Jia, X., et al. Mobile foundation model as firmware. In Proceedings of the 30th Annual International Conference on Mobile Computing and Networking, pp. 279–295, 2024.
Zheng, X., Cheng, W., Chen, Z., Xu, D., Sha, M., Ni, J., and Luo, D. First-order lora training with phone npus. arXiv preprint arXiv:2610.24816, 2026.
Heirloom: Carrying a Phone's Personalization Across Base-Model Generations: Appendix
A Training-length selection for generation
Table 8 reports the training-length results for headline generation and the retraining grid. Unlike tagging, generation does not use a separate validation run for each user. Instead, we select the retraining configuration that achieves the highest mean ROUGE-L on the other nine users. This procedure selects one epoch at a learning rate of 10-4 on both upgrades. Selecting a configuration on each user's own test set would improve the score by only 0.24 and 0.14 points, compared with 3.0 and 1.6 points on tagging. This smaller gain is consistent with the lower run-to-run variation in ROUGE-L: two retraining runs at 10-4 for two epochs differ by 0.20 and 0.26 points per user on the two upgrades, compared with 2.35 and 2.99 points per user and fold on tagging.
Table 8. Headline generation, ROUGE-L F1 ×100 over 10 users at every training length (epochs). Distillation rows show the run on all prompts at each checkpoint, with a superscript counting the users for whom held-out selection picked that length. Retraining rows show every learning rate and length run. lr denotes learning rate.
| Row | Pair | 1 | 2 | 4 | 8 | 16 |
|---|---|---|---|---|---|---|
| HEIRLOOM, 512 stored | 2B | 12.31 | 12.37 | 12.18 | 12.18 | 12.32 |
| 4B | 13.63 | 13.64 | 13.51 | 13.76 | 13.35 | |
| HEIRLOOM, 128 stored | 2B | 11.52 | 12.03 | 11.74 | 11.79 | 11.67 |
| 4B | 13.34 | 13.44 | 12.75 | 12.73 | 12.98 | |
| HEIRLOOM, public | 2B | 12.12 | 11.74 | 11.56 | 11.40 | 11.17 |
| 4B | 13.33 | 12.63 | 12.88 | 12.85 | 12.53 | |
| Non-personal teacher | 2B | 10.89 | 10.72 | 10.53 | 10.62 | 10.66 |
| 4B | 12.27 | 12.43 | 12.13 | 12.16 | 12.46 | |
| Retraining, lr | 2B | 12.89 | 12.94 | |||
| 4B | 14.36 | 14.01 | ||||
| Retraining, lr | 2B | 13.11 | 12.45 | 11.01 | 11.21 | |
| 4B | 14.62 | 13.85 | 12.43 | 12.71 | ||
| Retraining, lr | 2B | 12.15 | 10.74 | 10.87 | ||
| 4B | 13.37 | 12.07 | 12.35 | |||
| Retraining, lr | 2B | 10.44 | 9.59 | 9.39 | ||
| 4B | 11.49 | 9.65 | 8.88 |
Short training is generally preferable for headline generation. In an initial grid of 2, 4, 8, and 16 epochs, held-out selection chose the shortest length for every user, so we added a one-epoch checkpoint. With this expanded grid, one epoch was selected for 28 and 29 of the 30 user-prompt-set combinations on the two upgrades. Each user contributes three prompt sets: up to 512 stored inputs, 128 stored inputs, and 512 public prompts. Retraining at 10-4 loses 2.1 and 2.2 ROUGE-L points when extended from one to four epochs. The recipe used to train the original personal adapter (two epochs at ) performs worse after the upgrade, scoring 12.15 and 13.37 compared with the pre-upgrade scores of 12.66 and 13.41.
The effect of training length depends on the prompt source. One epoch gives the highest mean score among the five checkpoints for public prompts on both upgrades. With 512 stored inputs, scores vary by at most 0.2 and 0.4 points across one to 16 epochs. With 128 stored inputs, two epochs outperform one on both upgrades. In particular, on the 2B upgrade, held-out selection chooses one epoch for most users even though its mean score is 11.52, below the 12.03 achieved at two epochs. Thus, while held-out selection usually favors short training on generation, it does not always identify the best length for a smaller stored-input set.
B Universal logit distillation on headline generation
Table 9 compares text-only distillation with universal logit distillation (ULD) (Boizard et al., 2025) on headline generation. We add the ULD loss to the same text-distillation procedure, using the published weight and, on the 2B upgrade, also . To preserve HEIRLOOM's two-
Heirloom: Carrying a Phone's Personalization Across Base-Model Generations: Appendix
Table 9. Universal logit distillation (ULD) on headline generation, ROUGE-L F1 ×100, 10 users. The rows are HEIRLOOM's text distillation from at most 512 stored inputs, rerun for this comparison, and the same with the ULD term at weight λ. Δ is the difference to the old personal model and, with its 95% interval, to the raw-text row. Epochs chosen counts the users for whom held-out selection picked each length.
| Method | R-L | Δ | Δ to raw text [95% CI] | Epochs chosen (users) | ||||
|---|---|---|---|---|---|---|---|---|
| 1 | 2 | 4 | 8 | 16 | ||||
| 2B upgrade, Qwen3-1.7B → Qwen3.5-2B | ||||||||
| Raw text, rerun | 12.25 | -0.41 | - | 10 | 0 | 0 | 0 | 0 |
| + ULD, λ=1.5, k=1024 | 12.50 | -0.16 | +0.25 [-0.39, +0.91] | 1 | 8 | 1 | 0 | 0 |
| + ULD, λ=0.5, k=1024 | 12.44 | -0.23 | +0.19 [-0.18, +0.61] | 6 | 4 | 0 | 0 | 0 |
| 4B upgrade, Qwen3-4B → Qwen3.5-4B | ||||||||
| Raw text, rerun | 13.75 | +0.34 | - | 10 | 0 | 0 | 0 | 0 |
| + ULD, λ=1.5, k=256 | 13.70 | +0.29 | -0.05 [-0.54, +0.50] | 2 | 4 | 3 | 1 | 0 |
phase execution, phase 1 stores a truncated version of the teacher's output distribution instead of computing the full distribution online as in ULD. For each user, we retrain the teacher and rerun the text-only baseline so that the ULD variants and the baseline share the same teacher instance. The rerun differs from the main 512-input result in Table 6 by -0.07 and +0.11 ROUGE-L points on the two upgrades.
At each headline position, phase 1 stores the teacher's largest 256 next-token probabilities and the remaining probability mass, without token IDs. If the mean mass outside the top 256 exceeds the prespecified 5% threshold, we instead retain the top 1,024 probabilities. On the 2B upgrade, the top 256 leave 5.9% of the mass, so we store 1,024 values per position. The remaining mass averages 2.0% and reaches at most 33.4%. On the 4B upgrade, the top 256 leave 3.8% on average and at most 55.7%, so 256 values are retained. For at most 512 stored inputs, the resulting records occupy 18.3 and 4.6 MB per user, respectively. We treat the omitted probability mass as a single bin in the loss, obtaining a lower bound on the distance between the full sorted distributions used by online ULD.
In phase 2, the teacher's headline, including the end-of-turn token, may have different lengths under the two tokenizers. We align positions by index up to the shorter length. On average, the student's token count is 0.998 times the teacher's on both upgrades. At each aligned position, the additional loss is the L1 distance between the student's sorted next-token probabilities and the stored teacher probabilities, including the two tail bins. We add this loss, weighted by λ, to the text-distillation cross-entropy and select the training length using the student's negative log-likelihood on held-out teacher headlines. With ULD, only one and two users select a single epoch on the two upgrades. The others train longer. The additional loss requires sorting the student's full vocabulary distribution and backpropagating through the sort at each output position, which the phone's NPU training engine does not support. So we report ULD as a GPU-only accuracy comparison, without an on-device cost measurement.
C Sensitivity to the vendor's adapter
One vendor adapter is trained with the recipe of the old base's vendor adapter, the other is tuned for accuracy on a public validation split. Every method on the new base starts from one of them. On the first fold of the 2B and 4B upgrades, the tuned adapter is the weaker of the two for the users.
The starting vendor adapter affects the accuracy of every subsequent method. On the first fold of the 2B upgrade, the adapter that is 7.4 points weaker for the evaluated users also lowers HEIRLOOM with stored inputs by 1.6 points and labeled retraining by 2.2 points relative to the old personal model. On the 4B upgrade, the weaker starting adapter likewise reduces the accuracy of both methods. Tables 10 and 11 show that the HEIRLOOM –retraining difference does not widen in these
Heirloom: Carrying a Phone's Personalization Across Base-Model Generations: Appendix
first-fold comparisons. It changes from -1.0 to -0.3 points on the 2B upgrade and from -1.4 to -0.6 points on the 4B upgrade. This suggests that the choice of vendor adapter affects the absolute performance of both methods more than their relative difference in these tests.
Table 10. Two vendor adapters on the 2B upgrade, first fold, 19 users. is the difference to the old personal model. Retraining uses the fixed recipe.
| Method | Old recipe | Tuned on public | ||
|---|---|---|---|---|
| Acc. | Acc. | |||
| Vendor's adapter | 36.2 | -18.9 | 28.8 | -26.1 |
| Retraining | 55.2 | 0.0 | 52.7 | -2.2 |
| HEIRLOOM, stored | 54.3 | -0.9 | 52.4 | -2.5 |
| HEIRLOOM, public | 50.8 | -4.4 | 51.3 | -3.6 |
| HEIRLOOM, self-generated | 52.5 | -2.7 | 49.8 | -5.1 |
Table 11. The same comparison on the 4B upgrade, first fold, the 19 users who have every method under both adapters. The last row is HEIRLOOM with stored inputs minus retraining.
| Old recipe | Tuned on public | |
|---|---|---|
| Vendor's adapter | -13.0 | -20.2 |
| Retraining | +2.5 | -2.9 |
| HEIRLOOM, stored | +1.1 | -3.5 |
| HEIRLOOM, public | -1.1 | -3.0 |
| HEIRLOOM, self-generated | -2.7 | -5.1 |
| Stored – retraining | -1.4 | -0.6 |
D Retraining grids
Table 12 gives every cell of the retraining grids, for the 19 users of movie tagging and the first 20 users of product rating. On product rating, retraining on the 128 stored inputs has its own recipe, chosen the same way. It is 2 epochs at on the 4B upgrade and 16 epochs at on the Phi upgrade.
Retraining the new base with the personal adapter's original recipe (two epochs at ) does not recover the pre-upgrade tagging accuracy. Its differences from the old personal model are -2.3 [-4.8, +0.1], -5.1 [-6.8, -3.6], and -2.7 [-4.8, -0.7] points on the 2B, 4B, and Phi upgrades. Extending training to four or eight epochs does not consistently recover this loss. For example, on the 4B upgrade, the differences remain -5.6 [-7.6, -3.9] and -4.3 [-6.9, -1.7] points at four and eight epochs. On Phi, 16 epochs reduces the loss to -1.3 [-3.2, +0.7] points. In contrast, the validation-selected fixed recipes in Table 12 use learning rates below on all three upgrades, and each outperforms the corresponding configuration.
We expanded each retraining grid when its validation-selected configuration lay on the boundary of the initial search range. Table 12 reports all evaluated configurations and marks the selected recipes. The extensions led to lower selected learning rates on the two Qwen tagging upgrades and the 4B product-rating upgrade.
For Phi product rating, the selected 16-epoch recipe has a 0.7-point validation advantage over eight epochs, comparable to run-to-run variation. The two settings tie in the extension run, and choosing eight epochs would lower the reported retraining accuracy by 0.5 points without changing the interpretation. Because the selected configuration lies outside the initial grid, the four-fold Phi retraining results for both full-history and 128-input settings come from the extension run, using the same implementation and vendor-adapter initialization. Where the runs overlap, per-user-fold accuracies differ by 1.62 and 1.05 points on average for the two settings, respectively.
Per-user tuning selects from 14, 14, and 12 grid settings on the three tagging upgrades, and from 10 and 15 settings on product rating. Because each choice is based on one user's limited data, it is sensitive to both individual differences and training noise. On tagging, its difference from the fixed recipe is +0.3 [-1.5, +2.1], -2.2 [-3.6, -0.9], and +0.5 [-1.3, +2.4] points across the three upgrades. For comparison only, choosing the best setting retrospectively on each user's test items would add 2.7, 3.8, and 2.8 points over per-user tuning.
Heirloom: Carrying a Phone's Personalization Across Base-Model Generations: Appendix
Table 12. Retraining with labels at every cell of its grid, accuracy ×100. Val. is the pooled validation accuracy of the first fold's users, each trained on four fifths of the history and scored on the rest, and Test the accuracy over all four folds, averaged over users. The asterisk marks the fixed recipe (ties go to fewer epochs, then the lower rate).
| Upgrade | Rate | 1 epoch | 2 epochs | 4 epochs | 8 epochs | 16 epochs | |||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Val. | Test | Val. | Test | Val. | Test | Val. | Test | Val. | Test | ||
| Movie tagging, retraining with labels | |||||||||||
| Qwen3-1.7B → Qwen3.5-2B | 57.4 | 58.1 | 57.7 | 57.0 | 56.7 | 57.9 | 56.9 | ||||
| 54.6 | 54.5 | 52.8 | 55.7 | 55.6 | 56.1 | 54.9 | 56.0 | ||||
| 48.7 | 52.0 | 49.7 | 52.1 | 54.1 | 52.6 | ||||||
| 37.4 | 39.3 | 36.9 | 39.4 | 36.9 | 38.8 | ||||||
| Qwen3-4B → Qwen3.5-4B | 61.2 | 60.0 | 59.8 | 60.8 | 60.1 | 60.5 | 59.9 | ||||
| 56.9 | 57.7 | 56.4 | 58.7 | 59.2 | 59.8 | 59.0 | 59.6 | ||||
| 55.4 | 53.8 | 54.4 | 53.2 | 56.2 | 54.6 | ||||||
| 39.5 | 41.0 | 38.5 | 42.4 | 42.1 | 38.3 | ||||||
| Phi-3.5-mini → Phi-4-mini | 57.9 | 57.4 | 58.2 | 57.5 | 59.0 | 57.4 | 58.7 | 57.4 | |||
| 57.4 | 56.9 | 57.9 | 56.8 | 59.2 | 57.2 | 57.2 | |||||
| 55.4 | 54.4 | 52.3 | 53.3 | 55.1 | 55.2 | 55.1 | 55.7 | ||||
| Product rating, retraining with labels | |||||||||||
| Qwen3-4B → Qwen3.5-4B | 76.8 | 75.7 | 75.9 | ||||||||
| 76.3 | 76.6 | 75.8 | 75.4 | 75.1 | 76.4 | 75.9 | 76.8 | ||||
| 73.6 | 75.0 | 74.4 | 75.1 | 74.1 | 75.4 | 74.6 | 74.6 | ||||
| Phi-3.5-mini → Phi-4-mini | 75.5 | 76.2 | 76.9 | 76.4 | 76.1 | 76.2 | 75.6 | 76.7 | 75.7 | 76.6 | |
| 76.6 | 76.8 | 75.7 | 76.0 | 76.8 | 76.0 | 77.1 | 76.5 | 77.0 | |||
| 74.1 | 75.9 | 75.7 | 74.9 | 76.6 | 75.6 | 75.5 | 76.2 | 76.7 | 77.2 | ||
| Product rating, retraining with labels on the 128 stored inputs | |||||||||||
| Qwen3-4B → Qwen3.5-4B | 73.5 | 74.7 | 75.2 | ||||||||
| 72.9 | 74.7 | 74.8 | 75.1 | 72.5 | 73.8 | 74.0 | 75.2 | ||||
| 72.7 | 74.3 | 71.3 | 72.9 | 72.9 | 73.7 | 73.3 | 73.9 | ||||
| Phi-3.5-mini → Phi-4-mini | 74.0 | 74.6 | 75.0 | 75.3 | 74.6 | 75.7 | 75.0 | 75.1 | 74.8 | 75.4 | |
| 73.7 | 74.2 | 76.0 | 75.5 | 75.8 | 74.7 | 76.9 | 75.0 | 75.4 | |||
| 71.2 | 73.2 | 75.0 | 74.0 | 73.7 | 73.6 | 75.2 | 74.1 | 75.8 | 75.1 | ||
E Adapter rank
Table 13 reports adapter-rank sensitivity on the 2B upgrade. At each rank , the vendor adapter, retraining baseline, and HEIRLOOM student all use rank , with LoRA alpha set to . Retraining is evaluated using the rank-16 recipe (eight epochs at ) and a recipe reselected for each rank from epochs on first-fold validation data. Ties favor fewer epochs and then the smaller learning rate. The reselected recipes are eight epochs at for rank 8 and four epochs at for rank 32.
HeIRLOOM distills from at most 128 stored inputs using epoch candidates and learning rates , with one teacher per user. The epoch count is selected per user. We select one learning rate per rank using the mean held-out KL divergence, across users, between the teacher's and student's distributions over complete label strings. Unlike the first-token KL used to select epochs, this criterion captures changes in later tokens of multi-token labels, which also affect the full-sequence likelihood used at inference. Rates within 0.02 of the lowest mean KL are treated as tied. We prefer when it is among them, otherwise the smallest tied rate.
The row comes from the earlier experiment at each rank (from the main first fold at rank 16). At ranks 8 and 32, selected-rate HEIRLOOM and reselected retraining are separate runs initialized from the same vendor adapter. At rank 16, the retraining rows use the main run. Table 13 reports HEIRLOOM minus retraining with user-bootstrap 95% intervals, together with the number of users for whom each method scores higher or lower.
Across ranks 8, 16, and 32, HEIRLOOM with a selected learning rate remains within 0.7 points of the
Heirloom: Carrying a Phone's Personalization Across Base-Model Generations: Appendix
Table 13. Adapter rank on the 2B upgrade, first fold, 19 users, accuracy ×100. Retraining uses the rank-16 and the re-selected recipe, and HEIRLOOM trains at 2×10⁻⁴ and at the rate held-out selection picks. Δ is HEIRLOOM at the selected rate minus retraining, with its 95% interval.
| Method | Adapter rank | ||
|---|---|---|---|
| 8 | 16 | 32 | |
| Vendor's adapter | 36.5 | 36.2 | 34.5 |
| Before the upgrade | 54.9 | 55.2 | 54.9 |
| Retraining, rank-16 recipe | 53.9 | 55.2 | 56.4 |
| Retraining, re-selected recipe | 54.6 | 55.2 | 56.0 |
| HEIRLOOM, stored inputs, at 2×10⁻⁴ | 56.6 | 54.3 | 50.3 |
| HEIRLOOM, stored inputs, at the selected rate | 54.9 | 54.5 | 55.9 |
| HEIRLOOM at the selected rate – retraining | |||
| Rank-16 recipe, Δ [95% CI] | +1.0 [-2.2, +3.9] | -0.7 [-4.3, +2.9] | -0.6 [-3.2, +2.0] |
| up/down | 10/5 | 8/7 | 7/8 |
| Re-selected recipe, Δ [95% CI] | +0.3 [-2.6, +3.4] | -0.7 [-4.3, +2.9] | -0.2 [-2.1, +2.0] |
| up/down | 7/9 | 8/7 | 5/7 |
Table 14. LoRASuite mapping on the Phi upgrade (19 users, four folds). Accuracy and negative flip rates are reported before and after fine-tuning with up to 100 labeled inputs. Fine-tuning starts from the mapped adapter, the vendor adapter, or a fresh LoRA. Δ and its 95% confidence interval are relative to the old personal model.
| Method | Acc. | Δ [95% CI] | Flips |
|---|---|---|---|
| No adapter | 26.3 | -30.8 [-36.9, -25.6] | 62 |
| Vendor's adapter | 43.3 | -13.7 [-19.2, -8.8] | 38 |
| Mapped adapter | 8.9 | -48.1 [-55.3, -41.0] | 90 |
| Mapped, then fine-tuned on 100 labels | 26.2 | -30.8 [-34.8, -27.1] | 66 |
| Vendor's adapter, the same fine-tuning | 57.7 | +0.7 [-1.1, +2.5] | 16 |
| Fresh LoRA, the same fine-tuning | 47.6 | -9.4 [-11.9, -7.1] | 33 |
re-tuned retraining baseline on the first fold. In contrast, retaining the original distillation learning rate substantially reduces accuracy at rank 32. These results suggest that the learning rate matters more than adapter rank within the tested range.
F LoRASuite on the Phi upgrade
Table 14 provides the detailed LoRASuite results discussed in Section 7.5. The paper's transformation multiplies each head's update by the two bases' projection weights. On this model pair, the transformation substantially enlarges the adapter updates, especially in the first layer, and the mapped adapter performs worse than the new base without an adapter.
For 19 users and 4 folds, each fold's old personal model, the main run's teacher, is trained again inside this run with the main run's recipe. Its adapter is then mapped onto Phi-4-mini by our implementation of LoRASuite's mapping (Li et al., 2025), written from the paper's equations. The three fine-tuned rows follow the paper's lightweight fine-tuning on the last 100 labeled items of the fold's training history (the whole history for the 44 of 76 user-folds that have fewer). Each runs 3 epochs at batch 16, 15 to 21 steps, with the learning rate decaying linearly to zero and no warm-up. Of the paper's two published rates, 10⁻⁴ gives the mapped start the higher mean and is used for all three rows. At 10⁻³ they end at 23.8, 46.0 and 43.2, in the table's order. The three rows share one teacher instance, so their comparisons with the main run's rows are across runs, like those of the rows started from the partial copy of the old adapter.
We implement the mapping by aligning layers, attention heads, and hidden dimensions, then trans-
Heirloom: Carrying a Phone's Personalization Across Base-Model Generations: Appendix
ferring each adapter's dense update . Because the two Phi models have the same number of layers, the layer alignment is the identity. Their hidden widths are equal, but their vocabularies differ. We retain the hidden-space map , estimated by least squares from the embeddings of the 28,701 tokens whose byte strings occur in both vocabularies. On this token intersection, the old embedding matrix has condition number 15 and the map has a relative residual of 48.8%.
Following the paper, we match attention heads using cosine similarity between their query-key and value-output products, transforming the old products through . We solve the padded assignment using the Hungarian algorithm. Of the 32 old heads per layer, eight match padding entries and are dropped, accounting for 24.8% of the squared query-key-value update on average. Each of the eight new key-value heads receives the mean transformed key and value updates from its three matched query heads. Because the paper does not specify a separate update rule for feed-forward projections, we apply the analogous attention mapping with an intermediate-space transform derived from the projection weights. Each mapped update remains within the original adapter rank, and the singular value decomposition (SVD) used to recover LoRA factors has relative error at most .
The paper's per-head transformation, its Equation 3, is
for old head matched to new head , and alike for the key, value and output projections. The weights enter transposed, not inverted, so the transformation is not the identity even when a base is mapped onto itself. With and it reduces to , the update times the head's Gram matrix. The feed-forward update is projected onto the row space of the base's projection, 3,072 of its 8,192 dimensions. Mapped from Phi-3.5-mini onto Phi-3.5-mini itself, one user's adapter loses 25.8 points (user 1, first fold). There the computed is the identity and every head is matched to itself. The query, key and value updates still grow by a factor of 5.1 to 61.0 in norm across the layers. The whole mapped adapter changes the user's accuracy by -25.8 points (the loss above), its mapped attention updates alone by -25.8 and its mapped feed-forward updates alone by -11.3. These diagnostics suggest that the published transformation is the main source of the loss in our implementation. We ran the same code with pseudo-inverses in place of the transposes and set to the identity, which is not the published method. That variant maps the adapter onto itself with a relative error of at most on every module and changes 1 of its predictions.
On the upgrade, the first layer's query, key and value update grows by a factor of 610 on average over the 76 adapters, and the other layers' by 1.5 to 28.3. This is why the mapped adapter ends below the new base without an adapter, and why 21 steps of fine-tuning at do not recover it. On the first fold, the whole mapped adapter puts the 19 users at 9.0, against 24.7 for the new base without an adapter on the same items. The mapped attention updates alone put them at 9.2, and the mapped feed-forward updates alone at 24.9. In the paper's own Llama and Qwen pairs, the mapped adapter before fine-tuning ends within a point of the new base without an adapter (its appendix tables). On the Phi upgrade it ends -17.4 points from it.
G Adapted synthetic-prompt filters
For each upgrade the new base answers 2,048 requests with the recipe of its 512 self-generated prompts, four times as many under another sampling seed. The pool holds 2,048 distinct candidates on every upgrade, none of them among the 512. Each filter keeps 512 of them per user and fold, and the kept prompts go through phases 1 and 2 unchanged. The unfiltered row trains on the 512 self-generated prompts of Table 3, the first draw, alongside the filtered rows and with the same teacher. Its four-fold mean differs from the main run's by -0.2 [-1.0, +0.7], +0.1 [-0.7, +0.9] and 0.0 [0.0, 0.0] points. The two Qwen differences are training noise, which we attribute to the GPU kernels of the Qwen3.5 bases' linear-attention layers. Phi-4-mini, with standard attention, trains bit-reproducibly in our setup, and the rerun repeats the main run's predictions exactly.
Heirloom: Carrying a Phone's Personalization Across Base-Model Generations: Appendix
Table 15. Adapted synthetic-prompt filters on movie tagging (19 users, four folds). old compares with the pre-upgrade personal model, while unfiltered compares with unfiltered synthetic prompts. Both differences include 95% confidence intervals.
| Method | Acc. | old | unfiltered | Flips |
|---|---|---|---|---|
| 2B upgrade, Qwen3-1.7B→3.5-2B | ||||
| Self-generated, unfiltered (rerun) | 52.9 | -1.4 [-3.1, +0.2] | 16 | |
| Trans-LoRA filter | 53.1 | -1.3 [-2.8, +0.3] | +0.2 [-0.8, +1.1] | 15 |
| TuneShift-KD filter | 49.8 | -4.6 [-6.8, -2.3] | -3.1 [-4.6, -1.7] | 21 |
| 4B upgrade, Qwen3-4B→3.5-4B | ||||
| Self-generated, unfiltered (rerun) | 56.8 | -2.1 [-3.3, -0.9] | 14 | |
| Trans-LoRA filter | 56.8 | -2.1 [-3.5, -0.7] | 0.0 [-1.0, +1.2] | 16 |
| TuneShift-KD filter | 53.9 | -4.9 [-6.5, -3.3] | -2.8 [-4.2, -1.4] | 21 |
| Phi upgrade, Phi-3.5→Phi-4-mini | ||||
| Self-generated, unfiltered (rerun) | 54.9 | -2.1 [-4.0, -0.2] | 15 | |
| Trans-LoRA filter | 55.5 | -1.5 [-3.1, -0.1] | +0.6 [-0.7, +2.0] | 13 |
| TuneShift-KD filter | 53.7 | -3.3 [-5.4, -1.1] | -1.2 [-2.5, +0.2] | 16 |
Trans-LoRA trains a discriminator next to the source adapter and keeps the synthetic inputs it rates as real. Our discriminator is a fresh rank-16 adapter on the old base, trained for 2 epochs at on the fold's training inputs against as many candidates drawn at random, and it ranks the remaining candidates by its probability of real. Its training AUC averages 0.910, 0.999 and 0.999 over users and folds, and the AUC of the fold's test inputs against the pool 0.912, 0.995 and 0.998. Trans-LoRA writes its candidates from five seed examples of the task's data and keeps as many as the task had, which we replace by the label names and the row's budget of 512, and its discriminator has to be trained before the upgrade, while the user's inputs are still on the phone.
TuneShift-KD compares a fine-tuned model with the base it was fine-tuned from. It keeps a synthetic input when the fine-tuned model gives its own answer a perplexity below 1.5 and the base's answer one of 1.5 or more. An external model then writes further candidates from the kept ones until the set is as large as the task's data. Here the fine-tuned model is the old personal model and its base the non-personal teacher, the old base with the vendor's adapter, from which the personal adapter was trained. On a closed label set an answer is a label whose perplexity is the inverse of its probability. Our rule scores each candidate by the difference between the old personal model's and the non-personal teacher's log probabilities for the old model's preferred label. It keeps the 512 highest scores per user and fold in place of the two thresholds, which 53.1, 70.0 and 51.1 percent of the kept prompts pass. When the two models disagree on fewer than 512 candidates, which happens for 0, 0 and 5 of 76 user-folds, it fills the rest with candidates on which they agree, in random order.
Both filters run in phase 1 on the old base, the discriminator as an adapter trained before the upgrade, like the personal adapter, and TuneShift-KD's rule as a second pass with the non-personal teacher. Like HEIRLOOM with self-generated prompts, they keep nothing of the history after the upgrade, and their phone cost is not measured. These baselines adapt the published prompt-selection strategies without reproducing the original methods' complete training pipelines. The filtered configurations use a separate set of 2,048 generated candidates, while the unfiltered baseline uses the original 512 prompts. We did not evaluate random selection from the same candidate pool, so these comparisons cannot isolate the effect of filtering alone.
H Personalization gains before upgrades
On each old base, the rule of Section 6 reads the per-user adapter trained from scratch. It has to beat the vendor's adapter for that base by at least 3 points on average and for more than half of the users, and a tie counts as no gain. As shown in Table 16, every old base passes the personalization-usefulness rule except the 1.7B base on product rating, so the 2B upgrade is evaluated on movie
Heirloom: Carrying a Phone's Personalization Across Base-Model Generations: Appendix
Table 16. Personal gain on each old base before any upgrade, one split per user, 20 users per task. The columns give accuracy ×100 without an adapter, with the vendor's adapter, and with per-user adapters trained from scratch or from the vendor's adapter. Δ is the per-user adapter's difference to the vendor's adapter, and up/down/tie counts the users above, below and level with it.
| Old base | No adapter | Vendor's adapter | Per-user adapter, from scratch | Per-user adapter, from the vendor's | ||||
|---|---|---|---|---|---|---|---|---|
| Acc. | Δ | up/down/tie | Acc. | Δ | up/down/tie | |||
| Movie tagging | ||||||||
| Qwen3-1.7B | 21.4 | 39.2 | 45.4 | +6.2 | 13/6/1 | 52.6 | +13.3 | 15/4/1 |
| Qwen3-4B | 28.4 | 42.9 | 48.2 | +5.3 | 11/8/1 | 57.6 | +14.7 | 16/2/2 |
| Phi-3.5-mini | 31.1 | 40.8 | 48.4 | +7.6 | 12/6/2 | 55.3 | +14.6 | 16/3/1 |
| Product rating | ||||||||
| Qwen3-1.7B | 23.0 | 67.9 | 72.0 | +4.1 | 10/8/2 | 74.8 | +6.9 | 17/3/0 |
| Qwen3-4B | 39.2 | 63.7 | 73.3 | +9.6 | 14/6/0 | 75.3 | +11.6 | 17/2/1 |
| Phi-3.5-mini | 57.1 | 68.1 | 75.0 | +6.9 | 16/3/1 | 76.4 | +8.3 | 18/1/1 |
Table 17. Movie-tagging results for the excluded user with 3,190 films (three upgrades, four folds). Δ is the accuracy difference from the old personal model.
| Method | Qwen3-1.7B → Qwen3.5-2B | Qwen3-4B → Qwen3.5-4B | Phi-3.5-mini → Phi-4-mini | |||
|---|---|---|---|---|---|---|
| Acc. | Δ | Acc. | Δ | Acc. | Δ | |
| Before the upgrade | 48.1 | - | 51.2 | - | 51.4 | - |
| Retraining, fixed recipe | 46.8 | -1.3 | 51.7 | +0.6 | 48.3 | -3.1 |
| HEIRLOOM, stored inputs | 48.9 | +0.8 | 48.8 | -2.4 | 51.0 | -0.4 |
| HEIRLOOM, self-generated | 47.3 | -0.8 | 50.2 | -0.9 | 49.1 | -2.3 |
| Non-personal teacher | 38.1 | -10.0 | 42.5 | -8.7 | 37.6 | -13.8 |
| Vendor's adapter | 32.7 | -15.4 | 35.5 | -15.6 | 41.9 | -9.5 |
tagging. Each user's split puts three quarters of the history in training and one quarter in the test set. The per-user adapter trains from scratch for 3 epochs at , or from the vendor's adapter with the personal adapter's recipe (2 epochs). On movie tagging the users include the one excluded from the migration results, and on product rating they are the first 20. Trained from the vendor's adapter, as the old personal models of Section 6 are, per-user adapters gain more than from scratch on every base. On the 1.7B base on product rating they score +6.9 points against the vendor's adapter and beat it for 17 of 20 users.
I The excluded user
Table 17 gives part of Tables 2 and 3 for this user, run with the protocol of the other 19 users. Including this user changes the mean difference between HEIRLOOM with stored inputs and the old personal model by -0.1, -0.1 and 0.0 points on the three upgrades.
J Product rating: full results and tokenization
Table 18 gives every method for the first 20 users on the 4B and Phi upgrades, and Table 19 gives every training length of the distillation rows on product rating. Merged by person with the same rule as movie tagging, the user split's training and development entries give 22,500 users, 22,375 with at least 60 reviews. We rank users by review count and evaluate the top 100, skipping the 9 who give one score to more than 90% of their reviews (each at least 92% five-star). Each user keeps 600 random reviews, fewer than any evaluated user has (850 to 1,010), so every history is truncated, and each review is cut to 1,500 characters. The new base generates its self-generated prompts, here reviews, at temperature 1, and duplicates are removed. A review carries one score,
Heirloom: Carrying a Phone's Personalization Across Base-Model Generations: Appendix
Table 18. Full product-rating results for the first 20 users on the 4B and Phi upgrades (four folds). and its 95% confidence interval are relative to the old personal model. Fixed-16-epoch rows report accuracy only. The 128-input retraining baseline uses a separately selected recipe.
| Personal data kept | Method | Acc. | 95% CI | Flips | MAE | |
|---|---|---|---|---|---|---|
| Qwen3-4B → Qwen3.5-4B | ||||||
| - | Personal model before the upgrade | 74.9 | - | - | 0.26 | |
| inputs + labels | Retrieval, 8 labeled examples in the prompt | 69.4 | -5.4 | [-8.9, -2.6] | 21 | 0.32 |
| Retraining with labels, fixed recipe | 76.8 | +1.9 | [+0.6, +3.3] | 10 | 0.24 | |
| Retraining with labels, per-user tuning | 76.5 | +1.6 | [+0.4, +2.9] | 11 | 0.24 | |
| Retraining with labels, 128 stored inputs | 75.2 | +0.3 | [-0.8, +1.5] | 13 | 0.26 | |
| inputs | HEIRLOOM, 128 stored inputs | 74.8 | -0.1 | [-1.0, +1.0] | 10 | 0.26 |
| HEIRLOOM, all inputs | 75.8 | +0.9 | [+0.1, +1.7] | 7 | 0.25 | |
| HEIRLOOM, 128 stored inputs, fixed 16 epochs | 75.3 | +0.5 | [-0.5, +1.5] | - | - | |
| HEIRLOOM, all inputs, fixed 16 epochs | 76.4 | +1.6 | [+0.7, +2.5] | - | - | |
| nothing | HEIRLOOM, public prompts | 74.0 | -0.9 | [-2.1, +0.2] | 10 | 0.27 |
| HEIRLOOM, self-generated prompts | 70.0 | -4.8 | [-6.9, -3.1] | 16 | 0.31 | |
| - | Non-personal teacher | 62.6 | -12.2 | [-19.3, -6.4] | 30 | 0.40 |
| New base with the vendor's adapter | 63.4 | -11.5 | [-16.8, -6.9] | 29 | 0.39 | |
| New base, no adapter | 62.9 | -12.0 | [-17.1, -7.3] | 31 | 0.40 | |
| Phi-3.5-mini → Phi-4-mini | ||||||
| - | Personal model before the upgrade | 76.4 | - | - | 0.24 | |
| inputs + labels | Retrieval, 8 labeled examples in the prompt | 68.8 | -7.7 | [-11.6, -4.4] | 22 | 0.33 |
| Retraining with labels, fixed recipe | 77.0 | +0.6 | [-0.4, +1.5] | 10 | 0.24 | |
| Retraining with labels, per-user tuning | 77.1 | +0.7 | [-0.5, +1.7] | 10 | 0.24 | |
| Retraining with labels, 128 stored inputs | 75.4 | -1.0 | [-2.3, +0.1] | 12 | 0.25 | |
| inputs | HEIRLOOM, 128 stored inputs | 75.5 | -1.0 | [-2.2, +0.1] | 10 | 0.25 |
| HEIRLOOM, all inputs | 76.5 | +0.1 | [-0.9, +1.0] | 7 | 0.24 | |
| HEIRLOOM, 128 stored inputs, fixed 16 epochs | 76.0 | -0.4 | [-1.5, +0.6] | - | - | |
| HEIRLOOM, all inputs, fixed 16 epochs | 77.5 | +1.0 | [+0.4, +1.6] | - | - | |
| nothing | HEIRLOOM, public prompts | 75.0 | -1.4 | [-2.4, -0.5] | 10 | 0.26 |
| HEIRLOOM, self-generated prompts | 72.4 | -4.0 | [-6.1, -2.4] | 14 | 0.28 | |
| - | Non-personal teacher | 68.2 | -8.2 | [-12.4, -4.7] | 23 | 0.33 |
| New base with the vendor's adapter | 64.1 | -12.3 | [-19.3, -6.7] | 28 | 0.38 | |
| New base, no adapter | 56.2 | -20.3 | [-26.3, -14.9] | 39 | 0.48 | |
so there are no label pairs to cover as there are for tags. Accuracy is exact match, and mean absolute error is computed per user with its interval.
The prompt is LaMP's instruction and the answer one digit, with a distinct first token per score in every Qwen tokenizer and Phi-4-mini's. Phi-3.5's tokenizer places a lone space token before a digit, also after the assistant marker, so every rating begins with the same token, which the model emits with probability one. We treat it as the last prompt token and train and score on the digit that follows (Phi-4-mini encodes each digit as one token). On movie tagging the same tokenizer joins the space marker to the first piece of each tag, so the 15 tags already differ in their first token after the assistant marker, and the token sequences every row trains and scores on match the joint tokenization of prompt and tag. Both cases follow one rule, under which the answer position is the first position at which the labels' tokens differ. For every other model and label set here, that position is the first token of the answer.
K Device measurements and configurations
Measurement. The minutes in Table 7 are measured on the charger, screen off, with an external cooling fan clipped to the phone. Energy is measured on battery at minimum screen brightness,
Heirloom: Carrying a Phone's Personalization Across Base-Model Generations: Appendix
Table 19. HEIRLOOM's accuracy ×100 on product rating after each number of training epochs, for the first 20 users over four folds. A superscript counts the user-folds whose held-out selection picked that length. The 4B upgrade is Qwen3-4B → Qwen3.5-4B and the Phi upgrade Phi-3.5-mini → Phi-4-mini.
| Row | Pair | 2 | 4 | 8 | 16 |
|---|---|---|---|---|---|
| HEIRLOOM, 128 stored | 4B | 73.013 | 73.921 | 75.120 | 75.326 |
| Phi | 74.213 | 75.326 | 75.817 | 76.024 | |
| HEIRLOOM, all stored | 4B | 74.415 | 75.718 | 76.318 | 76.429 |
| Phi | 75.622 | 77.012 | 77.322 | 77.524 | |
| HEIRLOOM, public | 4B | 73.23 | 74.017 | 74.126 | 74.034 |
| Phi | 74.56 | 74.713 | 75.233 | 74.928 | |
| HEIRLOOM, self-generated | 4B | 68.31 | 69.212 | 69.627 | 70.140 |
| Phi | 71.6 | 72.117 | 72.429 | 72.334 | |
| Non-personal teacher | 4B | 62.73 | 61.913 | 62.322 | 62.742 |
| Phi | 65.68 | 68.714 | 67.724 | 67.934 |
fan on, by the battery's fuel gauge (the kernel's charge counter, 117 updates over the session), idle draw subtracted. The load is 7 to 8 W above idle. Throughout the paper a share of the battery is charge drawn, by the counter, over the gauge's full charge, 6,530 mAh on the OnePlus 15 and 4,959 on the 13T. Each is the median of counter over displayed level in that phone's energy session. Energy in that table is the run's tokens times per-token rates, in kJ and as a share of the full charge (6,530 mAh). Its two rows marked measured end to end are the gauge's reading of one run, idle draw and fixed overheads included. Peak memory is the trainer process's peak resident memory.
By the per-token rates, the 4B upgrade's migration from stored inputs takes 18% of the battery at a fixed length, 33% with selection, and retraining 4.5%. Measured end to end on battery, from the start of the teacher pass until the next job begins, with the idle draw and the fixed overheads included, the migration takes 38 minutes and draws 1,312 mAh, 19.4 kJ and 20% of the battery. The labeled retraining that followed drew 344 mAh, 4.9 kJ and 5.3%. The run starts at a displayed level of 80%, where charge protection stops charging. The displayed level is an integer that lags the counter. It falls by 18 points over the migration, against the counter's 20. The measured energy is 10.3% above what the per-token rates and the idle draw predict for the same run, the fixed overheads of starting the engine's NPU process, loading the base and cooling between jobs. The selection run scores the held-out fifth at its four checkpoints. It takes 4.8% longer than its tokens would at the fixed 8-epoch run's pace on the 4B upgrade and 3.7% on the 2B. On battery the jobs run 5 to 19% faster than on the charger, and the end-to-end run's jobs at 0.86 to 1.05 times the speed of the session that measured the rates. Without the fan the fixed 8-epoch training takes 2,371 instead of 2,175 s, 9% longer, and completes. The NPU peaks at 77.5 instead of 58.1 °C and the CPU at 85.3 instead of 69.9 °C. The rate sessions ran at a mean battery voltage of 4.10 V (2B upgrade) and 3.92 V (4B) on the OnePlus 15 and 3.63 V on the 13T. The end-to-end migration and retraining ran at 4.11 and 3.95 V. Each row of Table 7 converts energy and charge at its own session's voltage, so kJ and battery share are not in one fixed ratio across rows.
Engine and software. The engine trains on the NPU because, on its own benchmark batch, its fused CPU path is about 4 times slower (Zheng et al., 2026). The frozen weights are held on the NPU in 8-bit form (Q8_0), except Qwen3.5-4B's linear-attention projections, which stay in FP16. The linear-attention recurrence runs in the engine's fused CPU operators. In a short Qwen3.5-2B distillation run on the OnePlus 15 they raise throughput from 56 tokens per second (reference PyTorch implementation) to 88. The adapter and the optimizer run in PyTorch on 8 CPU threads, with micro-batches of one prompt and 16 accumulation steps. Each update matches the GPU's batch of 16, at the same learning rate ( for distillation) and number of epochs. The phone's teacher phase, like the GPU's, computes logits only at the answer position. The engine's fused LoRA kernel requires a dropout rate strictly between 0 and 1, but our adapters train without dropout, so their LoRA branch runs through PEFT. On the GPUs the pipeline runs on PyTorch 2.12, Hugging Face Transformers 5.17 and PEFT 0.21, on NVIDIA RTX PRO 6000 GPUs with 96 GB of memory, one or
Heirloom: Carrying a Phone's Personalization Across Base-Model Generations: Appendix
Table 20. Migration costs on the OnePlus 13T for the 2B upgrade, using the same user and measurement protocol as Table 7. Time is measured while charging. Energy is estimated from battery measurements with idle consumption excluded. is the GPU accuracy difference between fixed and selected training lengths.
| Method | Minutes | Tokens/sphase 2 | Energy | Peak memory(GB) | ||||
|---|---|---|---|---|---|---|---|---|
| Phase 1 | Phase 2 | Total | kJ | % battery | ||||
| 2B upgrade, Qwen3-1.7B → Qwen3.5-2B, OnePlus 13T | ||||||||
| Stored inputs, selected length | 1.1 | 70.9 | 72.0 | 78 | 58.7 | 91 | 2.6 | - |
| Stored inputs, 8 epochs | 1.1 | 19.7 | 20.8 | 78 | 16.7 | 26 | 2.6 | +0.1 |
| Retraining with labels | - | 20.6 | 20.6 | 77 | 16.8 | 26 | 2.6 | - |
| Public prompts, 4 epochs | 5.6 | 59.9 | 65.5 | 81 | 54.6 | 84 | 2.8 | -0.3 |
| Self-generated prompts, 4 epochs | 6.1 | 65.4 | 71.5 | 83 | 60.8 | 94 | 2.6 | 0.0 |
| Public prompts, selected length | 5.6 | 261.5 | 267.0 | 79 | 220.1 | 339 | 2.8 | - |
two processes per GPU.
The second phone. Table 20 shows that on the OnePlus 13T, the 2B upgrade's migration from public or self-generated prompts takes 66 and 72 minutes at a fixed four epochs. The fixed 4 epochs change accuracy by -0.3 and 0.0 points against the selected length. With the selection run, the public-prompt migration takes 4.5 hours. For public prompts, held-out selection picks 16 epochs on the 4B upgrade and 4 on the 2B.
L Phone-GPU training consistency
Phase 1 on the phone matches the GPU teacher's label probabilities to a mean KL divergence of at most 0.0022 per teacher. The teachers are the 24 old personal models run on the phones, 19 on the 2B upgrade and 5 on the 4B. The top label is the same on 2,234 of their 2,260 stored inputs. On the 512 public and 512 self-generated prompts, run for 4 of these teachers, the top label agrees on at least 485 and 490 of 512. The phone's selection run picks the GPU's length in 6 of 8 selections. The other 2, both on public prompts, match the GPU's checkpoint accuracy at the length the phone picked.
Phase 2 is compared item by item where the GPU run kept per-item predictions. This covers 28 adapters trained on the phones at the method's selected length or with the retraining recipe, each user, fold and recipe counted once. Of these, 16 predict every test item exactly as the GPU run of the same user and fold. Over all of these, 891 of 919 items agree. Of the 27 distillations at a fixed length, for which the GPU kept only checkpoint accuracy, 12 match it exactly. The two phones, with different NPUs, produce bit-identical adapters in all 4 configurations run on both (2 users), and 9 reruns of 4 configurations on one phone are bit-identical, so the differences are systematic, not noise. The largest share of differing items is for the user with the fewest stored inputs (69), whose 8-epoch distillation differs from the GPU on 5 of 23 items, 2 net (McNemar ). For this user, the phone's student scores the same when evaluated on the GPU, and its teacher outputs trained on the GPU give the GPU result, so what remains is the NPU's training arithmetic. A GPU rerun of the same configuration on another machine differs from the original on 3 items. All accuracy in this paper is from the GPU runs, and the phone's adapters are the cost measurement.
Generative AI Usage Disclosure
We used ChatGPT to improve language clarity and polish sentences. We also used Claude Code to assist with developing LoRA fine-tuning code and resolving runtime errors. All AI-assisted code was manually reviewed and revised by the authors, relevant functions were tested, and the corresponding experiments were rerun. The authors retain full responsibility for the technical contributions, experimental results, and final manuscript.