Elamur Research⌕
☰
home / papers / 2008 / Unsupervised Learning-based Anomalous Arabic Text Detection

Unsupervised Learning-based Anomalous Arabic Text Detection

Paper · 2008 · Nasser Abouzakhar, Ben Allison and Louise Guthrie

Summary

The paper asks whether a text that does not fit a document collection can be found automatically when the language is Arabic, with no labelled examples. It extends earlier English work (Guthrie et al., 2007). Each paragraph-sized segment becomes a vector of stylistic features. Some are generic, such as sentence length, vocabulary richness and shares of pronouns or conjunctions. Others are Arabic-specific, such as diacritics, nunation, elongation, numeral style and calendar type. Features are z-score normalised. Each segment's anomaly score is its summed dissimilarity to every other segment, computed with cosine dissimilarity, city block distance or Chebychev distance.

For testing, a single religious, social or novel segment was mixed into 50 Aljazeera.net news segments. This was repeated 30 times per type, and success was measured by whether the intruder ranked in the Top 1, 3 or 10. All three measures placed the intruder in the Top 10 more than 75% of the time, and religious text reached about 90%, helped by its diacritics. City block and Chebychev performed alike, and both beat cosine. This matches the English findings and shows that shallow, language-aware style features can flag out-of-place text cheaply.

Key points

  • Normal data: 50 Aljazeera.net news segments. Anomalies: one inserted segment that is religious, social or from a novel, with 30 runs per anomaly type.
  • Method: fully unsupervised, assuming no model of what "normal" language looks like.
    • Each segment's anomaly score is the sum of its distances to all other segments.
    • Three distance measures were used: cosine dissimilarity (1 − cos), city block, and Chebychev.
    • Features are converted to z-scores first.
  • Features:
    • General stylistic ones include average word and sentence length, question sentences, frequent words, vocabulary richness, punctuation, prepositions, conjunctions, several pronoun types, and positive/negative words.
    • Arabic-specific ones include diacritics, diphthongs, nunation, elongation, Arabic vs Indian numerals, and lunar/Hijri calendar.
  • Results:
    • All models detected the intruder in the Top 10 more than 75% of the time, compared against a random baseline.
    • Religious intruders reached about 90% in the Top 10.
    • City block ≈ Chebychev > cosine, consistent with the earlier English study.
  • Ambiguity rule: an attached "wa" (and) or an abridged one-letter "we" pronoun is not counted when it cannot be told apart from an ordinary letter.

Interesting ideas

  • I1. Scoring each item by its summed distance to all peers finds outliers with no training data and no explicit model of the norm.
  • I2. Injecting one known foreign item into a homogeneous pool and checking whether it rises to the Top-n gives a cheap, controlled test of a detector.
  • I3. When a feature cannot be decided, skip counting it rather than guess. This trades recall for clean, precise statistics.
  • I4. Normalising each feature to z-scores before measuring distance keeps any single high-variance feature from dominating.
  • I5. Script-specific surface cues (here, diacritic density in religious text) can carry strong genre signal next to generic style features.

For Mova

How these ideas could serve Mova, our small open language model — its files, stages and tests:

  • I1 (learn): Silver parses or frame sets could be ranked by how far their feature profile sits from the rest of the batch, flagging suspicious outputs for teacher review.
  • I2 (learn): This works as a negative-control harness. Plant deliberately corrupted trees or texts among good ones and verify that quality checks surface them above a random baseline.
  • I3 (tokens): The tokenizer and morphology can mark undecidable splits as "unknown" and keep them out of feature counts, so explanations never rest on guessed segmentations.
  • I4 (world): When comparing entity or text profiles built from mixed measures, per-feature z-scoring makes the distances fair and explainable feature by feature.
  • I5 (frames): Register cues such as archaic forms, quotation density or punctuation habits could help pragmatics detect genre shifts, irony or quoted speech inside a text.

Our summary of the paper, in our own words — not its text. The work belongs to its authors; read it at the links above.

 Institutions

Cite

