There is a moment most LLMOps teams know well. The model is good — genuinely good. The prompts are tight. The retrieval pipeline is tuned. Evaluations in staging look fine. And then production breaks in a way that no one can immediately explain: an AI assistant confidently reports the wrong revenue figure, a document classifier routes contracts to the wrong queue, an agent pulls a "customer status" field that means three different things depending on which system wrote the record. The postmortem finds no model bug. No prompt error. The culprit is a field called active_flag that has been populated inconsistently for six years across two merged CRM systems, and nobody wrote that down anywhere.

This is semantic debt detonating. And according to practitioners across LLMOps, data engineering, and enterprise architecture, it is the single most underdiagnosed source of production AI failures today.

The emerging consensus is blunt: LLM failure is largely a data contract problem, and most organizations have never written one.1 Stack Overflow's engineering team put it plainly in April 2026 — most LLM issues are fundamentally data issues, caused by missing semantic definitions and undocumented lineage.8 The models are not broken. The infrastructure holding the meaning of enterprise data has never existed.

>80%
of AI projects fail to reach meaningful production deployment — roughly twice the failure rate of traditional IT projects
42%
of companies abandoned most AI initiatives in 2025, up from just 17% the year before
7%
of enterprises say their data is fully ready for AI agents — the vast majority are shipping on an unready foundation
$tens M
estimated annual cost per enterprise attributable to AI-unready data, per industry benchmarks

The Misdiagnosis Epidemic

The standard enterprise AI failure narrative goes like this: the model hallucinated, the prompt was underspecified, or the fine-tuning data was dirty. Each of those can be true. But they are downstream of a more fundamental problem that rarely gets named in postmortems: the data your LLM is reasoning over carries accumulated semantic ambiguity that no amount of prompt engineering can resolve.

Anvar Atash, a data and product leader with over a decade of experience building data platforms at organizations including Mercedes-Benz and CARIAD, spent three weeks diagnosing a production failure in an enterprise-ready LLM deployment. His conclusion was unambiguous — the model kept failing not because of its parameters but because the data contracts underneath it had never been formalized.1 The model was doing exactly what it was supposed to do: drawing inferences from the data it was given. The data just meant different things in different places, and no one had documented that.

This is what semantic debt looks like at scale. It is not dirty data in the classic sense — rows with nulls, type mismatches, or obvious errors. Those fail schema validation. Semantic debt passes schema validation. It is formally valid data that carries ambiguous or contradictory meaning. A field named revenue that means gross in one business unit and net in another. A customer_id that references different entity resolution logic depending on which pipeline populated it. A status field with six enumerated values, four of which are deprecated, and none of which have definitions in any accessible documentation.

Pebblous's 2026 analysis of enterprise AI agent stalls identified six data defect classes that reliably stop agents in their tracks — and every single one of them passes schema validation.4 The taxonomy: semantic drift, duplicate and ghost records, misread nulls, silent type coercion, silent schema change, and data staleness. What they share is not structural invalidity. They share the property of being uninterpretable by an agent without human-level institutional knowledge — knowledge that used to live in the analyst's head and is now simply absent from the inference path.

"BI tools and operational systems have tolerated semantic ambiguity for decades because the analyst acted as an implicit reconciliation layer." — Earley Information Science, cited in Pebblous enterprise agent research.4 That reconciliation layer is gone. The analyst has been replaced by an agent that has no access to the institutional knowledge the analyst carried.

How Decades of Ambiguity Became an LLM Problem

To understand why this is exploding now, you need to understand why it was survivable before. For the past two decades, the standard enterprise data stack had a built-in shock absorber: the human analyst. When a BI report pulled net_revenue from a table that one business unit populated with gross figures, the analyst caught it, adjusted the query, and made a mental note. When two systems used the same customer identifier with different scoping rules, the analyst knew to join on a secondary key. The semantic gaps in the data infrastructure were real — but they were invisible in production because humans filled them silently.

LLMs do not have access to that institutional knowledge. They receive a field name, a value, and whatever context appears in a system prompt or retrieved document. If revenue is ambiguous, the model will pick an interpretation. It will do so confidently. And it will be wrong roughly as often as the data itself is inconsistently defined — which, in most enterprise environments, is more often than anyone wants to admit.

The Atlan enterprise LLM guide frames this with precision: RAG, embeddings, knowledge graphs, and vector databases explain how LLMs access enterprise knowledge. But none of them work reliably at production scale without a governed metadata layer upstream.2 The retrieval infrastructure can be world-class. If what gets retrieved is semantically ambiguous, the model's output will reflect that ambiguity — at inference time, in front of a user or downstream system.

