NVIDIA Generative AI LLMs Associate (NCA-GENL) · Free practice question 9 of 12
Counterfactual data augmentation for bias
A sentiment model at Kirkbride Reviews gives lower scores to otherwise identical sentences when a female name replaces a male name. Which data technique directly targets this pattern?
- A.Doubling the size of the vocabulary so names get more tokens
- B.Counterfactual augmentation that adds training copies with names or gendered terms swapped
- C.Removing every sentence that contains a person's name from the evaluation set but not the training set
- D.Lowering the learning rate so the model learns names more slowly
Show answer and explanation
Correct answer: B. Counterfactual augmentation that adds training copies with names or gendered terms swapped
Why: Counterfactual data augmentation creates paired examples that differ only in a sensitive attribute, such as swapped names or pronouns, with the same label, teaching the model that the attribute should not change the prediction; counterfactual test pairs can also measure the disparity. Editing only the evaluation set hides the problem, and learning rate or vocabulary changes do not address the biased association.
More free NVIDIA Generative AI LLMs Associate (NCA-GENL) questions
- Positional encoding in transformers
- SentencePiece and raw-text tokenization
- Mean reciprocal rank for retrieval
- Box plots and the interquartile range
- Knowledge distillation into a smaller model
- Random search versus grid search
- Vector index storage estimate
- Disaggregated prefill and decode serving
- Red teaming before release
- Parameter-efficient fine-tuning methods
- Limiting generation length and stopping