“Seeing how these anatomical and physiological connections map to behavior is crucial for understanding the mechanisms of disease and designing interventions that will support better outcomes.”
Unleashing the Krakencoder
Features
Mapping the connections between the brain’s structure and function.
The early history of neuroscience research teems with mind-altering incidents that illuminated how the brain operates. Like Phineas Gage, a railroad worker who underwent an instant personality change when an explosion sent a meter-long iron rod through his left frontal lobe. Or HM, a young man whose hippocampus was removed to treat his intractable epilepsy — leaving him completely unable to form new memories of people, places or events.
These legendary accounts provided tantalizing evidence that different brain regions govern specific functions — from social interaction to memory consolidation. But scientists are still learning about how these regions interact to guide how we think and behave.
The modern approach to mapping the brain’s neural circuitry relies more on imaging machines and computers than on brain-penetrating projectiles. But the work is no less adventurous. Researchers at Weill Cornell Medicine are using innovative computational tools — including a program they call the Krakencoder — to analyze treasure troves of imaging data in an effort to comprehensively chart the brain’s structural and functional connections.
“Seeing how these anatomical and physiological connections map to behavior is crucial for understanding the mechanisms of disease and designing interventions that will support better outcomes,” says Dr. Amy Kuceyeski, professor of mathematics in radiology and in neuroscience at Weill Cornell Medicine.
A surprising mismatch
The brain is an assembly of complex networks of interconnected neurons whose collective activity drives our every action. “But we’re still just scratching the surface of how these brain networks relate to the tasks of everyday life, like walking and talking and thinking,” says Dr. Kuceyeski.
Tracing those networks is a major undertaking. Some approaches focus on the physical circuitry — the brain’s so-called structural connectome. Others explore the functional connectome, tracking neural activation patterns to identify those brain regions that display synchronized activity during specific tasks or at rest.
The approaches are complementary and, in theory, the two connectomes should overlap. After all, brain regions that are “wired together” should also “fire together,” because those that make physical contact should display associated activation. “But it turns out that’s not usually the case,” says Dr. Kuceyeski. Studies comparing the brain’s structural and functional connectomes show a correlation that is unexpectedly low.
Studies comparing the brain’s structural and functional connectomes show a correlation that is unexpectedly low.
What might explain the mismatch? For one, Dr. Kuceyeski says, “Everybody uses different methods to take pictures of the brain’s networks.” For example, when employing magnetic resonance imaging (MRI), different methods for processing the same raw images can generate different connectomes.
Dr. Kuceyeski likens this patchwork approach to examining an elephant in a dark room, where one person is touching the trunk, somebody a leg, someone else an ear. Only when these different views are combined does a complete picture of the whole elephant emerge.
Unleashing the Krakencoder
To get a more comprehensive representation, Dr. Kuceyeski and her team built a tool that could take the structural and functional connectomes produced by all of these disparate approaches and collapse them together to produce a more unified interpretation.
Enter the Krakencoder. “In my head, I saw it as some sort of monster with multiple arms that could reach out and grab different brain representations and digest and congeal them into one unified connectome,” says Dr. Keith Jamison, a staff associate in Dr. Kuceyeski’s lab. The resulting program, an autoencoder that compresses and reconstructs more than a dozen different “flavors” of input data, thus came to be called the Krakencoder, in honor of the mythical, multitentacled sea creature.
The team trained the Krakencoder on data collected from 700 participants in the NIH’s Human Connectome Project (HCP). As part of that inaugural study, volunteers between the ages of 22 and 35 underwent extensive structural and functional MRI scanning.
The researchers found that the Krakencoder allowed them to take an individual’s structural connectome and correctly generate that person’s functional connectome (and vice versa) about 20 times more accurately than previously published approaches. Their findings appeared in June in the journal Nature Methods.
The Krakencoder’s combined and compressed representation also allowed the team to predict the individual’s age, gender and the scores received on a battery of memory and cognitive tests administered along with the imaging scans. These scores, Dr. Kuceyeski notes, are notoriously difficult to gauge based on brain imaging alone.
Such information can be critical for assessing how disease or injury affects brain function. For example, Christie Gillies, a student in the Kuceyeski lab, has found that the functional connectome produced by the Krakencoder does a better job at predicting an individual’s motor and languages scores following a stroke than does looking at the person’s original fMRI.
Making those connections is something that artificial intelligence (AI) is really good at. “Just like ChatGPT predicts the next word in a sentence, AI can take high-dimensional connectome data extracted from MRIs and predict some outcome, like an individual’s cognitive score,” says Dr. Kuceyeski.
“In my head, I saw it as some sort of monster with multiple arms that could reach out and grab different brain representations and digest and congeal them into one unified connectome.”
In sickness and in health
Research groups participating in the HCP are continuing to collect detailed imaging data that covers the entire human lifespan, from childhood through old age — including neonates and centenarians. Other participating institutions, meanwhile, are focusing their efforts on cohorts with specific neurological disorders, such as Alzheimer’s disease or epilepsy. Having all of this data made publicly available through the HCP “has really catapulted the whole field forward,” says Dr. Kuceyeski, allowing any research group to explore how the connectome changes over time or with disease.
For her part, Dr. Kuceyeski is eager to dig deeper into the female connectome. “Keith has taken the Krakencoder and fine-tuned it to better represent the signatures of male and female brains,” she says. By unleashing this modified version of the Krakencoder on the HCP lifespan data, she and postdoctoral fellow Ke Huang, along with colleagues at the Women’s Brain Health Initiative, are beginning to examine how women’s connectomes respond to fluctuating hormones and aging — through puberty, pregnancy and menopause.
The results could point toward new ways to treat conditions like pelvic pain, postpartum depression or the cognitive fog associated with menopause. “If you can identify a specific brain network whose activity is correlated with these conditions, you could devise an intervention that would modulate or suppress the connection and potentially improve the symptoms,” says Dr. Kuceyeski. “That’s the Holy Grail.”
A previous version of this story ran in the Weill Cornell Medicine online newsroom.
Fall 2025 Front to Back
-
From the Dean
Message from the Dean
If we keep our focus on what we know to be right and on the people who rely on us, then change itself becomes our ally. -
Features
Cells as Medicine
Breaking boundaries in cancer treatment. -
Features
Unleashing the Krakencoder
Mapping connectivity in the brain. -
Features
Turning the Tide on Tuberculosis
Harnessing better drugs and potential vaccines. -
Notable
New Chair of Neurological Surgery
Dr. J Mocco has been appointed chair of the Department of Neurological Surgery and neurosurgeon-in-chief. -
Notable
Dateline
Dr. Puja Chebrolu studies how screening in pregnancy affects long-term diabetes risk. -
Notable
Overheard
Weill Cornell Medicine faculty members are leading the conversation about important health issues across the country and around the world. -
Notable
News Briefs
Notable faculty appointments, honors, awards and more — from around campus and beyond. -
Grand Rounds
A Rousing Reprise
After a COVID pandemic hiatus, Weill Cornell Medicine’s Music & Medicine Initiative is back in the spotlight. -
Grand Rounds
Breathing Easier
A surgical solution has improved life for a busy chef living with a common genetic cardiac condition. -
Grand Rounds
News Briefs
The latest on teaching, learning and patient-centered care. -
Discovery
Power Restored
How energy shortages contribute to diverse brain disorders. -
Discovery
Insights into Bladder Cancer Treatment for Immunotherapies
A new study of BCG, the first immunotherapy against cancer, maps the treatment’s broader effects outside the bladder. -
Discovery
Findings
The latest advances in faculty research, published in the world’s leading journals. -
Alumni
Profiles
From eliminating parasitic diseases to developing new therapeutics for auto-immune and inflammatory disorders, our alumni are making an impact. -
Alumni
Notes
What’s new with you? Keep your classmates up to date on all your latest achievements with an Alumni Note. -
Alumni
In Memoriam
Marking the passing of our faculty and alumni. -
Alumni
Moments
Marking celebratory events in the lives of our students and alumni, including the White Coat Ceremony and orientation reception. -
Second Opinion
Letting in Light
How can doctors restore trust in medical and scientific expertise? -
Exchange
A Smarter Image
A gynecologic surgeon and a biomedical engineer team up to create better solutions for women’s health. -
Muse
Holding Space
Dr. Ian Kwok’s ceramic practice informs his work as a palliative care specialist. -
Spotlight
Leading the Biomedical Revolution
Two physician-scientists collaborate on a therapy that’s revolutionary—and life-saving.