HomeAIHow AI, Machine Learning, Deep Learning and LLMs Fit Together

How AI, Machine Learning, Deep Learning and LLMs Fit Together

Artificial intelligence is the broad field; machine learning, deep learning, foundation models and large language models are progressively narrower layers inside it, and each layer brings its own costs and risks.

In the mid-1960s, a computer program called ELIZA, described by MIT’s Joseph Weizenbaum in 1966, surprised users by mimicking human conversation. It was a parlour trick by today’s standardsโ€”pattern matching and scripted responsesโ€”but it represented something profound: the first glimpse of machines that could seem to think.

Sixty years later, ChatGPT and modern AI systems process billions of words, write code, and answer questions with nuanced understanding. The journey from ELIZA to GPT-4 is not just a story of bigger computers. It is a fundamental restructuring of how we build intelligent systems.

Understanding this evolution is not academic curiosity. For businesses, investors, and builders, the shift from traditional AI to foundation models represents the biggest change in how value gets created from data since the internet itself.


The Hierarchy That Explains Everything

If you are confused by AI terminology, you are not alone. Machine learning, deep learning, foundation models, large language models, generative AIโ€”these terms get thrown around interchangeably. But they describe a clear hierarchy, and understanding that hierarchy is essential for making smart decisions about AI investment and implementation.

Here is the structure:

Artificial Intelligence (broadest field)
    โ””โ”€โ”€ Machine Learning (algorithms that learn from data)
            โ””โ”€โ”€ Deep Learning (multi-layer neural networks)
                    โ””โ”€โ”€ Foundation Models (massive scale, pre-trained)
                            โ””โ”€โ”€ Large Language Models (language-specific)

Each layer narrows the focus while increasing capability. Each layer builds on what came before. And critically, each layer represents a different cost structure, risk profile, and strategic value.


The Foundation: Machine Learning

Machine learning emerged as a distinct approach in the 1980s and 90s. Rather than programming computers with explicit rulesโ€””if X happens, do Y”โ€”researchers developed algorithms that could learn patterns from data.

The breakthrough was statistical. Show a machine learning algorithm thousands of examples of spam emails, and it learns to identify patterns that distinguish spam from legitimate messages. The algorithm does not need to understand what “Nigerian prince” means. It learns that emails containing those words, combined with certain formatting patterns, correlate with user behaviour.

Machine learning has three main flavours:

Supervised learning trains on labeled data. You feed the algorithm inputs paired with correct outputs. Show it thousands of house descriptions with their sale prices, and it learns to predict prices for new houses.

Unsupervised learning finds patterns without labels. Feed it customer purchase data, and it might discover that certain products cluster togetherโ€”people who buy A often buy Bโ€”without being told what to look for.

Reinforcement learning learns through trial and error in an environment. The algorithm takes actions, receives rewards or penalties, and adjusts its strategy accordingly. This powers game-playing AIs and robotics.

Traditional machine learning still powers much of the world’s AI infrastructure. Credit scoring, recommendation engines, fraud detectionโ€”these often use techniques like linear regression, decision trees, and support vector machines that predate the deep learning revolution.

The key insight: not every problem needs neural networks. Sometimes a simple statistical model, properly tuned, outperforms complex approaches.


The Neural Revolution: Deep Learning

Deep learning represents a subset of machine learning focused on artificial neural networks with multiple layersโ€”hence “deep.”

Neural networks are not new. The concept dates to the 1940s. But they required computational power and data volumes that did not exist until the 2010s. When those resources became available, deep learning transformed multiple fields simultaneously.

The architecture is loosely inspired by biological brains. Nodes (artificial neurons) connect in layers. Input flows through hidden layers to output. Each connection has a weight that adjusts during training. With enough layers and parametersโ€”modern systems have billionsโ€”these networks can learn incredibly complex patterns.

Deep learning excels at unstructured data: images, audio, natural language. Traditional machine learning struggles here because human-engineered features break down. How do you define “cat-ness” in pixel values? Deep learning does not require explicit definitions. It learns hierarchical representations directly from data.

Early layers might detect edges. Middle layers combine edges into shapes. Deeper layers assemble shapes into objects. The network discovers these representations through training, not human specification.

This capability enabled the AI breakthroughs of the 2010s: ImageNet accuracy surpassing humans, speech recognition becoming practical, machine translation improving dramatically.

But deep learning had limitations. Each application required training a new network from scratch. A system trained to recognise cats could not translate French. The knowledge did not transfer.


The Paradigm Shift: Foundation Models

