journal article·2026Open access

Effective Token Masking Augmentation Using Term-Document Frequency for Language Model-Based Legal Case Classification

Ye-Chan Park, Mohd Asyraf Zulkifley, Bong-Soo Sohn, Jaesung Lee

Computers, Materials & Continua· Volume 87· Issue 1

Abstract

Legal case classification involves the categorization of legal documents into predefined categories, which facilitates legal information retrieval and case management. However, real-world legal datasets often suffer from class imbalances due to the uneven distribution of case types across legal domains. This leads to biased model performance, in the form of high accuracy for overrepresented categories and underperformance for minority classes. To address this issue, in this study, we propose a data augmentation method that masks unimportant terms within a document selectively while preserving key terms from the perspective of the legal domain. This approach enhances data diversity and improves the generalization capability of conventional models. Our experiments demonstrate consistent improvements achieved by the proposed augmentation strategy in terms of accuracy and F1 score across all models, validating the effectiveness of the proposed method in legal case classification.
Source: openalex_inverted_index · Quality: baseline

Research context

OpenAlex topics: Artificial Intelligence in Law · Text and Document Classification Technologies · Topic Modeling

SciVX discovery tags are terminology-based. OpenAlex topics are source-provided classifications.

References

Reference metadata was not supplied for this record.