Publications

Further publications:

Markus Reuter, Tobias Lingenberg, Ruta Liepina, Francesca Lagioia, Marco Lippi, Giovanni Sartor, Andrea Passerini, and Burcu Sayin. 2025. Towards Reliable Retrieval in RAG Systems for Large Legal Datasets. In Proceedings of the Natural Legal Language Processing Workshop 2025, pages 17–30, Suzhou, China. Association for Computational Linguistics. [conference proceedings]. Brief description: The paper addressed the reliability of Retrieval-Augmented Generation (RAG) systems in the legal domain, highlighting the challenges associated with the retrieval step in large and structurally similar document collections. It identified and quantified a critical failure mode, termed Document-Level Retrieval Mismatch (DRM), in which information was retrieved from incorrect source documents. To mitigate this issue, the authors proposed a technique called Summary-Augmented Chunking (SAC), which enriched text chunks with document-level summaries to preserve global context. The experimental evaluation demonstrated that this approach significantly reduced retrieval errors and improved precision and recall, thereby enhancing the overall reliability of RAG systems for legal applications.

 

Marco Panarelli, Andrea Galassi, Francesca Lagioia, Rūta Liepiņa, Marco Lippi, Przemysław Pałka, and Giovanni Sartor. 2026. Is It Worth Using LLMs for Unfair Clause Detection in Terms of Service? In Proceedings of the Twentieth International Conference on Artificial Intelligence and Law (ICAIL '25). Association for Computing Machinery, New York, NY, USA, 139–149. [conference proceedings]. Brief description: The paper examined the use of Large Language Models for the detection of unfair clauses in Terms of Service, a task of significant relevance for consumer protection. It compared different prompting strategies for LLMs with traditional fine-tuned BERT-based models. Through an extensive experimental evaluation, the study investigated whether LLMs provided advantages over established approaches in this domain-specific task. The results contributed to assessing the effectiveness and practical value of LLMs for automated unfair clause detection.

 

Liepiņa, R., Lagioia, F., Lippi, M., Pałka, P., Micklitz, H. W., & Sartor, G. (2025). Automating legal tasks: LLMs, legal documents, and the AI Act. Brief description: The chapter examined the impact of the shift from predictive to generative AI on the legal domain, with particular focus on the use of Large Language Models. It analyzed the opportunities and challenges associated with integrating LLMs into legal research and practice, with specific reference to the CLAUDETTE system and its implications for consumer empowerment and privacy protection. The study also explored emerging legal issues in light of the AI Act and related regulatory frameworks. It emphasized the importance of understanding the capabilities and limitations of LLMs in comparison with traditional approaches for legal applications.

 

Pałka, P., Lippi, M., Lagioia, F., Liepiņa, R., & Sartor, G. (2023). No more trade-offs. GPT and fully informative privacy policies. arXiv preprint arXiv:2402.00013: The paper reports the results of an experiment aimed at testing to what extent ChatGPT 3.5 and 4 is able to answer questions regarding privacy policies designed in the new format that we propose. In a world of human-only interpreters, there was a trade-off between comprehensiveness and comprehensibility of privacy policies, leading to the actual policies not containing enough information for users to learn anything meaningful. Having shown that GPT performs relatively well with the new format, we provide experimental evidence supporting our policy suggestion, namely that the law should require fully comprehensive privacy policies, even if this means they become less concise.

G. Resta, Health Data in Europe. At the crossroads of Data Protection and Data Sharing, in Anders-Catanzariti-Incardona-Resta (eds.), Data privacy, data property and data sharing, Routledge, 2025, 211-224: an analysis of the Common European Health Data Space Regulation, also with regard to wellness apps and secondary uses of health data sharing;


G. Resta, “Health data in Europe: from data protection to data sharing” (Paper presented at the conference “AI and health: regulatory challenges in Europe and Brazil”, Roma Tre University, 13-2-2025)


G. Resta, Comment to Art.2, c.4, in A. Mantelero-G. Resta-G. Riccio, Intelligenza Artificiale. Commentario, Wolters-Kluwer, 2025: an analysis of the territorial and substantial scope of application of the AI Act


G. Resta – G. Riccio, Il disegno di legge Italiano sull’intelligenza artificiale, in A. Mantelero-G. Resta-G. Riccio, Intelligenza Artificiale. Commentario, Wolters-Kluwer, 2025: an analysis of the Italian law of artificial intelligence;

 

G. Resta, “The Human Person and Data: Beyond the Individualistic Approach”, in H.-W. Micklitz – G. Vettori (eds.), London: Bloomsbury, 2025, 319-334;

 

G. Resta, “Autonomous Intelligent Systems: From Illusion of Control to Inescapable Delusion” (con R. Torlone – S. Grumbach), in ArXiv, 2024; 

 

G. Resta, “L’ambito territoriale di applicazione del Regolamento Europeo sull’Intelligenza Artificiale: note critiche”, in Dir. Inf., 2024, 731-744.