arXiv Science⌕ Search

arXiv subjects

Matic Požar

Publications and source records attributed to Matic Požar.

4 recordsLinked to original sources

Highly Scalable Influence Maximization: All Marginal Gain Estimates for the Cost of One

Influence maximization (IM) selects a small set of initially activated vertices to maximize expected influence spread in a network. Under the independent cascade (IC) model, IM is NP-hard, exact influence evaluation is \#P-hard, and Monte Carlo estimation is expensive. While scalable IM research has largely focused on structural heuristics and reverse-reachability (RR) sampling, we demonstrate the competitiveness of analytical diffusion approximations. We develop a gradient-based framework that estimates all marginal influence gains simultaneously by differentiating analytical influence approximations. For fixed propagation horizons, this reduces candidate-scoring complexity from $O(n(n+m))$ to $O(n+m)$, where $n$ and $m$ denote the numbers of vertices and edges. Combined with proportional batching, this yields IM algorithms with time complexity $O((n+m)\log(K+1))$, where $K$ is the seed budget. We also exploit the modularity of the ALE approximation to eliminate iterative seed selection. We evaluate our methods across 263 configurations, covering four synthetic network families and nine real-world networks with up to 2.39 million vertices and 30.62 million directed edges. Our IPL-based algorithm achieves a median influence shortfall of only $0.644\%$ relative to the best observed completed method, outperforming SKIM in both influence and runtime in 231 of 263 configurations. Our DMP-based algorithm achieves a median speedup of $20\times$ over completed IMM executions while generally maintaining comparable influence quality. ALE consistently runs in under one second and outperforms conventional structural heuristics and the tested OPIM-C-style and SUBSIM configurations in influence quality in most cases. These findings suggest that analytical IC approximations deserve greater attention in scalable IM research.

cs.SI↗

On the Instance Optimality of Bidirectional Dijkstra's Algorithm

We study instance optimality for the shortest $st$-path problem on positive-weight graphs, emphasizing how graph structure and query access determine the cost of certifying shortest paths. For undirected simple graphs in the standard adjacency-list model, we prove instance-sensitive lower bounds against all randomized algorithms that are correct on every admissible input. A quantitative reservoir argument bounds the instance-optimality ratio of corrected bidirectional Dijkstra in terms of its exploration size and the vertex count. A tensor-graph reduction translates low-query explored edges into vertex-cover constraints, yielding sufficient conditions through optimizable explored cores, degree moments, exploration orientations, and auxiliary degree profiles. We also derive bounds using exceptional high-degree vertices and weight-critical edges, and prove that a superconstant speedup over bidirectional Dijkstra requires all but a vanishing fraction of explored edges in each direction to concentrate around sublinear vertex sets. We also introduce a local-discovery model in which algorithms initially know only the terminal handles, cannot query undiscovered vertices or obtain the vertex count, but may make degree queries at discovered vertices. In this model, corrected bidirectional Dijkstra is constant-factor instance-optimal on directed and undirected positive-weight simple graphs, including with incoming and outgoing degree queries, for every fixed adjacency ordering. Finally, we revisit the correction to the original update rule and give a self-contained proof of the corrected multigraph guarantee.

cs.DS↗

Fast and Scalable Influence Estimation in the Independent Cascade Model: a unified framework

Computing diffusion processes on networks is fundamental to applications including influence maximization, epidemic modeling, information propagation, and diffusion inference. The Independent Cascade (IC) model is one of the most widely used models of progressive diffusion, yet exact computation of its activation probabilities is #P-hard, while Monte Carlo simulation becomes costly when accurate estimates are required repeatedly. Despite its central role, analytical approximation of the IC diffusion function has received comparatively little systematic attention relative to the extensive literature on influence-maximization algorithms. We present a comprehensive study of analytical approximations for the IC model. We review a wide range of existing approaches and unify them through a common framework based on temporal representation, retained propagation information, and aggregation rule. This perspective exposes connections between previously distinct approximation families and motivates several new methods. We further conduct, to our knowledge, the first large-scale cross-family comparison of analytical IC approximations for node-level marginal activation probabilities. Our benchmark spans real-world and synthetic networks with systematically varied topology, seed-set size, edge-probability model, and diffusion strength. The proposed second-order dynamic message-passing method achieves the lowest pooled median error and the lowest dataset- or graph-family-level median error on every network considered. The results reveal systematic differences between approximation families, identify regimes in which higher-order corrections are most beneficial, and establish analytical IC approximation as a rich accuracy-efficiency design space rather than a collection of isolated methods.

cs.SI↗

Exact Greedy Influence Maximization in Linear Time on Bounded-Treewidth Graphs

Computing influence spread under the Independent Cascade (IC) model is #P-hard, and influence maximization is commonly approached using Monte Carlo or reverse-reachable-set sampling. We study IC diffusion on bounded-treewidth graphs. Using probability distributions over separator reachability relations, we obtain exact influence evaluation in $O(n2^{O(w^2)}\operatorname{poly}(w))$ time for a graph with $n$ nodes and treewidth $w$. Our main contribution is an exact all-marginal-gains algorithm. We introduce variable artificial source edges and show that, at a deterministic seed set, the derivative with respect to each source-edge probability equals the corresponding greedy marginal gain. Reverse-mode differentiation therefore computes all marginal gains simultaneously with the same asymptotic complexity as one exact influence evaluation. This yields an exact implementation of classical greedy influence maximization in $O(Kn2^{O(w^2)}\operatorname{poly}(w))$ time, linear in graph size for fixed $w$ and seed budget $K$. We also show that the separator-relation representation has tight $2^{Θ(w^2)}$ state complexity within exact context-independent compositional separator summaries. This contrasts with the NP-hardness of globally optimal IC influence maximization already on graphs of treewidth one and pathwidth two. Experiments on synthetic bounded-treewidth networks are consistent with linear scaling for fixed width and show that runtime is largely insensitive to propagation and seed-activation probabilities. In demanding diffusion regimes, the method substantially outperforms reverse-reachable-set and optimized Monte Carlo greedy baselines while computing greedy marginal gains exactly.

cs.DS↗