[Paper Review] Generative Knowledge Transfer for Neural Language Models
This paper proposes Generative Knowledge Transfer (GKT), a privacy-preserving method for training RNN-based language models by transferring knowledge from teacher networks to a student network using only generated text and soft labels, avoiding direct use of user data. The approach achieves strong performance gains while enabling robust privacy protection through ensemble-based soft label aggregation, particularly effective for adapting language models to user-specific expressions without exposing private data.
In this paper, we propose a generative knowledge transfer technique that trains an RNN based language model (student network) using text and output probabilities generated from a previously trained RNN (teacher network). The text generation can be conducted by either the teacher or the student network. We can also improve the performance by taking the ensemble of soft labels obtained from multiple teacher networks. This method can be used for privacy conscious language model adaptation because no user data is directly used for training. Especially, when the soft labels of multiple devices are aggregated via a trusted third party, we can expect very strong privacy protection.
Motivation & Objective
- To address privacy concerns in training language models using user-generated data, especially in mobile or internet-connected devices where data collection raises user privacy issues.
- To develop a knowledge transfer technique that avoids direct access to user data or model parameters, reducing the risk of membership inference or data reconstruction attacks.
- To enable effective language model adaptation to user-specific language patterns—such as new or trendy expressions—while preserving user privacy through secure aggregation of soft labels.
- To explore two variants: teacher-driven (TDGKT) and student-driven (SDGKT) GKT, with SDGKT offering stronger privacy guarantees via decentralized text generation.
Proposed method
- The method employs a teacher-student training framework where a previously trained RNN language model (teacher) generates text sequences and corresponding soft label probabilities.
- The student network is trained solely on the generated text and the soft labels from the teacher, without access to the original training data or model parameters.
- In TDGKT, the teacher network generates the training text; in SDGKT, the student network generates the text, yet still learns from the teacher’s soft labels.
- For enhanced privacy, multiple user device LMs generate soft labels, which are averaged by a trusted third party and used to train a centralized main server LM.
- The approach leverages ensemble soft labels to improve model generalization and robustness while achieving differential privacy through noise injection in label aggregation.
- Multi-cycle SDGKT enables transfer of out-of-vocabulary (OOV) words known only to the teacher to the student, ensuring adaptation to evolving language trends.
Experimental results
Research questions
- RQ1Can knowledge transfer from private user language models be achieved without exposing user data or model parameters?
- RQ2How effective is generative knowledge transfer in preserving privacy while enabling adaptation to user-specific language patterns?
- RQ3What is the performance trade-off between using soft labels from a single teacher versus an ensemble of teachers in language model training?
- RQ4Does student-driven GKT (SDGKT) provide stronger privacy protection than teacher-driven GKT (TDGKT) while maintaining comparable model performance?
- RQ5Can GKT effectively transfer knowledge of out-of-vocabulary (OOV) words from teacher to student networks without direct data access?
Key findings
- The main server language model trained via SDGKT achieved a test BPC of 1.322 on full test data with 100 user devices, outperforming the average BPC of 1.346 from individual user models.
- The BPC on private test data improved from 1.359 (initial pre-trained model) to 1.247 with 100 devices, demonstrating effective adaptation to user-specific language.
- SDGKT and TDGKT showed nearly identical performance, with SDGKT offering stronger privacy guarantees due to decentralized text generation.
- The model successfully learned and adapted to OOV words such as newly coined or trendy expressions through multi-cycle SDGKT, even without direct access to training data.
- Performance on public test data slightly degraded (BPC 1.334 vs. 1.301 initial), indicating some forgetting of rare public vocabulary, but this was a minor trade-off for private data adaptation.
- Ensemble soft label aggregation across 100 devices reduced the ensemble BPC to 1.321, showing that collective knowledge transfer improves model quality while preserving privacy.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.