Papers
Topics
Authors
Recent
Search
2000 character limit reached

Neighborhood-Aware Graph Labeling Problem

Published 8 Feb 2026 in cs.DS and cs.CC | (2602.08098v1)

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)G = (V,E), a label set of size LL, and local reward functions fvf_v accessed via evaluation oracles, the objective is to assign labels to maximize vVfv(xN[v])\sum_{v \in V} f_v(x_{N[v]}), where each term depends on the closed neighborhood of vv. Two vertices co-occur in some neighborhood term exactly when their distance in GG is at most $2$, so the dependency graph is the squared graph G<sup>2G<sup>2 and tw(G<sup>2)\mathrm{tw}(G<sup>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ε)<sup>tw(G<sup>2)</sup></sup>n<sup>O(1)(L-\varepsilon)<sup>{\mathrm{tw}(G<sup>2)}\cdot</sup></sup> n<sup>{O(1)}-time algorithm for any $\varepsilon&gt;0$. We match this with an exact dynamic program on a tree decomposition of G<sup>2G<sup>2 running in O!(ntw(G<sup>2)</sup>L<sup>tw(G<sup>2)+1)O!\left(n\cdot \mathrm{tw}(G<sup>2)\cdot</sup> L<sup>{\mathrm{tw}(G<sup>2)+1}\right) time. For approximation, unless P=NP\mathsf{P}=\mathsf{NP}, for every $\varepsilon&gt;0$ there is no polynomial-time n<sup>1εn<sup>{1-\varepsilon}-approximation on general graphs even under the promise $\mathrm{OPT}&gt;0$; without the promise $\mathrm{OPT}&gt;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 qq-coloring of G<sup>2G<sup>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 LL is constant.

Summary

  • The paper characterizes NAGL as optimization over the squared graph G², proving NP-hardness on binary-labeled stars and a SETH-tight lower bound of (L−ε)^tw(G²)·n^{O(1)}.
  • The paper introduces Clique-Focused Dynamic Programming, which finds exact solutions in O(n·t·L^{t+1}) time for treewidth t and matches the optimal exponential dependence on label count.
  • For nonnegative rewards, the paper provides 1/q coloring approximations and a planar bounded-degree PTAS, while showing general multiplicative approximation is impossible without additional assumptions.

The paper studies the Neighborhood-Aware Graph Labeling (NAGL) problem, an abstract combinatorial optimization formulation of the optimization oracle that arises in multi-armed bandits with network interference (2602.08098). Given an undirected graph G=(V,E)G=(V,E), a label set LL with LLL \coloneqq |L|, and local reward functions fv:LN[v]Rf_v : L^{|N[v]|} \to \mathbb{R} accessible via polynomial-time evaluation oracles, NAGL asks for a labeling maximizing F(x)=vVfv(xN[v])F(x)=\sum_{v\in V} f_v(x_{N[v]}), where each term depends on the closed neighborhood of a vertex. Because two vertices co-occur in some local term exactly when their distance in GG is at most two, the dependency structure is the squared graph G2G^2; equivalently, NAGL is a weighted constraint satisfaction problem whose primal graph is G2G^2. The paper delivers a tight characterization of both exact and approximate solvability of this oracle, which prior work on interference-aware learning had assumed away as computationally free.

Hardness: NP-hardness on stars and SETH-tight lower bounds

The central hardness construction reduces kk-SAT to NAGL on a star graph. The reduction packs NN Boolean variables into base-LL0 digits distributed over LL1 leaves; the center's reward function decodes the leaf labels into a truth assignment and evaluates LL2. All rewards are in LL3, LL4 iff LL5 is satisfiable, and since any two leaves are at distance two, LL6 is the clique LL7 with LL8. This yields two strong statements. First, NAGL is NP-hard even on star graphs with binary labels (LL9). Second, assuming SETH, no algorithm runs in time LLL \coloneqq |L|0 for any LLL \coloneqq |L|1, for every fixed LLL \coloneqq |L|2.

