← Latest papers
🔭 astrophysics

Microlensify: a Transformer Based Machine Learning Classifier for Microlensing Events Trained on TESS Light Curves

The paper introduces Microlensify, a physics-informed transformer-based variational autoencoder trained on TESS data that effectively identifies microlensing candidates, filters false positives, and accurately estimates event durations across diverse high-cadence surveys.

Original authors: Atousa Kalantari, Somayeh Khakpash, Sedighe Sajadian, Hosein Haghi, Willow Fox Fortino, Rosanne Di Stefano

Published 2026-08-21
📖 5 min read🧠 Deep dive

Original authors: Atousa Kalantari, Somayeh Khakpash, Sedighe Sajadian, Hosein Haghi, Willow Fox Fortino, Rosanne Di Stefano

Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer

In the vast, crowded streets of our galaxy, stars are so numerous that they often line up perfectly from our perspective on Earth. When a foreground star passes directly in front of a more distant background star, its gravity acts like a natural lens, bending the light of the background star and making it appear temporarily brighter. This phenomenon, known as gravitational microlensing, is a powerful tool for astronomers because it reveals objects that are otherwise invisible, such as faint, isolated stars or even free-floating planets that do not orbit any sun. However, finding these events is like searching for a specific type of cloud in a stormy sky; the brightening is often subtle, short-lived, and easily confused with other types of stellar behavior, such as a star pulsating or a binary system eclipsing its partner. To find these rare signals, astronomers need to sift through millions of light curves—the graphs that track how a star's brightness changes over time—and distinguish the unique signature of a gravitational lens from the noise of the universe.

A team of researchers has developed a new, highly efficient method to solve this problem using a sophisticated computer program called Microlensify. Instead of relying on traditional, slow mathematical fitting methods that struggle with the sheer volume of data, this team trained an artificial intelligence system to recognize the specific shape of a microlensing event. The system is built on a "transformer" architecture, a type of machine learning model originally designed to understand language but here repurposed to understand the patterns of light over time. What makes this approach unique is that the scientists did not just feed it raw data; they built the laws of physics directly into the training process. This means the AI not only learns to spot the event but also understands the physical rules governing how the light should behave, allowing it to reconstruct the event's timeline and estimate how long the lensing lasted with remarkable accuracy.

The researchers tested this system on data from the Transiting Exoplanet Survey Satellite, or TESS, a space telescope that scans almost the entire sky. While TESS was primarily designed to find planets by watching them cross in front of stars, its high-speed observations make it an excellent, if underutilized, tool for catching these fleeting microlensing events. The team trained their model on a mix of simulated events, created to mimic what a microlensing signal looks like in TESS data, and real light curves from a specific sector of the sky that contains a high density of stars. They then applied the trained model to millions of light curves from different data processing pipelines. The results were striking: the system successfully identified thousands of potential candidates, filtering them down to a manageable list of high-confidence events. In one test, it found a known microlensing event that had been flagged by a different space mission, proving that the model could recognize the signal even when the data came from a different source or had different characteristics.

However, the power of this tool lies not just in what it finds, but in what it reveals about the challenges of modern astronomy. As the researchers applied the model to millions of stars, they uncovered a surprising source of false alarms. They discovered that small asteroids crossing in front of stars can create sharp, brief peaks in the light curves that look almost identical to microlensing events. This finding is crucial for future surveys, as it highlights a specific type of confusion that must be accounted for when hunting for these elusive objects. The model also proved effective at identifying other types of variable stars, such as long-period pulsating stars and cataclysmic binaries, which often masquerade as microlensing candidates. By cross-referencing its findings with astronomical databases, the team was able to categorize these impostors, refining the list of true candidates to include only those stars that have not yet been classified or are known to be stable.

The success of Microlensify extends beyond the TESS mission. The researchers tested the model on data from ground-based telescopes in Chile, South Africa, and New Zealand, which observe the sky with different speeds and sensitivities than the space telescope. Despite these differences, the model correctly identified the vast majority of known microlensing events from these ground-based surveys, demonstrating that it has learned the fundamental shape of the phenomenon rather than just memorizing the specific data it was trained on. This ability to generalize across different instruments suggests that the tool can serve as a universal first filter for future, even larger surveys, such as those planned for the Nancy Grace Roman Space Telescope. By rapidly screening millions of stars and flagging only the most promising candidates, Microlensify allows astronomers to focus their time and resources on the events that are most likely to reveal new secrets about the invisible population of objects in our galaxy.

The study confirms that while the search for microlensing events is complex, the combination of high-cadence space data and physics-informed machine learning offers a clear path forward. The model does not just classify events; it reconstructs the light curves and estimates the duration of the lensing with high precision, providing immediate physical insights. The researchers have made their software available to the broader scientific community, ensuring that this new way of seeing the universe can be used by others to continue the hunt for the faint, hidden objects that shape our understanding of the cosmos. Through this work, the team has not only found new candidates but has also mapped the landscape of false positives, turning a chaotic search into a more precise and manageable endeavor.

Drowning in papers in your field?

Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.

Try Digest →