paper-with-me

홈 › Papers

Detection and Measurement of Syntactic Templates in Generated Text

2024-06-28 · Chantal Shaib, Yanai Elazar, Junyi Jessy Li, Byron C. Wallace

Recent work on evaluating the diversity of text generated by LLMs has focused on word-level features. Here we offer an analysis of syntactic features to characterize general repetition in models, beyond frequent n-grams. Specifically, we define syntactic templates and show that models tend to produce templated text in downstream tasks at a higher rate than what is found in human-reference texts. We find that most (76%) templates in model-generated text can be found in pre-training data (compared to only 35% of human-authored text), and are not overwritten during fine-tuning processes such as RLHF. This connection to the pre-training data allows us to analyze syntactic templates in models where we do not have the pre-training data. We also find that templates as features are able to differentiate between models, tasks, and domains, and are useful for qualitatively evaluating common model constructions. Finally, we demonstrate the use of templates as a useful tool for analyzing style memorization of training data in LLMs.

📄 PDF Abstract BibTeX arXiv:2407.00211

Code (0)

등록된 구현이 없습니다.

Tasks

DiversityMemorization

Similar Papers 제목 키워드 기반

Data-driven Measurement of Child Language Development with Simple Syntactic Templates

2014-08-01 · COLING 2014 8 · Shannon Lubetich, Kenji Sagae
Language Acquisition

A Quality-based Syntactic Template Retriever for Syntactically-controlled Paraphrase Generation

2023-10-20 · Xue Zhang, Songming Zhang, Yunlong Liang, Yufeng Chen 외

Existing syntactically-controlled paraphrase generation (SPG) models perform promisingly with human-annotated or well-chosen syntactic templates. However, the difficulty of obtaining such templates actually hinders the p…

Data AugmentationDiversityParaphrase GenerationRetrieval+1

Syntax-Infused Variational Autoencoder for Text Generation

2019-06-05 · ACL 2019 7 · Xinyuan Zhang, Yi Yang, Siyang Yuan, Dinghan Shen 외

We present a syntax-infused variational autoencoder (SIVAE), that integrates sentences with their syntactic trees to improve the grammar of generated sentences. Distinct from existing VAE-based text generative models, SI…

SentenceText Generation

Improving Neural Machine Translation with Soft Template Prediction

2020-07-01 · ACL 2020 6 · Jian Yang, Shuming Ma, Dong-dong Zhang, Zhoujun Li 외

Although neural machine translation (NMT) has achieved significant progress in recent years, most previous NMT models only depend on the source text to generate translation. Inspired by the success of template-based and …

DecoderMachine TranslationNMTPrediction+1

Speeding Up Natural Language Parsing by Reusing Partial Results

2019-04-06 · Michalina Strzyz, Carlos Gómez-Rodríguez

This paper proposes a novel technique that applies case-based reasoning in order to generate templates for reusable parse tree fragments, based on PoS tags of bigrams and trigrams that demonstrate low variability in thei…

POS