Elamur Research

Introducing Aspects of Creativity in Automatic Poetry Generation

Paper · 2019 · Brendan Bena and Jugal Kalita

Summary

A poem can be fluent and recognizably poetic while leaving its reader indifferent. It can also tell a story in the first person without making the experience feel like a dream. Brendan Bena and Jugal Kalita ask whether automatic text generation can reach those more specific effects. They adapt GPT-2 to write poetry along two lines. One experiment asks whether poems can elicit a selected emotion in readers. The other asks whether poems can take on the voice and imagery of a dream account. The distinction matters for evaluation. A reader can report a feeling after reading a poem, whereas judging a dream poem requires recognizing features of its voice, subject, and structure.

For the emotion experiment, the authors sort poetry from Project Gutenberg using EmoLex, a dictionary of associations between English words and emotions. Each poem or book of poems goes into the category with the strongest aggregate score. The authors then specialize GPT-2 separately on the resulting groups with enough material to support the reported experiments. For dream poetry, they start from the same pretrained GPT-2, adapt it to English dream accounts from DreamBank, and continue training on poetry. In both experiments, generation begins without a supplied topic or opening line. The intended effect comes from the texts used during fine-tuning.

Readers responded most consistently to the selected sadness and joy poems. Across four poems per emotion category, the share of ratings that reached the paper’s threshold for the intended emotion was 87.5 percent for sadness and 85 percent for joy. Anger reached 65 percent, anticipation 40 percent, and trust 32.5 percent. The poems judged by readers came from a shortlist that EmoLex had already ranked highly. The dream experiment used handpicked poems. Readers gave those poems average scores between 4.5 and 5 for first-person expression, between 3.7 and 4.2 for recounting or foretelling an event, and between 3.2 and 4.1 for dreamlike or visionary substance. A separate Coh-Metrix analysis of randomly selected poems adds evidence about readability, vocabulary, and textual structure.

The experiments show how training data can give a poetry generator a direction and how readers can test whether that direction comes through. The sadness and joy results describe the performance of selected poems under the study’s scoring rule. The dream results reveal a distinction within the intended style: the poems could readily sound like someone recounting an experience, while the dream quality of that experience was harder for readers to recognize. That difference helps explain what this paper establishes about creative control. The voice, the events, and the effect on the reader each call for their own evidence.

Deep dive: Introducing Aspects of Creativity in Automatic Poetry Generation

How Bena and Kalita adapt GPT-2 to write poetry aimed at specific emotions or shaped by dream reports, and what readers notice in the results. · about 34 minutes to read

The problem and its context

From recognizable verse to an intended effect

A poetry generator has to make choices at several scales. The words in a line have to work together. An arrangement of lines may create an expectation about pace, length, or rhyme. The whole poem may depend on a speaker, a situation, or an image that allows the reader to give those lines a larger meaning. The paper treats these demands as part of the challenge of generating poetry and asks what happens when the system also has to aim at a particular experience for the reader.

The authors describe several ways that poets can create an effect. Similar sounds can draw attention to particular words or bind a line together. A metaphor can make one subject available through another. An image can give a feeling a setting and something material for the reader to picture. These devices motivate the study’s interest in expressiveness. The experiments approach that interest through the kinds of texts from which a generator learns. A corpus can contain many such devices, used for different purposes and in different combinations. The training procedure gives their patterns a chance to influence new writing without reducing the experiment to a list of devices to check off in each output.

The emotion experiment starts from a familiar claim about poetry: a poem can act on a reader’s feelings. That puts the eventual reading at the center of the problem. A word may have a well-known emotional association, while the passage containing it produces a different reaction. An angry character can amuse a reader, for example, and a speaker’s recollection of happiness can acquire the quality of loss. These possibilities illustrate the gap between a signal that can be used to sort training texts and the response the authors want to measure. EmoLex supplies the signal. The study gives the reader the job of reporting the response.

The dream experiment starts from a literary form. In the tradition the authors discuss, a dream poem can develop around an experience narrated by the dreamer or by a character the poet introduces. The dream provides a way to move through events and images that can stretch the possibilities of ordinary experience. The feeling of an experience being witnessed or remembered can give those events continuity. This makes the dream a source of both narrative structure and imaginative freedom. The authors cite Chaucer as an example of a poet who used a dream to organize what a poem presents to its reader.

For the computational task, this account suggests several properties that can be tested separately. A poem can give the impression that someone is speaking about their own experience. The experience can unfold as an event, with something happening or about to happen. What happens can feel dreamlike or visionary. Those properties can support one another, yet the relationship between them is an empirical question. A first-person description can be thoroughly ordinary. A strange image can appear in a passage where barely anything happens. A story can be easy to follow even if its setting feels impossible. The paper makes those distinctions visible in its evaluation.

Earlier ways of generating poetry

