Horace He
· 3 previous affiliations
- Meta (United States)Since 2021
- Researcher · Since 2021
- Cornell TechCurrent
- Undergrad student · Current
- Cornell UniversityCurrent
- Current
Research Overview
Horace He focuses on the intersection of deep learning systems, adversarial robustness, and relational reasoning. His work spans the development of high-performance primitives for neural network architectures, the formalization of set-based representations for structured data, and the analysis of transferability in adversarial attacks. Recently, his research has pivoted toward compiler-driven optimizations for machine learning, specifically addressing the flexibility and efficiency of attention mechanisms and control flow within the PyTorch ecosystem.
Research Trajectory
The evolution of He’s research reflects a transition from investigating the internal vulnerabilities of deep neural networks to designing the fundamental systems and representations that support modern machine learning. His early work in 2018 was primarily concerned with the phenomenon of adversarial transferability—the ability of a malicious input designed for one model to deceive another. By decomposing adversarial perturbations into components dependent on architecture, dataset, and initialization, He provided a framework for understanding why certain attacks generalize across different models while others remain specific to a single instance.
By 2020, He’s focus expanded into the domain of Relational Reasoning for Structured Visual Understanding. This period of his work addressed the "relation blindness" of standard convolutional and feed-forward networks, which often fail to capture the discrete, independent nature of objects within a scene. He contributed to the development of Set Refiner Networks (SRNs) to ensure that neural representations respect permutational invariance, a necessary property for Learning Object Centric Representations with Slot Attention. This work argued that standard vector representations are often insufficient for tasks requiring The Upstream Entity Recognition Bottleneck in Semantic Pipelines, as they do not explicitly model the relationships between distinct entities.
During the same period, He investigated the necessity and scalability of Graph Neural Networks (GNNs). While GNNs are the standard for relational data, they frequently suffer from the "neighbor explosion" problem, where the recursive nature of message passing leads to exponential computational costs. He’s research in Scaling Graph Neural Networks Beyond Neighbor Explosion demonstrated that for many transductive node classification tasks, simpler models combined with label propagation could match or exceed the performance of complex GNNs. This work challenged the prevailing reliance on deep graph architectures and emphasized the importance of exploiting label correlations directly. He also participated in broader efforts regarding Network Topology Inference with Latent Variables, exploring how adding "proposal sets" of edges could improve link prediction performance.
In 2021, He’s contributions shifted toward the infrastructure and data requirements of large-scale language modeling. He was involved in the construction of massive, diverse datasets and benchmarks designed to evaluate the coding competence and general knowledge of state-of-the-art models. This phase marked a move toward the "systems" side of AI, focusing on the data pipelines and evaluative frameworks necessary for the next generation of transformers.
Most recently, in 2025, He has emerged as a key contributor to machine learning systems and compilers. His work addresses the "software lottery" in deep learning, where the difficulty of writing efficient, fused kernels limits the ability of researchers to experiment with new architectural variants. By developing programming models for fused attention and improving control flow operators in PyTorch, He aims to bridge the gap between high-level algorithmic innovation and low-level hardware execution. This current focus emphasizes Spatially Invariant Representations for Generalizable Robot Learning and other domains where flexible, high-performance primitives are essential.
Current Directions
He’s current research is centered on the development of compiler-driven tools that enhance the flexibility of deep learning frameworks. A primary focus is the mitigation of the monolithic nature of optimized primitives like FlashAttention. By introducing programming models that allow for the generation of fused attention variants, He is working to enable researchers to implement custom attention masks and biases without sacrificing the performance gains of manual kernel fusion.
Additionally, He is addressing the long-standing challenge of representing control flow within machine learning compilers. Standard practices often involve tracing models into straight-line computational graphs, which can lead to significant performance degradation when dealing with dynamic shapes or data-dependent logic. His recent work on PyTorch’s control flow operator library seeks to provide a more robust intermediate representation (IR) that supports complex programmatic structures, thereby improving compilation times and execution efficiency for diverse model architectures.
Representative Work
Adversarial Example Decomposition As the lead author, He investigated the sources of adversarial vulnerability in deep neural networks. The paper proposes that adversarial perturbations are not monolithic but are composed of architecture-dependent, data-dependent, and noise-dependent components. By isolating these factors, the research demonstrates that architecture-dependent components are the primary drivers of transferability between different models, providing a foundational understanding of how adversarial attacks can be designed to generalize.
Better Set Representations For Relational Reasoning In this work, He served as a primary contributor to the development of the Set Refiner Network (SRN). The paper identifies a fundamental limitation in existing relational reasoning approaches: they often fail to respect permutational invariance when extracting entities from latent features. The SRN provides a general-purpose module that enforces this invariance, leading to more robust and interpretable representations of objects and their relationships in visual tasks.
Combining Label Propagation and Simple Models Out-performs Graph Neural Networks He co-authored this critical evaluation of Graph Neural Networks, which demonstrated that state-of-the-art GNN performance on standard benchmarks could be matched by combining shallow models with simple post-processing steps. By utilizing "error correlation" and "prediction correlation" to smooth labels across the graph, the research showed that the complex message-passing mechanisms of GNNs are not always necessary for high-accuracy node classification, suggesting a more efficient path for learning over relational data.
Enhancing Adversarial Example Transferability with an Intermediate Level Attack Building on his earlier work in robustness, He contributed to the development of the Intermediate Level Attack (ILA). This method improves the black-box transferability of adversarial examples by fine-tuning perturbations at specific intermediate layers of a source model. By avoiding the overfitting of attacks to the final output layer of a specific architecture, the ILA achieves significantly higher success rates when targeting unknown models.
FlexAttention: A Programming Model for Generating Fused Attention Variants As the senior author, He introduced FlexAttention to solve the "software lottery" problem in deep learning. While fused attention is critical for performance, its monolithic implementation prevents researchers from easily modifying the attention mechanism. FlexAttention provides a compiler-driven programming model that allows for the implementation of various attention variants while maintaining the efficiency and memory benefits of fused kernels, significantly lowering the barrier for architectural innovation.
The Pile: An 800GB Dataset of Diverse Text for Language Modeling He participated in the construction and evaluation of The Pile, a massive English text corpus designed for training large-scale language models. His involvement in this project highlights a transition toward large-scale data infrastructure, contributing to a resource that has become a standard for improving the cross-domain knowledge and generalization capabilities of modern transformers.
Profile updated
| Title | Venue | Year |
|---|---|---|
| Control Flow Operators in PyTorch | CODEML @ ICML | 2025 |
| FlexAttention: A Programming Model for Generating Fused Attention Variants. | Mlsys Withshepherding | 2025 |
| GPT-NeoX-20B: An Open-Source Autoregressive Language Model | BigScience @ ACL | 2022 |
| The Pile: An 800GB Dataset of Diverse Text for Language Modeling | arXiv | 2021 |
| Combining Label Propagation and Simple Models out-performs Graph Neural Networks | ICLR | 2021 |
| Measuring Coding Challenge Competence With APPSGitHub resource | NeurIPS | 2021 |
| Edge Proposal Sets for Link PredictionGitHub resource | arXiv | 2021 |
| Better Set Representations For Relational Reasoning | NeurIPS | 2020 |
| Better Set Representations For Relational Reasoning | Openreview | 2020 |
| Enhancing Adversarial Example Transferability with an Intermediate Level Attack | Openreview | 2019 |
| Paper | Venue | Year |
|---|---|---|
| Edge Proposal Sets for Link PredictionGitHubCUAI/ | arXiv | 2021 |
| Measuring Coding Challenge Competence With APPSGitHubhendrycks/ | NeurIPS | 2021 |
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