NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Rajhans Samdani

Snowflake Inc. (United States)
6 previous affiliations
    • Principal Researcher · Since 2023
  • Neeva2019–2023
    • Head of Machine Learning · 2019–2023
  • Spoke (askspoke.com)2016–2019
    • Chief Scientist · 2016–2019
  • Okta2016–2019
    • Chief Scientist · 2016–2019
    • Senior Research Scientist · 2015–2016
    • Research Scientist · 2013–2016
    • Graduate (MS + PhD) Student · 2007–2013
    • PhD, Computer Science · 2009–2013
    • M.S., Computer Science · 2007–2009
14Machine learning papers tracked by Lacuna
Is this you?

Research Overview

Rajhans Samdani focuses on the intersection of machine learning and natural language processing, with a particular emphasis on structured prediction, efficient inference, and the optimization of data quality for large-scale language models. His work has evolved from developing tractable generative models and constrained conditional frameworks to designing sophisticated latent variable models for coreference resolution and, most recently, leading research into data-efficient pretraining strategies for code-specialized models.

Research Trajectory

The early phase of Samdani’s research, beginning around 2009, was primarily concerned with the computational challenges of probabilistic inference. During this period, he addressed the inherent trade-off between the expressivity of a model and the tractability of its inference procedures. Traditional Bayesian Networks, while expressive, often suffer from #P-complete inference complexity. Samdani’s work in this area contributed to the development of Balancing Expressiveness and Tractability in Probabilistic Circuits, exploring multi-linear representations that allow for complex dependencies to be captured without sacrificing computational efficiency. This interest in Tractable Generative Modeling with Probabilistic Circuits laid the groundwork for his subsequent focus on structured output spaces.

By 2011, Samdani’s focus shifted toward the integration of declarative knowledge into probabilistic frameworks. This was exemplified by his work on Constrained Conditional Models (CCMs), which allow for the augmentation of probabilistic models with hard or soft constraints. This approach was particularly relevant for information fusion and complex decision-making tasks where the output space is governed by intricate dependency structures. During this time, he also began applying these techniques to Natural Language Processing (NLP), specifically addressing the problem of coreference resolution. His research investigated how different inference protocols—ranging from local "best-link" approaches to global transitive clustering—impacted the accuracy of entity grouping.

In the following years (2012–2014), Samdani’s work became increasingly centered on structured prediction and latent variable modeling. He developed new algorithms for Specialized Feature Selection for Heterogeneous Linguistic Tasks, moving away from monolithic feature sets toward models that could adapt to the specific nuances of different linguistic phenomena. This period also saw significant contributions to the theoretical and algorithmic aspects of learning, including the development of "Decomposed Learning" (DecL). This method addressed the intractability of exact inference in structured prediction by restricting the inference step to limited parts of the structured space. He also explored the Implicit Bias and Max Margin Convergence in Neural Networks, providing a more rigorous understanding of how learning algorithms generalize in over-parameterized settings.

A major theme in Samdani’s mid-career work was the refinement of span extraction and clustering in NLP. He addressed the Boundary Refinement for Precise Span Extraction problem, which is critical for tasks like Named Entity Recognition and Question Answering. This culminated in the development of the Latent Left Linking Model (L3M), a discriminative latent variable model designed for both offline and online clustering. This work also touched upon Iterative Latent Optimization for Generative Inverse Problems, where latent variables are optimized to fit observed data more precisely.

After a period of less visibility in the provided corpus, Samdani’s recent work (2024–2025) demonstrates a shift toward the pretraining of large-scale language models, specifically in the code domain. This research emphasizes the importance of data quality over raw volume, introducing progressive refinement strategies that utilize model-based filtering and synthetic data generation to achieve high performance with significantly fewer training tokens.

Current Directions

Samdani’s current research is focused on the "quality over quantity" paradigm in large language model (LLM) pretraining. As the field moves beyond simply scaling the number of parameters and tokens, his work seeks to define and identify "high-quality" data through multi-phase refinement processes. This involves:

  • Progressive Data Refinement: Moving from broad, standard-quality datasets to highly curated, model-filtered subsets.
  • Synthetic Data Integration: Using targeted synthetic data to fill gaps in natural datasets and improve model performance on specific reasoning or coding tasks.
  • Data-Efficient Pretraining: Developing models that outperform much larger competitors by leveraging superior data selection and annealing strategies.

This trajectory suggests a continued interest in the efficiency of learning and the structural properties of data, now applied at the scale of modern generative AI.

Representative Work

Learning Multi-linear Representations of Distributions for Efficient Inference In this work, Samdani addresses the computational intractability of standard probabilistic models like Bayesian Networks. The paper proposes multi-linear representations as a means to perform efficient inference while maintaining the ability to capture complex dependencies between variables. This research contributed to the early development of probabilistic circuits, providing a framework for exact inference that avoids the #P-complete complexity typical of traditional graphical models.

Constrained conditional models for information fusion Serving as a senior author, Samdani explores the Constrained Conditional Model (CCM) framework. This work demonstrates how probabilistic models can be augmented with declarative constraints to support decision-making in expressive output spaces. The paper highlights the modularity and tractability of CCMs, showing their utility in information fusion tasks where interdependent variables must satisfy specific structural or domain-specific requirements.

Efficient Decomposed Learning for Structured Prediction As the lead author, Samdani introduces Decomposed Learning (DecL), a strategy for structured prediction when exact inference is computationally prohibitive. DecL restricts the inference step to a subset of the structured space, and the paper provides theoretical characterizations of the conditions under which this decomposition remains equivalent to exact learning. The work demonstrates that DecL-based algorithms are both efficient and effective in real-world structured prediction settings.

Unified Expectation Maximization In this first-author paper, Samdani presents Unified Expectation Maximization (UEM), a general framework that encompasses standard EM, hard EM, and various constrained versions like Posterior Regularization. The paper introduces an efficient dual projected gradient ascent algorithm for the constrained inference step, generalizing several dual decomposition and Lagrange relaxation techniques previously used in the NLP literature.

A Constrained Latent Variable Model for Coreference Resolution This research introduces the Latent Left Linking Model (L3M), a principled approach to coreference resolution using latent structured prediction. Samdani and his collaborators show that L3M allows for efficient inference and can be easily integrated with knowledge-based constraints. The model, and its constrained variant CL3M, demonstrated state-of-the-art accuracy on standard benchmarks like ACE and OntoNotes, proving the value of linguistically motivated latent structures.

Arctic-SnowCoder: Demystifying High-Quality Data in Code Pretraining In this recent senior-authored work, Samdani investigates the impact of data quality on the pretraining of code models. The paper introduces Arctic-SnowCoder-1.3B, which utilizes a three-phase refinement strategy: general pretraining, continued pretraining on high-quality model-filtered tokens, and final annealing with targeted synthetic data. The results show that this data-efficient approach allows a 1.3B parameter model to outperform models twice its size trained on significantly more data, providing a new benchmark for "high-quality" data definitions in the LLM era.

Profile updated

See something wrong? Report a mistake