Large graph algorithms such as PageRank, label propagation and Gaussian belief propagation are usually run on distributed "think like a vertex" engines. In these engines each vertex repeatedly reads messages from its neighbors, updates its own value, and sends new messages. Much of that work is duplicated. Vertices that sit in structurally identical positions (the thousands of leaves hanging off a hub, repeated relational templates, identical room layouts in an archaeological database) receive the same messages and compute the same values. Graph lifting removes the duplication. It groups indistinguishable vertices into weighted "supernodes" and runs the algorithm on the much smaller compressed graph, with results that are provably exact. Every lifting system we know of, however, first runs a separate symmetry-detection pass to convergence on a single machine and only then begins the real computation. That pass is color refinement, a procedure in which each vertex repeatedly relabels itself by the multiset of its neighbors' labels. On graphs too large for one machine this pass cannot run. On graphs that turn out to have little symmetry it is pure wasted time.
This note proposes to fuse the two. Symmetry detection is itself a vertex-centric message-passing loop, and a symmetric message-passing algorithm's value at superstep $t$ is fully determined by a vertex's color after $t$ rounds of refinement. A distributed engine can therefore run both at once. Edges carry only small integer color IDs. The floating-point algorithm runs on a table with one entry per color class, not one per vertex. Once the coloring stops changing, the raw edges go silent and the algorithm continues on the compressed graph alone, which is often small enough to move to one machine. The consequence we want to establish is that lifting becomes an "anytime" optimization. It never requires a separate pass. If symmetry turns out to be scarce, it can be abandoned mid-run with no lost progress on the actual computation. The only cost it ever adds over an uncompressed run is one integer per edge per superstep.
Core Claim
Consider any vertex program whose update is a symmetric function of the vertex's own state and the multiset of its neighbors' states, started from values that depend only on discrete labels. Non-personalized PageRank, label propagation with categorical seeds, Gaussian belief propagation on relational factor graphs, and fixed-depth graph neural network inference over categorical features all qualify. Let $c_t(v)$ be the color of vertex $v$ after $t$ rounds of refinement, and let $x_t(v)$ be its algorithm state. Then $x_t(v)=g_t(c_t(v))$ for some function $g_t$. The color $c_{t+1}(v)$ is defined by the pair ($c_t(v)$, multiset of $c_t$ over neighbors), which we call the signature $\sigma_{t+1}(v)$. For a sum-aggregation update $x_{t+1}(v)=f\big(x_t(v),\sum_{u\sim v} w_{uv}\, \phi(x_t(u))\big)$, where $w_{uv}$ is an edge weight, $\phi$ a per-message transform and $f$ the vertex update, the new state of an entire class can be computed from its signature alone:
$$ g_{t+1}(c) = f\Big(g_t(c_{\text{own}}),\ \sum_{(c',k)\in\sigma(c)} k\, \phi\big(g_t(c')\big)\Big), $$
Here $c_{\text{own}}$ is the class's previous color and $(c',k)$ ranges over (neighbor color, weighted count) pairs in the signature. Mean and max aggregators work the same way, using counts and set membership respectively.
The engine does the following at each superstep. Every vertex sends its current color ID along its edges and hashes its received multiset into a signature. It then routes the signature to the worker that owns that hash. Each owner deduplicates signatures, checks them for exact equality so that hash collisions are caught rather than trusted, assigns new colors, and evaluates $g_{t+1}$ once per class. When a global counter shows the number of classes unchanged across a round, the partition is the coarsest equitable partition (the grouping in which every vertex of class $i$ has the same number of neighbors in class $j$). From then on the algorithm iterates on the quotient graph of classes and signatures. If the class count after $k$ rounds exceeds a fraction $\rho$ of the vertex count, the engine writes $g_k$ back to vertices and continues as an ordinary Pregel run.
What is new relative to prior lifting work is the placement of the work, not the lifting math. Symmetry discovery is not a preprocessing stage. It is the transport layer of the algorithm, and the lifted state table is the only place floating-point work happens.
Research Program
The work has three parts: a correctness and cost analysis, an engine, and an empirical study of when symmetry exists in graphs large enough to need distribution.
The analysis first proves exactness for the program class above, including weighted edges via weighted color refinement. It reuses the technique Lifted Hinge-Loss Markov Random Fields used to partition factor graphs with continuous potentials. It then bounds overhead. Before stabilization or abort, the extra traffic relative to an uncompressed run is one integer color per edge, plus one copy of each distinct signature per owner. After an abort at round $k$ the algorithm has already advanced $k$ supersteps, so regret is limited to communication and never includes lost iterations.
We also state the scope limits plainly. Algorithms that depend on vertex identity are outside the class, and the quotient does not preserve their answers. These include Hash-Min connected components, where isomorphic components merge in the quotient, and single-source shortest paths, where the source breaks symmetry. The file's "Gap 2" suggestion that lifting shrinks the diameter penalty Vertex-Centric Graph Processing: Good, Bad, and the Ugly identified is mostly wrong. On a path of $n$ vertices, the equitable partition only folds the path in half, so the quotient keeps roughly half the diameter. We will not claim diameter reduction.
The engine will be built on a BSP runtime with message combiners, the standard Pregel optimization that sums messages bound for the same destination vertex on each worker. It adds a distributed color table and a quotient-offload step. The offload gathers the quotient to a single machine running a GraphMat-style sparse matrix-vector kernel GraphMat: High performance graph analytics made productive whenever the quotient fits in memory.
This combination speaks directly to the "distributed tax" finding of Experimental Analysis of Distributed Graph Systems. That study found that across eight systems, an optimized single thread often beat a 16-machine cluster, and cluster CPU utilization fell to 7% on the World Road Network. Our design distributes only the step that must be distributed, which is reading the raw edges. The iterative floating-point work moves to wherever the compressed problem fits.
The empirical study measures what the lifting literature has not measured: compression ratios and stabilization rounds on web-scale and social graphs. Prior reported ratios come from relational and bibliographic data only. Lifted Hinge-Loss Markov Random Fields reports 66% fewer variables and potentials on Citeseer and 46% on Cora. Markov Logic Sets: Towards Lifted Information Retrieval Using PageRank and Label Propagation reports matrices at 0.55 to 0.73 of original size on Pompeii. The study also answers the open question of what the degree distribution of a lifted power-law graph looks like. Collapsing leaves shrinks hub degrees, but if hubs stay singletons the relative skew could worsen. We will measure how quotient degree skew affects owner-worker load.
The closest prior work plays three distinct roles. Power Iterated Color Refinement reformulates color refinement as gradient and power-iteration procedures and gives an $O(n+m)$-per-round hashed variant. It supplies our hashing method and motivates the fusion, but runs only on shared memory and treats refinement as a stage separate from the downstream algorithm. Computer Science on the Move: Inferring Migration Regularities from the Web via Compressed Label Propagation proves that label propagation on the equitable partition is exact. It supplies the correctness template and shows amortization pays off over 200 iterations, again centrally and in two phases. Lossless Compression of Structured Convolutional Models via Lifting compresses neural computation graphs but must unfold them in memory first. Our per-round coloring is the in-situ alternative its own limitation calls for. That paper also constrains us, because it reports that more discriminative models such as Graph Isomorphism Networks resist compression. Finally, Blogel: A Block-Centric Framework for Distributed Computation on Real-World Graphs groups vertices by locality rather than symmetry, and serves as our strongest system competitor.
Baselines
The naive reference point is the same engine with lifting switched off. Every vertex holds its own floating-point state, and messages carry values, with combiners enabled. It runs on identical machines, partitioning and iteration counts, and fixes the denominator for bytes on the wire, supersteps and wall time. Beating it means lower end-to-end wall time and traffic on graphs with nontrivial symmetry, with outputs matching to floating-point tolerance. On symmetry-poor graphs, overhead must stay within the analytical bound.
The key ablation is a two-phase pipeline that isolates the fusion. It runs distributed color refinement to stability on the same engine and hashing code, builds the quotient, then runs the algorithm on the quotient with the same offload option. This is the obvious design that a reader would assume lifting-on-Pregel means. The proposal wins only if fused execution beats it end to end, and only if the gap grows as predicted with the ratio of stabilization rounds $R$ to algorithm iterations $T$ and with the abort scenario. The same comparison is repeated with two-phase given an abort threshold, so the only remaining difference is whether iterations were lost.
The strongest existing distributed system is Blogel, run in its vertex and hybrid modes with its Voronoi partitioner. Experimental Analysis of Distributed Graph Systems named it the overall winner and the only system robust on the 42.5-billion-edge ClueWeb graph. Its strongest reported gain, 680x fewer messages and 30x less compute time on BTC, is for Hash-Min connected components. That workload lies outside our exactness class, so we cite it as context rather than as a target. For PageRank or label propagation runtimes on Twitter or UK-2007-05, we found no reported result on Lacuna, so we will rerun Blogel ourselves with its published configuration and equal tuning effort. Beating Blogel means lower wall time and traffic on PageRank and label propagation at matched cluster size.
For single-machine references we use a tuned single-threaded implementation (the COST test) and GraphMat on graphs that fit in one machine's memory. GraphMat is reported within 1.2x of hand-optimized native code in GraphMat: High performance graph analytics made productive. Where the uncompressed graph fits, we also run centralized hashed color refinement plus compressed label propagation. This matches the reported DBLP result of 200 iterations in 5.4 hours versus 7.49 hours for plain label propagation, from Computer Science on the Move. Beating these means achieving a COST above 1 at the smallest cluster size where the quotient offload is used.
Why not just…?
Why not just run color refinement to stability first, then run the algorithm on the quotient? This is the real threat. On power-law graphs where refinement stabilizes in a handful of rounds and PageRank runs for dozens, fusion saves only about $R$ supersteps of integer traffic. We will report that gap honestly as a function of $R/T$. Fusion is designed to matter in two situations: when $R$ is large, as on high-diameter graphs where refinement needs many rounds, and when symmetry is scarce. In the second case two-phase loses all $R$ rounds of work, while fusion has been advancing the algorithm throughout. If the measured end-to-end difference is small on every real graph, the surviving contribution is distributed exact lifting plus quotient offload, and we will say so.
Why not just gather the graph to one machine and use GraphMat or a single thread? When the graph fits, this often wins; Experimental Analysis of Distributed Graph Systems found single threads beating 16-node clusters. Our design embraces that result rather than fighting it. The distributed phase only reads edges and exchanges integers, and the iterative work moves to one machine as soon as the quotient fits. The COST experiments determine whether the combination beats the single machine on graphs, such as ClueWeb, that do not fit in its memory.
Why not just use Blogel's blocks or edge-centric vertex splitting? Both balance and localize work, but neither reduces the total amount of work. Blogel stores and updates every copy of a repeated substructure. Edge splitting of the kind used by Edge-based Local Push for Personalized PageRank spreads a hub's edges across processors but still touches each one. Lifting removes duplicate classes entirely. The two ideas are complementary, so we include a variant that places color-table owners using Blogel blocks, and measure how much of any gain each ingredient explains.
Why not just rely on Pregel message combiners? Combiners merge messages bound for the same destination vertex within one worker. Lifting merges computation across all vertices of a class anywhere in the cluster, and replaces floating-point vectors on edges with integers. The ablation with combiners on for every configuration separates the two effects.
Proposed Experiments
Correctness is checked first on small benchmarks where exact lifted results are known. We run label propagation and Gaussian belief propagation on Pompeii and Smoker-Friends, lifted inference on Citeseer and Cora factor graphs, and categorical-feature graph neural network inference on the molecule benchmarks of Lossless Compression of Structured Convolutional Models via Lifting. We require maximum absolute deviation from the uncompressed run at floating-point level, and class counts matching the published centralized reductions.
Label propagation on DBLP and the ACL Anthology Network then provides a direct end-to-end comparison with the compressed label propagation timings above.
The scale study runs non-personalized PageRank and label propagation on Twitter, UK-2007-05 and ClueWeb over growing clusters. It reports bytes on the wire, supersteps before stabilization, class ratio, quotient degree skew, peak memory and wall time. Graph500 RMAT graphs serve as a symmetry-poor negative control that tests the abort path. The World Road Network and the synthetic chain from Power Iterated Color Refinement are the large-$R$ regime where fusion should most outpace two-phase.
The decisive checks are three. First, on RMAT, fused execution with abort must stay within the predicted integer-traffic overhead of the uncompressed run, while two-phase does measurably worse. Second, on at least one web-scale graph, fused execution must beat Blogel on PageRank wall time at matched cluster size. Third, the fused-versus-two-phase gap must track $R/T$ as the analysis predicts. If web-scale graphs turn out to have class ratios near one, that negative result is itself worth reporting. It would bound where lifting can ever help distributed graph processing, which the literature has not measured.
References
- Lifted Hinge-Loss Markov Random Fields
- Vertex-Centric Graph Processing: Good, Bad, and the Ugly
- GraphMat: High performance graph analytics made productive
- Experimental Analysis of Distributed Graph Systems
- Markov Logic Sets: Towards Lifted Information Retrieval Using PageRank and Label Propagation
- Power Iterated Color Refinement
- Computer Science on the Move: Inferring Migration Regularities from the Web via Compressed Label Propagation
- Lossless Compression of Structured Convolutional Models via Lifting
- Blogel: A Block-Centric Framework for Distributed Computation on Real-World Graphs
- Edge-based Local Push for Personalized PageRank