Tag: MIT

  • [Science] What Is Backpropagation? A Simple Guide to How AI Learns

    [Science] What Is Backpropagation? A Simple Guide to How AI Learns

    Backpropagation is the algorithm that lets artificial neural networks learn from their own mistakes, and it quietly powers much of today’s AI — from chatbots that answer your questions to the apps that recognize a face in a photo. Understanding it, even at a basic level, is one of the clearest ways to understand how modern deep-learning systems actually learn.

    Original Paper

    Title: Learning representations by back-propagating errors
    Authors: David E. Rumelhart, Geoffrey E. Hinton, Ronald J. Williams
    Journal: Nature, Vol. 323, pp. 533–536 (1986)
    DOI: 10.1038/323533a0

    What Is Backpropagation, Exactly?

    In plain terms, backpropagation — short for “backward propagation of errors,” also known as error backpropagation — is a method for training a neural network by repeatedly working out how wrong its answer was, and in which direction each connection should adjust. A neural network is built from layers of simple, interconnected units (loosely inspired by neurons) joined by adjustable connection strengths called weights. When a network is first created, its weights are usually set to small, carefully chosen random values, so its first guesses are generally poor. Backpropagation is the procedure that turns that rough starting point into a network that can recognize a cat in a photo, translate a sentence, or predict the next word in a reply.

    There is one important distinction worth keeping straight: backpropagation calculates how much each connection contributed to the error, while a separate step called gradient descent uses that information to actually adjust the connections. People often use “backpropagation” loosely to describe the whole training process, but technically the two are different steps working together.

    How the Algorithm Actually Works

    Training with backpropagation happens in two passes. In the forward pass, an input — a photo, a sentence, a row of sensor data — moves through the network’s layers in order, and the network produces a prediction. That prediction is then compared with the correct answer using a loss function, a numerical measure of how far the prediction was from the desired result.

    Backpropagation doesn’t tell a network what to think. It tells the network how wrong it was, and in which direction each connection should move to be a little less wrong next time.

    A simple analogy helps before the math: imagine a product moving through several stages of a factory line, and the finished item turns out defective. To find the cause, managers work backward from the end of the line, and each stage reports how much it may have contributed to the problem, passing that information to the stage before it. The backward pass in backpropagation does something similar, except it uses calculus to work this out exactly. Starting at the output layer and moving back toward the input, the algorithm applies the chain rule — a technique for tracking how a change at one stage ripples through a chain of dependent calculations. Each layer combines information about how its own calculations affected the next layer with the error information passed back from that layer, producing a gradient: a measure of how sensitive the loss is to a small change in each weight, at its current value.

    Diagram of the forward pass and backward pass in backpropagation
    The forward pass produces a prediction and a loss; the backward pass applies the chain rule, layer by layer, to compute gradients and update the weights.

    Once every weight has a gradient, gradient descent uses it to actually update the weights, nudging each one a small amount in the direction that reduces the error. Repeat this forward-pass/backward-pass/update cycle over thousands or millions of examples, and a network that started with randomly initialized connections gradually comes to reflect real structure in the data. The appeal of backpropagation is efficiency: it calculates gradients for every weight in a network in roughly the time needed for a small number of forward and backward passes, rather than requiring a separate experiment for each individual weight.

    Why Backpropagation Is Getting Attention Again

    Backpropagation is not new, and its mathematical core had already been explored before it became famous. Reverse-mode automatic differentiation — the calculus technique at the heart of the algorithm — traces back to Finnish researcher Seppo Linnainmaa’s 1970 master’s thesis, and American researcher Paul Werbos proposed applying a related idea to neural networks in his 1974 doctoral thesis. The method became particularly influential after David Rumelhart, Geoffrey Hinton and Ronald Williams published “Learning representations by back-propagating errors” in Nature in 1986, demonstrating that it could let multilayer networks automatically discover useful internal features rather than relying entirely on engineers to design them by hand.

    For years afterward, backpropagation-trained networks were mostly a research curiosity, limited by available data and computing power. That changed dramatically in 2012, when Alex Krizhevsky and Ilya Sutskever, working with their advisor Geoffrey Hinton, combined backpropagation, the large labeled ImageNet dataset, and graphics-card computing power in a network known as AlexNet. It dramatically outperformed competing approaches in that year’s ImageNet image-recognition competition, a result widely credited with triggering the modern deep learning boom. The large language models behind today’s generative AI chatbots are, at their core, still trained with variations of the same algorithm.

    Timeline of key milestones in the history of backpropagation, from 1970 to the 2020s
    Source: created based on Linnainmaa (1970), Werbos (1974), Rumelhart, Hinton & Williams, Nature (1986), and the AlexNet/ImageNet milestone (2012).

    What has put backpropagation back in the spotlight recently is a different question: does the brain do anything like this? In October 2026, a team at MIT’s McGovern Institute, led by Qianli Liao, Liu Ziyin and Yulu Gan with senior authors Mark Harnett and Tomaso Poggio, published a study in the Proceedings of the National Academy of Sciences proposing a computational model in which randomly connected artificial networks can self-organize their own forward and feedback pathways, using only local learning rules inspired by biological synapses and no global error signal — and still learn nearly as well as backpropagation on the tasks tested. The researchers are careful to frame this as a candidate mechanism and a testable hypothesis, not proof that real brains work this way, but it reopens a question that has nagged neuroscientists for roughly 40 years: backpropagation is clearly powerful enough to drive today’s AI, yet nothing in a biological brain has been shown to do precisely what it requires. (Related article: A Simulated Brain Circuit Builds Its Own AI-Like Learning System, MIT Finds.)

    Where You’ve Already Met Backpropagation

    Even though the math stays behind the scenes, the results of backpropagation-trained networks are part of ordinary life. Many modern face-unlock features and the photo apps that automatically group pictures of the same person run on neural networks trained with backpropagation or related gradient-based methods. Voice assistants that transcribe speech or answer spoken questions generally rely on networks trained the same way. Generative AI chatbots are also built using neural networks trained with backpropagation — during an early stage called pretraining, for example, a language model repeatedly tries to predict the next word in a passage of text, compares its guess with the actual word, and adjusts its weights to reduce the error; later training stages then refine how it follows instructions and responds to feedback.

    It’s worth keeping one distinction in mind: backpropagation mainly happens during training, not every time you use these tools. Once a network has learned, it typically uses its already-adjusted weights to make predictions, without recalculating gradients or updating itself each time — the heavy lifting happened earlier, often across billions of training examples.

    What to Watch Next

    Backpropagation itself is a mature, well-understood technique, so the open questions now sit in its limitations and the alternatives researchers are exploring. One is scientific: whether the MIT team’s self-organizing, locally-plausible learning circuits — or related approaches sometimes called feedback alignment or predictive coding — can be tested directly against real neural tissue, and whether they can match backpropagation’s performance on problems much larger than the ones tested so far. Another is practical: as AI models keep growing, researchers continue to look for training methods that need less computing power than standard backpropagation while keeping its accuracy. The next breakthrough may not come from making backpropagation itself faster, but from discovering how networks can learn without depending on it so completely — which is exactly the question AI researchers and neuroscientists are now asking together.

    Xsciens Editorial Note

    Backpropagation is best understood as a precise bookkeeping trick for calculating how a network should adjust itself, not as a theory of how any brain, artificial or biological, actually “thinks.”

    • A common misconception. “Neural network” learning is often described as though it copies how the brain learns, since artificial “neurons” were loosely inspired by biological ones. In practice, standard backpropagation’s backward calculation relies on precise weight-related information tied to the exact connections used for forward signaling — something no real neuron is known to reproduce or transmit in the same way. (Some alternative methods, such as feedback alignment, relax this requirement, which is itself a sign of how specific the original objection is.) The resemblance between artificial and biological “neurons” is a loose analogy, not a working description of what either one computes.
    • Limits and open questions. A common misreading is that backpropagation always needs a human-provided “correct answer,” like a teacher grading homework. That’s not quite right: it needs a differentiable training objective, which can come from supervised labels, but also from self-supervised tasks (such as predicting the next word in a sentence) or reinforcement-style rewards. What backpropagation does not explain, on its own, is why some network architectures generalize well to new data and others don’t, or how an AI system might decide what is worth learning in the first place — those remain active, only partly answered research questions, not settled ones.
    • What to watch next. The MIT team’s October 2026 study proposes, as a specific and testable hypothesis, that a four-synapse wiring motif linking ascending and descending pathways in the cortex could let real circuits self-organize a similar learning ability. This is a model prediction, not a confirmed feature of brain tissue — whether neuroscientists actually find that wiring pattern, and whether locally-plausible learning rules can match backpropagation’s performance on problems far larger than the ones tested so far, are the two developments worth watching.
    • From the editors — If brain-inspired, locally-learning AI matures the way this MIT team hopes, the assistants people use every day could stop feeling like blank tools that need re-explaining each time and start quietly adapting to how each person actually works. Getting there would likely mean systems that keep adjusting themselves after they leave the lab, learning from ordinary daily use instead of one big retraining cycle. That same ability to keep learning on its own is exactly what to watch: without a way to check what a system has quietly picked up, it could just as easily drift toward learning the wrong lesson from unusual or misleading experience. This is still an early computational demonstration, not a finished product — so if an assistant ever starts to feel like it “gets” you a little faster, it’s worth asking, every so often, what it actually learned to get there.

    References for this note: Quanta Magazine — Artificial Neural Nets Finally Yield Clues to How Brains Learn, arXiv — Brain-Inspired Machine Intelligence: A Survey of Neurobiologically-Plausible Credit Assignment

    Sources: IBM — What Is Backpropagation?, TechTarget — What Is a Backpropagation Algorithm?, Rumelhart, Hinton & Williams, Nature (1986), Seppo Linnainmaa, Computer History Museum — AlexNet Source Code, Xsciens — A Simulated Brain Circuit Builds Its Own AI-Like Learning System, MIT Finds

  • A Simulated Brain Circuit Builds Its Own AI-Like Learning System, MIT Finds

    A Simulated Brain Circuit Builds Its Own AI-Like Learning System, MIT Finds

    For decades, neuroscientists have faced a nagging puzzle. Modern AI owes its power to backpropagation, an algorithm that adjusts a network’s connections by propagating error information backward through precisely coordinated connections — a computation with no clearly established equivalent in biological circuitry. Yet some studies have found that activity patterns in trained artificial networks resemble those recorded in the brain’s own visual system, which only sharpens the question of how biological neurons, using only local signals and changing synapses, might approximate something similar. A new study from MIT’s McGovern Institute for Brain Research, published October 9 in the Proceedings of the National Academy of Sciences (PNAS), offers a candidate answer: when simple neuron-like units are wired randomly and left to follow local, biologically plausible plasticity rules, they can spontaneously self-organize into circuits that learn nearly as well as backpropagation does on the tasks tested — without anyone telling them how.

    原論文情報 / Original Paper
    Title: How Biological Synapses Self-Assemble Gradient Learning
    Authors: Qianli Liao, Liu Ziyin, Yulu Gan, et al.
    Journal: Proceedings of the National Academy of Sciences (PNAS)
    DOI: 10.1073/pnas.2606245123

    A 40-Year Mismatch Between Brains and AI

    Modern deep learning owes almost all of its success to backpropagation: a network makes a prediction, compares it with the correct answer, and then propagates that error backward, layer by layer, nudging every connection weight in the direction that would have reduced the mistake. It works brilliantly, but standard implementations depend on precise mathematical relationships between forward and backward connections, plus coordinated transmission of error information through the network. There is no established evidence that cortical circuits implement anything equivalent in its conventional form.

    The puzzle deepened as deep learning matured. Comparisons between the internal activity of backpropagation-trained networks and recordings from biological visual systems have repeatedly found intriguing similarities — not identical, but notably closer than chance would predict. Such similarities do not prove the brain runs backpropagation, but they raise an obvious question: if it does not, what local process could still produce computations that end up looking so much like it?

    Local Rules, No Blueprint

    The MIT team, led by Qianli Liao, Liu Ziyin and Yulu Gan with senior authors Mark Harnett and Tomaso Poggio (and co-author Brian Cheung), approached the question differently from most prior attempts to make backpropagation “more biological.” Instead of designing a circuit by hand and checking whether it could plausibly exist in a brain, they started from almost nothing: layers of neuron-like units connected at random, with no predetermined wiring diagram at all.

    The system runs on local synaptic plasticity rules, including heterosynaptic mechanisms that let a connection change in response to activity beyond that single synapse — a more specific relative of the familiar Hebbian idea that “cells that fire together wire together.” Critically, these rules only need information available locally, at or near a given synapse (the junction where one neuron signals to the next). No unit needs to know what is happening elsewhere in the network, and no single global error signal is broadcast to the whole system.

    Diagram showing random wiring self-organizing into a learning circuit
    Source: created based on findings from MIT McGovern Institute / PNAS (2026).

    Circuits That Wire Themselves

    Left to run under those local rules, the randomly connected units did not stay random for long. Over repeated rounds of activity, the network developed small, recurring wiring patterns the researchers call “self-assembling motifs.” The model’s analysis points to a specific four-synapse motif linking the brain’s ascending, bottom-up pathways with its descending, top-down pathways — a concrete structural prediction that experimentalists can now go looking for in real neural tissue, not a pattern already confirmed to exist there.

    What these motifs do next is the more remarkable part: networks of them self-organize further, so that their combined dynamics approximate a generalized form of stochastic gradient descent — the family of optimization methods that includes backpropagation — without a hand-designed, globally coordinated algorithm directing them. In other words, before the network learned anything from its training data, it first had to build the machinery that would let it learn.

    Starting from random connectivity, local synaptic plasticity rules were enough for the network to assemble circuit motifs whose combined dynamics approximate gradient-descent-style learning.

    Holding Its Own Against Backpropagation

    A biologically plausible circuit is only interesting if it actually works, so the researchers tested their self-organized networks on image pattern recognition and classification tasks. According to MIT, the self-assembled circuits achieved performance comparable to conventional networks trained directly with backpropagation on the tasks tested. The MIT News announcement does not report specific accuracy figures or benchmark datasets — those details sit in the full PNAS paper — so the result is best read as evidence that self-organization carried no obvious cost on this particular test, not as a claim that it matches backpropagation across deep learning in general.

    That matters because it suggests biological plausibility and computational competence are not necessarily in tension. For years, biologically inspired alternatives to backpropagation have often underperformed it on real tasks. A circuit that assembles itself from random wiring and still competes with backpropagation on the tasks it was tried on narrows that gap, at least in this one demonstration.

    A Prediction Neuroscientists Can Go Test

    The researchers are careful to note that a self-organizing network learning like this does not prove the human brain learns this way — it is a candidate mechanism, not a confirmed one. But unlike many theoretical proposals in computational neuroscience, this one comes with a concrete, falsifiable prediction: if the brain really does something like this, cortical circuits should contain that specific four-synapse motif connecting ascending and descending pathways. Experimental neuroscientists can now search actual brain tissue for exactly that wiring signature, which is what turns an elegant simulation into a testable scientific hypothesis.

    Why It Matters Beyond the Lab

    If the prediction holds up, the payoff would extend in both directions. For neuroscience, a confirmed biologically plausible learning circuit would help explain how the brain adapts throughout life, and could sharpen our understanding of what goes wrong in conditions involving altered learning or memory, as well as inform the design of future brain-computer interfaces that need to interact with the brain’s own learning rules rather than fight against them.

    For AI, the lesson cuts the other way: today’s networks are built top-down, with every connection and training rule specified by engineers before a single example is seen. A system that can bootstrap its own learning machinery from random wiring and local plasticity rules hints at an alternative path — architectures that configure themselves as they encounter data, rather than ones that are handed a finished blueprint. Liao, Ziyin, Gan and their colleagues frame their result as an early step in that direction, not a finished product, but their work gives both neuroscientists and AI researchers a concrete new question to test: not just how networks learn once they are built, but how learning itself can come preinstalled.

    For more on where artificial and biological intelligence still diverge, see our earlier coverage of how MIT neuroscientists found the brain re-files information the instant you make a decision, a separate finding that is likewise reshaping how AI researchers think about adaptive, flexible learning.

    Sources: MIT News, Proceedings of the National Academy of Sciences (PNAS), arXiv preprint

  • [Science] The Instant You Decide, Your Brain Re-Files the Options — MIT Neuroscientists Find a Flexible Code That Could Inform AI Design

    [Science] The Instant You Decide, Your Brain Re-Files the Options — MIT Neuroscientists Find a Flexible Code That Could Inform AI Design

    Every time you choose between two options — which job offer to accept, which product to buy — your brain does more than simply retrieve what each one was worth. A new MIT study shows that the instant you make that choice, the neural code representing those options in part of your brain reorganizes itself, shifting from grouping information by the order you saw it to grouping it by whether you picked it. The finding, published online in the journal iScience in September 2026, offers a rare, cell-by-cell look at how flexible biological memory can be — and it gives researchers working on adaptive AI a biological case study worth studying, even though the experiment itself did not involve any AI system.

    Why Scientists Wanted to Watch the Brain Mid-Decision

    Researchers have long known that the prefrontal cortex, the region of the brain just behind the forehead, plays a central role in weighing options and making choices. Many of its neurons also show “mixed selectivity,” meaning a single cell’s activity can shift depending on a combination of task variables rather than tracking one fixed thing. What earlier work left unresolved was how the brain avoids mixing up two options that were evaluated only moments apart, especially once one has been chosen and the other set aside. A team led by MIT graduate student Huidi Li and senior author Earl K. Miller, a professor at MIT’s Picower Institute for Learning and Memory, set out to track that process neuron by neuron rather than assume an answer. The team, which also included Nikolaos Chrysanthidis, Scott Brincat, and Jonas Rose, published its results in iScience; MIT publicized the findings on September 22.

    Watching Hundreds of Neurons Decide, in Real Time

    To find out, the researchers trained two macaque monkeys — a roughly 13-kilogram male and a 9-kilogram female — to play a simple reward game. A white square flashed briefly at one of four spots on a screen, followed by a colored ring that signaled how many drops of juice that option was worth, anywhere from one to thirteen. The same sequence then repeated for a second target at a different screen location. Once both options had been shown, the monkey looked toward its preferred target and received the corresponding juice reward. The male selected the higher-value option on about 98 percent of trials; the female, on about 79 percent. While the animals made their choices, the team recorded the electrical activity of 316 neurons in the male’s lateral prefrontal cortex — the side portion of the prefrontal cortex — and 422 in the female’s, across 40 recording sessions. Rather than tracking single cells in isolation, the researchers analyzed the activity of the whole recorded population as points moving through a high-dimensional mathematical space, a technique known as neural subspace analysis: when enough neurons fire in a similar combined pattern, that pattern occupies its own region, or “subspace,” within that space, and two subspaces that barely overlap are described as close to orthogonal, or mathematically independent of each other.

    Bar chart showing neurons recorded and choice accuracy for two macaques in the study
    Source: Created from data in Li et al., iScience (2026)

    Before the Choice: Order. After the Choice: Outcome.

    Seen through that lens, the result is a clear shift in organization. Before a choice was made, the subspaces representing the first-shown and second-shown targets were kept largely separate, organized around presentation order. Once the monkey chose, the picture changed: the subspaces reorganized around the decision itself, with the chosen and unchosen options rotating into distinct, close-to-orthogonal subspaces regardless of the order in which they had originally appeared. In other words, the brain’s filing system for “what I saw first and second” gave way to a new one built around “what I picked and what I didn’t.” The researchers suggest this reorganization helps downstream brain regions read out the decision efficiently, since they could rely on a consistent format rather than track which position each option had occupied.

    “The brain doesn’t just hold information statically,” Li said.

    No Single Neuron “Owns” a Decision

    A second notable result was how that reorganization happened at the level of individual cells. The researchers found no fixed set of neurons permanently dedicated to representing “the chosen option” or “the rejected one.” Instead, individual neurons shifted which ensemble they contributed to from one trial to the next, joining a different, temporary coalition of cells depending on what the task required at that moment. Researchers in the field generally see this kind of flexible, overlapping coding as a way for a limited number of neurons to represent many different combinations of information, rather than requiring a dedicated cell type for every possible scenario — though this study did not directly measure how much representational capacity that flexibility adds.

    Why This Matters Beyond the Lab

    The study did not test any artificial intelligence system, and the researchers were not trying to build one. Still, the result speaks to a question AI researchers care about: how can a learning system keep updating what it represents without losing track of information it already holds? Many AI systems, once trained, represent what they have learned in ways that stay largely fixed afterward, which is part of why training them further on new material can degrade old knowledge, a problem researchers call catastrophic forgetting. The MIT findings do not explain or solve that problem, but the underlying idea — a biological circuit reorganizing its internal representations on the fly to match what a task demands at each stage — is the kind of mechanism that researchers in continual learning and brain-inspired, or neuromorphic, computing study for design ideas. It is also a small, concrete answer to a more everyday question: the researchers found that even after a choice was made, the unchosen option remained represented in its own distinct subspace rather than disappearing from the recorded activity. MIT’s own description of the work suggested this could be important for later crediting an outcome to the option that produced it, which may help the brain learn from an alternative it did not select — though that specific learning process was not directly tested in this experiment.

    What’s Still Unknown

    The authors are careful to flag the limits of the work. Only two animals took part, and the task involved a simple, sequential choice between two options with clearly different, discrete reward values — closer to comparing two job offers one after the other than to scanning a crowded menu of possibilities at once. Whether the same kind of reorganization occurs when values vary continuously, when there are more than two options on the table, or in human decision-making specifically, remains an open question the team says future studies will need to address. Macaque and human prefrontal cortex share many organizational similarities, which is why monkey studies like this one are routinely used to generate hypotheses about human cognition, but confirming that the same reorganization happens in people would require a separate study in humans. It is also worth remembering that this was a recording study: it shows that representations change alongside decisions, not that the reorganization itself is what causes a choice to happen. As with any single study, independent replication will matter before the finding is considered settled.

    For now, the study offers a concrete, carefully measured answer to a question that sounds almost philosophical: what happens in your head in the instant after you decide? According to this research, at least in one brain region of two monkeys performing a simple task, the answer is that the brain quietly rebuilds how it was organizing two competing options around the choice that was just made.

    Sources: MIT News, iScience (Li et al., 2026), EurekAlert!