[Paper Review] Computer-Assisted Creation of Boolean Search Rules for Text Classification in the Legal Domain
This paper presents CASE, a computer-assisted system that enables legal domain experts to iteratively create explainable Boolean search rules for text classification by leveraging word co-occurrence statistics and interactive feedback. The method achieves performance comparable to machine learning models while offering superior interpretability, compactness, and control, particularly on small datasets with high legal relevance.
In this paper, we present a method of building strong, explainable classifiers in the form of Boolean search rules. We developed an interactive environment called CASE (Computer Assisted Semantic Exploration) which exploits word co-occurrence to guide human annotators in selection of relevant search terms. The system seamlessly facilitates iterative evaluation and improvement of the classification rules. The process enables the human annotators to leverage the benefits of statistical information while incorporating their expert intuition into the creation of such rules. We evaluate classifiers created with our CASE system on 4 datasets, and compare the results to machine learning methods, including SKOPE rules, Random forest, Support Vector Machine, and fastText classifiers. The results drive the discussion on trade-offs between superior compactness, simplicity, and intuitiveness of the Boolean search rules versus the better performance of state-of-the-art machine learning models for text classification.
Motivation & Objective
- To address the challenge of creating accurate, interpretable text classifiers in legal domains with limited annotated data.
- To reduce reliance on complex, black-box machine learning models that lack transparency in legal decision-making contexts.
- To empower legal experts to incorporate domain intuition into rule creation while benefiting from statistical guidance.
- To develop a system that supports iterative, interactive refinement of Boolean search rules with real-time evaluation.
- To evaluate whether human-in-the-loop Boolean rules can achieve competitive performance with state-of-the-art ML models while offering greater explainability.
Proposed method
- The CASE system uses word co-occurrence statistics to guide annotators in selecting relevant terms for Boolean search rules.
- It provides real-time precision and recall feedback during rule construction, enabling iterative improvement.
- Users build rules using logical operators (AND, OR, NOT) based on expert intuition and statistical insights.
- The system supports interactive exploration of term relevance and semantic relationships in the dataset.
- Rules are evaluated continuously, allowing users to refine them based on immediate performance feedback.
- The approach integrates human domain expertise with computational assistance to enhance rule quality and generalization.
Experimental results
Research questions
- RQ1Can a computer-assisted system help legal experts create high-precision Boolean search rules with minimal annotated data?
- RQ2How does the performance of expert-created Boolean rules compare to state-of-the-art machine learning models in legal text classification?
- RQ3To what extent do Boolean rules created with CASE offer better explainability and interpretability than black-box ML models?
- RQ4Can the integration of statistical co-occurrence data improve the quality and relevance of manually crafted legal search rules?
- RQ5In what ways does human intuition, guided by computational feedback, lead to more generalizable and legally meaningful classification rules?
Key findings
- The Boolean search rules created with CASE achieved performance that was not much inferior to machine learning models such as Random Forest, SVM, and fastText on four legal text classification datasets.
- CASE rules demonstrated higher precision and recall on key legal terms such as 'prohibit' and 'definition', indicating stronger legal relevance.
- The rules were more compact and easier to explain than complex ML models, offering superior interpretability for legal professionals.
- The system enabled users to detect classification errors during rule development, such as a mislabeled term in the trade secrets dataset.
- Users maintained full control over rule construction, allowing them to prioritize legally meaningful terms and avoid overfitting to dataset-specific noise.
- The results suggest that human-in-the-loop Boolean rules can be a viable alternative to ML models in low-data, high-explainability legal use cases.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.