TreePiece: Faster Semantic Parsing via Tree Tokenization

Sid Wang, Akshat Shrivastava, Sasha Livshits
3/30/2023
cs.CLcs.AI

No confident code implementation found for this paper.

Abstract

Autoregressive (AR) encoder-decoder neural networks have proved successful in many NLP problems, including Semantic Parsing -- a task that translates natural language to machine-readable parse trees. However, the sequential prediction process of AR models can be slow. To accelerate AR for semantic parsing, we introduce a new technique called TreePiece that tokenizes a parse tree into subtrees and generates one subtree per decoding step. On TopV2 benchmark, TreePiece shows 4.6 times faster decoding speed than standard AR, and comparable speed but significantly higher accuracy compared to Non-Autoregressive (NAR).

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{wang2023treepiece,
  title  = {TreePiece: Faster Semantic Parsing via Tree Tokenization},
  author = {Sid Wang and Akshat Shrivastava and Sasha Livshits},
  year   = {2023},
  eprint = {2303.17161},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2303.17161v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2303.17161.svg)](https://codeofpaper.com/paper/2303.17161)

Discussion