The authors place poetry generation within a longer history of producing language automatically. Their account begins with rule-based conversational systems such as Eliza and PARRY and moves to applications where deep learning had already proved useful. Captioning work turned information from an image into a description. Translation converted text from one language into another. Dialogue generation addressed the problem of producing a response in a conversation. For poetry, an open-ended writing task makes the desired output harder to specify in advance. Many possible poems could meet a broad request, and the criteria for success can depend on how a reader experiences the result. The paper cites earlier work on Neural Machine Translation by Jointly Learning to Align and Translate and Deep Captioning with Multimodal Recurrent Neural Networks as examples of progress in neighboring tasks.

Early poetry systems in the paper’s account made substantial use of templates and rules. Their designers chose linguistic features and specified how pieces of text could be combined. A system built this way might use explicit knowledge of grammatical constructions or of how words can relate in meaning. Other work cast Chinese poem generation as a problem in translation or summarization. Those approaches offered ways to organize the production of new lines around existing text. Bena and Kalita were looking for expressive variation that would depend on a broader pattern of language use across a corpus. They were skeptical that a template or a transformation of a given text would yield the kind of creativity they wanted to investigate.

Recurrent neural networks supplied another way to build context. In the account given by the paper, each step passes information forward that can affect what the system produces next. This fits an important aspect of verse. A word is chosen in the presence of words already written, and a line can continue an idea begun before it. The paper points to Zhang and Lapata’s combination of recurrent and convolutional networks for Chinese poetry generation.

Later examples in the paper’s review use long short-term memory, or LSTM, a gated form of recurrence. Gates regulate which information can be carried forward. Ghazvininejad and colleagues used this kind of network in Hafez. Wei and colleagues investigated whether grouping the work of individual poets could give a generator a recognizable style. Their study of Chinese poetry made the availability of enough text for each poet part of the practical problem. Here a corpus can serve as a means of control. What the system sees depends on which style it is being prepared to write.

Other authors organized learning around formal features of verse. Hopkins and Kiela concentrated on a single kind of rhythmic poetry, using the regularity of the training material to encourage a particular rhythmic structure. Lau and colleagues’ Deepspeare assigned rhythm, rhyme, and word choice to distinct networks in an effort to produce Shakespeare-like sonnets. It also used attention to represent relationships among words. These studies give a sense of how the field divided up the problem. A project could give priority to a recognizable authorial style, regular rhythm, or the coordination of several features of a poetic form. A targeted emotional response adds a criterion that ultimately belongs to the reader.

The review also describes systems that let material from another source influence creative text. Vechtomova and colleagues combined information from lyrics with information from audio clips to generate lyrics in the styles of particular artists. Liu and colleagues linked visual and poetic representations so that aspects of an image could suggest language for a poem. In both cases, the generated writing could take direction from information beyond the sequence of words already written. DreamBank serves a related role in Bena and Kalita’s experiment through its contribution to training. The generator sees accounts of dreams in advance, and those accounts are intended to influence the poems it subsequently writes.

A final development in the authors’ account is the move to a Transformer architecture, which uses attention to relate parts of the input sequence without recurrent processing. The authors take GPT-2, which already has experience predicting text from a broad corpus, as the starting point for their poetry experiments. Their stated novelty concerns the use of GPT-2 for poetry and the choice to pursue emotion elicitation and dreamlike expression. The project brings familiar ways of directing generation to bear on less straightforward targets for evaluation. The architectural starting point comes from Attention Is All You Need.

The method, step by step

Preparing the two kinds of training text

Both branches start from pretrained GPT-2. From there, the key procedural difference is the way the authors organize the additional reading. For an emotion such as sadness, they assemble a poetry collection whose documents tend to contain words associated with sadness and adapt a separate copy of GPT-2 to that collection. For dream poetry, they use a sequence of collections. GPT-2 reads dream accounts first and poetry next. The authors intend these passes to contribute different things: the dream accounts provide examples of a voice and kind of experience, and the poetry provides examples of how verse is written.

From training collections to generated poems and evaluation

The steps in order.

From training collections to generated poems and evaluationStep 1: Start with pretrained GPT-21. Start with pretrained GPT-2Step 2: Gather poetry and first-person dream accounts2. Gather poetry and first-person dream accountsStep 3: Sort poetry into emotion groups with EmoLex3. Sort poetry into emotion groups with EmoLexStep 4: Adapt separate generators to the emotion groups4. Adapt separate generators to the emotion groupsStep 5: For dream poetry, train on dreams, then poetry5. For dream poetry, train on dreams, then poetryStep 6: Sample poems without a supplied opening6. Sample poems without a supplied openingStep 7: Clean the endings of generated poems7. Clean the endings of generated poemsStep 8: Evaluate selected poems with readers and Coh-Metrix8. Evaluate selected poems with readers and Coh-Metrix

The common poetry source is Project Gutenberg. Its collection contained over 59,000 eBooks, so the authors used an adapted version of GutenTag to restrict the material they drew from it. The resulting poetry collection comprised approximately three million lines. The number describes the amount of verse gathered before the reported division into emotion categories. The objects assigned to those categories could be individual poems or books of poems. The scoring unit thus sometimes covered a much larger span than the poem a reader encountered in the evaluation.

