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

Babak Rahmani

University of Tübingen · Microsoft (United States)
6 previous affiliations
9Machine learning papers tracked by Lacuna
Is this you?

Research Overview

Babak Rahmani focuses on the architecture and expressivity of neural sequence models, emphasizing implicit networks, state-space models, and algorithmic reasoning. His trajectory spans from early work in computational neuroscience to the development of deep equilibrium models that balance parallelizability with recurrent expressivity. Most recently, his research investigates state-tracking capabilities in language models and the reverse-engineering of behavioral policies.

Research Trajectory

Rahmani’s early research explored the intersection of computational neuroscience and machine learning, specifically focusing on how high-dimensional natural stimuli are encoded in the visual system. He developed a joint model of natural visual inputs and neuronal responses using the Information Bottleneck framework. This work, detailed in Natural image synthesis for the retina with variational information bottleneck representation, sought to identify which features of a visual scene are strictly necessary to explain neuronal spike trains in ex-vivo retinas. By compressing input data into a few latent variables that predict outputs, this research also intersected with the broader area of Temporal Smoothness Priors for Latent Space Models, utilizing latent representations to capture complex correlations in biological data.

Building on his interest in latent representations and network expressivity, Rahmani transitioned toward the study of implicit neural networks. He investigated how Deep Equilibrium (DEQ) models, which adaptively adjust their compute resources by finding fixed points, compare to traditional feedforward networks. In Regularizing the Infinite: Improved Generalization Performance with Deep Equilibrium Models, he demonstrated that DEQs can offer superior out-of-distribution generalization and robustness to noise, particularly in algorithmic tasks. This robustness makes implicit architectures highly suitable for emerging hardware paradigms, such as analog or optical computing systems, which offer high compute capabilities but suffer from inherent noise.

This focus on implicit architectures naturally extended into the domain of sequence modeling and language models. With collaborators, he explored the theoretical and practical bridges between modern parallelizable architectures and classical Recurrent Neural Networks (RNNs). The resulting work, Implicit Language Models are RNNs: Balancing Parallelization and Expressivity, introduced implicit State-Space Models (SSMs). By iterating transformations to a fixed point, these models achieve the deep expressivity required for complex state-tracking problems that typically confound standard Transformers, while maintaining the scalability necessary for billion-parameter models. This contribution advanced several key research directions, including the area of Sequential Parallel Duality for Efficient Sequence Modeling and the broader field of Parallelizable Recurrence for Efficient Sequence Modeling. Furthermore, by addressing the limitations of standard attention mechanisms in state-tracking, the work provided insights into the research direction of Algorithmic Length Generalization in Neural Sequence Models and expanded the utility of research in the area of Deep Equilibrium Models and Implicit Layers.

Continuing to probe the limits of sequence model architectures, Rahmani’s subsequent research formalized state-tracking tasks to better reflect the next-token prediction paradigm used in modern language modeling. He directed research into permutation composition, noting that traditional sequence-to-sequence setups do not perfectly translate to autoregressive training. To address this gap, his team converted permutation composition into code via Read-Eval-Print Loop (REPL) traces. In Learning State-Tracking from Code: REPL Traces and Probabilistic Automata, they demonstrated that by interleaving state-reveals through print statements and variable transformations, linear RNNs excel at state-tracking tasks where Transformers continue to struggle.

Most recently, Rahmani has expanded his focus to the strategic and behavioral capabilities of large language models. He introduced RevengeBench: Reverse Engineering Code-Space Policies from Behavioral Experiments, a benchmark designed to test whether frontier models can deduce the hidden code of game-playing agents purely through observation. By combining passive observation with active probing—where models design custom opponents to test specific hypotheses—he showed that LLMs can reconstruct up to 72% of a target’s behavioral logic, highlighting new dimensions of strategic advantage in multi-agent environments.

Current Directions

The most recent work in Rahmani’s evidence focuses on the intersection of algorithmic reasoning, state-tracking, and the behavioral analysis of large language models. A primary current direction involves rigorously testing the limits of sequence architectures—particularly contrasting linear recurrent neural networks with standard Transformers—by framing complex state-tracking problems as code generation tasks. By utilizing execution traces and interleaved state-reveals, this research seeks to understand how different architectural priors handle sequential logic and permutation composition in a next-token prediction setting.

Concurrently, Rahmani is investigating the capacity of frontier language models to perform active inference in multi-agent settings. This involves developing methodologies for models to reverse-engineer the hidden policies of other agents through a combination of passive observation and active, hypothesis-driven probing. Ultimately, this work explores how language models can deduce underlying programmatic logic from external behavior, paving the way for more sophisticated strategic reasoning in artificial agents.

Profile updated

See something wrong? Report a mistake