Table of Contents
Fetching ...

Neighborhood-Aware Graph Labeling Problem

Mohammad Shahverdikondori, Sepehr Elahi, Patrick Thiran, Negar Kiyavash

TL;DR

This work studies Neighborhood-Aware Graph Labeling (NAGL), where the total reward $F(x)=\sum_{v\in V} f_v(x_{N[v]})$ depends on closed neighborhoods and induces a dependency graph $G^2$. It establishes NP-hardness and SETH-tight lower bounds parameterized by $\mathrm{tw}(G^2)$, and provides an exact dynamic-programming algorithm (CFDP) running in $O(n\cdot \mathrm{tw}(G^2)\cdot L^{\mathrm{tw}(G^2)+1})$ time, with matching SETH-based limits. For nonnegative rewards, the paper delivering practical approximations includes a coloring-based $1/q$-approximation (using a $q$-coloring of $G^2$) and a Baker-type PTAS for planar graphs of bounded degree (EPTAS when $L$ is constant). Together, these results characterize the computational trade-offs imposed by the squared neighborhood structure and provide scalable strategies in sparse or planar settings, with implications for interference-aware optimization in networks. The work also formalizes the model via evaluation oracles and discusses extensions to larger neighborhoods via augmented graphs like $G^k$.

Abstract

Motivated by optimization oracles in bandits with network interference, we study the Neighborhood-Aware Graph Labeling (NAGL) problem. Given a graph $G = (V,E)$, a label set of size $L$, and local reward functions $f_v$ accessed via evaluation oracles, the objective is to assign labels to maximize $\sum_{v \in V} f_v(x_{N[v]})$, where each term depends on the closed neighborhood of $v$. Two vertices co-occur in some neighborhood term exactly when their distance in $G$ is at most $2$, so the dependency graph is the squared graph $G^2$ and $\mathrm{tw}(G^2)$ governs exact algorithms and matching fine-grained lower bounds. Accordingly, we show that this dependence is inherent: NAGL is NP-hard even on star graphs with binary labels and, assuming SETH, admits no $(L-\varepsilon)^{\mathrm{tw}(G^2)}\cdot n^{O(1)}$-time algorithm for any $\varepsilon>0$. We match this with an exact dynamic program on a tree decomposition of $G^2$ running in $O\!\left(n\cdot \mathrm{tw}(G^2)\cdot L^{\mathrm{tw}(G^2)+1}\right)$ time. For approximation, unless $\mathsf{P}=\mathsf{NP}$, for every $\varepsilon>0$ there is no polynomial-time $n^{1-\varepsilon}$-approximation on general graphs even under the promise $\mathrm{OPT}>0$; without the promise $\mathrm{OPT}>0$, no finite multiplicative approximation ratio is possible. In the nonnegative-reward regime, we give polynomial-time approximation algorithms for NAGL in two settings: (i) given a proper $q$-coloring of $G^2$, we obtain a $1/q$-approximation; and (ii) on planar graphs of bounded maximum degree, we develop a Baker-type polynomial-time approximation scheme (PTAS), which becomes an efficient PTAS (EPTAS) when $L$ is constant.

Neighborhood-Aware Graph Labeling Problem

TL;DR

This work studies Neighborhood-Aware Graph Labeling (NAGL), where the total reward depends on closed neighborhoods and induces a dependency graph . It establishes NP-hardness and SETH-tight lower bounds parameterized by , and provides an exact dynamic-programming algorithm (CFDP) running in time, with matching SETH-based limits. For nonnegative rewards, the paper delivering practical approximations includes a coloring-based -approximation (using a -coloring of ) and a Baker-type PTAS for planar graphs of bounded degree (EPTAS when is constant). Together, these results characterize the computational trade-offs imposed by the squared neighborhood structure and provide scalable strategies in sparse or planar settings, with implications for interference-aware optimization in networks. The work also formalizes the model via evaluation oracles and discusses extensions to larger neighborhoods via augmented graphs like .

Abstract

Motivated by optimization oracles in bandits with network interference, we study the Neighborhood-Aware Graph Labeling (NAGL) problem. Given a graph , a label set of size , and local reward functions accessed via evaluation oracles, the objective is to assign labels to maximize , where each term depends on the closed neighborhood of . Two vertices co-occur in some neighborhood term exactly when their distance in is at most , so the dependency graph is the squared graph and governs exact algorithms and matching fine-grained lower bounds. Accordingly, we show that this dependence is inherent: NAGL is NP-hard even on star graphs with binary labels and, assuming SETH, admits no -time algorithm for any . We match this with an exact dynamic program on a tree decomposition of running in time. For approximation, unless , for every there is no polynomial-time -approximation on general graphs even under the promise ; without the promise , no finite multiplicative approximation ratio is possible. In the nonnegative-reward regime, we give polynomial-time approximation algorithms for NAGL in two settings: (i) given a proper -coloring of , we obtain a -approximation; and (ii) on planar graphs of bounded maximum degree, we develop a Baker-type polynomial-time approximation scheme (PTAS), which becomes an efficient PTAS (EPTAS) when is constant.
Paper Structure (24 sections, 13 theorems, 9 equations, 4 figures)

This paper contains 24 sections, 13 theorems, 9 equations, 4 figures.

Key Result

Lemma 6

Fix an integer $L\ge 2$. Given a $k$-CNF formula $\varphi$ with $N$ variables, one can construct in polynomial time an instance of NAGL with label set $\mathcal{L}=[L]$ on a star graph $G$ with $t+1$ vertices, where $t\coloneqq \lceil N/\log_2 L\rceil$, such that all local rewards take values in $\{

Figures (4)

  • Figure 1: Scenario 1--2 end-to-end runtime comparison of CFDP and the ILP baseline. End-to-end includes constructing $G^2$ and computing the decomposition. Each point is the mean over five repetitions, with shaded bands showing one standard deviation.
  • Figure 2: Scenario 3 results in the budgeted monotone submodular setting. Left: runtime comparison of Greedy and ILP (mean $\pm$ one s.d. over $25$ runs). Right: box plot of the approximation ratio $F(S_{\mathrm{gr}}) / \mathrm{OPT}$ over the same runs. The dashed line marks $1-1/e$.
  • Figure 3: Scenario 1: BFS-induced subgraph of the Minnesota road network (road-minnesota) at $n=350$ and $m=413$. The red star marks the BFS start vertex.
  • Figure 4: Scenario 3: BFS-induced subgraph of the US road network (road-usroads) at $n=120000$ and $m=153{,}781$. The red star marks the BFS start vertex. For readability we visualize only the first 2000 BFS vertices.

Theorems & Definitions (23)

  • Definition 1: Squared Graph
  • Definition 2: Tree Decomposition
  • Definition 3: Treewidth
  • Remark 4
  • Definition 5: Strong Exponential Time Hypothesis (SETH) Impagliazzo2001kSATlokshtanovMarxSaurabhSODA11
  • Lemma 6: $k$-SAT to NAGL on a star
  • Remark 7: Why the oracle model matters
  • Theorem 8: NP-hardness on star graphs
  • Theorem 9: SETH-tight lower bound parameterized by $\mathop{\mathrm{tw}}\nolimits(G^2)$
  • Lemma 10: Gap-at-zero barrier for multiplicative approximation
  • ...and 13 more