The emotion dictionary, EmoLex, is the NRC Word-Emotion Association Lexicon. The authors describe it as containing 14,182 English words, with associations for emotion and for positive or negative sentiment. Its entries come from human judgments of words. A word can be associated with several emotion categories. For the experiment, the authors draw on the emotion framework linked to the available dictionary and use its eight categories: anger, disgust, anticipation, joy, fear, surprise, trust, and sadness. The distinction between the dictionary’s sentiment information and its emotion categories matters here. The target for a poem is a named emotion such as anticipation, a finer distinction than a broadly positive or negative association.

For each poem or book, the authors look up its words and tally their contributions to each emotion. The most strongly represented category supplies the label for the document. This gives them a practical means of assigning a collection of poems to training groups at scale. Consider how the procedure would handle a book that contains more than one kind of feeling. Words from its exuberant passages can contribute to joy and words from its scenes of conflict to anger. The label assigned to the whole book depends on the strongest total. Once the book enters the resulting collection, all of its text is available during fine-tuning. The resulting category therefore describes the basis on which the material was grouped.

The authors lay out this procedure for eight emotions. The reported training comparison gives details for five categories with substantial representation in the poetry collection. The corpora for surprise, disgust, and fear are described as severely underrepresented. There is a distinction between the categories the procedure can assign, the categories for which the study reports training values, and the categories for which the reader experiment measures elicitation. The evaluation follows the better-represented part of the data. The training table shows how much material was available even within that part.

Emotion collectionTraining tokensFinal average training loss
Anger1,292,4570.27
Anticipation2,314,6371.30
Joy11,668,7923.19
Sadness2,090,9151.03
Trust16,667,1783.39

Each row uses the same GPT-2 size of 345M parameters. The token count measures the amount of text in that category in the units used for training. Final average training loss records the prediction objective on which the generator was trained. A lower value indicates better fit by that objective at the end of training on the corresponding corpus. Since the text changes from row to row, there is no shared evaluation set implicit in these values. Their relationship to readers’ emotional responses has to be examined with the separate reader study.

The dream texts come from DreamBank, a collection of over 20,000 reports of dreams from contributors aged 7 to 74. The authors gathered accounts recorded in English. The reports give direct examples of people telling what they experienced in a dream. Someone may describe where they found themselves, who was present, or how one situation gave way to another. Such a report offers a way of narrating experience that the authors want to carry into the language of a poem.

This branch addresses a problem of data availability as well as style. The authors can obtain dream accounts as a distinct source and poetry as another source. Their training order is an attempt to bring the qualities of those materials into a single generator. The hypothesis is that broad pretraining gives GPT-2 a starting command of English, dream accounts supply patterns of personal narration and imagery, and poetry supplies habits of verse. That sequence defines a transfer-learning experiment. A capacity acquired on one collection is intended to persist as later training makes the system more suitable for a different kind of writing.

What GPT-2 learns from a sequence

A language model assigns probabilities to possible text. At a given point in a poem, the words already written provide evidence about what may come next. If a speaker has just introduced a place, for example, the continuation may carry on describing it or put an event there. Candidates that make sense after that context can receive more probability than candidates that would be a poor fit. The system learns these tendencies by predicting text in its training collections. Fine-tuning continues this prediction task on the collections the authors have selected.

The paper describes GPT-2’s pretraining corpus as 40GB of web text called WebText. The collection was built from links shared on Reddit, using a cutoff of 3 stars or better on the posting as a quality heuristic. This pretraining is common to both poetry branches. It supplies experience with a wide range of language before the text is narrowed to particular poetic groups or to accounts of dreams. The authors use the medium GPT-2 configuration, which has 345M parameters and a 24 layer decoder-only architecture. The parameters are the numerical weights adjusted during training. The layers successively process the representations from which the next text unit is predicted.

Attention lets the generator use relationships among positions in the text. A word near the end of a line may depend on the speaker or situation introduced earlier. The relevant earlier positions can contribute to the representation used to predict the continuation. GPT-2 uses masked self-attention. The mask prevents a position from drawing on text that comes after it in the prediction task. This matches how generation proceeds. Once a unit has been chosen, it becomes part of the available context, and the next prediction can use it. Multiple attention heads allow the architecture to make these connections in several ways within a layer.

The paper also notes changes from the preceding GPT architecture. GPT-2 applies layer normalization at the entrance to each sub-block and includes an additional normalization after the final self-attention block. Normalization regulates the scale of the values passed through the network. The context length increases from 512 to 1024 tokens. That larger window makes more preceding text available to the attention mechanism. For the poetry task, the relevance is straightforward: a later choice can draw on a larger stretch of the writing already produced. The architecture is an instance of the Transformer and attention.

