Fredrik Kjolstad

Fredrik Kjolstad

Stanford University
6 previous affiliations
8Machine learning papers tracked by Lacuna
Is this you?

Research Overview

Fredrik Kjolstad focuses on high-performance computing, domain-specific programming languages, and hardware-software co-design. His early work addressed data communication overheads in parallel systems before shifting toward programming abstractions that bridge the gap between complex mathematical logic and efficient hardware execution. Recently, he has contributed to agile methodologies for designing coarse-grained reconfigurable accelerators and compilers.

Research Trajectory

Kjolstad’s early research addressed the performance bottlenecks associated with data movement in parallel computing environments, specifically focusing on the Message Passing Interface (MPI). In high-performance applications, packing noncontiguous data into contiguous communication buffers often consumes a significant portion of execution time. As the first author of Automatic datatype generation and optimization (2012), Kjolstad developed an algorithm and accompanying tool to automate the transformation of complex, manual packing codes into standard MPI Datatypes. This work allowed sophisticated hardware to retrieve data directly from application data structures, reducing the error-prone nature of manual specification. Building on this optimization of communication overheads, he subsequently contributed to MPI datatype processing using runtime compilation (2013). This research explored runtime compilation techniques to generate efficient pack code at commit time, bypassing the high overheads of traditional pack-time interpretation.

Following his work on MPI optimizations, Kjolstad’s focus shifted toward the design of domain-specific languages (DSLs) that simplify the implementation of complex mathematical models without sacrificing hardware performance. This transition is most prominently marked by his first-authored work on Simit: A Language for Physical Simulation (2016). Physical simulations traditionally require developers to choose between high-level, readable languages that suffer from poor performance, and low-level, labor-intensive implementations. Simit introduced a programming model that naturally describes physical systems using linear algebra while efficiently translating these operations onto linked data structures like meshes. This approach significantly reduced the translation costs between mathematical abstractions and machine-level execution, aligning with the broader research direction of Decoupling Algorithm Logic from Hardware Execution Schedules.

In subsequent years, Kjolstad participated in large-scale collaborative efforts to rethink hardware design methodologies, particularly in response to the slowing of Moore’s law and the rising need for domain-specific hardware specialization. He contributed to Creating an Agile Hardware Design Flow (2020), a project that adapted agile software development practices to hardware engineering. Rather than using a traditional waterfall model, this work demonstrated a complete, iterative flow from applications expressed in high-level DSLs—such as Halide—down to generic coarse-grained reconfigurable arrays (CGRAs).

This agile hardware-software co-design trajectory culminated in his participation in AHA: An Agile Approach to the Design of Coarse-Grained Reconfigurable Accelerators and Compilers (2023). As part of a broad consortium of researchers, Kjolstad helped systematize the procedure for updating compilers and accelerators in tandem. The AHA methodology leverages new programming languages and evaluation tools to enable flexible, evolvable hardware specialization, ensuring that the software stack can properly exploit custom CGRA architectures.

Current Directions

The most recent thematic evidence indicates a strong focus on the performance and memory challenges inherent in sparse computations and high-dimensional data. Recent work investigates the research direction of Avoiding Memory Explosion in Sparse Tensor Decomposition and the broader area of The Sparse Dense Performance Crossover. This involves addressing the "sparsity paradox," where the irregular structure of highly sparse data—such as zeroed-out weights in neural networks or hypersparse multi-way tensors—fails to map efficiently onto the rigid, high-throughput design of modern parallel hardware like GPUs.

To resolve these bottlenecks, Kjolstad's recent thematic interests also encompass the area of Load Balancing for Irregular and Sparse Parallel Workloads and the research direction of Randomized and Sparse-Aware Tensor Decompositions. Furthermore, work in the theme of Operator Fusion for Memory-Bound Deep Learning highlights an ongoing commitment to optimizing memory bandwidth and computational efficiency for large-scale machine learning and data science workloads.

Profile updated

See something wrong? Report a mistake