Two caveats deserve emphasis. The reduction is polynomial-time only under the evaluation-oracle input model: if LLL \coloneqq |L|3 were given explicitly as a table, the input size would be LLL \coloneqq |L|4, itself exponential in LLL \coloneqq |L|5. Also, bounding LLL \coloneqq |L|6 alone does not control complexity—a star has LLL \coloneqq |L|7 but LLL \coloneqq |L|8—and neither does bounding LLL \coloneqq |L|9 alone, since bounded-degree expanders have fv:LN[v]Rf_v : L^{|N[v]|} \to \mathbb{R}0. Tractability requires both quantities small; the useful upper bound fv:LN[v]Rf_v : L^{|N[v]|} \to \mathbb{R}1 follows from a bag-expansion argument.

Inapproximability

With rewards allowed to be negative—or even with fv:LN[v]Rf_v : L^{|N[v]|} \to \mathbb{R}2 rewards but without a promise on the optimum—multiplicative approximation collapses entirely. A gap-at-zero argument shows that unless fv:LN[v]Rf_v : L^{|N[v]|} \to \mathbb{R}3, no polynomial-time algorithm achieves any finite multiplicative approximation ratio, even on stars with binary labels, because distinguishing fv:LN[v]Rf_v : L^{|N[v]|} \to \mathbb{R}4 from fv:LN[v]Rf_v : L^{|N[v]|} \to \mathbb{R}5 decides SAT. Under the promise fv:LN[v]Rf_v : L^{|N[v]|} \to \mathbb{R}6, a clean reduction from Maximum Independent Set (labelings encode independent sets so that fv:LN[v]Rf_v : L^{|N[v]|} \to \mathbb{R}7) shows that for every fv:LN[v]Rf_v : L^{|N[v]|} \to \mathbb{R}8 there is no polynomial-time fv:LN[v]Rf_v : L^{|N[v]|} \to \mathbb{R}9-approximation on general graphs, again with F(x)=vVfv(xN[v])F(x)=\sum_{v\in V} f_v(x_{N[v]})0. These results imply that meaningful approximation necessarily exploits structure beyond general graphs—either nonnegative rewards with sparsity, or planarity.

Exact algorithm: Clique-Focused Dynamic Programming

On the algorithmic side, the paper introduces Clique-Focused Dynamic Programming (CFDP), which runs over a nice tree decomposition of F(x)=vVfv(xN[v])F(x)=\sum_{v\in V} f_v(x_{N[v]})1 of width F(x)=vVfv(xN[v])F(x)=\sum_{v\in V} f_v(x_{N[v]})2. The key structural fact is that each closed neighborhood F(x)=vVfv(xN[v])F(x)=\sum_{v\in V} f_v(x_{N[v]})3 is a clique in F(x)=vVfv(xN[v])F(x)=\sum_{v\in V} f_v(x_{N[v]})4 and hence is contained in some bag; assigning each reward term F(x)=vVfv(xN[v])F(x)=\sum_{v\in V} f_v(x_{N[v]})5 to such a bag decomposes F(x)=vVfv(xN[v])F(x)=\sum_{v\in V} f_v(x_{N[v]})6 as a sum of per-bag functions F(x)=vVfv(xN[v])F(x)=\sum_{v\in V} f_v(x_{N[v]})7, after which standard bottom-up recurrences over introduce, forget, and join nodes apply. CFDP computes an optimal labeling in F(x)=vVfv(xN[v])F(x)=\sum_{v\in V} f_v(x_{N[v]})8 time and F(x)=vVfv(xN[v])F(x)=\sum_{v\in V} f_v(x_{N[v]})9 space (GG0 working space if only the value is needed). Combined with the SETH lower bound, this establishes that the base GG1 in the exponential dependence on GG2 is optimal up to polynomial factors—a matching upper and lower bound in the fine-grained sense.

