We present a lossless compressor for directed graphs. It copies neighbors from an earlier row, predicts further targets from the part of the graph already decoded, and codes what remains. Its main coder, the candidate-bit coder (CB), proposes a bounded set of candidate targets, mixes their probabilities adaptively, and codes the leftover targets with a popularity-aware model. The encoder tries a fixed set of vertex orders and storage directions and keeps the smallest file that decodes exactly. On the benchmark graphs outside our development set, the selected files are smaller than the best recorded WebGraph and Zuckerli files and the best published HyperFast results. These savings have a cost. CB decodes much more slowly than the baselines and supports only sequential access. A faster companion coder, CG, is still slower than the baselines on large graphs. An indexed variant, CS-RA, gives smaller seekable files than the measured access baselines on nearly all tested graphs, but its cold queries are slow, and it fails on one development graph. We also explain what successful and failed predictions cost, and when copying a repeated row saves information.
翻译:暂无翻译