{ "paper_id": "2020", "header": { "generated_with": "S2ORC 1.0.0", "date_generated": "2023-01-19T12:40:14.241123Z" }, "title": "Exploring Controllable Text Generation Techniques", "authors": [ { "first": "Shrimai", "middle": [], "last": "Prabhumoye", "suffix": "", "affiliation": { "laboratory": "", "institution": "Carnegie Mellon University Pittsburgh PA", "location": { "postCode": "15213" } }, "email": "" }, { "first": "Alan", "middle": [ "W" ], "last": "Black", "suffix": "", "affiliation": { "laboratory": "", "institution": "Carnegie Mellon University Pittsburgh PA", "location": { "postCode": "15213" } }, "email": "" }, { "first": "Ruslan", "middle": [], "last": "Salakhutdinov", "suffix": "", "affiliation": { "laboratory": "", "institution": "Carnegie Mellon University Pittsburgh PA", "location": { "postCode": "15213" } }, "email": "" } ], "year": "", "venue": null, "identifiers": {}, "abstract": "Neural controllable text generation is an important area gaining attention due to its plethora of applications. Although there is a large body of prior work in controllable text generation, there is no unifying theme. In this work, we provide a new schema of the pipeline of the generation process by classifying it into five modules. The control of attributes in the generation process requires modification of these modules. We present an overview of different techniques used to perform the modulation of these modules. We also provide an analysis on the advantages and disadvantages of these techniques. We further pave ways to develop new architectures based on the combination of the modules described in this paper.", "pdf_parse": { "paper_id": "2020", "_pdf_hash": "", "abstract": [ { "text": "Neural controllable text generation is an important area gaining attention due to its plethora of applications. Although there is a large body of prior work in controllable text generation, there is no unifying theme. In this work, we provide a new schema of the pipeline of the generation process by classifying it into five modules. The control of attributes in the generation process requires modification of these modules. We present an overview of different techniques used to perform the modulation of these modules. We also provide an analysis on the advantages and disadvantages of these techniques. We further pave ways to develop new architectures based on the combination of the modules described in this paper.", "cite_spans": [], "ref_spans": [], "eq_spans": [], "section": "Abstract", "sec_num": null } ], "body_text": [ { "text": "Controllable text generation is the task of generating natural sentences whose attributes can be controlled. The attributes to control can range from being stylistic such politeness, sentiment, formality, etc.; demographic attributes of the person writing the text such as gender, age, etc.; content such as information, keywords, entities, etc.; ordering of information, events, like plot summaries etc. Controlling various attributes of text generation has manifold applications. For instance in dialogue response generation task, work has been done in controlling persona (Zhang et al., 2018; Li et al., 2016b) , controlling various aspects of the response such as politeness (Niu and Bansal, 2018) , formality, authority etc, grounding the responses in external source of information (Zhou et al., 2018; , and controlling topic sequence (Tang et al., 2019; Prabhumoye et al., 2020) . Another application is story generation where you can control the ending , the persona (Chandu et al., 2019) , the plot (Yao et al., 2019) , and the topic sequence (Huang et al., 2019) . Controllable text generation is also used to modulate the formality and politeness of emails (Madaan et al., 2020) . Report generation can be controlled by pulling disparate source documents into a coherent unified whole, which can use a shared set of sources such as Wikipedia article generation .", "cite_spans": [ { "start": 575, "end": 595, "text": "(Zhang et al., 2018;", "ref_id": "BIBREF72" }, { "start": 596, "end": 613, "text": "Li et al., 2016b)", "ref_id": "BIBREF32" }, { "start": 679, "end": 701, "text": "(Niu and Bansal, 2018)", "ref_id": "BIBREF39" }, { "start": 788, "end": 807, "text": "(Zhou et al., 2018;", "ref_id": "BIBREF73" }, { "start": 841, "end": 860, "text": "(Tang et al., 2019;", "ref_id": "BIBREF55" }, { "start": 861, "end": 885, "text": "Prabhumoye et al., 2020)", "ref_id": "BIBREF38" }, { "start": 975, "end": 996, "text": "(Chandu et al., 2019)", "ref_id": "BIBREF3" }, { "start": 1008, "end": 1026, "text": "(Yao et al., 2019)", "ref_id": "BIBREF70" }, { "start": 1052, "end": 1072, "text": "(Huang et al., 2019)", "ref_id": "BIBREF23" }, { "start": 1168, "end": 1189, "text": "(Madaan et al., 2020)", "ref_id": "BIBREF38" } ], "ref_spans": [], "eq_spans": [], "section": "Introduction", "sec_num": "1" }, { "text": "Although there is a large body of prior work in controllable text generation, there is no unifying theme. Each work addresses a specific task in a specific context. In this paper we outline a new schema which connects prior work and provides an insight into various aspects of controllable text generation. The schema contains five modules that cover the overall generation pipeline and provide an understanding of the effect of each component on the generation process. Prior work has focused on specific parts of the schema that we outline here and we provide insights into their similarities. We provide an overview of these modules and also present an exploration of the various techniques used to control and update each of these modules.", "cite_spans": [], "ref_spans": [], "eq_spans": [], "section": "Introduction", "sec_num": "1" }, { "text": "Most of the controllable text generation tasks can be framed as conditional language generation tasks. They have an input or a source sequence U and an output or a target sequence Y to be generated. In this case, we model the probability of the target sequence conditioned on the source sequence given by P (Y|U) = T t=1 P (y t |U, y