Alexander Shypula
· 6 previous affiliations
- University of PennsylvaniaSince 2022
- PhD student · 2022–2027
- Doctor of Philosophy, Computer Science
- Visiting Scientist / Research Specialist · 2021–2022
- Carnegie Mellon University2019–2021
- Graduate Research Assistant · 2020–2021
- MS student · 2019–2021
- IBM2017–2019
- Data Scientist · 2017–2019
- New York University2012–2017
- Undergrad student · 2012–2017
- Fulbright Program2015
- Fulbright-Hays Scholar · 2015
Research Overview
Alexander Shypula focuses on automated program optimization, neural code transformation, and the evaluation of large language model generation. His early work explored deep learning frameworks for superoptimizing assembly code before shifting toward high-level performance-improving code edits using large language models. Most recently, he investigates methods for enhancing and measuring the semantic diversity of model-generated content.
Research Trajectory
The early phase of Shypula’s research focused on applying deep learning to low-level program optimization, specifically targeting x86-64 assembly code. In 2021, he and his collaborators introduced Learning to Superoptimize Real-world Programs, which proposed a novel reinforcement learning approach called Self Imitation Learning for Optimization (SILO). By utilizing sequence-to-sequence Transformers, the SILO framework successfully learned to superoptimize real-world programs, finding more efficient versions than aggressive compiler optimizations like gcc -O3. This work, which was further detailed in a subsequent 2022 publication also titled Learning to Superoptimize Real-World Programs, demonstrated the viability of neural networks for advanced program optimization and contributed to the broader research direction of Neural Machine Translation for Automated Code Transformation.
Moving up the abstraction stack, Shypula began investigating how large language models process and translate high-level code. In 2023, he participated in a study on code-to-code translation, Explain-then-translate: an analysis on improving program translation with self-generated explanations. This research explored the use of self-generated natural language explanations as an intermediate reasoning step. Evaluating across 19 programming languages using the MultiPL-E dataset, the authors found that these explanations significantly improved zero-shot translation performance, particularly on difficult programs. This investigation intersected with emerging questions in the areas of Scaling Reasoning Utility with Task Complexity and Negative Scaling and Overthinking in Large Reasoning Models.
Building on these insights into high-level code semantics, Shypula led the development of new datasets and frameworks for teaching language models to write faster code. In 2023, he co-authored Learning Performance-Improving Code Edits, introducing the PIE dataset—a curated collection of performance-improving code edits. This work was expanded in a 2024 paper of the same name, Learning Performance-Improving Code Edits, which detailed a framework for fine-tuning models on human-written performance improvements. By employing a specialized simulator for reliable evaluation, the approach achieved significant speedups that occasionally surpassed human performance on the benchmark. This sequence of papers established a strong foundation in the research direction of High-Level Code Optimization with Language Models.
In 2025, Shypula expanded his focus on program optimization while simultaneously addressing fundamental challenges in language model generation diversity. To tackle the complexities of high-level source optimization, he introduced Automated High-Level Code Optimization for Warehouse Performance, a framework unifying machine learning techniques with computer architecture insights to optimize competitive C++ submissions. Concurrently, he co-authored LLM Program Optimization via Retrieval Augmented Search, proposing a blackbox adaptation method that performs beam search over candidate optimizations. A critical finding of this work was that retrieving in-context examples based on LLM-generated natural language descriptions significantly outperformed retrieval based purely on source code.
Alongside his optimization research, Shypula has recently investigated the distributional properties of model outputs. He contributed to SimpleStrat: Diversifying Language Model Generation with Stratification, which introduced a training-free method to partition the solution space into "strata." By sampling from these strata rather than relying solely on next-token probabilities, the method dramatically increased response diversity and reduced distributional bias without degrading quality. He further formalized the evaluation of these properties in Evaluating the Diversity and Quality of LLM Generated Content, proposing a new metric called "effective semantic diversity." This research revealed the counterintuitive finding that preference-tuned models actually produce more semantically diverse and high-quality outputs than base or supervised fine-tuned models, particularly in creative tasks.
Current Directions
Recent work investigates two primary themes: the application of large language models to complex program optimization, and the measurement and enhancement of semantic diversity in model-generated content. In the optimization domain, the most recent papers in the evidence address the use of retrieval-augmented search to guide models through candidate optimizations, as well as the curation of extensive, unit-tested C++ datasets to capture performance-improving patterns at the warehouse scale.
Concurrently, work on model generation focuses on the trade-offs between output quality and diversity. This includes developing training-free stratification methods to mitigate distributional bias and designing new metrics to quantify effective semantic diversity. These efforts aim to better understand how preference tuning impacts the creative and functional range of large language models.
Profile updated
| Paper | Venue | Year |
|---|---|---|
| SimpleStrat: Diversifying Language Model Generation with StratificationGitHubjwong8314/ | NeurIPS | 2025 |
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