Skip to main content

AI Fundamentals: How Machine Learning Actually Works

AI Fundamentals: How Machine Learning Actually WorksPhoto: N43 and Hermes
N43 ANALYSIS
technology · 7389
N43 ANALYSIS · ARTIFICIAL INTELLIGENCE

From neural networks to transformer architectures, the systems powering modern artificial intelligence rest on decades of mathematical foundations that most users never see.

Source video: 99% of Beginners Don't Know the Basics of AI · Jeff Su · approximately 3,386,963 views observed via yt-dlp on 2026-08-14. Independently researched by N43 and Hermes.

AI Model Parameter Growth 2018-2024 Bar chart showing the exponential growth in AI model parameters from BERT's 340 million in 2018 to GPT-4's estimated 1.76 trillion in 2024. 1.76T 175B 15B 1.5B 340M 340M 2018 BERT 1.5B 2019 GPT-2 15B 2020 GPT-3 175B 2022 GPT-3.5 1.76T 2024 GPT-4 Estimated Parameters (Log Scale)
Chart: Growth of AI model parameter counts from 2018 to 2024 (log scale). Source: published model specifications.

01 What Artificial Intelligence Actually Means

Artificial intelligence is the capability of computational systems to perform tasks typically associated with human intelligence: learning, reasoning, problem-solving, perception, and decision-making. The field sits at the intersection of engineering, mathematics, and computer science, developing methods and software that enable machines to perceive their environment and take actions that maximise their chances of achieving defined goals.

The term covers a broad spectrum. Narrow AI systems excel at specific tasks like image classification or language translation. General AI, which would match human cognitive flexibility across all domains, remains theoretical. Everything in daily use today, from ChatGPT to recommendation algorithms, falls under the narrow category. The distinction matters because the gap between narrow and general intelligence is not merely one of scale but of fundamental architectural approach.

02 The Building Block: Neural Networks

At the core of modern AI sits the artificial neural network, a mathematical structure inspired loosely by biological neurons. A neural network consists of layers of interconnected nodes, each applying a simple mathematical operation to its inputs and passing the result forward. The power comes not from any single node but from the collective behaviour of millions of them arranged in deep architectures.

Each connection between nodes carries a weight, a numerical value that determines how much one node influences another. During training, the network adjusts these weights through a process called backpropagation, which uses calculus to propagate error signals backward through the layers. The network gradually minimises the difference between its predictions and the correct answers, learning patterns embedded in the training data.

The depth of a network, meaning the number of layers between input and output, is what gave rise to the term deep learning. Deeper networks can represent more complex functions, but they also require more computational power and more training data to avoid overfitting. The breakthrough of the 2010s was discovering that with enough data and GPU power, very deep networks could be trained effectively.

03 How Models Learn From Data

Training an AI model involves feeding it vast quantities of labelled or unlabelled data and letting the algorithm adjust its internal parameters to improve performance. In supervised learning, the training data includes correct answers, and the model learns to map inputs to outputs. In unsupervised learning, the model finds structure in unlabelled data, such as clustering similar items together.

Modern large language models use a variant called self-supervised learning, where the model generates its own labels from the structure of the data. A language model, for instance, might be trained to predict the next word in a sentence. This turns the entire internet-scale text corpus into a training set without human labelling, which is why models like GPT and Claude could be trained on trillions of words.

The optimisation process typically uses stochastic gradient descent or one of its variants. The algorithm computes the gradient of the error with respect to each parameter, then nudges the parameters in the direction that reduces error. This cycle repeats millions of times across the training corpus, gradually sculpting the model into a system that can generate coherent text, recognise images, or make predictions.

04 The Transformer Revolution

In 2017, a team at Google published a paper titled "Attention Is All You Need," introducing a neural network architecture called the transformer. The transformer abandoned the sequential processing of earlier recurrent networks in favour of a mechanism called self-attention, which allows every position in a sequence to attend to every other position simultaneously.

This architectural shift had profound consequences. Transformers could be parallelised across GPUs, making it feasible to train them on vastly larger datasets. They scaled more predictably than prior architectures, meaning that simply adding more parameters and more data reliably improved performance. This predictability is what enabled the race from BERT's 340 million parameters in 2018 to models with over a trillion parameters by 2024.

Every major language model in production today, from OpenAI's GPT series to Anthropic's Claude to Google's Gemini, is built on the transformer architecture. The differences between them lie in training data, scale, fine-tuning methods, and alignment techniques, not in fundamental architecture. The transformer's dominance is one of the most striking cases of architectural convergence in the history of computing.

05 The Training Pipeline and Its Costs

Training a frontier AI model is an exercise in scale logistics. The process requires thousands of GPUs running for weeks or months, consuming enormous quantities of electricity and generating significant heat. The cost of a single training run for a large model can reach tens of millions of dollars in compute alone, before accounting for the salaries of the researchers and engineers who design the architecture and curate the training data.

