Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: Ding, Yucheng, Tan, Yangwenjian, Liu, Xiangyu, Niu, Chaoyue, Meng, Fandong, Zhou, Jie, Liu, Ning, Wu, Fan, Chen, Guihai
Format: Preprint
Veröffentlicht: 2025
Schlagworte:
Online-Zugang:https://arxiv.org/abs/2501.06062
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
_version_ 1866909453858635776
author Ding, Yucheng
Tan, Yangwenjian
Liu, Xiangyu
Niu, Chaoyue
Meng, Fandong
Zhou, Jie
Liu, Ning
Wu, Fan
Chen, Guihai
author_facet Ding, Yucheng
Tan, Yangwenjian
Liu, Xiangyu
Niu, Chaoyue
Meng, Fandong
Zhou, Jie
Liu, Ning
Wu, Fan
Chen, Guihai
contents In many practical natural language applications, user data are highly sensitive, requiring anonymous uploads of text data from mobile devices to the cloud without user identifiers. However, the absence of user identifiers restricts the ability of cloud-based language models to provide personalized services, which are essential for catering to diverse user needs. The trivial method of replacing an explicit user identifier with a static user embedding as model input still compromises data anonymization. In this work, we propose to let each mobile device maintain a user-specific distribution to dynamically generate user embeddings, thereby breaking the one-to-one mapping between an embedding and a specific user. We further theoretically demonstrate that to prevent the cloud from tracking users via uploaded embeddings, the local distributions of different users should either be derived from a linearly dependent space to avoid identifiability or be close to each other to prevent accurate attribution. Evaluation on both public and industrial datasets using different language models reveals a remarkable improvement in accuracy from incorporating anonymous user embeddings, while preserving real-time inference requirement.
format Preprint
id arxiv_https___arxiv_org_abs_2501_06062
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Personalized Language Model Learning on Text Data Without User Identifiers
Ding, Yucheng
Tan, Yangwenjian
Liu, Xiangyu
Niu, Chaoyue
Meng, Fandong
Zhou, Jie
Liu, Ning
Wu, Fan
Chen, Guihai
Machine Learning
In many practical natural language applications, user data are highly sensitive, requiring anonymous uploads of text data from mobile devices to the cloud without user identifiers. However, the absence of user identifiers restricts the ability of cloud-based language models to provide personalized services, which are essential for catering to diverse user needs. The trivial method of replacing an explicit user identifier with a static user embedding as model input still compromises data anonymization. In this work, we propose to let each mobile device maintain a user-specific distribution to dynamically generate user embeddings, thereby breaking the one-to-one mapping between an embedding and a specific user. We further theoretically demonstrate that to prevent the cloud from tracking users via uploaded embeddings, the local distributions of different users should either be derived from a linearly dependent space to avoid identifiability or be close to each other to prevent accurate attribution. Evaluation on both public and industrial datasets using different language models reveals a remarkable improvement in accuracy from incorporating anonymous user embeddings, while preserving real-time inference requirement.
title Personalized Language Model Learning on Text Data Without User Identifiers
topic Machine Learning
url https://arxiv.org/abs/2501.06062