Zhangir Azerbayev
· 5 previous affiliations
- OpenAI (United States)Since 2026
- Member of Technical Staff · Since 2026
- xAI (United States)2024–2025
- Member of Technical Staff · 2024–2025
- Princeton University2023–2024
- Doctor of Philosophy - PhD, Computer Science · 2023–2024
- Yale University2019–2023
- Undergrad student · 2019–2023
- Visiting Researcher · 2022
Research Overview
Zhangir Azerbayev focuses on the intersection of large language models, formal mathematics, and metacognitive architectures in computer vision. His work primarily addresses the challenges of mathematical reasoning in artificial intelligence, ranging from the curation of high-quality training datasets and the development of specialized open-source models to the creation of rigorous benchmarks for formal theorem proving. Additionally, he explores hierarchical probabilistic models designed to enhance the reliability of neural networks by providing them with a meta-cognitive capacity to evaluate their own perceptual outputs.
Research Trajectory
Azerbayev’s research trajectory reflects a transition from investigating foundational problems in computer vision to leading efforts in the domain of mathematical AI. In 2022, his work was centered on the problem of reliability in object detection. This research sought to address the tendency of neural networks to "blindly trust" their outputs, proposing instead that models should incorporate a metacognitive layer to detect false or unreliable percepts. This early work utilized unsupervised learning to help models infer the underlying reality of a scene by understanding the systematic errors of their own perceptual systems.
By 2023, Azerbayev’s focus shifted toward the development of large language models (LLMs) capable of sophisticated quantitative reasoning and formal mathematical proof. This shift was characterized by a multi-pronged approach: improving the quality of mathematical data available for pretraining, developing specialized model architectures, and establishing benchmarks that bridge the gap between natural language mathematics and formal verification systems like Lean. This period saw the release of the OpenWebMath dataset and the Llemma model, which together provided the research community with open-source tools for advancing mathematical AI.
In 2024, Azerbayev continued to refine these themes. His work in formal mathematics matured with the publication of ProofNet, a benchmark specifically designed for the autoformalization of undergraduate-level mathematics. Simultaneously, he maintained a presence in the vision community by advancing the concept of metacognition through MetaCOG, a hierarchical probabilistic model that applies Bayesian inference to monitor the performance of neural object detectors in video sequences.
Mathematical Reasoning and Formal Methods
A significant portion of Azerbayev’s recent work is dedicated to the "Llemma" project and its associated ecosystem. This research addresses the limitation of general-purpose LLMs in handling complex mathematical tasks. Azerbayev’s approach emphasizes that mathematical reasoning requires not just large-scale data, but data that preserves the structural and symbolic integrity of mathematical notation.
The development of the OpenWebMath dataset was a critical step in this direction. Standard web-crawling pipelines often strip away LaTeX notation, which is essential for understanding mathematical context. By developing a pipeline that meticulously preserves this notation, Azerbayev and his collaborators provided a foundation for training models that can better internalize mathematical concepts. This data was subsequently used to develop Llemma, an open-source model that demonstrated that continued pretraining on specialized mathematical corpora—including scientific papers and mathematical code—could yield performance competitive with or superior to much larger, closed-source models.
Beyond model training, Azerbayev has focused on the problem of autoformalization—the translation of natural language mathematics into formal code that can be verified by a theorem prover. This is a notoriously difficult task due to the ambiguity of natural language and the strict requirements of formal systems. Through the ProofNet benchmark, Azerbayev has provided a structured way to evaluate how well models can navigate this transition across diverse topics such as real analysis, linear algebra, and topology.
Metacognitive Architectures in Computer Vision
Parallel to his work in mathematics, Azerbayev has contributed to the development of "metacognitive" layers for neural networks, particularly in the context of visual perception. This research is motivated by the observation that human perception is often accompanied by a sense of confidence or doubt.
His work in this area involves the creation of secondary models—often hierarchical probabilistic or Bayesian models—that sit atop standard neural object detectors. These secondary models learn a "meta-representation" of the primary detector’s performance, identifying its propensity to hallucinate objects or miss them entirely. By performing joint inference over the detector’s outputs and the underlying state of the world, these systems can significantly improve the reliability of visual representations, especially in dynamic environments like video processing.
Representative Work
Llemma: An Open Language Model For Mathematics In this work, Azerbayev serves as the lead author in presenting a specialized large language model for mathematics. The project involved the continued pretraining of Code Llama on the "Proof-Pile-2," a diverse mixture of scientific papers, mathematical web data, and code. The resulting model, Llemma, outperformed existing open-source models on the MATH benchmark and demonstrated an inherent capability for formal theorem proving and tool use without the need for task-specific finetuning. The release included 7 billion and 34 billion parameter versions, providing a significant resource for the open-source AI community.
ProofNet: Autoformalizing and Formally Proving Undergraduate-Level Mathematics As the first author, Azerbayev introduced ProofNet, a benchmark designed to drive progress in the autoformalization of mathematics. The dataset consists of 371 examples drawn from standard undergraduate textbooks, each pairing a natural language theorem statement and proof with a formal statement in the Lean 3 theorem prover. This work establishes a rigorous standard for evaluating the ability of LLMs to translate informal mathematical reasoning into verifiable formal logic across domains such as abstract algebra and complex analysis.
OpenWebMath: An Open Dataset of High-Quality Mathematical Web Text Azerbayev participated in the creation of OpenWebMath, a large-scale dataset containing 14.7 billion tokens of mathematical text. The primary contribution of this work was the development of a preprocessing pipeline that preserves LaTeX notation, which is typically lost in standard web-scale datasets. This dataset was instrumental in improving the quantitative reasoning and problem-solving skills of models trained on it, addressing a major bottleneck in the development of mathematical LLMs.
MetaCOG: A Heirarchical Probabilistic Model for Learning Meta-Cognitive Visual Representations In this second-author paper, Azerbayev contributed to the development of MetaCOG, a hierarchical probabilistic model designed to monitor the reliability of neural object detectors. By learning a model of the detector's own performance via Bayesian inference, MetaCOG can identify when a network is likely to hallucinate or miss objects. This research demonstrates how attaching a meta-cognitive layer to existing neural architectures can lead to more robust and self-aware visual perception systems.
Learning a metacognition for object detection Azerbayev participated in the development of METAGEN, an unsupervised model that enhances object recognition through a metacognitive framework. The model learns a meta-representation of how a perceptual system functions and uses this to infer the actual objects present in an environment, even when the underlying detection model provides noisy or incorrect outputs. This work draws inspiration from human infant development and basic principles of object permanence to improve the accuracy of machine vision.
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