AI financial model drift

How to Build a Financial Model with AI That Doesn't Drift

By Anthony Barbey · June 10, 2026 · 6 min read

How to Build a Financial Model with AI That Doesn't Drift


There is a pattern that anyone who builds financial models with AI eventually names. The AI does about 80% of the work, fast and well. Then it drifts on the last 20%, which happens to be the part that decides whether the model is right. A practitioner who uses Claude every day on financial models called it the "80/20 drift": the AI handles the bulk, then goes wrong on the critical pieces, the linked variables, the assumptions that are supposed to propagate, the edge cases.

That 20% is not a rounding error. It is the difference between a model you can defend and one you cannot. So the goal is not a smarter prompt that gets the AI to 85%. It is a structure that makes drift impossible on the part that matters.


What Drift Actually Looks Like

Drift is rarely a dramatic error. It is quiet, and that is what makes it dangerous.

You change one assumption, say you push growth from 8% to 12%, and the links that should follow do not. A downstream formula still references the old logic. A value that should have recomputed has quietly frozen into a hardcode because, at some point, it was faster to type the number than to wire it properly. Three sessions later, the model contains assumptions that no longer connect to anything, and nobody remembers why.

The output still looks finished. It calculates. It is internally plausible. And it is wrong in a way that only surfaces when someone asks the question it cannot answer: change this input, and watch whether the right things move.


Why Raw Excel Plus AI Drifts by Construction

The cause is not the AI's intelligence. It is the medium.

In a spreadsheet, logic and data are fused in the same cells. The relationship "revenue equals price times quantity" is not stored anywhere as a relationship. It exists only as the arrangement of cells, implicit and undocumented. When the AI rewrites cells to reflect a new assumption, it is editing the data and the logic at the same time, with no explicit dependency graph to respect. Change one row and three formulas can break silently. This is not hypothetical: across decades of field audits, 94% of business spreadsheets were found to contain errors, even before AI started rewriting cells.

Add AI to that, and you get speed applied to a fragile substrate. The AI rewrites cells freely because that is all a spreadsheet offers it: cells. It has no model of which variables feed which. So it reconstructs the dependency chain from scratch on every prompt, and reconstructs it slightly differently each time. Drift is the accumulation of those small differences.

This is the same reason these models forget between sessions and burn tokens on every edit. One root cause, three symptoms. The root cause is that there is no structure separating logic from data.


How to Keep a Model Reliable

Reliability is a property of the structure, not of the prompt. Four things make drift structurally hard instead of merely discouraged.

1. Separate logic from data

The logic of the model, how variables relate, and the data, this period's actual values, should live in separate layers. When the structure is distinct from the values, changing a value cannot quietly rewrite the logic. You can update the data without touching the relationships, and update the relationships without scrambling the data.

2. Make dependencies explicit

Drift happens in the gaps between implicit cell references. An explicit dependency graph, a DAG where every variable knows what it depends on and what depends on it, closes those gaps. When you change an input, the change propagates along the graph instead of hoping the right formulas happen to point at the right cells.

3. Edit the structure, not the grid

In a structured model, an edit is an operation on a node: change this assumption, and everything downstream recomputes through the dependency graph. The AI is not rewriting cells and risking the chain. It is changing one defined thing and letting the structure carry the consequences. That is the difference between propagation and drift.

4. Version it

Even with good structure, you want a safety net. Versioning means every change is logged, so if something does drift you can see exactly what changed and roll it back. Drift caught is drift undone. Without versioning, the only record of how the model got into a bad state is the bad state itself.


Generation Is the Hook, Reliability Is the Reason to Stay

It is worth being clear about why this matters commercially as well as technically. Fast generation impresses. It is the hook. But the practitioners who actually adopt a tool do so for reliability, for the confidence that the model still says what they think it says after twenty edits and three sessions.

The market is learning this in public. One founder building a competing finance tool, entirely algorithmic by deliberate choice, observed that the AI hype is cooling precisely because people tried the chat-and-spreadsheet approach and were not satisfied. The generation was good. The reliability was not. Reliability is the thing that converts curiosity into use.


The Bottom Line

A financial model drifts under AI because the AI is editing an opaque grid where logic and data are fused. You cannot prompt that away. You fix it by giving the AI a structure that separates logic from data, makes dependencies explicit, turns edits into propagation, and versions every change. Then the 80% the AI does well stays well, and the critical 20% stops drifting.

For the traceability side of reliability, how to prove where every number comes from, see How to Build an Auditable Financial Model with AI. For the full picture, start with The Right Way to Generate a Financial Model with AI.


Layerz keeps Claude inside the structure of your model, so edits propagate through an explicit dependency graph instead of drifting through cells. Logic separated from data, every change versioned, clean Excel export anytime. Explore Layerz →

Anthony Barbey

Anthony Barbey · Founder, Layerz

Anthony spent his career in finance and consulting, close to the modeling workflows of M&A, transactions, and advisory. He now builds Layerz, the finance workspace that keeps Claude in the context of your model so it doesn’t drift, forget between sessions, or burn tokens on grids.

Related articles

Ready to build models that are defensible by design?

Layerz separates model structure from data so every number is traceable.

Explore Layerz →