aiadvances.org 12 min read Original Source

LLMs Are Now the Worst Kind of AI. Grab the Upgrade ASAP

Our favourite LLMs have screwed us over more times than we care to admit. And the really frightening part is how much of their BS goes completely unnoticed.

Broken code that looked perfectly fine. Invented facts buried inside convincing explanations. Critical instructions quietly ignored. Hours of work built on assumptions the damn machine pulled out of thin air. Most projects built with this sort of AI bear the scars that make them of limited use in production environments.

Unfortunately, you carry that same negative experience into every new project. And the same paranoid thought starts looping through your head: How many more are hiding in the stuff I’ve already trusted?

And there we are, trapped like an insect on a strip of flypaper. The more you struggle to get out, the deeper you sink into a sticky nightmare of corrections, rewritten prompts, and endless forensic investigations into everything your bloody AI has spat out.

The more serious your project, the less you dare trust the machine supposedly doing it for you.

And eventually comes the ultimate humiliation: you end up rebuilding the damn thing yourself.

Think about the absurdity of that.

We’ve built an AI industry capable of generating work faster than humans can inspect it, while making those same humans responsible for catching every mistake that matters.

And here comes the most Kafkaesque twist of all: the industry’s grand solution is to pour another trillion dollars into making the very same kind of AI even bigger.

What if the real problem isn’t that today’s AI needs to become bigger or smarter, but that we’ve built the wrong kind of AI in the first place?

Yes, I know. It sounds outrageous. Perhaps even ridiculous, considering the fortunes, reputations, and supposedly brilliant minds invested in the current AI paradigm.

But I’m not here to spend another article explaining why today’s AI keeps screwing up. As mentioned, you’ve probably accumulated enough painful evidence of that yourself.

So don’t worry. This story is about something far more adventurous: a new kind of AI that could make today’s LLMs look like primitive toys and finally put an end to the nightmare of checking every damn thing they spit out.

No, this isn’t some science-fiction fantasy. The building blocks of this radically different AI are already taking shape, grounded in new mathematics and backed by serious money.

And you’re about to see how it works, why it could overturn everything you thought you knew about AI, and just how close we may be to making it a reality.

WHY LLMs ARE THE WORST KIND OF AI RIGHT NOW, IN A NUTSHELL

Transformative AI dominates today’s AI landscape, with LLMs as its most notorious offspring. Their hallucinations expose a deeper mathematical weakness: LLMs can learn complex contextual relationships, but nothing in their core architecture guarantees that meanings, assumptions, and permissions remain valid when contexts change.

Beneath all that apparent intelligence lies a rather crude mathematical impossibility: reconstructing an entire universe of meanings, objects, and relationships from statistical patterns that AI has learned from individual tokens, with context never explicitly encoded but laboriously learned through training — and inevitably incomplete.

The trouble starts with a distinction that sounds trivial but is anything but.

A word is not an object. A label is not a meaning. And a statistical relationship between two words is no guarantee of a valid relationship between the things they represent.

Take deploy.

Deploy what? Where? Under whose authority? In production, staging, or during a critical incident?

Same word. Different meanings, permissions, and consequences.

Now imagine those contexts nested inside one another:
Cloud infrastructure contains production
Production may contain an ongoing incident.

Each context inherits certain rules, restricts others, and can change what the very same instruction means.

An LLM can certainly learn these distinctions. But here’s the nightmare: the same tokens can mean different things across countless contexts, and those contexts can be nested differently, inherit different rules, or override one another depending on the situation.

Expecting a model to reliably handle every possible combination of meanings, assumptions, permissions, and nested contexts through training alone is a combinatorial nightmare.

Of course, LLMs can generalize beyond what they’ve seen. But generalization is not a guarantee of correctness, especially when unfamiliar contexts collide.

And if training alone had solved that problem, we wouldn’t still be dealing with so many hallucinations and costly mistakes in real-world AI projects.

And there you have it — the deeper architectural flaw: an LLM lacks an independently governed mathematical map specifying where each interpretation belongs, how contexts relate, and which rules must survive when moving between them.

CAN WE FIX THE LLM WITHOUT TOUCHING THE LLM ITSELF?

You bet! And we’re now in a better position than ever to fix some of the worst problems with today’s LLMs without touching the models themselves.

Instead of pouring billions into ever-larger models, hoping they’ll somehow learn to handle every possible combination of meanings and contexts, why not give them what their architecture lacks? A separate mathematical map of semantic contexts, with explicit rules for moving between them.

Sounds crazy? Not really.

The pieces are already taking shape. Symbolica, Topos Institute, Harmonic, and Britain’s ARIA Safeguarded AI programme are approaching the mathematics of more reliable AI from different angles, tackling some of the most stubborn failures plaguing today’s models: substantial performance degradation across multi-turn conversations and difficulties reliably reconciling instructions scattered across multiple conversational turns.

