[Paper Review] How Images Inspire Poems: Generating Classical Chinese Poetry from Images with Memory Networks
This paper proposes a memory-augmented neural network, MIPG, that generates classical Chinese poetry from images by integrating visual features and dynamically selected semantic keywords via a topic memory network. The model achieves state-of-the-art performance in image-poem consistency and poetic quality, outperforming baselines in both human and automatic evaluations.
With the recent advances of neural models and natural language processing, automatic generation of classical Chinese poetry has drawn significant attention due to its artistic and cultural value. Previous works mainly focus on generating poetry given keywords or other text information, while visual inspirations for poetry have been rarely explored. Generating poetry from images is much more challenging than generating poetry from text, since images contain very rich visual information which cannot be described completely using several keywords, and a good poem should convey the image accurately. In this paper, we propose a memory based neural model which exploits images to generate poems. Specifically, an Encoder-Decoder model with a topic memory network is proposed to generate classical Chinese poetry from images. To the best of our knowledge, this is the first work attempting to generate classical Chinese poetry from images with neural networks. A comprehensive experimental investigation with both human evaluation and quantitative analysis demonstrates that the proposed model can generate poems which convey images accurately.
Motivation & Objective
- To address the lack of research on generating classical Chinese poetry from visual inputs, which is more natural and intuitive than text-based generation.
- To overcome limitations in prior text-based models, such as topic drift and semantic inconsistency, by incorporating visual and semantic topic information.
- To develop a sequence-to-sequence model that generates poems line-by-line while maintaining strict tonal and rhyming rules of classical Chinese poetry.
- To enable dynamic topic selection during generation using a memory network that supports an unlimited number of keywords extracted from images.
- To ensure accurate image representation in generated poems by fusing direct visual features with semantic keywords
Proposed method
- Proposes an encoder-decoder framework with a topic memory network to model the latent topic of each character in the poem during generation.
- Uses image features extracted via a CNN-based encoder to capture visual content not fully described by keywords.
- Integrates semantic keywords extracted from images as a structural skeleton for poem generation, with the memory network dynamically selecting relevant keywords per generation step.
- Employs a sequence-to-sequence learning paradigm where each line is generated based on previous lines and the current topic context.
- Combines visual features and topic-aware hidden states to guide the decoder in generating poems that are both linguistically accurate and visually consistent.
- Utilizes a dual-branch mechanism: one for visual feature encoding and another for topic memory, both integrated into the decoder's hidden state
Experimental results
Research questions
- RQ1Can a neural model generate classical Chinese poetry that accurately reflects the content of a given image, beyond simple keyword-based generation?
- RQ2How effectively can a topic memory network maintain topic coherence and prevent topic drift during autoregressive poem generation from images?
- RQ3To what extent do visual features and semantic keywords jointly improve image-poem consistency compared to using either modality alone?
- RQ4How does the proposed model compare to keyword-based baselines in terms of poetic quality, coherence, and consistency with input images?
- RQ5Can automatic evaluation metrics like keyword recall correlate with human judgments of image consistency in generated poetry?
Key findings
- The MIPG model significantly outperforms all baselines in human evaluation for 'Consistency' and 'Coherence', with a 15.2-point average improvement over the next-best baseline.
- Automatic evaluation shows MIPG achieves a keyword recall rate of 87.6%, substantially higher than RNNPG-A (62.3%) and PPG-R (68.1%), indicating better image representation.
- Ablation studies confirm that removing either visual features or semantic keywords degrades performance, especially in 'Consistency', proving both components are essential.
- The model generates poems that follow strict tonal and rhyming rules of classical Chinese poetry while accurately reflecting visual content, as confirmed by human evaluators.
- The topic memory network enables dynamic topic selection, reducing topic drift and allowing the model to generate longer, more coherent poems than keyword-fixed baselines.
- Human evaluation shows that MIPG-generated poems are rated significantly higher in 'Poetic Quality' and 'Image Representation' than baselines, with 82% of poems judged as 'highly consistent' with input images.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.