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 questions

Domain Explain responsible AI

Answer options
A: Include fairness metrics for model evaluation. Correct answer
B: Adjust the temperature parameter of the model.
C: Modify the training data to mitigate bias. Correct answer
D: Avoid overfitting on the training data.
E: Apply prompt engineering techniques.
Correct Answer:
A. Include fairness metrics for model evaluation.; C. Modify the training data to mitigate bias.
Explanation

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.

Why Incorrect

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.

References

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

Scroll to Top