The formula discussion represents text as words. In the implementation, GPT-2 processes tokens built by byte-pair encoding over UTF-8 bytes. The chosen units can lie between individual characters and whole words. This enables the vocabulary to reuse pieces of text and represent a Unicode string through such pieces. The paper also notes that the encoding keeps distinctions between forms with different punctuation, so a word followed by a question mark can be represented differently from the same word followed by an exclamation mark. In verse, evidence from punctuation can enter the continuation process alongside evidence from words. The background method is discussed in Neural Machine Translation of Rare Words with Subword Units and belongs to subword tokenization.

The paper first describes the probability of an entire sequence.

p(w₁, …, wₙ)

Here p is the probability assigned to the ordered sequence enclosed by the parentheses. Each w denotes a word in the paper’s notation, and its subscript marks its position. w₁ is the starting word, wₙ is the final word in the sequence, and n is the sequence length. The ellipsis stands for the intervening words. The commas give their order within the sequence. When the same idea is applied within GPT-2, the positions correspond to its encoding units.

The next formula makes explicit what is predicted at a single step.

p(wₙ | w₁, …, wₙ₋₁)

Here p is a conditional probability. The word wₙ to the left of the vertical bar is the candidate at position n. The bar means “given.” To its right are w₁ through wₙ₋₁, the sequence beginning with the starting word and ending at the position immediately before n. The ellipsis stands for the intervening positions, and the commas preserve their order. The expression says that the probability of the candidate depends on the preceding sequence. The paper places this view in the tradition of A Neural Probabilistic Language Model.

The conditional form connects the learning objective to the writing procedure. During training, the text supplies the continuation. During generation, the system has to choose it. Once the choice has been made, the resulting longer sequence serves as the basis for another prediction. The accumulated choices can affect the topic, the speaker, and the vocabulary available to complete a thought. A passage can acquire direction through this process even when the reader or operator has supplied no initial subject.

Fine-tuning and generating a poem

For the emotion branch, the authors start the reported specializations from pretrained GPT-2 and train each on its own poetry collection. Sadness is therefore selected at generation time by using the system trained on the sadness collection. The authors give that system the prediction task on text that has already been sorted for this purpose. Emotional control is built into the choice of training material. EmoLex’s scores guide that choice and later help select poems for evaluation. The prediction objective itself remains the prediction of text.

The dream branch uses the same kind of objective in successive stages. After broad pretraining, GPT-2 is trained on dream reports and then trained further on poetry. The order matters to the hypothesis. The dream material is supposed to make a kind of narration available, and the final training on poems is supposed to express it in verse. The reported setup has 12k training steps on dreams and on poetry. The emotion setups use 12,000 steps on their respective collections. The learning rate, which sets the scale of the training updates, is 0.0001. The paper describes the other training parameters as defaults.

A training step is a unit of optimization. The counts state how long the procedures run in those terms. They also clarify the exposure implied by the method. An emotion run gets its specialized experience from its assigned collection. The dream run gets a separate pass of training for each kind of material. The dream procedure therefore puts both a difference in text and a difference in the sequence of training into the final system. How much each contributes is a question for a controlled comparison.

When generating poems, the authors supply no context. The predictions are conditioned on the continuation as it accumulates, beginning without a user-chosen opening. They use Top K sampling, limiting the candidates at a step to the 40 most probable. The K names the size of the set retained for sampling. Within that set, the use of probabilities allows several continuations to be possible. As a result, a system trained on a particular collection can yield different poems across repeated runs, even when the generation conditions are held fixed.

A temperature of 0.75 further shapes those choices. Temperature controls how strongly sampling favors the more probable candidates. In the paper’s description, settings closer to 0 make the choices less random, and settings closer to 1 allow more randomness. Top K determines which candidates can be considered. Temperature determines how concentrated the choices are among candidates. Together they let the authors draw many different poems with a fixed sampling policy and with some protection against selecting words that the generator considers very unlikely in context.

Finally, the authors apply a simple cleanup procedure intended to give the generated text a more natural stopping point. A sequence can otherwise stop while a phrase or thought is still developing. The article describes the purpose of cleanup and gives no detailed rule for the operation. This makes the evaluated output the result of a generation pipeline that includes both sampling and an adjustment to the ending. The study treats that finished poem as the object a reader encounters.

Experiments and results

Which emotions did readers report?

The emotion experiment evaluates anger, anticipation, joy, sadness, and trust. The authors generated a pool of 1,000 poems and ranked candidates using EmoLex. They randomly selected the poems for review from the top 20 by the lexicon’s score. Each emotion category contributed four poems to the evaluation. The random choice thus occurs within a deliberately restricted part of the output. This design asks whether high-scoring examples from the specialized systems can produce the intended response in readers.

The evaluators were ten native speakers of English with undergraduate-level educational backgrounds. They read the selected poems and rated the emotions they felt. The paper uses a Likert scale, which asks readers to express the strength of a judgment using ordered response levels. An intended emotion counted as correctly elicited when the reviewer gave it a rating of 4 or greater. Success in the reported percentage is therefore a reader rating that crosses a defined threshold. The same poem may meet that threshold for one reader and fall short of it for another.

Correct elicitation in the screened emotion poems, by intended category

