In Tree Structure Should Sentence Be Generated

Yaguang Li, Xin Chen
6/20/2024
cs.CL

Official code: arklyg/sentree (4 stars, Apache-2.0, last commit 2024-06-22).

Abstract

Generative models reliant on sequential autoregression have been at the forefront of language generation for an extensive period, particularly following the introduction of widely acclaimed transformers. Despite its excellent performance, there are always some issues that we face today. For example, problems such as hallucinations and getting trapped in a logic loop may occur. To enhance the performance of existing systems, this paper introduces a new method for generating sequences in natural language, which involves generating the targeted sentence in a tree-traversing order. The paper includes an illustration of the theoretical basis and validity of the approach, as well as a comparison of its fundamentals with the diffusion model in graphic generation. Finally, a module called SenTree is introduced for generating an approximating binary tree. It is already available at https://github.com/arklyg/sentree. Additionally, a joint training framework based on this approach is proposed, incorporating the intrinsics of generative adversarial networks.

View on arXivView PDF

Code Implementations(1)

arklyg/sentreeOfficial100%
Apache-2.0

A module that can convert natural language sentence into binary tree implied sequence, based on: https://github.com/john-hewitt/structural-probes

40PythonJun 20, 20242 years agoApache-2.0

Similar Papers

Cite this paper

@article{li2024tree,
  title  = {In Tree Structure Should Sentence Be Generated},
  author = {Yaguang Li and Xin Chen},
  year   = {2024},
  eprint = {2406.14189},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2406.14189v1}
}

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/2406.14189.svg)](https://codeofpaper.com/paper/2406.14189)

Discussion