The governance gap in LLMOps is directly traceable to this history. The data lineage tools, metadata catalogs, audit trails, and approval workflows that exist in mature MLOps practices did not appear because vendors shipped them. They appeared because enterprises in regulated industries hit compliance walls, because production failures traced back to undocumented schema changes, because audit requests arrived that no one could answer.7 LLMOps has not yet accumulated that institutional scar tissue. The failures are happening now. The tooling is lagging.

6
distinct data defect classes that stall enterprise AI agents — and every one passes schema validation
0
formal data contracts written at most enterprises before their first LLM deployment — the norm, not the exception
the failure rate of AI projects compared to traditional IT projects, per RAND Corporation research

What a Semantic Contract Actually Is

Most teams have heard of data contracts in the context of API schema enforcement or pipeline SLAs. That is a narrow definition. A semantic contract is something more specific and more demanding: it is a formal agreement between data producers and data consumers that specifies not just the structure of data but its meaning — the business definition of each field, the conditions under which values are populated, the lineage of transformations applied, and the scope conditions under which a definition holds.1

In practice, a semantic contract for a field like customer_lifetime_value would specify: the calculation logic, the time window, whether it is trailing or projected, which revenue streams are included, which systems are authoritative sources, when the definition was last updated, and who owns it. Most enterprise data teams can produce the schema. Almost none can produce the rest of that list for more than a handful of their most-used fields.

The organizations that succeed with production AI treat this definition work as architectural, not janitorial.6 They build automated pipelines that maintain data quality by design. They implement governance frameworks that prevent semantic drift. And critically, they create semantic models that ensure consistent definitions across the enterprise — not as a documentation exercise, but as a first-class engineering artifact that feeds directly into what their LLMs receive at inference time.

Defect Type What It Looks Like Why It Breaks LLMs Who Owned the Fix (Pre-LLM)
Semantic Drift A field's meaning changes over time or varies by source system — e.g., "active customer" defined differently post-acquisition Model draws consistent inferences from inconsistent definitions, producing confidently wrong outputs Senior analyst with institutional memory
Ghost Records Duplicate or orphaned records that are structurally valid but represent non-existent or merged entities Agent counts, aggregates, or retrieves based on phantom entities; results are off without traceable error Data steward running periodic dedup jobs
Misread Nulls Null values carrying different meanings — "not collected," "not applicable," "zero," or "unknown" — in the same field Model interprets absence as meaning, or suppresses valid absence; downstream logic breaks silently Analyst checking null rates before building reports
Silent Schema Change A column's data type, range, or enumerated values shifts without version notice or changelog entry Agent operates on stale assumptions about valid values; errors surface only in edge cases Pipeline monitoring with manual remediation
Staleness Data with a timestamp that appears current but reflects a processing lag of hours, days, or weeks Agent reasons as if information is current; time-sensitive decisions are made on outdated state Analyst checking refresh schedules before analysis
Silent Type Coercion Numeric fields stored as strings, or vice versa, with implicit casting masking precision loss Model or downstream code receives unexpected types; calculations silently lose fidelity Developer reviewing ETL output in staging

The Agent Problem Is the Contract Problem

Autonomous agents make the semantic debt problem structurally worse, and for a specific reason: they compound errors across steps. A human analyst reading an ambiguous field makes one mistake and stops. An agent that misinterprets a field in step two of a twelve-step workflow carries that misinterpretation through every subsequent step, amplifying the error silently until it surfaces in an output that looks authoritative.

The Pebblous analysis names this dynamic directly: the edge cases a human analyst used to catch by hand in the rules-based era are now swallowed in silence by autonomous agents.4 The exceptions did not disappear. They lost their owner. And the companies that identified and named an owner for those exceptions were markedly more likely to carry a pilot into production. The ones that could not name an owner kept failing at the same exception types, over and over, without resolution.

This is the ownerless exception problem. It is a data governance failure dressed up as an AI reliability failure. And it is why swapping models does not fix it. GPT-4o and Claude 3.5 and Gemini 1.5 Pro are all equally unable to resolve what active_flag = 1 means when the definition has drifted across three system migrations and no one wrote it down.

The real lever that moves a pilot into production is not model tuning. It is naming the defects and assigning ownership of the exceptions. Not "clean data" — "agent-ready data." The gap between those two things, measured in concrete numbers, is where most enterprise AI programs are currently bleeding out.4

