paper-with-me

홈 › Papers

DAGER: Exact Gradient Inversion for Large Language Models

2024-05-24 · Ivo Petrov, Dimitar I. Dimitrov, Maximilian Baader, Mark Niklas Müller, Martin Vechev

Federated learning works by aggregating locally computed gradients from multiple clients, thus enabling collaborative training without sharing private client data. However, prior work has shown that the data can actually be recovered by the server using so-called gradient inversion attacks. While these attacks perform well when applied on images, they are limited in the text domain and only permit approximate reconstruction of small batches and short input sequences. In this work, we propose DAGER, the first algorithm to recover whole batches of input text exactly. DAGER leverages the low-rank structure of self-attention layer gradients and the discrete nature of token embeddings to efficiently check if a given token sequence is part of the client data. We use this check to exactly recover full batches in the honest-but-curious setting without any prior on the data for both encoder- and decoder-based architectures using exhaustive heuristic search and a greedy approach, respectively. We provide an efficient GPU implementation of DAGER and show experimentally that it recovers full batches of size up to 128 on large language models (LLMs), beating prior attacks in speed (20x at same batch size), scalability (10x larger batches), and reconstruction quality (ROUGE-1/2 > 0.99).

📄 PDF Abstract BibTeX arXiv:2405.15586

Code (1)

insait-institute/dager-gradient-inversion 공식 구현 pytorch

Tasks

DecoderFederated LearningGPUHeuristic Search

Methods 이 논문이 사용한 방법론

SPEED The monocular depth estimation (MDE) is the task of estimating depth from a single frame. This information is an essential knowledge in many computer vision tasks such as scene…

Similar Papers 제목 키워드 기반

Enhanced Offensive Language Detection Through Data Augmentation

2020-12-05 · Ruibo Liu, Guangxuan Xu, Soroush Vosoughi

Detecting offensive language on social media is an important task. The ICWSM-2020 Data Challenge Task 2 is aimed at identifying offensive content using a crowd-sourced dataset containing 100k labelled tweets. The dataset…

Data AugmentationTask 2

SPEAR:Exact Gradient Inversion of Batches in Federated Learning

2024-03-06 · Dimitar I. Dimitrov, Maximilian Baader, Mark Niklas Müller, Martin Vechev

Federated learning is a framework for collaborative machine learning where clients only share gradient updates and not their private data with a server. However, it was recently shown that gradient inversion attacks can …

Federated LearningGPU

On Exact Inversion of DPM-Solvers

2023-11-30 · CVPR 2024 1 · Seongmin Hong, Kyeonghyun Lee, Suh Yoon Jeon, Hyewon Bae 외

Diffusion probabilistic models (DPMs) are a key component in modern generative models. DPM-solvers have achieved reduced latency and enhanced quality significantly, but have posed challenges to find the exact inverse (i.…

Denoising

No More Guessing: a Verifiable Gradient Inversion Attack in Federated Learning

2026-04-16 · Francesco Diana, Chuan Xu, André Nusser, Giovanni Neglia arxiv

Gradient inversion attacks threaten client privacy in federated learning by reconstructing training samples from clients' shared gradients. Gradients aggregate contributions from multiple records and existing attacks may…

Federated Learning

Gradient-free Decoder Inversion in Latent Diffusion Models

2024-09-27 · Seongmin Hong, Suh Yoon Jeon, Kyeonghyun Lee, Ernest K. Ryu 외

In latent diffusion models (LDMs), denoising diffusion process efficiently takes place on latent space whose dimension is lower than that of pixel space. Decoder is typically used to transform the representation in laten…

DecoderDenoisingGPUScheduling