Innovations in machine learning-based artificial intelligence (AI), culminating in the development of large-scale language models, became a watershed moment for AI research. AI and law research follows suit, and the new regulatory framework is being prepared. In this article, we explore the legal background for explainability of large-scale foundational models, as brought about by the European Union AI Act.
This paper investigates the technical potential of developing explainable transformer-based large language models (LLMs) that meet users’ needs and comply with regulations such as the EU AI Act. We implement and evaluate a proof-of-concept explainable LLM-based system. Furthermore, we demonstrate its potential for regulatory compliance and identify technical challenges to be tackled.