Detection and Measurement of Syntactic Templates in Generated Text
Subject: Language and Linguistics
Author or source: Chantal Shaib, Yanai Elazar, Junyi Jessy Li, Byron C Wallace
Updated:
The diversity of text can be measured beyond word-level features, however existing diversity evaluation focuses primarily on word-level features.
Chantal Shaib, Yanai Elazar, Junyi Jessy Li, Byron C Wallace. 2024. Detection and Measurement of Syntactic Templates in Generated Text. Proceedings of the 2024 Conference on Empirical Methods in Natural Language Processing. Association for Computational Linguistics. DOI 10.18653/v1/2024.emnlp-main.368. CC BY 4.0. Original PDF and author abstract are reproduced unchanged apart from whitespace in the abstract. LawSphereX prepared the reading prompt and cover. No endorsement implied.
Publication sources
Authors’ abstract
Source page 1–16
The diversity of text can be measured beyond word-level features, however existing diversity evaluation focuses primarily on word-level features. Here we propose a method for evaluating diversity over syntactic features to characterize general repetition in models, beyond frequent n-grams. Specifically, we define syntactic templates (e.g., strings comprising parts-of-speech) and show that models tend to produce templated text in downstream tasks at a higher rate than what is found in human-reference textsWe 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 or alignment processes such as RLHF. The connection between templates in generated text and 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.
Reading guide for language and linguistics
Source page 1–16
Identify the language phenomenon and how the authors annotate or measure it. Check whether the examples support the conclusions for other settings.