English

Semantic Word Cloud Representations: Hardness and Approximation Algorithms

Computational Geometry 2013-11-20 v1

Abstract

We study a geometric representation problem, where we are given a set R\cal R of axis-aligned rectangles with fixed dimensions and a graph with vertex set R\cal R. The task is to place the rectangles without overlap such that two rectangles touch if and only if the graph contains an edge between them. We call this problem Contact Representation of Word Networks (CROWN). It formalizes the geometric problem behind drawing word clouds in which semantically related words are close to each other. Here, we represent words by rectangles and semantic relationships by edges. We show that CROWN is strongly NP-hard even restricted trees and weakly NP-hard if restricted stars. We consider the optimization problem Max-CROWN where each adjacency induces a certain profit and the task is to maximize the sum of the profits. For this problem, we present constant-factor approximations for several graph classes, namely stars, trees, planar graphs, and graphs of bounded degree. Finally, we evaluate the algorithms experimentally and show that our best method improves upon the best existing heuristic by 45%.

Keywords

Cite

@article{arxiv.1311.4778,
  title  = {Semantic Word Cloud Representations: Hardness and Approximation Algorithms},
  author = {Lukas Barth and Sara Irina Fabrikant and Stephen Kobourov and Anna Lubiw and Martin Nöllenburg and Yoshio Okamoto and Sergey Pupyrev and Claudio Squarcella and Torsten Ueckerdt and Alexander Wolff},
  journal= {arXiv preprint arXiv:1311.4778},
  year   = {2013}
}

Comments

14 pages, 8 figures. arXiv admin note: text overlap with arXiv:1304.8016

R2 v1 2026-06-22T02:10:32.131Z