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

Marek Rei

Perception Labs · AI Hub in Generative Models · Imperial College London · University of Cambridge · Leonardo Center
5 previous affiliations
  • Perception LabsSince 2015
    • AI and Machine Learning Consultant · Since 2015
    • Associated Investigator · Since 2025
    • Associate Professor in Machine Learning · Since 2025
    • Senior Lecturer in Machine Learning · 2023–2025
    • Lecturer in Machine Learning · 2019–2023
    • Visiting Researcher · Since 2019
    • Senior Research Associate · 2016–2019
    • Research Associate · 2014–2016
    • PhD student · 2009–2013
    • MPhil, Computer Science · 2008–2009
  • Leonardo CenterSince 2020
    • Machine Learning Advisor · Since 2020
79Machine learning papers tracked by Lacuna
Is this you?

Research Overview

Marek Rei focuses on natural language processing, sequence labeling architectures, and the optimization of large language models for complex reasoning. His early work developed neural network approaches for grammatical error detection and information extraction from unstructured text. More recently, his research investigates the robustness of foundation models, agentic planning, and the predictive modeling of multimodal healthcare data.

Research Trajectory

In the mid-2010s, his research explored neural architectures for sequence labeling, particularly applied to grammatical error detection. He introduced a bidirectional LSTM framework in Compositional Sequence Labeling Models for Error Detection in Learner Writing (2016), which demonstrated strong performance on the CoNLL-14 shared task and contributed to the broader area of Contextual Detection of Real Word Errors. He expanded on this foundation by integrating character-level features to build more robust word representations in Attending to Characters in Neural Sequence Labeling Models (2016). To address data scarcity in these domains, he proposed a secondary language modeling objective in Semi-supervised Multitask Learning for Sequence Labeling (2017). By training the system to predict surrounding words, the model learned general-purpose semantic and syntactic patterns without requiring additional annotated data, advancing the research direction of Mitigating Label Sparsity in Sequence Labeling Tasks.

Following this, he investigated interpretability and zero-shot transfer in Zero-Shot Sequence Labeling: Transferring Knowledge from Sentences to Tokens (2018), comparing attention and gradient visualization techniques to infer token-level labels from networks trained only on sentence-level data. He also continued advancing automated text correction using contextual word representations in Context is Key: Grammatical Error Detection with Contextual Word Representations (2019).

Moving into the 2020s, the focus of the research shifted toward the interpretability, reasoning capabilities, and robustness of larger language models. He oversaw research on unsupervised rationale extraction in Finding the Needle in a Haystack: Unsupervised Rationale Extraction from Long Text Classifiers (2023). In 2024, his work began heavily emphasizing agentic systems and planning. He introduced the StateAct framework in StateAct: State Tracking and Reasoning for Acting and Planning with Large Language Models, utilizing self-prompting and explicit state tracking of environment variables to improve performance in interactive environments over standard baselines. Concurrently, he expanded into healthcare applications, leading work on Continuous Predictive Modeling of Clinical Notes and ICD Codes in Patient Health Records (2024) to predict diagnoses and treatments earlier in a patient's hospital stay.

In 2025, his research on large language models expanded to encompass tool use, compositional reasoning, and vulnerability mitigation. He developed the TECTON framework in Meta-Reasoning Improves Tool Use in Large Language Models, which leverages a model's meta-reasoning capabilities to select candidate tools rather than relying on greedy token selection, contributing to the research direction of Error Propagation in Greedy Sequential Decoding. He also investigated model vulnerabilities, contributing to the area of Understanding Prompt Sensitivity in Language Models. This included leading empirical studies on instruction perturbations in Enhancing LLM Robustness to Perturbed Instructions: An Empirical Study and mitigating out-of-distribution performance drops through strategic data selection in How to Improve the Robustness of Closed-Source Models on NLI.

Further exploring how models acquire and combine skills, he collaborated on Fine-tuning with RAG for Improving LLM Learning of New Skills (2025), which distills retrieval-augmented generation trajectories into internalized model capabilities. He also oversaw the creation of a new evaluation framework in AgentCoMa: A Compositional Benchmark Mixing Commonsense and Mathematical Reasoning in Real-World Scenarios (2025), identifying a significant compositionality gap when models must simultaneously activate different reasoning circuits.

Most recently, his collaborative efforts have focused on the next generation of medical AI. In 2026, he participated in the development of Pretraining EHR Foundation Models with Patient-Aware Sampling, which addresses training biases toward patients with extensive medical histories to improve zero-shot clinical predictions. He also contributed to Autoregressive EHR Foundation Models with Multimodal Inputs (2026), moving beyond structured event codes to incorporate unstructured clinical notes, ECG waveforms, and chest X-rays into foundation models.

Current Directions

Recent work investigates the reasoning capabilities and robustness of large language models, alongside the development of foundation models for healthcare. In the domain of LLM agents, research focuses on bridging the compositionality gap—where models struggle to simultaneously apply mathematical and commonsense reasoning—and improving tool use through explicit meta-reasoning and state tracking. Parallel efforts address model vulnerabilities, exploring how to maintain out-of-distribution robustness and resilience against perturbed instructions without increasing training budgets.

In the medical domain, the most recent papers in the evidence address the limitations of current Electronic Health Record (EHR) models. This includes developing patient-aware sampling techniques to prevent models from biasing toward individuals with extensive medical histories, and designing autoregressive foundation models capable of processing rich, multimodal clinical inputs such as unstructured notes, ECG waveforms, and medical imaging, rather than relying solely on structured event codes.

Profile updated

See something wrong? Report a mistake