Leveraging Natural Language Processing for a Centralized Digital Hub to Automate Traffic Law Enforcement and Fine Management in Sri Lanka

Show simple item record

dc.contributor.author Bandara, P.R.P.D.
dc.contributor.author Ann Sinthusha, A.V.
dc.contributor.author Yasotha, R.
dc.date.accessioned 2026-03-07T07:45:35Z
dc.date.available 2026-03-07T07:45:35Z
dc.date.issued 2025
dc.identifier.uri http://drr.vau.ac.lk/handle/123456789/1948
dc.description.abstract This paper presents a legal NLP system that maps free-text traffic violation narratives to the applicable offences and penalties under Sri Lanka’s Motor Traffic Act. We digitize the principal Act and its amendments into a structured corpus and evaluate a progression of retrieval and reasoning methods—TF IDF, BM25, SBERT (with a lexical–semantic hybrid), a compact local TinyLLM, and an OpenAI LLM inte grated with Retrieval-Augmented Generation (RAG). A staged methodology first validates the pipeline on 42 on-the-spot fine offences and then scales to the full consolidated Act. Using 300 expert-validated scenarios (multi-offence, up to three penalties per case), we require exact section/subsection/paragraph/subparagraph matches for correctness. The implemented system outputs, for each detected offence, the exact Motor Traffic Act citation and the corresponding prescribed penalty/fine as defined in the Act. The OpenAI RAG ap proach achieves 94.00% overall accuracy and 100.00% partial accuracy, substantially outperforming TinyLLM (68.33% overall), SBERT (33.67%), BM25 (26.67%), and TF-IDF (0.67%). These results indicate that dense retrieval coupled with grounded generation handles paraphrase, multi-offence narratives, and subtle context better than sparse baselines. We enforce ethical safeguards: evidence-linked outputs, confidence scoring, and abstention under uncertainty to support transparent, auditable use. We discuss validity threats (synthetic narratives, label robustness), guardrails (citation-linked outputs, abstention), and deployment aspects (tem poral indexing, bilingual support), showing that legal RAG can deliver deployment-grade accuracy for traffic enforcement in a low-resource jurisdiction. en_US
dc.language.iso en en_US
dc.publisher Faculty of Applied Science University of Vavuniya Sri Lanka en_US
dc.subject Information retrieval en_US
dc.subject Legal NLP en_US
dc.subject Retrieval augmented generation en_US
dc.subject Sri Lanka en_US
dc.subject Traffic law en_US
dc.title Leveraging Natural Language Processing for a Centralized Digital Hub to Automate Traffic Law Enforcement and Fine Management in Sri Lanka en_US
dc.type Conference abstract en_US
dc.identifier.proceedings 1st International Conference on Applied Sciences- 2025 en_US


Files in this item

This item appears in the following Collection(s)

  • ICAS - 2025 [59]
    International Conference on Applied Sciences - 2025

Show simple item record

Search


Browse

My Account