mlsanityData to 7 Oct 2026

Panza: Design and Analysis of a Fully-Local Personalized Text Writing Assistant

arXiv 2407.10994 ↗First posted 24 Jun 2024cs.CL cs.AI cs.HCcited by 5

Not on the map. Why?

Abstract (arXiv)

The availability of powerful open-source large language models (LLMs) opens exciting use-cases, such as using personal data to fine-tune these models to imitate a user's unique writing style. Two key requirements for such assistants are personalization - in the sense that the assistant should recognizably reflect the user's own writing style - and privacy - users may justifiably be wary of uploading extremely personal data, such as their email archive, to a third-party service. In this paper, we present a new design and evaluation for such an automated assistant, for the specific use case of email generation, which we call Panza. Panza's personalization features are based on a combination of fine-tuning using a variant of the Reverse Instructions technique together with Retrieval-Augmented Generation (RAG). We demonstrate that this combination allows us to fine-tune an LLM to reflect a user's writing style using limited data, while executing on extremely limited resources, e.g. on a free Google Colab instance. Our key methodological contribution is the first detailed study of evaluation metrics for this personalized writing task, and of how different choices of system components--the use of RAG and of different fine-tuning approaches-impact the system's performance. Additionally, we demonstrate that very little data - under 100 email samples - are sufficient to create models that convincingly imitate humans. This finding showcases a previously-unknown attack vector in language models - that access to a small number of writing samples can allow a bad actor to cheaply create generative models that imitate a target's writing style. We are releasing the full Panza code as well as three new email datasets licensed for research use at https://github.com/IST-DASLab/PanzaMail.

Key facts. Cited by 5 papers in the map (data through 7 Oct 2026). Builds on 14 of its 28 references that are in the map. First posted on arXiv 24 Jun 2024.

Builds on

14 of 28 references.

References · 14

  1. 2014Adam: A Method for Stochastic Optimizationcited by 36,960
  2. 2021LoRA: Low-Rank Adaptation of Large Language Modelscited by 14,084
  3. 2020Retrieval-Augmented Generation for Knowledge-Intensive NLP Taskscited by 9,160
  4. 2019BERTScore: Evaluating Text Generation with BERTcited by 5,462
  5. 2023QLoRA: Efficient Finetuning of Quantized LLMscited by 3,355
  6. 2024Phi-3 Technical Report: A Highly Capable Language Model Locally on Your Phonecited by 1,883
  7. 2022GPTQ: Accurate Post-Training Quantization for Generative Pre-trained Transformerscited by 1,838
  8. 2015Improving Neural Machine Translation Models with Monolingual Datacited by 784
  9. 2021MAUVE: Measuring the Gap Between Neural Text and Human Text using Divergence Frontierscited by 466
  10. 2023LaMP: When Large Language Models Meet Personalizationcited by 425
  11. 2024RAFT: Adapting Language Model to Domain Specific RAGcited by 258
  12. 2024Democratizing Large Language Models via Personalized Parameter-Efficient Fine-tuningcited by 87
2 more
  1. 2024RoSA: Accurate Parameter-Efficient Fine-Tuning via Robust Adaptationcited by 48
  2. 2023LongForm: Effective Instruction Tuning with Reverse Instructionscited by 47

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2025: 1; 2026: 4.

5 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2025Personalize Your LLM: Fake it then Align it
  2. 2024Comparing Retrieval-Augmentation and Parameter-Efficient Fine-Tuning for Privacy-Preserving Personalization of Large Language Models
  3. 2025Personalized Text Generation with Contrastive Activation Steering
  4. 2023Integrating Summarization and Retrieval for Enhanced Personalization via Large Language Models
  5. 2025Iterative Critique-Refine Framework for Enhancing LLM Personalization
  6. 2025Improving RAG for Personalization with Author Features and Contrastive Examples
  7. 2025Personalizing Large Language Models using Retrieval Augmented Generation and Knowledge Graph
  8. 2026Optimizing User Profiles via Contextual Bandits for Retrieval-Augmented LLM Personalization