Skip to content
← back to fleet
SYS-07·2026· CLASSIFIED

Anchor

Closed-KB grounding research

“Eighteen ways to stop an AI from making things up.”

Research and a testbed for a spoken RAG companion in a regulated pharma-onboarding setting, where a hallucinated answer is not an option.

Techniques
18
Domain
regulated
Output
spoken
PythonRAGNLIConstrained decodingEvals

CLASSIFIED · built for a client. Shown here as architecture and outcomes only: no names, no code.

The question

How do you build a friendly spoken companion that answers new employees’ questions and never says anything that isn’t in the approved material?

What I explored

I wrote up eighteen techniques, each with its trade-offs, and tested them against a shared eval set. They include:

  • Citation forcing: no source, no sentence.
  • An NLI verifier: every claim is checked for entailment against retrieved passages.
  • Constrained decoding: the model can only phrase what retrieval returned.
  • RAFT-style fine-tuning, which trains the model to ignore distractor documents.
  • A semantic cache of approved answers for the questions everyone asks.
  • Recursive LMs for long, layered source material.

Takeaway

No single technique is enough. Grounding works as layered defenses, the same way approval gates do in an agent harness.

next system Genesis Where the harness idea was born. →
> esc