Lucas Spangher
· 6 previous affiliations
- Google (United States)Since 2024
- AI/ML Research Engineer · Since 2024
- Research Intern · 2022
- Massachusetts Institute of TechnologySince 2023
- Visiting Scientist · Since 2024
- Postdoctoral Research Fellow · 2023–2024
- University of California, Berkeley2017–2022
- Ph.D. Student · 2017–2022
- Doctor of Philosophy - PhD, Computer Science · 2017
- Artificial Intelligence Resident · 2021
- PhD student · From 2017
- Duke University2010–2014
- Undergrad student · 2010–2014
Research Overview
Lucas Spangher focuses on the application of reinforcement learning (RL) and machine learning (ML) to complex physical and computational systems, with a particular emphasis on energy management, plasma physics, and large language model (LLM) optimization. His work explores how data-driven controllers can navigate environments characterized by high dimensionality, data scarcity, and human-in-the-loop dynamics. His recent research investigates architectural efficiencies in transformer models and the development of generalized performance metrics for evaluating artificial intelligence.
Research Trajectory
Spangher’s early research, beginning around 2020, was primarily situated within the domain of smart buildings and microgrid management. During this period, he investigated the use of reinforcement learning to optimize demand response—the process of shifting energy consumption to balance grid load. In Prospective Experiment for Reinforcement Learning on Demand Response in a Social Game Framework, he explored the intersection of behavioral science and control theory, utilizing Social Cognitive Theory alongside RL agents like Soft Actor Critic (SAC) to influence office worker energy usage through price signals. This work established a foundational interest in the practical deployment of RL in real-world settings where human behavior introduces significant stochasticity.
By 2021, Spangher’s focus shifted toward the logistical and economic challenges of deploying RL in physical environments. Recognizing that collecting training data in live buildings is both costly and time-consuming, he began exploring "warm-starting" techniques. This involved using offline reinforcement learning and planning models to simulate rewards, thereby reducing the data requirements for online convergence. His contributions during this phase also extended to transactive control and prosumer aggregations, where he participated in designing decentralized pricing mechanisms that avoid the computational overhead of iterative settlement.
Between 2022 and 2023, Spangher addressed the limitations of centralized ML models in the energy sector, specifically regarding data privacy and environmental heterogeneity. He contributed to work on federated learning, which allows multiple microgrids to train models collaboratively without sharing raw data. This period also saw an increased focus on robustness; he participated in research applying unsupervised environment design (UED) to building control, aiming to create agents that generalize better across diverse building configurations and climate conditions.
In 2024, Spangher’s research trajectory expanded into the field of magnetic fusion energy. He identified a critical gap between traditional physics-based modeling and the requirements for commercial-scale fusion. His work in this area advocates for ML as a necessary tool to solve "showstopping" technical hurdles, such as predicting plasma disruptions and accelerating material discovery. This transition represents a broader application of his expertise in high-stakes physical control systems to the challenges of clean energy generation.
Most recently, in 2024 and 2025, Spangher has pivoted toward the internal architectures and evaluation frameworks of large language models. This work addresses the computational costs of modern AI by revisiting model compression techniques and developing more actionable benchmarking schemas. His current focus reflects a move from applying ML to physical systems toward optimizing the fundamental structures of ML models themselves.
Current Directions
Spangher’s current research is concentrated on two primary areas: the architectural optimization of transformers and the standardization of LLM performance metrics.
In the realm of architecture, he is investigating methods to reduce the inference latency of large models without significant performance degradation. This involves analyzing information bottlenecks in compressed sequence models and developing recovery methods to maintain accuracy. This work is particularly relevant for deploying high-performance models in resource-constrained environments.
Simultaneously, Spangher is working on the problem of model evaluation. As LLM benchmarks proliferate, he has identified a need for aggregated metrics that provide a clear "performance quotient" for decision-makers. His current efforts involve creating frameworks that balance accuracy (goodness) with computational efficiency (fastness), moving beyond traditional Elo-based rankings which can be resource-intensive to compute.
Representative Work
In Revisiting Funnel Transformers for Modern LLM Architectures with Comprehensive Ablations in Training and Inference Configurations, Spangher examines the utility of the Funnel Transformer—a technique that compresses sequence length mid-model—within the context of modern architectures like Gemma2. He identifies that while funneling introduces significant information bottlenecks, particularly in larger 7B parameter models, strategic layer placement and novel "averaging" recovery methods can reduce latency by up to 44%. This work provides a detailed analysis of the trade-offs between computational speed and model performance.
Addressing the complexities of AI evaluation, Project MPG: towards a generalized performance quotient for LLM intelligence proposes a new aggregation schema for LLM benchmarks. Spangher introduces two primary metrics: "Goodness," representing answer accuracy, and "Fastness," representing cost or queries per second. By providing a non-Elo based method to aggregate performance across diverse tasks, this work aims to offer a more actionable metric for non-experts to evaluate model utility.
In the domain of nuclear fusion, Spangher authored Opportunities Exist for Machine Learning in Magnetic Fusion Energy. This position paper outlines six critical challenges in magnetic confinement fusion—ranging from plasma collapse prediction to the discovery of radiation-resistant materials—where traditional physics models are computationally prohibitive. He argues that ML is the essential link required to transition fusion from laboratory experiments to commercial reality.
Spangher’s early work on demand response is exemplified by Prospective Experiment for Reinforcement Learning on Demand Response in a Social Game Framework. This paper describes an experimental framework for testing RL agents (specifically SAC and Batch Constrained Q Learning) in their ability to optimize energy shifts among office workers. The study highlights the difficulties of achieving success in simulation when modeling complex human behavioral responses.
In Personalized Federated Hypernetworks for Multi-Task Reinforcement Learning in Microgrid Energy Demand Response, Spangher contributed to the development of a privacy-preserving framework for microgrid management. The research applies Personalized Federated Hypernetworks (PFH) to RL, allowing for the training of models that account for the heterogeneity of different microgrids while maintaining data ownership. The work also demonstrates the utility of PFH for few-shot transfer learning in energy systems.
Finally, Offline-online reinforcement learning for energy pricing in office demand response: lowering energy and data costs addresses the practical barriers to implementing RL in the built environment. Spangher explores how pretraining models in simulation and using planning models to estimate real-world rewards can accelerate the convergence of RL agents. This research is critical for reducing the implementation costs of intelligent energy management systems in commercial buildings.
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