(Not) Understanding Latin Poetic Style with Deep Learning (2404.06150v1)
Abstract: This article summarizes some mostly unsuccessful attempts to understand authorial style by examining the attention of various neural networks (LSTMs and CNNs) trained on a corpus of classical Latin verse that has been encoded to include sonic and metrical features. Carefully configured neural networks are shown to be extremely strong authorship classifiers, so it is hoped that they might therefore teach `traditional' readers something about how the authors differ in style. Sadly their reasoning is, so far, inscrutable. While the overall goal has not yet been reached, this work reports some useful findings in terms of effective ways to encode and embed verse, the relative strengths and weaknesses of the neural network families, and useful (and not so useful) techniques for designing and inspecting NN models in this domain. This article suggests that, for poetry, CNNs are better choices than LSTMs -- they train more quickly, have equivalent accuracy, and (potentially) offer better interpretability. Based on a great deal of experimentation, it also suggests that simple, trainable embeddings are more effective than domain-specific schemes, and stresses the importance of techniques to reduce overfitting, like dropout and batch normalization.
- B. Nagy, Metre as a stylometric feature in Latin hexameter poetry, Digital Scholarship in the Humanities 36 (2021) 999–1012. doi:10.1093/llc/fqaa043.
- Semantics of European poetry is shaped by conservative forces: The relationship between poetic meter and meaning in accentual-syllabic verse, PLOS ONE 17 (2022) 1–17. URL: https://doi.org/10.1371/journal.pone.0266556. doi:10.1371/journal.pone.0266556.
- W. M. Clarke, Intentional Rhyme in Vergil and Ovid, Transactions and Proceedings of the American Philological Association 103 (1972) 49–77. URL: http://www.jstor.org/stable/2935966. doi:10.2307/2935966.
- B. Nagy, Rhyme in classical Latin poetry: stylistic or stochastic?, Digital Scholarship in the Humanities (2022). doi:10.1093/llc/fqab105.
- UMAP: Uniform Manifold Approximation and Projection for Dimension Reduction, arXiv:1802.03426 [cs, stat] (2018). URL: http://arxiv.org/abs/1802.03426.
- K. Simonyan, A. Zisserman, Very deep convolutional networks for large-scale image recognition, arXiv [cs.CV] (2014). URL: https://arxiv.org/abs/1409.1556. doi:10.48550/ARXIV.1409.1556.
- Deep inside convolutional networks: Visualising image classification models and saliency maps, arXiv [cs.CV] (2013). URL: https://arxiv.org/abs/1312.6034. doi:10.48550/arXiv.1312.6034.
- Grad-CAM: Visual explanations from deep networks via gradient-based localization, International Journal of Computer Vision 128 (2019) 336–359. URL: https://doi.org/10.1007%2Fs11263-019-01228-7. doi:10.1007/s11263-019-01228-7.
- Score-CAM: Score-weighted visual explanations for convolutional neural networks, arXiv [cs.CV] (2019). URL: https://arxiv.org/abs/1910.01279. doi:10.48550/arXiv.1910.01279.
- T. Yilmaz, T. Scheffler, Song authorship attribution: A lyrics and rhyme based approach, International Journal of Digital Humanities (in press) (2022).
Sponsor
Paper Prompts
Sign up for free to create and run prompts on this paper using GPT-5.
Top Community Prompts
Collections
Sign up for free to add this paper to one or more collections.