Alvin Cheung
2 previous affiliations
- Assistant Professor · 2019–2026
- University of Washington2015–2019
- Assistant Professor · 2015–2019
Research Overview
Alvin Cheung focuses on the intersection of data management, programming languages, and software systems. His work spans from optimizing database-backed applications and specialized hardware accelerators to developing structure-aware machine learning models for code generation. Recently, his research has expanded to address the integration of large language models into data systems and the evaluation of frontier AI capabilities.
Research Trajectory
His early research addressed the performance and scalability of database systems. He explored techniques for the Automatic Partitioning of Database Applications (2012) and subsequently investigated methods for Optimizing database-backed applications with query synthesis (2013). This foundational work aimed to improve the efficiency of data-intensive applications by bridging the gap between application logic and database execution.
Expanding into network programmability, he contributed to Packet Transactions: High-Level Programming for Line-Rate Switches (2016). This work introduced Domino, a C-like language and compiler designed to enable programmers to write complex data-plane algorithms. By providing a high-level abstraction that compiles efficiently to hardware, this approach maintained line-rate performance for stateful algorithms—a significant challenge for programmable switches at the time.
Moving into the early 2020s, his focus broadened to include machine learning systems and program synthesis. With collaborators, he explored the synthesis of visualization code in PlotCoder: Hierarchical Decoding for Synthesizing Visualization Code in Programmatic Context (2021). In the area of Activation-Aware Memory Optimization for Large Model Training, his group developed GACT: Activation Compressed Training for Generic Network Architectures (2022). This plug-and-play framework reduces the memory footprint of neural network training by adaptively compressing activations, achieving substantial memory reductions and enabling significantly larger batch sizes across diverse architectures like CNNs, Transformers, and Graph Neural Networks.
In 2024, his work on compilers and specialized hardware continued with Tenspiler: A Verified-Lifting-Based Compiler for Tensor Operations (2024), which leverages verified lifting to translate legacy code into optimized tensor operations, helping software keep pace with rapidly evolving hardware accelerators. Concurrently, he advanced the research direction of Structural Masking for Source Code Models through AST-T5: Structure-Aware Pretraining for Code Generation and Understanding (2024). This pretraining paradigm injects structural awareness into language models by masking subtrees of Abstract Syntax Trees (ASTs) rather than random text spans, outperforming similar-sized models on generation and transpilation tasks. He also contributed to the Evaluation of LLMs on Syntax-Aware Code Fill-in-the-Middle Tasks (2024). Returning to data management systems, he developed Spatialyze: A Geospatial Video Analytics System with Spatial-Aware Optimizations (2024) to handle large-scale geospatial video datasets efficiently.
Building on the intersection of LLMs and software engineering, he introduced the Argus framework in Automated Discovery of Test Oracles for Database Management Systems Using LLMs (2025). This system combines the generative capabilities of language models with formal SQL equivalence solvers to identify critical logic bugs in major database systems like MySQL, PostgreSQL, and DuckDB. He further refined structure-aware pretraining in Structure-Aware Fill-in-the-Middle Pretraining for Code (2025), demonstrating that masking complete syntactic units improves real-world code editing performance while preserving the model's ability to write code from scratch.
Most recently, his research addresses the infrastructure demands of autonomous agents. He participated in developing Continuum: Efficient and Robust Multi-Turn LLM Agent Scheduling with KV Cache Time-to-Live (2026), which introduces memory management mechanisms to reduce job completion times for multi-turn agent interactions. Cheung also explored the architectural shifts required for these workloads in Supporting Our AI Overlords: Redesigning Data Systems to be Agent-First (2026), while senior-authoring An Extensible and Verifiable Language for Query Rewrite Rules (2026) to advance verified database optimizations. In serving and runtime infrastructure, Cheung co-developed Qrita: High-performance Top-k and Top-p Algorithm for GPUs using Pivot-based Truncation and Selection (2026) to accelerate GPU sampling, contributed to TideSand: Performance-Accurate Sandbox Multiplexing for LLM Agents (2026) for sandbox resource multiplexing, and guided harness interposition in System Optimizations for Cost-Efficient Agent Harnesses (2026) to curb execution costs without sacrificing accuracy. Concurrently, Cheung led the creation of FrontierCS: Evolving Challenges for Evolving Intelligence (2026) and its successor FrontierCS 2: A Benchmark for Computer Science R&D (2026), which evaluates autonomous agents on realistic repository-level research tasks. To support model evaluation and training at scale, their group also developed CodeWalk: Generating Coding Benchmarks by Walking a Problem Graph (2026) and FrontierSmith: Synthesizing Open-Ended Coding Problems at Scale (2026) to programmatically compose and synthesize challenging open-ended coding problems.
Current Directions
The most recent work in the evidence focuses on the systemic challenges introduced by large language models and autonomous agents. A major theme is redesigning traditional data systems to natively support "agentic speculation," accommodating the exploratory, iterative, and often redundant nature of LLM-driven workloads. This involves developing preemptive scheduling and memory management techniques—such as Time-to-Live mechanisms for KV caches—to improve the efficiency and throughput of complex, multi-turn agent interactions.
Additionally, current research addresses benchmark saturation and training data scarcity by evaluating frontier reasoning models on open-ended computer science tasks and synthesizing scalable coding benchmarks and agent execution harnesses.
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