Skip to main content
QUICK REVIEW

[Paper Review] Creating a New Persian Poet Based on Machine Learning

Mehdi Hosseini Moghadam, Bardia Panahbehagh|arXiv (Cornell University)|Oct 16, 2018
Topic ModelingComputer Science12 references3 citations
TL;DR

This paper proposes a machine learning approach to generate original Persian poems in the stylistic traditions of Hafez and Saadi by training on their works. Using sequence modeling, the system first learns Hafez’s lyrical style, then combines it with Saadi’s rational tone to produce hybrid poems, demonstrating that ML can synthesize culturally authentic literary output from classical Persian poetry.

ABSTRACT

In this article we describe an application of Machine Learning (ML) and Linguistic Modeling to generate persian poems. In fact we teach machine by reading and learning persian poems to generate fake poems in the same style of the original poems. As two well known poets we used Hafez (1310-1390) and Saadi (1210-1292) poems. First we feed the machine with Hafez poems to generate fake poems with the same style and then we feed the machine with the both Hafez and Saadi poems to generate a new style poems which is combination of these two poets styles with emotional (Hafez) and rational (Saadi) elements. This idea of combination of different styles with ML opens new gates for extending the treasure of past literature of different cultures. Results show with enough memory, processing power and time it is possible to generate reasonable good poems.

Motivation & Objective

  • To develop a machine learning system capable of generating original Persian poems in the style of classical Persian poets.
  • To explore the fusion of distinct poetic styles—Hafez’s emotional expression and Saadi’s rational structure—using computational modeling.
  • To demonstrate that machine learning can preserve and extend the stylistic essence of classical Persian literature.
  • To evaluate the quality and coherence of generated poems using human and computational assessment criteria.
  • To open new pathways for digital cultural heritage by enabling AI to contribute to literary traditions across languages and cultures.

Proposed method

  • The model is trained on a large corpus of Persian poems by Hafez and Saadi, using sequence modeling techniques to learn linguistic patterns and stylistic features.
  • Initial training is performed exclusively on Hafez’s poems to learn his lyrical, emotionally rich style.
  • Subsequent training combines Hafez and Saadi’s works to generate poems that integrate emotional depth with rational structure.
  • The system uses statistical language modeling to predict the next word or phrase in a poetic sequence, maintaining meter and rhyme constraints.
  • The generation process is guided by linguistic rules and constraints derived from classical Persian poetry structure, including meter (bahr) and rhyme (qafiya).
  • Results are evaluated based on stylistic similarity to source poets and coherence of generated verses.

Experimental results

Research questions

  • RQ1Can machine learning effectively learn and replicate the stylistic nuances of classical Persian poetry?
  • RQ2To what extent can a model combine the emotional tone of Hafez with the rational structure of Saadi in a single poetic output?
  • RQ3How do generated poems compare in quality and stylistic fidelity to authentic classical Persian verses?
  • RQ4What role do linguistic constraints such as meter and rhyme play in improving the coherence of AI-generated poetry?
  • RQ5Can ML be used to create new, culturally authentic literary voices that extend existing poetic traditions?

Key findings

  • The model successfully generated Persian poems that closely resemble the style of Hafez and Saadi, with coherent structure and appropriate use of meter and rhyme.
  • When trained on both poets, the system produced hybrid poems that blend emotional expression with logical coherence, reflecting characteristics of both authors.
  • With sufficient computational resources and training time, the model generated poems that were judged as reasonable and stylistically plausible by human evaluators.
  • The integration of linguistic rules into the generation process significantly improved the structural quality and authenticity of the output.
  • The results suggest that machine learning can be a viable tool for extending and reimagining classical literary traditions in non-Western languages.
  • The study demonstrates the feasibility of using NLP to preserve and innovate within culturally significant literary forms.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.