AI families and boundaries
AI is the broader field. Symbolic AI represents knowledge and operations explicitly; machine learning (ML) uses data or experience to adjust a model; deep learning is a family of ML methods using neural networks with multiple processing layers. Generative AI concerns producing new material, such as text or images, often with learned models. These labels describe different aspects of a system and can overlap.
Explicit knowledge versus learned patterns
A symbolic system can represent facts such as which roads connect two places, then use a search procedure to choose a path. A learned system might estimate journey duration from examples of past trips. A model is a representation used to make inferences; in ML its adjustable values are fitted during training. Using a fitted model on a new input is called inference. Some symbolic systems also perform inference by applying logical rules rather than learned values.
Consider a help desk that has only three categories. A hand-written routing table is easy to inspect. If messages become varied, a learned classifier might use recurring patterns in labeled historical examples, where a label is the correct category assigned to a sample. It still needs testing on messages it did not learn from.
Example: two different travel tasks
Suppose three already-known routes have travel times of 12, 8 and 10 minutes. The task is to select the lowest cost. You can solve this by comparing three values; no training is needed. In the optional Python example, min selects the smallest item using its second value as the comparison key. A pair stores a name and a duration; indexes start at zero.
routes = [("via library", 12), ("via park", 8), ("direct", 10)]best = min(routes, key=lambda route: route[1])print(best[0], best[1])Expected output: via park 8. This enumerates a fixed list; it is not a complete route-finding algorithm. If tomorrow’s road conditions are unknown, an estimate of travel time could instead come from a model trained on previous trips. That prediction might be used as an input to a search system. The two approaches can cooperate.
Where deep learning and generation fit
A neural network combines numerical operations in connected layers; deep learning uses multiple such layers to learn useful representations. An image classifier built with a deep neural network is deep learning but not necessarily generative AI. A language model that drafts text is commonly both deep learning and generative AI. A generator can also use other methods; output type alone does not identify its architecture. A hybrid system may combine a learned classifier with explicit business rules.
Narrow, general-purpose and general intelligence
Narrow AI is designed for a bounded task or task family, such as sorting tickets. General-purpose models can support many different applications, but broad usefulness is not proof of reliable performance on every task. Artificial general intelligence (AGI) is a debated concept concerning broad, flexible intelligence. There is no single universally accepted test or threshold for it. A system can be useful without qualifying as AGI. Do not infer consciousness, human-like understanding or universal competence from fluent output.
Practice: match the approach
Classify a rule-driven troubleshooting engine, a fitted parcel-delay estimator, a multilayer image classifier and a text-drafting neural model. Answers: symbolic reasoning, ML prediction, deep learning classification, and deep learning generation. The last three can all use ML, so treating the four as disjoint categories would be misleading. Next, decide when the additional complexity of a learned system is worthwhile.
Check Your Understanding
Solidify your learning with the interactive assessment directly below this lesson.
Concept Quiz & Questions
AI families and boundaries — understanding check
Apply the lesson concepts to short original scenarios.
What distinguishes the learned classifier from the hand-written routing table?
How does deep learning relate to machine learning (ML)?
A multilayer neural network assigns a category to an image. Which description fits?
A learned model estimates travel times, then an algorithm chooses a route. What does this show?
A general-purpose model performs well on several evaluated tasks. What can you conclude?