Regression applied to legal judgments to predict compensation for immaterial damage
The DOI matches its Crossref record; 10 of the 10 references it cites were found in a registry or an index.
Abstract
Immaterial damage compensation is a controversial matter in the judicial practice of several law systems. Due to a lack of criteria for its assessment, the judge is free to establish the value based on his/her conviction. Our research motivation is that knowing the estimated amount of immaterial damage compensation at the initial stage of a lawsuit can encourage an agreement between the parties. We thus investigate text regression techniques to predict the compensation value from legal judgments in which consumers had problems with airlines and claim for immaterial damage. We start from a simple pipeline and create others by adding some natural language processing (NLP) and machine learning (ML) techniques, which we call adjustments. The adjustments include N-Grams Extraction, Feature Selection, Overfitting Avoidance, Cross-Validation and Outliers Removal. An special adjustment, Addition of Attributes Extracted by the Legal Expert (AELE), is proposed as a complementary input to the case text. We evaluate the impact of adding these adjustments in the pipeline in terms of prediction quality and execution time. N-Grams Extraction and Addition of AELE have the biggest impact on the prediction quality. In terms of execution time, Feature Selection and Overfitting Avoidance have significant importance. Moreover, we notice the existence of pipelines with subsets of adjustments that achieved better prediction quality than a pipeline with them all. The result is promising since the prediction error of the best pipeline is acceptable in the legal environment. Consequently, the predictions will likely be helpful in a legal environment.
Overview
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Integrity signals
Registry
Cites
Statistics
Verification
Claims the paper makes
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Self-check
Percentages, sums and reported differences re-computed from the paper’s own numbers.
The self-check needs the paper’s full text.
Citations
Cites
Breiman, L. (2001) · Machine Learning · doi:10.1023/a:1010933404324 · Cited by 133,538
Adam: A Method for Stochastic Optimization
Kingma, D. P., & Ba, J. (2014) · arXiv · doi:10.48550/arxiv.1412.6980 · Cited by 98,946
BERT: Pre-training of Deep Bidirectional Transformers for Language Understanding
Devlin, J., Chang, M.-W., Lee, K., & Toutanova, K. (2018) · arXiv · doi:10.48550/arxiv.1810.04805 · Cited by 73,173
BERT: Pre-training of Deep Bidirectional Transformers for Language Understanding
Devlin, J., Chang, M.-W., Lee, K., & Toutanova, K. (2019) · Proceedings of the 2019 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, Volume 1 (Long and Short Papers) · doi:10.18653/v1/n19-1423 · Cited by 54,325
Language Models are Few-Shot Learners
Brown, T. B., Mann, B., Ryder, N., Subbiah, M., Kaplan, J., Dhariwal, P., Neelakantan, A., Shyam, P., Sastry, G., Askell, A., et al. (2020) · arXiv · doi:10.48550/arxiv.2005.14165 · Cited by 23,372
Deep Contextualized Word Representations
Peters, M., Neumann, M., Iyyer, M., Gardner, M., Clark, C., Lee, K., & Zettlemoyer, L. (2018) · Proceedings of the 2018 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, Volume 1 (Long Papers) · doi:10.18653/v1/n18-1202 · Cited by 11,983
Chai, T., & Draxler, R. R. (2014) · Geoscientific Model Development · doi:10.5194/gmd-7-1247-2014 · Cited by 8,761
Review of deep learning: concepts, CNN architectures, challenges, applications, future directions
Alzubaidi, L., Zhang, J., Humaidi, A. J., Al-Dujaili, A., Duan, Y., Al-Shamma, O., Santamaría, J., Fadhel, M. A., Al-Amidie, M., & Farhan, L. (2021) · Journal of Big Data · doi:10.1186/s40537-021-00444-8 · Cited by 7,906
LEGAL-BERT: The Muppets straight out of Law School
Chalkidis, I., Fergadiotis, M., Malakasiotis, P., Aletras, N., & Androutsopoulos, I. (2020) · Findings of the Association for Computational Linguistics: EMNLP 2020 · doi:10.18653/v1/2020.findings-emnlp.261 · Cited by 994
Overfitting in linear feature extraction for classification of high-dimensional image data
Liu, R., & Gillies, D. F. (2016) · Pattern Recognition · doi:10.1016/j.patcog.2015.11.015 · Cited by 123
Research works printed but not linked: 51
- Aggarwal, 2018, Machine learning for Tngext, 1, 10.1007/978-3-319-73531-3_1 · DOI
- Aggarwal, 2012, Mining text data, 9781461432, 10.1007/978-1-4614-3223-4 · DOI · Paper page
- Baeza-Yates, 1999, Modern information retrieval
- Benjamim, 2015, O transporte aéreo e o código de defesa do consumidor, Revista de Direito do Consumidor, 100, 23
- Blei, 2003, Latent dirichlet allocation, Journal of Machine Learning Research, 3, 993, 10.1162/jmlr.2003.3.4-5.993 · DOI · Paper page
- Bojanowski, 2016, Enriching word vectors with subword information, Transactions of the Association for Computational Linguistics, 5, 135, 10.1162/tacl_a_00051 · DOI · Paper page
- Boselina, 2019, Responsabilidade Civil
- Breiman, 1996, Bagging predictors, Machine Learning, 24, 123, 10.1007/BF00058655 · DOI · Paper page
- Breiman, 2017, Classification and regression trees, 10.1201/9781315139470 · DOI · Paper page
- Chandrashekar, 2014, A survey on feature selection methods, Computers and Electrical Engineering, 40, 16, 10.1016/j.compeleceng.2013.11.024 · DOI · Paper page
- Chen, 2016, XGBoost, 13–17-August, 785, 10.1145/2939672.2939785 · DOI · Paper page
- CNJ, 2020, Justiça em Números 2020
- Cover, 2005, Elements of information theory, 10.1002/047174882X · DOI · Paper page
- Dal Pont, 2020, Impact of text specificity and size on word embeddings performance: an empirical evaluation in brazilian legal domain, 12319, 521
- Devore, 2011, Probability and statistics for engineering and the sciences
- Dhanani, 2022, Effective and scalable legal judgment recommendation using pre-learned word embedding, Complex & Intelligent Systems, 8, 3199, 10.1007/s40747-022-00673-1 · doi:10.1007/s40747-022-00673-1
- Diniz, 2020, Proteção jurídica da existencialidade, Revista Eletrônica Direito e Sociedade, 8, 181, 10.18316/redes.v8i2.6885 · doi:10.18316/redes.v8i2.6885
- Draper, 1998, Applied regression analysis. Wiley series in probability and mathematical statistics, 10.1002/9781118625590 · DOI · Paper page
- Drucker, 1997, Support vector regression machines, Advances in Neural Information Processing Systems, 1, 155
- Freeman, 1995, Outliers in statistical data, The Journal of the Operational Research Society, 46, 1034, 10.1057/jors.1995.142 · DOI · Paper page
- Friedman, 2000, Greedy function approximation: a gradient boosting machine, Annals of Statistics, 29, 1189, 10.1214/aos/1013203451 · DOI · Paper page
- García, 2015, Data preprocessing in data mining, 10.1007/978-3-319-10247-4 · DOI · Paper page
- Gonçalves, 2020, Responsabilidade civil
- Hastie, 2009, The elements of statistical learning, The Mathematical Intelligencer, 27, 83
- Hawkins, 2004, The problem of overfitting, Journal of Chemical Information and Computer Sciences, 44, 1, 10.1021/ci0342472 · DOI · Paper page
- Hodge, 2004, A survey of outlier detection methodologies, Artificial Intelligence Review, 22, 85, 10.1023/B:AIRE.0000045502.10941.a9 · doi:10.1023/b:aire.0000045502.10941.a9 · Paper page
- Hoerl, 1970, Ridge regression: applications to nonorthogonal problems, Technometrics, 12, 69, 10.1080/00401706.1970.10488635 · DOI · Paper page
- Jurafsky, 2019, Speech and language processing: an introduction to natural language processing, computational linguistics, and speech recognition
- Karystinos, 2000, On overfitting, generalization, and randomly expanded training sets, IEEE Transactions on Neural Networks, 11, 1050, 10.1109/72.870038 · DOI · Paper page
- Kherwa, 2017, Latent semantic analysis: an approach to understand semantic of text, 10.1109/CTCEEC.2017.8455018 · doi:10.1109/ctceec.2017.8455018
- Kotu, 2019, Data science: concepts and practice
- Kowsari, 2019, Text classification algorithms: a survey, Information (Switzerland), 10, 150, 10.3390/info10040150 · DOI · Paper page
- Kuhn, 2013, Applied predictive modeling, 10.1007/978-1-4614-6849-3 · DOI · Paper page
- Lee, 1999, Cleansing data for mining and warehousing, 751
- Martino, 2021, Prilj: an efficient two-step method based on embedding and clustering for the identification of regularities in legal case judgments, Artificial Intelligence and Law, 30, 359, 10.1007/s10506-021-09297-1 · DOI
- Melo, 2012, Dano Moral nas Relações de Consumo
- Mendes-Moreira, 2012, Ensemble approaches for regression, ACM Computing Surveys, 45, 1, 10.1145/2379776.2379786 · DOI · Paper page
- Miao, 2016, A survey on feature selection, Procedia Computer Science, 91, 919, 10.1016/j.procs.2016.07.111 · DOI · Paper page
- Ngo-Ye, 2014, The influence of reviewer engagement characteristics on online review helpfulness: a text regression model, Decision Support Systems, 61, 47, 10.1016/j.dss.2014.01.011 · DOI · Paper page
- Pedregosa, 2012, Scikit-learn: machine learning in python, Journal of Machine Learning Research, 12, 2825
- Peixoto, 2019, Inteligência Artificial e Direito, 1
- Pittaras, 2020, Text classification with semantically enriched word embeddings, Natural Language Engineering, 27, 1, 10.1017/S1351324920000170 · DOI
- Sabo, 2021, Clustering of Brazilian legal judgments about failures in air transport service: an evaluation of different approaches, Artificial Intelligence and Law, 30, 1, 10.1007/s10506-021-09287-3 · DOI
- Sadiku, 2020, Immaterial damage and some types of its compensation, Prizren Social Science Journal, 4, 50, 10.32936/pssj.v4i1.142 · doi:10.32936/pssj.v4i1.142
- Schapire, 1999, A brief introduction to boosting, IJCAI International Joint Conference on Artificial Intelligence, 2, 1401
- Serras, 2022, verbert: automating brazilian case law document multi-label categorization using BERT, CoRR, 10.48550/arXiv.2203.06224 · arXiv · doi:10.48550/arxiv.2203.06224
- Souza, 2020, Bertimbau: pretrained bert models for brazilian portuguese, 403, 10.1007/978-3-030-61377-8_28 · DOI · Paper page
- Tibshirani, 1996, Regression shrinkage and selection via the lasso, Journal of the Royal Statistical Society: Series B (Methodological), 58, 267, 10.1111/j.2517-6161.1996.tb02080.x · DOI · Paper page
- Xu, 2020, Utilizing the platform economy effect through ewom: does the platform matter?, International Journal of Production Economics, 227, 107663, 10.1016/j.ijpe.2020.107663 · DOI
- Yeung, 2019, Effects of inserting domain vocabulary and fine-tuning bert for German legal language. MA thesis
- Zou, 2005, Addendum: regularization and variable selection via the elastic net, Journal of the Royal Statistical Society: Series B (Statistical Methodology), 67, 768, 10.1111/j.1467-9868.2005.00527.x · DOI · Paper page
Metadata
- Authors
- Dal Pont, T. R., Sabo, I. C., Hübner, J. F., & Rover, A. J.
- Venue
- PeerJ Computer Science
- Publisher
- PeerJ
- Published
- 2023-03-23
- Volume
- 9
- Pages
- e1225
- ISSN
- 2376-5992
- Cited by
- 2
- References
- 10
- Language
- en
- Funders
- CNPq
- CAPES
About these checks
Registry, retraction, Cites and statistics results are computed, not judged, with one exception: a printed reference that no index lists is read once by a model before it counts as a citation error. Claims are extracted by a model and kept only when their quote appears verbatim in the text; each cited source is then checked, with a model’s help, for whether it says what the claim relies on. Those verdicts can be wrong — read the claim’s quote and the cited source before relying on one.
Statistics and arithmetic are recomputed, not judged.
Confidence bands are shown only for fields calibrated on our annotated test set. None is calibrated yet, so no band is shown.
What counts as a claim ›How we measure confidence ›How we check this ›
Are you an author, or do you see a problem with this page? Request a review
Data sources
Bibliographic data: Semantic Scholar, OpenAlex, Crossref.
Contains information from the Semantic Scholar Academic Graph Datasets, made available under the ODC Attribution License (ODC-BY 1.0).
Semantic Scholar’s data is described in: Kinney, R., et al. (2023). The Semantic Scholar Open Data Platform. arXiv:2301.10140.