Skip to content

AIP-C01 · Study Guide

← Domain 2: Implementation and Integration

2.1.4 · Lesson 4 of 25

Model Coordination

Sometimes one model is not the best solution for every task.

Overview

Sometimes one model is not the best solution for every task.

Instead:

                Request
                   ↓
             Model Selection
            /       |       \
           ↓        ↓        ↓
       Model A   Model B   Model C
        Search    Coding   Summary

Each model can specialize in a capability.

Specialized FMs

Example:

Customer Request
       ↓
Classification Model
       ↓
 ┌─────┼──────┐
 ↓     ↓      ↓
Code  Search  Summary
FM     FM      FM

This can improve:

  • performance
  • cost
  • task specialization

Model Ensemble

Multiple models can produce outputs.

             Input
               ↓
       ┌───────┼───────┐
       ↓       ↓       ↓
    Model A  Model B  Model C
       ↓       ↓       ↓
       └───────┼───────┘
               ↓
        Aggregation Logic
               ↓
          Final Output

Aggregation logic might select or combine outputs according to application requirements.

Model Selection Framework

Do not automatically choose the largest model.

Evaluate:

Quality
+ Cost
+ Latency
+ Capability
+ Context requirements
+ Availability
+ Security
+ Workload requirements

Exam trap

Most powerful model ≠ automatically best model.

The correct model is the one that satisfies the application's requirements.

Key points

  • performance
  • cost
  • task specialization
  • Specialized FMs
  • Model Ensemble
  • Model Selection Framework

Exam focus

Most powerful model ≠ automatically best model. The correct model is the one that satisfies the application's requirements.

View progress