LLM Systems Don’t Crash. They Lie Fluently

Traditional software fails loudly. A key is missing, a stack trace prints, the build turns red and somebody’s phone buzzes. LLM systems fail differently. They return a perfectly formatted record that says the invoice is dated 4 March when the document says 3 April, and that the total is 2,500 when it’s 2,050, and they mark it validated. No exception, no alert, nothing to notice. Multi-step systems make it worse, because each later step reasons correctly on top of the earlier mistake, so the step that visibly fails is almost never the step that went wrong. Four years after starting a degree believing a good CGPA was the whole strategy, I think this is the deepest unsolved engineering problem in applied AI, and it’s where I spend my research time now.

From plausible to defensible

I’m currently taking the scorecards system from plausible to defensible, and every move from prototype to production I’ve made has converged on the same short list of questions. Can you reproduce any output, with the pinned model version, the versioned prompt, the sampling settings and the exact input? Can you explain any output, down to which criterion, which evidence, which verdict and which prompt produced it? Do you know how good the system is for each segment separately, given that averages hide exactly the segment that will generate the complaint? Do you know how consistent it is, meaning what happens if you run the same input ten times? Do you know where its failures go, and do they ever end in silence? And does it degrade gracefully when an input is missing or a dependency is down, which is the missing-modality lesson from my medical AI survey in different clothes?

Consistency is the one I’d underline. Imagine two systems that both average eighty-five percent over five runs. The first swings between ninety-six and sixty-eight; the second never leaves the mid-eighties. They look identical in a summary table, and the second is far better in production, because users experience your worst runs, not your average. A scorecard that gives different answers on different days isn’t a scorecard. It’s a random number generator with good manners.

Retrieval as a decision

The research thread running alongside this comes mostly out of CBot, where I’ve been working on agentic retrieval. Classical retrieval-augmented generation is a fixed pipeline: embed the question, fetch the nearest chunks, generate. I built that by hand in college, so I know its failure modes personally. Retrieval misses and the model answers anyway; the question needs several documents that no single search surfaces; or the query was ambiguous and one attempt was never going to be enough. Agentic retrieval turns the search into an action the model chooses inside a loop. It can plan, pick a source, retrieve, judge whether what came back is sufficient, reformulate and try again, draft an answer, and then re-retrieve to check its own claims.

Each of those abilities fixes a real problem and introduces a new one, and the most instructive is verification. A verification step run by the same model that wrote the answer is intrinsic feedback dressed up as checking, and my survey predicts it will often fail. The fix is to make verification extrinsic, by re-fetching evidence and testing each claim against it rather than asking the model whether it feels confident. Agentic retrieval is strictly more capable and strictly less predictable, so all the engineering lives in the fencing: step limits, explicit stopping rules and a plain “not enough information” exit.

When the medical paper came back

I didn’t expect my final-year research and my day job to turn into the same problem, but they have. Text extraction alone fails on complex tables, scanned pages and dense forms. A multimodal agent can look at the rendered page and choose how to read it: use the text layer when it’s clean, reason over the page image when a table is too complex, fall back to OCR when there’s no text at all, and verify whichever it chose. That’s routing between modalities, which is precisely the fusion problem from the disease-detection survey. Early, intermediate and late fusion aren’t medical-imaging ideas at all. They describe how any system should combine different kinds of evidence, and handling a missing modality or explaining which region of the page an answer came from are the same requirements I argued for in a clinical context. Writing a survey in a field I don’t work in turned out to be the most practically useful research I’ve done. The abstraction travelled further than the application.

One question, seven costumes

Reading back through this series, almost every post ends with some version of the same question. How will I know whether it actually works? How do I measure a pipeline rather than its parts? What’s the metric for document question-answering? I’ve built something I can’t measure. What’s the external thing that does the checking? What happens when the output is prose? What happens when it’s an opinion? Seven costumes, one question, four years.

The answer I’ve converged on, the thesis underneath everything I’m writing now, is that models are poor at generating their own error signal and excellent at consuming external ones. Where an external verifier exists, such as a schema, a reconciliation rule, a test suite or a source document, correction loops work and reliability is achievable. Where none exists, you build one: a human-labelled calibration set, a measure of how often people agree with each other, a rubric broken down until each piece can be checked. The intrinsic and extrinsic distinction has now survived a research harness, a regulated extraction pipeline and an enterprise assistant, and I’m testing it against a judgment system as I write this.

What four years taught me

Fundamentals port and frameworks rot; every library I could name in December 2022 is fading, and the chain rule and “compared to what?” are not. The unpredictable part of a system should be as small as possible, with the model proposing and deterministic code disposing; as a student I reached for the model everywhere, and now most of my effort goes into the boring structure that makes its intelligence usable. External feedback is where correction comes from, for software and for people: models fix errors when a validator names them, my code improved when reviewers marked it up, and my understanding solidified once publishing invited people to correct me. Proof of work beats provenance; I don’t study at a famous college, and a runnable repository, two papers and some honest writing opened doors that the name on my degree never could. Nobody has ever asked me about my marks. Everybody has asked what I built and what broke. And research and engineering aren’t separate careers. The best work I’ve done sits right at the junction, where production failures produce research questions and research findings come back as design rules. That’s where I’m heading, on purpose.

If you’re the first-year I was, here’s the short version. Open a paper this month. You won’t understand it, so open it anyway; I kept that rule for three years before it paid off, and then it paid off enormously. Build before you feel ready and publish before it’s polished. Take DSA seriously without mistaking it for engineering. Write the survey, because the taste you develop is worth more than the publication. And build the evaluation before the system. I’ve learned that three times, and you only need to learn it once. There’s no manual, just a loop: build, break, measure, write, share, repeat. It converges more slowly than you’d like and faster than you’d believe.

Leave a Reply