← Latest papers
🤖 machine learning

FloDR: An invertible dimensionality reduction method based on a normalising flow

FloDR is an invertible dimensionality reduction method based on normalizing flows that preserves high-dimensional information by retaining unused coordinates, enabling the generation of diagnostic visualizations like conditional spread and hidden contrast to quantify the reliability and information loss of 2D embeddings.

Original authors: Abdallah Baraka, Daniel Probst

Published 2026-07-30
📖 5 min read🧠 Deep dive

Original authors: Abdallah Baraka, Daniel Probst

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

Imagine you are trying to fit a giant, three-dimensional sculpture into a flat, two-dimensional photograph. No matter how you turn the sculpture, some parts will overlap, some distances will stretch, and some details will get squished out of existence. This is the daily struggle of data scientists working with "high-dimensional data." Whether it's millions of pixels in an image, thousands of chemical reactions, or the complex genetic code of a single cell, this information lives in a world with hundreds or even thousands of directions. To make sense of it, we use "dimensionality reduction" to squash it down onto a flat map we can actually see.

But here's the catch: when you squash a 3D object into 2D, you lose information. Traditional tools like t-SNE or UMAP are like skilled photographers who take a great picture, but they throw away the "depth" data. Once the photo is taken, you can't tell if two dots that look close together are actually neighbors in the real world, or if they just happened to land on top of each other by accident. You also can't tell how much of the original object's shape is hidden behind the flat surface. Scientists have long worried that people are reading too much into these flat maps, guessing at distances and groupings that the map simply cannot support. The big question has been: Can we make a map that looks good, preserves the big picture, and also tells us exactly what we don't know?

Enter FloDR, a new method that acts less like a camera and more like a magical, reversible projector. Instead of just taking a snapshot and throwing away the rest of the data, FloDR uses a special kind of mathematical engine called a "normalizing flow." Think of this engine as a stretchy, transparent sheet that can be folded and twisted to flatten the data, but with a superpower: it never tears or loses the fabric. It keeps the "depth" information safe in a hidden pocket.

The paper introduces FloDR as a way to create these 2D maps while keeping a secret backup of all the lost information. When you look at the map, you see the first two coordinates, just like a normal picture. But underneath the hood, FloDR remembers the other D2D-2 dimensions (the "residuals"). Because the math is perfectly reversible, the authors can run the map backward to ask questions like, "If I pick this spot on the map, how much of the original data is still a mystery?" or "How much information about a specific label (like a cell type) did we accidentally throw away?"

The researchers found that FloDR is a strong competitor to the most popular tools out there. On four different benchmark datasets—including images of handwritten digits and chemical reaction data—FloDR managed to keep the local neighborhoods (the small groups of similar things) almost as well as the best existing methods, while doing a much better job at preserving the global structure (how the big groups relate to each other). In fact, on the datasets tested, FloDR was better than UMAP at balancing both local and global structure simultaneously.

However, the paper is careful not to claim FloDR is perfect at everything. It explicitly notes that if your only goal is to keep tiny local neighborhoods perfect, another tool called openTSNE is still slightly better. FloDR also admits that while it can project new, unseen data points onto the map in a single instant, those points might not land in the exact right local neighborhood unless you run a quick extra optimization step. But for the most part, FloDR offers a "best of both worlds" scenario: a map that looks right, feels right, and comes with a built-in "truth meter."

This truth meter is the paper's most playful and powerful feature. FloDR generates two special "diagnostic fields" that you can paint over the map:

  1. Conditional Spread: Imagine a fog that gets thicker in certain areas. This fog tells you how much the original data varies at that spot. If the fog is thick, it means the map has squished together things that were actually very different in the real world.
  2. Hidden Contrast: This is like a "secret decoder ring." It tells you how much information about a specific label (like "is this a cancer cell?") is hidden in the parts of the data you can't see. If the hidden contrast is high in a spot, it means the 2D map is hiding a big difference between the groups sitting there.

Crucially, the authors didn't just guess these values; they tested them rigorously. They split their data, trained the map on one part, and then tried to predict the other part to see if the diagnostic fields were actually telling the truth. They found that for most datasets, these fields passed the test with high confidence. For example, on a dataset of human fetal bone marrow cells, the hidden contrast was certified with a p-value of 0.01, meaning the signal was very strong and not just random noise.

In the end, FloDR doesn't just give you a pretty picture; it gives you a picture with a manual that explains its own limitations. It shows you where the map is trustworthy and where it's just an illusion. By keeping the "residual" data safe and using a reversible mathematical trick, it allows scientists to see not just the shape of their data, but also the shadows it casts, ensuring they don't draw conclusions the projection was never able to support.

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 →