# Shadow Mode (Edge AI Glossary)

## metadata
- term: Shadow Mode
- slug: shadow-mode
- letter: S
- route: /resources/glossary/shadow-mode
- canonical: https://klyff.com/resources/glossary/shadow-mode

## Definition & Context
Shadow mode runs an AI model on live production data in observe-only mode, logging its decisions without acting on them, so performance can be validated safely before go-live.

## Details
## Shadow Mode

#### What is Shadow Mode?

Shadow mode is a deployment practice in which an AI model runs at full production speed on live data, makes decisions, and logs them, but does not act on them. The line keeps running exactly as before. No alerts fire, no parts are rejected, and no line holds are triggered.

The logged AI decisions are compared against ground truth, such as human inspector verdicts or quality records, to measure how the model performs on your specific line and process.

#### Why Is It Used?

In manufacturing, a wrong decision has an immediate physical cost. A false positive can stop a line and trigger investigations. Shadow mode answers the key operations question, "what happens when it gets it wrong?", before the model can affect production. It also builds trust with operators and quality teams who can see where the AI agrees with them and where it does not.

#### How Is It Used?

The model is deployed in shadow mode for a validation period, typically two to four weeks for quality inspection and longer for predictive maintenance. Its verdicts, timestamps, and confidence scores are recorded and compared with expert human judgment. Teams review agreement rate, false positive rate, and false negative rate by defect type. When results meet the agreed threshold, the deployment is switched to live mode. Shadow mode is also used for new model versions, which run alongside the live model until they prove better.

#### Key Points

 
- **Ground Truth:** Compare against expert human decisions, not another automated system like [AOI](/resources/glossary/automated-optical-inspection).
- **Observe Only:** Decisions are logged, but downstream actions are bypassed.
- **Go-Live Gate:** Switching to live is based on evidence from your own line.
- **Continuous Use:** Also applies to every [retrained model](/resources/glossary/model-retraining) before promotion. 

#### Benefits of Shadow Mode

 
- Validates performance with no risk to production.
- Produces site-specific accuracy data, not vendor benchmarks.
- Builds operator and management confidence.
- Holds every model update to the same evidence standard.
