Papers for

graph database developers

Papers whose findings have a practical use for this group, as judged from the abstract. Open a paper to read what it means in practice.

Compression methods speed up math operations on large sparse matrices

Computation-Friendly Compression of Matrices: Speeding up Linear and Boolean Algebra

Abstract: Large sparse matrices---adjacency matrices of web and social graphs, feature matrices of machine-learning pipelines, the relations of graph databases---are routinely compressed to save space. Classical compressors, however, force the matrix to be decompressed before it can be used, so the space savings often yield a computational overhead. A recent line of work studies \emph{computation-friendly} compression: formats that are not only small, but let us carry out matrix--vector products, and in some cases matrix--matrix products, sums and closures, directly on the compressed representation {\em in time proportional to that compressed size}. This survey organizes that literature around the kind of redundancy each format exploits: spatial clustering of the nonzeros ($k^2$-trees and their variants), similarity between rows (Boldi--Vigna-style referencing and set-difference compression), repeated substrings (grammar compression), and dense bipartite substructures (bicliques). For each family we describe the representation, the algorithms, the theoretical guarantees and the empirical performance. Further, we show that the last three families are instances of a single general scheme, which we call a {\em sparse straight-line factorization} of the matrix, whose forward and backward substitutions evaluate right and left products in time proportional to the size of the representation, and that the product of two such factorizations is again one, which gives matrix--matrix products with a compressed output. An appendix reviews formats that must be decompressed (at least partially) before operating, for completeness. We close with a cross-family comparison and a list of open problems.

Mon 26 OctData Structures and Algorithms
The gist
Large datasets like social networks are often stored as big grids called matrices. These matrices usually have lots of empty spots, so people compress them to save space. But normally, you have to uncompress them before doing math, which wastes time. The authors review different clever ways to compress these matrices that also let you do math directly on the compressed data, saving time and space. They organize these methods by the kind of patterns each one uses and explain how they work and compare.
Open → 2610.35362v1

Optimal labeling schemes enable fast queries on special binary matrices

Optimal Labeling Schemes for $Γ$-Free Matrices

Abstract: We study labeling schemes for $p \times q$ $Γ$-free binary matrices, which do not contain a submatrix of the form $Γ= \begin{pmatrix} 1 & 1 \\ 1 & 0 \end{pmatrix}$. We give a labeling scheme that uses $O(\log^2 N)$-bit labels for rows and columns, where $N=p+q$, such that any matrix entry can be determined from the corresponding two labels in constant time in the word RAM model. The worst-case label size matches the counting lower bound up to constant factors. We also show that the entrywise least $Γ$-free supermatrix of an arbitrary $p\times q$ binary matrix, together with its labels, can be constructed in $O(pq)$ time. Our construction represents a $Γ$-free matrix by a sequence of rooted forests, where each column corresponds to a node and the $1$-entries of each row form a root path in its corresponding forest. For $n$-vertex strongly chordal and chordal bipartite graphs, our result gives asymptotically optimal $O(\log^2 n)$-bit adjacency labeling schemes with constant-time queries. These results answer both representation questions posed by Spinrad in 1995.

Wed 21 OctData Structures and Algorithms
The gist
This paper studies how to label the rows and columns of certain special binary matrices so that you can quickly find any entry just by looking at the labels. The matrices studied avoid a specific small pattern called gamma. The authors show how to assign short labels that let you find any entry in constant time, and that their labeling is as efficient as possible given the constraints. They also provide a way to build these labels and related structures efficiently. This has implications for representing some types of graphs compactly while supporting fast queries.
Open → 2610.29184v1

GQL datatypes bridged to RDF knowledge graph systems for better interoperability

GQL Datatypes as an RDF Vocabulary

Abstract: The ISO GQL standard introduces a rich value-type system for property graphs, including scalar, temporal, byte-string, list, record, and dynamic union datatypes. The vocabulary presented here additionally covers a vector extension. At the same time, RDF-based knowledge graph systems identify literal datatypes by IRIs and interpret typed literals through value spaces, lexical spaces, and lexical-to-value mappings. This paper presents the GQL Datatypes RDF Vocabulary, a lightweight RDF vocabulary that represents selected GQL datatypes and the vector extension as RDF datatype IRIs and describes their hierarchy, aliases, and selected constraints using RDF, RDFS, OWL, and XML Schema Datatypes vocabulary terms. The vocabulary is intended to support interoperability between GQL-oriented property graph systems and RDF-based knowledge graph systems. We describe its namespace and datatype model, summarize its datatype coverage, and show how the accompanying generator and validator use the vocabulary. In the reference implementation, RDF literals retain GQL datatype IRIs; XSD mappings declared in the vocabulary support scalar validation, while lists, records, and vectors are encoded directly as JSON lexical forms of vocabulary-typed literals.

