A History of Deep Learning: From Artificial Neurons to Foundation Models, Reasoning Systems and Embodied AI
Scope and how to read this history
Deep learning did not begin with ChatGPT, the Transformer or AlexNet. It emerged from decades of work in neuroscience, mathematics, computer science, statistics and engineering. Its development has never been a straight line: promising ideas often waited for better algorithms, more data, affordable computation and convincing applications.
This guide expands the historical connections and corrects claims that are too absolute. The chronology is followed by technical explanations, practical learning exercises and a glossary. Dates usually identify an original paper or public research milestone, not necessarily the first private experiment or later product launch.
No single article can include every paper, inventor or commercial system. “Comprehensive” here means coverage of the major historical strands, not a claim of literally exhaustive priority or a continuously updated leaderboard. Recent systems are dated examples of research directions, not claims that a particular model is currently the best.
1. What deep learning actually means
Artificial intelligence is the broad goal of constructing systems that perform tasks associated with intelligence. Machine learning is one way of doing that: systems learn patterns from examples rather than relying entirely on hand-written rules. Deep learning is a family of machine-learning methods using multiple stages of learned representation.
An image model might transform pixels into edges, textures, parts and task-relevant representations. A language model learns representations of tokens and their relationships. These examples are useful intuitions, not a guarantee that every layer corresponds to a clean, human-readable concept. Deep networks include feedforward, convolutional, recurrent, attention-based, graph-based and hybrid architectures. (LeCun, Bengio and Hinton, 2015.)
Four distinctions prevent much confusion:
- Architecture is the structure of the model, such as a CNN or Transformer.
- Learning objective is what training rewards, such as predicting labels, reconstructing data or predicting the next token.
- Optimisation is how parameters are adjusted to improve that objective.
- System design includes retrieval, tools, memory, permissions and deployment around the model.
An AI agent is therefore not necessarily a new neural architecture. It can be a language model embedded in a software control loop.
2. Foundations: the 1940s to the early 1960s
1943: McCulloch and Pitts
Warren McCulloch and Walter Pitts described a mathematical abstraction of a neuron using threshold logic. Networks of these idealised units could express logical computations. This was foundational, but it was not a modern trainable deep network and not a faithful simulation of the biological brain.
1949: Hebbian learning
Donald Hebb proposed that repeated coordinated activity could strengthen connections between neurons. The familiar phrase “neurons that fire together wire together” is a later shorthand, not an exact quotation from his book (The Organization of Behavior). Hebbian ideas influenced associative learning, self-organisation and later neural-network research.
1957–1958: Rosenblatt and the perceptron
Frank Rosenblatt developed the perceptron, an influential learning model with adjustable weights. Its basic classifier computes a weighted sum of inputs and applies a threshold. Training changes the weights according to classification errors. A single linear decision boundary can solve linearly separable classification problems, but not every possible relationship. (Rosenblatt, 1958.)
Around 1960: ADALINE and adaptive filtering
Bernard Widrow and Marcian Hoff developed ADALINE and the least-mean-squares learning rule. This connected adaptive neural systems with error minimisation and practical signal processing. The perceptron rule and the Widrow–Hoff rule are related historically but are not the same algorithm.
3. Depth, limitations and early setbacks: the 1960s and 1970s
Ivakhnenko and Lapa: learning multilayer systems
Alexey Ivakhnenko and Valentin Lapa developed early multilayer polynomial modelling methods in the 1960s. The associated Group Method of Data Handling built models incrementally, selecting useful combinations of inputs and intermediate features. These are important precursors to deep learning, although describing them as identical to today's end-to-end backpropagation-trained MLPs obscures substantial differences. (Ivakhnenko, Polynomial Theory of Complex Systems, 1971.)
1969: what Perceptrons did and did not prove
Marvin Minsky and Seymour Papert analysed important limitations of perceptron systems. The XOR example illustrates a basic limitation of a single linear threshold unit: its positive and negative examples cannot be separated by one straight boundary.
The correct lesson was not “neural networks cannot work”. Adding hidden nonlinear transformations changes what a network can represent. However, representation alone does not provide an efficient learning method. (Minsky and Papert, Perceptrons.)
AI winters were broader than one book
Periods of reduced enthusiasm and funding reflected unmet promises, expensive computing, limited data and disappointing practical results across multiple AI approaches. Neural-network scepticism was part of this story, but neither the first nor second AI winter can responsibly be attributed to one book or one algorithm. Research also continued during the downturns; the field did not disappear and later restart from nothing.
Reverse-mode differentiation before the 1986 breakthrough
The calculus chain rule long predates neural networks. Reverse-mode automatic differentiation emerged as a general computational method, with Seppo Linnainmaa's 1970 work a landmark. Paul Werbos's 1974 dissertation connected derivative-based learning with multilayer systems. These roots matter when discussing the later popularisation of backpropagation. (Linnainmaa, 1976 journal publication; Werbos's retrospective on backpropagation.)
4. The revival of neural networks: 1980–1989
1980: Fukushima's neocognitron
Kunihiko Fukushima introduced the neocognitron, a hierarchical visual recognition architecture inspired by visual neuroscience. Alternating feature-detection and pooling-like stages provided tolerance to shifts in image position. It was a major precursor to convolutional neural networks, although its original learning procedure was not the modern supervised backpropagation recipe. The widely cited journal paper appeared in 1980.
1982–1985: associative memory and energy-based learning
John Hopfield showed how recurrent networks could operate as associative memories using an energy-function perspective. Boltzmann machines then introduced stochastic energy-based learning, with an influential learning paper by David Ackley, Geoffrey Hinton and Terrence Sejnowski. These strands broadened neural computation beyond straightforward input-to-label classification. (Hopfield, 1982; Ackley, Hinton and Sejnowski, 1985.)
1986: backpropagation becomes widely influential
David Rumelhart, Geoffrey Hinton and Ronald Williams demonstrated how multilayer networks could learn useful internal representations by propagating error derivatives backwards. Their paper was a decisive communication and experimental milestone, not the isolated invention of the chain rule or the only origin of backpropagation.
The training cycle is:
- Run a forward pass to obtain a prediction.
- Calculate a loss, measuring disagreement with the target or objective.
- Use backpropagation to calculate derivatives of that loss with respect to parameters.
- Use an optimiser, such as stochastic gradient descent, to update the parameters.
Backpropagation computes gradients. The optimiser applies updates. They are distinct operations.
1989: convolutional networks become practical
Yann LeCun and collaborators trained a convolutional network for handwritten ZIP-code recognition. Local connectivity and shared weights reduced the number of parameters compared with a fully connected treatment of an image. This was an important bridge between earlier hierarchical vision models and deployable pattern recognition. (LeCun and colleagues, 1989.)
5. Sequence learning and persistent obstacles: the 1990s
Recurrent neural networks introduced a state that evolves through a sequence, making them useful for speech, language and time-series problems. Backpropagation through time trains a recurrent computation by unfolding it across time steps. Elman networks helped demonstrate how recurrent systems could learn sequential structure. (Elman, 1990.)
Vanishing and exploding gradients
Repeated multiplication of derivatives can make gradients shrink towards zero or grow excessively. This makes long-range dependencies hard to learn. The difficulty is not simply that computers were slow: optimisation and architecture also mattered. (Bengio, Simard and Frasconi, 1994.)
1997: Long Short-Term Memory
Sepp Hochreiter and Jürgen Schmidhuber introduced LSTM, using a specially structured memory pathway to improve long-range credit assignment. Later variants added and refined gates, including forget gates. LSTM substantially mitigated an important problem; it did not universally eliminate every gradient or memory limitation.
1998: LeNet-5 and document recognition
LeCun, Léon Bottou, Yoshua Bengio and Patrick Haffner presented gradient-based learning for document recognition, including LeNet-5. CNN-based systems established that neural methods could deliver practical value well before the 2012 deep-learning boom.
Why other methods were attractive
Support vector machines, probabilistic models, boosting, decision trees and later random forests offered strong results on many problems. Smaller datasets, easier optimisation and more manageable computation often favoured these alternatives. Their success was not merely a temporary mistake: many remain excellent choices, particularly for structured data and limited-data tasks.
6. The conditions for a renaissance: 2000–2011
Neural language models and distributed representations
Bengio and colleagues' neural probabilistic language model showed how learning representations of words could help generalise beyond exact observed sequences. This helped establish the intellectual lineage leading to word embeddings and modern language models. (Bengio and colleagues, 2003.)
2006: deep belief networks and pretraining
Hinton, Simon Osindero and Yee-Whye Teh introduced an influential fast learning approach for deep belief networks. Layerwise unsupervised pretraining offered a way to initialise deep models before supervised refinement. Autoencoder-based pretraining and related work also helped renew interest in deep representations. These techniques were historically important even though most modern large models do not use the same DBN training recipe.
2006: learning from unsegmented sequences
Alex Graves, Santiago Fernández, Faustino Gomez and Jürgen Schmidhuber introduced Connectionist Temporal Classification (CTC). It allowed sequence models to learn from an input sequence and target label sequence without requiring a manually supplied alignment for every input time step. By summing over valid alignments, CTC helped bridge neural sequence learning and practical speech and handwriting recognition. CTC is a training objective and decoding framework, not a replacement name for LSTM.
CUDA and the GPU transition
Graphics processors were designed to perform large amounts of parallel numerical work. Much neural-network computation can also be expressed as matrix operations and related tensor calculations. NVIDIA's CUDA platform, introduced in the 2006–2007 period, made general-purpose GPU programming substantially more accessible.
CUDA was an enabling computing platform, not the invention of deep learning. Researchers used GPUs for neural computation before AlexNet; Raina, Anand Madhavan and Andrew Ng's 2009 paper is one influential example of GPU-based large-scale unsupervised learning. (NVIDIA CUDA introduction; Raina and colleagues, 2009.)
Data, benchmarks and software
ImageNet, introduced in 2009, supplied a large labelled image resource. Its later recognition challenge created a common way to compare systems. Large datasets did not automatically solve learning, but they made it easier to test whether a higher-capacity approach truly generalised. (Deng and colleagues, ImageNet.)
Better software, distributed training, rectified activations and improvements in optimisation all contributed. Rectified linear units existed before AlexNet; work such as Nair and Hinton's 2010 study helped establish their usefulness. (Nair and Hinton, 2010.)
Speech recognition also became an important proving ground. Deep acoustic models improved recognition systems and helped establish an industrial case for neural methods before the public attention surrounding image classification. (Hinton and colleagues, 2012 retrospective.)
7. 2012: why AlexNet changed the field
Alex Krizhevsky, Ilya Sutskever and Geoffrey Hinton trained a large CNN on ImageNet. The network combined several ingredients: convolutional layers, ReLU activations, GPU implementation, data augmentation and dropout to reduce overfitting.

The reported architecture had approximately 60 million parameters, five convolutional layers and three fully connected layers. Training a network took roughly five to six days on two NVIDIA GTX 580 GPUs. The competition-winning system achieved a 15.3% top-5 error, against 26.2% for the runner-up. That competition figure involved an ensemble; it should not be presented as a single model's top-1 accuracy.
AlexNet did not invent CNNs, GPUs, ReLU or the idea of learning visual features. Its importance was the scale and clarity of the demonstration. It showed that several previously developed ideas, assembled effectively, could outperform the dominant image-recognition pipeline by a striking margin.
Dropout deserves separate attribution as a regularisation technique: units are randomly omitted during training, discouraging brittle co-adaptations. Its effect depends on the model and training setup, rather than being a universal requirement for every deep architecture. (Srivastava and colleagues, 2014.)
8. Expansion across vision, language and generation: 2013–2016
Computer vision diversifies
VGG explored the value of deeper networks built from small convolutional filters. GoogLeNet/Inception used multi-branch computation to improve efficiency. ResNet introduced residual learning, making very deep networks easier to optimise. U-Net became influential in biomedical segmentation, while R-CNN-family detectors and YOLO advanced object detection. Image classification, detection and segmentation are related but different tasks.
Embeddings, sequence-to-sequence learning and attention
Word2vec made efficient learned word representations influential in 2013. Sequence-to-sequence models used neural encoders and decoders for tasks such as translation. Bahdanau, Kyunghyun Cho and Bengio introduced a particularly influential attention-based translation model in 2014, allowing the decoder to select relevant source information rather than depending on one fixed-size summary. Attention therefore predates the Transformer.
Gated recurrent units (GRUs), introduced in Cho and colleagues' 2014 encoder-decoder work, provided another important gated recurrent design. Reset and update gates regulate how previous state and new input contribute to the next state. GRUs generally use a simpler state structure than standard LSTMs, but neither architecture is universally superior across tasks and training conditions.
Generative modelling
Variational autoencoders, introduced in influential 2013–2014 work by Diederik Kingma and Max Welling, combined latent-variable modelling with efficient gradient-based training. Generative adversarial networks, introduced by Ian Goodfellow and colleagues in 2014, trained a generator against a discriminator. Both became major strands of generative modelling; neither should be omitted from a history focused on modern content generation.
Optimisation becomes more reliable
Adam combined adaptive per-parameter learning rates with momentum-like estimates. Batch normalisation transformed intermediate activations during training and proved useful in many architectures. Improved initialisation, residual pathways and normalisation together reduced practical training barriers.
Highway Networks also explored gated pathways for training very deep networks, an important parallel precursor to the widespread use of skip connections. (Highway Networks, 2015.)
Deep reinforcement learning
Deep Q-networks demonstrated learning game-playing policies from pixels using reward signals, experience replay and stabilising mechanisms. AlphaGo combined neural networks, reinforcement learning and search to achieve landmark Go performance. These systems illustrate that prediction, action and search can work together; they were not simply text generators. (DQN, 2015; AlphaGo, 2016.)
9. 2017: the Transformer
Ashish Vaswani and seven co-authors introduced the Transformer in “Attention Is All You Need”. Its original encoder-decoder design used attention rather than recurrence for sequence processing, improving parallelisation during training. The paper was initially about translation, not a universal chatbot.
The attention calculation
Given a matrix of token representations X, learned projections create queries, keys and values:
Q = XWQ; K = XWK; V = XWVAttention(Q, K, V) = softmax(QKᵀ / √dₖ)VQueries and keys determine compatibility scores. Scaling helps control their numerical magnitude. Softmax produces normalised weights over the allowed positions. Multiplication by V combines the value vectors. These weights are not guaranteed explanations of a model's reasoning or literal probabilities that a statement is true.
Multi-head attention
Multiple learned projections create several attention computations. Their outputs are concatenated and mixed by another learned projection. With a 512-dimensional representation and eight equal-sized heads, each head may use 64 dimensions, but the projections can draw on the full input representation. This is not simply cutting an embedding into eight fixed semantic slices. A head may learn a useful pattern; it is not assigned a guaranteed “grammar”, “tone” or “pronoun” job.
Position and causality
Attention alone does not supply ordinary sequence order. Positional encodings or other positional mechanisms provide that information. A causal language model masks future positions during training. Training can process many positions in parallel, but ordinary autoregressive generation still produces new tokens sequentially. “Transformers process everything simultaneously” is therefore an incomplete description.
Complexity
Standard dense attention compares pairs of positions, giving quadratic attention work in sequence length. That is an important bottleneck, but not every part of a Transformer is quadratic, and newer kernels and architectures change memory behaviour. Optimisation should be discussed in terms of the actual algorithm, sequence length, hardware and workload.
10. Pretraining and foundation models: 2018–2022
BERT popularised bidirectional masked-language pretraining for language understanding. GPT-style systems developed autoregressive pretraining and transfer, with GPT-3 demonstrating stronger in-context few-shot performance at substantially increased scale. In-context learning uses examples in the prompt; it is not the same as updating the model's weights.
Scaling research studied how performance changes with parameter count, data and computation. Chinchilla later emphasised balancing model size and training data under a compute budget. Bigger is not automatically better if the data, compute allocation or evaluation is poor.
The term foundation model describes a broadly pretrained model that can be adapted to many downstream tasks. It does not mean the model knows everything, is universally reliable or uses one particular architecture.
InstructGPT demonstrated a pipeline of supervised fine-tuning and reinforcement learning from human feedback. ChatGPT's public release in November 2022 brought conversational interaction to a much wider audience. The research development and product launch are distinct milestones.
Self-supervised learning also flourished beyond language. Contrastive methods such as SimCLR learned useful visual representations by relating different views of data, reducing dependence on human labels for representation learning. The relationship between the training objective and data transformations is central to what gets learned.

11. Vision after AlexNet: efficiency, Transformers and segmentation
- MobileNet, 2017: depthwise separable convolutions supported efficient mobile vision.
- EfficientNet, 2019: compound scaling balanced network depth, width and image resolution.
- Vision Transformer, 2020 preprint: images became sequences of patches, with strong results after large-scale pretraining.
- CLIP, 2021: contrastive training linked images and language, enabling transfer using text descriptions.
- ConvNeXt, 2022: modernising a convolutional network demonstrated that CNNs remained competitive. Transformers did not make convolution obsolete.
- Segment Anything, 2023, and SAM 2, 2024: promptable segmentation advanced general-purpose visual tooling; SAM 2 extended the direction to images and video. These are segmentation systems, not complete reasoning assistants.
CNNs bring useful local structure and weight sharing. ViTs offer flexible interactions among image tokens. Neither has a universal monopoly on efficiency or quality: data, pretraining, architecture and deployment constraints determine the result.
12. Diffusion, flow matching and multimodal AI
Diffusion-based generative modelling has roots before its recent popularity. The 2020 denoising diffusion work helped demonstrate high-quality image generation. Latent diffusion reduced costs by operating in a learned compressed representation. Flow-matching research developed related ways of learning transformations between simple distributions and data. These are connected research families, not interchangeable labels for one algorithm. (Diffusion, 2015; DDPM, 2020; Latent diffusion; Flow matching.)
Multimodal systems combine text, images, audio, video or other signals. Some attach a vision encoder to an existing language model; others are trained more jointly. Images may be represented as patches, audio as learned features or codec tokens, and video as spatial-temporal representations. Not every system tokenises every modality into discrete symbols or shares exactly the same processing pathway.
A model may understand several input types without generating all of them. An “any-to-any” interface is a system capability, not proof of one universal internal design. Multimodality expands the information available, but it also introduces synchronisation, data-quality, evaluation and safety challenges.
13. Beyond dense attention: recurrence, state spaces and hybrids
State-space sequence models connect ideas from dynamical systems and control theory with learned sequence processing. S4 helped establish structured state-space approaches for long sequences. Mamba introduced input-dependent selection and a hardware-aware implementation. RWKV explored a different recurrent language-modelling route with training parallelism and recurrent inference. (S4; Mamba; RWKV.)
For intuition, a state-space recurrence updates a hidden state using the current input and previous state. Mamba makes selected quantities, including its step-size and input/output-related parameters, depend on the input. This lets the model learn what to retain or suppress. A large step-size is not a universally correct “important fact” detector; the complete learned dynamics determine its effect.
A fixed-size recurrent state can make decoding-state memory independent of the number of previous tokens. It does not make the weights, training activations, entire runtime or total processing time constant. Compressing history also creates trade-offs: a finite state cannot preserve arbitrary histories losslessly.
Hybrid systems combine recurrent/state-space layers with attention. Jamba, Zamba and Nemotron-H illustrate different combinations. Ratios and layer designs vary; there is no universal rule that a hybrid must use one attention layer after every seven Mamba layers. Attention can help retrieval, but neither pure Transformers nor hybrids guarantee perfect recall.
These developments are alternatives and complements to Transformers, not proof that one architecture has permanently replaced all others.
14. The memory problem: KV caches and efficient serving
During autoregressive decoding, a Transformer can cache past key and value vectors so they do not need to be recomputed. This accelerates generation but consumes memory that generally grows with context and batch size.
Different techniques attack different costs:
- Multi-query attention and grouped-query attention: share key/value heads among query heads, reducing cache width. (MQA; GQA.)
- Multi-head latent attention: uses compressed latent representations of keys and values; DeepSeek-V2 is an important example.
- Sliding-window or sparse attention: restricts which positions attend to which others. Some models combine local and global layers. A local window can lose direct access to older tokens.
- KV-cache quantisation and eviction: reduce numerical precision or remove selected stored entries, with accuracy trade-offs.
- FlashAttention: changes how exact attention is computed and moved through memory; it does not make dense attention mathematically linear-time.
- PagedAttention: improves allocation and sharing of cache memory in serving systems. It addresses fragmentation rather than simply compressing each number.
Claims such as “90% less memory with no quality loss” need the exact model, baseline and measurement conditions. They should not be generalised to every deployment.
15. Mixture-of-Experts: more capacity with selective computation
Mixture-of-Experts has roots in work on adaptive mixtures in the early 1990s. Modern sparsely gated MoE layers use a learned router to select a subset of expert networks for each input or token. This can increase total parameter capacity without activating every parameter on every token. (Jacobs and colleagues, 1991; Shazeer and colleagues, 2017.)
The experts are learned subnetworks, not necessarily explicit “physics”, “law” or “coding” departments. Routing can create imbalanced workloads, communication overhead and training instability. Total model memory and network traffic remain important even when active parameter count is small. MoE does not mean unlimited knowledge at no additional cost.
16. Post-training, reasoning and test-time computation
SFT, RLHF, DPO and Constitutional AI
Learning from human feedback predates ChatGPT and modern language-model alignment. In 2017, Paul Christiano, Jan Leike and collaborators demonstrated deep reinforcement learning from human preferences over short behaviour segments, including game-playing and simulated locomotion tasks. This was an influential precursor to later reward-modelling pipelines for language models, not the first-ever use of feedback from people in machine learning.
Supervised fine-tuning teaches from demonstrations. RLHF uses human feedback, often preference comparisons, to shape behaviour through a reward-based process. DPO offers a way to optimise from chosen/rejected response pairs without the conventional separate reward-model-and-online-RL pipeline. Constitutional AI uses written principles and AI feedback as part of training. None is a guarantee of truthfulness, harmlessness or universal alignment. (InstructGPT; DPO; Constitutional AI.)
Deliberative alignment is a later approach that trains reasoning models to apply safety specifications when answering. It is one proposed training strategy, not evidence that all models internally follow the same method.
Test-time computation
A system can spend more computation after receiving a problem: generating longer candidate solutions, sampling alternatives, using search, calling tools or checking intermediate results. More computation can improve some outcomes, but can also amplify errors or waste resources. Visible explanations are not necessarily faithful records of every internal computation.
GRPO and DeepSeek-R1
Group Relative Policy Optimisation was introduced in DeepSeekMath in 2024. It compares rewards across a group of sampled outputs and avoids a separate learned value model in that formulation. This can reduce memory relative to some PPO setups; it does not imply a universal 50% reduction in total training cost.
DeepSeek-R1's 2025 report explored reinforcement learning for reasoning, including R1-Zero and a more elaborate R1 pipeline. Distilled models transferred useful behaviour into smaller models. The report's approximately 800,000 curated examples comprised both reasoning and non-reasoning data, not 800,000 perfectly verified reasoning traces.
Distillation and process rewards
Distillation trains a student using information from a teacher, such as probabilities, answers or solution traces. It predates reasoning models. A smaller model can gain useful capabilities, but results depend on the student, task and data; a universal claim that it can never exceed its teacher is too strong. (Hinton, Vinyals and Dean, 2015.)
Process reward models score intermediate steps; outcome supervision scores final results. Step-level feedback can improve search and learning but is expensive and can itself be mistaken or gamed. A verifier that checks a final answer does not prove every intermediate explanation was sound. (Let's Verify Step by Step.)
17. Synthetic data, retrieval and agents
Synthetic data can supply instruction examples, code, mathematical tasks, simulated experiences and teacher-generated solutions. Quality comes from the design of the process, not merely from being machine-generated. Execution tests verify specified behaviour on tested cases; they do not guarantee that a program is correct in every situation.
Filtering, diversity checks, provenance, contamination checks and independent evaluation are essential. Repeatedly training on poorly controlled generated data can degrade distributions, but “all synthetic data inevitably causes collapse” is also an overstatement. (Self-Instruct; Model-collapse study.)
Retrieval-augmented generation supplies external material at answer time. It can improve grounding and make knowledge easier to update without retraining. Retrieval can still miss relevant evidence, retrieve misleading content or be ignored by the generator. (RAG paper.)
Agentic systems place a model in an observe–plan–act–check loop. Tools may include search, code execution, databases and application APIs. Memory may be held in context, structured notes or retrieval stores. Multi-agent designs divide work, but additional agents do not automatically improve reliability. (ReAct.)
The engineering challenge is broader than language modelling: least-privilege access, clear permissions, sandboxing, validation, audit logs, budgets, recoverability and human oversight determine whether an agent can act safely. A protocol connecting tools, such as MCP, is infrastructure, not a neural architecture or a guarantee of trustworthy behaviour.
18. Understanding models: mechanistic interpretability
Mechanistic interpretability studies internal computations rather than evaluating outputs alone. Researchers investigate features, circuits, attention heads and causal effects of interventions.
An individual neuron can respond to multiple unrelated patterns. Sparse autoencoders attempt to decompose activations into a larger set of sparsely used features. This has produced useful interpretable features, but not a perfect dictionary in which every feature is one clean concept. (Towards Monosemanticity; Scaling Monosemanticity.)
Circuit tracing and feature interventions can reveal mechanisms and sometimes steer behaviour. They do not yet offer a complete audit of a frontier model or a guaranteed “honesty switch”. A displayed reasoning trace and a causal explanation of the network are different kinds of evidence.
19. Robotics and world models
Vision-Language-Action systems
Vision-Language-Action models connect perception and language with robot action. RT-2 demonstrated a route from vision-language pretraining to action representations; diffusion policies and flow-based policies offer ways of generating continuous action sequences. Different systems use different control frequencies, action spaces and safety layers. (RT-2; Diffusion Policy; π0.)
Teleoperation and simulation help collect training experiences, but transferring to real environments remains difficult. Physical interaction brings constraints that text prediction does not: latency, contact dynamics, sensor errors, hardware damage and human safety. A successful demonstration is not evidence of general-purpose autonomy in arbitrary homes or factories.
Figure’s Helix, introduced in 2025, is another example of a VLA system, combining higher-level visual-language processing with faster motor control. Such multi-rate designs separate slower planning from rapid action, but rates and capabilities are specific to the system.
World models
World models learn representations of how an environment changes, potentially conditioned on actions. They can support planning or policy training. Modern examples connect earlier model-based reinforcement learning with latent prediction and generative environments. (World Models, 2018; DreamerV3.)
JEPA-style work predicts representations rather than requiring reconstruction of every pixel. Genie explores learned interactive environments. These systems may capture useful regularities, but realistic-looking video is not proof of correct physics, causal understanding or safe control. (I-JEPA; Genie.)
World Labs’ Marble adds a spatial-generation example, producing explorable 3D environments from multimodal inputs. Generating a spatial scene and learning a physically valid action-conditioned simulator are related ambitions, not identical achievements.
20. Hardware and the infrastructure behind the models
The modern story is inseparable from GPUs, TPUs, mobile neural processing units (NPUs) and other accelerators; high-bandwidth memory; high-speed interconnects; mixed-precision arithmetic; distributed software; and data-centre power and cooling.
NVIDIA's CUDA ecosystem was pivotal in making GPU computation accessible and productive. That contribution should be recognised without claiming all AI must use NVIDIA. Google's TPU is an important alternative example of specialised neural-network hardware. (CUDA documentation; TPU architecture paper.)
Training and inference have different bottlenecks. Memory bandwidth is often crucial for small-batch decoding, while compute utilisation and communication can dominate other workloads. Data, tensor, pipeline and expert parallelism distribute different parts of the work. A rack-scale interconnect does not make communication instantaneous or erase the distinction between separate devices.
Hardware generations such as Blackwell, Rubin, Trillium and Ironwood belong in this infrastructure story, but their numerical specifications, availability and supported precision formats must be checked for each product. No single bandwidth, rack power or cluster-size figure describes the entire industry. Energy comparisons must consider the full system and workload, not only a chip's advertised peak arithmetic throughput.
Software frameworks helped turn research into a widely usable engineering discipline. TensorFlow’s public release in 2015 and PyTorch’s later imperative programming approach made automatic differentiation, accelerator use and model experimentation more accessible. Frameworks did not invent the underlying mathematics; they reduced the cost of applying it. (TensorFlow paper; PyTorch paper.)
21. Compression and edge AI
Pruning, quantisation, distillation and efficient architecture design allow more models to run on constrained hardware. Edge execution can reduce latency and keep some data local, but privacy also depends on telemetry, storage, permissions and the surrounding application.
Four-bit storage uses one quarter of the raw weight bits of 16-bit storage. Actual memory savings are smaller once scales, unquantised components, caches and runtime overhead are counted. Lower precision does not guarantee proportional speedups: hardware kernels and memory behaviour matter.
GPTQ and AWQ are post-training quantisation approaches. AWQ uses activation information to protect salient weights through scaling; it should not be described as simply keeping 1% of weights in full precision. GGUF is a model file format, not a quantisation algorithm.
BitNet b1.58 explores ternary weights, conventionally represented by the three values −1, 0 and +1. The name reflects log₂(3), approximately 1.58 bits of information per ternary value, not a promise that every stored number or operation in the system uses precisely 1.58 physical bits.
Speculative decoding uses a smaller draft process and a target model's verification procedure to accelerate generation. Properly designed algorithms can preserve the target distribution, but the actual gain depends on acceptance rates, model sizes and hardware. (Leviathan and colleagues.)
22. Deep learning for science
Graph neural networks generalise neural processing to nodes and edges, supporting molecules, materials and other relational structures. Their history predates the recent generative-AI wave. (Scarselli and colleagues, 2009; Graph convolutional networks.)
AlphaFold2 substantially advanced protein-structure prediction. AlphaFold3 extended the scope to interactions among proteins, nucleic acids, small molecules and other components using a diffusion-based approach. Structural predictions support research; they do not replace experiments or establish that a proposed drug is effective or safe.
GraphCast used learned graph-based modelling for weather forecasting. GenCast developed a probabilistic ensemble approach. Lead times, runtime and comparison claims differ by system and experiment, so they should not be merged into one universal performance number.
GNoME used graph networks and active learning for materials discovery. Its millions of predicted candidate structures must not be confused with millions of experimentally synthesised materials or validated manufacturing recipes.
Physics-informed neural networks and learned scientific surrogates add another strand: combining physical constraints with learning or approximating expensive simulations. Their reliability still depends on assumptions, boundary conditions, training coverage and validation.
23. Federated and continual learning
Federated learning trains across distributed data holders while keeping raw data local in the basic design. FedAvg aggregates model updates from participating clients. Updates can still leak information, so privacy is not automatic. Secure aggregation and differential privacy are additional mechanisms with their own assumptions and trade-offs. (FedAvg; Deep Leakage from Gradients.)
Continual learning attempts to acquire new capabilities without losing previous ones. Replay, regularisation and architectural separation are major approaches. Elastic Weight Consolidation penalises changes to parameters estimated to matter for earlier tasks. LoRA trains low-rank updates while freezing base weights, reducing adaptation costs. Neither guarantees that the resulting model's behaviour will retain every old capability. (EWC; LoRA.)
External memory and retrieval can also update an assistant's accessible information without continually retraining its neural weights. “Learning a new fact” may therefore mean different things at the model and system levels.
24. Neuromorphic and neuro-symbolic directions
Neuromorphic computing and spiking networks
Spiking neural networks use time-dependent events rather than only conventional dense activation values. Neuromorphic hardware explores event-driven processing and bringing memory closer to computation. Intel's Loihi research is an important example. Event cameras can provide sparse streams of brightness changes rather than conventional full frames.
These approaches may offer energy or latency advantages for suitable workloads, but “zero energy while silent” is not a complete accounting of real hardware. IBM NorthPole is another brain-inspired design, but it should not be treated as the same kind of spiking processor as Loihi.
Neuro-symbolic AI and formal verification
Neuro-symbolic systems combine learned models with explicit reasoning, constraints or symbolic tools. Neural components can propose constructions or formal statements; proof assistants such as Lean and SMT solvers such as Z3 can check specified mathematical properties. The checking guarantees depend on the formalisation and tool configuration.
AlphaGeometry and the later AlphaProof/AlphaGeometry 2 work illustrate this direction. The reported 2024 International Mathematical Olympiad result was silver-medal-standard performance under the team's experimental setup, not an official medal won by an autonomous contest entrant. (AlphaGeometry; 2024 research report.)
Formal verification proves a property relative to formal statements, axioms, assumptions and a trusted checking system. It cannot guarantee that an informal request was translated correctly, that all relevant real-world conditions were modelled, or that a program contains no possible security vulnerability. “Guaranteed hallucination-free action” is therefore not an appropriate general claim.
25. A practical learning path
The following exercises give a practical direction without pretending a few lines of code can reproduce a frontier research system.
Exercise A: learn XOR with a small neural network
Use four input pairs: (0,0), (0,1), (1,0), (1,1), with targets 0,1,1,0. A single linear classifier cannot separate them. A network with a nonlinear hidden layer can represent the relationship.
A suitable learning exercise is to:
- Create a 2-input, 8-hidden-unit, 1-output network.
- Use a nonlinear activation in the hidden layer.
- Compute a classification loss from output logits.
- Clear previous gradients, run the forward pass, backpropagate and take an optimiser step.
- Print predictions and loss, then repeat across several random seeds.
Training success is not guaranteed for every initialisation and arbitrary training budget. ReLU was not invented in 2012, and Adam was not part of the 1986 backpropagation paper. A modern exercise combines ideas from different periods. (PyTorch autograd tutorial.)
import torch
from torch import nn
torch.manual_seed(7)
X = torch.tensor([[0., 0.], [0., 1.],
[1., 0.], [1., 1.]])
y = torch.tensor([[0.], [1.], [1.], [0.]])
model = nn.Sequential(nn.Linear(2, 8), nn.Tanh(),
nn.Linear(8, 1))
loss_fn = nn.BCEWithLogitsLoss()
optimiser = torch.optim.Adam(model.parameters(), lr=0.03)
for step in range(2000):
optimiser.zero_grad()
loss = loss_fn(model(X), y)
loss.backward()
optimiser.step()
with torch.no_grad():
probabilities = torch.sigmoid(model(X))
predictions = (probabilities >= 0.5).int()
print(probabilities)
print(predictions) # Compare with the target: 0, 1, 1, 0.This illustrative example requires PyTorch. Check the results in your environment; setting a seed improves reproducibility but does not guarantee identical behaviour across all software and hardware configurations.
Exercise B: adapt a model with LoRA or QLoRA
Choose a model whose licence and hardware requirements fit the task. Start with a small, carefully reviewed dataset and a held-out evaluation set. LoRA trains compact low-rank updates. QLoRA backpropagates through a frozen quantised base model into adapters. Memory requirements depend on context length, batch size, optimiser, architecture and implementation, not just parameter count. (QLoRA.)
Measure both the target skill and regressions on existing capabilities. Quantisation plus frozen weights does not guarantee that all previous behaviour is preserved.
Exercise C: build a small RAG assistant
Ingest a limited, authorised document collection; split it into meaningful chunks; create embeddings; retrieve candidate evidence; optionally rerank it; and generate answers with traceable citations. Treat “500-token chunks and top three results” as starting experiments, not universal optimum settings.
Test questions with known answers, questions requiring multiple documents, conflicting documents and questions the collection cannot answer. Check citation accuracy and whether the assistant can say that evidence is insufficient. Add access controls before putting confidential information into an index.
26. What remains unsolved
- Generalisation: strong benchmark scores do not establish robust performance on new distributions or genuinely unfamiliar tasks.
- Sample efficiency: systems often need far more data or interaction than people, but simplistic comparisons ignore human prior experience and differing tasks.
- Reliability: hallucinations, tool errors and flawed verification can compound in long workflows.
- Causality and physical understanding: prediction can be useful without yielding a complete causal model of the world.
- Interpretability: useful discoveries do not yet amount to complete understanding of large models.
- Privacy and security: training data, model outputs, updates and tool connections create different exposure risks.
- Efficiency: memory, energy, communication, water use and hardware cost all matter alongside parameter count.
- Evaluation: contamination, benchmark saturation, judge bias and poor real-world measurement can obscure genuine progress.
- Alignment and governance: whose preferences are learned, how conflicts are handled and who remains accountable are not purely architectural questions.
The ARC benchmark was introduced to investigate skill acquisition and abstraction, but no single benchmark defines intelligence. Results must be interpreted under the relevant version and evaluation conditions. (Chollet, On the Measure of Intelligence.)
For an illustrative reliability calculation, if 100 steps each succeed independently with probability 0.99 and every step must succeed, the probability of total success is 0.99¹⁰⁰, about 36.6%. Real workflows contain dependencies, retries and recovery, so the calculation is a warning about composition, not an empirical prediction for every agent.
27. The central lesson of the history
Deep learning advanced when several ingredients came together: learnable representations, useful objectives, workable optimisation, sufficient data, practical hardware, capable software and meaningful evaluation.
The history includes famous individuals, but it is not the achievement of one person, company, country or architecture. Backpropagation, CNNs, LSTMs, CUDA, ImageNet, attention, Transformers, generative modelling, reinforcement learning and systems engineering each solved different parts of the problem.
The next chapter is not simply “larger models”. It includes better data, more efficient computation, stronger verification, multimodal understanding, useful physical interaction and systems that remain dependable when they leave the benchmark and enter real life.
Appendix A. Learning roadmap
Stage 1: Mathematical and programming foundations. Linear algebra, derivatives and the chain rule, probability, optimisation, Python and basic tensor operations.
Stage 2: Core neural learning. MLPs, loss functions, backpropagation, train/validation/test separation, regularisation, CNNs, RNNs and LSTMs.
Stage 3: Attention and representation learning. Embeddings, self-attention, positional information, Transformers, self-supervised learning, generative models and multimodal representations.
Stage 4: Scale and efficiency. Distributed training, mixed precision, KV caches, efficient attention, MoE, state-space models, compression and edge deployment.
Stage 5: Adaptation and reasoning. SFT, LoRA/QLoRA, preference optimisation, reinforcement learning, distillation, process/outcome rewards and test-time computation.
Stage 6: Systems and responsible deployment. RAG, tool use, agents, evaluation, security, privacy, interpretability, robotics and formal verification.
Appendix B. Quick-reference glossary
- Activation: a numerical response of a neural component; also the nonlinear function producing such responses.
- Backpropagation: efficient derivative calculation through a computational graph using the chain rule.
- CNN: a network using convolutional operations and shared local filters.
- Embedding: a learned vector representation of an item such as a token, image or graph node.
- Foundation model: a broadly pretrained model adaptable to multiple downstream uses.
- Gradient: derivatives indicating how a quantity changes with parameters.
- GRPO: a group-relative policy-optimisation method introduced in DeepSeekMath.
- Inference: using a trained model to produce outputs.
- KV cache: stored key/value representations reused during autoregressive decoding.
- LoRA: low-rank trainable updates used to adapt a largely frozen model.
- LSTM: a recurrent architecture with structured memory pathways and gates.
- MoE: conditional computation that routes inputs to selected expert subnetworks.
- Multimodal: involving more than one type of signal, such as text and images.
- Optimiser: an algorithm that updates parameters using gradients or related information.
- Quantisation: representing numerical values with a reduced set of levels or lower precision.
- RAG: generation informed by retrieved external material.
- RLHF: reinforcement learning shaped by human feedback.
- Self-attention: learned weighting of information among positions in a representation sequence.
- Sparse autoencoder: a model that reconstructs inputs through a sparsely active representation, used among other things in interpretability research.
- State-space model: a model of evolving internal state; modern neural versions can process sequences efficiently.
- Synthetic data: examples produced by a model, simulator or other generative process rather than directly collected in their final form.
- Test-time compute: computation allocated after receiving a particular problem, including additional generation, search or verification.
- Token: a unit of model input or output representation; it is not necessarily a complete word.
- World model: a learned representation or predictor of environment dynamics, potentially conditioned on actions.