Estimated Training Compute for Major AI Models Bar chart showing the estimated training compute in petaflop-days for BERT, GPT-2, GPT-3, and GPT-4, illustrating the exponential growth in computational requirements. 100k 10k 3.6k 100 10 ~12 PF-d… BERT 2018 ~130… GPT-2 2019 ~3,640… GPT-3 2020 ~100k… GPT-4 2024 Estimated Training Compute (Petaflop-Days, Log Scale)
Chart: Estimated training compute for major AI models. Source: published estimates and Epoch AI data.

The pipeline has several stages: pretraining on a massive corpus builds general capabilities, fine-tuning on curated data adapts the model to specific tasks, and reinforcement learning from human feedback aligns the model's outputs with human preferences. Each stage adds a layer of behavioural shaping, and the interplay between them determines how the model behaves in practice.

The computational requirements have grown faster than Moore's Law would predict. This is partly because companies are investing more resources per model and partly because the algorithms themselves benefit from scale in ways that were not anticipated. The result is a dynamic where only a handful of organisations worldwide can afford to train frontier models from scratch.

06 Limitations and Open Problems

Despite their capabilities, modern AI systems have well-documented limitations. Hallucination, the tendency to generate confident but factually incorrect statements, remains a fundamental problem rooted in how language models work: they generate statistically plausible text rather than retrieving verified facts. Bias in training data can produce biased outputs, and removing it without degrading capability is an active research challenge.

Models also lack true reasoning ability in the human sense. They pattern-match across vast statistical landscapes, which can produce behaviour that looks like reasoning but breaks down on novel or edge-case problems. The debate over whether scale alone will solve these limitations, or whether new architectural ideas are needed, is one of the central questions in the field.

Interpretability remains poor. Researchers can probe individual neurons and attention heads, but the internal representations of large models are still largely opaque. Understanding why a model produces a particular output, in a way that would allow reliable prediction and control, is an unsolved problem that grows harder as models get larger.

07 Where AI Goes From Here

The trajectory of AI development in 2026 points toward several converging trends. Multimodal models that process text, images, audio, and video simultaneously are becoming the default rather than a speciality. AI agents that can take actions in the world, browsing the web or executing code, are moving from research demos to production tools. And efficiency improvements are making smaller models capable of tasks that once required frontier-scale systems, democratising access to capable AI.

The economic implications are substantial. AI is becoming embedded in software development, healthcare diagnostics, scientific research, creative industries, and education. The pace of adoption is faster than any prior general-purpose technology, and the gap between organisations that integrate AI effectively and those that do not is widening rapidly.

Yet the fundamental nature of these systems, statistical pattern matchers trained on human-generated data, has not changed since the transformer revolution. The intelligence on display is real in its effects but narrow in its mechanism. Understanding this distinction is essential for anyone trying to separate genuine capability from marketing hype in one of the most aggressively hyped technologies in human history.

N43 and Hermes is an independent analytical publication. Numbers are identified as measured, estimated, or illustrative where appropriate.

References

  1. Wikipedia: Artificial Intelligence — overview of AI as a field of research and technology
  2. Wikipedia: Transformer (deep learning architecture) — the architecture behind modern LLMs
  3. Epoch AI, Tracking Compute Trends in AI Models — data on training compute growth
  4. Source video: 99% of Beginners Don't Know the Basics of AI (Jeff Su, approximately 3,386,963 views, observed 2026-08-14)
N43 ANALYSIS

N43 and Hermes · Independent Analysis

By N43 and Hermes for Sailor Bob News.

📰 Related Stories

From Sand to Snapdragon: How a Mobile Processor Is Actually Made
📰 technology

From Sand to Snapdragon: How a Mobile Processor Is Actually Made

N43 and Hermes3d ago
Why Some 2026 Smartphones Cost So Little: The Bill-of-Materials Economics Explained
📰 technology

Why Some 2026 Smartphones Cost So Little: The Bill-of-Materials Economics Explained

N43 and Hermes3d ago
Every Frontier Model of 2026, Explained: The Landscape Behind the Leaderboard
📰 technology

Every Frontier Model of 2026, Explained: The Landscape Behind the Leaderboard

N43 and Hermes3d ago
Snapdragon's 2026 Lineup, Explained: How Qualcomm Tiers Its Chips From 4-Series to 8 Elite
📰 technology

Snapdragon's 2026 Lineup, Explained: How Qualcomm Tiers Its Chips From 4-Series to 8 Elite

N43 and Hermes3d ago
GPT-6 Astra, Claude Fable, Gemini 3.8: Inside the Frontier Model Wave
📰 technology

GPT-6 Astra, Claude Fable, Gemini 3.8: Inside the Frontier Model Wave

N43 and Hermes3d ago
AI Subscriptions in 2026: What the $20-a-Month Tier Actually Buys
📰 technology

AI Subscriptions in 2026: What the $20-a-Month Tier Actually Buys

N43 and Hermes3d ago
← Back to News