[Paper Review] Empirical Comparisons of CNN with Other Learning Algorithms for Text Classification in Legal Document Review
This study empirically compares Convolutional Neural Networks (CNN) with Logistic Regression, Support Vector Machines, and Random Forest for text classification in real-world legal document review. Using four actual eDiscovery datasets with varying document lengths, the authors find that CNN performs well but no single algorithm consistently outperforms others across all datasets and training sample sizes, highlighting context-dependent model selection in legal AI applications.
Research has shown that Convolutional Neural Networks (CNN) can be effectively applied to text classification as part of a predictive coding protocol. That said, most research to date has been conducted on data sets with short documents that do not reflect the variety of documents in real world document reviews. Using data from four actual reviews with documents of varying lengths, we compared CNN with other popular machine learning algorithms for text classification, including Logistic Regression, Support Vector Machine, and Random Forest. For each data set, classification models were trained with different training sample sizes using different learning algorithms. These models were then evaluated using a large randomly sampled test set of documents, and the results were compared using precision and recall curves. Our study demonstrates that CNN performed well, but that there was no single algorithm that performed the best across the combination of data sets and training sample sizes. These results will help advance research into the legal profession's use of machine learning algorithms that maximize performance.
Motivation & Objective
- To evaluate the effectiveness of CNNs in legal document review compared to established machine learning algorithms.
- To assess how model performance varies across real-world eDiscovery datasets with diverse document lengths.
- To determine whether CNNs consistently outperform traditional algorithms like Logistic Regression, SVM, and Random Forest.
- To analyze the impact of training sample size on classification performance across different algorithms.
- To guide practitioners in selecting optimal models for legal text classification based on dataset characteristics.
Proposed method
- The study uses four real-world eDiscovery datasets from actual document review processes, each containing documents of varying lengths.
- Multiple machine learning models—CNN, Logistic Regression, SVM, and Random Forest—are trained on each dataset using different training sample sizes.
- Models are evaluated using large, randomly sampled test sets to ensure robust performance measurement.
- Performance is measured using precision and recall curves to compare trade-offs across algorithms and data sets.
- Hyperparameter tuning is applied to each model to ensure optimal configuration before evaluation.
- The analysis focuses on generalization performance across diverse legal document types and lengths.
Experimental results
Research questions
- RQ1Does CNN outperform traditional machine learning algorithms in classifying legal documents of varying lengths?
- RQ2How does model performance vary with different training sample sizes in real legal document review settings?
- RQ3Is there a single best-performing algorithm across all legal document review datasets and training sizes?
- RQ4How do precision and recall curves differ across CNN and other algorithms in real-world legal text classification?
- RQ5To what extent do document length and data diversity affect model selection in legal AI applications?
Key findings
- CNN achieved strong performance across all four legal document review datasets, demonstrating effectiveness in real-world settings.
- No single algorithm consistently outperformed all others across all datasets and training sample sizes.
- Performance varied significantly depending on the specific dataset and the size of the training sample.
- Logistic Regression and SVM showed competitive results on certain datasets, particularly with smaller training sets.
- Random Forest performed well on some datasets but was less consistent than CNN or Logistic Regression across the board.
- The results indicate that model selection should be data-driven and context-specific rather than relying on a single 'best' algorithm.
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.