Science Highlight: Breakthrough Computing Method Speeds Up Big Calculations for Science and Engineering
June 18, 2025
By Linda Vu
Contact: cscomms@lbl.gov
Breakthrough:
Berkeley Lab researchers have developed a new, highly efficient method for building large mathematical structures known as H2 matrices. These matrices often arise in scientific applications such as solving partial differential equations (PDEs), integral equations, and other computational problems. By designing and implementing this method on graphics processing units (GPUs), the team achieved up to 1,000 times faster performance compared to previous approaches, making it possible to handle much larger problems using less memory and time. This breakthrough, which greatly expands the capabilities of scientific computing on modern hardware, was recognized with the Best Paper Science Highlight Slide: Construction of H2 Matrices on GPUsaward at the 2639th IEEE International Parallel & Distributed Processing Symposiumth IEEE International Workshop on Parallel and Distributed Scientific and Engineering Computing (IPDSEC 2025).
Background:
Fast and scalable construction of H2 matrices is crucial for modern scientific research because they are used to speed up advanced computational techniques, such as solving complex equations (PDEs), training machine learning models, and tackling challenging problems where scientists need to work backwards from data to discover causes (inverse problems). In areas like energy systems modeling and materials science, researchers often need to analyze very large datasets or run detailed simulations, such as designing new battery materials or optimizing power grids. The new sketching-based method—which uses compact, approximate representations (or "sketches") of large datasets to accelerate calculations—for building H2 matrices allows these calculations to be done much more quickly and efficiently—even for very large problems—by taking advantage of parallel computing on both CPUs and GPUs, scaling with linear complexity as problem size increases, and offering dramatic speedups over previous methods.
Breakdown:
This novel method uses a bottom-up, sketching-based algorithm that generalizes and improves upon previous techniques developed for HSS (Hierarchically Semi-Separable) matrices, enabling the construction of the more efficient H2 matrix format. The bottom-up approach systematically builds up the matrix structure from smaller blocks, allowing for better scalability and flexibility compared to traditional top-down methods. To achieve high performance, the algorithm is carefully implemented on GPUs. It optimizes data layouts to minimize memory transfer overhead and organizes computations into batches, allowing the GPU to process many tasks in parallel. The method specifically leverages batched dense linear algebra kernels and batched routines for extracting matrix entries, which maximizes GPU throughput and efficiency. This combination of algorithmic innovation and hardware-aware implementation enables the rapid construction of large H2 matrices, making advanced scientific simulations and data analyses much more practical.
Co-authors:
Wajih Halim Boukaram, Yang Liu, Pieter Ghysels, and Sherry Li.
Publication:
Wajih Halim Boukaram, Yang Liu, Pieter Ghysels, and Sherry Li, “Adaptive Sketching Based Construction of H2 Matrices on GPUs,” Proceedings of the 26th IEEE International Workshop on Parallel and Distributed Scientific and Engineering Computing (IPDSEC), 2025.
Funding:
SciDAC-5 FASTMath Institute.
About Berkeley Lab
Founded in 1931 on the belief that the biggest scientific challenges are best addressed by teams, Lawrence Berkeley National Laboratory and its scientists have been recognized with 16 Nobel Prizes. Today, Berkeley Lab researchers develop sustainable energy and environmental solutions, create useful new materials, advance the frontiers of computing, and probe the mysteries of life, matter, and the universe. Scientists from around the world rely on the Lab’s facilities for their own discovery science. Berkeley Lab is a multiprogram national laboratory, managed by the University of California for the U.S. Department of Energy’s Office of Science.
DOE’s Office of Science is the single largest supporter of basic research in the physical sciences in the United States, and is working to address some of the most pressing challenges of our time. For more information, please visit energy.gov/science.