Instruction Data Guard is a deep-learning classification model that helps identify LLM poisoning attacks in datasets. It is trained on an instruction:response dataset and LLM poisoning attacks of such data. Note that optimal use for Instruction Data Guard is for instruction:response datasets.
NVIDIA Open Model License Agreement
The Internal State of an LLM Knows When It's Lying: https://arxiv.org/pdf/2304.13734
Architecture Type: FeedForward MLP
Network Architecture: 4 Layer MLP
Input Type(s): Text Embeddings
Input Format(s): Numerical Vectors
Input Parameters: 1D Vectors
Other Properties Related to Input: The text embeddings are generated from the Aegis Defensive Model. The length of the vectors is 4096.
Output Type(s): Classification Scores
Output Format: Array of shape 1
Output Parameters: 1D
Other Properties Related to Output: Classification scores represent the confidence that the input data is poisoned or not.
Runtime Engine(s):
Supported Hardware Microarchitecture Compatibility:
Preferred Operating System(s):
v1.0
Data Collection Method by Dataset:
Labeling Method by Dataset:
Instruction Data Guard is evaluated based on two overarching criteria:
Success is defined as having an acceptable catch rate (recall scores for each attack) over a high specificity score (ex. 95%). Acceptable catch rates need to be high enough to identify at least several poisoned records in the attack.
Engine: NeMo Curator and Aegis
Test Hardware:
The inference code is available on NeMo Curator's GitHub repository.
Check out this example notebook to get started.
NVIDIA believes Trustworthy AI is a shared responsibility and we have established policies and practices to enable development for a wide array of AI applications. When downloaded or used in accordance with our terms of service, developers should work with their internal model team to ensure this model meets requirements for the relevant industry and use case and addresses unforeseen product misuse.
Please report security vulnerabilities or NVIDIA AI Concerns here.