Generating rhyming poetry using LSTM recurrent neural networks

dc.contributor.authorPeterson, Cole
dc.contributor.supervisorFyshe, Alona
dc.date.accessioned2019-04-30T18:12:25Z
dc.date.available2019-04-30T18:12:25Z
dc.date.copyright2019en_US
dc.date.issued2019-04-30
dc.degree.departmentDepartment of Computer Science
dc.degree.levelMaster of Science M.Sc.en_US
dc.description.abstractCurrent approaches to generating rhyming English poetry with a neural network involve constraining output to enforce the condition of rhyme. We investigate whether this approach is necessary, or if recurrent neural networks can learn rhyme patterns on their own. We compile a new dataset of amateur poetry which allows rhyme to be learned without external constraints because of the dataset’s size and high frequency of rhymes. We then evaluate models trained on the new dataset using a novel framework that automatically measures the system’s knowledge of poetic form and generalizability. We find that our trained model is able to generalize the pattern of rhyme, generate rhymes unseen in the training data, and also that the learned word embeddings for rhyming sets of words are linearly separable. Our model generates a couplet which rhymes 68.15% of the time; this is the first time that a recurrent neural network has been shown to generate rhyming poetry a high percentage of the time. Additionally, we show that crowd-source workers can only distinguish between our generated couplets and couplets from our dataset 63.3% of the time, indicating that our model generates poetry with coherency, semantic meaning, and fluency comparable to couplets written by humans.en_US
dc.description.scholarlevelGraduateen_US
dc.identifier.urihttp://hdl.handle.net/1828/10801
dc.languageEnglisheng
dc.language.isoenen_US
dc.rightsAvailable to the World Wide Weben_US
dc.subjectmachine learningen_US
dc.subjectartificial intelligenceen_US
dc.subjectpoetryen_US
dc.subjectcomputer generated poetryen_US
dc.subjectneural networksen_US
dc.subjectLSTMen_US
dc.subjectrecurrent neural networken_US
dc.subjectRNNen_US
dc.subjectrhymeen_US
dc.subjectlanguage modellingen_US
dc.subjectsequence modellingen_US
dc.subjectneural networken_US
dc.subjectalgorithmic arten_US
dc.subjectcreative codingen_US
dc.titleGenerating rhyming poetry using LSTM recurrent neural networksen_US
dc.typeThesisen_US

Files

Original bundle
Now showing 1 - 1 of 1
Loading...
Thumbnail Image
Name:
Peterson_Cole_MSc_2019.pdf
Size:
760.1 KB
Format:
Adobe Portable Document Format
Description:
License bundle
Now showing 1 - 1 of 1
No Thumbnail Available
Name:
license.txt
Size:
1.71 KB
Format:
Item-specific license agreed upon to submission
Description: