Imagine a climate model running overnight on a research supercomputer. By morning, it has produced a simulation containing terabytes of data spanning temperature fields, pressure gradients and wind velocities across space and time. The simulation ran beautifully. The science worked. But now comes the hard part: storing, sharing and learning from the output.

This challenge is not only theoretical; it has important practical implications. In fields ranging from medicine and physics to climate science, advances in computing power have made it possible to process and learn from vast datasets. However, this work is still constrained by physical infrastructure. 

Huge files are difficult to share, slow to transfer and expensive to store. And when it comes to training machine-learning models on that data, memory bandwidth and capacity are significant limiting factors. A dataset that can’t be processed efficiently becomes less useful, no matter how much signal lies under the surface.

These constraints slow down research, but they also shape what is attempted. In fields that generate multidimensional data, many teams work with subsets or avoid producing the highest-fidelity outputs because they are so difficult to manage. The result is a quiet but consequential form of scientific friction.  

The numbers behind the simulation

Before we look at ways to reduce this friction, it’s useful to step back and consider what this scientific data really is. 

To the average observer, a weather simulation looks like a moving map, and a CT scan looks like an image of the human body. These are visual representations, and it’s natural to think of them as nothing more than pictures. But to a computer, these datasets are a structured collection of numbers arranged across multiple dimensions.

A two-dimensional photograph is a grid of pixel values. A three-dimensional medical scan is a stack of these grids that forms a volume. Add the axis of time, and the volume becomes a sequence of volumes, effectively a four-dimensional object. Add multiple physical variables, and the dimensionality increases further.

What makes managing these scientific datasets possible is their mathematical structure. The numbers are not scattered randomly. They sit on organized grids: latitude and longitude in weather models, spatial coordinates in medical scans, time steps in simulations. Neighboring values tend to be related, patterns emerge and regions evolve smoothly.

This underlying organization is what mathematicians call a tensor: a multi-dimensional array of numbers arranged in a grid. 

Tensors often contain correlations across space, time and variables. They have an internal structure that can be represented more compactly than their raw size suggests. For Rafael Ballester-Ripoll, Associate Professor of Data Science and Machine Learning at IE University, that structure is the starting point for overcoming the challenges posed by large datasets.

Compression is learning

A common idea in scientific computing is that compression is a form of learning. In order to make a dataset smaller without distorting what matters, any computing method must first learn its internal structure: how its values relate across space, time and variables. Ballester-Ripoll applies that principle to multi-dimensional scientific data using tensor methods. Tensor methods are not new in the world of applied mathematics, but applying them to dataset compression is an innovative approach.

One example of this concept in action is TTHRESH, Ballester-Ripoll’s method for compressing three-dimensional visual data such as medical tomography and turbulence simulations. It begins by transforming the raw 3D grid into a representation that separates dominant structure from fine detail. In the new representation, the information is no longer spread evenly and tends to concentrate in certain areas. In the paper’s visualizations, this appears as a “hot corner,” where a relatively small number of coefficients carry most of the signal while the rest capture progressively finer variations.

*Hot corner visualizations here* ?

TTHRESH then encodes the transformed coefficients, storing the largest terms first and progressively adding smaller corrections only as needed. Crucially, it does so with explicit error control. The result is a smaller file, reconstructed within a predefined error tolerance.

Error-bounded compression itself is not new, nor are tensor decompositions. What distinguishes TTHRESH is the integration: combining tensor-based structure extraction with information-theoretic encoding, while preserving error tolerance throughout the process. As Ballester-Ripoll notes, "The whole idea of bounding the error had been done many times before, but we were the first to do it with tensors and with entropy coding. And that combination turned out to be very, very successful."

By bringing these concepts together in a scalable method for high-dimensional scientific data, researchers can work with smaller files, but also controlled, reproducible approximations that remain usable for scientific conclusions that require accuracy.

From storage to computation

But storage is only half the story. Once datasets take shape in 3D, 4D and beyond, another constraint is computation. The GPU memory required to train and run machine learning models can be restrictive. For large medical volumes or time-varying simulations, that limit can determine what models are feasible in the first place.

This is where Ballester-Ripoll’s work moves from compression for storage management to compression as a way of reducing the computational burden of working with high-dimensional data. In a paper he co-authored, "Cherry-Picking Gradients: Learning Low-Rank Embeddings of Visual Data via Differentiable Cross-Approximation," compression becomes a computational strategy. 

To learn from a 3D dataset with a clear internal structure, it is not always necessary to process every single voxel (like a pixel, but in 3D). Instead of training models directly on dense volumes, where every voxel must be loaded and processed, tensor-based methods approximate those volumes with low-rank representations. 