Sadness and joy drew the most ratings that reached the threshold for the intended feeling.

Correct elicitation in the screened emotion poems, by intended categoryTrust: 32.5Trust32.5Anticipation: 40Anticipation40Anger: 65Anger65Joy: 85Joy85Sadness (this paper): 87.5Sadness (this paper)87.5
The numbers
System or settingAverage correct elicitation %
Trust32.5
Anticipation40
Anger65
Joy85
Sadness (this paper)87.5

Sadness and joy have the highest reported percentages, with anger occupying the middle of the comparison. Anticipation and trust are the categories for which the target response was least consistent. Every value in the chart measures ratings on the four reviewed poems for its category after lexical screening. In this setup the success rate is conditional on the selected poems and on what these readers considered a sufficiently strong response.

The paper’s examples show what a poem can be doing while it addresses an emotion. In the handpicked anger example, people shout and mock one another at Troy. The conflict gives emotional language a situation. The reader has voices, rivals, and a place in which the hostility unfolds. This illustrates how a passage can make use of learned continuations to put associated words into a scene. The sample was chosen to display the system’s writing. The rating experiment, with its own selection procedure, supplies the quantitative evidence about elicitation.

The paper also presents handpicked specimens for joy, anticipation, sadness, and trust. These figures give a reader a chance to inspect the kinds of lines GPT-2 could produce after adaptation. The authors draw attention to diction, grammatical integrity, and connections in meaning across lines. An example is particularly informative when one wants to know what the reported perception means in practice. The sampling policy can produce a collection with varying quality, so individual examples have a different evidential purpose from results across a draw of poems and readers.

The comparison in this experiment is among emotion categories, all using the same GPT-2 size. The paper gives no common human-written reference set scored by the same readers and no elicitation score from a general poetry generator serving as a baseline. EmoLex is a way to organize the data and screen outputs. The reader ratings are the test of the study’s emotional target. The training loss supplies background on how the prediction task behaved for each collection. Those quantities answer separate questions and are reported on their own scales.

What made the dream poems feel like dreams?

For the dream experiment, the authors chose four poems from a pool of 1,000 generated poems. In this case they deliberately picked the texts for review. The same ten judges used in the emotion study assessed the poems. Their task was to rate features of dream poetry rather than reporting one of the target emotions. The authors took the criteria from discussions of the literary form and selected properties they believed a reader could recognize with relatively little ambiguity.

The first criterion asks whether the poem speaks from a first-person perspective. A speaker using that perspective presents an experience in relation to themselves. The second asks whether the substance of the poem feels like a dream or vision. That criterion concerns what sort of experience is being presented. The third asks whether the poem tells of an experience or event or anticipates one. It concerns the presence of something that happens, even when the poem deals with it through recollection or expectation.

The handpicked dream example in which the speaker remembers a woman gives a concrete sense of these distinctions. The speaker describes what she looked like and makes music part of the description. There is a clearly personal viewpoint and a set of images through which the memory is conveyed. The same features could belong to a poem about an ordinary memory. Deciding that the substance is a dream involves a further reading of the passage. A reader’s confidence about who is speaking can therefore coexist with uncertainty about the character of the experience.

Across the four assessed poems, the average first-person ratings range from 4.5 to 5. The event criterion ranges from 3.7 to 4.2. The dream-or-vision criterion has the lowest average within each poem, with values between 3.2 and 4.1. The following chart isolates that criterion so that the variation from poem to poem is visible on the same scale.

Dream or vision substance ratings for the selected dream poems

Readers found dreamlike substance more apparent in some poems from the same generator than in others.

Dream or vision substance ratings for the selected dream poemsPoem 1: 3.5Poem 13.5Poem 2 (this paper): 4.1Poem 2 (this paper)4.1Poem 3: 3.2Poem 33.2Poem 4: 3.3Poem 43.3
The numbers
System or settingMean Likert score
Poem 13.5
Poem 2 (this paper)4.1
Poem 33.2
Poem 43.3

The poems leading on the different criteria help make the point. Poem 1 receives 5 for first-person expression and 3.9 for recounting or foretelling an event. Poem 2 receives 4.9 for first-person expression and 4.2 for the event criterion, along with the highest dream-substance rating. Poem 3 receives 4.8 for voice and 3.7 for the event criterion. Poem 4 receives 4.5 and 3.7 on those respective qualities. A high voice score recurs throughout the selection, while the assessments of what the experience feels like have more room to move.

In this part of the study, the authors report mean levels of agreement with each criterion. They use the threshold of 4 to classify elicitation in the emotion experiment. A Likert average in the dream experiment and a percentage of threshold-crossing responses in the emotion experiment have distinct meanings. The dream ratings describe how strongly the judges perceived particular features in each selected poem. There is no reported rate of successful dream poetry across the pool of outputs.

What the automatic measures add