The Technical Debt Analogy Is Imprecise — and That's the Problem

Teams who hear "semantic debt" often reach for the technical debt mental model. That analogy is partially useful and partially misleading, and the misleading part is what keeps the problem from getting addressed.

Technical debt is visible. It slows down development velocity. Engineers feel it in every sprint as code gets harder to change. It generates pressure that eventually forces a refactor. Semantic debt is invisible — or was, until LLMs started operating on the data directly. For two decades, the cost of undocumented field definitions, inconsistent business logic, and untracked lineage was absorbed by human intermediaries who never filed a ticket about it. It looked like analyst judgment. It was actually compensatory labor masking infrastructure failure.

LLMs have removed that masking. The traditional challenges of semantic ambiguity, quality degradation, temporal misalignment, and format inconsistency that existed in every enterprise data stack now require architectural transformation — not cleanup sprints, not documentation wikis, not better prompts.5 The debt is the same. What changed is that the interest payments just became visible, and they are being charged at inference time, in production, at whatever velocity your agents operate.

Why RAG Doesn't Save You

The standard counter-argument from enterprise AI teams runs like this: "We're using RAG, so the model only sees the specific documents and records we retrieve. If the retrieval is accurate, the semantics are fine." This argument is wrong in two important ways.

First, retrieval accuracy is itself a semantic problem. Embedding-based retrieval ranks documents by vector similarity, which is a proxy for semantic relevance. If your documents, table descriptions, or field annotations carry inconsistent definitions, your retrieval will surface inconsistently defined content. The model then has to arbitrate between competing definitions with no signal about which is authoritative. It will not refuse. It will choose.

Second, and more fundamentally, RAG retrieves content — it does not retrieve meaning. The meaning of a retrieved document is only as reliable as the semantic contracts governing the data that produced it. A summarized contract, a classification label, a retrieved financial record — all of these carry the semantic ambiguity of the systems that generated them.3 Governed metadata upstream is not optional infrastructure for RAG systems. It is load-bearing. Without it, you have a very sophisticated mechanism for confidently retrieving ambiguous information.

Atlan's enterprise LLM research makes this explicit: RAG, embeddings, knowledge graphs, and vector databases explain how LLMs access enterprise knowledge, but none work reliably at production scale without a governed metadata layer upstream.2 The retrieval layer is the interface. The semantic contract layer is the foundation. Building the interface without the foundation does not produce a shaky system. It produces a system that works in staging and breaks in production, reliably, at the edges where your data is most ambiguous — which is precisely where your users will push it.

Semantic Readiness Audit — Seven Questions for Your LLM Stack
01 For the top 20 fields your LLM reads at inference time, does a written business definition exist that is accessible to the model's context layer — not just in a wiki, but in machine-readable metadata?
02 Can you trace the full lineage of each of those fields — from source system through all transformations — in under 30 minutes, without interviewing anyone?
03 Do your data contracts specify scope conditions — the circumstances under which a field definition holds versus does not hold, including cross-system or cross-BU variance?
04 Is there a named owner for each exception type your agents can surface — not "the data team" but a specific role with documented response authority?
05 When a schema change occurs upstream, does your LLM system receive a versioned notification before that change reaches inference, or does it discover the change from anomalous outputs?
06 Have you audited your enumerated value fields for deprecated values that are still present in the data and still being consumed by your agents?
07 When your agents produce inconsistent outputs across similar queries, what is your first diagnostic step — and does that step include inspecting the semantic contracts of the fields involved?

What Good Actually Looks Like

The organizations that have moved past this problem share a pattern. They are not, in most cases, organizations that ran a big data governance program and declared victory. They are organizations that got burned in production, traced the failure specifically to a semantic ambiguity, fixed it at the contract layer rather than the prompt layer, and then built the process discipline to do that systematically.

In practice, the architectural shift involves three moves. First, semantic contracts become a first-class artifact in the data product development process — written before a dataset is exposed to any downstream consumer, LLM or otherwise, and maintained with the same rigor as API contracts. Second, field-level metadata — business definitions, lineage, scope conditions, ownership, last-verified date — is machine-readable and injected into the inference context for any LLM that touches that data. Third, exception ownership is explicit: for every category of data anomaly an agent can surface, a named human role has documented authority and responsibility to resolve it.

This is not aspirational infrastructure. It is the minimum viable data contract layer for production LLM systems. The companies that built it describe it as painful to retrofit but straightforward to implement greenfield. The companies that have not built it keep cycling through the same postmortems, adjusting prompts, and shipping the same failures in slightly different forms.

