Theodore Glavas
· 1 previous affiliation
- McGill UniversitySince 2020
- PhD student · Since 2026
- MS student · 2024–2025
- Undergrad student · 2020–2024
Research Overview
Theodore Glavas focuses on the computational efficiency and theoretical optimization of large-scale machine learning models, with a particular emphasis on inference acceleration for transformer architectures and cost-aware classification systems. His work addresses the technical bottlenecks inherent in deploying large language models (LLMs), specifically regarding memory utilization and adaptive computation. By developing methods that optimize how models process shared contexts and select computational paths, he aims to reduce the resource requirements of state-of-the-art AI systems without compromising predictive performance.
Research Trajectory
The trajectory of Glavas’s research reflects a transition from architectural adaptations to broader systems-level optimizations and theoretical frameworks for decision-making. His early work in 2024 focused on the internal mechanics of transformer models, specifically investigating how to make the depth of these models more flexible during inference. This research into Dynamic layer selection in decoder-only transformers sought to mitigate the fixed computational cost of standard decoder architectures by allowing the model to adaptively choose which layers to execute for a given input. This approach targets the inefficiency of applying the same amount of computation to every token, regardless of its complexity.
In 2025, Glavas participated in research that shifted toward the theoretical foundations of multi-stage machine learning systems. This work addressed the problem of cost-aware classification, where a system must decide whether to use a low-cost, potentially less accurate model or defer to a high-cost, high-accuracy model. In the paper Is the acquisition worth the cost? Surrogate losses for Consistent Two-stage Classifiers, he contributed to the development of a hinge-based surrogate loss function. This research is significant for its focus on "consistency," providing a mathematical guarantee that minimizing the differentiable surrogate loss leads to the same optimal decision-making as the true, non-differentiable cost-aware loss. This work moved his focus toward the intersection of optimization theory and practical system deployment.
Most recently, in 2026, Glavas has returned to the challenges of LLM inference, specifically addressing the memory bottlenecks that limit the throughput of modern GPUs. His current work focuses on Common-Context Question Answering (CCQA), a domain where multiple queries are directed at a single, large context. By moving beyond standard batching and caching techniques, he has developed methods to parallelize decoding within a single prompt, directly addressing the memory-bound nature of the attention mechanism.
Current Directions
Glavas’s current research is primarily concerned with maximizing the utilization of hardware resources during the inference phase of generative models. A central problem in this area is the memory bottleneck during the attention operation, where the time taken to move data (such as the Key-Value cache) from memory to the GPU cores often exceeds the time taken for actual computation.
In Intra-Prompt Parallel Decoding for Common-Context Question Answering, Glavas introduces Intra-Prompt Parallel Decoding (IPPD). This method is designed for scenarios where multiple questions share a common context. While traditional approaches might process these questions in separate prompts—leading to redundant context processing or complex cache management—IPPD enables the model to answer multiple questions in parallel within a single prompt. This technique effectively shares the context across multiple generation streams, reducing the relative overhead of loading the context into memory and thereby improving the overall speedup achievable on modern hardware.
This work represents a move toward "system-aware" machine learning, where the design of the inference algorithm is informed by the specific architectural constraints of the underlying hardware, such as the memory bandwidth limits of GPUs.
Representative Work
The following papers represent the core of Glavas’s contributions to the field of machine learning efficiency and optimization. As his work is relatively recent, these publications establish a foundation in both the practical acceleration of transformers and the theoretical consistency of cost-aware models.
In Dynamic layer selection in decoder-only transformers (2024), Glavas explored methods for reducing the computational footprint of decoder-only architectures. By implementing dynamic selection mechanisms, the research aimed to allow models to bypass unnecessary layers, potentially offering a way to scale inference speed based on the difficulty of the task or the available computational budget.
Glavas contributed to the theoretical study of multi-stage systems in Is the acquisition worth the cost? Surrogate losses for Consistent Two-stage Classifiers (2025). This research addresses the "deferral" problem, where a primary classifier must decide if it is confident enough to provide a label or if it should pay a "cost" to invoke a more powerful secondary model. The paper’s derivation of a consistent hinge-based surrogate loss provides a robust framework for training these systems using standard gradient-based optimization, ensuring that the resulting models are theoretically grounded in their cost-benefit trade-offs.
His most recent lead-author work, Intra-Prompt Parallel Decoding for Common-Context Question Answering (2026), addresses the practical limitations of LLM throughput. By identifying that the separation of questions across prompts limits the achievable parallelism on GPUs, Glavas developed the IPPD method. This approach allows for the parallel generation of multiple answers within a single prompt, optimizing the use of the attention mechanism and providing a more efficient path for context-heavy question-answering tasks.
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