{"course":{"slug":"ai-actually-explained","title":"AI, Actually Explained","url":"https://addaly.com/learn/ai-actually-explained","level":"beginner","track":"start"},"lesson":{"slug":"the-family-tree","title":"AI, learning and generating: a map","url":"https://addaly.com/learn/ai-actually-explained/the-family-tree","position":2,"of":92,"minutes":9,"answer":"Generating is a task; learning is a method. Inspect the system and its tests.","keyIdea":"Generating is a task; learning is a method. Inspect the system and its tests."},"body":{"format":"markdown","text":"## The word covers too much\n\nWhen a shop sign, a job advert and a newspaper headline all say \"AI\", they may be pointing at different methods and different jobs. A small map helps, provided we do not mistake it for a law about every product.\n\n**Artificial intelligence** is the broad field. It includes systems built with search, human-written rules and learned models, often in combination. The label alone does not tell you how a particular decision was made.\n\n**Machine learning** is part of that field. People choose a learning procedure, data and an objective; the procedure fits some of the system's behaviour from examples or experience. They do not separately write the answer to every possible input.\n\n**Deep learning** is a family of machine-learning methods based on multi-layer neural networks. It is used in many modern language, image and speech systems. It has not replaced every other learning method.\n\n**Generative AI** describes systems that produce content such as text, images or audio. Many prominent examples use deep learning. But \"generative\" describes what a system does, not a guarantee that every generative method sits inside a deep neural network.\n\nLarge neural language models are one important example of deep learning used for generation. A chatbot is a product interface: it may use a language model, written dialogue rules, retrieval, other tools, or a mixture. Do not infer its internals just from the chat box.\n\n> Figure: One route through AI: neural language models. Layers, top to bottom: Artificial intelligence (A broad field including search, written rules and learned models. Ask how this particular system works.); Machine learning (Some behaviour is fitted from data or experience. Inspect the examples, objective, model and tests.); Deep learning (A family of learning methods using multi-layer neural networks; other learning methods still exist.); Neural language models (An important deep-learning example used for generating language. Generated factual claims need supporting evidence.). This stack follows one common modern language-model route through AI, machine learning and deep learning. Generative modelling is broader than this route; a chat interface does not prove any particular architecture.\n\n---\n\n## Why the method matters\n\nBecause it tells you what to investigate.\n\nIf a decision follows human-written rules, ask to inspect those rules and the inputs they used. A simple rule can often be followed line by line. Whether the rule was appropriate is a separate question.\n\nIf it uses machine learning, ask: **what examples did you train it on, how do you know it works, and what can you explain about this decision?** Some learned models have readable decision rules. Others, including large neural networks, are much harder to interpret. Either way, an explanation is not a substitute for testing.\n\nIf it generates a factual claim, also ask: **what evidence supports the output?** A fluent paragraph is not its own evidence. Labels and scores need checking too; generation does not create that duty for the first time.\n\n## The thing beginners get backwards\n\nA more fashionable method is not automatically a better choice.\n\nFor a spreadsheet of customers, transactions or sensor readings, start by comparing simple baselines and suitable tabular models, including tree-based methods such as random forests or gradient boosting. An LLM is not a requirement just because the task is called AI. Test the actual alternatives on held-out examples and compare errors, runtime, resources and the cost of mistakes.\n\nPython with `scikit-learn` or `xgboost` provides free software for these comparisons. LibreOffice Calc is useful for inspecting the data first. Free software still takes time and hardware to run; a particular dataset does not come with a promise that one method will win in minutes.\n\n## Three limits of the map\n\n- **Reinforcement learning** is learning from rewards through interaction. It can use a table, a small function or a deep network. The learning setup and the model architecture answer different questions.\n- **A hybrid system** can combine human-written search or business rules with a learned scoring function. A single product may use several methods at once.\n- **\"AI\" as a product label** is not evidence of a particular architecture, training process or level of reliability. Ask for the mechanism and the test, rather than deciding from the name.\n\n## The habit\n\nWhen you next meet a system described as AI, ask what is written, what is fitted from data, and what is generated. If you cannot tell, the useful next step is to ask for that information. The diagram is a guide to questions, not a certificate of trust."},"check":{"question":"A logistics firm wants to predict late deliveries from a table of route, weather, driver and load data. A vendor proposes a large language model. What should the firm ask before accepting?","options":[{"text":"Large language models cannot handle 40,000 rows, which is too much data for any model to process.","correct":false,"tempting":"It assumes a fixed data-volume limit without inspecting the model or the task. The proposal needs comparative evidence."},{"text":"Compare it with simple baselines and suitable tabular models on held-out deliveries, including error costs, runtime and resource use.","correct":true},{"text":"Prediction of future events is outside the scope of artificial intelligence, which only classifies things that have already happened.","correct":false,"tempting":"Machine learning can be used for prediction. The question is whether this approach works for the actual task."},{"text":"A language model would work, but the firm should first get a larger dataset, because deep learning always needs millions of examples.","correct":false,"tempting":"Accepts the vendor's framing and treats the shortfall as data size, when the mismatch is between the method and the shape of the problem."}]},"prev":{"slug":"the-word-ai","title":"What the word actually means","url":"https://addaly.com/learn/ai-actually-explained/the-word-ai"},"next":{"slug":"written-versus-trained","title":"Written by a person, or grown from examples","url":"https://addaly.com/learn/ai-actually-explained/written-versus-trained"},"authorship":"Founder and series editor: Dr Mustafa Mun. Written by AI models to a written standard. Source and assessment review continues. Academic review invited.","review":{"status":"Draft, open for academic review"},"cite":"Addaly (2026) 'AI, learning and generating: a map', in AI, Actually Explained. Edited by M. Mun. Addaly. Available at: https://addaly.com/learn/ai-actually-explained/the-family-tree (Accessed: 29 November 2026).","licence":{"name":"CC BY-NC-SA 4.0","url":"https://creativecommons.org/licenses/by-nc-sa/4.0/"},"reader":{"schema":1,"title":"AI, learning and generating: a map","courseTitle":"AI, Actually Explained","module":{"index":1,"slug":"what-the-word-names","title":"What this word actually means"},"answer":null,"keyIdea":"Generating is a task; learning is a method. Inspect the system and its tests.","hero":{"kind":"figure","figure":{"t":"figure","label":"Figure","figure":{"type":"stack","title":"One route through AI: neural language models","caption":"This stack follows one common modern language-model route through AI, machine learning and deep learning. Generative modelling is broader than this route; a chat interface does not prove any particular architecture.","layers":[{"label":"Artificial intelligence","detail":"A broad field including search, written rules and learned models. Ask how this particular system works."},{"label":"Machine learning","detail":"Some behaviour is fitted from data or experience. Inspect the examples, objective, model and tests."},{"label":"Deep learning","detail":"A family of learning methods using multi-layer neural networks; other learning methods still exist."},{"label":"Neural language models","detail":"An important deep-learning example used for generating language. Generated factual claims need supporting evidence."}]},"alt":"Figure: One route through AI: neural language models. Layers, top to bottom: Artificial intelligence (A broad field including search, written rules and learned models. Ask how this particular system works.); Machine learning (Some behaviour is fitted from data or experience. Inspect the examples, objective, model and tests.); Deep learning (A family of learning methods using multi-layer neural networks; other learning methods still exist.); Neural language models (An important deep-learning example used for generating language. Generated factual claims need supporting evidence.). This stack follows one common modern language-model route through AI, machine learning and deep learning. Generative modelling is broader than this route; a chat interface does not prove any particular architecture."}},"blocks":[{"t":"h2","id":"the-word-covers-too-much","runs":[{"text":"The word covers too much"}]},{"t":"p","runs":[{"text":"When a shop sign, a job advert and a newspaper headline all say “AI”, they may be pointing at different methods and different jobs. A small map helps, provided we do not mistake it for a law about every product."}]},{"t":"p","runs":[{"text":"Artificial intelligence","b":true},{"text":" is the broad field. It includes systems built with search, human-written rules and learned models, often in combination. The label alone does not tell you how a particular decision was made."}]},{"t":"p","runs":[{"text":"Machine learning","b":true},{"text":" is part of that field. People choose a learning procedure, data and an objective; the procedure fits some of the system’s behaviour from examples or experience. They do not separately write the answer to every possible input."}]},{"t":"p","runs":[{"text":"Deep learning","b":true},{"text":" is a family of machine-learning methods based on multi-layer neural networks. It is used in many modern language, image and speech systems. It has not replaced every other learning method."}]},{"t":"p","runs":[{"text":"Generative AI","b":true},{"text":" describes systems that produce content such as text, images or audio. Many prominent examples use deep learning. But “generative” describes what a system does, not a guarantee that every generative method sits inside a deep neural network."}]},{"t":"p","runs":[{"text":"Large neural language models are one important example of deep learning used for generation. A chatbot is a product interface: it may use a language model, written dialogue rules, retrieval, other tools, or a mixture. Do not infer its internals just from the chat box."}]},{"t":"rule"},{"t":"h2","id":"why-the-method-matters","runs":[{"text":"Why the method matters"}]},{"t":"p","runs":[{"text":"Because it tells you what to investigate."}]},{"t":"p","runs":[{"text":"If a decision follows human-written rules, ask to inspect those rules and the inputs they used. A simple rule can often be followed line by line. Whether the rule was appropriate is a separate question."}]},{"t":"p","runs":[{"text":"If it uses machine learning, ask: "},{"text":"what examples did you train it on, how do you know it works, and what can you explain about this decision?","b":true},{"text":" Some learned models have readable decision rules. Others, including large neural networks, are much harder to interpret. Either way, an explanation is not a substitute for testing."}]},{"t":"p","runs":[{"text":"If it generates a factual claim, also ask: "},{"text":"what evidence supports the output?","b":true},{"text":" A fluent paragraph is not its own evidence. Labels and scores need checking too; generation does not create that duty for the first time."}]},{"t":"h2","id":"the-thing-beginners-get-backwards","runs":[{"text":"The thing beginners get backwards"}]},{"t":"p","runs":[{"text":"A more fashionable method is not automatically a better choice."}]},{"t":"p","runs":[{"text":"For a spreadsheet of customers, transactions or sensor readings, start by comparing simple baselines and suitable tabular models, including tree-based methods such as random forests or gradient boosting. An LLM is not a requirement just because the task is called AI. Test the actual alternatives on held-out examples and compare errors, runtime, resources and the cost of mistakes."}]},{"t":"p","runs":[{"text":"Python with "},{"text":"scikit-learn","code":true},{"text":" or "},{"text":"xgboost","code":true},{"text":" provides free software for these comparisons. LibreOffice Calc is useful for inspecting the data first. Free software still takes time and hardware to run; a particular dataset does not come with a promise that one method will win in minutes."}]},{"t":"h2","id":"three-limits-of-the-map","runs":[{"text":"Three limits of the map"}]},{"t":"ul","items":[[{"text":"Reinforcement learning","b":true},{"text":" is learning from rewards through interaction. It can use a table, a small function or a deep network. The learning setup and the model architecture answer different questions."}],[{"text":"A hybrid system","b":true},{"text":" can combine human-written search or business rules with a learned scoring function. A single product may use several methods at once."}],[{"text":"”AI” as a product label","b":true},{"text":" is not evidence of a particular architecture, training process or level of reliability. Ask for the mechanism and the test, rather than deciding from the name."}]]},{"t":"h2","id":"the-habit","runs":[{"text":"The habit"}]},{"t":"p","runs":[{"text":"When you next meet a system described as AI, ask what is written, what is fitted from data, and what is generated. If you cannot tell, the useful next step is to ask for that information. The diagram is a guide to questions, not a certificate of trust."}]}],"check":{"question":[{"text":"A logistics firm wants to predict late deliveries from a table of route, weather, driver and load data. A vendor proposes a large language model. What should the firm ask before accepting?"}],"options":[{"text":[{"text":"Large language models cannot handle 40,000 rows, which is too much data for any model to process."}],"correct":false,"tempting":[{"text":"It assumes a fixed data-volume limit without inspecting the model or the task. The proposal needs comparative evidence."}]},{"text":[{"text":"Compare it with simple baselines and suitable tabular models on held-out deliveries, including error costs, runtime and resource use."}],"correct":true,"tempting":null},{"text":[{"text":"Prediction of future events is outside the scope of artificial intelligence, which only classifies things that have already happened."}],"correct":false,"tempting":[{"text":"Machine learning can be used for prediction. The question is whether this approach works for the actual task."}]},{"text":[{"text":"A language model would work, but the firm should first get a larger dataset, because deep learning always needs millions of examples."}],"correct":false,"tempting":[{"text":"Accepts the vendor’s framing and treats the shortfall as data size, when the mismatch is between the method and the shape of the problem."}]}],"order":[2,0,3,1],"why":null},"prev":{"slug":"the-word-ai","title":"What the word actually means","minutes":6},"next":{"slug":"written-versus-trained","title":"Written by a person, or grown from examples","minutes":7}}}