Creating and Evaluating Figurative Language Dataset for Sindhi
This paper introduces SiNFluD, a novel benchmark dataset for Sindhi figurative language classification created from diverse sources and annotated by native speakers, along with an evaluation of various pre-trained models where XLM-RoBERTa-XL achieved the best performance.
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 the Sindhi language as a vast, ancient library filled with beautiful stories, poems, and daily conversations. For a long time, the computers trying to "read" this library (Natural Language Processing) could only understand the plain, literal facts. If someone said, "The sun is smiling," a computer would think the sun actually has a mouth and is grinning. It missed the point: the writer was using a metaphor to describe a beautiful morning.
This paper is about building a special "training manual" to teach computers how to understand these hidden meanings in Sindhi. Here is the story of how they did it, broken down simply:
1. The Problem: Computers Miss the "Joke"
Human language is full of tricks. We use idioms (like "it's raining cats and dogs"), proverbs (old sayings with wisdom), metaphors, and similes (comparisons using "like" or "as"). These aren't meant to be taken literally.
For languages like English, we have huge dictionaries of these tricks. But for Sindhi—a language spoken by millions in Pakistan and India with a rich history of poetry and Sufi traditions—there was almost no digital map for these non-literal expressions. It was like trying to teach a student to read a complex novel without giving them a dictionary for the difficult words.
2. The Solution: Building the "SiNFluD" Dataset
The authors created a new resource called SiNFluD (Sindhi Non-literal Figurative Language Dataset). Think of this as a massive, carefully organized flashcard deck.
- Gathering the Cards: They didn't just make these up. They went digging through old books, blogs, social media posts, and websites like Wikisource to find real examples of Sindhi people using these figurative expressions.
- The Human Touch: Two native speakers of Sindhi acted as the "teachers." They read every single sentence and labeled it:
- Literal (0): "The cat is on the mat." (Plain truth).
- Figurative (1): "He has a heart of stone." (Not literally stone, but unfeeling).
- They also sorted the figurative ones into four buckets: Idioms, Proverbs, Metaphors, and Similes.
- Double-Checking: To make sure they agreed, they compared their work. They agreed 81% of the time, which is a very high score, meaning the "flashcards" are reliable.
- Cleaning Up: They removed duplicates and fixed formatting errors, ending up with about 4,451 clean examples.
3. The Test: Teaching the Computers
Once they had their flashcards, they needed to see if modern AI could learn from them. They treated this like a school exam for computers.
- The Students: They tested four different "student" AI models:
- mBERT: A standard multilingual student.
- XLM-RoBERTa: A more advanced student who has read more books.
- XLM-RoBERTa-XL: The "Super Student" with a massive brain (more parameters) who has read over 100 languages.
- SetFit: A "speed learner" designed to get good results with very few examples (few-shot learning).
- The Exam: They split the data into training sets and test sets (like practice quizzes and final exams) using a method called "cross-validation" to ensure the results weren't just luck.
4. The Results: Who Passed?
The results were quite encouraging:
- The Winner: The XLM-RoBERTa-XL model (the Super Student) got the highest score, correctly identifying figurative language about 92.27% of the time.
- The Runners-Up: The other models also did very well, scoring between 90% and 91%.
- The Lesson: This tells us that the dataset is high-quality and balanced. It also shows that bigger, more advanced AI models are better at understanding the subtle "shades of meaning" in Sindhi, but even the efficient "speed learner" (SetFit) performed surprisingly well.
Summary
In short, the authors built the first major "dictionary of hidden meanings" for the Sindhi language. They proved that with this new tool, computers can finally start to understand that when a Sindhi speaker says something poetic or idiomatic, they aren't speaking nonsense—they are speaking with depth and culture. This gives researchers a solid foundation to build better translation tools, chatbots, and sentiment analyzers for Sindhi in the future.
Drowning in papers in your field?
Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.