Exploring Possibilities of AI-Powered Legal Assistance in Bangladesh through Large Language Modeling

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Wasi, Azmine Toushik, Faisal, Wahid, Islam, Mst Rafia, Bappy, Mahathir Mohammad
Format: Preprint
Published: 2024
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866929554457624576
author Wasi, Azmine Toushik
Faisal, Wahid
Islam, Mst Rafia
Bappy, Mahathir Mohammad
author_facet Wasi, Azmine Toushik
Faisal, Wahid
Islam, Mst Rafia
Bappy, Mahathir Mohammad
contents Purpose: Bangladesh's legal system struggles with major challenges like delays, complexity, high costs, and millions of unresolved cases, which deter many from pursuing legal action due to lack of knowledge or financial constraints. This research seeks to develop a specialized Large Language Model (LLM) to assist in the Bangladeshi legal system. Methods: We created UKIL-DB-EN, an English corpus of Bangladeshi legal documents, by collecting and scraping data on various legal acts. We fine-tuned the GPT-2 model on this dataset to develop GPT2-UKIL-EN, an LLM focused on providing legal assistance in English. Results: The model was rigorously evaluated using semantic assessments, including case studies supported by expert opinions. The evaluation provided promising results, demonstrating the potential for the model to assist in legal matters within Bangladesh. Conclusion: Our work represents the first structured effort toward building an AI-based legal assistant for Bangladesh. While the results are encouraging, further refinements are necessary to improve the model's accuracy, credibility, and safety. This is a significant step toward creating a legal AI capable of serving the needs of a population of 180 million.
format Preprint
id arxiv_https___arxiv_org_abs_2410_17210
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Exploring Possibilities of AI-Powered Legal Assistance in Bangladesh through Large Language Modeling
Wasi, Azmine Toushik
Faisal, Wahid
Islam, Mst Rafia
Bappy, Mahathir Mohammad
Computation and Language
Artificial Intelligence
Computers and Society
Purpose: Bangladesh's legal system struggles with major challenges like delays, complexity, high costs, and millions of unresolved cases, which deter many from pursuing legal action due to lack of knowledge or financial constraints. This research seeks to develop a specialized Large Language Model (LLM) to assist in the Bangladeshi legal system. Methods: We created UKIL-DB-EN, an English corpus of Bangladeshi legal documents, by collecting and scraping data on various legal acts. We fine-tuned the GPT-2 model on this dataset to develop GPT2-UKIL-EN, an LLM focused on providing legal assistance in English. Results: The model was rigorously evaluated using semantic assessments, including case studies supported by expert opinions. The evaluation provided promising results, demonstrating the potential for the model to assist in legal matters within Bangladesh. Conclusion: Our work represents the first structured effort toward building an AI-based legal assistant for Bangladesh. While the results are encouraging, further refinements are necessary to improve the model's accuracy, credibility, and safety. This is a significant step toward creating a legal AI capable of serving the needs of a population of 180 million.
title Exploring Possibilities of AI-Powered Legal Assistance in Bangladesh through Large Language Modeling
topic Computation and Language
Artificial Intelligence
Computers and Society
url https://arxiv.org/abs/2410.17210