Rule-based reasoning systems inevitably encounter situations where their conclusions conflict with the intended interpretation of domain experts. In legal reasoning, such conflicts arise when the literal application of statutory rules produces counterintuitive outcomes in exceptional cases. In computational argumentation, learned Assumption-Based Argumentation (ABA) frameworks may accept undesirable claims or reject desirable ones. Although legal debugging and contestable ABA learning were developed independently to address these problems, both aim to repair existing rule-based systems while preserving as much validated knowledge as possible. This paper presents a functional comparison between these two approaches, investigates their formal correspondences, and demonstrates the correspondences using an example based on the Japanese Civil Code. The comparison identifies complementary strengths of both approaches and suggests new opportunities for integrating legal debugging with contestable argumentation learning to support human-centered and explainable repair of rule-based legal reasoning systems.
Fixing What Goes Wrong: A Comparison between Legal Debugging and Contestable Argumentation Learning
De Angelis Emanuele;Proietti Maurizio;
2026
Abstract
Rule-based reasoning systems inevitably encounter situations where their conclusions conflict with the intended interpretation of domain experts. In legal reasoning, such conflicts arise when the literal application of statutory rules produces counterintuitive outcomes in exceptional cases. In computational argumentation, learned Assumption-Based Argumentation (ABA) frameworks may accept undesirable claims or reject desirable ones. Although legal debugging and contestable ABA learning were developed independently to address these problems, both aim to repair existing rule-based systems while preserving as much validated knowledge as possible. This paper presents a functional comparison between these two approaches, investigates their formal correspondences, and demonstrates the correspondences using an example based on the Japanese Civil Code. The comparison identifies complementary strengths of both approaches and suggests new opportunities for integrating legal debugging with contestable argumentation learning to support human-centered and explainable repair of rule-based legal reasoning systems.I documenti in IRIS sono protetti da copyright e tutti i diritti sono riservati, salvo diversa indicazione.


