AI Glossary / Graphs and symbolic AI / Intermediate
Background knowledge
Definition
Background knowledge is information already available to an AI system that helps it interpret observations, reason about a domain or learn new relationships. In symbolic AI, it often takes the form of explicit facts and rules used alongside the examples or question currently being considered.
What it means
A learner does not always begin with isolated labels and raw measurements. It may already know that a component belongs to a machine, that one category includes another or that a certain relation is symmetric. Such knowledge can make otherwise disconnected examples meaningful.
In inductive logic programming, background knowledge is commonly distinguished from the hypothesis being learned and the positive or negative examples used to assess it. The hypothesis and background together should support the desired conclusions while respecting the learning setup's constraints.
The broader phrase can also refer to information held by a language model or supplied in context. This entry emphasizes explicit domain knowledge, where readers can inspect what is assumed and how it contributes to an inference.
How it works
A team identifies relevant concepts and relationships, then encodes them in a form the system can use. An explicit knowledge base may contain facts about objects, rules connecting predicates and definitions that simplify more complicated relationships.
During reasoning, the system combines the background with current facts to derive answers. During learning, it searches for hypotheses that work with that background to explain examples. A useful relation can dramatically simplify a candidate hypothesis; irrelevant relations can enlarge the search and make spurious explanations easier to find.
Quality controls address correctness, scope and timing. Background knowledge should not quietly reveal evaluation answers or include information unavailable at the intended prediction time. Contradictory, outdated or overgeneral rules can distort results even when the learning procedure is correctly implemented.
Three practical examples
- A parts-catalog learner uses component-to-product relationships to infer which maintenance instructions apply to a family of devices.
- A scheduling assistant combines a new meeting request with existing knowledge about room equipment and permitted booking periods.
- A personal learning tool uses a prerequisite map to interpret a student's progress, while allowing the map to be reviewed when course requirements change.
Think of it this way
Think of solving a crossword with a small reference notebook. The current clues are the immediate task; the notebook supplies relationships and facts that help interpret them.
The analogy has limits. A computer uses the knowledge in a specific representation, and a wrong notebook entry can systematically mislead it. More pages are not automatically better if the useful information becomes difficult to distinguish from irrelevant or contradictory material.
Worked example
Learning with an existing relationship
Suppose an invented catalog already contains these facts: LampA uses BatteryX, LampB uses BatteryX, and BatteryX is rechargeable. The background also contains a rule that a product uses a rechargeable component when it uses a component classified as rechargeable.
Training examples identify LampA and LampB as products suitable for a particular rechargeable-device guide. A candidate hypothesis says that the guide applies to products using a rechargeable component. The background supplies the intermediate relationship needed to connect each lamp to that hypothesis.
Now add LampC, which uses BatteryY, with no information about BatteryY's rechargeability. The system cannot justify the same conclusion from the stated background alone. Depending on the formalism, that absence may remain unknown rather than false. The example illustrates both the usefulness of existing relationships and the importance of declaring how missing facts are interpreted.
Illustrative case study
Fictional case: Willow Maintenance learns rules for routing equipment questions. Its background knowledge includes the families to which each device belongs. A renamed family accidentally receives both the old and new category relationships, one of which points to obsolete instructions.
The learner produces an apparently simple rule that performs well on historical examples but routes new devices incorrectly. Reviewers trace the issue to the inherited category facts, update their provenance and separate current classifications from historical ones. They then reassess the learned rule.
The lesson is that background knowledge is part of the effective model. Treating it as unquestionable setup data can hide the cause of an error that appears to come from learning.
Common misconceptions and mistakes
- Background knowledge is always true. It is supplied information whose accuracy and scope still need review.
- More knowledge always improves learning. Irrelevant predicates can increase search effort and support accidental patterns.
- It is the same as the hypothesis. The hypothesis is what the learner proposes; the background is information it uses in doing so.
- Evaluation labels can safely be added as background. That can leak the answer and invalidate the assessment.
- A missing statement is universally false. The treatment of absence depends on the formalism and assumptions.
Business use
Explicit background knowledge can make AI systems easier to connect to domain expertise and existing information structures. It can also reduce the need to rediscover relationships already known by the organization.
Manage it as a maintained asset with owners, sources and effective dates. Before a learning experiment, document what background was available and whether deployment will have the same information. Evaluate changes to rules and reference data alongside changes to the model itself.
People also ask
Must background knowledge be written as logic?
No. Logic is common in symbolic learning, but graphs, ontologies and other representations can play related roles.
Can background knowledge change during learning?
Some methods allow it, but updates should be explicit because they change the basis on which hypotheses are assessed.
Is a pretrained model's stored information equivalent to an explicit knowledge base?
No. It can influence outputs, but its assumptions are not necessarily inspectable as a clear set of facts and rules.
Check your understanding
A learner predicts which orders will be delayed. Its background includes the final delivery date, recorded after the prediction deadline. Is that legitimate background for evaluating deployment performance?
Answer: No. It supplies future information unavailable at the intended decision time and can leak the target outcome. The evaluation must match the information genuinely available when predictions are made.
Related terms
- Knowledge base
- Inductive logic programming
- Hypothesis
- Ontology
- Predicate (logic)
- Data leakage
- predicate
- prior knowledge
- open-world assumption
Learn next
Choose a small classification task and list what is already known separately from what must be learned. Mark which facts are available before the decision and which arrive afterward. Build one explanation using the legitimate background, then remove a key fact to see how the justified conclusions change.
More in Graphs and symbolic AI
- Axiom - An axiom is a statement accepted as a starting assumption within a formal theory or knowledge system.
- B* - B* is a best-first tree-search procedure that seeks to establish which choice at the root is better than its alternatives.
- Back-propagation through time - Backpropagation through time, or BPTT, computes training gradients for a recurrent model by treating its successive time steps as an unfolded computational...
- Backjumping - Backjumping is a constraint-search technique that responds to a dead end by returning to an earlier decision relevant to the conflict, potentially skipping...
- Backmarking - Backmarking is a constraint-search technique that remembers information from earlier compatibility checks so that the solver can avoid repeating checks...
- Backtracking search - Backtracking search builds a candidate solution through a sequence of tentative choices.
Sources
Ashwin Srinivasan, The Aleph Manual, describes explicit background knowledge and its role in inductive logic programming: https://www.cs.ox.ac.uk/activities/programinduction/Aleph/aleph.html
University of Oxford, Logic Programming and ILP laboratory material, explains the relationship between background, hypotheses and examples: https://www.cs.ox.ac.uk/activities/programinduction/Aleph/misc/basic.html
The catalogue and fictional maintenance cases are original teaching illustrations.
Previous: Backfitting Next: Background subtraction