In practical terms, this means describing a massive dataset through a smaller set of interacting components. Computation then operates on that compact structure rather than on every grid point individually. The novelty lies in how the method learns a low-rank tensor representation without having to materialize the full 3D volume in memory, using adaptive sampling to estimate the training signal from only a fraction of the data.

"When the data is smaller, sometimes it's smaller by several orders of magnitude," says Ballester-Ripoll. "You're able to do operations much faster, from the most classical descriptive statistics to more complicated things, like passing the data through a neural network."

The result is faster training and greater practical feasibility. High-resolution medical datasets, such as those used for pulmonary fibrosis prognosis and brain tumor analysis, can be processed without requiring impractical GPU memory budgets. Compression here becomes a way to scale learning itself.

Making four-dimensional data interactive

Ballester-Ripoll’s current research has shifted from shrinking datasets to changing how scientists interact with them, particularly when a time dimension is included. 

Imagine a 4D weather simulation depicting the formation of a storm. "You'd like the user to be able to have a slider to quickly select a specific time step and see immediate results," he explains. But in this example, the bottleneck is not just file size but latency. The traditional approach is to treat each time step independently. Whenever the slider lands at a point in time, that full frame is decompressed from scratch. The method works, but it requires the same heavy computing cost each time. 

The path forward that Ballester-Ripoll envisions borrows from an idea established in video compression. "A fruitful principle in computer science is that reusing your previous computations is going to be fantastic because it means you can be so much faster," he says. 

Applying this approach to high-dimensional scientific data, instead of reconstructing each time step in isolation, the computer can exploit similarities between neighboring frames in simulations.

Ballester-Ripoll’s idea is to treat compression as learning, as a way of training a model. Instead of calculating the compressed form in one step, the process starts with an initial approximation and improves it gradually, reusing work from previous time steps. 

The goal is that rather than rebuilding each moment in a simulation from scratch, the system carries information forward. Moving through a 3D simulation would become less like loading separate files and more like scrubbing through a video.

"If you can hold more data, then it means your time steps can be denser in time. So instead of every hour, maybe you can have results every five minutes or every minute. This means you are suddenly able to predict what's going to happen and know the difference between the state of the weather in one hour versus one hour and one minute. I think that can be very illuminating," he explains.

Scaling science responsibly

The theme that runs through Ballester-Ripoll’s work is that data representation is becoming an infrastructure issue for modern science. As datasets grow in resolution and dimensionality, the cost of pushing them through memory and across networks becomes increasingly restrictive. 

The benefits of techniques that reduce redundant storage and limit unnecessary memory traffic are far-reaching. By operating on structured, compact representations rather than dense grids, they reduce the volume of data that has to be loaded, copied and processed. The energy savings of any single workflow may be modest, but at scale (across multiple climate modelling centers, medical imaging pipelines and physics simulations), more efficient representations influence the total computational footprint of scientific research. 

Compression of data has evolved from a question of technical optimization to a necessary part of responsible computational practice.

Ballester-Ripoll frames this as a question of where the heavy lifting should happen. “At some point you're going to have to crunch those numbers,” he says. “Either that or you just have to send massive datasets around and work with them. There's a big benefit in terms of energy and sustainability in doing the computation in the right place and at the right moment.” 

"A lot of methods are asymmetric in the sense that they push all the heavy lifting to a very powerful machine that has huge memory resources, huge GPUs, etc.," he notes. "They execute a one-time, super expensive process. And by doing that, they ensure that later on, all the users of that dataset will greatly benefit because they will have a much easier time."

The analogy he reaches for is familiar from modern AI: training can be expensive, but the value comes from making the resulting model easy to use. "It has a large footprint, but then everyone else just uses them for inference, which is orders of magnitude cheaper. So yes, there's a footprint, but I think naturally we are shifting the complexity to where it should be."

That logic connects directly to open science. When datasets are too large to move, they are often not shared. Multi-terabyte outputs stay where they were produced, accessible only to those with the infrastructure to store and process them. Researchers downsample, subset or avoid generating higher-fidelity simulations because the practicalities of sharing and analysis are prohibitive. 

The friction here is significant: it shapes what science is attempted and who can participate. Better representations can lower that barrier by speeding up workflows and making higher-resolution datasets worth producing and working with in the first place. 

If only a few centers can access raw datasets, they retain a structural advantage while others struggle to reproduce, explore or extend their work. Making data smaller and more usable goes beyond convenience; it is a foundation for sustainable collaboration, scrutiny and scientific progress. 

  • A diverse group of people posing together in a professional setting.
  • A motivational phrase encouraging individuals to empower their entrepreneurial spirit.
  • A motivational quote encouraging innovation with a proactive mindset.
  • A message emphasizing the importance of cherishing diversity in people, mind, and experience.
  • This image features a motivational phrase emphasizing a humanistic approach in a stylish font.