The QuickLaunch Analytics framing captures it well: the organizations that succeed treat data foundation work as architectural, not janitorial. They build automated pipelines that maintain data quality by design. They implement governance frameworks that prevent drift. And they create semantic models that ensure consistent definitions across the enterprise.6 The semantic model is not a document. It is infrastructure. It runs. It has tests. It breaks builds when definitions are violated. It is the difference between an LLM system that scales and one that plateaus at the complexity ceiling of whatever your analysts can hand-hold through inference.

The Practitioner's Playbook: Where to Start

Most organizations reading this do not have the luxury of a greenfield rebuild. They have production systems, live agents, and a backlog of semantic failures to triage. Here is a pragmatic sequence for addressing semantic debt in an existing LLM stack, ordered by impact-to-effort ratio.

1. Audit your inference-time data surface

Map every field your LLMs read at inference time — in prompts, in retrieved documents, in tool call responses. This is your blast radius. Prioritize fields that appear in agent decision branches, numerical aggregations, or classification outputs. These are where semantic ambiguity causes the most downstream damage. Triage them by ambiguity risk: fields with multiple source systems, deprecated values, or no documented definition go to the top of the queue.

2. Write contracts for your top-10 highest-risk fields

Do not try to document everything at once. Pick the ten fields with the highest combination of ambiguity risk and inference frequency. Write business definitions, scope conditions, and lineage documentation in machine-readable format — YAML, JSON-LD, or whatever your metadata catalog supports. Inject these definitions into your system prompts and RAG document headers. Measure output consistency before and after. You will see improvement. That improvement is your internal business case for expanding the program.

3. Assign exception ownership before your agents go wider

Before expanding agent scope, run a tabletop exercise: for each category of anomalous output your agents can produce, who owns the resolution? If the answer is "the data team" or "engineering," you do not have an owner — you have a diffusion of responsibility. Name a specific role. Document the escalation path. Build that path into your agent's fallback logic so that unresolvable semantic ambiguity triggers a human handoff rather than a confident wrong answer.

4. Instrument for semantic failure, not just output failure

Most LLMOps observability stacks instrument output quality: hallucination rate, answer relevance, task completion. That is necessary but insufficient. Add semantic provenance tracking: for each LLM output, log which fields were accessed, which definitions were available at inference time, and whether any accessed fields have open ambiguity flags. When outputs degrade, this log is the difference between a 10-minute root cause analysis and a two-day prompt-tuning spiral that fixes nothing.

5. Treat semantic contracts as a deployment gate

In your LLMOps CI/CD pipeline, add a contract validation step: any new field surfaced to an LLM at inference time must have a written, machine-readable semantic contract before deployment proceeds. This is the equivalent of requiring API documentation before an endpoint ships. It will create friction. That friction is the point — it moves the cost of semantic debt from production failures to pre-deployment decisions, where it is orders of magnitude cheaper to resolve.

~10
high-risk fields — the minimum viable starting point for a semantic contract audit in any production LLM system
30 min
target time to trace full field lineage without interviewing anyone — a practical benchmark for data readiness
1 owner
per exception category — named, documented, and embedded in agent fallback logic before scope expansion

The Bottom Line

Enterprise AI teams have spent two years treating a data infrastructure problem as a model problem. The misdiagnosis is expensive — not just in failed projects and abandoned initiatives, but in the organizational credibility burned on AI programs that never make it to production, or that make it to production and quietly erode trust with every inconsistent output.

The models are good enough. They have been good enough for most enterprise use cases for at least eighteen months. What is not good enough is the semantic foundation underneath them — the accumulated ambiguity of decades of undocumented field definitions, inconsistent business logic, and lineage that lives only in the heads of analysts who may no longer work at the company.

Semantic contracts are not a new idea. Data governance practitioners have been arguing for them for years. What is new is the consequence of not having them. Before LLMs, the cost of semantic ambiguity was analyst rework and occasional reporting errors. With LLMs operating at scale, the cost is systematic, invisible, and compounding. Every inference your agents make on ambiguously defined data is a small detonation of accumulated semantic debt. Most organizations are sitting on a bomb they have not inspected, and they are wondering why their prompt engineering is not working.

The fix is not glamorous. It is definition work, lineage documentation, ownership assignment, and contract enforcement. It will not get a conference talk. It will get your LLM systems to production — and keep them there.