liveBook · Manning

Knowledge base

As explained in Machine Learning System Design

A knowledge base is an organized repository of structured facts, entities, relationships, or domain-specific information.

A knowledge base can provide a fast operational fix when a model misses important entities but retraining is too slow. Check incoming text against the repository before inference, then pass any matching entity as a hint to the model. section 13.4

Entity recognition fallback

For a named entity recognition system, a nontechnical person adds the missing entity to the knowledge base in about a minute. Subsequent inputs can use that entry as a model hint, addressing the customer problem without retraining. section 13.4

How Machine Learning System Design covers it

How deep it goes
Explains the pre-inference lookup and hinting workflow, but stops short of specifying repository design or matching algorithms.
Examples
Uses missing customer entities and rapid, nontechnical additions as the central operational example.
What it assumes
Assumes a deployed model, an inference step, and a process for identifying important missed entities.
What you can do after
Apply it to augment model inputs and resolve selected recognition failures without retraining.
How it connects
Connects knowledge bases with named entity recognition, model inputs, overrides, and fallbacks.

Also explained in

Compare how 10 books explain knowledge base →

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Machine Learning System Design. The section links point to the parts of the book it draws on.