English

Tensors over Semirings for Latent-Variable Weighted Logic Programs

Computation and Language 2020-06-09 v1 Logic in Computer Science

Abstract

Semiring parsing is an elegant framework for describing parsers by using semiring weighted logic programs. In this paper we present a generalization of this concept: latent-variable semiring parsing. With our framework, any semiring weighted logic program can be latentified by transforming weights from scalar values of a semiring to rank-n arrays, or tensors, of semiring values, allowing the modelling of latent variables within the semiring parsing framework. Semiring is too strong a notion when dealing with tensors, and we have to resort to a weaker structure: a partial semiring. We prove that this generalization preserves all the desired properties of the original semiring framework while strictly increasing its expressiveness.

Keywords

Cite

@article{arxiv.2006.04232,
  title  = {Tensors over Semirings for Latent-Variable Weighted Logic Programs},
  author = {Esma Balkir and Daniel Gildea and Shay Cohen},
  journal= {arXiv preprint arXiv:2006.04232},
  year   = {2020}
}

Comments

Accepted to IWPT

R2 v1 2026-06-23T16:07:46.778Z