In August 2021, researchers at Stanford’s Center for Research on Foundation Models, part of the Institute for Human-Centered Artificial Intelligence, coined a new term in a paper titled On the Opportunities and Risks of Foundation Models. They observed that AI was converging on a new paradigm, and they wanted to name it.

The concept is simple but transformative. Instead of training separate models for each task, train one massive model on vast amounts of data, then adapt it to specific applications.

The training process is generative. Feed the model terabytes of text, and train it to predict the next word in sentences. “No use crying over spilled…” โ†’ predict “milk.” This seemingly simple task, at massive scale, forces the model to learn grammar, facts, reasoning patterns, and even something approaching common sense.

The result is a foundationโ€”a base model containing broad knowledge and capabilities that can be adapted to countless specific tasks.

This changes the economics of AI development. Previously, building an AI system meant collecting task-specific data, training a model, and deploying it. Each application required this full pipeline. Now you can take a pre-trained foundation model and fine-tune it with relatively small amounts of task-specific data.

The cost reduction is dramatic. Training GPT-4 reportedly cost over $100 million. Fine-tuning it for a specific application might cost thousands. This democratises access to capabilities that were previously available only to the largest tech companies.


Large Language Models: The Star of the Show

Large language models (LLMs) are the most visible type of foundation model. GPT-4, Claude, Llamaโ€”these are LLMs. Almost all of them descend from the transformer architecture introduced by Google researchers in the 2017 paper Attention Is All You Need.

The name breaks down precisely:

Large refers to scale. These models have billions or trillions of parameters. OpenAI has never disclosed GPT-4’s size: its technical report says it contains no details about the architecture, including model size, citing competition and safety. Outside estimates above a trillion parameters remain unconfirmed. Scale is what enables nuanced understanding and sophisticated generation.

Language specifies the domain. While foundation models exist for images, audio, and scientific data, LLMs focus on text. They are trained on vast corpora of human writingโ€”books, articles, code, conversations.

Model acknowledges what this actually is: a computational system, a series of algorithms and parameters that processes input and produces output.

LLMs can handle remarkably diverse language tasks: answering questions, translating between languages, summarizing documents, writing code, analysing sentiment, even creative writing. The same underlying model, with appropriate prompting or fine-tuning, can perform all these functions.

This versatility is the point. Foundation models are not narrow tools. They are general capabilities that can be directed toward specific purposes.


Beyond Language: The Multi-Modal Future

Foundation models extend far beyond text.

Vision models like DALL-E and Stable Diffusion generate images from text descriptions. They learn the relationship between visual concepts and language, enabling creation of images that never existed.

Scientific models tackle domain-specific problems. AlphaFold predicts protein structures, as DeepMind showed in Nature in 2021โ€”arguably the most significant AI breakthrough in biology. IBM’s MoLFormer accelerates molecule discovery for drug development.

Audio models generate speech, compose music, and translate between spoken languages. The “fake Drake” songs that circulate online come from audio foundation models.

Code models like GitHub Copilot autocomplete programs as developers type. They are trained on public code repositories and learn patterns of software construction.

IBM has worked across all these domains: Watson for language, Maximo for vision, Project Wisdom for code, MoLFormer for chemistry, geospatial models for climate research. Much of its language and code work now sits under its Granite model family.

The unifying principle: train once on broad data, then apply everywhere.


Generative AI: The Creative Layer

Generative AI is the capability that has captured public attention. It is not a separate technology but an application of foundation models.

If foundation models provide the underlying structure and knowledge, generative AI is what you do with that knowledge. It is the creative expressionโ€”the text, images, music, and code that emerges from the foundation.

This distinction matters for business strategy. Foundation models are infrastructure. They are the platform. Generative AI is the application layerโ€”the user-facing products and services built on that platform.

Companies are making bets at both levels. Some are building foundation models (OpenAI, Google, Meta, IBM). Others are building applications on top of existing models (most startups). The infrastructure layer requires massive capital. The application layer requires insight into user needs and workflow integration.


The Trade-Offs: Power and Problems

Foundation models are not free lunches. They come with significant costs and risks that any serious implementation must address.

Compute costs are the most visible challenge. Training these models requires tens of thousands of GPUs running for months. Costs run into hundreds of millions of dollars. Even inferenceโ€”running the trained modelโ€”is expensive at scale. A single GPT-4 query costs fractions of a penny, but millions of queries add up.

This creates a barrier to entry. Only well-capitalised organisations can train foundation models from scratch. Everyone else must use APIs or open-source models, creating dependencies on providers.

