- automation
- engineering
- AI
Automation Executes Your Assumptions
I have built a lot of systems that worked perfectly. They passed their tests. Then I introduced them to reality.
Logan Etherton9 min read
I have built a lot of systems that worked perfectly.
That is not the compliment it sounds like.
They passed their tests and their backtests. They did what the architecture said they were supposed to do: the data flowed where it was supposed to flow, and the numbers came out the other side.
Then I introduced them to reality, and reality beat them senseless.
I've done this while building automated trading systems, network infrastructure and analytics platforms, and I did it again while building what eventually became Kairo.
The details changed, but the pattern didn't.
I would learn the domain, build the system, test the hell out of it and measure everything I could think to measure. Eventually, I would have something beautiful, and I would turn it loose on the world.
Crash and burn.
So I did what seemed obvious.
Surely the answer is more data
Maybe the system didn't understand reality because it hadn't seen enough of it.
Fine. Collect more.
I've spent months doing exactly that: more records, sources, history and observations.
Run it again. Crash and burn.
Okay. The problem must be data quality.
So now we clean it, normalize it, transform it, enrich it and reconcile it. We build ETL pipelines, find better sources, throw away questionable records, fill gaps and interpolate missing values. We create increasingly elaborate machinery to turn the messy world into something our system can understand.
Run it again. Crash and burn.
I wasn't just failing.
I was succeeding.
The pipeline got faster, coverage improved and the tests got better. The model became more accurate against the validation set, and the infrastructure became more reliable. I fixed bugs, reduced variance and improved my metrics.
Sometimes I could look at the thing I had built and prove, mathematically, that it was performing extraordinarily well.
And then I would put it in front of actual reality, and it didn't work. That was confusing, and also embarrassing.
I knew I wasn't an idiot. I had done the work and understood the math, and I could show you the tests and the results. And when those results weren't reflected in the real world, there was always another plausible explanation.
And every time I turned one, the system got better at the things I had defined as success.
That last part took me a very long time to understand.
Surely the answer is more automation
Something isn't producing the result we want, but it takes a human being three hours to do it.
So we automate it, and now it takes three minutes. Except we haven't established that the three-hour activity was worth doing in the first place.
So we improve the automation: we add another data source, make the research better, personalize the output, tune the prompt, add another agent and automate the follow-up. We automate the automation.
And pretty soon we have an absolutely magnificent machine for doing something that may not matter.
Worse, it can really, really look like it's working. There are numbers everywhere: messages sent, accounts researched, contacts enriched, open rates, read rates, responses, scores, tasks completed, pipeline stages moved.
The system is doing things. Your coworkers may tell you it's working for them. Your boss may tell you it's working for everyone else. The dashboard may be green.
And if the thing you actually care about still isn't happening, it is incredibly easy to conclude that you just haven't tuned it enough yet.
The finish line is right there: one more improvement, one more data source, one more workflow, one more model.
I know this feeling extremely well.
I did it again with Kairo
Early in the development of what eventually became Kairo, I thought I knew what I needed: more people, more companies, more technology data, more firmographics, and more relationships between all of them. If I could collect enough information and connect it properly, I could automate the whole thing.
And I had numbers telling me I was succeeding.
At one point, I showed the system to someone for the first time. I was excited. I showed him a person the system had identified and told him, with greater than 99% confidence, that he knew this person.
He didn't.
Okay, maybe not directly. Did he know somebody who knew the person? No. Somebody who knew somebody? No.
The system was spectacularly confident. Reality remained unmoved.
Then I showed him a company. The system gave me roughly 96% confidence that this company needed the services he was selling.
There was one slight problem: they were a competitor. Not a prospect with an unusual relationship to his business, and not a borderline case. A competitor.
I had built a machine capable of being wrong with two decimal places.
The system wasn't broken
The system was doing what I had asked it to do. That's why the tests passed and the metrics looked good, and why adding more data didn't solve the underlying problem.
I had defined relationships that I believed represented reality and characteristics that I believed represented a good prospect. I had defined proxies, thresholds and what counted as success.
Then I built increasingly sophisticated machinery to execute those definitions, and it did, beautifully.
The computer wasn't making my assumptions.
I was.
The computer was just applying them much faster than I ever could. I had gotten extremely good at automating my own assumptions.
Automation freezes human judgment
We tend to talk about automation as though it removes human judgment from a process. Very often, it freezes that judgment into the process instead.
Eventually nobody says "we hypothesized that this was a useful proxy." They say "this is how the system works."
Automate a hypothesis long enough and eventually everyone forgets it was a hypothesis.
Then the system produces results consistent with the assumptions built into it. Of course it does. We measure those results using metrics derived from many of the same assumptions.
The numbers look good, the process appears to work, and we have proven ourselves right, again and again.
This isn't because people are stupid. It's damn near impossible to see from inside the system.
I know because I spent years doing it.
More data can make it worse
More data is useful when lack of data is actually your problem. Better data is useful when data quality is actually your problem. A better model is useful when model performance is actually your problem.
But none of them rescue a bad definition of reality.
I know because I did all four.
More data didn't necessarily bring me closer to reality. Sometimes it just made my little version of reality look a hell of a lot more convincing.
This is not obvious
Eventually I stopped asking how to automate something and started asking a different question: what do I actually know?
Not what I strongly suspect, what usually happens, what an expert says should happen, or what correlated with something useful in the particular data I happened to collect.
What can I actually observe?
Then: what does that observation allow me to conclude?
And just as importantly: what does it not allow me to conclude?
It is tempting to read that and think this was the embarrassingly obvious answer sitting in front of me the entire time.
It wasn't. It sounds obvious after somebody says it, which is different from being obvious.
Learning to actually operate this way took me years.
Most good observations are small
This has been one of the harder adjustments.
I like answers. I especially like big answers.
Most observations don't give you one. They give you a small piece of reality. Then we have to decide what, if anything, we're entitled to infer from it.
That sounds limiting. I've increasingly come to see it as freeing.
The observation doesn't have to explain everything, fit the theory, or support the conclusion I hoped to reach when I started collecting it. It can just be what it is.
And if it doesn't support the conclusion I wanted? Fine. Reality wins.
Here's one that happened inside Kairo this week.
A company posted a job opening for a salesperson. That was the entire observation: a company was hiring someone to sell.
The system took that and wrote a fluent, confident paragraph: this company's sales team now needed to prioritize accounts based on evidence of a reason to buy. Which, if you squint, is a description of my product with their company name in front of it.
Then a second model, asked whether the conclusion actually followed from the evidence, agreed. The writing was excellent. The reasoning was coherent.
None of it was supported by the job posting.
What did the posting actually entitle me to conclude? That the company was hiring a salesperson, and that's it.
It took ten rounds of revisions to stop this.
Every version of the step that read the job posting could also see what I sold. So every version did its best to find a clever path from that observation all the way to a sale for my company.
We kept trying to make the reasoning better, with better prompts, instructions and checks, and another model judging the first model. It kept happening.
Eventually the fix was made, and it was much simpler: we stopped letting the step that reads the evidence know what I sell.
What the evidence says and what I sell are completely distinct. The problem was not that the model wasn't smart enough to reason across both. The problem was that it was.
Automation executes as defined
That's the lesson I wish I had understood earlier.
Automation doesn't relieve us of the responsibility of understanding what we've told it to do. It amplifies that responsibility.
If you give a system evidence, hypotheses, experiments and reproducible measurements, automation can do a great deal with them, which still doesn't mean the things it does will be useful.
Evidence doesn't guarantee we're right, experiments don't guarantee we asked the right question, and reproducibility doesn't mean we've captured reality. But they give reality somewhere to object, and assumptions masquerading as facts don't.
Automation won't save us from them. It will not complain or become suspicious, and it will not notice that your 99% prediction just introduced two strangers. It will happily inform you, with 96% confidence, that your customer should sell to their competitor.
And if you automate the whole process, it can make the same mistake ten thousand times before lunch.
Automation doesn't eliminate human assumptions. It executes them, sometimes beautifully, and that's the problem.