LLMs Got Rhythm? Hybrid Phonological Filtering for Greek Poetry Rhyme Detection and Generation
This paper introduces a hybrid system that combines Large Language Models with deterministic phonological algorithms to overcome their inherent limitations in Greek poetry, achieving state-of-the-art rhyme identification and restoring high-quality generation through a verification loop that outperforms pure LLM approaches.
Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer
Imagine you have a brilliant, creative storyteller (a Large Language Model, or LLM) who can write beautiful sentences, tell jokes, and summarize history. But there's a catch: this storyteller is tone-deaf. They see words as shapes on a page, not as sounds in the air. If you ask them to write a poem that rhymes, they often guess the wrong sounds, creating a "visual rhyme" (words that look alike but sound different) or just making up nonsense.
This paper is about teaching that tone-deaf storyteller how to sing in tune, specifically for Modern Greek poetry.
Here is the story of how the researchers solved this problem:
1. The Problem: The "Tone-Deaf" AI
Greek is a tricky language for computers. It has a complex system of stress (like musical accents) and sounds that don't always match how they are spelled.
- The AI's Struggle: The AI reads text like a robot scanning a barcode. It doesn't naturally "hear" that καρδιά (heart) and φωτιά (fire) rhyme because they end with the same sound, even if the letters look slightly different.
- The Result: When the researchers asked the AI to write Greek poems on its own, it failed miserably. Less than 4% of the poems it generated actually rhymed correctly. It was like asking a painter to play the violin; they just couldn't do it.
2. The Solution: The "Hybrid Band"
Instead of trying to fix the AI's "ears," the researchers built a hybrid system. Think of it as a musical duo:
- The AI (The Composer): This is the creative part. It comes up with the story, the emotions, and the vocabulary. It's great at knowing what to say.
- The Phonological Engine (The Conductor): This is a strict, rule-based computer program. It doesn't have creativity, but it has perfect pitch. It knows the exact rules of Greek sounds, stress, and syllables. It acts as a fact-checker for sounds.
How they work together:
- The AI writes a draft poem.
- The Conductor checks every line. "Hey, this word doesn't rhyme with that one. You missed the stress mark."
- The AI gets the feedback, fixes the mistake, and tries again.
- They repeat this loop until the poem is perfect.
3. The Results: From Disaster to Masterpiece
The difference this "Conductor" made was dramatic:
- Before: The AI wrote valid rhyming poems 0% to 4% of the time.
- After: With the Conductor checking their work, the success rate jumped to 73.1%.
The researchers also tested different "thinking styles" for the AI. They found that when they asked the AI to "think step-by-step" (a method called Chain-of-Thought) before writing, it got much better at identifying rhymes, almost matching the performance of the strict rule-based system.
4. The "Hallucination" Twist
Interestingly, the researchers noticed something cool about the AI's mistakes. Sometimes, when the AI couldn't find a real word to fit the rhyme, it invented a new one.
- Some of these made-up words were nonsense (like "tsinglo").
- But others were actually beautiful new words that followed Greek grammar rules perfectly, like a poet inventing a new term for "eternity" or "courage."
- The researchers suggest that what we usually call "hallucination" (making things up) might actually be a form of creativity when the AI is forced to follow strict poetic rules.
5. What They Gave to the World
To help other researchers, the team released two things:
- A Massive Library: A collection of over 40,000 Greek rhymes gathered from famous poets, cleaned up and organized.
- The System: The code for their "Composer + Conductor" system, so others can use it to teach AI how to rhyme in Greek.
The Bottom Line
You can't just ask a super-smart AI to "be poetic" and expect it to get the sounds right, especially in a language as complex as Greek. But if you pair that creative AI with a strict, rule-following sound-checker, you get a system that can write real, rhythmic poetry. It's not about making the AI smarter; it's about giving it the right tools to listen.
Drowning in papers in your field?
Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.