What Gradients Add to Text Leakage in Split Language Models, Counted per Token and per Document
Split-learning observers recover 97% of GPT-2 tokens; gradients lift exact document recovery from 14% to 38%.
Researchers show an observer at a split-learning cut can rebuild most client text from activations and gradients. On GPT-2, public weights of the client layers recover 94.20% of tokens from activations alone and 97.38% when gradients are included. Exact recovery of 32-token documents rises from 13.71% to 37.77%. Secret mixup stops almost all exact document reconstructions yet still leaves 83–91% of tokens recoverable. A second experiment on GPT-2 and Qwen3-0.6B finds that the layer where a fixed-length server run starts changes both quality and leakage.
- Activations alone recover 94.20% of GPT-2 tokens
- Gradients raise token recovery to 97.38%, a 3.17-point gain
- Exact 32-token document recovery rises from 13.71% to 37.77%
- Secret mixup blocks exact documents but leaves 83–91% of tokens
- Split depth changes leakage on GPT-2 and Qwen3-0.6B
- AI models
- GPT-2Qwen3-0.6B
From the original article
1 min read at huggingface.coSplit learning lets a client train a language model on a server without sending its text. The client runs the first layers itself and sends the server only their output, a vector of numbers for each token. During training, the server sends gradients back.
By Georgios Politis, Evangelos Pappas · huggingface.co
A short excerpt; the article and its images belong to the publisher. Summary, key facts and assessment above are AI-written from the article and can be wrong.