Automatic Generation and Evaluation of French-Style Chinese Modern Poetry

Li Zuo, Dengke Zhang, Yuhai Zhao, Guoren WangElectronics 2024

TL;DR

This paper tackles the challenge of transferring the stylistic nuances of French poetry into modern Chinese poetry using fine-tuned large language models (LLMs). By employing Reinforcement Learning from Human Feedback (RLHF), they successfully generated Chinese poems that capture French poetic elements, as validated by human evaluations and linguistic analyses.

What Problem Does This Paper Address?

Poetry is deeply intertwined with culture and language, giving it a distinct regional "flavor." While direct translation can convey meaning, it often struggles to preserve the original poetic style. This paper addresses the gap in automatically generating poetry that not only uses one language (Chinese) but also embodies the stylistic characteristics of another (French). This is a complex task because language styles are shaped by a multitude of factors, including vocabulary, syntax, imagery, and cultural context, which differ significantly between French and Chinese. The authors aim to bridge this gap by leveraging the power of LLMs to "transplant" a foreign poetic style into a different linguistic medium.

Methods

The core of this research lies in fine-tuning a pre-trained LLM (specifically, a version of GPT-3) for French-style Chinese poetry generation. The process involves several key stages:

  1. Supervised Fine-tuning: The LLM is initially fine-tuned on a dataset of modern Chinese translations of French poetry. This step helps the model learn basic associations between French poetic elements and their Chinese equivalents.
  2. Reinforcement Learning from Human Feedback (RLHF): This is the crucial step for capturing nuanced style.
  3. Human Feedback Collection: Human evaluators are presented with generated poems and asked to rank them based on specific guidelines (e.g., language fluency, poetic expression, adherence to French style).
  4. Reward Model Training: A reward model is trained to predict human preferences based on these rankings. This model learns to assign higher scores to poems that better align with the desired French style.
  5. Policy Refinement: The LLM's generation policy is then optimized using Proximal Policy Optimization (PPO), guided by the reward model. This iterative process encourages the LLM to generate poems that maximize the predicted human preference for French style.
  6. Regularization: A KL divergence penalty is used to prevent the fine-tuned model from deviating too drastically from its original capabilities, ensuring coherence and preventing stylistic collapse.

Datasets

  • French Poetry Dataset: A widely available French poetry dataset was used for initial fine-tuning.
  • Modern Chinese Translations of French Poetry Dataset: A new dataset was curated, consisting of 108,000 characters from 302 modern Chinese translations of French poems. This dataset was meticulously proofread and annotated with grammatical categories to capture both original Chinese and foreign language structures.
  • Generated Poems: The models generated numerous poems for evaluation.

Key Insights and Ideas

  • Style Transfer is Achievable: The research demonstrates that it's possible to transfer the stylistic essence of one language's poetry to another, even with significant linguistic and cultural differences.
  • RLHF is Crucial for Nuance: Simply fine-tuning on translated works isn't enough. RLHF is essential for capturing the subtle, subjective aspects of poetic style that human evaluators can discern.
  • Syntactic Features as Style Indicators: The study highlights specific syntactic features (personal pronoun usage, numeral omission, second-person honorifics) that are characteristic of French poetry and can be successfully "transplanted" into Chinese.
  • Poetic Imagery as a Cultural Bridge: Analyzing high-frequency poetic imagery reveals how well the generated poems incorporate elements that are culturally resonant with French poetry.

Key Results

  • Human Evaluation: Judges rated the generated French-style Chinese poems on a five-point Likert scale across seven dimensions (grammar, logicality, rhetoric, creativity, depth, style, human-likeness). The scores ranged from 3.29 to 3.93, achieving 80.8% to 93.6% of the scores for real French poets' works.
  • Poetic Imagery Consistency: The consistency of top 30-50 high-frequency poetic images between the generated poems and French poetry ranged from 50% to 60%.
  • Syntactic Feature Improvement: Compared to a baseline model, the fine-tuned model showed significant increases in the frequency of three French-characteristic syntactic features: personal pronouns (+12.95%), numeral "one" (+15.81%), and second-person singular honorifics (+284.44%) per 1000 Chinese characters.

Limitations and Future Work

  • Creativity and Depth Gap: While the model excelled in grammar, logicality, and style, it still lagged behind human poets in terms of creativity and depth.
  • Future Work: The authors plan to continue exploring methods to improve the model's performance in these weaker areas. They also aim to further refine the generation process to enhance the overall quality and stylistic accuracy of the generated poetry.

Summary updated

BibTeX
@inproceedings{zuo2024automatic,
  author = {Li Zuo and Dengke Zhang and Yuhai Zhao and Guoren Wang},
  title = {{Automatic Generation and Evaluation of French-Style Chinese Modern Poetry}},
  booktitle = {Electronics},
  year = {2024},
  doi = {10.3390/electronics13132659},
}
Figure