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.
LAMP: Extracting Local Decision Surfaces From Large Language Models
Department of Statistics and Data Science, Northwestern University(西北大学统计与数据科学系);Section of Digestive Diseases, Department of Medicine, Yale School of Medicine(耶鲁医学院消化疾病科);Department of Biomedical Informatics and Data Science, Yale School of Medicine(耶鲁医学院生物医学信息学与数据科学系);Division of Gastroenterology and Hepatology, Department of Medicine, Mayo Clinic(梅奥诊所消化内科与肝病科)
Extracting Spatiotemporal Data from Gradients with Large Language Models
Tokyo Institute of Technology(东京工业大学);The University of Tokyo(东京大学);Xidian University(西安电子科技大学);National Institute of Information and Communications Technology(日本信息通信研究机构);Osaka Seikei University(大阪成蹊大学)
Multi-Type-TD-TSR -- Extracting Tables from Document Images using a Multi-stage Pipeline for Table Detection and Table Structure Recognition: from OCR to Structured Table Representations
Extracting Protein-Protein Interactions (PPIs) from Biomedical Literature using Attention-based Relational Context Information
Computational Science Initiative(计算科学计划);Brookhaven National Laboratory(布鲁克海文国家实验室);Joint Genome Institute(联合基因组研究所);Lawrence Berkeley National Laboratory(劳伦斯伯克利国家实验室)