Data-Oblivious Graph Drawing Model and Algorithms

Michael T. Goodrich, Olga Ohrimenko, Roberto TamassiaarXiv 2012

Introduction

As computation increasingly moves to the cloud, clients often rely on powerful external servers to store and process large datasets while maintaining a small local memory footprint. To preserve privacy, data is typically encrypted; however, encryption alone does not hide memory access patterns. An "honest-but-curious" server can observe which encrypted items are accessed and in what order, potentially inferring sensitive structural information about the graph. This paper addresses the challenge of designing custom, data-oblivious algorithms for graph drawing that hide these access patterns with minimal overhead.

The Compressed-Scanning Model

The authors introduce the compressed-scanning model, a framework where algorithms operate in a series of rounds. In each round, the client streams the entire dataset from the server exactly once, processes it using a tiny local workspace ($O(1)$ or $O(\log n)$), and writes it back. To ensure privacy, the data is re-encrypted and randomly shuffled between rounds. Because every item is accessed exactly once per round in a randomized order, the server learns nothing about the underlying graph structure.

To adapt classic graph drawing algorithms to this restrictive model, the authors employ several key transformations:

  • Euler Tours: Hierarchical structures are flattened into Euler tours by duplicating edges, allowing complex traversals to be reduced to simple, sequential array scans.
  • Compute-and-Undo: To maintain a minimal memory footprint, the algorithm computes layout coordinates during a downward pass and mathematically "undoes" them on the upward pass, eliminating the need for an $O(n)$ memory stack.
  • Dashed-Solid Tree Representation: Using a heavy-light decomposition trick, the client can store necessary coordinate context within an $O(\log n)$ local workspace by limiting the number of "dashed" edges on any path.
Euler tour representation of a tree to enable oblivious scanning.

Key Results and Performance

The authors successfully adapted several classic graph drawing techniques to be provably data-oblivious, including symmetric straight-line drawings of trees, treemaps, and dominance drawings of planar acyclic digraphs.

Dominance drawing process for a planar acyclic digraph, showing spanning trees and final layout.

All presented algorithms achieve a total time complexity of $O(n \log n)$, which is asymptotically optimal for this model as it is dominated by the oblivious shuffling step. The local space complexity is exceptionally low, requiring only $O(1)$ or $O(\log n)$ private working space on the client side. Furthermore, all algorithms complete their execution in a constant ($O(1)$) number of scan rounds.

Conclusion and Future Work

While these algorithms effectively hide combinatorial structure and layout, they still reveal the total number of vertices and edges ($n$). Future work could involve padding data with dummy nodes to achieve stronger privacy. Additionally, it remains an open problem how to efficiently compute $st$-orientations and canonical orderings in a data-oblivious manner using small local storage.

Summary updated

BibTeX
@misc{goodrich2012data,
  author = {Michael T. Goodrich and Olga Ohrimenko and Roberto Tamassia},
  title = {{Data-Oblivious Graph Drawing Model and Algorithms}},
  year = {2012},
  eprint = {1209.0756},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1209.0756},
}
Figure