Trustworthiness is the deeper problem. Foundation models are trained on internet-scale data. That data contains biases, misinformation, hate speech, and toxic content. No team of human annotators can vet terabytes of training data. Often, we do not even know exactly what data was used.

The result: models that can generate plausible-sounding falsehoods, reflect societal biases, or produce harmful content when prompted. Addressing these issuesโ€”through careful training, filtering, and alignment techniquesโ€”is an active research area and business imperative.

IBM’s approach focuses on two dimensions: improving efficiency (reducing costs) and improving trustworthiness (reducing risks). This reflects enterprise prioritiesโ€”businesses need AI that is both economically viable and reliably safe.


Most Organisations Should Pick the Lowest Layer That Works

For organisations deciding how to approach AI, the hierarchy provides a decision framework:

Traditional machine learning remains appropriate for structured data problems with clear patterns. Credit scoring, demand forecasting, quality controlโ€”these often do not need neural networks. Simpler models are faster, cheaper, and more interpretable.

Deep learning is necessary for unstructured data: images, audio, complex text. If you are building computer vision for manufacturing inspection or speech recognition for customer service, you need neural networks.

Foundation models become relevant when you need general capabilities that can be adapted to multiple tasks. Customer service chatbots, content generation, code assistanceโ€”these are natural fits. The economics favor foundation models when the alternative is training multiple task-specific systems.

Fine-tuning vs. prompting is a tactical choice. Fine-tuning adapts the model with task-specific data, updating parameters. It is more expensive but yields better performance for specific applications. Prompting frames tasks as text completion without updating the model. It is cheaper and faster but may be less precise.

The trend is toward larger, more capable foundation models accessed via APIs, with organisations focusing on application-layer value rather than infrastructure. This mirrors cloud computing’s evolutionโ€”few companies run their own data centers anymore.


The hierarchy is easiest to misuse when it is read as a ladder that every organisation should climb. It is closer to a price list. Each step up buys generality, and pays for it in compute, in dependence on a handful of model providers, and in outputs that are harder to explain to a customer or a regulator. A bank’s fraud model or a retailer’s demand forecast rarely gains from a general-purpose LLM, and it loses the auditability that a simpler model offers.

That trade-off is shifting, though, because the layers are no longer only available at the largest scale. TSN has covered a run of smaller, specialised releases: Liquid AI’s LFM3 open-weight models built to run on ordinary devices, Mistral’s Timestral time-series foundation models and, closer to home, Starling’s plan to train a transactional foundation model on a UK cloud. Each takes the foundation-model recipe and narrows it to one kind of data, which brings the cost and the risk down to something a single firm can manage.

For UK organisations in regulated sectors, that matters more than the headline model sizes. A model that can be run, tested and explained in-house is easier to defend than a call to an API whose training data and size are undisclosed, as GPT-4’s are. The sensible default is still the lowest layer that solves the problem.


Concentration at the Top Is the Risk to Watch

The shift from task-specific AI to foundation models represents a fundamental restructuring of how intelligence gets built and deployed. It is as significant as the shift from mainframes to personal computers, or from desktop software to cloud services.

The implications extend beyond technology. Foundation models concentrate capability. Organisations that can afford to train them gain advantages that are difficult to replicate. This creates power dynamics that societies will need to address.

At the same time, the adaptability of foundation models democratises access to AI capabilities. Small teams can build sophisticated applications by leveraging pre-trained models. The barrier to entry for AI-powered products has never been lower.

Understanding this landscapeโ€”where we are in the hierarchy, what each level offers, what trade-offs each entailsโ€”is essential for anyone making decisions about AI. The technology is moving fast. The frameworks for thinking about it need to keep pace.

From ELIZA’s simple patterns to GPT-4’s nuanced understanding, the trajectory is clear: we are building systems that capture more of human knowledge and capability in trainable form. The foundation model paradigm is the current state of that journey. It will not be the final state. But it is the context within which the next advances will emerge.

The question for organisations is not whether to engage with this technology. It is how to engage strategicallyโ€”where in the hierarchy to build, what trade-offs to accept, what value to create. The answers will determine who thrives in the AI-transformed economy that is already taking shape.


Update, 29 October 2026: This guide was revised to add primary sources, to correct an unsourced claim about GPT-4’s parameter count (OpenAI has not disclosed it), to note IBM’s Granite models and to add analysis.


Sources

Follow @tsnmediahub on X for breaking AI news as it happens.

Follow on X

Share this story

Latest stories

More in this category

Latest stories

Explore the TSN Atlas: Every topic we cover, mapped. Click a bubble to dive in.