Long short-term memory (LSTM) networks have recently shown remarkable performance in several tasks that are dealing with natural language generation, such as image captioning or poetry composition. Yet, only few works have analyzed text generated by LSTMs in order to quantitatively evaluate to which extent such artificial texts resemble those generated by humans. We compared the statistical structure of LSTM-generated language to that of written natural language, and to those produced by Markov models of various orders. In particular, we characterized the statistical structure of language by assessing word-frequency statistics, long-range correlations, and entropy measures. Our main finding is that while both LSTM- and Markov-generated texts can exhibit features similar to real ones in their word-frequency statistics and entropy measures, LSTM-texts are shown to reproduce long-range correlations at scales comparable to those found in natural language. Moreover, for LSTM networks, a temperature-like parameter controlling the generation process shows an optimal value--for which the produced texts are closest to real language--consistent across different statistical features investigated.

Natural Language Statistical Features of LSTM-Generated Texts / Lippi, Marco; Montemurro, Marcelo A; Esposti, Mirko Degli; Cristadoro, Giampaolo. - In: IEEE TRANSACTIONS ON NEURAL NETWORKS AND LEARNING SYSTEMS. - ISSN 2162-237X. - 30:11(2019), pp. 3326-3337. [10.1109/TNNLS.2019.2890970]

Natural Language Statistical Features of LSTM-Generated Texts

Lippi, Marco
;
2019

Abstract

Long short-term memory (LSTM) networks have recently shown remarkable performance in several tasks that are dealing with natural language generation, such as image captioning or poetry composition. Yet, only few works have analyzed text generated by LSTMs in order to quantitatively evaluate to which extent such artificial texts resemble those generated by humans. We compared the statistical structure of LSTM-generated language to that of written natural language, and to those produced by Markov models of various orders. In particular, we characterized the statistical structure of language by assessing word-frequency statistics, long-range correlations, and entropy measures. Our main finding is that while both LSTM- and Markov-generated texts can exhibit features similar to real ones in their word-frequency statistics and entropy measures, LSTM-texts are shown to reproduce long-range correlations at scales comparable to those found in natural language. Moreover, for LSTM networks, a temperature-like parameter controlling the generation process shows an optimal value--for which the produced texts are closest to real language--consistent across different statistical features investigated.
2019
3-apr-2019
30
11
3326
3337
Natural Language Statistical Features of LSTM-Generated Texts / Lippi, Marco; Montemurro, Marcelo A; Esposti, Mirko Degli; Cristadoro, Giampaolo. - In: IEEE TRANSACTIONS ON NEURAL NETWORKS AND LEARNING SYSTEMS. - ISSN 2162-237X. - 30:11(2019), pp. 3326-3337. [10.1109/TNNLS.2019.2890970]
Lippi, Marco; Montemurro, Marcelo A; Esposti, Mirko Degli; Cristadoro, Giampaolo
File in questo prodotto:
File Dimensione Formato  
IEEETNNLS19.pdf

Open access

Tipologia: Versione pubblicata dall'editore
Dimensione 2.43 MB
Formato Adobe PDF
2.43 MB Adobe PDF Visualizza/Apri
Natural_Language_Statistical_Features_of_LSTM-Generated_Texts.pdf

Open access

Descrizione: VQR_natural
Tipologia: Versione pubblicata dall'editore
Dimensione 2.32 MB
Formato Adobe PDF
2.32 MB Adobe PDF Visualizza/Apri
Pubblicazioni consigliate

Licenza Creative Commons
I metadati presenti in IRIS UNIMORE sono rilasciati con licenza Creative Commons CC0 1.0 Universal, mentre i file delle pubblicazioni sono rilasciati con licenza Attribuzione 4.0 Internazionale (CC BY 4.0), salvo diversa indicazione.
In caso di violazione di copyright, contattare Supporto Iris

Utilizza questo identificativo per citare o creare un link a questo documento: https://hdl.handle.net/11380/1175476
Citazioni
  • ???jsp.display-item.citation.pmc??? 4
  • Scopus 50
  • ???jsp.display-item.citation.isi??? 45
social impact