liveBook · Manning

Chapter 2: Intelligent systems: A hybrid approach

What you will learn in chapter 2 of Knowledge Graphs and LLMs in Action

The introduction frames intelligent advisor systems as combining KGs and LLMs to tackle complex problems, and argues that understanding their operation is necessary to judge their trustworthiness and safety.

After this chapter you will be able to

What it builds on

Section by section

Introduction

The introduction frames intelligent advisor systems as combining KGs and LLMs to tackle complex problems, and argues that understanding their operation is necessary to judge their trustworthiness and safety.

Key terms: knowledge graphs (KGs), large language models (LLMs), intelligent systems, trustworthiness, safety, limitations, genuine capabilities

2.1 What is intelligence?

The section defines intelligence in terms of acquiring and applying knowledge, then introduces knowledge representation and reasoning as the interacting functions of an intelligent system.

Key terms: intelligence, intelligent agent, knowledge representation, reasoning, expressive, efficiently, knowledge bases, reasoning engines, knowledge refinement, KGs

2.2 Designing an intelligent system

The section uses a medical diagnosis example to introduce two design ideas: combining general knowledge with patient context, and connecting algorithms so their outputs work together.

Key terms: global generic knowledge, contextualized information, system of algorithms and tools, output, input

2.2.1 What is an intelligent system?

Defines an intelligent system as a user-centered application of AI and ML that improves over time through data and user interaction.

Key terms: intelligent system, users, AI and ML, decision-making capabilities, user interactions, explicit feedback, contextual information, evolving knowledge base, data sources

2.2.2 Categories of intelligent systems

This section distinguishes systems that act for users from systems that advise them, then explains why the book focuses on intelligent advisory systems.

Key terms: intelligent autonomous systems, intelligent advisory systems (IASs), decision support, intelligent advisor systems, context awareness, user interaction, KGs

2.2.3 Characteristics of an intelligent system

The section identifies four characteristics that should guide an intelligent system’s design and applies them to an autonomous advisor that uses domain knowledge and learns from feedback.

Key terms: meaningful objective, intelligent experience, implicit and explicit user feedback, knowledge creation and update, orchestration, LLMs, KGs, autonomous advisor systems, established knowledge base, domain-specific understanding

2.3 Knowledge acquisition and representation

This section explains how intelligent systems acquire and represent knowledge through KGs and LLMs, and why their differences make them complementary.

Key terms: knowledge acquisition, knowledge representations, knowledge bases, reasoning phase, KGs, nodes, edges, ontologies, schemas, domain expert

2.4 Reasoning

This section explains how reasoning in an intelligent system draws on supplied information, contrasts deductive and inductive reasoning, and argues for combining KGs and LLMs while recognizing their limits.

Key terms: IAS, reasoning engine, uncertainty, deductive reasoning, inductive reasoning, inductive inference, generalize, LLMs, probabilistic reasoning engine, counterfactual variants

2.5 Reasoning engines

This section explains how a reasoning engine and knowledge base form a feedback loop in an intelligent system, while noting that the engine may use one or several reasoning strategies.

Key terms: knowledge base, reasoning engine, observations, feedback loop, deductive, inductive, reasoning strategies

2.5.1 Limitations of a pure deductive reasoning engine

This section uses a virtual-doctor example to show both the potential and the main limitation of a purely deductive reasoning engine.

Key terms: deductive reasoner, knowledge base, optimal actions

2.5.2 Using inductive reasoning and ML

This section explains how ML-powered inductive reasoning broadens a reasoning engine’s knowledge base and supports predictions from incomplete information.

Key terms: inductive reasoning, ML, ontologies, inference under uncertainty, inductive reasoner, structured format, knowledge base, KG, NLP, traditional ML approaches

2.5.3 The role of LLMs in the reasoning engine

This section explains how LLMs help a reasoning engine handle ambiguous inputs and incomplete information, especially when combined with KG-based reasoning.

Key terms: probabilistic reasoning, purely deductive systems, uncertainty, prioritized diagnostic approach, KG-based reasoning engines, reasoning layer, ambiguous inputs, hybrid approach, IASs

2.6 A KG approach to IASs

The section contrasts data-first KG construction with a business-driven approach to building and evolving knowledge graphs for intelligent agent systems.

Key terms: bottom-up approach, single source of truth, KG adoption, business understanding, data understanding, purpose-driven approach, domain-specific, knowledge graph, acquisition, modeling phase

2.7 Summary

Where this is used later

Concepts explained in this chapter

← Chapter 1: Knowledge graphs and LLMs: A killer combination Chapter 3: Create your first knowledge graph from ontologies →

These guides are generated from the text of Manning books by Manning's knowledge graph and link to the sections they draw on. The full books are available on liveBook and at manning.com.