paper-with-me

홈 › Papers

LAMP: Extracting Text from Gradients with Language Model Priors

2022-02-17 · Mislav Balunović, Dimitar I. Dimitrov, Nikola Jovanović, Martin Vechev

Recent work shows that sensitive user data can be reconstructed from gradient updates, breaking the key privacy promise of federated learning. While success was demonstrated primarily on image data, these methods do not directly transfer to other domains such as text. In this work, we propose LAMP, a novel attack tailored to textual data, that successfully reconstructs original text from gradients. Our attack is based on two key insights: (i) modeling prior text probability with an auxiliary language model, guiding the search towards more natural text, and (ii) alternating continuous and discrete optimization, which minimizes reconstruction loss on embeddings, while avoiding local minima by applying discrete text transformations. Our experiments demonstrate that LAMP is significantly more effective than prior work: it reconstructs 5x more bigrams and 23% longer subsequences on average. Moreover, we are the first to recover inputs from batch sizes larger than 1 for textual models. These findings indicate that gradient updates of models operating on textual data leak more information than previously thought.

📄 PDF Abstract BibTeX arXiv:2202.08827

Code (2)

eth-sri/lamp 공식 구현 pytorch
eth-sri/tableak pytorch

Tasks

Federated LearningLanguage ModelingLanguage Modelling

Similar Papers 제목 키워드 기반

LAMP: Extracting Locally Linear Decision Surfaces from LLM World Models

2025-05-17 · Ryan Chen, Youngmin Ko, Zeyu Zhang, Catherine Cho 외

We introduce LAMP (Linear Attribution Mapping Probe), a method that shines light onto a black-box language model's decision surface and studies how reliably a model maps its stated reasons to its predictions through a lo…

Sentiment Analysis

LAMP: Lift Image-Editing as General 3D Priors for Open-world Manipulation

2026-04-09 · Jingjing Wang, Zhengdong Hong, Chong Bao, Yuke Zhu 외 arxiv

Human-like generalization in open-world remains a fundamental challenge for robotic manipulation. Existing learning-based methods, including reinforcement learning, imitation learning, and vision-language-action-models (…

Zero-shot GeneralizationReinforcement Learning

LaMP: Language-Motion Pretraining for Motion Generation, Retrieval, and Captioning

2024-10-09 · Zhe Li, Weihao Yuan, Yisheng He, Lingteng Qiu 외

Language plays a vital role in the realm of human motion. Existing methods have largely depended on CLIP text embeddings for motion generation, yet they fall short in effectively aligning language and motion due to CLIP'…

Large Language ModelMotion CaptioningMotion GenerationRepresentation Learning+2

CLaMP: Contrastive Language-Music Pre-training for Cross-Modal Symbolic Music Information Retrieval

2023-04-21 · Shangda Wu, Dingyao Yu, Xu Tan, Maosong Sun

We introduce CLaMP: Contrastive Language-Music Pre-training, which learns cross-modal representations between natural language and symbolic music using a music encoder and a text encoder trained jointly with a contrastiv…

Data AugmentationInformation RetrievalMusic ClassificationMusic Information Retrieval+3

LaMP: When Large Language Models Meet Personalization

2023-04-22 · Alireza Salemi, Sheshera Mysore, Michael Bendersky, Hamed Zamani

This paper highlights the importance of personalization in large language models and introduces the LaMP benchmark -- a novel benchmark for training and evaluating language models for producing personalized outputs. LaMP…

Language ModelingLanguage ModellingNatural Language UnderstandingRetrieval+3