“In God we trust. All others must bring data.” – W. E. Deming
These words still reverberate in every data‑science lab, engineering hub, and AI startup. The old adage is a reminder that measurement is a prerequisite for improvement: if you don't measure, you are guessing —but it also hints at the danger of misusing that measurement. In this follow‑up to our 15th‑anniversary initial blog post, I’ll dig deeper into a trend that has been a constant at Dion Research: the world of metrics! The perils of what we choose to measure, how we measure it, and why a single metric can never tell the whole story.
Why Metrics Matter – and Why They Can Mislead
The Promise of Quantification
Metrics turn abstract goals into concrete numbers. They let us:
- Benchmark progress against past work or industry standards.
- Detect drift in models, pipelines, or data sources.
- Communicate impact to stakeholders in a language that cuts across domains.
Without metrics, we’re flying blind, guessing that a model is performing “well enough” or that a data pipeline is “stable enough.” Guessing is inherently risky—especially when humans and algorithms are in a feedback loop that rewards the wrong signals.
The Flip Side: Gaming and Goodhart’s Law
Goodhart’s Law states (in it's modern formulation): “When a measure becomes a target, it ceases to be a good measure.” When teams (or LLMs or optimization functions) chase a single metric, they find creative ways to inflate it without truly improving the underlying process.
Over the years, we’ve seen this in countless environments:
- Lines‑of‑Code (LOC) used as a proxy for productivity: programmers write verbose code, or split functionality into many small files.
- Code-Coverage used as a proxy for code quality: programmers write meaningless tests just to get to that coverage number, but do not address real edge cases.
- Tickets‑Closed as a KPI: the focus shifts from solving real problems to closing tickets for the sake of numbers.
- Token‑maxxing and benchmaxxing (explained below) in AI development.
Token‑Maxxing and Benchmaxxing: Incentives Gone Wrong
Monetary or Prominence Drivers
In many product teams, “higher benchmark scores” can justify larger budgets, better talent, or new product launches. Token‑maxxing (or similar leaderboards) can translate into higher compute usage, which in turn increases billable costs. This creates a vicious cycle where financial incentives align with gaming the metric rather than with genuine product value.
The KDD Cup 2008 – A Case Study in Metric Gaming
The KDD Cup 2008 challenged teams to predict breast‑cancer outcomes from gene expression data. An IBM research team discovered a hidden data leakage in the index: a feature in the training set that inadvertently leaked future outcome labels (first 20000 patient rows had 36% malignant tumors compared to 1% and 1.7% for other ranges of the index). They exploited this leakage to train a model that achieved a near‑perfect score on the competition leaderboard.
- Result: The model performed excessively well on the contest’s test set but was totally useless in real clinical settings. This is even more problematic with AI models (see article in The Pathologist)
- Lesson: A single evaluation metric (accuracy or AUC) can be misleading if the test data are not truly independent or representative. Even a carefully chosen metric can be subverted if the data pipeline itself is flawed.
Dion Research’s Early Answers: From Data‑Quality Package to Full‑Stack Monitoring
2012 - The First Data‑Quality Package
- Goal: Quantify the health of data in‑process and at‑rest with a single “overall score” that could be broken down into sub‑scores for completeness, consistency, timeliness, uniqueness, and accuracy.
- Why a “Score + Warnings” Approach? A single score gives a quick snapshot, while sub‑scores and warnings pinpoint the root cause of issues.
2016 - Extending into Risk, Anomaly, and Fingerprinting
- Risk Metrics: Data‑quality risk quantified the probability of model failure due to input degradation.
- Anomaly Detection: Statistical outliers in feature distributions flagged potential data corruption.
- Fingerprinting: Feature hashing and sample‑based signatures allowed quick integrity checks without full data scans.
These tools laid the foundation for a metric ecosystem that would evolve in 2017 and 2018 with the rise of ML and in 2019 with chatbots. In 2026, we are still constantly adapting to the latest trends and technologies. Some of these tools are available as open source packages, while others are now SaaS, and/or used as part of our engagements.
Building a Robust Metrics Suite: Multiple Complementary Measures
Just as statisticians don’t rely on a single number to describe a population (5 number summary, Tukey's summary, etc.), a robust ML pipeline needs multiple, complementary metrics that together paint a faithful picture. Here is a small subset of what we track:
Core Metrics for Classification Models
Core Metrics for Regression Models
Data‑Quality & Process Metrics (Shared by All Pipelines)
- Data Completeness (missing‑value proportion).
- Data Accuracy (vs. ground truth or reference sources).
- Data Timeliness (latency between source update and ingestion).
- Stability (Feature Drift Scores) (population‑based KS tests).
- Process SLA Compliance (e.g., 95% of jobs finish within 5 minutes).
Example of a Good Metric Combination
Scenario: Predicting credit‑risk scores for loan applicants.
Single‑metric alternatives (e.g., overall accuracy) would miss both the calibration gap and the fairness issue.
Lessons for LLM Deployment
Large Language Models bring new measurement challenges:
Bottom line: If you only track token usage or benchmark score, you’re not really measuring what matters.
The Path Forward – A Pragmatic Roadmap
-
Audit Existing Metrics
- Identify metrics that have become targets.
- Assess potential for gaming or misinterpretation.
-
Expand the Metric Palette
- Incorporate calibration, fairness, and process‑level KPIs.
- Adopt multi‑objective dashboards that surface trade‑offs.
-
Implement Data Fingerprinting & Drift Checks
- Use statistical tests (e.g., KS, Wasserstein) to catch subtle shifts.
-
Embed Human Review in the Loop
- For LLM outputs, enforce a human‑in‑the‑loop checkpoint for critical decisions.
-
Create a Metric Governance Framework
- Define ownership, review cadence, and data‑quality thresholds.
- Tie metric updates to value‑based incentives, not just numbers.
-
Educate Stakeholders
- Publish case studies (token‑maxxing, KDD Cup) to illustrate pitfalls.
- Run workshops on interpreting complex metric sets.
Measuring with Mindfulness
Metrics are our compass in the data frontier. They empower us to:
- Quantify progress and prove that we’re moving forward.
- Spot anomalies early, before they become costly failures.
- Align teams toward shared, tangible goals.
But we must also remember that no single number can capture the full story. Goodhart’s Law warns us that metrics can be subverted, and our own history—token‑maxxing, benchmaxxing, the KDD Cup 2008 cheat, and the early Dion Research data‑quality packages and what we've surfaced—illustrates the stakes.
As we celebrate fifteen years of innovation, let’s commit to a multi‑metric, transparent, and value‑driven culture. That way, when the next epoch of quantum computing or analog AI arrives, we’ll be ready—not just to measure it, but to truly understand it.
In the words of Deming, “In God we trust. All others must bring data.” Let us bring not only data, but also the right metrics, the right people, and the right mindset to turn that data into lasting, ethical, and transformative impact.
Learn more at DionResearch.com


Comments
Post a Comment