Volver al blog

Artificial Intelligence

How do I stop AI from making things up?

Why a model states false things confidently, which design measures reduce that risk, and how to verify it before going into production.

By scoping the assistant to the organisation's documentation, requiring it to cite the source of every statement, configuring it to say when it does not have the information rather than filling the gap, and establishing periodic sample reviews. These four measures reduce the frequency of incorrect answers and, more importantly, make them detectable. The risk is not eliminated: it is managed.

This is the first objection any technical or legal function raises, and it is a correct one. The useful response is not to deny the problem but to explain how it is contained.

Why does it happen?

A language model generates text from statistical patterns. When it lacks the information to answer precisely, it does not stop: it produces the most probable continuation, which may be incorrect.

The problem is not that it gets things wrong, but that it gets them wrong with the same structure and tone it uses when it is right. A false statement and a true one look identical from the outside.

This has an important practical consequence: user trust cannot rest on how the answer sounds. It has to rest on whether that answer can be verified.

Which design measures reduce the risk?

Four, applied in the design of the solution rather than in the choice of model.

Scope it to your own documentation. Configure the assistant to answer only from organisational documents, retrieving relevant fragments and building the answer on them. This significantly reduces unsupported statements, because the system works on existing material rather than general knowledge.

Require a source citation. Every answer must indicate which document it came from, in which version and with what date. The citation serves two purposes: it allows verification and, where there is no document to cite, it reveals that the statement has no backing.

Allow the system to say it does not know. This is a configuration decision. An assistant that always answers will fill the gaps. One configured to abstain when it finds no support produces fewer answers, and the ones it produces are more reliable.

Separate text from interpretation. Particularly in regulatory or technical contexts, the system must distinguish what the document says from what the system infers. That separation lets a professional evaluate the inference.

How is it verified before production?

With a structured test worth requiring in any implementation.

Assemble a set of questions with known answers. Between thirty and fifty real questions from the process, whose correct answer someone on the team can confirm. Include routine cases and edge cases.

Include questions with no answer in the documentation. This is the part most often omitted and the most revealing. A well-configured system should say it does not have the information. One that invents a plausible answer to an unsupported question is not ready.

Measure three things. Proportion of correct answers, proportion of answers with a verifiable source, and proportion of unsupported cases where the system correctly abstained.

Define the threshold before measuring. What result counts as acceptable for going into production. Defining it after seeing the numbers turns validation into a negotiation.

How is it controlled once in production?

With periodic sample reviews, the control most often omitted and the one that prevents expensive problems.

Someone reviews a set of real answers at a defined frequency and compares them against the established criterion. It does not require a dedicated team: it requires being assigned to a person, with a written frequency and a place where results are recorded.

Without this review the degradation is invisible. The process changes, new documentation appears, a criterion is modified, and the system keeps answering normally on an outdated basis.

What about cases where the error reaches the customer?

That is what the prior verification rule is for, and it is worth establishing in writing.

If the answer is shown to a customer, enters a management system or supports a decision with financial consequences, someone verifies it first. If it is an internal draft that someone will review anyway, it does not need verification.

That boundary, defined explicitly and known to the team, is more effective than any technical measure, because it places a person at the point where an error would have consequences.

Can it be guaranteed not to happen?

No, and anyone claiming otherwise is worth treating with caution.

What can be guaranteed is that answers are verifiable, that the system abstains when it has no support, that a periodic control exists, and that there is a human step at the points where an error would have consequences.

A solution with those four characteristics is manageable. One promising absolute precision is not describing the technology accurately, and that imprecision tends to foreshadow others.

If you want to implement an assistant over your own documentation with these controls designed in, explore our Artificial Intelligence services.

Frequently asked questions

Why does AI confidently state something false?

Because it generates text from patterns, and an incorrect text can have exactly the same structure as a correct one. The confident tone does not reflect certainty: it is a feature of language the model reproduces. That is why user trust should rest not on how an answer sounds but on whether it can be verified.

Can the risk of incorrect answers be eliminated entirely?

It is not eliminated; it is reduced and made detectable. Design measures lower the frequency, and verification mechanisms allow the remaining cases to be identified before they have consequences. A solution promising zero errors is not describing the technology accurately.

What does it mean to scope an assistant to your own documentation?

It means configuring it to answer only from the organisation's documents rather than from the model's general knowledge. Each answer is built on fragments retrieved from those documents and cites them. It significantly reduces unsupported statements and makes them verifiable.

How do you detect that a system has started answering worse?

By periodically reviewing a sample of answers against a defined criterion. Without that review the degradation is invisible, because the system keeps answering normally. The frequency depends on volume and on the impact of each error.

Todos los artículos

Innovemos juntos

Escribinos