Research

My overall research goal is to develop fast, effective, theoretically-grounded algorithms to power data science applications. At the moment, my focus is on improving algorithms for dynamic clustering and similarity search.

All Publications

ICML 2026

Fully Dynamic Coreset Spectral Clustering

Ben Jourdan, Peter Macgregor, Gregory Schwartzman


ICML 2025

Dynamic Similarity Graph Construction with Kernel Density Estimation

Steinar Laenen, Peter Macgregor, and He Sun

arXiv code


ICLR 2025

Coreset Spectral Clustering

Ben Jourdan, Gregory Schwartzman, Peter Macgregor, and He Sun


AISTATS 2025

Dynamic DBSCAN with Euler Tour Sequences

Seiyun Shin, Ilan Shomorony, and Peter Macgregor


Tech. Report

Spectral Toolkit of Algorithms for Graphs: Technical Report (2)

Peter Macgregor and He Sun

arXiv PDF code


Preprint

Polynomial-Time Algorithms for Weaver's Discrepancy Problem in a Dense Regime

Ben Jourdan, Peter Macgregor, and He Sun

arXiv


NeurIPS 2023 Spotlight

Fast Approximation of Similarity Graphs with Kernel Density Estimation

Peter Macgregor and He Sun


NeurIPS 2023

Fast and Simple Spectral Clustering in Theory and Practice

Peter Macgregor


ISAAC 2023

Is the Algorithmic Kadison-Singer Problem Hard?

Ben Jourdan, Peter Macgregor, and He Sun

arXiv conference


Tech. Report

Spectral Toolkit of Algorithms for Graphs: Technical Report (1)

Peter Macgregor and He Sun

arXiv PDF code


ICML 2022

A Tighter Analysis of Spectral Clustering, and Beyond

Peter Macgregor and He Sun


NeurIPS 2021

Finding Bipartite Components in Hypergraphs

Peter Macgregor and He Sun


ICML 2021 Oral

Local Algorithms for Finding Densely Connected Clusters

Peter Macgregor and He Sun


PhD Thesis

On Learning the Structure of Clusters in Graphs

Peter Macgregor, University of Edinburgh, 2022