Text to Trust: Evaluating Fine-Tuning and LoRA Trade-offs in Language Models for Unfair Terms of Service Detection
Not on the map. Why?
Abstract (arXiv)
Large Language Models (LLMs) have transformed text understanding, yet their adaptation to specialized legal domains remains constrained by the cost of full fine-tuning. This study provides a systematic evaluation of fine tuning, parameter efficient adaptation (LoRA, QLoRA), and zero-shot prompting strategies for unfair clause detection in Terms of Service (ToS) documents, a key application in legal NLP. We finetune BERT and DistilBERT, apply 4-bit Low-Rank Adaptation (LoRA) to models such as TinyLlama, LLaMA 3B/7B, and SaulLM, and evaluate GPT-4o and O-versions in zero-shot settings. Experiments on the CLAUDETTE-ToS benchmark and the Multilingual Scraper Corpus show that full fine-tuning achieves the strongest precision recall balance, while LoRA-based models provide competitive recall with up to 3x lower memory cost. These findings highlight practical design trade-offs for efficient and domain-adapted LLMs, contributing open baselines for fine-tuning research in legal text processing.
Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 5 of its 11 references that are in the map. First posted on arXiv 26 Oct 2025.
Builds on
5 of 11 references.
References · 5
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
- 2023QLoRA: Efficient Finetuning of Quantized LLMscited by 3,418
- 2024SaulLM-7B: A pioneering Large Language Model for Lawcited by 142
- 2018CLAUDETTE: an Automated Detector of Potentially Unfair Clauses in Online Terms of Servicecited by 73
- 2024Unfair TOS: An Automated Approach using Customized BERTcited by 3
Built on by
Not cited yet.
Similar, not cited
Close in wording, no citation either way
- 2026Auditing Training Data in Domain-adapted LLMs: LoRA-MINT
- 2026Retrieval-Augmented Detection of Potentially Abusive Clauses in Chilean Terms of Service
- 2025Evaluating the Limits of Large Language Models in Multilingual Legal Reasoning
- 2025Aplicacc~ao de Large Language Models na An'alise e S'intese de Documentos Jur'idicos: Uma Revis~ao de Literatura
- 2025LegalEval-Q: A New Benchmark for The Quality Evaluation of LLM-Generated Legal Text
- 2023One Law, Many Languages: Benchmarking Multilingual Legal Reasoning for Judicial Support
- 2026Multi-Legal-Bench: Evaluating LLMs on Legal Reasoning Across Jurisdictions, Languages, and Legal Traditions
- 2026Enhancing Legal LLMs through Metadata-Enriched RAG Pipelines and Direct Preference Optimization