---
title: "ALJP: An Arabic Legal Judgment Prediction in Personal Status Cases Using Machine — Abbara 2023"
description: "The paper addresses Legal Judgment Prediction (LJP) for Arabic, a language the authors say had no prior LJP work. 88% accuracy. 25 references."
authors: ["Salwa Abbara", "Mona Hafez", "Aya Kazzaz", "Areej Alhothali", "Alhanouf Alsolami"]
year: 2023
venue: "arXiv:2309.00238"
source: "https://arxiv.org/abs/2309.00238"
doi: "10.48550/arxiv.2309.00238"
arxiv: "2309.00238"
licence: "CC BY-NC-ND 4.0 (arXiv)"
licence_url: "http://creativecommons.org/licenses/by-nc-nd/4.0/"
summary_licence: "Elamur Cosmic License"
canonical: "https://research.elamur.ai/free/en/papers/abbara-2023-aljp-arabic-legal-judgment-prediction/"
---
[Elamur Research](https://md.research.elamur.ai/free/en/) · [this page in HTML](https://research.elamur.ai/free/en/papers/abbara-2023-aljp-arabic-legal-judgment-prediction/)

[home](https://md.research.elamur.ai/free/en/) / [papers](https://md.research.elamur.ai/free/en/papers/) / [2023](https://md.research.elamur.ai/free/en/papers/2023/page/7/) / ALJP: An Arabic Legal Judgment Prediction in Personal Status Cases Using Machine Learning Models

# ALJP: An Arabic Legal Judgment Prediction in Personal Status Cases Using Machine Learning Models

**Authors:** Salwa Abbara, Mona Hafez, Aya Kazzaz, [Areej Alhothali](https://md.research.elamur.ai/free/en/authors/areej-alhothali/) and Alhanouf Alsolami · **Year:** 2023 · **Venue:** arXiv:2309.00238 · **Licence:** [CC BY-NC-ND 4.0 (arXiv)](http://creativecommons.org/licenses/by-nc-nd/4.0/)

**Links:** [Publisher's page](https://arxiv.org/abs/2309.00238) · [PDF](https://arxiv.org/pdf/2309.00238) · [DOI 10.48550/arxiv.2309.00238](https://doi.org/10.48550/arxiv.2309.00238) · [arXiv 2309.00238](https://arxiv.org/abs/2309.00238) · [OpenAlex](https://openalex.org/W4402692698)

**Citations:** 4 citations (OpenAlex, 2026-10-14)

## Summary
The paper addresses Legal Judgment Prediction (LJP) for Arabic, a language the authors say had no prior LJP work. It focuses on Saudi personal status law, specifically custody and annulment of marriage. The authors built a new dataset by combining sample cases published by the Saudi Ministry of Justice with cases simulated by legal experts. They then framed prediction as multi-class classification with two tasks. The first maps the pleading text to a judgment and to the supporting law articles or evidence. The second maps the plaintiff's claim and the defendant's answer to probable outcomes. They compared SVM, LR, LSTM and BiLSTM, each with TF-IDF and word2vec features. For custody judgments, SVM with word2vec reached 88% accuracy, and for annulment, LR with TF-IDF reached 78%. Predicting law articles proved much harder, peaking at 25% for custody and 50% for annulment. Classical models matched or beat the neural ones, which the authors attribute to the small dataset. The work matters mainly as a first Arabic resource and baseline for this task.

## Key points
- Domain: Saudi personal status cases (custody, annulment of marriage). Data comes from Ministry of Justice sample collections plus expert-simulated cases.
- The study has two tasks:
  - pleading → judgment and law article/evidence;
  - claim + defense answer → most probable outcome.
- Eight configurations were tested: SVM, LR, LSTM and BiLSTM, each crossed with TF-IDF and word2vec. Metrics were accuracy, precision, recall and F1.
- Judgment prediction:
  - custody: 88% with SVM-word2vec;
  - annulment: 78% with LR-TFIDF, and SVM-TFIDF also hit 78%.
- Law-article prediction topped out at 25% for custody (LSTM/BiLSTM-TFIDF) and 50% for annulment (LR-word2vec).
- Outcome-probability prediction:
  - custody: 88% with SVM and LR on word2vec;
  - annulment: about 68% with BiLSTM-TFIDF (the abstract says 69%).
- Several LSTM/BiLSTM rows are identical across both feature types, with accuracy near 87.5% but F1 around 29%. This pattern suggests the models collapsed to the majority class.

## Interesting ideas
- When real annotated cases are scarce, the authors added cases written by domain experts, a cheap way to cover rare outcome types.
- The same case is modeled under two framings: one-sided input (pleading only) versus two-sided input (claim plus opposing answer). This shows how much the counter-argument changes the predicted outcome.
- The verdict and its justification (law article or evidence) are predicted as separate targets, and the much lower score on justification exposes how weakly grounded the verdict predictions are.
- The tables show high accuracy alongside very low F1 for models that learned only the dominant class. This is an argument for always reporting per-class metrics next to accuracy.
- On a small dataset, simple linear models with sparse or averaged features outperformed recurrent networks. This is a reminder to establish strong cheap baselines before scaling up.

## For Mova

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

- **I1** (learn): Expert- or LLM-written controlled texts could fill gaps in silver data for rare constructions, provided they are tagged as synthetic and evaluated separately.
- **I2** (frames): Frames could keep each party's assertions as separate speech acts, so a reader can reason over conflicting claims rather than over merged text.
- **I3** (answer): Students should be scored on both the answer and its supporting trace, so a correct answer with a wrong justification counts as a partial failure.
- **I4** (learn): Include a majority-class baseline as a negative control in every evaluation, and flag any model whose macro-F1 does not beat it.
- **I5** (tree): Keep the perceptron parser as a mandatory baseline when training gparse on small or new-dialect treebanks, and adopt the transformer only where it clearly wins.

*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: [Linguistics & languages](https://md.research.elamur.ai/free/en/shelves/linguistics/) · [Law](https://md.research.elamur.ai/free/en/shelves/law/)

Topics: [⚖️ Legal AI](https://md.research.elamur.ai/free/en/topics/legal-ai/) · [🐪 Semitic languages](https://md.research.elamur.ai/free/en/topics/semitic-languages/)

## Institutions

- [King Abdulaziz University](https://md.research.elamur.ai/free/en/universities/king-abdulaziz-university/) — University, Jeddah, Saudi Arabia · 12 works · 309 citations

## Cite

Cite as: Salwa Abbara, Mona Hafez, Aya Kazzaz, Areej Alhothali and Alhanouf Alsolami. 2023. ALJP: An Arabic Legal Judgment Prediction in Personal Status Cases Using Machine Learning Models. arXiv:2309.00238.

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

```bibtex
@misc{abbara2023aljp,
  title = {{ALJP: An Arabic Legal Judgment Prediction in Personal Status Cases Using Machine Learning Models}},
  author = {Salwa Abbara, Mona Hafez, Aya Kazzaz, Areej Alhothali and Alhanouf Alsolami},
  year = {2023},
  doi = {10.48550/arxiv.2309.00238},
  eprint = {2309.00238},
  archivePrefix = {arXiv},
  url = {https://doi.org/10.48550/arxiv.2309.00238}
}
```

- [← previous The User-Aware Arabic Gender Rewriter](https://md.research.elamur.ai/free/en/papers/alhafni-2023-user-aware-arabic-gender-rewriter/)
- [next → Arabic Dysarthric Speech Recognition Using Adversarial and Signal-Based Augmentation](https://md.research.elamur.ai/free/en/papers/baali-2023-arabic-dysarthric-speech-recognition-using/)
- [↑ back to papers of 2023](https://md.research.elamur.ai/free/en/papers/2023/page/7/)

## References

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

1. Aletras, N., Tsarapatsanis, D., Preoţiuc-Pietro, D., Lampos, V.: Predicting judicial decisions of the european court of human rights: A natural language processing perspective. PeerJ Computer Science 2, 93 (2016) [find](https://scholar.google.com/scholar?q=Aletras%2C+N%2E%2C+Tsarapatsanis%2C+D%2E%2C+Preot%CC%A7iuc%2DPietro%2C+D%2E%2C+Lampos%2C+V%2E%3A+Predicting+judicial+decisions+of+the+european+court+of+human+rights%3A+A+natural+language+processing+perspective%2E+PeerJ+Computer+Science)
2. Sil, R., Roy, A.: A novel approach on argument based legal prediction model using machine learning. In: 2020 International Conference on Smart Electronics and Communication (ICOSEC), pp. 487–490 (2020). IEEE [find](https://scholar.google.com/scholar?q=Sil%2C+R%2E%2C+Roy%2C+A%2E%3A+A+novel+approach+on+argument+based+legal+prediction+model+using+machine+learning%2E+In%3A+2020+International+Conference+on+Smart+Electronics+and+Communication+%28ICOSEC%29%2C+pp%2E+487%E2%80%93490+%282020)
3. Medvedeva, M., Vols, M., Wieling, M.: Using machine learning to predict decisions of the european court of human rights. Artificial Intelligence and Law 28(2), 237–266 (2020) [find](https://scholar.google.com/scholar?q=Medvedeva%2C+M%2E%2C+Vols%2C+M%2E%2C+Wieling%2C+M%2E%3A+Using+machine+learning+to+predict+decisions+of+the+european+court+of+human+rights%2E+Artificial+Intelligence+and+Law+28%282%29%2C+237%E2%80%93266+%282020%29)
4. Shaikh, R.A., Sahu, T.P., Anand, V.: Predicting outcomes of legal cases based on legal factors using classifiers. Procedia Computer Science 167, 2393–2402 (2020) [find](https://scholar.google.com/scholar?q=Shaikh%2C+R%2EA%2E%2C+Sahu%2C+T%2EP%2E%2C+Anand%2C+V%2E%3A+Predicting+outcomes+of+legal+cases+based+on+legal+factors+using+classifiers%2E+Procedia+Computer+Science+167%2C+2393%E2%80%932402+%282020%29)
5. Zhang, H., Wang, X., Tan, H., Li, R.: Applying data discretization to dpcnn for law article prediction. In: NLPCC (2019) [find](https://scholar.google.com/scholar?q=Zhang%2C+H%2E%2C+Wang%2C+X%2E%2C+Tan%2C+H%2E%2C+Li%2C+R%2E%3A+Applying+data+discretization+to+dpcnn+for+law+article+prediction%2E+In%3A+NLPCC+%282019%29)
6. Xiao, C., Zhong, H., Guo, Z., Tu, C., Liu, Z., Sun, M., Feng, Y., Han, X., Hu, Z., Wang, H., et al.: Cail2018: A large-scale legal dataset for judgment prediction. arXiv preprint arXiv:1807.02478 (2018) [↗](https://arxiv.org/abs/1807.02478) [our card](https://md.research.elamur.ai/free/en/papers/xiao-2018-cail2018-large-scale-legal-dataset/)
7. Li, S., Liu, B., Ye, L., Zhang, H., Fang, B.: Element-aware legal judgment prediction for criminal cases with confusing charges. In: 2019 IEEE 31st International Conference on Tools with Artificial Intelligence (ICTAI), pp. 660–667 (2019). IEEE [find](https://scholar.google.com/scholar?q=Li%2C+S%2E%2C+Liu%2C+B%2E%2C+Ye%2C+L%2E%2C+Zhang%2C+H%2E%2C+Fang%2C+B%2E%3A+Element%2Daware+legal+judgment+prediction+for+criminal+cases+with+confusing+charges%2E+In%3A+2019+IEEE+31st+International+Conference+on+Tools+with+Artificial+In)
8. Long, S., Tu, C., Liu, Z., Sun, M.: Automatic judgment prediction via legal reading comprehension. In: China National Conference on Chinese Computational Linguistics, pp. 558–572 (2019). Springer [find](https://scholar.google.com/scholar?q=Long%2C+S%2E%2C+Tu%2C+C%2E%2C+Liu%2C+Z%2E%2C+Sun%2C+M%2E%3A+Automatic+judgment+prediction+via+legal+reading+comprehension%2E+In%3A+China+National+Conference+on+Chinese+Computational+Linguistics%2C+pp%2E+558%E2%80%93572+%282019%29%2E+Springer)
9. Zhong, H., Guo, Z., Tu, C., Xiao, C., Liu, Z., Sun, M.: Legal judgment prediction via topological learning. In: Proceedings of the 2018 Conference on Empirical Methods in Natural Language Processing, pp. 3540–3549 (2018) [our card](https://md.research.elamur.ai/free/en/papers/zhong-2018-legal-judgment-prediction-topological-learning/)
10. Wang, C., Jin, X.: Study on the multi-task model for legal judgment prediction. In: 2020 IEEE International Conference on Artificial Intelligence and Computer Applications (ICAICA), pp. 309–313 (2020). IEEE [find](https://scholar.google.com/scholar?q=Wang%2C+C%2E%2C+Jin%2C+X%2E%3A+Study+on+the+multi%2Dtask+model+for+legal+judgment+prediction%2E+In%3A+2020+IEEE+International+Conference+on+Artificial+Intelligence+and+Computer+Applications+%28ICAICA%29%2C+pp%2E+309%E2%80%93313+%282020%29)
11. Huang, D., Lin, W.: A model for legal judgment prediction based on multi-model fusion. In: 2019 3rd International Conference on Electronic Information Technology and Computer Engineering (EITCE), pp. 892–895 (2019). IEEE [find](https://scholar.google.com/scholar?q=Huang%2C+D%2E%2C+Lin%2C+W%2E%3A+A+model+for+legal+judgment+prediction+based+on+multi%2Dmodel+fusion%2E+In%3A+2019+3rd+International+Conference+on+Electronic+Information+Technology+and+Computer+Engineering+%28EITCE%29%2C+pp%2E+)
12. Li, S., Zhang, H., Ye, L., Guo, X., Fang, B.: Mann: A multichannel attentive neural network for legal judgment prediction. IEEE Access 7, 151144–151155 (2019) [find](https://scholar.google.com/scholar?q=Li%2C+S%2E%2C+Zhang%2C+H%2E%2C+Ye%2C+L%2E%2C+Guo%2C+X%2E%2C+Fang%2C+B%2E%3A+Mann%3A+A+multichannel+attentive+neural+network+for+legal+judgment+prediction%2E+IEEE+Access+7%2C+151144%E2%80%93151155+%282019%29)
13. Yao, F., Sun, X., Yu, H., Yang, Y., Zhang, W., Fu, K.: Gated hierarchical multi-task learning network for judicial decision prediction. Neurocomputing 411, 313– 326 (2020) [find](https://scholar.google.com/scholar?q=Yao%2C+F%2E%2C+Sun%2C+X%2E%2C+Yu%2C+H%2E%2C+Yang%2C+Y%2E%2C+Zhang%2C+W%2E%2C+Fu%2C+K%2E%3A+Gated+hierarchical+multi%2Dtask+learning+network+for+judicial+decision+prediction%2E+Neurocomputing+411%2C+313%E2%80%93+326+%282020%29)
14. Bao, Q., Zan, H., Gong, P., Chen, J., Xiao, Y.: Charge prediction with legal attention. In: CCF International Conference on Natural Language Processing and Chinese Computing, pp. 447–458 (2019). Springer [find](https://scholar.google.com/scholar?q=Bao%2C+Q%2E%2C+Zan%2C+H%2E%2C+Gong%2C+P%2E%2C+Chen%2C+J%2E%2C+Xiao%2C+Y%2E%3A+Charge+prediction+with+legal+attention%2E+In%3A+CCF+International+Conference+on+Natural+Language+Processing+and+Chinese+Computing%2C+pp%2E+447%E2%80%93458+%282019%29%2E+Sprin)
15. Sukanya, G., J.Priyadarshini: A meta analysis of attention models on legal judgment prediction system. International Journal of Advanced Computer Science and Applications 12(2) (2021) https://doi.org/10.14569/IJACSA.2021.0120266 [↗](https://doi.org/10.14569/ijacsa.2021.0120266)
16. Yang, Z., Wang, P., Zhang, L., Shou, L., Xu, W.: A recurrent attention network for judgment prediction. In: International Conference on Artificial Neural Networks, pp. 253–266 (2019). Springer [find](https://scholar.google.com/scholar?q=Yang%2C+Z%2E%2C+Wang%2C+P%2E%2C+Zhang%2C+L%2E%2C+Shou%2C+L%2E%2C+Xu%2C+W%2E%3A+A+recurrent+attention+network+for+judgment+prediction%2E+In%3A+International+Conference+on+Artificial+Neural+Networks%2C+pp%2E+253%E2%80%93266+%282019%29%2E+Springer)
17. Xu, N., Wang, P., Chen, L., Pan, L., Wang, X., Zhao, J.: Distinguish confusing law articles for legal judgment prediction. arXiv preprint arXiv:2004.02557 (2020) [↗](https://arxiv.org/abs/2004.02557) [our card](https://md.research.elamur.ai/free/en/papers/xu-2020-distinguish-confusing-law-articles-legal/)
18. Kowsrihawat, K., Vateekul, P., Boonkwan, P.: Predicting judicial decisions of criminal cases from thai supreme court using bi-directional gru with attention mechanism. In: 2018 5th Asian Conference on Defense Technology (ACDT), pp. 50–55 (2018). IEEE [find](https://scholar.google.com/scholar?q=Kowsrihawat%2C+K%2E%2C+Vateekul%2C+P%2E%2C+Boonkwan%2C+P%2E%3A+Predicting+judicial+decisions+of+criminal+cases+from+thai+supreme+court+using+bi%2Ddirectional+gru+with+attention+mechanism%2E+In%3A+2018+5th+Asian+Conference+on)
19. Yuan, L., Wang, J., Fan, S., Bian, Y., Yang, B., Wang, Y., Wang, X.: Automatic legal judgment prediction via large amounts of criminal cases. In: 2019 IEEE 5th International Conference on Computer and Communications (ICCC), pp. 2087–2091 (2019). IEEE [find](https://scholar.google.com/scholar?q=Yuan%2C+L%2E%2C+Wang%2C+J%2E%2C+Fan%2C+S%2E%2C+Bian%2C+Y%2E%2C+Yang%2C+B%2E%2C+Wang%2C+Y%2E%2C+Wang%2C+X%2E%3A+Automatic+legal+judgment+prediction+via+large+amounts+of+criminal+cases%2E+In%3A+2019+IEEE+5th+International+Conference+on+Computer+and)
20. Wang, Y., Gao, J., Chen, J.: Deep learning algorithm for judicial judgment prediction based on bert. In: 2020 5th International Conference on Computing, Communication and Security (ICCCS), pp. 1–6 (2020). IEEE [find](https://scholar.google.com/scholar?q=Wang%2C+Y%2E%2C+Gao%2C+J%2E%2C+Chen%2C+J%2E%3A+Deep+learning+algorithm+for+judicial+judgment+prediction+based+on+bert%2E+In%3A+2020+5th+International+Conference+on+Computing%2C+Communication+and+Security+%28ICCCS%29%2C+pp%2E+1%E2%80%936+%2820)
21. Chalkidis, I., Androutsopoulos, I., Aletras, N.: Neural legal judgment prediction in english. arXiv preprint arXiv:1906.02059 (2019) [↗](https://arxiv.org/abs/1906.02059) [our card](https://md.research.elamur.ai/free/en/papers/chalkidis-2019-neural-legal-judgment-prediction-english/)
22. Zhu, K., Guo, R., Hu, W., Li, Z., Li, Y.: Legal judgment prediction based on multiclass information fusion. Complexity 2020 (2020) [find](https://scholar.google.com/scholar?q=Zhu%2C+K%2E%2C+Guo%2C+R%2E%2C+Hu%2C+W%2E%2C+Li%2C+Z%2E%2C+Li%2C+Y%2E%3A+Legal+judgment+prediction+based+on+multiclass+information+fusion%2E+Complexity+2020+%282020%29)
23. Guo, X., Zhang, H., Ye, L., Li, S., Zhang, G.: Tenrr: An approach based on innovative tensor decomposition and optimized ridge regression for judgment prediction of legal cases. IEEE Access 8, 167914–167929 (2020) [find](https://scholar.google.com/scholar?q=Guo%2C+X%2E%2C+Zhang%2C+H%2E%2C+Ye%2C+L%2E%2C+Li%2C+S%2E%2C+Zhang%2C+G%2E%3A+Tenrr%3A+An+approach+based+on+innovative+tensor+decomposition+and+optimized+ridge+regression+for+judgment+prediction+of+legal+cases%2E+IEEE+Access+8%2C+167914%E2%80%93)
24. Guo, X., Zhang, H., Ye, L., Li, S.: Rnrtd: Intelligent approach based on the relationship-driven neural network and restricted tensor decomposition for multiple accusation judgment in legal cases. Computational intelligence and neuroscience 2019 (2019) [find](https://scholar.google.com/scholar?q=Guo%2C+X%2E%2C+Zhang%2C+H%2E%2C+Ye%2C+L%2E%2C+Li%2C+S%2E%3A+Rnrtd%3A+Intelligent+approach+based+on+the+relationship%2Ddriven+neural+network+and+restricted+tensor+decomposition+for+multiple+accusation+judgment+in+legal+cases%2E+Com)
25. Soliman, A.B., Eissa, K., El-Beltagy, S.R.: Aravec: A set of arabic word embedding models for use in arabic nlp. Procedia Computer Science 117, 256–265 (2017) [find](https://scholar.google.com/scholar?q=Soliman%2C+A%2EB%2E%2C+Eissa%2C+K%2E%2C+El%2DBeltagy%2C+S%2ER%2E%3A+Aravec%3A+A+set+of+arabic+word+embedding+models+for+use+in+arabic+nlp%2E+Procedia+Computer+Science+117%2C+256%E2%80%93265+%282017%29)
