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

Sergei Polezhaev

Nebius · Nebius AI
8 previous affiliations
  • NebiusSince 2023
    • Senior Machine Learning Engineer · Since 2023
  • Nebius AISince 2023
    • Researcher · Since 2023
  • Brask2023
    • Deep Learning Engineer · 2023
  • Neiro.ai2021–2023
    • Speech Deep Learning Engineer · 2021–2023
  • MTS AI2019–2021
    • Deep Learning Engineer · 2019–2021
    • Master's degree, Artificial Intelligence · 2019–2021
  • SAP2018–2019
    • Machine Learning Intern · 2018–2019
    • Bachelor's degree, Computer Programming · 2015–2019
3Machine learning papers tracked by Lacuna
Is this you?

Research Overview

Sergei Polezhaev focuses on the development of autonomous software engineering (SWE) agents through the application of reinforcement learning (RL) and guided search strategies to large language models (LLMs). His work addresses the technical challenges of scaling models to handle multi-turn interactions, long-context windows, and stateful environments where traditional single-turn reasoning is insufficient. By refining training pipelines and search heuristics, Polezhaev contributes to the performance of open-weight models in complex, real-world programming tasks.

Research Trajectory

Polezhaev’s research trajectory is defined by a move away from the "bandit-style" reinforcement learning that has historically dominated large language model training for reasoning tasks. In these earlier paradigms, models were typically trained on single-turn problems—such as solving a discrete mathematical equation or generating a single block of code—where the environment provides no intermediate feedback. Polezhaev’s work identifies these as degenerate cases of the broader multi-turn Markov Decision Process (MDP). His trajectory focuses on the transition to environments that respond to each agent action with non-trivial observations, necessitating a more complex understanding of state and long-term planning. This evolution is particularly evident in his work from 2025 and 2026, which prioritizes the development of agents capable of navigating the iterative nature of software development, including debugging, testing, and multi-file editing.

Current Directions

A primary focus of Polezhaev’s current work is the mitigation of the "consistency gap" in autonomous agents. This gap refers to the phenomenon where LLMs demonstrate the capability to solve difficult tasks but fail to do so reliably across multiple attempts. To address this, Polezhaev explores guided search strategies designed for non-serializable environments. In many real-world software engineering contexts, the state of the system—such as a running server, a complex database migration, or a specific containerized environment—cannot be easily captured, saved, or restored to a previous point. This makes traditional search algorithms that rely on "undoing" actions or branching from saved states difficult to implement.

Polezhaev’s research into 1-step lookahead and trajectory selection, guided by learned critic models, provides a framework for agents to evaluate the potential success of a path before committing to it. This methodology is intended to improve the reliability of open-weight models, allowing them to achieve performance levels previously associated only with much larger proprietary systems. His work emphasizes the use of 72B-parameter models and the management of extremely long contexts, reaching up to 131k tokens, to maintain coherence over extended engineering sessions.

Representative Work

In Training Long-Context, Multi-Turn Software Engineering Agents with Reinforcement Learning, Polezhaev (as second author) contributed to the design of a two-phase training pipeline intended to elevate open-weight LLMs to the level of proprietary models in software engineering tasks. The research focuses on the complexities of multi-turn interactions and the necessity of managing long contexts. This work demonstrates that by treating software engineering as a general multi-turn interaction problem, models can be trained to respond effectively to non-trivial observations from a stateful environment, moving beyond simple code generation toward autonomous problem-solving.

Polezhaev also participated in the development of Guided Search Strategies in Non-Serializable Environments with Applications to Software Engineering Agents. As the fourth author, he contributed to research tackling the limitations of agents in environments that do not support easy state restoration. The study introduces a method for combining lookahead strategies with a learned critic model to guide the agent's trajectory. This methodology resulted in a measurable increase in success rates on the SWE-bench Verified benchmark for open-weights models, achieving a 40.8% success rate and highlighting the importance of search-based refinement in agentic workflows.

The continuation of the multi-turn RL research is further detailed in Training Long-Context, Multi-Turn Software Engineering Agents with Reinforcement Learning, where Polezhaev is the third author. This work reinforces the argument that single-turn code generation is a limited subset of the broader multi-turn MDP required for true software engineering autonomy. The research provides a framework for applying RL to these general, stateful interactions, emphasizing the role of environmental feedback in the learning process and the technical requirements for training models to handle the resulting long-context trajectories.

Profile updated

See something wrong? Report a mistake