So, from an architectural and mathematical standpoint, we can keep the LLMs, bring these mathematical structures together, and build an entirely new kind of AI around them.

More specifically, we can finally stop throwing words and guessed meanings into the same statistical soup.

Yes, we can now build an AI with a proper mathematical map of semantic contexts, one that distinguishes, for example, staging approval from production authorization, keeps assumptions tied to the contexts where they apply, and checks the rules governing movement between them.

And if you’re wondering how the hell that would actually work, take a look at the animation below.

The animation shows a familiar nightmare for anyone coding with AI: an AI assistant working on live software comes across an approved test procedure while handling a problem, then some messages later gets a simple request: Deploy?

The AI remembers seeing approved and may go ahead, forgetting that the permission was only for testing, not for releasing changes to the live system.

See the problem now? Every word can look right, but the context can be completely wrong.

And this is child’s play. Now imagine dozens of semantic contexts nested several levels deep, with conflicting rules and permissions across a massive real-world project. An LLM alone cannot guarantee it won’t screw things up.

Transportive AI stops this nightmare: functors and profunctors give those contexts a mathematical map, govern how meanings move between them, and catch violations before they turn into costly mistakes, instead of leaving us to hope the LLM gets it right.

Want to see how this new AI actually works? Let’s get into the practical details.

THE MATH BEHIND THE NEXT AI (WITHOUT THE HEADACHE)

The big picture: where the hell does deploy belong?

Let’s return to our earlier deploy example. It’s simple enough to walk you through the math and architecture behind the next AI without turning this into an unbearable category-theory lecture.

A quick recap: in cloud infrastructure, deploy can mean spinning up servers. In production, shipping a release to actual users. And during a critical incident, perhaps nothing more than an explicitly approved hotfix.

As you can see, the word (or token) deploy stays the same, but its meaning and the rules governing how it can be used change depending on the context.

And here’s something else worth paying attention to, because it makes the problem particularly nasty: those contexts aren’t just different. They’re nested inside one another.

The incident lives inside production, which lives inside the cloud infrastructure. Every time our AI moves between them, the meaning of an instruction, and what the agent is allowed to do with it, can change.

Today’s LLMs can learn some of these contextual distinctions: the same word really does get different internal representations in different contexts. But these distinctions aren’t governed by explicit, persistent rules. They’re inferred from the context available to the model, and can be lost in subsequent prompts. And when new contexts appear, the LLM must somehow generalize to relationships it may never have encountered during training.

In other words, every token can take on different meanings across countless combinations of nested contexts, and no training set can cover every combination.

So the model must generalize beyond what it has seen, and that is exactly where neural networks are known to wobble: compositional generalization remains unreliable, and accuracy drops rapidly as tasks involve more steps. Nothing in the architecture adds mathematical laws to keep those meanings and relationships valid as contexts change, and it shows: models don’t reliably respect instruction hierarchies, and they get lost in multi-turn conversations.

So why keep forcing one gigantic neural network to do everything?

Once you understand the mathematics behind it, the solution is not only feasible but surprisingly straightforward: give the contexts their own mathematical map. Keep the linguistic representations separate. And define how information is allowed to travel between them.

Here’s what the whole contraption looks like. Don’t worry about the strange names yet. Just follow deploy.

The animation makes one thing crystal clear: words and contexts are two very different things. So why the heck should statistical associations between words be enough to govern how meanings and relationships behave across contexts?

Meet the mathematical troublemakers

Now let’s crack open this mathematical machinery and see what’s actually going on inside. Six pieces, each with its own job, working together to make the whole thing possible. And if you still can’t quite picture how they all fit together, the animation at the end should make it much easier to grasp.

The category: a map with places and roads

Cloud, production, and incident response are the places. Moving into a nested context is a push. Coming back out is a pop.

Mathematicians call the places objects and the admissible moves between them morphisms. Put them together, with rules for composing movements, and you have a category.

The important bit? Order matters.

Push into an incident and pop back out: that’s not the same journey as popping out first and pushing in later.

And returning to where you started doesn’t mean everything you carried along came back unchanged.

The tuples: words finally get an address

Instead of working with a bare word, we explicitly pair it with the context where it is being interpreted:

(deploy | incident)

Move to production, and we have another pairing:

(deploy | production)

Same token. Different contextual address.

There can even be several valid interpretations of deploy within one context, so the complete mathematical object may also carry a third piece identifying the particular interpretation.

The profunctor: the guest list nobody can ignore

Here’s one of the more exotic names in our toolbox.

A profunctor relates two mathematical worlds without pretending they’re the same thing.

Think of a guest list for every room in a building. One person can appear on several lists. Each room can admit thousands of people. And the same person might have different roles in the same room.

The list doesn’t turn people into rooms. It records which relationships are admitted.

Our version connects:

Tokens -> Contexts

