Recognizable Series on Hypergraphs

Raphaël Bailly, François Denis, Guillaume RabusseauLATA 2014

Abstract

We introduce the notion of Hypergraph Weighted Model (HWM) that generically associates a tensor network to a hypergraph and then computes a value by tensor contractions directed by its hyperedges. A series $r$ defined on a hypergraph family is said to be recognizable if there exists a HWM that computes it. This model generalizes the notion of rational series on strings and trees. We prove some properties of the model and study at which conditions finite support series are recognizable.

Introduction

The paper "Recognizable Series on Hypergraphs" provides a theoretical bridge between formal language theory and tensor networks. It offers a unified algebraic framework for defining functions over complex relational structures, extending concepts that have long been restricted to simpler domains like strings and trees. By moving away from the traditional "state-transition" view of automata and adopting a linear representation view, the authors leverage multi-linear algebra to define "recognizable" functions over general graphs.

The Hypergraph Weighted Model (HWM)

In computer science, mapping structured data—like a sentence or a chemical molecule—to a numerical value is a fundamental task. For strings and trees, "rational series" provide a robust way to do this. However, graphs lack the simple, one-directional inductive structure of strings or trees, making generalization difficult.

The core contribution of this work is the Hypergraph Weighted Model (HWM). Here is how it works:

  • Tensors at Vertices: Each vertex in a hypergraph is assigned a tensor based on its label.
  • Hyperedges as "Wiring": The hyperedges of the graph dictate how these tensors are connected.
  • Tensor Contraction: To compute the value of a graph, the model performs tensor contractions (a generalized form of matrix multiplication) directed by the hyperedges.
A general hypergraph representation where vertices (circles) are assigned tensors and hyperedges (squares) define the contraction wiring.

The authors formally prove that when an HWM is applied to a string or a tree, it perfectly recovers the classical definitions of recognizable series. Furthermore, HWM-recognizable series are closed under addition and the Hadamard (pointwise) product.

Key Insights: The Tiling Obstacle

A surprising finding is that "polynomials" (functions that are non-zero for only a finite number of graphs) are not always recognizable in this framework. This happens because of tilings: if a model is non-zero on a graph $G$, it must also be non-zero on any graph made of "copies" of $G$.

A circular string represented as a hypergraph. Such structures are not tiling-free, meaning they don't behave exactly like standard linear strings in this framework.

The authors identify a specific condition—being "tiling-free"—under which finite support series are recognizable. They show that strings, trees, and any rooted hypergraphs are tiling-free, explaining why the "polynomial problem" never appeared in classical string/tree theory. Conversely, circular strings (as shown above) remain a "tricky" case because they are not tiling-free.

Conclusion and Future Directions

While this work is foundational, it sets the stage for practical applications. The authors acknowledge that the next step is developing algorithms to learn the tensor components of an HWM from data, potentially using spectral methods or tensor decomposition. Although contracting arbitrary tensor networks can be computationally expensive (NP-hard), techniques from graphical models, like message passing, might be adapted to make HWMs practical for large-scale structured data analysis.

Summary updated

BibTeX
@inproceedings{bailly2014recognizable,
  author = {Raphaël Bailly and François Denis and Guillaume Rabusseau},
  title = {{Recognizable Series on Hypergraphs}},
  booktitle = {LATA},
  year = {2014},
  url = {https://openreview.net/forum?id=JQaasRfahI},
}
Figure