Node-Weighted Triangles: Faster and Simpler
Abstract
Weighted variants of triangle detection are an important object of study because of their prominence in fine-grained complexity. We revisit the Node-Weighted Triangle problem, where the goal is to decide if a vertex-weighted graph contains a triangle whose node weights sum to zero. This problem has been the focus of a celebrated line of work, beginning with a subcubic-time algorithm [Vassilevska, Williams; STOC '06], and culminating in algorithms running almost in matrix multiplication time, [Czumaj, Lingas; SODA '07], [Vassilevska W., Williams; STOC '09]. This runtime is almost-optimal, since even detecting an unweighted triangle is conjectured to require matrix multiplication time . However, the superpolylogarithmic overhead persists in a world where near-optimal matrix multiplication is possible (i.e., ). In this paper, we present a new algorithm solving Node-Weighted Triangle in time, closing the gap to unweighted triangle detection completely. Remarkably, our algorithm is much simpler than previous approaches, which use involved recursion schemes and communication protocols.
Cite
@article{arxiv.2605.08588,
title = {Node-Weighted Triangles: Faster and Simpler},
author = {Shyan Akmal and Nick Fischer},
journal= {arXiv preprint arXiv:2605.08588},
year = {2026}
}