Research Careers Contact

GlossaryGrounding

Grounding

Grounding is tying an AI model's answer to specific source material, such as a datasheet, a netlist or a design rule file, so that each claim can be traced back to that source. A grounded answer says what it is based on, and a reader can open the source and check it.

How it works

A language model has general knowledge from training, but it does not know your part, your board or your shop's DFM rules, and what it remembers is not reliable at the level of a pin number. Grounding supplies the facts at request time. The application finds the relevant material, places it in the model's context window, and instructs the model to answer from it and cite it.

A common method is retrieval-augmented generation (RAG): search a document store for passages related to the question, then give the model those passages with the question. In engineering, the sources are datasheets, standards, design files, BOMs and test records. Tools add another kind of grounding: instead of reading about a value, the model calls a tool that returns it, such as a rule check or a parts lookup.

Citations make grounding visible. The application gives each retrieved passage an ID, the model tags each claim with the IDs it used, and the application turns those IDs into links a reader can open. Published research on generating text with citations found that even strong models often cite passages that do not fully support the claim, so a check after generation that compares each claim with its cited passage is worth adding. A citation that does not back its claim is worse than none, because it lends false confidence.

Grounding vs training

Training changes what a model knows in general. Grounding gives a model specific facts for one task without changing the model. For a fact like a part's pin map or a shop's minimum drill, grounding is the right method, because the source can be checked and updated, and the answer can cite it.

Why it matters

An ungrounded model fills gaps with plausible guesses, which is the main source of hallucination. In electronics, a plausible guess is an invented part number, a wrong pinout or a rule value that does not match the shop. Grounding turns each of those into a claim with a source someone can check.

How to get it right

  • Give the model the actual source: the right datasheet revision, the current netlist, the shop's rule file.
  • Require citations to the section, table or line each claim comes from.
  • Check after generation that each cited passage supports its claim, and flag answers that fail.
  • Prefer tool outputs over prose for values a tool can compute, such as a design rule check or stock status.
  • Tell the model to say so when the source does not answer the question, instead of guessing.
  • Keep sources current, and treat an answer based on an old revision as wrong.

Grounding in robotics and drone hardware

Robot and drone boards depend on details that live in datasheets and schematics: the pinout of a motor driver, the rating of a connector, the timing budget of a camera link. An agent working on those boards has to read those values from the documents and cite them, not recall them.

Learn more