Towards On-Device Personalization: Cloud-device Collaborative Data Augmentation for Efficient On-device Language Model

Zhaofeng Zhong, Wei Yuan, Liang Qu, Tong Chen, Hao Wang, Xiangyu Zhao, Hongzhi Yin

TL;DR

The paper introduces CDCDA-PLM, a collaborative framework that enables highly personalized language models to run entirely on-device. By leveraging a powerful cloud-based LLM solely to augment a user's scarce local data and applying strict quality filters, the framework allows small on-device models to be effectively fine-tuned via LoRA. This approach eliminates cloud dependency during inference, delivering fast, private, and highly tailored responses without bottlenecking server infrastructure.

What Problem Does This Paper Address?

Large Language Models (LLMs) excel at general text generation, but they face two major hurdles when it comes to widespread, everyday adoption:

  1. Lack of Personalization: Standard LLMs are trained to be universal, meaning their responses lack the nuance, stylistic preferences, and specific interests of individual users.
  2. Cloud Infrastructure Dependency: Running massive models requires heavy cloud compute, leading to latency overhead, privacy concerns, and complete failure in offline scenarios (e.g., smart vehicles driving through remote areas).

While researchers have tried to solve these issues independently, combining them is incredibly difficult. If you try to personalize a cloud model for millions of users, the server costs scale linearly ($N$ models for $N$ users), which is completely impractical. On the other hand, if you deploy a small, general-purpose model directly on a smartphone, it lacks the capacity to handle long personalization prompts (like Retrieval-Augmented Generation/RAG) and suffers from data scarcity—individual users simply don't have enough local data to effectively fine-tune a model from scratch.

Methods

To bridge this gap, the authors propose CDCDA-PLM (Cloud-Device Collaborative Data Augmentation for Personalized Language Models). The core idea is a decentralized training strategy: use the cloud model as a teacher to generate data, but offload the actual personalization training to the user's local device.

Fig. 1. Overview of the proposed method.

The workflow consists of five key steps:

  1. User Data Upload: The user sends their limited local history profile to a central server.
  2. LLM Augmentation: A powerful cloud LLM (e.g., Qwen2.5-3B-Instruct) generates synthetic data tailored to the user's preferences. For classification tasks, it diversifies the inputs while keeping the labels intact. For generation tasks, it synthesizes both new inputs and corresponding outputs.
  3. Synthetic Data Selection (Filtering): To prevent the cloud model from introducing noisy or hallucinated data, the framework applies three filters:
  4. Semantic Consistency Filter (SCF): Uses a small Natural Language Inference (NLI) model to ensure bidirectional entailment between the real and synthetic data.
  5. Token Diversity Filter (TDF): Uses ROUGE-L scoring to ensure the synthetic data isn't just an exact copy of the original text, promoting linguistic variety.
  6. Length Size Filter (LSF): Discards abnormally short or long sequences.
  7. Data Download: The high-quality, filtered synthetic data is sent back to the user's device.
  8. On-device LM Fine-tuning: The user's local device fine-tunes a small base model (e.g., Qwen2.5-0.5B-Instruct) on the combined local and synthetic data using Parameter-Efficient Fine-Tuning (PEFT) via LoRA.

Datasets

The framework was evaluated using the LaMP (Large Language Model Personalization) benchmark, a standard dataset for testing model personalization across various NLP tasks. The authors selected six specific tasks:

  • Classification: LaMP-1 (Personalized Citation Identification), LaMP-2 (Personalized Movie Tagging), and LaMP-3 (Personalized Product Rating).
  • Generation: LaMP-4 (Personalized News Headline Generation), LaMP-5 (Personalized Scholarly Title Generation), and LaMP-7 (Personalized Tweet Paraphrasing).

Unlike the original LaMP setup, which groups multiple users together (coarse-grained), this paper focuses on fine-grained personalization by evaluating separate models for the top 100 most active users and 100 randomly sampled users.

Key Insights and Ideas

  • RAG Fails on Tiny Models: A fascinating finding is that standard prompt-based personalization (like RAG) actually degrades the performance of small on-device models. Tiny models (under 1B parameters) lack the contextual understanding and generalization capacity to extract meaningful patterns from long history-stuffed prompts.
  • Decentralized Scaling: By moving the fine-tuning step entirely to the edge, CDCDA-PLM completely bypasses the server scalability bottleneck. The server only acts as a temporary data generator, allowing millions of users to train their models in parallel on their own hardware.
  • Bidirectional Filtering is Essential: Simply trusting an LLM's synthetic data introduces too much noise. Enforcing bidirectional semantic consistency ensures that the synthetic data strictly mirrors the user's original intent while still introducing enough vocabulary diversity to train a robust local model.

Key Results

  • Performance Boost: CDCDA-PLM consistently outperformed all on-device baselines (including direct fine-tuning and traditional data augmentation like EDA) across all six LaMP tasks. Remarkably, the personalized 0.5B on-device model achieved performance comparable to—and sometimes better than—the much larger 3B cloud model.
  • Hardware Efficiency: When deployed on a budget Android device (Samsung Galaxy Tab A8), the on-device model reduced storage requirements by 82% and cut Time-to-First-Token (TTFT) latency by 85% compared to the cloud model. It achieved a local decoding speed of 8.6 tokens per second, which easily satisfies real-world usability requirements.

Limitations and Future Work

  • Task Isolation: Currently, the framework requires training a separate model for each specific task per user. It does not share user behavior insights across different domains (e.g., using movie preferences to improve news headline generation).
  • Privacy Vulnerabilities: Uploading raw user history to the cloud for data augmentation still presents privacy risks. The authors note that future iterations could integrate differential privacy (DP) or transmit compact profile summaries rather than raw text.
  • Bias Amplification: If a user's local history contains biased or unfair data, the cloud LLM's augmentation process risks amplifying those negative traits, leading to harmful local model behaviors.

Summary updated

BibTeX
@article{zhong2025towards,
  author = {Zhaofeng Zhong and Wei Yuan and Liang Qu and Tong Chen and Hao Wang and Xiangyu Zhao and Hongzhi Yin},
  title = {{Towards On-Device Personalization: Cloud-device Collaborative Data Augmentation for Efficient On-device Language Model}},
  journal = {ACM Transactions on Intelligent Systems and Technology},
  year = {2025},
  doi = {10.1145/3779452},
}
Figure