Bias, variance and datasets: AIF-C01 study notes and practice questions
What to know about Bias, variance and datasets for the AIF-C01 exam, from the Guidelines for Responsible AI domain (14% of the exam guide), then 2 free questions to test it. Part of the AIF-C01 study guide.
A logistics company's model predicts delivery delays. It scores 98 percent on its training data but 71 percent on a held-out test set.
The team cannot collect new data this quarter and must keep the model's size unchanged to meet a latency limit.
Which action is MOST likely to improve performance on new data?
Choose one answer.
AA. Apply regularization and early stopping, and tune them on a validation set kept separate from the test set.
BB. Train for many more epochs, so that the model fits the training data even more closely.
CC. Merge the validation and test sets, then retrain on all of the data so the model sees more examples.
DD. Add more hidden layers, so that the network can learn more complex patterns in the training data.
Show the answer and explanation
Answer: A
A. Right: Correct. Regularization and early stopping limit how closely the model fits noise in the training data. A separate validation set keeps the tuning honest, so the test set still measures new-data performance. Learn more: What is Overfitting? - AWS (opens in a new tab)
B. Wrong: More epochs usually widen the gap between training and new-data accuracy. The model memorizes the training examples even further.
C. Wrong: Merging the sets removes the only unbiased check on new-data accuracy. Retraining on the same data does not fix overfitting, which is the real problem.
D. Wrong: A larger network increases model size, which breaks the latency limit. More capacity also tends to overfit more, so it works against the goal.
Explanation
A large gap between training and test accuracy is a sign of overfitting, where a model learns the training data too closely to generalize. Regularization and early stopping address this without new data or a larger model, and a clean validation process keeps the evaluation honest. This question tests recognizing overfitting and choosing a fix that respects the constraints.
A lender is collecting data to train a credit risk model that must treat applicants fairly. Past loan decisions were made by staff, and applicants come from many regions.
Which TWO dataset characteristics are MOST important for fair treatment? (Choose two.)
Choose two answers.
AA. Enough labeled applications from each applicant group the model will score, so that no group is underrepresented.
BB. Outcome labels reviewed for past bias, so that historical unfair refusals are not learned as the correct answer.
CC. The largest possible number of records, even if most of them come from a single region.
DD. Keeping protected attributes such as gender as predictors, since they show real differences in default risk.
EE. Only applications from the last two years, so that the model reflects current lending rules.
Show the answer and explanation
Answers: A, B
A. Right: Correct. A model learns little about groups with few examples, so representation across groups must be checked before its scores can be judged fair.
B. Right: Correct. If past decisions were unfair, using them as labels teaches the model to repeat that unfairness. The labels need review before training.
C. Wrong: Size does not fix bias. A very large dataset that mostly comes from one region still fails applicants elsewhere.
D. Wrong: Using protected attributes as predictors can lead to unfair treatment of protected groups, which the lender must avoid. Apparent differences in risk do not justify it.
E. Wrong: Recent records help the model stay current, but they do not address fairness across groups. Two years of biased decisions can still carry unfair patterns.
Explanation
Fair treatment depends on whether the training data represents every group the model will score, and on whether its labels reflect fair decisions. Data volume and recency matter less than these two points. This question tests identifying the dataset properties behind bias.
Want more on Bias, variance and datasets? The 5 full-length practice sets have 9 more Bias, variance and datasets questions, 325 in all, none of them in the free exam. One payment of $14.99, no subscription. See the practice sets →