Abstract

Controllable text generation is the primary technique for controlling specific attributes such as topic, keywords and obtaining augmented data. This work proposes a novel controllable text generation framework to improve the controllability of generation models. First, we introduce semantic control grammar, a controllable input format to generate sentences that satisfy the constraints. Second, we adopt a generation and rerank method to obtain semantically reranked controlled sentences. Extensive experiments and analyses are conducted on benchmark, natural language understanding, data-to-text generation, and text classification datasets. Through automatic evaluations, we show that our method leads to improvement over strong baselines. The results show that our model can control sentence and word attributes and semantically generate natural sentences. Furthermore, our techniques improve the generation quality of the model.

Full Text
Paper version not known

Talk to us

Join us for a 30 min session where you can share your feedback and ask us any queries you have

Schedule a call

Disclaimer: All third-party content on this website/platform is and will remain the property of their respective owners and is provided on "as is" basis without any warranties, express or implied. Use of third-party content does not indicate any affiliation, sponsorship with or endorsement by them. Any references to third-party content is to identify the corresponding services and shall be considered fair use under The CopyrightLaw.