From Tea Leaves to System Maps: A Survey and Framework on Context-Aware Machine Learning Monitoring
Machine learning (ML) models in production fail when their broader systems – from data pipelines to deployment environments – deviate from training assumptions, not merely due to statistical anomalies in input data. Despite extensive work on data drift, data validation, and out-of-distribution detection, ML monitoring research remains largely model-centric while neglecting <italic xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">contextual information</i>: auxiliary signals about the system around the model (external factors, data pipelines, downstream applications). Incorporating this context turns statistical anomalies into actionable alerts and structured root-cause analysis. Drawing on a systematic review of 94 primary studies, we identify three dimensions of contextual information for ML monitoring: the <italic xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">system</i> element concerned (natural environment or technical infrastructure); the <italic xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">aspect</i> of that element (runtime states, structural relationships, prescriptive properties); and the <italic xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">representation</i> used (formal constructs or informal formats). This forms the <italic xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">Contextual System-Aspect-Representation</i> (C-SAR) framework, a descriptive model synthesizing our findings. We identify 20 recurring triplets across these dimensions and map them to the monitoring activities they support. This study provides a holistic perspective on ML monitoring: from interpreting “tea leaves” (i.e., isolated data and performance statistics) to constructing and managing “system maps” (i.e., end-to-end views that connect data, models, and operating context).
Authors
- Claudia Raibulet (ORCID: https://orcid.org/0000-0002-7194-3159)
- Joran Leest (ORCID: https://orcid.org/0009-0003-1335-6559)
- Ilias Gerostathopoulos (ORCID: https://orcid.org/0000-0001-9333-7101)
- Patricia Lago (ORCID: https://orcid.org/0000-0002-2234-0845)
Institutions
- Vrije Universiteit Amsterdam (NL)
Publication Details
- Journal
- IEEE Transactions on Software Engineering
- Published
- 2025-08-26
- DOI
- https://doi.org/10.1109/tse.2025.3602520
- Primary Topic
- Data Management and Algorithms
- Type
- article
- Field-Weighted Citation Impact
- 0.00