Elamur Research⌕
☰
home / papers / 2025 / Nojoom.AI at AraGenEval Shared Task: Arabic Authorship Style Transfer

Nojoom.AI at AraGenEval Shared Task: Arabic Authorship Style Transfer

Summary

The paper describes Nojoom.AI's entry for Subtask 1 of the AraGenEval2025 shared task, Arabic Authorship Style Transfer. The task is to rewrite a neutral, formal Arabic paragraph so it reads like a named author while keeping its meaning. The team built two systems in sequence.

  • Baseline: few-shot prompting of Gemini 2.5 Flash. For each author, the exemplars were picked by K-means clustering over sample embeddings.
  • Main system: fine-tuned Arabic-capable seq2seq models (mT5, AraT5, mBART, mLongT5, AraBART). An author tag was prepended to each input, and LoRA was added for extra training on limited GPUs.

Training data came from the official paragraph-level dataset. Its long Arabic inputs made token-length limits a central engineering decision. Beyond the official metrics (BLEU, chrF), the authors also measured meaning preservation with BERTScore and style strength with a separately trained author classifier.

Fine-tuning roughly doubled BLEU over the prompting baseline. The best test result was about 24.5 BLEU and 59.3 chrF, with BERTScore near 92 and style-classifier precision around 86. The compact AraT5-v2-1024 nearly matched far larger multilingual models. This suggests that language-specific pretraining pays off for stylistic generation in morphologically rich languages.

Key points

  • Dataset: the official AraGenEval2025 data has 35,122 training, 4,157 validation and 8,143 test paragraphs. Test labels are hidden. Tokenized inputs reach up to 3,361 tokens.
  • Token-length caps: with the mBART50 tokenizer, a cap of 750 tokens covers about 90% of samples and a cap of 1024 covers about 99.6%. Caps were chosen against hardware limits, since memory grows roughly quadratically with length.
  • Baseline: Gemini 2.5 Flash few-shot prompting with K = 3 K-means-selected exemplars per author. The elbow and silhouette analyses pointed to 2–3 clusters for most authors. Validation scores were 11.66 BLEU and 48.12 chrF.
  • Best models:
    • facebook/mbart-large-50 gave the top test scores, 24.46 BLEU and 59.33 chrF.
    • UBC-NLP/AraT5-v2-1024 (367M parameters) was close behind, at 24.07 BLEU on test.
    • Adding LoRA to AraT5-v2-1024 brought only small changes.
  • Per-author results (AraT5-v2-1024 vs. baseline):
    • Gains appeared for every author, with an overall uplift of about +11 BLEU and +11 chrF.
    • The largest jump was for Gibran Khalil Gibran: +20.69 BLEU from only 30 validation samples.
    • Nawal El Saadawi and Ahmed Shawqi also improved strongly.

Interesting ideas

  • I1. Picking few-shot exemplars by clustering embeddings and taking representatives gives the prompt a varied, typical sample of each class instead of random examples. — For Mova (learn): When prompting LLM teacher tiers, cluster candidate sentences per construction type and feed one representative per cluster, so the teacher sees diverse yet typical cases.
  • I2. Sequence-length caps were set from percentile coverage of the actual token-length distribution, weighed against quadratic memory cost, instead of picking a round number. — For Mova (tree): Choose gparse's maximum input length from a coverage table over the treebanks, and route the rare overlong sentences to the perceptron parser or a splitter.
  • I3. Evaluation combined three separate axes: surface overlap, semantic similarity, and a trained classifier that checks whether the target style was actually achieved. — For Mova (back): Score generation from the meaning graph on fidelity to the graph and on register/style correctness separately, with a small classifier as the style judge.
  • I4. Conditioning a single seq2seq model on a simple prepended tag lets one model serve many target authors. — For Mova (back): A register or audience tag on the graph-to-text input could let one generator produce child-level, school-level or formal versions of the same meaning.
  • I5. Results were broken down per author with deltas against the baseline. This exposed how tiny classes (30 or 25 samples) behave differently from the aggregate. — For Mova (learn): Report parser and frame-extraction gains per relation or frame type against the previous version, so improvements on rare categories are not hidden by averages.

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

