Compress once, personalize forever - ComMer's approach to efficient LLM adaptation.
ComMer introduces a framework that compresses and merges user data into compact representations for efficient LLM personalization, reducing computational costs while maintaining performance.
-----
https://arxiv.org/abs/2501.03276
π€ Original Problem:
Personalizing LLMs faces two major challenges: prompt engineering hits context window limits and is computationally expensive, while fine-tuning requires substantial resources for training individual user models.
-----
π§ Solution in this Paper:
β ComMer compresses each user document independently into a soft prompt using a frozen LLM with trainable compression embeddings
β These compressed representations are merged through mean pooling into a single compact form
β The merged representation is fed into a frozen LLM for generating personalized responses
β The entire process is trained end-to-end using cross-entropy loss
-----
π‘ Key Insights:
β ComMer excels in personalized skill learning tasks but shows limitations in knowledge-intensive scenarios
β Performance improves with more documents in skill learning tasks, following a power-law relationship
β Mean pooling proves more effective than concatenation for merging document representations
β The choice of pretraining dataset has minimal impact on final performance
-----
π Results:
β Achieves superior quality with fewer resources compared to prompt-tuning within 128-token budget
β Shows improved perplexity metrics when exposed to more documents than training
β Demonstrates degraded performance in knowledge-intensive tasks with multiple documents










