CLAug 14, 2018

Embedding Grammars

arXiv:1808.04891v1
Originality Incremental advance
AI Analysis

This approach addresses the limitation of structural matching in parsing and intent detection for applications requiring semantic generalization, though it appears incremental as it combines existing techniques.

The paper tackles the problem of exact matching in classic grammars and regular expressions by blending context-free grammars with word embeddings to create hybrid semantic grammars, resulting in compact grammars that match entire regions of vector space rather than specific elements.

Classic grammars and regular expressions can be used for a variety of purposes, including parsing, intent detection, and matching. However, the comparisons are performed at a structural level, with constituent elements (words or characters) matched exactly. Recent advances in word embeddings show that semantically related words share common features in a vector-space representation, suggesting the possibility of a hybrid grammar and word embedding. In this paper, we blend the structure of standard context-free grammars with the semantic generalization capabilities of word embeddings to create hybrid semantic grammars. These semantic grammars generalize the specific terminals used by the programmer to other words and phrases with related meanings, allowing the construction of compact grammars that match an entire region of the vector space rather than matching specific elements.

Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes