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

Sean Moss

University of Birmingham
2 previous affiliations
11Machine learning papers tracked by Lacuna
Is this you?

Research Overview

Sean Moss focuses on the intersection of category theory, programming language semantics, and categorical probability theory. His research develops structural and algebraic foundations for computational effects, with particular emphasis on probabilistic programming, memory management, and the formal modeling of reasoning processes. His work frequently utilizes topos theory, categorical logic, and the framework of Markov categories to provide synthetic, coordinate-free accounts of complex mathematical and computational phenomena.

Research Trajectory

The early stages of Moss’s research were primarily concerned with the denotational semantics of programming languages, specifically addressing the challenges of state and effect masking. This period involved developing rigorous mathematical models for dynamic memory allocation and higher-order probabilistic inference. In A monad for full ground reference cells, Moss contributed to a denotational account of potentially cyclic memory cells using monads on functor categories. This work identified how heaps could be treated as objects within specific functor categories, allowing for the derivation of monads that support effect masking through state monad transformers.

During this same period, Moss participated in efforts to modularize the semantics of Bayesian inference. In Denotational validation of higher-order Bayesian inference, he was part of a team that conceptualized inference algorithms as manipulations of intermediate representations of probabilistic programs. By using higher-order functions and inductive types, this research sought to provide a theoretical justification for the composition of sophisticated inference algorithms, bridging the gap between implementation and denotational semantics in measurable spaces.

Categorical Probability and Markov Categories

A significant shift in Moss’s work occurred as he began to focus on the foundational structures of probability theory through the lens of category theory. This transition moved away from traditional measure-theoretic "analytic" arguments toward "synthetic" proofs that rely on the algebraic properties of Markov categories and string diagrams.

In Probability monads with submonads of deterministic states - Extended version, Moss established a formal connection between probability monads and Markov categories. By introducing the concept of "observational monads"—where a probability distribution is uniquely determined by its infinite sequence of independent samples—he demonstrated that deterministic behavior can be characterized purely through the algebraic structure of the monad. This work is central to the project of Unified Reasoning via Semiring Abstractions, as it seeks to provide a common framework for tracking probabilities, costs, and occurrences across different logical systems.

Moss further applied this synthetic approach to classical theorems in dynamical systems. In A category-theoretic proof of the ergodic decomposition theorem, he provided a novel proof of a fundamental result in ergodic theory using Markov categories. This structural proof avoids the complexities of traditional measure theory, offering a setting that is independent of the system's underlying "clock" or state-space complexity.

Probabilistic Programming and Graph Theory

Moss’s more recent work has explored the relationship between probabilistic programming languages and combinatorial structures, specifically random graphs. This research connects the semantics of programming interfaces to the theory of graphons, which are used to describe the limits of dense graphs.

In Probabilistic Programming Interfaces for Random Graphs: Markov Categories, Graphons, and Nominal Sets, Moss and his collaborators proved that well-behaved equational theories for graph-generating programs are semantically equivalent to graphons. This research provides a bridge between the high-level abstractions of programming languages and the rigorous combinatorial tools used in graph theory. This work has implications for Overcoming the Dense Graph Assumption in Graph Learning, as it provides a formal semantic basis for how graph-based models can generalize across different scales and structures.

Current Directions: Reasoning and Cognitive Capacity

Currently, Moss is extending his expertise in categorical logic and formal semantics to the study of human and machine reasoning. Working in collaboration with cognitive scientists, he investigates the hypothesis that resolving questions is a central mechanism of the mind. This direction involves applying formal methods to evaluate the reasoning capabilities and failure modes of large language models (LLMs).

In Stronger Language Models Produce More Human-Like Errors, Moss explored how the errors made by increasingly sophisticated LLMs mirror systematic logical fallacies observed in human cognition. This research suggests that as models become more capable, their reasoning patterns—and their mistakes—converge toward human-like heuristics. This work utilizes theory-grounded frameworks to generate synthetic logic puzzles, providing a more nuanced understanding of the "cognitive" limits of current artificial intelligence systems.

Representative Work

Profile updated

See something wrong? Report a mistake