Federated-learning attack recovers sentences exactly, authors say

In short

What the paper reports

Federated learning lets several parties fine-tune one language model without handing over their text. Each party trains on its own data and sends back only a model update, and a server averages them. The promise is that raw text never leaves the owner.

The authors, Omkar Shrikanth, Soham Dambalkar, Parag Jyoti Pal, Advik Raj Basani and Arnab K. Paul, ask what an honest-but-curious client can learn. This is a participant who follows the rules but studies the shared model updates. Earlier text-recovery attacks, they write, assumed a server that sees each client's update separately, and they degrade as the batch grows. In the averaged update, the number of tokens C can far exceed the model's hidden dimension d. The paper calls the point where the token count reaches d the "wall", and "above the wall" means C > d. The strongest previous method it describes, DAGER, recovers text up to 128 sentences but, per the paper, hits that wall once the batch's token count approaches d.

How does the attack recover other people's sentences?

Think of the averaged update as a smoothie made from many people's sentences. You cannot pull one fruit out, but you can guess a recipe, check whether the guess matches the taste, and then remove that fruit's share from the smoothie. With the strong flavour gone, weaker ones become easier to identify. The paper describes five steps that repeat in a loop:

The numbers

The authors tested Pythia-160M, Pythia-410M and GPT-J-6B (hidden dimensions 768, 1,024 and 4,096) on SST-2 movie reviews, Enron emails and PubMed text. Aggregates ranged from 256 to 65,536 tokens. Each experiment was repeated three times and the median is reported. All attacks ran on a single NVIDIA A100 GPU.

The 80.2% headline figure appears in the abstract. We did not locate that exact number in the body text we read, so it is the authors' summary claim; the body reports figures by configuration.

Limits the paper states

Terms in plain English

Where things stand

The paper is a preprint and has not been peer reviewed. The authors describe it as a framework for awareness, to inform privacy assessments and stronger defences, and say extending the full pipeline to more architectures is future work. They give a code repository for reproducing the experiments.

Sources

Sources

Related stories

More from Teach the Bot

All stories from Teach the Bot