The architecture of systems for predicting the outcomes of court cases based on machine learning methods

A.V. Platenkin, A.A. Strelnikova

Abstract


The article is devoted to designing the architecture of systems that predict the outcome of a court case using machine learning methods. The starting point is a long‑discussed methodological problem: a significant portion of published models recognize the outcome based on the text of an already issued decision, rather than predicting it. A five‑level architecture is proposed, in which the boundary of available information is fixed at the data level. The system includes a pipeline for collecting and depersonalizing judicial acts, a feature extraction pipeline, a hybrid model pipeline (gradient boosting on structured features and a domain‑adapted transformer for texts), a calibration and interpretation module based on Shepley values, as well as a drift and security monitoring pipeline. Calculations of the computational load when processing long documents using a sliding window, the storage capacity for vector representations, and the minimum size of the test set are provided. For a document containing 6,000 words, switching to windows of 512 tokens reduces the costs of the attention mechanism by almost 16 times. It has been shown that in the case of imbalanced classes, the accuracy metric can be misleading, and the transition to balanced accuracy and the Matthews correlation coefficient is justified. Threats to information security, the requirements for fairness, and the limitations imposed by Russian legislation are considered separately. It is concluded that such a system is acceptable only as a tool to support the decisions of the participants in the process, but not as a substitute for the court, and its logic must remain open to verification.

Full Text:

PDF (Russian)

References


Medvedeva, M. Rethinking the field of automatic prediction of court decisions / M. Medvedeva, M. Wieling, M. Vols // Artificial Intelligence and Law. 2022. Vol. 31. P. 195–212.

Ponkin, I. V. Artificial Intelligence from the Viewpoint of Law / I. V. Ponkin, A. I. Redkina // RUDN Journal of Law. 2018. Vol. 22, No. 1. P. 91–109.

Andreev, V. K. Dynamics of Legal Regulation of the Application of Artificial Intelligence / V. K. Andreev // Journal of Russian Law. 2020. No. 3. P. 58–68.

Neznamov, A. V., Legal Aspects of Implementing the National Strategy for the Development of Artificial Intelligence until 2030 / A. V. Neznamov // Bulletin of the Kutafin University (MSAL). 2019. No. 12. Pp. 82–88.

Zakhartsev, S. I. The Robot Judge in Criminal Proceedings: Good or Bad? / S. I. Zakhartsev, V. P. Salnikov // Legal Science: History and Modernity. 2018. No. 7. P. 176–180.

Gryazeva, O. I. Theoretical and Practical Problems of Using Artificial Intelligence Technologies in Preparing Draft Judicial Acts in Civil Cases / O. I. Gryazeva // Law and State: Theory and Practice. 2025. No. 8. P. 262–266.

Rybalkin, D. A. Using digital technologies in teaching to predict crowd behavior using Big Data and artificial intelligence / D. A. Rybalkin, V. A. Andrianov // Problems of Modern Pedagogical Education. 2026. No. 91-2. Pp. 321-324.

Kazun, A. P. Can Artificial Intelligence Predict Court Decisions? A Systematic Review of International Studies / A. P. Kazun // Monitoring of Public Opinion: Economic and Social Changes. 2024. No. 5. P. 100–122.

Texts of Court Verdicts as a Data Source for Empirical Legal Research in Russia / S. V. Zhuchkova, V. Yu. Devyatnikov, A. P. Kazun [et al.] // Monitoring of Public Opinion: Economic and Social Changes. 2025. No. 2. P. 170–192.

Lisitsin, L. A. Development and Study of a Failure Prediction System in Information Systems Based on Machine Learning Methods / L. A. Lisitsin, A. L. Lisitsin // Proceedings of the Southwest State University. 2026. Vol. 30, No. 2. P. 157–170.

Druzhinin, N. S. Development of the Architecture of a Financial Analytics System Based on the Integration of Machine Learning Methods and Large Language Models / N. S. Druzhinin // Youth and Modern Information Technologies: Proceedings of the XXIII International Scientific and Practical Conference of Students, Postgraduates and Young Scientists, Tomsk, February 18–20, 2026. Tomsk: National Research Tomsk Polytechnic University, 2026. P. 444–449.

Avramenko, V. S. Forecasting Information Security in Automated Systems Based on Machine Learning Methods / V. S. Avramenko, A. S. Orlov // Information Security of Russian Regions (IBRR-2025): Proceedings of the XIV St. Petersburg Interregional Conference, St. Petersburg, October 29–31, 2025. St. Petersburg: SPOISU, 2025. P. 141–142.

Govorova, E. S. Development of a Decision Support System for Forecasting Economic Indicators Based on Machine Learning Methods / E. S. Govorova, A. L. Tkachenko // Digital Modeling of Economy. 2026. Vol. 3, No. 1. P. 113–125.

Levshun, D. S. Architecture of a System for Detecting and Predicting Vulnerabilities of Information Systems Based on Artificial Intelligence Methods / D. S. Levshun // Informatization and Communication. 2024. No. 3. P. 91–98.

Katz, D. M. A general approach for predicting the behavior of the Supreme Court of the United States / D. M. Katz, M. J. Bommarito, J. Blackman // PLOS ONE. 2017. Vol. 12, No. 4. P. 1–18.

Medvedeva, M. Using machine learning to predict decisions of the European Court of Human Rights / M. Medvedeva, M. Vols, M. Wieling // Artificial Intelligence and Law. 2020. Vol. 28. P. 237–266.

BERT: pre-training of deep bidirectional transformers for language understanding / J. Devlin, M.-W. Chang, K. Lee, K. Toutanova // Proceedings of NAACL-HLT 2019. 2019. P. 4171–4186.

LEGAL-BERT: the muppets straight out of law school / I. Chalkidis, M. Fergadiotis, P. Malakasiotis [et al.] // Findings of the Association for Computational Linguistics: EMNLP 2020. 2020. P. 2898–2904.

Lundberg, S. M. A unified approach to interpreting model predictions / S. M. Lundberg, S.-I. Lee // Advances in Neural Information Processing Systems 30. 2017. P. 4765–4774.

Barocas, S. Fairness and machine learning: limitations and opportunities / S. Barocas, M. Hardt, A. Narayanan. – Cambridge (Mass.): MIT Press, 2023. 340 p.


Refbacks

  • There are currently no refbacks.


Abava  Кибербезопасность ИТ-КОНГРЕСС ВМК МГУ 2026 СНЭ

ISSN: 2307-8162