Syntax-Guided Controlled Generation of Paraphrases
Ashutosh Kumar, Kabir Ahuja, Raghuram Vadapalli, Partha Talukdar
Abstract
Given a sentence (e.g., “I like mangoes”) and a constraint (e.g., sentiment flip), the goal of controlled text generation is to produce a sentence that adapts the input sentence to meet the requirements of the constraint (e.g., “I hate mangoes”). Going beyond such simple constraints, recent work has started exploring the incorporation of complex syntactic-guidance as constraints in the task of controlled paraphrase generation. In these methods, syntactic-guidance is sourced from a separate exemplar sentence. However, this prior work has only utilized limited syntactic information available in the parse tree of the exemplar sentence. We address this limitation in the paper and propose Syntax Guided Controlled Paraphraser (SGCP), an end-to-end framework for syntactic paraphrase generation. We find that Sgcp can generate syntax-conforming sentences while not compromising on relevance. We perform extensive automated and human evaluations over multiple real-world English language datasets to demonstrate the efficacy of Sgcp over state-of-the-art baselines. To drive future research, we have made Sgcp’s source code available.1- Anthology ID:
- 2020.tacl-1.22
- Volume:
- Transactions of the Association for Computational Linguistics, Volume 8
- Month:
- Year:
- 2020
- Address:
- Cambridge, MA
- Editors:
- Mark Johnson, Brian Roark, Ani Nenkova
- Venue:
- TACL
- SIG:
- Publisher:
- MIT Press
- Note:
- Pages:
- 329–345
- Language:
- URL:
- https://aclanthology.org/2020.tacl-1.22
- DOI:
- 10.1162/tacl_a_00318
- Cite (ACL):
- Ashutosh Kumar, Kabir Ahuja, Raghuram Vadapalli, and Partha Talukdar. 2020. Syntax-Guided Controlled Generation of Paraphrases. Transactions of the Association for Computational Linguistics, 8:329–345.
- Cite (Informal):
- Syntax-Guided Controlled Generation of Paraphrases (Kumar et al., TACL 2020)
- PDF:
- https://preview.aclanthology.org/naacl-24-ws-corrections/2020.tacl-1.22.pdf
- Code
- malllabiisc/SGCP + additional community code
- Data
- PAWS