Fields: Machine translation · Natural language processing

Topics: Machine translation

Cite

The paper itself, not this page. BibTeX from the library's record of the work. DOI 10.18653/v1/2025.arabicnlp-sharedtasks.3

@inproceedings{achira2025nojoom,
  title = {{Nojoom.AI at AraGenEval Shared Task: Arabic Authorship Style Transfer}},
  author = {Achira, Hafsa Kara and Bouache, Mourad and Dahmane, Mourad},
  booktitle = {Proceedings of The Third Arabic Natural Language Processing Conference: Shared Tasks},
  year = {2025},
  doi = {10.18653/v1/2025.arabicnlp-sharedtasks.3},
  url = {https://doi.org/10.18653/v1/2025.arabicnlp-sharedtasks.3}
}

References

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

  1. Shadi Abudalfa, Saad Ezzini, Ahmed Abdelali, Hamza Alami, Abdessamad Benlahbib, Salmane Chafik, Mo El-Haj, Abdelkader El Mahdaouy, Mustafa Jarrar, Salima Lamsiyah, and Hamzah Luqman. 2025. The AraGenEval Shared Task on Arabic Authorship Style Transfer and AI-Generated Text Detection. In Proceedings of the Third Arabic Natural Language Processing Conference (ArabicNLP 2025), Association for Computational Linguistics. find our card
  2. Linting Xue, Noah Constant, Adam Roberts, Mihir Kale, Rami Al-Rfou, Aditya Siddhant, Aditya Barua, and Colin Raffel. 2021. mt5: A massively multilingual pre-trained text-to-text transformer. In Proceedings of the 2021 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies (NAACL), pages 483– 498. find
  3. Moussa Kamal Eddine, Nadi Tomeh, Nizar Habash, Joseph Le Roux, and Michalis Vazirgiannis. 2022. Arabart: a pretrained arabic sequence-to-sequence model for abstractive summarization. arXiv preprint arXiv:2203.10945. ↗
  4. AbdelRahim Elmadany, El Moatez Billah Nagoudi, and Muhammad Abdul-Mageed. 2023. Octopus: A multitask model and toolkit for Arabic natural language generation. In Proceedings of ArabicNLP 2023, pages 232–243, Singapore (Hybrid). Association for Computational Linguistics. find
  5. Edward J. Hu, Yelong Shen, Phillip Wallis, Zeyuan Allen-Zhu, Yuanzhi Li, Shean Wang, Lu Wang, and Weizhu Chen. 2021. Lora: Low-rank adaptation of large language models. arXiv preprint, arXiv:2106.09685. ↗
  6. Zhiqiang Hu, Roy Ka-Wei Lee, Charu C. Aggarwal, and Aston Zhang. 2022. Text style transfer: A review and experimental evaluation. ACM SIGKDD Explorations Newsletter, 24(1):14–45. find
  7. El Moatez Billah Nagoudi, AbdelRahim Elmadany, and Muhammad Abdul-Mageed. 2022. Arat5: Text-to-text transformers for arabic language generation. In Proceedings of the 60th Annual Meeting of the Association for Computational Linguistics (ACL), pages 628–647. find our card
  8. Phillip Rust, Jonas Pfeiffer, Ivan Vulić, Sebastian Ruder, and Iryna Gurevych. 2021. How good is your tokenizer? on the monolingual performance of multilingual language models. In Proceedings of the 59th Annual Meeting of the Association for Computational Linguistics and the 11th International Joint Conference on Natural Language Processing (Volume 1: Long Papers), pages 3118–3135, Online. Association for Computational Linguistics. find our card

↑ back to top

This page in Markdown → https://md.research.elamur.ai/free/en/papers/achira-2025-nojoom-ai-arageneval-shared-task/