Efficient Algorithms for Learning and Compressing Monophonic Halfspaces in Graphs

Marco Bressan, Victor Chepoi, Emmanuel Esposito, Maximilian Thiessen
6/29/2025
cs.LGcs.DMmath.CO

No confident code implementation found for this paper.

Abstract

Abstract notions of convexity over the vertices of a graph, and corresponding notions of halfspaces, have recently gained attention from the machine learning community. In this work we study monophonic halfspaces, a notion of graph halfspaces defined through closure under induced paths. Our main result is a $2$-satisfiability based decomposition theorem, which allows one to represent monophonic halfspaces as a disjoint union of certain vertex subsets. Using this decomposition, we achieve efficient and (nearly) optimal algorithms for various learning problems, such as teaching, active, and online learning. Most notably, we obtain a polynomial-time algorithm for empirical risk minimization. Independently of the decomposition theorem, we obtain an efficient, stable, and proper sample compression scheme. This makes monophonic halfspaces efficiently learnable with proper learners and linear error rate $1/\varepsilon$ in the realizable PAC setting. Our results answer open questions from the literature, and show a stark contrast with geodesic halfspaces, for which most of the said learning problems are NP-hard.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{bressan2025efficient,
  title  = {Efficient Algorithms for Learning and Compressing Monophonic Halfspaces in Graphs},
  author = {Marco Bressan and Victor Chepoi and Emmanuel Esposito and Maximilian Thiessen},
  year   = {2025},
  eprint = {2506.23186},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2506.23186v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2506.23186.svg)](https://codeofpaper.com/paper/2506.23186)

Discussion