[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"doc-detail-85596-en":3,"doc-seo-85596-105":30,"detail-sidebar-cat-0-en-105":91},{"code":4,"msg":5,"data":6},0,"success",{"doc_id":7,"user_id":8,"nickname":9,"user_avatar":10,"doc_module":4,"category_id":11,"category_name":12,"doc_title":13,"doc_description":14,"doc_content":15,"file_id":16,"file_url":17,"file_type":18,"file_size":19,"view_count":20,"is_deleted":4,"is_public":21,"is_downloadable":21,"audit_status":21,"page_count":22,"language":23,"language_code":24,"site_id":25,"html_lang":24,"table_of_contents":26,"faqs":27,"seo_title":13,"seo_description":14,"update_tm":28,"read_time":29},85596,3848291630094,"Emma Wilson","https://eur-avatar.wpscdn.com/davatar_085a072bc5b1113ac321206ff7593b45",8,"Research & Report","Community-Aware Vertex Ordering for Reference-Based Graph Compression: A Cross-Encoder Empirical Study","Reference-based graph compression stores each vertex’s neighbor list as differences from a nearby, already-encoded list. The dominant BVGraph framework fixes a single encoding pipeline and depends on a separately chosen vertex ordering, typically URL-lexicographic or Layered Label Propagation (llp), whose interaction is rarely quantified. This study proposes a Leiden+llp two-stage ordering and evaluates four encoders (BVGraph plus three proposed) across seven datasets, showing ordering improvements translate into consistent bits-per-edge savings.","arXiv :2605 .2 15 10v2 [ cs . SI] 13 Jul 2026  \nCommunity-Aware Vertex Ordering for Reference-Based Graph Compression: ACross-Encoder Empirical Study  \nJIMMY DUBUISSON, Vantino, Switzerland  \nReference-based graph compression stores each vertex’s neighbor list as a set of differences from a nearby, already-encoded list. The dominant tool, WebGraph’s BVGraph, fixes a single encoding pipeline and relies on a separately chosen vertex ordering—typically URL-lexicographic or Layered Label Propagation (llp) . How the two choices interact is rarely measured. We propose a two-stage Leiden+llp vertex ordering: global llp seeds the labels, Leiden detects communities on top of them, and a final llp pass reorders each community internally. We measure how this ordering interacts with reference-based compression, using BVGraph and three encoders we contribute—BG, CS, and CG—which pick, for every vertex, the cheapest of up to 28 candidate decompositions. On graphs whose initial vertex order is poor, reordering with Leiden+llp improves compression for every encoder we measured. It saves roughly 0.9 to 4.6 bits per edge (bpe) over the original ordering on the SNAP-style graphs delivered in vertex-ID order (Table 4) . The size of that gain barely depends on which encoder runs afterward: on four of five weakly ordered datasets, the four encoders agree on the Leiden+llp-vs-plain-llp gain within roughly ±0 .04 bpe. The exception is EAT. There, our three larger-window encoders still agree within ±0 .008 bpe, but BVGraph at its default reference window (􀁆=7) shows a slightly negative residual gain—a window-size effect, not a refutation of the pattern. On URL-ordered web crawls, where the distributed ordering already encodes locality, BG and CS still benefit from reordering, while the residual-sensitive configurations—BVGraph default, BV-HC, and CG where it relies on the crawl’s community contiguity—regress. The transfer holds across two encoder generations (a Fibonacci-coded backend and a fully context-adaptive range-coded one) and under three independent ordering seeds. With every structural bit entropy-coded, the best of our three encoders beats the strongest published baseline in each regime (Zuckerli, and the stronger of BV-HC / BVGraph default) on all seven datasets, in every whole-graph and random-access comparison we ran—28/28 cells, +0 .3 to +35% over Zuckerli. The encoder-level gain remains consistently smaller than the ordering-level gain on weakly ordered datasets. The encoders share a self-delimiting bitstream with low-overhead random access, which we present as a practical implementation choice rather than a primary contribution. All algorithms, the ordering pipeline, and generators are released as the Adjacently Julia library.  \nAdditional Key Words and Phrases: graph compression, vertex ordering, community detection, Leiden, Layered Label Propagation, reference encoding, bits per edge, algorithm engineering, WebGraph  \n1 Introduction  \n1.1 Motivation  \nLarge directed graphs—web crawls, social networks, citation indices, knowledge graphs—are routinely too large to store as uncompressed adjacency lists. Yet they must stay accessible to in-memory analytics. A graph compressor therefore stores each vertex’s list of out-neighbors in as few bits as possible while keeping the lists cheap to decode. Quality is measured in bits per edge (bpe): the compressed size divided by the number of edges. At this scale small differences matter. On a crawl with two billion edges, saving one bpe saves 250 MB of memory.  \nThe workhorse technique of the field is reference encoding. Rather than writing every neighbor list from scratch, the encoder copies most of a list from a nearby, already-encoded vertex and spells out only the differences. This works because web-style graphs, once sensibly numbered, have two structural properties. The first is locality: edges tend to connect vertices placed nearby in the chosen vertex order, so the numbers written are smal","cbCaif7HcGxnnO46","https://ap.wps.com/l/cbCaif7HcGxnnO46","pdf",1037923,2,1,33,"English","en",105,"# Introduction\n## Motivation\n## The Role of Vertex Ordering","[{\"question\":\"What is reference-based graph compression in this work?\",\"answer\":\"It encodes a vertex’s neighbor list by copying most of a nearby, already-encoded vertex’s list and writing only the differences. Efficiency depends on good vertex numbering and reuse opportunities.\"},{\"question\":\"Why does vertex ordering matter for compressed size?\",\"answer\":\"Ordering changes the integer labels assigned to vertices, which alters gap sizes and copy opportunities. Since locality and similarity are ordering-driven properties, the same graph can compress very differently under different orderings.\"},{\"question\":\"What ordering strategy does the paper propose and what is its impact?\",\"answer\":\"It proposes a two-stage Leiden+llp approach: a global llp seeds labels, Leiden detects communities, then a final llp pass reorders within each community. On weak initial orderings, reordering improves compression across all measured encoders.\"}]",1784204830,83,{"code":4,"msg":31,"data":32},"ok",{"site_id":25,"language":24,"slug":33,"title":13,"keywords":34,"description":14,"schema_data":35,"social_meta":86,"head_meta":88,"extra_data":90,"updated_unix":28},"community-aware-vertex-ordering-for-reference-based-graph-compression-a-cross-encoder-empirical-study","",{"@graph":36,"@context":85},[37,53,68],{"@type":38,"itemListElement":39},"BreadcrumbList",[40,44,47,50],{"item":41,"name":42,"@type":43,"position":21},"https://docshare.wps.com","Home","ListItem",{"item":45,"name":46,"@type":43,"position":20},"https://docshare.wps.com/document/","Document",{"item":48,"name":12,"@type":43,"position":49},"https://docshare.wps.com/document/research-report/",3,{"item":51,"name":13,"@type":43,"position":52},"https://docshare.wps.com/document/community-aware-vertex-ordering-for-reference-based-graph-compression-a-cross-encoder-empirical-study/85596/",4,{"url":51,"name":13,"@type":54,"author":55,"headline":13,"publisher":57,"fileFormat":60,"inLanguage":24,"description":14,"dateModified":61,"datePublished":62,"encodingFormat":60,"isAccessibleForFree":63,"interactionStatistic":64},"DigitalDocument",{"name":9,"@type":56},"Person",{"url":41,"name":58,"@type":59},"DocShare","Organization","application/pdf","2026-07-23","2026-07-16",true,{"@type":65,"interactionType":66,"userInteractionCount":20},"InteractionCounter",{"@type":67},"ViewAction",{"@type":69,"mainEntity":70},"FAQPage",[71,77,81],{"name":72,"@type":73,"acceptedAnswer":74},"What is reference-based graph compression in this work?","Question",{"text":75,"@type":76},"It encodes a vertex’s neighbor list by copying most of a nearby, already-encoded vertex’s list and writing only the differences. Efficiency depends on good vertex numbering and reuse opportunities.","Answer",{"name":78,"@type":73,"acceptedAnswer":79},"Why does vertex ordering matter for compressed size?",{"text":80,"@type":76},"Ordering changes the integer labels assigned to vertices, which alters gap sizes and copy opportunities. Since locality and similarity are ordering-driven properties, the same graph can compress very differently under different orderings.",{"name":82,"@type":73,"acceptedAnswer":83},"What ordering strategy does the paper propose and what is its impact?",{"text":84,"@type":76},"It proposes a two-stage Leiden+llp approach: a global llp seeds labels, Leiden detects communities, then a final llp pass reorders within each community. On weak initial orderings, reordering improves compression across all measured encoders.","https://schema.org",{"og:url":51,"og:type":87,"og:title":13,"og:site_name":58,"og:description":14},"article",{"robots":89,"canonical":51},"index,follow",{"doc_id":7,"site_id":25},{"code":4,"msg":5,"data":92},[93,97,101,105,110,115,120,123,128,131,135],{"id":21,"doc_module":4,"doc_module_name":46,"category_name":94,"show_sort_weight":95,"slug":96},"Story & Novel",90,"story-novel",{"id":20,"doc_module":4,"doc_module_name":46,"category_name":98,"show_sort_weight":99,"slug":100},"Literature",80,"literature",{"id":52,"doc_module":4,"doc_module_name":46,"category_name":102,"show_sort_weight":103,"slug":104},"Exam",70,"exam",{"id":106,"doc_module":4,"doc_module_name":46,"category_name":107,"show_sort_weight":108,"slug":109},5,"Comic",60,"comic",{"id":111,"doc_module":4,"doc_module_name":46,"category_name":112,"show_sort_weight":113,"slug":114},6,"Technology",50,"technology",{"id":116,"doc_module":4,"doc_module_name":46,"category_name":117,"show_sort_weight":118,"slug":119},7,"Healthcare",40,"healthcare",{"id":11,"doc_module":4,"doc_module_name":46,"category_name":12,"show_sort_weight":121,"slug":122},30,"research-report",{"id":124,"doc_module":4,"doc_module_name":46,"category_name":125,"show_sort_weight":126,"slug":127},9,"Religion & Spirituality",20,"religion-spirituality",{"id":126,"doc_module":4,"doc_module_name":46,"category_name":129,"show_sort_weight":126,"slug":130},"World Cup","world-cup",{"id":132,"doc_module":4,"doc_module_name":46,"category_name":133,"show_sort_weight":132,"slug":134},10,"Lifestyle","lifestyle",{"id":136,"doc_module":4,"doc_module_name":46,"category_name":137,"show_sort_weight":106,"slug":138},19,"General","general"]