Training Firewall for Adversarially Robust Lightweight ML Models
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Existing machine-learned models are vulnerable to adversarial attacks, particularly when lightweight models are distributed from a server-side model, as they can be exploited to compromise the performance and security of the larger, more performant models.
Innovation Solution
Implement a training firewall using an intermediary teacher model with a distinct architecture, trained on high-quality data, to supervise the training of a lightweight student model on a diverse, noisy dataset, ensuring the student model learns decision boundaries that obscure the distribution of the server-side model, thereby preventing adversarial knowledge transfer.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Use of energy by moving object
If lightweight machine-learned models are distributed from server-side models, then energy efficiency and resource usage are improved, but security and robustness against adversarial attacks deteriorate
Solution Approach 1:
The patent introduces a training firewall as an intermediary component between the server-side model and distributed lightweight models. This training firewall consists of a teacher model trained on high-quality data that supervises the training of student models on noisy data, creating a protective layer that prevents adversarial knowledge transfer while enabling energy-efficient deployment of lightweight models across distributed systems
Solution Approach 2:
The patent segments the model training process into two distinct stages: first training a teacher model on high-quality server-side data, then using the teacher model to supervise the training of multiple student models on noisy distributed data. This segmentation allows the system to maintain security at the server level while enabling lightweight model deployment at the edge, resolving the contradiction between energy efficiency and security robustness
2Adaptability or versatility
If lightweight models are trained directly on noisy distributed data, then device autonomy and scalability are improved, but model accuracy and security deteriorate
Solution Approach 1:
The teacher model serves as an intermediary that bridges the gap between noisy distributed data and accurate predictions. The teacher model, trained on high-quality server-side data, provides supervisory signals to student models training on noisy local data, enabling device autonomy while maintaining model accuracy through the mediating influence of the teacher model's learned decision boundaries
Solution Approach 2:
The patent performs preliminary action by first training the teacher model on high-quality data before the student models attempt to learn from noisy data. This preliminary training establishes correct decision boundaries and knowledge that the student models can then acquire through supervised learning, ensuring that even with noisy data, the final models achieve adequate accuracy for their autonomous operations
Data Source
AI summary
An example method can include obtaining, by a computing system, a first dataset including first reference inputs and first reference outputs. The example method can include training, by the computing system, a first machine-learned model using the first dataset. The example method can include obtaining, by the computing system, a second dataset including a plurality of second reference inputs, the plurality of second reference inputs obtained from a data corpus based on a distribution of second reference inputs in the second dataset. The example method can include processing, by the computing system and using the first machine-learned model, the plurality of second reference inputs to generate a plurality of second reference outputs corresponding to the plurality of second reference inputs. The example method can include training, by the computing system, a second machine-learned model using the plurality of second reference outputs and the plurality of second reference inputs.


