David Alvarez-Melis

David Alvarez-Melis

Microsoft (United States) · Harvard University
5 previous affiliations
83Machine learning papers tracked by Lacuna
Is this you?

Research Overview

David Alvarez-Melis focuses on data-centric machine learning, optimal transport, and the interpretability of artificial intelligence systems. His foundational work developed methods to align complex datasets and design inherently explainable neural networks. More recently, his research investigates the reasoning capabilities of large language models, exploring how data properties and test-time inference strategies shape model reliability and performance.

Research Trajectory

Early in his career, Alvarez-Melis collaborated on Word Embeddings as Metric Recovery in Semantic Spaces, which framed word embeddings through the lens of metric recovery. Building on this interest in structured representations, he subsequently focused on the interpretability of complex models. He introduced A causal framework for explaining the predictions of black-box sequence-to-sequence models, utilizing variational autoencoders to infer causal dependencies between input and output tokens. Recognizing the limitations of post-hoc explanations, he developed Towards Robust Interpretability with Self-Explaining Neural Networks. This work proposed models that are inherently interpretable by design, contributing significantly to the broader area of Self-Explainable Neural Networks without Performance Loss. His efforts in model transparency also extend to the research direction of Counterfactual Explanations for Algorithmic Recourse.

A major theme in his trajectory is the application of optimal transport (OT) to machine learning. He formulated Gromov-Wasserstein Alignment of Word Embedding Spaces, casting cross-lingual correspondence directly as an OT problem to measure similarities across incomparable spaces. Around the same time, with collaborators, he explored generative modeling in Distributional Adversarial Networks, aligning with the area of Adversarial Training for Domain Invariant Representations. To address the computational bottlenecks of these methods, he proposed Structured Optimal Transport. He later established Geometric Dataset Distances via Optimal Transport, providing a formal framework to compare complex data distributions, which advanced the research direction of Scaling Optimal Transport for Massive Datasets.

Shifting focus from adapting models to adapting data, he investigated Dataset Dynamics via Gradient Flows in Probability Space, treating datasets as dynamic entities that can be transformed to improve model performance. Continuing this data-centric approach, his group presented InfoOT: Information Maximizing Optimal Transport, an extension of OT that maximizes mutual information between domains to produce coherent alignments robust to outliers and class imbalances.

In recent years, his research has heavily investigated the reasoning capabilities and test-time optimization of large language models (LLMs). He designed IGDA: Interactive Graph Discovery through Large Language Model Agents, a framework leveraging LLMs for iterative, uncertainty-driven causal graph discovery. His lab also demonstrated the limitations of current models in Investigating the interaction of linguistic and mathematical reasoning in language models using multilingual number puzzles, showing that advanced models struggle with implicit compositional rules unless mathematical operators are explicit. He analyzed test-time compute allocation in To Backtrack or Not to Backtrack: When Sequential Search Limits Model Reasoning, comparing sequential search strategies against parallel generation.

Further exploring how models learn to reason, his team revealed in Decomposing Elements of Problem Solving: What "Math" Does RL Teach? that reinforcement learning primarily improves execution robustness rather than teaching fundamentally new problem-solving skills. To optimize inference, his group introduced Guided Speculative Inference for Efficient Test-Time Alignment of LLMs, an algorithm that aligns outputs to a reward model while significantly reducing latency. Finally, returning to foundational data principles, his lab published A Critical Look at Targeted Instruction Selection: Disentangling What Matters (and What Doesn’t), which isolates the representations and algorithms that drive effective data selection for model training.

Current Directions

The most recent papers in the evidence address the reasoning capabilities and test-time optimization of large language models, alongside foundational questions in data selection. Recent work investigates how models allocate test-time compute—comparing sequential backtracking to parallel generation—and explores efficient speculative inference algorithms for aligning model outputs. Additionally, his group is examining the intersection of linguistic and mathematical reasoning, revealing how reinforcement learning acts primarily to improve execution robustness rather than teaching fundamentally new problem-solving skills. Finally, ongoing research continues his data-centric focus by disentangling the representations and algorithms that drive effective targeted instruction selection for model training.

Profile updated

See something wrong? Report a mistake