CertBrain
CoursesBlog
Sign in
← Back to decks
Sign in to save your progress, vote, and build your own decks.Sign in

Responsible Model Selection

Choosing a model is also a responsibility decision. Bigger models use more energy and hardware every time they run, so picking a model that is larger than the job needs wastes resources and adds to carbon emissions. AWS's guidance is to ask whether AI is needed at all, choose the smallest model…

8 cards
Study this deck

Responsible Model Selection

Choosing a model is also a responsibility decision. Bigger models use more energy and hardware every time they run, so picking a model that is larger than the job needs wastes resources and adds to carbon emissions. AWS's guidance is to ask whether AI is needed at all, choose the smallest model that does the job well, reuse existing models instead of training new ones, and run them on infrastructure that only uses capacity when there's work to do. The exam frames this as environmental considerations and sustainability.

Ask Whether Generative AI Is Needed

AWS's first sustainability principle for generative AI is to check whether it's the right tool. If a keyword search, a rule or a small traditional model can do the job, it will usually use far less computing power than a large generative model. Generative AI is for creating new content; it's an expensive way to look something up.

Right-Size the Model

Larger models aren't automatically better for a given task. For a narrow job, such as sorting support tickets into a few categories, a smaller model often reaches the accuracy target with much less computing per request. AWS recommends comparing candidate models on the task, then choosing the smallest one that meets the quality bar. Bedrock model evaluations help with that comparison.

Several techniques make a capable model cheaper to run:

  • Distillation trains a smaller "student" model to copy a larger "teacher" model's answers on your task. Amazon Bedrock offers this as Model Distillation.
  • Quantization stores the model's numbers with less precision, which shrinks it and speeds it up with little loss of quality.
  • Fine-tuning a smaller model for a specific task can match a large general model on that task.

Reuse Instead of Retrain

Training a foundation model from scratch takes huge amounts of data, time and energy. Starting from an existing pre-trained model, and adapting it only as much as needed with prompts, retrieval or light fine-tuning, avoids repeating that cost. Reuse is usually both the cheaper and the more sustainable choice.

When customization is needed, the lightest method that works is the responsible one. Better prompts or retrieval add almost no extra computing. Fine-tuning a smaller model costs some training energy once. Training a new model from scratch should be a last resort, kept for cases where no existing model can do the job.

Run It Efficiently

How a model is hosted matters as much as which model it is:

  • Serverless and auto scaling inference uses capacity only when requests arrive, instead of keeping servers running while idle.
  • Managed services, such as Amazon Bedrock, share well-utilized infrastructure across many customers.
  • Purpose-built chips, such as AWS Inferentia for inference, are designed to deliver more work per watt than comparable general instances.

On the Exam

When a question mentions sustainability, environmental impact or carbon footprint, the answer usually involves doing less computing: a smaller or distilled model, reusing a pre-trained model, serverless or auto scaling hosting, or efficient chips. Options that train a new model from scratch, pick the largest model "to be safe", or keep dedicated instances running around the clock are the traps.

Quiz me on this
A company wants to sort incoming support tickets into five fixed categories. A developer proposes using the largest foundation model available. The company also has a goal to reduce the environmental impact of its software. What should the company do?
  1. ✓ Use the smallest model that passes the accuracy target
  2. Pre-train a new foundation model on the company's own tickets
  3. Use the largest model and raise its maximum output length
  4. Host the largest model on dedicated instances that run all day
A startup wants to add an image-captioning feature to its app. Which approach is usually the MOST sustainable?
  1. Pre-train a new vision model from scratch on public images
  2. Gather a larger dataset to train an even bigger model
  3. ✓ Start from a pre-trained model, adapting only if needed
  4. Keep a fleet of GPU instances running in case demand ever grows
An internal summarization tool is used only during office hours, and its traffic comes in bursts. It runs on dedicated GPU instances that sit idle every night and weekend. The team wants to cut its environmental footprint without changing the model. Which change BEST meets this goal?
  1. Move the model to a larger GPU instance type
  2. ✓ Use serverless or auto scaling inference
  3. Raise the model's temperature setting
  4. Copy the deployment to a second Region
First sustainability question for a generative AI idea
Is generative AI needed at all? A search, rule or small model may do the job with far less computing.
Right-sizing a model
Compare candidate models on the task and choose the smallest one that meets the quality target.
Quantization
Storing a model's numbers at lower precision, making it smaller and faster to run with little quality loss.
Why reuse a pre-trained model?
It avoids repeating the huge data, time and energy cost of training a foundation model from scratch.
AWS Inferentia
AWS chips purpose-built for machine learning inference, designed for better performance per watt than comparable instances.