PEARL: Personalizing Large Language Model Writing Assistants with Generation-Calibrated Retrievers
Mysore, Sheshera, Lu, Zhuoran, Wan, Mengting, Yang, Longqi, Menezes, Steve, Baghaee, Tina, Gonzalez, Emmanuel Barajas, Neville, Jennifer, Safavi, Tara
–arXiv.org Artificial Intelligence
Powerful large language models have facilitated the development of writing assistants that promise to significantly improve the quality and efficiency of composition and communication. However, a barrier to effective assistance is the lack of personalization in LLM outputs to the author's communication style and specialized knowledge. In this paper, we address this challenge by proposing PEARL, a retrieval-augmented LLM writing assistant personalized with a generation-calibrated retriever. Our retriever is trained to select historic user-authored documents for prompt augmentation, such that they are likely to best personalize LLM generations for a user request. We propose two key novelties for training our retriever: 1) A training data selection method that identifies user requests likely to benefit from personalization and documents that provide that benefit; and 2) A scale-calibrating KL-divergence objective that ensures that our retriever closely tracks the benefit of a document for personalized generation. We demonstrate the effectiveness of PEARL in generating personalized workplace social media posts and Reddit comments. Finally, we showcase the potential of a generation-calibrated retriever to double as a performance predictor and further improve low-quality generations via LLM chaining.
arXiv.org Artificial Intelligence
Nov-15-2023
- Country:
- South America > Chile
- Oceania > Australia
- North America
- Dominican Republic (0.04)
- United States
- Washington > King County
- Seattle (0.04)
- New York > New York County
- New York City (0.05)
- Massachusetts > Hampshire County
- Amherst (0.14)
- Washington > King County
- Canada > Ontario
- Toronto (0.04)
- Europe
- Belgium (0.04)
- Spain > Galicia
- A Coruña Province > Santiago de Compostela (0.04)
- Ireland > Leinster
- County Dublin > Dublin (0.04)
- Asia
- China > Hong Kong (0.04)
- Taiwan > Taiwan Province
- Taipei (0.04)
- Myanmar > Tanintharyi Region
- Dawei (0.04)
- Middle East > UAE
- Abu Dhabi Emirate > Abu Dhabi (0.04)
- Genre:
- Research Report (0.50)
- Industry:
- Information Technology (0.93)
- Media > News (0.88)
- Technology: