Roly Perera
· 2 previous affiliations
- University of CambridgeSince 2023
- Assistant Professor · Since 2023
- University of Bristol2022–2025
- Researcher · 2022–2025
Research Overview
Roly Perera focuses on programming language theory, probabilistic programming, and language-based techniques for data visualization. Initial work developed dynamic analysis methods for linking structured outputs to data using bidirectional program slicing. More recently, the focus has shifted toward functional programming foundations, specifically utilizing algebraic effects and effect handlers to build modular probabilistic models and programmable inference algorithms.
Research Trajectory
In 2022, Perera led research investigating language-based dynamic analysis techniques to connect structured outputs, such as visualizations, directly to underlying data. As the first author of Linked visualisations via Galois dependencies, Perera introduced an approach based on bidirectional program slicing and Galois connections. This work allows users to select specific substructures of interest to explore relationships between data attributes and visual elements. By enabling selections to be negated and equipping the bidirectional analysis with a De Morgan dual, the methodology provides a principled foundation for linking multiple outputs generated from the same input. This methodology contributes to the broader research direction of State Synchronization for Multi View Data Exploration, offering formal language-level guarantees for round-tripping properties in interactive systems.
Concurrently, Perera's research expanded into probabilistic programming languages (PPLs) and functional programming paradigms. Serving as the second author on Modular probabilistic models via algebraic effects (2022), Perera contributed to the development of an embedded domain-specific language in Haskell. This work addressed the limitations of existing PPLs, where models are often restricted to specific instances of simulation or inference and lack composability. By leveraging algebraic effects, the research demonstrated how probabilistic models could be made modular, first-class, and reusable, allowing both simulation and inference to be expressed naturally as composable program transformations using effect handlers.
Building on this foundation, Perera continued to explore the intersection of functional programming and probabilistic inference. In 2023, as the second author of Effect Handlers for Programmable Inference, Perera helped address the complexities of inference algorithms, which are typically implemented as monolithic, imperative programs with difficult-to-manage side effects. The paper advocates for functional programming with typed effects as a structured alternative. By utilizing effect handlers rather than traditional monad transformers, the work provides a more modular foundation for "inference programming," enabling researchers to efficiently customize algorithms to specific probabilistic models without obscuring the underlying algorithmic structure.
Current Directions
The most recent papers in the evidence indicate a sustained focus on the foundations of probabilistic programming and functional programming semantics. Recent work investigates how typed effects and effect handlers can be utilized to manage the complex side effects inherent in statistical modeling and programmable inference. By embedding these domain-specific languages within host languages like Haskell, this ongoing research aims to replace monolithic inference implementations with highly modular, composable, and reusable programmatic structures.
Profile updated
| Title | Venue | Year |
|---|---|---|
| Effects and Effect Handlers for Programmable Inference | arXiv | 2023 |
| Modular probabilistic models via algebraic effects | Proc. ACM Program. Lang | 2022 |
| Linked visualisations via Galois dependencies | Proc. ACM Program. Lang | 2022 |
Loading new papers…
Other researchers whose papers cluster into the same research directions — a proxy for overlapping technical interests and shared intellectual neighborhoods.
See something wrong? Report a mistake