The authors also evaluate 25 randomly selected poems from each generator with Coh-Metrix. This sample has a different role from the poems shown to human readers. Its selection begins with random outputs and gives a view of quantitative properties of the writing beyond the screened or handpicked examples. Coh-Metrix describes features such as reading difficulty, word choice, and the relationships among parts of a text. The experiment reports averages for the emotion setups and the dream setup.

The authors use Flesch Reading Ease, or FRE, and Flesch-Kincaid Grade Level, or FKGL, to characterize the accessibility of the language. FRE measures reading ease on an index from 0 to 100, with the high end indicating easier text. FKGL expresses difficulty in grade-level terms. The paper describes its scale as extending from 0 to 18. These measures give the researchers a way to ask whether the poems put an unusual demand on a reader’s ability to work through their words and sentences.

The FRE scores are high throughout the table. For the random anger sample, the mean is 93.07. Sadness has a mean of 98.20, and the other reported settings reach 100. The companion FKGL values are 2.01 for anger, 0.83 for anticipation, 0.39 for joy, 1.18 for sadness, 0.16 for trust, and 0 for dreams. The anger value of 2.01 is slightly above the second-grade value, in spite of the paper’s broad description of the poems as falling at or below that reading level. Taken together, the scores place the samples at the easy end of these measures. The authors interpret that result in light of their goal of making the writing accessible.

Coh-Metrix also rates the content words themselves. Imageability, abbreviated IMGc, concerns how readily a word can bring an image to mind. Concreteness, abbreviated CNCc, concerns whether the meaning can be connected to something accessible through the senses. A poem’s words may score differently on the two measures. Their contribution to a larger image also depends on how the poetically relevant words are put together. The tool provides a way to examine the vocabulary as one source of a reader’s impressions.

The authors describe the bulk of the imageability and concreteness values as falling in the 400s, between the values they associate with the least and most imageable or concrete words. The dream setting has an average IMGc of 427.36 and an average CNCc of 377.48. Trust, for comparison, has an average imageability of 434.66 and an average concreteness of 412.72. The authors read the comparatively low concreteness for the dream setting as compatible with more abstract vocabulary in descriptions of dreams. The measure captures an aspect of the writing that can be discussed alongside a reader’s reaction to its imagery.

Another measure is LDTTRa, a type–token ratio over all words. A type is a distinct word form, and a token is an occurrence in the text. Repeated uses of the same word add occurrences while keeping the count of distinct forms fixed. The authors look for a middle ground on this measure because repetition can help a short piece of verse hold together, while some variety in word choice gives it range. The reported value is 0.53 for anger, 0.44 for sadness, and 0.24 for dreams. These values describe the balance of repetition and variation in the analyzed material.

The remaining Coh-Metrix scores are percentiles for narrativity, referential cohesion, and syntactic simplicity. Narrativity, or PCNARp, estimates the extent to which a text has the features of a story. Referential cohesion, or PCREFp, reflects connections among expressions across the text. Repeated or related references can help a reader follow an entity or idea over several sentences. Syntactic simplicity, or PCSYNp, reflects how readily the grammatical structures can be processed. The authors prefer higher values on these percentile measures for their stated goals.

In the random samples, the account of narrativity varies by category. PCNARp is 53.19 for anger, 81.86 for anticipation, 72.91 for sadness, 91.31 for trust, and 70.88 for the dream setting. The joy setting has a PCSYNp of 91.31, while the dream setting has a PCSYNp of 65.17. The paper reads the collection of these scores as evidence that much of the generated material has relatively straightforward sentence structure and narrative characteristics. These are properties that can help a reader approach the writing, including when the scenes themselves are unusual.

The referential cohesion values are often low. The anger sample has a PCREFp of 0.68, and the sadness sample has a PCREFp of 1.88. The dream sample stands out with a value of 99.90. The authors explain that poems were entered together and suggest that transitions among unrelated poems may have depressed the scores. The measurement context becomes important here. A change in character between adjacent poems is an ordinary boundary in a collection. A tool that processes the input as a continuous text may treat such boundaries as weak connections within its input.

The authors favor readers’ judgments for their question about emotional effects. They describe BLEU and related scores as more suited to comparing an output with reference wording in settings such as machine translation. A poem can affect several readers similarly while varying greatly in wording from any one reference poem. Coh-Metrix can characterize properties of the generated text without imposing such a reference, and the human evaluation can address the response and genre features that motivated the work. Each evaluation is tied to a different aspect of what the authors set out to create.

What the ablations show

The paper reports no component-removal ablation, and its analyses compare emotion categories, qualities within the selected dream poems, and Coh-Metrix profiles across the generated collections.

What varies across the emotion collections

The comparison among emotion categories holds the size of GPT-2 fixed and uses the same general training and sampling procedure. The collection changes with the emotion. This makes it possible to examine how the whole procedure behaves when it is directed toward different targets. Within the evaluated categories, the differences in reader response are substantial in the paper’s results. They belong to the combination of the labeled material, the resulting generator, the screening procedure, and the reader’s judgment of the target emotion.

