Unfair TOS: An Automated Approach using Customized BERT
Not on the map. Why?
Abstract (arXiv)
Terms of Service (ToS) form an integral part of any agreement as it defines the legal relationship between a service provider and an end-user. Not only do they establish and delineate reciprocal rights and responsibilities, but they also provide users with information on essential aspects of contracts that pertain to the use of digital spaces. These aspects include a wide range of topics, including limitation of liability, data protection, etc. Users tend to accept the ToS without going through it before using any application or service. Such ignorance puts them in a potentially weaker situation in case any action is required. Existing methodologies for the detection or classification of unfair clauses are however obsolete and show modest performance. In this research paper, we present SOTA(State of The Art) results on unfair clause detection from ToS documents based on unprecedented custom BERT Fine-tuning in conjunction with SVC(Support Vector Classifier). The study shows proficient performance with a macro F1-score of 0.922 at unfair clause detection, and superior performance is also shown in the classification of unfair clauses by each tag. Further, a comparative analysis is performed by answering research questions on the Transformer models utilized. In order to further research and experimentation the code and results are made available on https://github.com/batking24/Unfair-TOS-An-Automated-Approach-based-on-Fine-tuning-BERT-in-conjunction-with-ML.
Key facts. Cited by 3 papers in the map (data through 7 Oct 2026). Builds on 11 of its 26 references that are in the map. First posted on arXiv 20 Jan 2024.
Builds on
11 of 26 references.
References · 11
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
- 2019DistilBERT, a distilled version of BERT: smaller, faster, cheaper and lightercited by 4,243
- 2020DeBERTa: Decoding-enhanced BERT with Disentangled Attentioncited by 2,157
- 2019FinBERT: Financial Sentiment Analysis with Pre-trained Language Modelscited by 378
- 2019Revealing the Dark Secrets of BERTcited by 300
- 2019Multilingual Universal Sentence Encoder for Semantic Retrievalcited by 192
- 2018Polisis: Automated Analysis and Presentation of Privacy Policies Using Deep Learningcited by 50
- 2020ELECTRA: Pre-training Text Encoders as Discriminators Rather Than Generatorscited by 26
- 2022Processing Long Legal Documents with Pre-trained Transformers: Modding LegalBERT and Longformercited by 20
- 2023Revisiting Token Dropping Strategy in Efficient BERT Pretrainingcited by 11
- 2022Attack on Unfair ToS Clause Detection: A Case Study using Universal Adversarial Triggerscited by 2
Built on by
Citing papers per year: 2025: 3.
3 papers.
- 2025Predicting potentially abusive clauses in Chilean terms of services with natural language processingcited by 1
- 2025AUTOLAW: Enhancing Legal Compliance in Large Language Models via Case Law Generation and Jury-Inspired Deliberationcited by 1
- 2025Text to Trust: Evaluating Fine-Tuning and LoRA Trade-offs in Language Models for Unfair Terms of Service Detectioncited by 0
- 2025Text to Trust: Evaluating Fine-Tuning and LoRA Trade-offs in Language Models for Unfair Terms of Service Detection26 Oct 2025
- 2025AUTOLAW: Enhancing Legal Compliance in Large Language Models via Case Law Generation and Jury-Inspired Deliberation20 May 2025
- 2025Predicting potentially abusive clauses in Chilean terms of services with natural language processing2 Feb 2025