Coloring-based approximation for nonnegative rewards

Assuming all GG3, the paper gives a simple color-class maximization scheme. Within a color class of a proper coloring of GG4, closed neighborhoods are pairwise disjoint (vertices at distance at least three), so per-vertex neighborhood maximizers can be combined into one consistent labeling without conflicts. Given a proper GG5-coloring of GG6, this yields a GG7-approximation using GG8 oracle evaluations, i.e., GG9 time. Without a supplied coloring, a greedy coloring gives a G2G^20-approximation, hence a constant-factor guarantee when G2G^21 is bounded via G2G^22. These guarantees are nonvacuous only under G2G^23, an assumption the paper states explicitly.

Baker-type PTAS on planar bounded-degree graphs

For planar graphs with bounded maximum degree and nonnegative rewards, the paper develops a Baker-type shifting scheme. Removing one BFS layer out of every G2G^24, exactly solving NAGL on each remaining component with CFDP, and taking the best over all G2G^25 offsets yields a G2G^26-approximation with G2G^27. The loss factor of G2G^28 comes from radius-one dependence: a vertex is unsafe under an offset only if its own layer or an adjacent layer is removed. Components of the punctured graph have G2G^29 by diameter-treewidth bounds for minor-closed families, giving G2G^20 and overall running time G2G^21; for constant G2G^22 this is an EPTAS. An extension remark covers radius-G2G^23 dependencies, where the shifting loss becomes G2G^24.

Budgeted submodular variant and experiments

An appendix treats binary labels with budgeted monotone submodular objectives: local submodularity of each G2G^25 on G2G^26 lifts to global submodularity of G2G^27, so Standard Greedy attains the Nemhauser–Wolsey–Fisher G2G^28 guarantee.

Experiments support the theory. On Minnesota road subgraphs with growing G2G^29, CFDP outperforms a Gurobi-based ILP throughout (15 seconds versus 16 minutes at kk0), though both eventually hit a 10-hour limit (CFDP at kk1, ILP at kk2). On kk3 ladder graphs, where kk4 is constant, CFDP scales to kk5 in roughly 20 seconds while the ILP times out already near kk6, confirming the predicted dependence on treewidth rather than on kk7 alone. In the budgeted submodular setting on US road subgraphs up to kk8, Greedy runs in about 21 seconds (versus roughly 30 minutes for ILP) and empirically achieves approximation ratios around kk9, above the worst-case NN0.

Limitations and open problems

The paper's guarantees depend on explicit assumptions at several points: hardness and exactness rely on the evaluation-oracle model for reward functions; approximation results require nonnegativity (and NN1 for multiplicative ratios to be meaningful); the PTAS requires planarity and bounded degree; and CFDP assumes a width-NN2 tree decomposition of NN3 is available, with an additional NN4 overhead for computing one. Notably, the approximation guarantees are driven purely by graph structure; the paper leaves open whether structure in the reward functions themselves—such as exposure mappings or other low-complexity neighborhood summaries arising in the interference literature—admits polynomial-time approximation algorithms, possibly even on general graphs. It also leaves open extending CFDP to budgeted set-function objectives without inflating the state space by a factor of NN5.

Conclusion

NAGL isolates the computational core of optimization oracles used in bandits with network interference and characterizes it tightly: NP-hard on stars with binary labels, SETH-tight at base NN6 parameterized by NN7, essentially inapproximable on general graphs, yet admitting a NN8-coloring approximation and a PTAS/EPTAS on planar bounded-degree graphs with nonnegative rewards. The results indicate that the practicality of interference-aware learning algorithms hinges on structural parameters of the squared graph, not of the original network.

Paper to Video (Beta)

No one has generated a video about this paper yet.

Whiteboard

No one has generated a whiteboard explanation for this paper yet.

Open Problems

We haven't generated a list of open problems mentioned in this paper yet.