The authors conjecture that anger, joy, and sadness are easier to express and identify in this setting because they are commonly treated as more basic emotions. They describe anticipation and trust as more complex and harder to articulate. They also note disagreement in psychology about which emotions are basic. As a result, their proposed explanation concerns a plausible difference among the categories. The study compares reader ratings across complete category-specific setups. It does not vary emotional complexity independently of the other properties of those setups.

The training statistics allow a few more precise comparisons. Trust has 16,667,178 training tokens, the largest count in the reported table, and the lowest percentage of ratings that reach the elicitation threshold. Sadness has 2,090,915 tokens and the highest elicitation percentage. Joy has a much larger corpus than sadness and also scores well with readers. Corpus size can influence learning, and the observed ordering shows that sheer amount of material is insufficient to account for this set of results. The kind of material retained and the relationship between the scoring vocabulary and the emotional target are also relevant to interpreting the comparison.

Final training loss gives a different ordering from the reader judgments. Anger has a final average loss of 0.27, the lowest value listed, and joy has a loss of 3.19. Joy receives the higher elicitation percentage. A prediction objective gives credit for anticipating the training text. An elicitation score counts a sufficiently strong response to new text in a particular sample. Each outcome can help describe how a system behaved. The difference in ordering illustrates how little can be concluded about reader experience from the fit to a separate training collection.

An emotion-specific collection can differ from another in multiple ways that matter to both quantities. The word associations that determined its label may be stronger or less ambiguous. Some poems may repeatedly express one feeling, and some books may have a more varied emotional texture. The selected texts can include different kinds of speakers, plots, and vocabulary. The paper has no design for isolating those contributions. Its comparison establishes which targets worked better under the reported procedure and gives reasons a later study might examine.

What varies within the dream poems

The dream ratings compare properties of each poem produced by the same training procedure. They therefore help localize what the readers were recognizing. The poems receive consistently strong first-person judgments. Narrative judgments are also relatively high, which the authors connect to the prevalence of accounts of experiences in dream reports and poems. The weaker scores attach to dream or vision as the main substance. The reader can recognize the presence of a speaker and an event while finding their dreamlike quality less apparent.

The authors suggest that distinguishing dream material from ordinary material can be ambiguous. That interpretation fits the difference between the criteria. First-person expression often has cues that can be identified directly in the language. Determining that a description has the quality of a vision depends more on how its images and events are read together. The lower score can reflect the poem, the criterion, or both. A separate assessment of agreement among judges would help distinguish those possibilities. The reported averages summarize how readers judged the selected examples.

The automatic results add a comparison at the level of vocabulary and form. The dream setting’s concreteness is lower than the emotion settings’, and its referential cohesion percentile is unusually high within the study. These properties describe the output from the complete dream procedure in the sampled material. Assigning either property specifically to training on dreams would require a comparison that changes the sequence of training while keeping the other conditions comparable. The analysis gives a profile of a working configuration whose individual contributions remain open.

Limitations

Limits identified by the authors

The authors call for a more comprehensive human evaluation with more reviewers and more poems. The human experiments use ten reviewers, with four poems for each tested emotion and four poems for the dream setting. Since the same person can react differently to different poems, expanding the set of texts matters as much as obtaining additional judgments on the existing selection. An expanded reader pool would also better show how consistently the emotional and stylistic judgments carry across people.

Coverage of the emotions is limited by the corpus drawn from Gutenberg. The authors identify surprise, disgust, and fear as severely underrepresented and propose gathering more data for those categories. Their design can assign these labels through EmoLex, while the stronger empirical evidence concerns the five categories for which reader results are reported. Extending the claims to the rest of the category scheme would require training and evaluation that adequately represent those targets.

The authors also identify contextual emotion as a weakness of their word-level approach. An emotional association attached to a word is a practical starting point for grouping poems. The feeling of a passage can depend on relationships among its words, the speaker’s intent, and the way the sense of a line changes in the lines that follow. The authors propose using resources that associate emotions with longer segments. That would move the initial scoring closer to the scale on which an emotional effect may develop.

Relatedly, the system’s organization gives each collection a single target emotion. The authors want subsequent work to explore poems that combine emotions and vary their intensity. A mixed-emotion poem could require control over how feelings develop across the passage as well as which feelings occur. The winning-category procedure described here supports allocating a poem or book to a training collection. It gives little explicit information about shifts in emotion within that material.

For dream poems, the authors acknowledge ambiguity in what readers recognize as dream text. Their evaluation deliberately narrows the task to three properties they consider comparatively easy to judge. The result most specific to the genre, the judgment that the substance is dreamlike or visionary, is also the weakest of the three for these examples. The authors read this partly as a difficulty in telling dream material from ordinary material. Their evaluation therefore speaks most directly about those selected properties of the dream-poem tradition.

The paper identifies a practical problem in the Coh-Metrix assessment as well. Combining poems in one input can alter the interpretation of referential cohesion, because separate poems naturally change subjects and situations at their boundaries. The authors also describe the absence of a broadly available standard they consider suitable for evaluating automatic poetry. Their use of Coh-Metrix is an attempt to add evidence about specific textual properties. They regard readers as better positioned to judge whether an intended feeling has actually arisen.

