← Latest papers
💬 NLP

ADAB: Arabic Dataset for Automated Politeness Benchmarking -- A Large-Scale Resource for Computational Sociopragmatics

This paper introduces ADAB, a large-scale annotated Arabic dataset comprising 10,000 samples from diverse online platforms and dialects, designed to advance computational sociopragmatics by providing a benchmark for politeness detection across polite, impolite, and neutral categories.

Original authors: Hend Al-Khalifa, Nadia Ghezaiel, Maria Bounnit, Hend Hamed Alhazmi, Noof Abdullah Alfear, Reem Fahad Alqifari, Ameera Masoud Almasoud, Sharefah Al-Ghamdi

Published 2026-02-24
📖 5 min read🧠 Deep dive

Original authors: Hend Al-Khalifa, Nadia Ghezaiel, Maria Bounnit, Hend Hamed Alhazmi, Noof Abdullah Alfear, Reem Fahad Alqifari, Ameera Masoud Almasoud, Sharefah Al-Ghamdi

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 are walking into a bustling, noisy marketplace in the Middle East. In this market, people speak in many different accents (dialects), use complex metaphors, and rely heavily on unspoken social rules to show respect or disrespect. Sometimes, a phrase that sounds like a blessing is actually a curse, depending on the tone and who is speaking.

Now, imagine you are trying to build a robot (an AI) to walk into this market and understand who is being polite and who is being rude. That is exactly the challenge this paper tackles.

Here is the story of ADAB, the new tool created to teach computers how to understand Arabic politeness.

1. The Problem: The "Lost in Translation" Robot

For a long time, computers have been great at understanding English politeness. If someone says "Please" or "Thank you," the computer knows they are being nice. But Arabic is different. It's like trying to teach a robot to understand a dance where the steps change depending on whether you are in Egypt, Saudi Arabia, or Morocco.

  • The Diglossia Puzzle: Arabic has two "faces": a formal version (like a suit and tie) and many dialect versions (like casual street clothes). A robot trained only on the formal version gets confused when people speak casually.
  • The Hidden Meaning: In Arabic, you can be incredibly polite by using a religious phrase, or incredibly rude by using the same phrase with a sarcastic tone. A standard computer sees the words but misses the "vibe."

Until now, there was no big library of examples to teach the robot these nuances. It was like trying to teach someone to swim without ever giving them a pool to practice in.

2. The Solution: Building the "ADAB" Pool

The researchers built a massive new dataset called ADAB (which means "Politeness" in Arabic). Think of this as a giant, organized library containing 10,000 real-life conversations scraped from the internet.

  • Where did they get the texts? They didn't just write fake sentences. They collected real comments from:

    • YouTube: People reacting to videos (the "street" talk).
    • Online Shopping: People reviewing clothes (the "customer service" talk).
    • Twitter: People arguing or chatting about news (the "public square" talk).
    • Banking Apps: People complaining about money (the "formal complaint" talk).
  • The Human Touch: To label these texts, they didn't just use a computer. They hired two experts with PhDs in Arabic language. These experts acted like detectives, reading every sentence to decide:

    1. Polite: "You are a blessing," "May God protect you."
    2. Impolite: "You are foolish," "Go away."
    3. Neutral: "The product is okay," "I bought this."

They also tagged why something was polite or rude (e.g., "This is a prayer," "This is an insult," "This is sarcasm").

3. The Big Test: Who is the Best Detective?

Once they built the library, they put 40 different types of "robots" (AI models) to the test to see which one could best read the room. They tested three generations of robots:

  1. The Old School Robots (Traditional Machine Learning): These are like calculators. They look for specific keywords (like "thank you") but don't understand the whole sentence.
    • Result: They were okay, but often missed the subtle jokes or sarcasm.
  2. The Super-Readers (Transformers/LLMs): These are the modern AI giants (like the ones behind ChatGPT). They read the whole sentence and understand context.
    • Result: They did much better.
  3. The "Local" vs. "Global" Robots: They tested robots trained on all languages versus robots trained specifically on Arabic.
    • The Winner: The MARBERT robot (an Arabic-specialist) won the race. It scored a 91% accuracy.
    • The Lesson: Just like a tourist might struggle with local slang, a "global" AI struggled with Arabic nuances. The "local" AI, which had studied Arabic dialects and social media slang, understood the culture much better.

4. Where the Robots Still Stumble (The Glitches)

Even the best robot made mistakes. The researchers found four main reasons why:

  • The "Safe Zone" Bias: The robots were too scared to call anything "rude" or "super polite." They defaulted to saying everything was "Neutral" (just okay). It's like a robot that thinks, "I'm not 100% sure, so I'll just say it's fine."
  • The Religious Trap: Some phrases use religious words that can be a blessing or a curse depending on the context. The robots often got confused here.
  • The Slang Wall: The robots struggled with specific dialects (like Egyptian or Maghrebi Arabic) because they hadn't seen enough examples of them.
  • The "Subtle Insult": Sometimes people are rude without using bad words (passive aggression). The robots missed these "soft" insults.

5. Why Does This Matter?

Why do we care if a robot knows the difference between "God bless you" and "God help you"?

  • Customer Service: Imagine a chatbot that knows when a customer is getting angry and switches to a super-polite tone to calm them down.
  • Social Media: Imagine a tool that can spot bullying or harassment in Arabic comments before it hurts someone, even if the bully is using clever, hidden insults.
  • Respect: It helps technology respect the culture it is serving, rather than treating all languages as if they were English.

The Bottom Line

This paper is like building the first dictionary of feelings specifically for the Arabic-speaking world. It shows us that while AI is getting smarter, it still needs to learn the local culture, the dialects, and the hidden meanings of politeness to truly understand us. The ADAB dataset is the textbook that will help future robots learn these lessons.

Drowning in papers in your field?

Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.

Try Digest →