Yonatan Oren
· 2 previous affiliations
- Stanford UniversityCurrent
- Current
- MS student · 2021–2023
- Together.AI2024
- Researcher · 2024
Research Overview
Yonatan Oren focuses on the development, evaluation, and security of large language models (LLMs). His work spans the lifecycle of language modeling, from pre-training data curation and distributionally robust optimization to the detection of data contamination in proprietary models. His research trajectory reflects a transition from foundational work in structured sequence generation and retrieval-based editing to the large-scale engineering and evaluation challenges posed by modern LLMs. Currently, he is focused on building AI agents for offensive security.
Research Trajectory
Oren’s early research, conducted primarily at Stanford University, addressed the limitations of the standard autoregressive generation paradigm. In 2017 and 2018, he explored alternatives to the "from-scratch" generation approach, where models produce text word-by-word from left to right. This work was motivated by the observation that human writing often involves iterative refinement and the adaptation of existing templates or "prototypes." By developing frameworks that retrieve existing examples from a training set and edit them to fit a new context, Oren and his collaborators sought to improve the diversity and structural coherence of generated outputs, particularly in domains like source code generation where structural constraints are high.
In 2019, Oren shifted his focus toward the reliability and robustness of language models under distribution shift. Standard maximum likelihood estimation (MLE) training assumes that the training and test distributions are identical. However, in practice, models are often trained on broad, heterogeneous datasets (such as news or fiction) but deployed on specialized or unknown target distributions (such as specific technical reviews). Oren’s work on distributionally robust optimization (DRO) provided a mathematical framework for training models that perform well across a range of potential target distributions. This was achieved by minimizing the loss on the worst-case mixture of training domains, thereby ensuring that the model does not over-optimize for the majority domain at the expense of minority or "tail" distributions.
Following his graduate studies, Oren’s work moved into the industrial research space, specifically at Together AI, where he contributed to the infrastructure and data pipelines necessary for training open-source LLMs. This period was characterized by a focus on the "data-centric" side of AI, including the curation and filtering of massive datasets. He was a contributor to the RedPajama project, an effort to create a fully open-source reproduction of the LLaMA training dataset. This work addressed the critical need for transparency in the data curation process, which is often obscured in the development of proprietary models.
Most recently, Oren has addressed the challenges of evaluation integrity in the era of "black box" models. As LLMs have grown in scale and their training data has become increasingly opaque, the risk of "data contamination"—where models are inadvertently trained on the test sets used to evaluate them—has become a significant concern for the research community. Oren’s recent work introduced statistical methods to detect such contamination without requiring access to a model's weights or training data. This research leverages the tendency of models to memorize the specific ordering of examples in a dataset, providing a provable guarantee of contamination through simple log-probability queries.
Currently, Oren is applying his expertise in language modeling and agentic behavior to the field of offensive security at Armadin. This work involves the creation of AI agents designed to identify and exploit vulnerabilities, representing a transition from the foundational study of model behavior to the deployment of autonomous systems in specialized security contexts.
Representative Work
Generating Sentences by Editing Prototypes (2017) addresses the tendency of traditional neural language models to generate "safe" but generic outputs. As a primary contributor to this work, Oren helped develop a model that first samples a "prototype" sentence from the training data and then edits it by adding, deleting, or replacing words. This approach allows the model to leverage the rich structure of existing sentences rather than generating text from a blank state. The research demonstrated that this retrieve-and-edit framework could produce more diverse and interesting sentences than standard models while maintaining high levels of fluency.
A Retrieve-and-Edit Framework for Predicting Structured Outputs (2018) extended the retrieve-and-edit philosophy to the domain of structured data, such as source code. In this work, Oren participated in the development of a computationally efficient method for learning a retrieval model that embeds inputs in a task-dependent way. The framework first retrieves a relevant training example based on a natural language description and then uses an editor model to transform that example into the desired code. This approach proved particularly effective for complex outputs where generating the entire structure from scratch is error-prone.
Distributionally Robust Language Modeling (2019) presents a solution to the problem of domain mismatch in language modeling. As the lead author, Oren introduced a distributionally robust optimization (DRO) procedure that minimizes the loss over the worst-case mixture of training distributions. The paper demonstrates that standard MLE training can lead to poor performance on minority domains or unknown target distributions. By using DRO, Oren showed that it is possible to train a single model that maintains high performance across a variety of topics and styles without needing to know the target distribution at training time.
Proving Test Set Contamination in Black Box Language Models (2023) addresses a critical flaw in modern AI evaluation. As the lead author of this work, which received a best paper runner-up award at ICLR 2024, Oren developed a statistical method to prove if a model has been trained on a specific test set. The method exploits the fact that while a model might be trained on the content of a dataset, it also tends to memorize the order of the examples. By comparing the log-probabilities of the original ordering versus shuffled orderings, the researchers can provide provable guarantees of contamination. This work is significant because it allows for the auditing of proprietary "black box" models where the training data is not publicly disclosed.
RedPajama: an Open Dataset for Training Large Language Models (2024) documents the creation of a large-scale, open-source dataset intended to facilitate the development of transparent LLMs. Oren participated in this multi-institutional effort to reproduce the LLaMA dataset, which involved processing over 1.2 trillion tokens of data. The project focused on three core challenges: transparency in the curation process, access to high-quality data at scale, and the availability of the resulting data to the broader research community. This work serves as a foundational resource for researchers seeking to understand the impact of data composition on model performance.
Profile updated
| Title | Venue | Year |
|---|---|---|
| RedPajama: an Open Dataset for Training Large Language Models | NeurIPS | 2024 |
| Proving Test Set Contamination in Black-Box Language Models | ICLR | 2024 |
| Distributionally Robust Language Modeling | EMNLP | 2019 |
| A Retrieve-and-Edit Framework for Predicting Structured Outputs | NeurIPS | 2018 |
| Generating Sentences by Editing Prototypes | Trans. Assoc. Comput. Linguistics | 2017 |
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