That peculiar arrow is deliberate. It isn’t an equality, and it isn’t a function that converts words into contexts. It’s a structured relationship between them.

The fibres: every context gets its own world of meanings.

Take all the interpretations associated with production. That’s its fibre.

Do the same for the incident. Another fibre.

The word deploy may appear in both, but its valid interpretations and permissions need not be identical.

The fibre isn’t some mysterious new object invented out of thin air. It’s simply the guest list, read room by room, with the interpretations belonging to that context collected together.

Think of each room as a context, like cloud infrastructure, production, or an incident. The fibre is just that room’s guest list, showing which tokens belong there and what they can mean. Of course, someone still has to check whether those meanings are actually valid. But who organizes all these rooms and handles the moves between them? That’s where the functor comes in.

The functor: the machinery that moves meanings around

We already have the contexts, the meanings that belong to them, and the profunctor connecting the two. But how do we move from one context to another without messing things up?

That’s the functor’s job.

It does two things. First, it assigns each context its own fibre, containing the tokens and their possible interpretations there. Second, it assigns every allowed move between contexts a transport map that tells us how those interpretations are carried across.

But there’s a mathematical rule here: these moves have to respect the category’s rules. If we travel from cloud to production and then into an incident, the transport along that whole journey must agree with the two moves performed in sequence.

We can give each fibre a metric to measure how different two interpretations are. Take deploy: moving from production into an incident might change its meaning from a normal release to an emergency hotfix. The metric helps us measure that difference and check whether the move preserved what it was supposed to preserve.

Now imagine going into the incident and then back to production. Holonomy describes what those moves did to the original interpretation. If deploy comes back with the wrong meaning or permissions, we can measure how far it has strayed from the expected result. That difference is drift.

By now, you should have a pretty clear picture of how the pieces fit together. The profunctor connects tokens to their possible meanings in different contexts. From those relationships, we build the fibres and the functor that handles movement between them. The profunctor doesn’t do the geometric transport itself; it relies on the functor for that.

The map: everything finally comes together

Put all those fibres over their corresponding contexts and we get one larger mathematical structure.

There’s even a magnificent name for the construction: the Grothendieck construction. Fortunately, you don’t need to pronounce it to understand why it matters.

Every interpretation belongs to an explicit context. The context map organizes the movements. The language model can still supply the linguistic intelligence.

Instead of one enormous neural network trying to keep all the boundaries straight internally, we now have an architecture in which those boundaries can be specified independently.

And our old LLM? It doesn’t get fired. It gets a better job description.

In the new architecture, the LLM does what it’s brilliant at: reading words, writing words, proposing answers, handling the messy ambiguity of human language. What it no longer gets to do on its own is decide which meaning belongs where, or which permission survives a move between contexts. Those decisions must follow the rules laid out in the map.

Think of it as a gifted translator who used to run the whole company. Now the translator still translates, while someone finally keeps the org chart.

3. Enough theory. Let’s make the mathematics earn its keep.

We’ve seen how meanings move between contexts. Now, how do we catch them when something goes wrong?

Three checks do the job.

Declared laws: Specify what must remain valid. A staging approval, for example, must never become production authorization.

Commuting square: Process an instruction, then change context. Now do it the other way around. If both routes are supposed to agree, their difference, κ, measures how badly the rule was broken.

Loop check: Move through several contexts and return to the start. Compare what came back with what was supposed to. That difference is drift. In our illustration, drift = 0 (example) means the result matches exactly what the rule requires.

These checks give us something an LLM alone cannot provide: explicit, measurable tests of whether contextual rules were respected.

Train the roads. Leave the giant alone

Here’s something that should interest anyone spending billions on AI: we don’t even need to retrain the LLM.

Keep it frozen. Train smaller adapters to move meanings between contexts, and let explicit mathematical laws check whether those moves respect the rules.

Instead of crossing our fingers every time an AI makes a decision, we could catch contextual mistakes before they cause real damage. Of course, the rules themselves have to be right. Mathematics won’t rescue us from badly designed systems.

And that’s where the stakes get much bigger than chatbots.

Medicine, finance, law, engineering, government, industrial automation. These fields can’t afford an AI that confidently mixes up a patient’s records, a contract’s conditions, or the permissions of a production system.

LLMs have already shaken up how we write, search, and process information. But much of the real economy runs on decisions and actions, not beautifully written answers.

Transportive AI could take us into that much larger territory, where machines can be trusted with more consequential work because their actions face explicit mathematical checks.

That’s the kind of AI that could shake up entire industries, change how businesses operate, and eventually reach into nearly every corner of the economy and society.

And we wouldn’t have to throw away the LLMs we’ve spent billions building.

So, if you want the whole thing summed up in a few words, here it is: Keep the model. Build the map. Train the edges. Measure the squares.

Replaced as the system. Kept as the part.