NASA's AI Model Predicts Solar Eruptions Hours Before They Emerge

The sun speaks in languages we couldn't hear until recently.
NASA's COFFIES system detects magnetic signatures invisible to traditional observation, predicting solar eruptions hours before they occur.
Mark

So this system is essentially teaching a computer to predict solar storms by looking at magnetic data. How much earlier are we talking about?

Mimi

Hours, typically. That's the crucial window. A CME travels at speeds that can reach millions of miles per hour, but it still takes time to reach Earth. Those extra hours let power companies and satellite operators actually do something—reroute, shut down vulnerable systems, protect equipment.

Mark

And the system detects things we can't see with regular observation?

Mimi

Exactly. The magnetic signatures it picks up on are invisible to traditional telescopes. You could be looking at the sun and see nothing unusual, but the magnetic field is already twisted into a configuration that's about to snap. COFFIES learned to recognize those hidden patterns.

Mark

How does it learn? Is it just pattern matching from past events?

Mimi

It's trained on historical data—years of solar observations paired with the eruptions that actually happened afterward. The machine learns which magnetic setups tend to lead to nothing, and which ones are sitting on a knife's edge. It's learning the sun's language.

Mark

What happens if it gets it wrong? False alarms could be costly too.

Mimi

That's the real challenge. You need the system to be reliable enough that when it warns of an eruption, people actually listen and take precautions. Too many false alarms and operators stop trusting it. Too many misses and you've failed at the whole purpose.

Mark

So we're still in the early stages of this.

Mimi

Very much so. But the potential is enormous. Every solar cycle brings more activity, and our infrastructure is more dependent on satellites and power grids than ever before. A tool that can buy us a few extra hours of warning time could prevent billions in damage.

  • Coronal mass ejections — violent expulsions of solar plasma — can cripple satellites, collapse power grids, and disrupt communications across entire continents with little warning.
  • Traditional solar observation waits for visible signs: sunspots, flares, magnetic loops — but by then, the pressure has already built and the window for preparation has narrowed dangerously.
  • COFFIES detects hidden magnetic instabilities hours before an eruption becomes visible, tracing energy buildups in three dimensions to forecast not just whether a storm is coming, but when and how severe.
  • Trained on years of paired solar observations and eruption data, the system has learned to distinguish stable magnetic configurations from those on the verge of catastrophic release.
  • Airlines, power companies, and satellite operators now stand to gain critical hours of lead time — enough to reroute flights, stabilize grids, and shield infrastructure before the storm arrives.

For centuries, humanity has watched the sun with its eyes, waiting for visible signs of its fury. Now, a NASA machine learning system called COFFIES listens instead for the magnetic whispers that precede solar eruptions by hours — detecting what no human observer could see in time. In an age when satellites, power grids, and communications networks hang in the balance of space weather, this quiet act of algorithmic listening may prove one of the more consequential technological developments of our era.

The sun has always communicated through its eruptions — dark sunspots, sudden flares, the violent expulsion of plasma known as coronal mass ejections. But its most important messages arrive before any of that becomes visible, written in magnetic signatures too subtle and too fast-moving for traditional observation to catch in time. COFFIES, a NASA machine learning system whose name unfolds as Coronal Forecasting using Flare Indicators and Eruption Signatures, was built to read exactly those messages.

Where human observers watch for what the sun shows, COFFIES listens for what it conceals — the gradual, invisible buildup of magnetic energy in the sun's active regions, where twisted and tangled field lines store enormous tension before snapping into a solar storm. The system analyzes this energy accumulation in three dimensions, learning to recognize which configurations are stable and which are approaching catastrophic release. The result is a forecast that arrives hours earlier than anything visible observation could provide.

Those hours matter enormously. A major CME striking Earth's magnetosphere can knock out GPS satellites, scramble communications networks, and trigger cascading blackouts across continents. Power companies need advance warning to adjust their grids; airlines flying polar routes need time to reroute away from radiation exposure. The difference between hours of warning and minutes can be the difference between a managed disruption and a genuine crisis.

NASA developed COFFIES by training the model on years of solar data matched against the eruptions that followed, allowing it to internalize the subtle magnetic patterns that precede major events. As the current solar cycle intensifies, the system's value only grows. The sun will keep erupting — the question has always been whether we would learn to see it coming before it was already too late.

The sun is always talking. For centuries, we've listened with our eyes—watching for the dark spots that cross its face, the sudden flares that brighten its edges. But the sun speaks in languages we couldn't hear until recently. Now, a machine learning system called COFFIES is learning to listen to the magnetic whispers that come hours before the visible eruptions.

COFFIES—the name stands for Coronal Forecasting using Flare Indicators and Eruption Signatures—works by analyzing patterns in solar magnetic data that human observers would miss or take too long to spot. The system detects the buildup of magnetic energy in the sun's atmosphere before that energy releases as a coronal mass ejection, or CME, the violent expulsion of plasma and magnetic fields that can slam into Earth's magnetosphere. When a major CME arrives, it can knock out satellites, disrupt power grids, and scramble communications networks across entire continents. The earlier we know one is coming, the more time we have to prepare.

What makes COFFIES different is its ability to sense the precursors—the hidden signatures of instability that precede an eruption by hours. Traditional solar observation relies on what we can see: the shape and size of sunspots, the brightness of flares, the geometry of magnetic loops. COFFIES ingests magnetic field measurements and learns to recognize the patterns that tend to lead to eruptions. It's not watching for the explosion; it's listening for the pressure building behind the door.

The system works by examining how magnetic energy accumulates in active regions on the sun's surface. These regions are where the sun's magnetic field becomes twisted and tangled, storing enormous amounts of energy. When that tension becomes too great, it snaps—and the result is a solar storm. COFFIES traces these energy buildups in three dimensions, mapping not just where the danger lies but how it's likely to evolve. By understanding the trajectory of that magnetic stress, the system can forecast not only whether an eruption will happen, but roughly when and how severe it will be.

The implications are substantial. Satellites that provide GPS, weather forecasting, and communications are vulnerable to the radiation and electromagnetic disturbances that CMEs produce. Power companies need hours of warning to adjust their grids and prevent cascading blackouts. Airlines flying polar routes need to know when to reroute flights to avoid radiation exposure to crew and passengers. A few hours of additional warning time can mean the difference between a managed inconvenience and a genuine crisis.

NASA researchers developed COFFIES by training the machine learning model on years of solar observations paired with the eruptions that followed. The system learned which magnetic configurations tend to be stable and which are on the verge of catastrophic release. Over time, it became better at recognizing the warning signs—the subtle shifts in magnetic topology, the particular patterns of energy concentration that precede a major event.

The work represents a shift in how we approach space weather forecasting. Rather than waiting for the sun to show its hand, we're learning to read the tension in its posture. As solar activity continues to intensify in the current cycle, tools like COFFIES become increasingly valuable. The sun will keep erupting; the question is whether we'll have enough time to see it coming.

The system recognizes magnetic configurations on the verge of catastrophic release before they erupt
— NASA researchers developing COFFIES
Contattaci Domande frequenti