Skip to content
ML Academy

LLMs, GenAI, RAG, agents, evaluation · insight-0516

Replace "check your answer" prompts with an external verifier

Evidence type
empirical finding
Difficulty
medium
Roles
Applied AI, ML engineer
Industries
aviation

Summary: situation, action, reason, boundary

  1. Situation

    To cut errors, a team adds a second prompt asking the model to review and fix its own fare calculation.

  2. Action

    Use external feedback instead, such as unit tests, a deterministic calculator, schema and business-rule checks or a lookup in the source document, and pass the concrete failure back to the model.

  3. Reason

    Experiments found that without external feedback, self-correction did not reliably improve reasoning and sometimes made it worse.

  4. Boundary

    Calculation, reasoning, code and extraction tasks with checkable outputs.

Symptom or risk

Accuracy does not improve and sometimes falls as correct answers are changed, while cost doubles.

Exceptions

Revisions for style or completeness against an explicit checklist can help; measure them on the eval set.

Trade-offs

Verifiers take engineering time but double as evaluation tooling.

Pitfalls

Judging self-correction in experiments that tell the model when it was wrong, information production never has.

Lessons and concepts

Claims and their sources