Home

AI and Gambling: Probabilities Aren't in Your Favor

Photo of Saurabh Abhyankar
Saurabh Abhyankar

July 21, 2026

Share:


Quick Answer

  • LLMs generate plausible SQL, but not always the correct business answer. Probabilistic systems predict likely queries, which can join wrong tables or misinterpret business terms like 'revenue.'

  • A semantic layer captures how the business defines itself, not just data. It ensures every AI assistant, dashboard, and analyst interprets business metrics consistently and correctly every time.

  • Deterministic SQL engines and AI models solve fundamentally different problems. AI excels at understanding language and intent; deterministic systems ensure governed, reproducible, trusted data retrieval.


Walk into any casino and you'll find games built on probabilities. Some odds are better than others, but in the long run the house always wins.

I've been thinking about that a lot as I watch the explosion of AI in the enterprise.

LLMs are, at their core, probabilistic systems. Every word they generate is based on the statistical likelihood that it should come next. It's why they can write compelling prose, summarize documents, explain complex ideas, and carry on conversations that feel remarkably natural.

But when the conversation turns from generating language to retrieving business data, that same probabilistic system can lead you astray.

Suppose I ask, "What were our gross margins in Europe last quarter?" Suddenly, I’m not looking for a plausible answer. I’m looking for the right answer.

LLMs are remarkable at understanding intent. In fact, translating natural language into something that resembles SQL has become surprisingly easy. Most modern models do it well enough that it's easy to conclude the problem has been solved.

But it hasn't. The hard part was never generating SQL syntax. The hard part has always been generating the right SQL.

When someone asks for "revenue," what exactly do they mean? Gross revenue? Net revenue? Recognized revenue? Bookings? Revenue after returns? Different organizations use the same words to mean different things.

An LLM doesn't inherently know any of that. It sees tables, columns, relationships, and documentation if you're lucky enough to have it. From there it predicts the SQL that is most likely to answer the question.

Most of the time, the LLM generated SQL will fetch the wrong answer. It may join the wrong table, aggregate at the wrong level, interpret a business term incorrectly, or omit a security filter that should always be applied.

In a casino, you're expecting uncertainty. In an enterprise, you shouldn't have to gamble every time you ask for your quarterly revenue.

Screenshot 2026-07-20 at 3.51.23 PM.png

Over the course of my career, I've worked on semantic technologies at SAP, Business Objects, and now Strategy. Across all those companies, spanning multiple generations of analytics, the underlying problem has remained consistent. Enterprises don't struggle because they can't write SQL. They struggle because they need every application, dashboard, analyst, and now every AI assistant to interpret the business the same way.

A semantic layer isn't just metadata describing tables and columns. It's a representation of how the business defines itself. Importantly, a good semantic layer must also generate the SQL deterministically, not probabilistically.

The request should be handed to a deterministic engine that understands the business semantics, applies the correct security policies, generates the appropriate SQL, and executes it the same way every single time.

At Strategy, that's exactly what we've been building for more than three decades. Our SQL engine wasn't designed because SQL is difficult to write. It was designed because businesses need deterministic answers. The semantic layer captures the organization's business definitions, while the SQL engine deterministically translates those definitions into optimized queries. The result is an architecture that's been trusted by some of the most regulated and risk-averse organizations in the world.

Let AI do what it's exceptional at: understanding language, interpreting intent, explaining results, surfacing insights, and making analytics accessible to everyone.

Then let deterministic systems do what they've always done best: retrieve trusted, governed, reproducible business data.

For decades we've talked about systems of record for transactions and systems of record for data. I think the AI era introduces a new requirement: a system of record for meaning.

That's what a semantic layer provides.

The future of enterprise AI isn't choosing between probabilistic models and deterministic systems. It's recognizing that they solve fundamentally different problems. One is best for reasoning. The other is best for calculating.

And when the question is about your company's numbers, probabilities simply aren't in your favor.


Mosaic
Semantic Layer
AI Trends
Analytics
Business Intelligence
Thought Leadership

Share:

Photo of Saurabh Abhyankar
Saurabh Abhyankar

Saurabh Abhyankar has been innovating in analytics for 20 years and holds patents in self-service analytics, the semantic graph, and HyperIntelligence. Since 2016, he has held product leadership roles at Strategy, including SVP of Product Management and Chief Product Officer.


Related posts

Video: The Person Who Owns Your Data Definitions Owns Your AI Solutions
The Person Who Owns Your Data Definitions Owns Your AI Solutions

Discover why owning your data definitions is the key to trustworthy AI. Learn how a semantic layer turns business choices into reliable AI outcomes.

Photo of Juliana Schoettler

Juliana Schoettler

July 20, 2026

Video: How Enova Reduced Metric Drift by Turning Strategy's Dashboard Alerts into Action
How Enova Reduced Metric Drift by Turning Strategy's Dashboard Alerts into Action

Learn how Enova reduced metric drift by connecting Strategy dashboards with Slack alerts to speed responses, improve accountability, and deliver trusted analytics.

Photo of Tanmay Ratanpal

Tanmay Ratanpal

July 21, 2026

Video: The building blocks of context: metadata, semantic layer, ontology, and knowledge graph
The building blocks of context: metadata, semantic layer, ontology, and knowledge graph

Learn how metadata, semantic layer, ontology, and knowledge graph combine to give AI accurate business context. See how Strategy Mosaic governs it.

Photo of Lauren O’Connor

Lauren O’Connor

July 20, 2026

Video: The Hard Way to Build BI: What I'd Do Differently With Strategy Mosaic
The Hard Way to Build BI: What I'd Do Differently With Strategy Mosaic

Discover why BI projects need a semantic layer before dashboards, and how Strategy Mosaic helps teams define governed metrics, business logic, and analytics faster.

Photo of Sofia Martino

Sofia Martino

July 15, 2026