Renátó Vági has a total of 8 co-authors. Here are the top co-authors by number of shared publications:


Latest Publications

  • A jogászság egy új korszak hajnalán? - Bevezetés az adatvezérelt jogászi munkavégzés lehetőségeibe és kihívásaiba

    by Renátó Vági

    A jogi technológiákkal foglalkozó szakirodalomban és a szélesebb jogászi közvéleményben is egyetértés van arról, hogy a jogászság egy új technológiai korszak küszöbén áll. E korszakot a számítógépes nyelvészet jogban történő alkalmazása, valamint a mesterséges intelligencia és a Big Data eszközeinek térnyerése határozza meg. A tanulmány bemutatja az ehhez szükséges technológiai változásokat, valamint azt, hogy a nagyméretű adathalmazok és a gépi tanulási megoldások hogyan formálták át az adatvezérelt döntéshozatalt más iparágakban. Végül azt vizsgálja, hogy az ilyen megoldások milyen szerepet tölthetnek be a jogi munkavégzésben, külön kiemelve a Quantitative Legal Prediction jelenségét, tehát a nagy mennyiségű adatokra épülő jogi döntés-előrejelzést, valamint a nagy mennyiségű adatokra épülő, automatizált online vitarendezési megoldásokat.

  • Open Access

    Balancing risk and social good: proactive law as a strategy in AI governance

    by Renátó Vági

    The rapid evolution of artificial intelligence (AI) technologies has transformed numerous sectors, prompting regulators worldwide to establish normative frameworks to ensure the safe, ethical and beneficial deployment of these systems. Over the past two years, various regulatory approaches to the governance of AI have begun to take shape, sparking an ongoing debate. This reveals the limitations of traditional and reactive regulatory approaches in governing evolving technologies, which will fall short in addressing the unique characteristics of AI. However, a shift towards a more promotive direction has become noticeable in recent decades, largely influenced by principles and methodologies resulting from more reflexive public policies, interdisciplinary research, sociotechnical advances and a pragmatism learned from the proactive legal approach endorsed by Nordic legal scholars. This article explores how the proactive law perspective may further enhance AI regulation. It argues that this approach should actively involve stakeholders in regulatory processes to promote collaboration among developers, regulators and the public and ensure that the development and use of AI and other (future) technologies aligns with societal needs and values.


  • Open Access

    From Fact Drafts to Operational Systems: Semantic Search in Legal Decisions Using Fact Drafts

    by Gergely Márk Csányi, Dorina Lakatos, István Üveges, Andrea Megyeri, János Pál Vadász, Dániel Nagy, Renátó Vági

    This research paper presents findings from an investigation in the semantic similarity search task within the legal domain, using a corpus of 1172 Hungarian court decisions. The study establishes the groundwork for an operational semantic similarity search system designed to identify cases with comparable facts using preliminary legal fact drafts. Evaluating such systems often poses significant challenges, given the need for thorough document checks, which can be costly and limit evaluation reusability. To address this, the study employs manually created fact drafts for legal cases, enabling reliable ranking of original cases within retrieved documents and quantitative comparison of various vectorization methods. The study compares twelve different text embedding solutions (the most recent became available just a few weeks before the manuscript was written) identifying Cohere’s embed-multilingual-v3.0, Beijing Academy of Artificial Intelligence’s bge-m3, Jina AI’s jina-embeddings-v3, OpenAI’s text-embedding-3-large, and Microsoft’s multilingual-e5-large models as top performers. To overcome the transformer-based models’ context window limitation, we investigated chunking, striding, and last chunk scaling techniques, with last chunk scaling significantly improving embedding quality. The results suggest that the effectiveness of striding varies based on token count. Notably, employing striding with 16 tokens yielded optimal results, representing 3.125% of the context window size for the best-performing models. Results also suggested that from the models having 8192 token long context window the bge-m3 model is superior compared to jina-embeddings-v3 and text-embedding-3-large models in capturing the relevant parts of a document if the text contains significant amount of noise. The validity of the approach was evaluated and confirmed by legal experts. These insights led to an operational semantic search system for a prominent legal content provider.


  • Open Access

    Increasing access to legal information with unsupervised solutions

    by Renátó Vági, István Üveges, Andrea Megyeri, Anna Fülöp, János Pál Vadász, Dániel Nagy, Gergely Márk Csányi

    Access to justice is a significant area of legal research, especially for Socio-Legal studies. The main research topics of this area are economic or class differences, gender inequalities, or national and ethnic differences in access to justice. However, there is a less discussed aspect of access to justice: the differences between access to legal information and the differences in user groups in terms of comprehending and processing legal information. This is an important topic because there are significant differences among people's abilities to process and understand legal texts, depending on whether we are dealing with a lawyer who is an expert in the given field, a non-expert lawyer, or a citizen with a low or zero (legal) educational level. The paper argues that unsupervised machine learning solutions can help even out these differences. It presents different unsupervised solutions, mainly clustering and topic modelling, which can help to increase access to legal information. Then we present a case study in which we examine these unsupervised tools in the processing of resolutions of the Central Bank in Hungary and anonymized court decisions. The paper argues that these tools can reveal the hidden contextual regularities in unstructured legal texts, facilitating the search for legal texts even for non-legal-experts.

  • Open Access

    How Could Semantic Processing and Other NLP Tools Improve Online Legal Databases?

    by Renátó Vági

    The spread of online databases and the increasingly sophisticated search solutions in the past 10–15 years have opened up many new opportunities for lawyers to find relevant documents. However, it is still a common problem that the various legal databases and legal search engines face an information crisis. Legal database providers use various information extraction solutions, especially named entity recognition (NER), to mitigate this problem. These solutions can improve the relevance of the lists of results. Their limitation, however, is that they can only extract and create searchable metadata entities if the latter have a well-defined location or regularity in the text. Therefore, the next era of search support for legal databases is semantic processing. Semantic processing solutions are fundamentally different from information extraction and NER because they do not only extract and make visible and/or searchable the specific information element contained in the text but allow for the analytical analysis of the text as a whole. In addition, in many cases, legal database developments using machine learning can be a significant burden on a company, as it is not always known what kind of an AI solution is needed, and how the providers could compare the different solutions. Legal database providers need to customize processing their documents and texts in the most optimal way possible, considering all their legal, linguistic, statistical, or other characteristics. This is where text processing pipelines can help. So, the article reviews the two main natural language processing (NLP) solutions which can help legal database providers to increase the value of legal data within legal databases. The article then shows the importance of text-processing pipelines and frameworks in the era of digitized documents and presents the digital-twin-distiller.


  • Open Access

    Can Triplet Loss Be Used for Multi-Label Few-Shot Classification? A Case Study

    by Gergely Márk Csányi, Renátó Vági, Andrea Megyeri, Anna Fülöp, Dániel Nagy, János Pál Vadász, István Üveges

    Few-shot learning is a deep learning subfield that is the focus of research nowadays. This paper addresses the research question of whether a triplet-trained Siamese network, initially designed for multi-class classification, can effectively handle multi-label classification. We conducted a case study to identify any limitations in its application. The experiments were conducted on a dataset containing Hungarian legal decisions of administrative agencies in tax matters belonging to a major legal content provider. We also tested how different Siamese embeddings compare on classifying a previously non-existing label on a binary and a multi-label setting. We found that triplet-trained Siamese networks can be applied to perform classification but with a sampling restriction during training. We also found that the overlap between labels affects the results negatively. The few-shot model, seeing only ten examples for each label, provided competitive results compared to models trained on tens of thousands of court decisions using tf-idf vectorization and logistic regression.


  • Open Access

    Building a Production-Ready Multi-Label Classifier for Legal Documents with Digital-Twin-Distiller

    by Gergely Márk Csányi, Renátó Vági, Dániel Nagy, István Üveges, János Pál Vadász, Andrea Megyeri, Tamás Orosz

    One of the most time-consuming parts of an attorney’s job is finding similar legal cases. Categorization of legal documents by their subject matter can significantly increase the discoverability of digitalized court decisions. This is a multi-label classification problem, where each relatively long text can fit into more than one legal category. The proposed paper shows a solution where this multi-label classification problem is decomposed into more than a hundred binary classification problems. Several approaches have been tested, including different machine-learning and text-augmentation techniques to produce a practically applicable model. The proposed models and the methodologies were encapsulated and deployed as a digital-twin into a production environment. The performance of the created machine learning-based application reaches and could also improve the human-experts performance on this monotonous and labor-intensive task. It could increase the e-discoverability of the documents by about 50%.


  • Open Access

    Evaluating Human versus Machine Learning Performance in a LegalTech Problem

    by Tamás Orosz, Renátó Vági, Gergely Márk Csányi, Dániel Nagy, István Üveges, János Pál Vadász, Andrea Megyeri

    Many machine learning-based document processing applications have been published in recent years. Applying these methodologies can reduce the cost of labor-intensive tasks and induce changes in the company’s structure. The artificial intelligence-based application can replace the application of trainees and free up the time of experts, which can increase innovation inside the company by letting them be involved in tasks with greater added value. However, the development cost of these methodologies can be high, and usually, it is not a straightforward task. This paper presents a survey result, where a machine learning-based legal text labeler competed with multiple people with different legal domain knowledge. The machine learning-based application used binary SVM-based classifiers to resolve the multi-label classification problem. The used methods were encapsulated and deployed as a digital twin into a production environment. The results show that machine learning algorithms can be effectively utilized for monotonous but domain knowledge- and attention-demanding tasks. The results also suggest that embracing the machine learning-based solution can increase discoverability and enrich the value of data. The test confirmed that the accuracy of a machine learning-based system matches up with the long-term accuracy of legal experts, which makes it applicable to automatize the working process.