What could an HDTV screen, the top speed of your car, and the murmuration of starlings in the sky possibly have to do with each other? They’re helpful metaphors for not only understanding how ensembles of neurons enable cognition, but also explaining how neuroscientists are discovering that.
You might have already guessed that a sophisticated capability like cognition requires brain cell teamwork. But the intuition that brain cells form task forces to produce thought that is not only useful, but also efficient and flexible, still leaves open big questions of “how?” and “how do we know?” That’s where these metaphors and several recent papers by Picower Institute researchers come in.
For decades, neuroscience knowledge derived from poking a single electrode into a single neuron to track its electrical activity. A mouse might watch a bunch of lines on a screen and if a line with the right orientation showed up in the right place, the neuron would “fire” an electrical signal, said Newton Professor Mriganka Sur. Neuroscientists inferred that individual neurons could perform some basic functional computations. But over the last 40 years, scientists have gained increasing abilities to measure activity in more neurons simultaneously (even by the thousands). And in the meantime, they’ve advanced computational, mathematical and conceptual methods to make sense of those churning volumes of electrical chatter. Recently, their analyses have advanced enough to associate neural ensemble activity with complex cognitive tasks, not just simple sensory cues like lines.
Patterns and dimensions
Associating the activity of 1,000 cells with an animal’s momentary thoughts is daunting. In theory, if 1,000 cells can each either be electrically active or not at any given moment, there is an effectively infinite number of possible states they could produce. The same is true for your HDTV with its 2 million pixels, noted Fairchild Professor Matt Wilson. But your TV never just shows you arbitrary arrangements. All you see is the subset of images that make sense: an Olympic skier, the Oscars, Breaking Bad. If you know how to look (and TV makes this intuitive for humans), the pixels form a sensible pattern. This shrunken set of probable patterns is an example of “dimensionality reduction.”
Wilson’s metaphor illustrates how one can approach making sense of patterns among many neurons, including why one might prefer to tap many, rather than just a few cells to understand them (imagine watching a TV with just a few working pixels). More neurons provide more information. But a moving image on your TV also illustrates another aspect of dimensionality reduction—the pixels aren’t independent. When Meryl Streep’s face moves across your screen, the pixels that compose her eyes or nose all move together. In a meaningful pattern, the activity of many pixels (or neurons) is coordinated and predictable.
In fact, when neuroscientists examine how a huge dataset of neural activity might associate with what an animal is thinking during a laboratory task, they only need a few dimensions to explain it.
“We ask the question: ‘How many dimensions do we actually need?’,” Picower Professor Earl K. Miller said, “and the answer is three, despite most of the variance.”
How so? Sur uses the metaphor of a car’s top speed. What really accounts for that?
There are lots of reasons, there are lots of dimensions,” he said. “How powerful is the engine? How efficient is the gas consumption? What are the aerodynamics of the car?”
When an engineer analyzes all the data for lots of cars, most of the explanation will come down to just a few “principal components.” The engineer, for instance, could choose any three factors as the axes of a graph. She will discover which ones have the most relevance when the resulting plot cleanly separates the Maseratis and Mustangs from the Yugos and the golf carts in that 3D space. Then it’s easy to draw a plane, or a “decoder,” through the plot to delineate “subspaces” of fast and slow cars, sorted by the three factors that matter most for top speed.
Similarly, neuroscientists plot neural activity to reveal sensible, dimensionally reduced patterns that associate neural activity with cognitive tasks. Rather than an intractable scattering of points, they see cohesive clusters or smooth manifolds. Miller likens them to murmurations of starlings. A thousand of those birds could form any configuration in the sky, but instead they form coordinated shapes that move smoothly through space over time. Neurons, too, cluster in sensible patterns to do sensible things and neuroscientists have learned to create, track and analyze geometric views of these patterns to identify subspaces relevant to cognition.
Insights into cognition
Several recent Picower Institute studies have put these principles into practice to show how neural ensembles endow cognition with clarity, flexibility, efficiency, resilience and the ability to make predictions and drive actions.
In a study in iScience in September, Miller’s lab led by graduate student Huidi Li, asked how the brain keeps its options and choices clear when making a decision .Lab animals played a game in which they saw one target on a screen, then a cue of its value, then another target and then its value. The animals had to remember the options and choose which target has the higher value. Meanwhile, Li and colleagues recorded the activity of hundreds of neurons in the prefrontal cortex.
When the scientists analyzed the neural activity they found subspaces of neurons represented cognitive tasks of the game: the choices and their values. For instance, before the animals made their decisions, the subspaces distinctly represented options based on their order of presentation. On the graphs, each “target 1” plane was nicely parallel with the others. Similarly, each “target 2” plane was parallel with its brethren, but the target 2s were orthogonal, or perpendicular, with the
target 1s, showing that they were represented as entirely distinct. Then, after the decision, new subspaces provided new
representations. Now the “chosen” options, whether they had been presented first or second, had parallel representations. The unchosen targets were also represented as parallel with each other, but as orthogonal from the chosen ones. Again, geometric visualization of subspaces of neural activity showed that the brain kept its decisions separate, just like its options
In a study in Nature Neuroscience a month earlier, Sur’s lab, led by postdoc Yuma Osako, used subspace analysis of neural ensemble activity to discover not only distinct representations of information, but also reuse of similar subspaces for similar tasks, a long-posited mechanism for making cognition flexible and efficient. The team trained mice to indicate whether two tones presented in sequence were the same pitch or different. Like Miller’s team, they recorded from hundreds of neurons each time, in this case in two different regions.
What Sur and Osako’s team found was that at different moments of the game, separate subspaces of neurons represented sensory information (the first and then the second tone) or memory subspaces (first the tone previously heard and then the memory of whether they were the same). The sensory and memory subspaces were each reused, like “cognitive legos.”
Sometimes separability is good but sometimes the goal is integration. In a 2024 study in Cell Reports, Wilson’s lab led by graduate student Wei Guo set out to determine how ensembles of neurons in the hippocampus form not only a literal point-by-point map of a space, but then stitch them together into a “cognitive map,” a meaningful record of the space that connects those dots and associates locations with the things that make different spots interesting. It’s like the difference between knowing there are 12 aisles in a grocery store and being able to plan a route among them if you need mustard, paprika and eggs. Scientists solved the first part decades ago. The hippocampus dedicates individual “place cells” to quickly represent distinct, literal locations in a space. But Guo and Wilson’s team measured the activity of a different ensemble of “weakly spatial” cells in lab mice that they let freely explore different mazes. Dimensionality reduction techniques enabled the researchers to discover that over several days (with sleep) these weakly spatial cells became more and more correlated to the activity of the place cells and as they did, the researchers could more clearly visualize a manifold representing a cognitive map of the mazes.
Neural ensembles also help the brain recover from distraction, Miller’s team found, using subspace analysis. In a study in November 2025, Miller and postdoc Tamal Batabyal recorded large neural ensembles in the brains of animals as they played a working memory game. In these experiments, however, the researchers purposely distracted the animals to see whether or how they could get back on track in time to complete the task. Sometimes the animals succeeded, and sometimes the distractions got the better of them. Dimensionally reduced visualization of neural activity helped the researchers understand what was going on in the animals’ brains. When they plotted the neural activity over time after the distraction, they could see a clear rotation pattern. When the rotation proceeded fast enough to come full circle (back to the original point), that correlated strongly with the animal recovering from the distraction and succeeding in the task. When the rotation was too slow and fell short, the animal failed. In other words, the geometric techniques enabled the researchers to visualize the recovery of cognition as it happened.
Enabling action
Cognition does not happen for its own sake. It enables predictions and behaviors. Research shows how the neural ensembles, and maybe even their dimensionally reduced patterns, enable this.
In a study in Science in August, for example, Sur’s lab led by former graduate student Ning Leow examined how mice, when they engaged in a task of judging movement, supplement what they see in the moment with a memory of what they just saw. Mice watched as, session after session, patterns of dots moved around a screen with at least some of them moving together, either left or right. The scientists hypothesized that one brain region (the thalamic lateral posterior nucleus, or LP) made a comparison between the current view and the most recent one to inform the judgement of the current motion trend made by another region (the anterior cingulate cortex, or ACC). The researchers therefore measured neural ensemble activity in both regions. Not only did their analysis validate that the LP neurons furnished the ACC with the comparisons, but also they sent that information via their axon projections in a dimensionally reduced, geometrically visualizable way. ACC neural ensembles also represented the information as a low-dimensional manifold.
These findings that the ostensibly complex chattering of neurons often boils down to a readily interpretable, low-dimensional package, suggest it might not just be a happy convenience for neuroscientists, but also a signal that brain regions use themselves. Maybe neural ensembles work this way because it enables the brain to quickly share cognitively relevant conclusions to drive actions.
And the idea that neural ensembles can generate manifolds could be a useful organizing principle for cognition, Wilson speculated, even beyond spatial navigation. Much as a cognitive map can enable the imagination of future hypothetical routes (as in the supermarket example above), a different manifold (where distance isn’t literally spatial but is based on some other similarity) could enable flexible predictions about a concept, such as “grandmothers” (Wilson chose the example to contrast it with the famous hypothesis of a “grandmother cell,” a neuron that integrated enough basic sensory computations from other neurons to singly represent one’s grandmother). A single cell’s representation could only be a snapshot that would have to be recalculated from the ground up to account for any change, but manifolds could allow for more flexible thought. A “grandmothers” manifold could enable you to compare one grandmother to another. Intersecting her position on the “grandmother” manifold with an “aging” manifold, Wilson said, one could picture grandma as she was five years ago or imagine how she will look five years from now.
"We could think of these things as being represented in these subspaces, and be able to move between these without having to relearn everything,” Wilson said.
New frontiers
The emerging understanding of how neural ensembles enable cognition has helped to feed an appetite for new experiments, new technologies and new hypotheses.
Sur’s lab has begun a campaign of testing whether distinct neural ensembles play a causal role in cognition by using optogenetics (a technology for controlling neural activity with light) to perturb them to see how it affects cognition. Indeed, Leow used that technique successfully in her study.
Wilson, who was an early pioneer in developing “tetrode” technology to record more than a hundred neurons simultaneously, now has his sights set on whole brains. In collaboration with MIT colleague Ed Boyden, Y. Eva Tan Professor, Wilson’s lab published a paper in Nature Methods in August demonstrating rapid imaging of the activity of nearly 20,000 neurons across the whole brain of a zebrafish.
How do these neural ensembles representing cognition emerge in the first place? In some cases, as with “place cells,” it seems inherent, but cognitive maps are learned. Sur believes the ensembles and resulting subspaces Osako found might form during learning. After exposure to cognitive challenges, a young brain might build the infrastructure needed for flexible reuse of ensembles and subspaces in the future.
Miller’s research has led him to theorize that large ensembles of neurons needed for cognition in the moment are quickly coordinated by brain waves. Those waves arise from the neural activity of circuits formed by learning (for instance, the rules for choosing an entrée from a menu) but waves enable that activity to organize a task force of neurons to use that learning in processing momentary sensory circumstances (the choices on a new menu). Notably, the mathematical rotations his lab saw in that distraction study correlated with actual rotating brain waves.
Few questions could be more complex than how our brains produce our thoughts, but with increasingly copious measurement and clever analysis, neuroscientists are making headway in our heads.

