Sebastian Baunsgaard
3 previous affiliations
- Technische Universität Berlin2023–2025
- PhD student · 2023–2025
- Graz University of Technology2020–2023
- PhD student · 2020–2023
- IT University of Copenhagen2015–2020
- MS student · 2015–2020
Research Overview
Sebastian Baunsgaard focuses on workload-aware compression and high-level compilation techniques for data-centric machine learning pipelines. His work bridges the gap between low-level kernel optimization and high-level declarative systems, specifically within the context of linear algebra and large-scale data processing. Currently a software engineer at Databricks, his research trajectory has evolved from optimizing end-to-end data science lifecycles to developing novel "morphing" compression frameworks that allow lossless data transformations directly on compressed representations.
Research Trajectory
The early stages of Baunsgaard’s research were closely tied to the development of Apache SystemDS, an open-source system designed to manage the entire data science lifecycle. In this period, his work focused on the challenges of "boundary crossing" between disparate tools in exploratory data science. By contributing to a unified, declarative framework, he addressed the inefficiencies inherent in moving data between cleaning, integration, and model training phases. This work established a foundation in optimizing heterogeneous tensor models and developing compilers capable of automatic intermediate result reuse.
In 2020, Baunsgaard explored the intersection of hardware efficiency and machine learning through a study of Automatic Speech Recognition (ASR) training. This research investigated how different hardware tiers—ranging from consumer-grade rigs to high-end enterprise servers—impacted training efficiency. The findings emphasized that while high-end hardware provides initial speedups, the performance gap narrows as accuracy targets increase, suggesting that meaningful algorithmic research in ASR is viable outside of high-resource industrial environments.
Between 2021 and 2023, his focus shifted toward federated data systems and the specific challenges of exploratory data science on raw, distributed data. This period marked the transition toward his primary research contribution: workload-aware compressed linear algebra. He began addressing the limitations of existing compression schemes in ML systems, which often rely on lossy quantization that can negatively impact model convergence and accuracy. Baunsgaard proposed that lossless matrix compression could be integrated directly into linear algebra operations, allowing systems to fit larger datasets in memory and reduce I/O overhead without sacrificing precision.
His most recent work, culminating in 2025, introduces the concept of "morphing-based compression." This approach moves beyond static compression by allowing data to be re-organized into different workload-optimized formats as it moves through a pipeline. By "pushing" compression through feature engineering and training phases, this framework enables operations to be performed on compressed data without the need for expensive full decompression. This trajectory reflects a consistent move toward deeper integration of data structures and system-level optimizations to handle the increasing scale of modern ML workloads.
Current Directions
Following his doctoral work at TU Berlin, Baunsgaard has transitioned to industry, where he continues to apply his expertise in data structures and kernel optimization. His current interests remain centered on the practical implementation of workload-aware compression and the optimization of tight-loop kernels. This involves refining how high-level compilation techniques can be translated into low-level execution strategies that maximize instruction parallelism and minimize energy consumption.
A significant component of his recent collaborative work involves the investigation of numerical stability and the non-associative nature of floating-point arithmetic in linear algebra backends. This research highlights the discrepancies that arise when mathematically equivalent operations are executed on different hardware (e.g., Intel MKL vs. Nvidia CUDA), leading to potential vulnerabilities in model consistency across different deployment environments.
Representative Work
Baunsgaard’s contributions are most prominent in the development of compressed linear algebra and declarative ML systems. The following papers represent the core of his research output and technical focus.
In SystemDS: A Declarative Machine Learning System for the End-to-End Data Science Lifecycle, Baunsgaard contributed to the design of a system that treats the entire data science pipeline as a single optimization problem. As a key contributor to this work, he helped develop the heterogeneous tensor data model and the unified optimizing compiler. This research addressed the fragmentation of the data science stack, demonstrating that a declarative approach could enable cross-pipeline optimizations, such as the automatic reuse of intermediate computations, which are typically lost when switching between different specialized tools.
His work on hardware efficiency is exemplified by Training for Speech Recognition on Coprocessors. In this study, Baunsgaard conducted a comparative analysis of ASR model training across diverse hardware configurations. The paper provides an empirical basis for understanding the diminishing returns of high-end hardware in the context of specific accuracy targets, advocating for a more nuanced approach to hardware selection in speech recognition research.
The transition to compression-centric research is detailed in AWARE: Workload-aware, Redundancy-exploiting Linear Algebra. This work introduces a framework for performing linear algebra operations directly on compressed data by exploiting structural redundancies. Unlike traditional methods that decompress data before computation, the AWARE framework identifies opportunities to maintain compression throughout the execution of the workload, thereby reducing the memory footprint and improving cache efficiency for large-scale matrices.
The culmination of his work on compression is presented in Morphing-Based Compression for Data-Centric ML Pipelines. Here, Baunsgaard introduces "BWARE," a holistic framework that manages lossless compression across the entire ML pipeline. The core innovation is a "morphing" technique that allows the system to transform data between different compressed formats (such as various RLE or bit-packing schemes) based on the requirements of the current operation. This ensures that data remains in its most efficient form for the specific kernel being executed, significantly reducing the time required for data-intensive tasks like feature engineering and model training.
His doctoral thesis, Workload-aware compressed linear algebra for data-centric machine learning pipelines, synthesizes these contributions. It argues for the necessity of lossless compression in declarative ML pipelines to avoid the trust and convergence issues associated with lossy quantization. The thesis details the methods for integrating these compressed operations into existing systems, focusing on fitting data into available memory hierarchies and increasing instruction parallelism through lightweight compression schemes.
Finally, Baunsgaard participated in a collaborative study titled Adversarial Inputs for Linear Algebra Backends. This research identifies "Chimera examples"—adversarial inputs that exploit the slight numerical differences between various linear algebra libraries. By engineering inputs that trigger different results across backends like Intel MKL and Apple Accelerate, the work demonstrates that hardware-level implementation details can lead to conflicting predictions in the same model, raising important questions about the reliability of ML deployments across heterogeneous hardware.
Profile updated
Loading new papers…
Other researchers whose papers cluster into the same research directions — a proxy for overlapping technical interests and shared intellectual neighborhoods.
See something wrong? Report a mistake