Felix Chern

Google (United States)
1 previous affiliation
8Machine learning papers tracked by Lacuna
Is this you?

Research Overview

Felix Chern focuses on the intersection of high-performance computing systems, large-scale vector search, and the optimization of Transformer architectures for hardware accelerators. His work addresses the computational bottlenecks inherent in modern machine learning, specifically targeting the efficiency of Maximum Inner Product Search (MIPS), the exploitation of activation sparsity in large language models (LLMs), and the acceleration of distributed training and inference through compiler-level optimizations. By aligning algorithmic design with the specific architectural constraints of Tensor Processing Units (TPUs) and other accelerators, his research seeks to reduce the FLOPs and communication overhead required for state-of-the-art model performance.

Research Trajectory

The early phase of Chern’s research, beginning around 2019, was primarily concerned with the efficiency of vector quantization for large-scale retrieval. At this time, Maximum Inner Product Search (MIPS) was becoming a critical component of recommendation systems and embedding-based retrieval, yet standard quantization techniques were optimized for Euclidean distance (L2) rather than inner products. Chern contributed to a shift in this field by developing anisotropic quantization methods. Unlike traditional approaches that minimize overall reconstruction error, this work introduced loss functions that prioritize errors in the direction of the data points themselves. This analytical shift allowed for significantly higher accuracy in retrieving high-scoring candidates without increasing the computational cost of the search.

By 2022, Chern’s focus expanded toward hardware-specific optimization, particularly for Google’s TPU architecture. As a first author, he led the development of algorithms designed to reach the theoretical peak performance of accelerators for nearest neighbor search. This period marked a transition from purely algorithmic improvements to a "hardware-first" design philosophy, where performance models accounting for memory and instruction bottlenecks directly informed the search strategy. This work resulted in open-source contributions to the JAX and TensorFlow ecosystems, providing a practical framework for high-recall, low-latency search that does not require the maintenance of complex, static index structures.

In the subsequent years (2023–2025), Chern’s work pivoted toward the internal dynamics of Transformer models and the challenges of distributed scale. He participated in research identifying the "lazy neuron" phenomenon—the observation that trained Transformers naturally exhibit high levels of activation sparsity. This discovery led to collaborative efforts to design "Spark Transformers," which explicitly reactivate and exploit this sparsity to reduce the computational burden of feedforward networks and attention mechanisms. Most recently, his work has addressed the communication bottlenecks of distributed LLMs, focusing on quantized collective operations within the XLA (Accelerated Linear Algebra) compiler to streamline inter-device data transfer.

Current Directions

Chern’s current research is characterized by a multi-layered approach to model efficiency, spanning from theoretical scaling laws to low-level compiler optimizations. A significant portion of his recent work involves characterizing the fundamental trade-offs in nearest neighbor search. By analyzing the asymptotic costs of indexing, storage, and compute across different algorithmic paradigms—such as graph-based versus partitioning-based methods—this research challenges the notion of a universal "best" algorithm, suggesting instead that optimal search strategies are highly dependent on the specific operational constraints of the deployment environment.

Furthermore, Chern continues to work on the integration of quantization and distributed systems. This includes developing hardware-optimized quantized AllReduce operations that allow for faster communication between accelerators during LLM serving. By moving quantization logic into the compiler level (XLA), this approach aims to mitigate the numerical instability and error accumulation typically associated with quantized distributed sums. This line of work reflects a broader interest in making massive-scale AI more sustainable and deployable by reducing the hardware footprint required for inference.

Representative Work

In New Loss Functions for Fast Maximum Inner Product Search, Chern served as the senior author on a study that redefined vector quantization for MIPS. The paper demonstrates that traditional quantization is suboptimal for inner product search because it treats all reconstruction errors equally. The authors introduced anisotropic vector quantization, which more heavily penalizes residuals that are parallel to the database points. This method achieved state-of-the-art performance on large-scale benchmarks by ensuring that the most relevant points for a given query are preserved with higher fidelity.

As the lead author of TPU-KNN: K Nearest Neighbor Search at Peak FLOP/s, Chern developed a nearest neighbor search algorithm specifically optimized for the TPU’s architectural constraints. The research moved away from sophisticated index structures in favor of a design that maximizes FLOP utilization while managing memory bandwidth. The resulting algorithm provided analytical guarantees for recall and was integrated into major machine learning frameworks, offering a solution for applications requiring frequent data updates where traditional indexing is too slow.

Chern contributed to the investigation of model internals in The Lazy Neuron Phenomenon: On Emergence of Activation Sparsity in Transformers. This work documented that in large-scale Transformer models, only a small fraction of neurons in the multi-layer perceptron (MLP) blocks are active for any given input. The study found that this sparsity actually increases with model scale, providing a theoretical and empirical basis for developing more efficient architectures that do not need to compute every neuron's activation for every token.

In Scaling Laws for Nearest Neighbor Search, Chern served as the second author, providing a comprehensive analysis of the performance trade-offs between brute-force, partitioning-based, and graph-based search algorithms. The paper establishes that the "optimum" algorithm is a function of the specific requirements for indexing time, storage capacity, and query latency. This work provides a rigorous framework for system architects to select search paradigms based on their specific hardware and dataset constraints.

Chern participated in the development of the Spark Transformer: Reactivating Sparsity in Transformer FFN and Attention, an architectural variant designed to reduce FLOPs without losing model quality. The core of this contribution is a "statistical top-k" operator that allows the model to select a sparse subset of neurons and attention tokens efficiently on accelerator hardware. This approach circumvents the slow sorting operations typically required for sparsity, resulting in significant inference speedups on standard hardware.

In the area of distributed systems, Chern contributed to EQuARX: Efficient Quantized AllReduce in XLA for Distributed Machine Learning Acceleration. This research introduced a native, quantized AllReduce operation within the XLA compiler. By utilizing a block-wise quantization scheme and deep pipelining, the system reduces the communication bottleneck in distributed LLM serving. The work demonstrates that it is possible to achieve substantial speedups in inter-device communication with negligible impact on the final accuracy of the model.

Profile updated

See something wrong? Report a mistake