Multi-agent architectures based on large-scale low-generation language models for solving complex legal problems: A comparative study

Cover Page

Cite item

Full Text

Open Access Open Access
Restricted Access Access granted
Restricted Access Subscription or Fee Access

Abstract

This article presents a comparative analysis of five multi-agent architectures based on large, low-generation language models for solving complex legal problems. The study was conducted on a specially prepared dataset of 25 questions of five difficulty levels on Russian family and civil law. Architectures of varying complexity were tested: from a simple lawyer-agent to extended ensembles with a dispatcher and a "jury" system. The main evaluation metrics were the average response quality score, token consumption, economic cost, and efficiency coefficient. The results revealed significant differences between the architectures: Option 5 demonstrated the best quality (6.44 points), but Option 1 proved the most effective with a coefficient of 49.46. Complex architectures required 10-15 times more tokens with an insignificant increase in quality. Analysis by complexity levels revealed that multi-agent systems are most effective for problematic situations and conflicts of laws, while simpler architectures are sufficient for typical tasks. The study provides scientifically based recommendations for selecting optimal architectural solutions for legal advisory systems, balancing quality and cost-effectiveness.

Full Text

Restricted Access

About the authors

Roman V. Dushkin

Scientific Research Nuclear University of MEPhI

Author for correspondence.
Email: drv@aia.expert
SPIN-code: 1371-0337

senior lecturer at Department 22 “Cybernetics”

Russian Federation, Moscow

Vladimir N. Podoprigora

Plekhanov Russian University of Economics

Email: Podoprigora.VN@rea.ru
ORCID iD: 0000-0001-6485-8135
SPIN-code: 9587-1028

Cand. Sci. (Econ.), head of the laboratory

Russian Federation, Moscow

Alexey A. Kuzmin

Ecosystem Digital Solutions LLC

Email: a.kuzmin@edisai.tech
ORCID iD: 0009-0008-7264-2455

General Director

Russian Federation, Moscow

Kirill R. Dushkin

LLC "A-Ya expert"

Email: dkr@aia.expert

analyst

Russian Federation, Moscow

References

  1. Guo T. Large language model based multi-agents: A survey of progress and challenges / T. Guo, X. Chen, Y. Wang, R. Chang, S. Pei // arXiv preprint arXiv:2402.01680. URL: https://arxiv.org/abs/2402.01680 (date accessed: 23.06.2025).
  2. Dushkin R.V., Andronov M.G. Hybrid design of artificial intelligent systems. Cybernetics and Programming. 2019. No. 4. Pp. 51–58. (In Rus.). doi: 10.25136/2644-5522.2019.4.29809. EDN: OKAMBF.
  3. Binyamin S.S. Multi-agent systems for resource allocation and scheduling in a smart grid / S. S. Binyamin, S. Ben Slama // Sensors. 2022. URL: https://www.mdpi.com/1424-8220/22/21/8099 (date accessed: 23.06.2025).

Supplementary files

Supplementary Files
Action
1. JATS XML
2. Fig. 1. Average ratings of MAS architectures.

Download (82KB)
3. Fig. 2. Token consumption by various MAC architectures.

Download (93KB)
4. Fig. 3. Efficiency coefficient of WT architectures.

Download (82KB)

Copyright (c) 2025 Yur-VAK

Creative Commons License
This work is licensed under a Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License.