O&O ConsultingBook a free call

Home / Insights / AI in Practice

Hidden Technical Debt in AI Systems

The model is a small part of a working AI system. The rest needs owners.

O&O Consulting · · 2 min read

A large warehouse representing supporting infrastructure

A prototype that works in a notebook is the beginning. Keeping it working is a different discipline, often called machine learning operations or MLOps.

The debt

A 2015 paper by D. Sculley and colleagues at Google described "hidden technical debt" in machine learning systems. The model code is a small box surrounded by data collection, feature processing, configuration, serving and monitoring. Several hazards are particular to learning systems:

  • Entanglement: changing one input changes how all others are used.
  • Undeclared consumers: other teams quietly depend on a model's output.
  • Data dependencies: an upstream field changes meaning and nothing errors.
  • Feedback loops: a model influences the data it will later learn from.
A model sits inside a larger systemIllustrative diagram, not data
Monitoring and incident responseServing infrastructureThe modelTesting and validationData collection and cleaning
Monitoring and incident responseServing infrastructureThe modelTesting and validationData collection and cleaning

Diagram by O&O Consulting.

Drift

The world changes. Customer behaviour, prices and language move away from what the model saw. Because predictions still arrive, decline can pass unnoticed. Track input distributions and outcomes, and compare with a baseline.

Basic practices

  • Version data, code, prompts and model identifiers together.
  • Test the data pipeline as seriously as the application.
  • Release changes to a small share of traffic first.
  • Keep the ability to revert quickly.
  • Name a person who responds when quality falls.

Documentation

"Model cards" propose recording a model's intended use, evaluation results across groups and known limits. "Datasheets for datasets" do the same for data. Even a brief version helps the next person understand what the system was meant to do.

Limitations and open questions

Heavy process can be out of proportion for a small internal tool. Match the effort to the consequences of failure, but do not skip ownership and monitoring: those two fail quietly and expensively.

References

This article is general information, not financial, legal or investment advice. AI research and rules change quickly; check the cited sources for the current position.