AIF-C01 practice question 25 of 25
An accounting firm wants to implement a large language model (LLM) to automate document processing. The firm must proceed responsibly to avoid potential harms. What should the firm do when developing and deploying the LLM? (Select TWO.)
Full set: 397 questionsDomain Explain responsible AI
Developing and deploying a large language model (LLM) responsibly involves a proactive approach to mitigate potential harms, particularly bias and unfairness. The two most fundamental actions are addressing the source of bias in the training data and establishing metrics to measure fairness. Modifying the training data (C) is a pre-processing step that directly targets the root cause of bias, ensuring the model does not learn and perpetuate historical inequities present in the source documents. Including fairness metrics (A) as part of the model evaluation process is crucial for post-training assessment. It allows the firm to quantify and verify that the model's performance is equitable across different demographic groups, which is a core tenet of responsible AI.
B. Adjusting the temperature parameter of the model controls the randomness of the output; it does not address the underlying fairness or bias of the model's predictions.
D. Avoiding overfitting is a standard machine learning practice to ensure a model generalizes well to new data, but it is primarily concerned with model accuracy, not ethical fairness.
E. Applying prompt engineering techniques can help guide a model's output at inference time but does not correct the fundamental biases learned by the model during its training phase.
1. Official Vendor Documentation (AWS): Amazon SageMaker Clarify is a tool designed for this purpose. The documentation states
"Amazon SageMaker Clarify helps improve your machine learning models by detecting potential bias and helping explain how these models make predictions." It supports both pre-training bias analysis on data (aligning with option C) and post-training bias analysis using fairness metrics (aligning with option A).
Source: AWS Documentation
"Amazon SageMaker Clarify
" Section: "Detect Bias in Data and Models."
2. Official Vendor Documentation (AWS): The AWS framework for Responsible AI emphasizes fairness as a key dimension. It states
"Fairness is the dimension of Responsible AI that is concerned with how an AI system's outputs impact different individuals or subgroups of people... Mitigation can occur at different stages of the AI/ML lifecycle
including in the data collection and preparation phase..."
Source: AWS Responsible AI
"Fairness" dimension description.
3. Academic Publication: In the survey paper "A Survey on Bias and Fairness in Machine Learning
" the authors categorize bias mitigation techniques into three families: pre-processing
in-processing
and post-processing. Modifying training data (C) is a primary pre-processing technique
and using fairness metrics (A) is essential for evaluation across all stages.
Source: Mehrabi
N.
Morstatter
F.
Saxena
N.
Lerman
K.
& Galstyan
A. (2021). "A Survey on Bias and Fairness in Machine Learning." ACM Computing Surveys
54(6)
Article 115
Section 4: "Bias Mitigation". DOI: https://doi.org/10.1145/3457607
Keep practicing
Take the free AIF-C01 practice test
Ten exam-style questions with answers and explanations, plus the exam facts and study guides.
More questions
Other AIF-C01 practice questions
- Question 1A company makes forecasts each quarter to decide how to optimize operations to meet expec…
- Question 2An AI practitioner has a database of animal photos. The AI practitioner wants to automati…
- Question 3A loan company is building a generative AI-based solution to offer new applicants discoun…
- Question 4What are tokens in the context of generative AI models?
- Question 5A company has installed a security camer a. The company uses an ML model to evaluate the …
- Question 6A company wants to use a large language model (LLM) on Amazon Bedrock for sentiment analy…
