The 'retrieval tax': How messy data is quietly draining your AI budget

And how to stop it

Image:
Left to right: Sam Weeks, Andy France

Everyone is racing to deploy AI agents, but nobody wants to talk about the rambling repositories of misspelled names, differing formats and unstructured data they're built on.

"There's no point having oodles and oodles and oodles of data if you've got no way of being able to...look at it and analyse it," says Andy France, co-founder and director of Prevalent AI.

"You can't get effective outcomes and use from those agentic investments unless you've got that foundational data layer in place," adds SVP of client solutions Sam Weeks.

Andy and Sam argue that deploying AI agents before fixing data quality, access and architecture risks increasing costs without delivering the expected returns.

Both spent much of their careers at GCHQ, where analysing huge volumes of data is central to intelligence and security work.

"There's only so many people that can look at so much data," Andy says. "You are constrained by people... [and] people don't scale. You have to scale analytically."

The massive increase in data generation has made that a real problem, and necessitated the use of tools like AI to highlight important trends.

Large scale meta-analysis like this can identify anything "statistically different," from terrorism suspects to potential attacks security teams may not recognise as malicious – especially if they are already flailing in a sea of alerts.

Andy says, "There's no point flooding people who are already flat out on their day job... You need to be able to prioritise that and give some kind of intelligence-based steer to 'This has just happened, this is much more important than the other thing that's just happened, so go and spend your time and effort and money on fixing this thing.'"

It isn't limited to cyber applications; Andy and Sam say AI analysis is critical to deriving value from the "oodles and oodles" of data all businesses are holding on to; but that's easier said than done.

"The data that they've got is not very clean," says Andy. "It's not very... easy to handle, it's all in multiple places, it's been accrued over many, many years. It's got 53 different ways of storing a phone number, 48 different ways of storing a postcode [and] eight different identities for my name."

AI costs don't stop at the model

The most advanced AI tools in the world can't derive valuable or consistent answers from bad data, and yet businesses around the world are throwing money at Copilot licences. Should the investment instead be going into data cleansing?

An unreserved yes, says Sam: you should spend "as much or more" on your data, because agentic investments don't deliver without that foundational layer.

Getting the budget for that work, which is "not the sexiest task by any means," can be taxing.

In fact, budgets are a tricky subject in the AI world. Sam says, "The way that people look at the costs and the economics of AI at the moment seems a little bit off."

What is the AI 'retrieval tax'?

The "retrieval tax" is the cost of repeatedly retrieving information and rebuilding context that an AI system has already discovered.

"The value in the reasoning you just created doesn't compound... You're basically paying to rediscover what you already know time and time and time again."

Sam says the retrieval tax will "probably" be a dominant cost of AI use – at least until companies can invest in a context layer to save search states.

Building such a layer is difficult and time-consuming, while buying one can be expensive, so it's up to you to weigh the return on investment.

How to reduce the cost of AI agents

A faster way to cut costs is to change how and where you run the most advanced models – or, as Sam puts it, "save your expensive reasoning capability for reasoning that requires it. Run deterministic work deterministically."

Even some of the data work can be done deterministically. A data ontology provides a shared model for what different pieces of data mean and how they relate to one another. You can use deterministic AI to map a source to an ontology that is "really reusable," source-agnostic and can be extended.

"You only have to do that once; you're not throwing a model at it every time."

Start your AI strategy with a data audit

Although people "should have been investing in their data layer anyway," it's not too late to get your estate in order.

The first practical step, Sam says, is an audit of what data you hold, where it is, how sensitive it is and who can access it. It's not extra work, because responsible agent deployment needs it anyway.

The test, according to Andy, is whether you can answer two questions: "Do you know where everything is?" and "Are you confident that the data that you've got is all the data that you've got?"

If you can't answer those, "it's going to be really, really hard for you to get the value out of it that the board thinks that you're going to get from just chucking a few AI agents at it."

Don't sacrifice control of your AI architecture

Getting the foundations right also means keeping hold of them. Sam warns about "sleepwalking into an architecture where they're now dependent on other people."

He says, "those architectural decisions that people make now are the ones that need to set them up in good stead moving forwards".

The "unsexy" work might not ever show up to the board, but it will decide when, or even whether, AI pays off at all.