Mon 12 OctDatabases
The gist
Graphs store information in different formats, which can make sharing data tricky. This paper shows how certain data types used in property graphs can be represented using formats used in RDF knowledge graphs, a popular method for linking data on the web. The authors created a simple vocabulary that maps GQL data types to RDF equivalents, helping systems using these two formats work together more smoothly. They also built tools that check and generate data using this vocabulary.
Open → 2610.16698v1

Faster algorithms improve distance tools for directed graphs

Faster Directed Hopsets, Distance Preservers, and Deterministic Shortcut Sets

Abstract: While there have been many recent advances in getting better tradeoffs for directed distance structures such as hopsets, shortcut sets and distance preservers, most known algorithms are inefficient. In this work we provide three results: - Faster algorithms for directed $(1+ε)$-hopsets, matching the state-of-the-art size/hopbound trade-offs of Bernstein & Wein [SODA23]. Our algorithm is first designed for DAGs and then extended to general graphs (up to $n^{o(1)}$ factors) using the recent DAG projection result of Haeupler, Jiang, and Saranurak [STOC26]. - Faster \textit{deterministic} algorithms for constructing shortcut sets, matching the state-of-the-art size/hopbound tradeoffs of Kogan & Parter [SODA22A]. - Using our improved directed hopset construction, we get significantly faster algorithms for computing source-wise distance preservers. This algorithm is based on speeding-up reductions of Kogan & Parter [SODA22B] by using certain structural properties of our hopsets.

Thu 8 OctData Structures and Algorithms
The gist
Figuring out shortest paths in directed networks can be slow and complex. The authors developed faster algorithms that improve three key tools used to understand distances in directed graphs. These tools are hopsets, shortcut sets, and distance preservers, all of which help computers quickly estimate or preserve important distance information. Their faster methods work well on both special and general graphs and improve the efficiency of these distance calculations.
Open → 2610.12057v1

Fast generation of ordered graphs with simple edge changes

Generating cyclic pivot Gray codes for well-ordered $k$-degenerate graphs in constant amortized time

Abstract: A graph $G$ is $k$-degenerate if there exists an ordering $v_1, v_2, \dots, v_n$ of its vertices such that each vertex $v_i$ has at most $k$ neighbors $v_j$ in $G$ with $j < i$. A well-ordered $k$-degenerate graph is a labeled graph on the vertex set $\{1, 2, \dots, n\}$ in which every vertex $i$ has at most $k$ neighbors among $1, 2, \dots, i-1$. We present the first simple algorithms that generate, rank, and unrank cyclic pivot Gray codes for well-ordered $k$-degenerate graphs, where consecutive graphs differ by the addition, removal, or pivoting of a single edge. Our algorithm generates each well-ordered $k$-degenerate graph in constant amortized time per graph, using $O(n^2)$ space, while ranking and unranking take $O(n^2)$ time and $O(n^2)$ space.

Wed 7 OctData Structures and Algorithms
The gist
Sometimes, it's important to list all graphs that follow certain rules, changing only one connection at a time, to understand their structure or find patterns quickly. The authors describe a new method that can do this for a special kind of graph called well-ordered k-degenerate graphs. Their approach creates each graph step-by-step very efficiently, using constant average time, and includes ways to find a graph's position in the list or get a graph from a position. This makes it easier to explore such graphs systematically.
Open → 2610.09410v1

Faster ways to find small patterns in big sparse networks

Faster Algorithms for Finding Small Induced Patterns in Sparse Host Graphs

Abstract: We study algorithms for detecting induced subgraphs corresponding to fixed pattern graphs in host graphs. We show that at least five of the 21 connected graphs on five vertices can be detected in time roughly the product of the number of vertices and the number of edges, and that at least 65 of the 112 connected graphs on six vertices can be detected in time nearly quadratic in the number of edges. We also give algorithms for detecting induced paths and cycles on seven vertices, running in time roughly the number of vertices times the square of the number of edges. Our main technical tool is a generalized notion of tree decomposition width, called (p, q)-width. It yields algorithms whose running times depend on both the number of vertices and the number of edges, and are never worse than existing bounds. Whenever the host graph has fewer than roughly quadratically many edges in its number of vertices, our bounds are strictly faster. For some patterns, including the seven-vertex cycle, our algorithms are optimal under standard complexity-theoretic assumptions. We further develop this approach using pattern-based polynomials that exploit the structure of tree decompositions, not just their width. This gives algorithms for detecting induced paths and cycles on an even number of vertices in bipartite graphs, running in time roughly the (k-1)-th power of the number of edges for paths on 2k vertices, and that same bound times the number of vertices for cycles on 2k vertices. These are faster than the best known algorithms for general graphs.

Wed 30 SeptData Structures and Algorithms
The gist
Finding small connected patterns inside large complex networks is a common problem in computer science. The authors show new algorithms that find certain small patterns much faster when the larger network is not densely connected. They introduce a new general measure called (p, q)-width to guide these faster searches and improve on existing methods. These algorithms work well especially for patterns like cycles and paths of specific sizes and are sometimes provably optimal. They also extend their approach to handle special networks called bipartite graphs, speeding up detection of even longer paths and cycles.
Open → 2610.00567v1