paper-with-me

홈 › Papers

LegalBench-BR: A Benchmark for Evaluating Large Language Models on Brazilian Legal Decision Classification

2026-04-20 · Pedro Barbosa de Carvalho Neto arxiv

We introduce LegalBench-BR, the first public benchmark for evaluating language models on Brazilian legal text classification. The dataset comprises 3,105 appellate proceedings from the Santa Catarina State Court (TJSC), collected via the DataJud API (CNJ) and annotated across five legal areas through LLM-assisted labeling with heuristic validation. On a class-balanced test set, BERTimbau-LoRA, updating only 0.3% of model parameters, achieves 87.6% accuracy and 0.87 macro-F1 (+22pp over Claude 3.5 Haiku, +28pp over GPT-4o mini). The gap is most striking on administrativo (administrative law): GPT-4o mini scores F1 = 0.00 and Claude 3.5 Haiku scores F1 = 0.08 on this class, while the fine-tuned model reaches F1 = 0.91. Both commercial LLMs exhibit a systematic bias toward civel (civil law), absorbing ambiguous classes rather than discriminating them, a failure mode that domain-adapted fine-tuning eliminates. These results demonstrate that general-purpose LLMs cannot substitute for domain-adapted models in Brazilian legal classification, even when the task is a simple 5-class problem, and that LoRA fine-tuning on a consumer GPU closes the gap at zero marginal inference cost. We release the full dataset, model, and pipeline to enable reproducible research in Portuguese legal NLP.

📄 PDF Abstract BibTeX arXiv:2604.18878

Code (0)

등록된 구현이 없습니다.

Tasks

Text Classification

Similar Papers 제목 키워드 기반

LegalBench-RAG: A Benchmark for Retrieval-Augmented Generation in the Legal Domain

2024-08-19 · Nicholas Pipitone, Ghita Houir Alami

Retrieval-Augmented Generation (RAG) systems are showing promising potential, and are becoming increasingly relevant in AI-powered legal applications. Existing benchmarks, such as LegalBench, assess the generative capabi…

RAGRetrievalRetrieval-augmented Generation

LegalBench: A Collaboratively Built Benchmark for Measuring Legal Reasoning in Large Language Models

2023-08-20 · NeurIPS 2023 11 · Neel Guha, Julian Nyarko, Daniel E. Ho, Christopher Ré 외

The advent of large language models (LLMs) and their adoption by the legal community has given rise to the question: what types of legal reasoning can LLMs perform? To enable greater study of this question, we present Le…

Legal Reasoning

TW-LegalBench: Measuring Taiwanese Legal Understanding

2026-06-17 · Fei-Yueh Chen, Chun Huang Lin, Chan Wei Hsu, Kuan Hsuan Yeh 외 arxiv

Large language models (LLMs) have shown impressive capabilities across diverse tasks, yet their performance on jurisdiction-specific legal reasoning remains underexplored. We present TW-LegalBench that utilizes Taiwanese…

Text GenerationLegal Reasoning

IslamicLegalBench: Evaluating LLMs Knowledge and Reasoning of Islamic Law Across 1,200 Years of Islamic Pluralist Legal Traditions

2026-02-02 · Ezieddin Elmahjub, Junaid Qadir, Abdullah Mushtaq, Rafay Naeem 외 arxiv

As millions of Muslims turn to LLMs like GPT, Claude, and DeepSeek for religious guidance, a critical question arises: Can these AI systems reliably reason about Islamic law? We introduce IslamicLegalBench, the first ben…

Legal Reasoning

LegalBench.PT: A Benchmark for Portuguese Law

2025-02-22 · Beatriz Canaverde, Telmo Pessoa Pires, Leonor Melo Ribeiro, André F. T. Martins

The recent application of LLMs to the legal field has spurred the creation of benchmarks across various jurisdictions and languages. However, no benchmark has yet been specifically designed for the Portuguese legal syste…

Multiple-choice