Artificial Intelligence Overview
Artificial Intelligence: A Comprehensive Study Guide
Historical Foundations of Artificial Intelligence
The human aspiration to create machines that think dates back to antiquity. The dream of building intelligent machines in our own image has permeated the evolution of society and science for centuries.
Alan Turing stands as the foundational figure in modern artificial intelligence. During World War II, the legendary British mathematician developed a machine capable of deciphering coded Nazi messages. After the war, Turing became one of the first to predict that computers might one day match the human brain. In a 1951 BBC radio lecture, Turing predicted that by the end of the century, machines could be programmed to answer questions in a way that would make it "extremely difficult to guess whether the answers are being given by a man or by the machine."
This led to the creation of the Turing test: a benchmark asking whether a machine could converse with a human in a way that is indistinguishable from another person.
In 1956, a group of pioneering scientists gathered at Dartmouth College for a summer brainstorming session. They coined a new academic field: artificial intelligence. For decades, their aspirations remained far ahead of the actual capabilities of computers.
Science fiction writer Arthur C. Clarke was prescient in 1978, noting that while computers were then "high-speed morons," there existed the possibility of machines that "can outpace their creators, and therefore, become more intelligent than us."
Early AI: Expert Systems and Rule-Based Approaches
Researchers initially developed expert systems — purpose-built programs designed to perform specific tasks. The approach required putting all human knowledge into a machine and providing it with rules to follow.
A pivotal moment came in 1997 when IBM's Deep Blue defeated world chess champion Garry Kasparov. Deep Blue analyzed board configurations by searching approximately 200 million positions per second, navigating through a tree of possibilities to determine the best move. The program projected forward millions of moves, examining millions of possibilities before picking the best path.
However, Deep Blue was effective but brittle — it was not strategizing as a human does. It followed brute-force calculation rather than genuine understanding.
The Neural Network Revolution
From the outset, AI researchers imagined making machines that think like humans. The human brain, with more than 80 billion neurons, learns not by following rules but by taking in a steady stream of data and looking for patterns.
How Biological Learning Works
Professor Manolis Kellis (MIT Computer Science) explains that learning in the human brain works by updating the weights of synaptic connections in the neural network.
The brain contains trillions of parameters that adjust based on experience:
Reward: Strengthens connections that led to the reward
Punishment: Diminishes connections that led to the punishment
This is the original neural network — we inherited it through evolution.
Artificial Neural Networks
Computers were not powerful enough to implement artificial neural networks until recently. The key enabler was the advent of extraordinary data sets beginning in the early 2000s — enough images, annotations, and text to train sufficiently powerful models.
An artificial neural network is modeled on the human brain:
Uses interconnected nodes (neurons) that communicate with each other
Each node receives inputs from other nodes and processes them to produce outputs
Outputs are passed to still other nodes
Learns by adjusting the strength of connections between nodes based on data exposure
This process of adjusting connections is called training. It allows artificial neural networks to recognize patterns and learn from experiences like humans do.
Self-Supervised Learning
A child learns fast because they are constantly predicting the future, observing what happens, and updating the weights in their neural network based on what just occurred. This self-supervised learning paradigm can be applied to machines.
Training Through Games
Early artificial neural networks were trained on vintage Atari video games like "Space Invaders" and "Breakout." Games reduce the complexity of the real world to a narrow set of possible actions.
When an AI plays a game:
It is shown frame-by-frame, every pixel in the moving image
The AI learns to associate pixels with actions (moving left, right, pressing fire button)
When successful (obliterating blocks, shooting aliens), the connections between nodes that enabled success are strengthened
When it fails, there is no reward
Over time, reinforced connections overrule weaker ones
The program has learned how to win
Mustafa Suleyman (DeepMind co-founder) notes that this repeated allocation of reward for repetitive behavior is a great way to train a dog, teach a kid, adapt adult behavior — and train machine learning algorithms.
AlphaGo: A Breakthrough in Machine Intelligence
In 2014, DeepMind began work on AlphaGo, an artificial neural network designed to play the ancient board game of Go.
Why Go Was Considered Impossible for AI
Go was thought to be a game where machines would never win because the number of choices for every move is enormous.
The key enabling factor was the astounding growth of compute power. As Kellis explains, we are massively, exponentially growing the amount of computation used, and computation serves as a proxy for how intelligent the model is.
Training AlphaGo
AlphaGo was trained using two methods:
Supervised learning: Fed a large data set of expert Go games to learn how to play
Reinforcement learning: Played against itself many millions of times, gradually improving skills and strategies
The Historic Match
In March 2016, AlphaGo faced Lee Sedol, one of the world's top-ranking Go players, in a five-game match in Seoul, South Korea. AlphaGo not only won but also made a move so novel that the Go cognoscenti thought it was a huge blunder. It turned out to be a stroke of brilliance.
This emergent creative behavior was a hint of what was to come: generative AI.
Large Language Models and ChatGPT
Meanwhile, OpenAI was creating a generative AI model that would become ChatGPT, first released in 2018. A subsequent version became a global sensation in late 2022.
What Makes ChatGPT Different
ChatGPT allows users to engage in dialogue with a machine that seems uncannily human. It can crank out entire essays in seconds.
Yoshua Bengio (AI pioneer): "It surprised me a lot that they're able to do things that we didn't think they could do simply by learning to imitate how humans respond. I thought this kind of abilities would take many more years or decades."
How Large Language Models Work
Large language models (LLMs) operate through:
Consuming massive amounts of text: Books, articles, and websites publicly available on the internet
Pattern recognition: By recognizing patterns in billions of words, they can make guesses at the next word in a sentence
Generating unique answers: This is how ChatGPT creates responses that seem completely original
Kellis: If you're good at predicting the next word, it means you're understanding something about the sentence — the style, the feeling. When you can't tell whether something was written by a human or a machine, that is essentially the definition of the Turing test.
AI in Medicine: Prosthetics and Pattern Recognition
Pattern Recognition for Prosthetic Limbs
Coapt is a company applying AI to artificial limbs. The system uses a Bayesian classification model that works through:
Training: The user imagines moving their phantom limb (open, close, rotate)
EMG signals: These imagined movements generate electromyographic signals in remaining muscles
Pattern labeling: The AI labels various EMG patterns into corresponding classes of movement
Classification: As the user operates the arm, the system compares electrical signals to the existing library of classifications
Statistical probability: The system relies on probability to choose the best match
The system adapts over time, becoming more robust as more data is added. The user and the algorithm learn together.
AI for Cancer Detection
Mammogram Analysis (Mirai)
Regina Barzilay (computer scientist) shifted from deciphering dead languages to cancer research after her own breast cancer diagnosis in 2014.
The problem: The human eye cannot perceive subtle patterns that indicate future cancer risk. Researchers applied a convolutional neural network (CNN) to mammograms.
How CNNs work:
Comb through images with many virtual magnifying glasses
Each magnifying glass looks for a specific kind of puzzle piece (edge, shape, texture)
Makes simplified versions, repeating on larger sections
Eventually the puzzle is assembled and a guess is made (cat? dog? tree?)
Backpropagation: Labeled images are sent back to correct the previous operation
The next guess will be better
Validation: The team gathered more than 128,000 mammograms from seven sites in four countries, including over 3,800 that led to cancer diagnosis within five years. The software, Mirai, achieved between 75% and 84% accuracy in predicting future cancer diagnoses.
Lung Cancer Detection (Sybil)
Researchers asked whether AI could be applied to CAT scans of patients' lungs. The model, called Sybil, was taught to recognize patterns of developing lung cancer using thousands of CAT scans from clinical trial participants.
Key capability: Sybil could detect cancer risk from a baseline scan even when there was nothing a radiologist could perceive — no precursor lesion visible to the human eye.
Performance: Sybil correctly forecast cancer between 80% and 95% of the time, depending on the population studied. The technique is still in the trial phase but promises potent prevention tools.
AlphaFold: Protein Structure Prediction
In 2021, DeepMind released AlphaFold, a pattern recognition software designed to help researchers understand proteins — long chains of amino acids involved in nearly every function in our bodies.
Why Protein Structure Matters
How a protein folds into a specific three-dimensional shape determines how it interacts with other molecules
There is a correlation between what a protein does and how it is structured
If we can predict how a protein folds, we can infer its function
Knowing a disease's protein shape allows researchers to create drugs that disable it
How AlphaFold Works
DeepMind trained AlphaFold on thousands of known protein structures. It leveraged this knowledge to predict 200 million protein structures — nearly all the proteins known to science.
Suleyman notes that the process is fundamentally similar to making predictions in Go, Atari, mammography scans, or large language models: take high-quality known data and use it to predict how similar information is likely to unfold.
Drug Design Applications
Insilico Medicine uses AlphaFold and its own deep-learning models for drug design:
Designing molecules analogous to natural molecules that bind to proteins
The goal is to lock disease-causing proteins, especially if those proteins are hyperactive
If the molecule fits well, it can inhibit disease-causing proteins
Efficiency gains: What previously required extensive computational chemistry work can now be accomplished in 48 to 72 hours of computing time to identify the best drug candidates ranked in order. This could greatly speed up the drug development pipeline.
AI for Fire Detection
CAL FIRE partnered with scientists at UC San Diego to train a neural network called ALERT California to spot early signs of wildfires.
The System
California has installed over 1,000 remotely operated pan, tilt, zoom surveillance cameras on mountaintops
All cameras generate petabytes of video
The AI is trained to detect micro fires — nascent fires that look like "a little hint of smoke"
Impact
AI has given firefighters the ability to detect where fires are starting rapidly, enabling fast response. The greatest successes are the fires that never make the news because they are caught before becoming megafires.
Robotics: Liquid Neural Networks
The Challenge
Most neural networks run on powerful supercomputers with thousands of processors occupying entire buildings. However, robots need on-board computation — the brain of the car must live on the car, even without internet connectivity.
Inspiration from Nature: C. elegans
Researchers at MIT's Computer Science and Artificial Intelligence Lab (CSAIL) took inspiration from a lowly worm called C. elegans. Its brain contains only 300 neurons, but they are a different kind of neuron that captures more complex behaviors in each piece. The wiring between neurons is completely different from today's neural networks.
Liquid Networks
Liquid neural networks address the size challenge. A self-driving car was built using just 19 liquid neurons that can drive in brand-new environments never seen before. This contrasts with most self-driving cars that rely on detailed databases and get lost in unfamiliar terrain.
Alexander Amini: Today's AI models push the boundaries of compute scale and data sets, but this is not sustainable. We need to deploy AI onto the device itself — cars, surgical robots — all the edge devices that actually make decisions.
The Dark Side: Deepfakes and Misinformation
The Danger of Synthetic Media
In 2018, comedian Jordan Peele combined his Obama impression with AI software to create a convincing fake video warning about dangerous technology. The video highlighted how AI makes it easy to manipulate reality.
Hany Farid (UC Berkeley): Media has always been manipulated, but historically, you could count on one hand the number of people in the world who could do this. Now you need almost no skill.
How AI Generates Fake Images
Generative Adversarial Networks (GANs)
GANs use two algorithms in an adversarial loop:
Generator: Starts by splatting pixels onto a canvas
Discriminator: Has access to millions of images of the target category; judges whether the generated image matches
Feedback loop: The generator modifies pixels and sends the result back to the discriminator
After many thousands of volleys, the generator produces a convincing result
Diffusion-Based Models
Diffusion models represent a newer approach:
System vacuums up billions of images with descriptive captions
It starts making those labeled images visually noisy on purpose
It corrupts the image more and more, going backwards, repeated billions of times
Eventually the image becomes unrecognizable from the original
Having learned how to turn an image into nothing, it reverses the process
It can take pure noise and go back to a coherent image conditioned on a text prompt
Real-World Impact
In May 2023, someone posted an AI-generated image of what appeared to be a terrorist bombing at the Pentagon. It was shared via what seemed to be a verified Bloomberg News account. Within seconds, the stock market dropped half a trillion dollars from a single fake image.
Farid: "The barriers to entry to manipulate reality have been lowered. More people will do it — some good, lots of bad. We're not going to contain it. That's done."
Existential and Near-Term Risks
Expert Warnings
Yoshua Bengio, an AI pioneer, signed several public warnings, including a stark single-sentence statement in May 2023:
"Mitigating the risk of extinction from AI should be a global priority alongside other societal-scale risks, such as pandemics and nuclear war."
Bengio notes that as AI systems approach capabilities stronger than humans in many areas, they become more dangerous. The classic question of "pulling the plug" becomes problematic when the system becomes powerful enough to prevent humans from doing so.
Near-Term Dangers Already Emerging
Deepfakes and misinformation: Synthetic media that is increasingly difficult to detect
Bias and hate content: AI can supercharge existing societal biases
Job displacement: Automation replacing human workers
Bioweapons: AI makes it easier for terrorists to create biological weapons
Opacity: AI systems are so complex that they are difficult to comprehend and nearly impossible to audit
Daniela Rus (MIT CSAIL director): Nobody really understands how those systems reach their decisions. We must be much more thoughtful about testing and evaluating them before releasing them.
Regulation and the Path Forward
The Economic Incentive Problem
AI has a predicted economic impact of $13 trillion by 2030. There is strong commercial incentive to develop AI and win competition between companies and countries.
Historical Resistance to Regulation
The tech industry has historically resisted regulation. However, as Mustafa Suleyman notes, while guardrails will slow things down, the risks are uncertain and potentially enormous. It makes sense to start the conversation now about how to ensure safe, secure, and trustworthy artificial intelligence.
Personal Experience with AI: The Reality Check
The author's personal experience with an AI-powered prosthetic arm illustrates current limitations:
Training required: The AI must be trained through repeated attempts
Sensitivity issues: Electrodes must maintain good skin contact for accurate signal reading
Frustration: The arm would open on its own, causing dropped items
Time investment: Amputees report it takes many months to learn how to use such arms
The choke point isn't artificial intelligence — it's determining the best way to communicate human intentions to the machine.
Machine learning is not yet smart enough to provide a replacement arm like science fiction imagines, nor is it capable of creating the Terminator. Many current hopes and fears about AI are rooted in science fiction, but the door is opening to a real revolution.

Ask anything
We've read this whole study set, so questions about it get the best answers.