Limits visible in the experimental design

The human emotion ratings apply to a screened group of outputs. EmoLex is used to build the training collections and again to rank the candidate poems before the random selection for human review. This creates a useful test of what the complete pipeline can deliver when its lexical filter favors the intended emotion. The same design leaves the typical outcome among unrestricted samples uncertain. A reader can use the reported sadness percentage as evidence about a pipeline that includes filtering. Estimating the raw rate would require readers to judge a sample drawn from the full pool.

The use of the same lexicon at these different stages also affects the causal interpretation. The training grouping encourages the specialized system to pick up a certain range of language. Screening favors generated poems that make use of a range recognized by EmoLex. Their contributions are intertwined in the score reported by readers. Human judgment adds an independent kind of evidence in the sense that the reader is reporting a feeling. The texts presented for that judgment have already passed the lexical selection. The outcome therefore speaks to the combined procedure.

The dream poems are deliberately picked from the generated pool. This makes the experiment a test of recognizable qualities in selected examples. The paper leaves open how frequently an unselected dream poem has those qualities and how consistently a different selector would find examples of the same caliber. The Coh-Metrix random sample can tell the reader about properties such as reading ease or concreteness across a broader draw of outputs. Dream substance and elicited emotion require the separate judgments for which those samples were selected.

Interpretation of the dream branch also depends on what comparison is available. A poetry generator adapted to the Gutenberg material alone could produce first-person speakers and narratives because those features occur in poems. The authors themselves point to the narrative quality of both kinds of training text. The paper presents the completed dream-to-poetry sequence and its outcomes. It leaves the size of the added contribution from DreamBank unmeasured on the same human criteria. The strength of the first-person ratings establishes a property of the selected results from the complete sequence.

A further uncertainty concerns the relation between the intended emotion and the whole range of responses. The headline metric reports whether the target emotion reached the threshold. A poem may reach that threshold for joy and also elicit another feeling. The percentages give the success of attaining the target response as defined by the study. They leave open the degree to which responses were specific to that emotion, the frequency of mixed responses, and the extent to which readers agreed about each individual poem. The absence of those breakdowns also makes the findings sensitive to how the threshold is interpreted.

The small set of readers brings questions of scope. They share a language background and a broadly similar level of education, as the paper describes them. Emotions, recognition of older poetic diction, and familiarity with dream narratives can vary among readers. The evaluation gives evidence from this group reading these particular poems. More detailed reporting of ratings across each judge and poem would make it possible to see whether an average represents widespread agreement or a mix of stronger and weaker reactions.

There is a similar distinction between the formal motivation and the outcomes actually measured. The introduction discusses features such as rhyme, rhythm, and organization into recurring poetic forms. The experiments assess emotional effects, dream qualities, readability, and related textual characteristics. A reader can inspect examples for line breaks, punctuation, and other features of verse. The study’s measurements leave questions of regular meter, rhyme, originality, and comparison with human poetry unresolved. Ease of reading is compatible with poetic achievement and supplies only one part of its assessment.

Finally, the use of books as well as poems for emotion assignment creates a gap between the unit of supervision and the unit of evaluation. A book may contain several speakers and experiences under one label. A high total for one emotion can reflect vocabulary distributed unevenly across that book. The generated poem is judged as a shorter, self-contained experience. The paper demonstrates that this coarse training signal can accompany strong reader responses in some screened outputs. The appropriate unit for labeling emotional context remains an open methodological question.

What came after

The documented follow-up consists of directions the authors identify for further research. They propose expanding the human evaluation, collecting more poetry for the underrepresented emotions, and examining resources that score longer passages. They also propose moving from a single dominant label to poems with combinations of emotions and variation in intensity. No later study is documented as having carried out those extensions.

The paper leaves a concrete question for such follow-up. Its strongest emotion results come from lexical screening followed by judgments of readers’ feelings, and its dream results come from chosen poems that readers judge on distinct qualities. Further work could use those same judgments on a wider selection of outputs and on systems trained with different collections. That would show where the direction comes from, how often it survives generation, and which parts of the resulting experience readers can reliably recognize.

Cite

Cite as Brendan Bena and Jugal Kalita. 2019. Introducing Aspects of Creativity in Automatic Poetry Generation. Proceedings of the 16th International Conference on Natural Language Processing.

The paper itself, not this page. BibTeX from the library's record of the work.

@inproceedings{bena2019introducing,
  title = {{Introducing Aspects of Creativity in Automatic Poetry Generation}},
  author = {Brendan Bena and Jugal Kalita},
  booktitle = {Proceedings of the 16th International Conference on Natural Language Processing},
  year = {2019},
  url = {https://aclanthology.org/2019.icon-1.4/}
}

↑ back to top

This page in Markdown https://md.research.elamur.ai/free/en/papers/bena-2019-introducing-aspects-creativity-automatic-poetry/