On-Device Adaptation and Personalization
Language AI HandbookAll chapters Suppose your writing assistant starts a meeting summary with an old manager’s name. Changing the name should change the next summary. It should also be possible to inspect and delete the saved name. A local datastore can expose that entry directly. If the name was also used to train an adapter, changing the entry does not remove that second path.
This chapter builds a personalization loop around a frozen base model. Retrieval can supply an explicit fact or preference at inference time. An adapter can change how the model behaves across requests. Either mechanism can be used on its own. Combining them is useful when the app needs both editable records and a learned behavior.
The worked example uses synthetic data and a small CPU classifier. You will see a retrieval hit change an output, compare two adapter candidates against the base, and check whether a candidate that passes on rehearsed topics still passes on independent inputs.
Comments
Add to the conversation
A question, a correction, or an example from your own work.
No comments yet. Be the first to share your thoughts!