Writing & Ideas

The Data
Architect's
Notebook

On enterprise data systems, AI infrastructure, the hardware-software frontier, and how machines learn.

◆ New Essay
Why AI Models Fail to Get Productionized: The Hidden Infrastructure Gap
June 2026  ·  8 min read  ·  AI Infrastructure

Most AI projects die between the notebook and production. The problem isn't the model — it's the infrastructure gap. From KV cache limitations to data governance failures, here's why enterprise AI struggles at scale and what to do about it.

Read Essay →

The Production Gap: Where AI Projects Go to Die

Every data scientist knows the feeling. You've built a model that achieves 95% accuracy on the test set. The stakeholders are impressed. The demo goes perfectly. Then comes production — and everything falls apart.

The model that worked in the notebook hallucinates in production. The inference latency that was acceptable in testing becomes unacceptable under real load. The data pipeline that worked with sample data breaks with the full dataset. The failure mode is consistent. The diagnosis is usually wrong.

Most organizations blame the model. They retrain. They tune hyperparameters. They add more data. But after 17 years of building enterprise data systems, I've come to a different conclusion: the root cause is infrastructural, and it lives in the gap between development and production environments.

The Three Infrastructure Failures

Enterprise AI projects fail in production for three infrastructural reasons that have nothing to do with model quality:

1. Memory Architecture Limitations

The most fundamental issue is memory architecture. Current LLM systems use Key-Value (KV) caches that are fundamentally limited — they're sequential, write-once memory structures with no associative retrieval. When context exceeds the cache budget, systems use heuristic eviction policies that discard important information simply because it's old or less attended.

This is why enterprise AI hallucinates. A critical constraint stated on page 3 of a contract is just as likely to be evicted as boilerplate text — because the cache doesn't understand what it's storing. The model can't recall what it never had access to.

2. Data Governance Gaps

Development environments use clean, curated datasets. Production environments deal with messy, real-world data. The data quality issues that were glossed over in development become critical failures in production.

Missing values, inconsistent formats, schema drift, and data lineage issues that were manageable in testing become showstoppers at scale. The data pipeline that worked with 10,000 rows fails with 10 million. The governance framework that was "good enough" for the pilot becomes inadequate for enterprise deployment.

3. Resource Allocation Mismatches

Development environments often use generous resource allocations — powerful GPUs, ample memory, unlimited compute. Production environments operate under strict constraints — cost budgets, shared infrastructure, SLA requirements.

The model that ran efficiently on a dedicated H100 GPU struggles when competing for resources on shared infrastructure. The inference pipeline that was fast enough for batch processing becomes too slow for real-time requirements. The cost structure that was acceptable for a pilot becomes unsustainable at scale.

The Solution: Architect, Don't Just Train

The common response to these failures is to improve the model. But this is the wrong approach. The solution is to improve the infrastructure.

This means:

  • Architecting for production from day one — Design systems with production constraints in mind, not as an afterthought.
  • Building robust data governance — Implement comprehensive data quality monitoring, lineage tracking, and governance frameworks before deployment.
  • Designing for resource efficiency — Optimize for real-world resource constraints, not ideal development environments.
  • Implementing proper monitoring and observability — Track model performance, data quality, and system health in production, not just accuracy metrics.

Learn More

These challenges and solutions are explored in depth in my book, The Deployed Data Scientist , which provides a comprehensive framework for bridging the gap between development and production in data science and AI projects.

The book covers practical strategies for productionizing AI systems, including data governance frameworks, infrastructure design patterns, and operational best practices that I've developed over 17 years of building enterprise data systems.

About This Post

This essay draws on 17 years of experience building enterprise data systems and AI infrastructure. For more insights on productionizing AI systems, see my book The Deployed Data Scientist . Contact me for speaking, advisory, or collaboration inquiries.

More Writing
Jun
2026
Why AI Models Fail to Get Productionized: The Hidden Infrastructure Gap
Most AI projects die between the notebook and production. The problem isn't the model — it's the infrastructure gap. From KV cache limitations to data governance failures, here's why enterprise AI struggles at scale and what to do about it.
Apr
2026
HNSKT vs. DKT: Why Symbolic Reasoning Changes What Knowledge Tracing Can Do
Deep knowledge tracing (DKT) models are impressive at predicting the next correct answer. They are poor at explaining why. HNSKT's ILP layer changes that relationship fundamentally — and the difference matters for anyone building intelligent tutoring systems that need to act on their predictions.
Feb
2026
The Underpowered Pilot Problem: What Small Educational Datasets Can and Can't Tell You
Academic AI research in education frequently runs into a structural problem: the datasets that are available for experimentation are small. Here's how to design experiments, report findings, and honestly caveat conclusions when your pilot dataset is real but limited — without undermining the research.
Jan
2026
Why Your SAP Cutover Is Already Failing (and How to Fix It Before Go-Live)
I've seen the same pattern on a dozen enterprise SAP programs: the cutover plan looks complete on paper, but three things are always underestimated. Delta load sequencing. Reconciliation tolerances. And the human approval loop on data exceptions. Here's a framework that addresses all three.
Dec
2025
Cross-Domain Transfer in Knowledge Tracing: Can a Model Trained on Math Help Teach Physics?
One of the most provocative experiments in HNSKT is the cross-domain transfer evaluation: train on ASSISTments mathematics data, test on physics and reading comprehension. The results are surprising, humbling, and clarifying about what knowledge tracing actually models.
Nov
2025
From ECC to S/4HANA: The Data Migration Decisions That Actually Matter
S/4HANA migration projects fail at the data layer more often than at the technical layer. Here are the five data-side decisions that determine whether your program succeeds: legacy data harmonization scope, object hierarchy redesign, cleansing-vs-migrate-as-is tradeoffs, simulation cycles, and reconciliation strategy.