An Explainable Method for Automatic Extraction of Natural Language Access Control Policy Key Components
Access control schemes and models are essential tools for system administrators to protect the integrity of the information. However, they are frequently articulated in natural language, which is a powerful form that guarantees flexibility and expressiveness; however, their inherent ambiguity and unstructured nature pose significant challenges for automated enforcement and rigorous analysis. In this study, we evaluated several transformer-based models for the automated extraction of key components of Natural Language Access Control Policy (NLACP). To this end, we relied on a labeled dataset comprising software requirements specifications from different sectors, such as healthcare and conference management systems. We then conducted a fine-tuning phase, where the BERT model demonstrated optimal performance in extracting entities within a 3-entity paradigm, achieving an F-Measure value of 0.89. ModernBERT proved to be the most promising model in the more complex 5-entity extraction task, with a maximum F-Measure score of 0.84. Furthermore, we introduce an explainability step using layer-wise integrated gradients to gain insight into the decision-making process of these deep models, ensuring that the extracted policy components are both accurate and interpretable.
Authors
- Antonella Santone (ORCID: https://orcid.org/0000-0002-2634-4456)
- Francesco Mercaldo (ORCID: https://orcid.org/0000-0002-9425-1657)
- Fabio Martinelli (ORCID: https://orcid.org/0000-0002-6721-9395)
- Luca Petrillo (ORCID: https://orcid.org/0009-0000-3616-9244)
Institutions
- IMT School for Advanced Studies Lucca (IT)
- University of Molise (IT)
- Institute for High Performance Computing and Networking (IT)
- Institute of Informatics and Telematics (IT)
- National Research Council (IT)
Publication Details
- Journal
- Applied Sciences
- Published
- 2025-11-07
- DOI
- https://doi.org/10.3390/app152211854
- Citations
- 1
- Primary Topic
- Access Control and Trust
- Type
- article
- Field-Weighted Citation Impact
- 4.20
Funders
- Istituto Nazionale per l'Assicurazione Contro Gli Infortuni sul Lavoro