liveBook · Manning

Model comparison

As explained in Designing Deep Learning Systems: A guide for software engineers

The process of comparing machine learning experiments or their resulting models to assess differences in behavior or performance.

Model comparison evaluates training experiments or resulting models by retaining the metadata and artifacts needed to inspect performance, reproduce results, and select a strong candidate. section 8.0

A comparison workflow depends on a persistent metadata and artifact store that can:

  • Connect model versions to their training runs, input parameters, datasets, code versions, and training metrics through lineage. section 8.3.1
  • Retain pipeline configuration, input datasets, algorithm code versions, and artifacts so a model can be reproduced for evaluation or troubleshooting. section 8.3.1
  • Provide manual and programmatic access to packaged model files for debugging and automated performance testing. section 8.3.1

Investigating a degraded production model

Start with the deployed model version, retrieve its lineage and model file, then inspect the training dataset, code version, parameters, and metrics to identify a likely cause of performance degradation or compare it with another run. section 8.3.1

How Designing Deep Learning Systems: A guide for software engineers covers it

How deep it goes
Defines comparison through lineage, reproducibility, and model access, but does not detail statistical comparison methods or evaluation metrics.
Examples
Uses datasets, model files, training runs, parameters, metrics, code versions, and production model downloads as comparison artifacts.
What it assumes
Assumes familiarity with datasets, training algorithms, model files, training runs, and basic model-performance investigation.
What you can do after
Diagnose model degradation, reproduce training runs, retrieve model versions, and select a model from multiple experiments.
How it connects
Connects model lineage, model versioning, reproducibility, metadata management, artifact storage, and model troubleshooting.

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Designing Deep Learning Systems: A guide for software engineers. The section links point to the parts of the book it draws on.