Cite as Nasser Abouzakhar, Ben Allison and Louise Guthrie. 2008. Unsupervised Learning-based Anomalous Arabic Text Detection. Proceedings of the Sixth International Conference on Language Resources and Evaluation (LREC'08).

The paper itself, not this page. BibTeX from the library's record of the work.

@inproceedings{abouzakhar2008unsupervised,
  title = {{Unsupervised Learning-based Anomalous Arabic Text Detection}},
  author = {Nasser Abouzakhar, Ben Allison and Louise Guthrie},
  booktitle = {Proceedings of the Sixth International Conference on Language Resources and Evaluation (LREC'08)},
  year = {2008},
  doi = {10.63317/57qrifijdmrb},
  url = {https://doi.org/10.63317/57qrifijdmrb}
}

References

14 references, 1 of them with a card of ours. ↗ leads to the work, «find» searches for one we have no id for yet.

  1. Abouzakhar, N. and Manson, G. (2002). An Intelligent Approach to Prevent Distributed Systems Attacks, The Journal of Information Management and Computer Security, 10 (5): 203 - 209. find
  2. Al-Sughaiyer, I. and Al-Kharashi, A. (2004). Arabic Morphological Analysis Techniques: A Comprehensive Survey, Journal of the American Society for Information Science and Technology, 55 (3): 189-213. find
  3. Abbasi, A. and Chen, H. (2005). Applying Authorship Analysis to Extremist-Group Web Forum Messages, Intelligent Systems, IEEE Computer Society. ↗
  4. Abbasi, A. and Chen, H. (2005). Applying Authorship Analysis to Arabic Web Content, Springer-Verlag, Berlin Heidelberg. find
  5. Al-Shartuni, R. (2006), Elementary Arabic Morphology 1 (Mabadi Al-Arabiyyah). Translated by: Hamid Hussein Waqar. find
  6. Ben Amara, N. E. and Bouslama, F. (2003). Classification of Arabic Script Multiple Sources of Information: State of the Art and Perspectives, International Journal on Document Analysis and Recognition (IJDAR), Springer-Verlag. find
  7. Clough, P. Gaizauskas, R. Piao, S. and Wilks, Y. (2002). METER: MEasuring TExt Reuse. In proceedings of the 40th Anniversary Meeting for the Association for Computational Linguistics (ACL-02), pp.152-159, 7-12 July, University of Pennsylvania, Philadelphia, USA. find
  8. De Roeck, A. N. and Al-Fares, W. (2000). A Morphologically Sensitive Clustering Algorithm for Identifying Arabic Roots, Proceedings of Association for Computational Linguistics (ACL oo). our card
  9. Guthrie, D. Guthrie, L. Allison, B. and Wilks, Y. (2007). Unsupervised Anomaly Detection, International Joint Conferences on Artificial Intelligence, India. find
  10. Habash, N. Arabic Tutorial, (2006). The fifth international conference on Language Resources and Evaluation, LREC 2006, Genoa, Italy. find
  11. Maamouri, M. Kulick, S. Bies, A. (2006). Diacritisation: A Challenge to Arabic Treebank Annotation and Parsing. The Challenge of Arabic for NLP/MT, International Conference at the British Computer Society (BCS), London. find
  12. Maamouri, M. Bies, A. and Kulick, S. (2006). Diacritisation in Arabic Treeback Annontation and Parsing, University of Pennsylvania Messoudi, A. Lamel, L. and Gauvain, J. (2004). The LIMSI RT-04 BN Arabic System, Proceedings of the EARS RT-04 Workshop. find
  13. Rozovskaya, A. Sproat, R. and Benmamoun, E. (2006). Challenges in processing colloquial Arabic, The Challenge of Arabic for NLP/MT, International Conference at the British Computer Society (BCS), London. find
  14. Smrz, O. (2005). Introduction to Arabic Natural Language Processing, Lecture notes, Dept. of Middle Eastern Studies, The University of West Bohemia, Pilsen, Czech Republic. find

Updated

↑ back to top

This page in Markdown → https://md.research.elamur.ai/free/en/papers/abouzakhar-2008-unsupervised-learning-based-anomalous-arabic/