arXiv:2609.09031cs.DSSep 2026

Manuscript Offprint

arXiv:2609.09031

Deterministic Edge-Fault-Tolerant Connectivity Labeling Schemes with Nearly Optimal Label Size

Yaowei Long, Seth Pettie, Thatchaphol Saranurak

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

For an undirected graph G=(V,E)G = (V, E) and a fault bound ff, an edge-fault-tolerant connectivity labeling scheme assigns short labels to vertices and edges, so that for any vertex pair (s,t)(s, t) and failed edge set F⊆EF \subseteq E with ∣F∣≤f|F| \leq f, the connectivity between ss and tt in G−FG - F can be answered by inspecting only the labels of ss, tt and edges in FF.

In this paper, we present a labeling scheme that uses O(log⁡2n)O(\log^2 n)-bit labels that can be computed in deterministic polynomial time. This improves upon the previous O~(f)\tilde{O}(\sqrt{f}) deterministic bound of Long, Pettie, and Saranurak [LPS25], and even slightly improves the O(min⁡{f+log⁡n,log⁡2nlog⁡f})O(\min\{f + \log n, \log^2 n \log f\}) randomized bound of Dory and Parter [DP21] and Long, Pettie, and Saranurak [LPS25] when f=Ω(log⁡2n)f = \Omega(\log^2 n). Moreover, for a general ff, this is the first labeling scheme that produces an O~(1)\tilde{O}(1)-size labeling which is simultaneously correct across all queries.

Our approach combines the cycle-space-based labeling scheme from Dory and Parter [DP21] with a recent result by Knauer [Kna26] on sparse cycle bases.

*Supported by NSF Grant CCF-2221980. †Supported by NSF Grant CCF-2238138.

1 Introduction

An edge-fault-tolerant (EFT) connectivity labeling scheme consists of a preprocessing algorithm and a query algorithm. Given an undirected graph G=(V,E)G = (V, E) and a fault bound ff, the preprocessing algorithm computes a label function L:V∪E→{0,1}∗L: V \cup E \to \{0,1\}^* that assigns each vertex and edge a binary string called a label. Subsequently, for any pair of vertices s,t∈Vs, t \in V and failed edge set F⊆EF \subseteq E with ∣F∣≤f|F| \leq f, the query algorithm can determine whether ss and tt are connected in G−FG-F by reading solely the labels of the query elements, namely, L(s),L(t)L(s), L(t) and {L(e)∣e∈F}\{L(e) \mid e \in F\}. The label size of a labeling scheme is the maximum label length of a label measured in bits. From a data structure perspective, this can be viewed as a distributed analog to edge-fault-tolerant connectivity oracles [PT07].

Randomized Labeling Schemes. The fundamental work of Dory and Parter [DP21] presented the first two non-trivial EFT connectivity labeling schemes for general graphs, achieving label sizes of O(f+log⁡n)O(f+\log n) based on cycle space sampling and O(log⁡3n)O(\log^3 n) based on graph sketching. Subsequently, Long, Pettie, and Saranurak [LPS25] slightly improved the second bound to O(log⁡2nlog⁡f)O(\log^2 n \log f). All the aforementioned labeling schemes are Monte Carlo randomized, answering each query correctly with high probability 1−1/nΩ(1)1-1/n^{\Omega(1)}. Namely, they can handle a polynomial number of queries with good success probability. However, these randomized constructions do not produce label functions that guarantee full correctness across all possible queries simultaneously within the same label size bounds1^1.

Deterministic Labeling Schemes. Several subsequent works focus on EFT connectivity labeling schemes with full correctness, or even deterministic schemes with polynomial preprocessing time. In 2023, Izumi, Emek, Wadayama, and Masuzawa [IEWM23] showed a deterministic EFT connectivity labeling scheme with O~(f2)\widetilde{O}(f^2) label size by developing a deterministic counterpart of graph sketching. Later, Long, Pettie, and Saranurak [LPS25] presented a deterministic labeling scheme with O~(f)\widetilde{O}(\sqrt{f}) label size using expander-based techniques. This currently represents the state-of-the-art bound for EFT connectivity labeling with full correctness, and it leaves a substantial gap compared to the O~(1)\widetilde{O}(1)-size randomized schemes. In particular, the following question remains open.

For a general fault bound ff, is there an EFT connectivity labeling scheme guaranteeing full correctness with O~(1)\widetilde{O}(1) label size?

Our Results. We resolve this open problem affirmatively by showing such a labeling scheme with O(log⁡2n)O(\log^2 n) label size. Moreover, our labeling scheme is deterministic with polynomial preprocessing time. See Theorem 3.1 for a formal statement. Our result also slightly improves upon the state-of-the-art randomized bounds of min⁡{f+log⁡n,log⁡3nlog⁡f}\min\{f + \log n, \log^3 n \log f\}.

Our labeling scheme builds upon the cycle-space-based scheme of Dory and Parter [DP21]. In particular, we exploit sparse cycle bases to replace the cycle-space sampling in [DP21], which is the only randomized part of their algorithm. Roughly speaking, a cycle basis is sparse if it has low edge congestion, i.e., each edge appears in only a small number of cycles in this basis. Very recently,

1^1Boosting the success probability of a randomized labeling scheme to 1−n−Ω(f)1-n^{-\Omega(f)} (to cover all nO(f)n^{O(f)} possible queries) in a black-box way increases the label size by an O~(f)\widetilde{O}(f) factor. The O(f+log⁡n)O(f+\log n)-size labeling scheme of Dory and Parter can guarantee full correctness after a white-box adaptation, albeit at the cost of increasing the label size to O(flog⁡n)O(f \log n).

Knauer [Kna26] proves that a sparse cycle basis with O(log⁡n)O(\log n) congestion must exist, improving upon the previous bound of O(log⁡2n)O(\log^2 n) [FH21, LM26]. As a by product, we present a polynomial-time deterministic algorithm that computes a sparse cycle basis with O(log⁡n)O(\log n) congestion, complementing Knauer's existential result.