Abstract
dc:description.abstractText attribute transfer (TAT) is a natural language processing task that involves transforming some attributes of a given text while preserving other attributes. Recently, prompting approaches have been explored in TAT with the emergence of various pretrained language models (PLMs), where a textual prompt is used to query a PLM to generate attribute-transferred texts word by word in an autoregressive manner. However, such a generation process is less controllable and early prediction errors may negatively affect future word predictions. Consequently, these issues will lead to low performance in general. In this thesis, we propose a prompt-based editing approach to text attribute transfer. Specifically, we prompt a PLM for attribute classification and use the classification probability to compute an attribute score. Then, we perform discrete search with word-level editing to maximize a comprehensive scoring function for an attribute transfer task. In this way, we transform a prompt-based generation problem into a classification one, which does not suffer from the error accumulation problem and is more controllable than the autoregressive generation of sentences. In our experiments, we perform automatic evaluation on four attribute transfer benchmark datasets, and we show that our approach largely outperforms the existing systems that have 20 times more parameters. Additional empirical analyses further demonstrate the effectiveness of our approach.
Degree
thesis:*- Name thesis:degree_name
- Master of Science
- Level thesis:degree_level
- Master's
- Grantor
- University of Alberta
- Year dc:date.issued
- 2024
Author and committee
dc:creator, dc:contributor.*- Author dc:creator
-
- Luo, Guoqing
- Advisor dc:contributor.advisor
-
- Mou, Lili (Computing Science)
Subjects
dc:subject × 3Rights
dc:rights- Statement dc:rights
-
- This thesis is made available by the University of Alberta Libraries with permission of the copyright owner solely for non-commercial purposes. This thesis, or any portion thereof, may not otherwise be copied or reproduced without the written consent of the copyright owner, except to the extent permitted by Canadian copyright law.
- Language dc:language.iso
- en
Identifiers
dc:identifier.*- DOI dc:identifier.doi
- https://doi.org/10.7939/r3-hhvt-xy86