Large-Language Memorization During the Classification of United States Supreme Court Cases

John E. Ortega, Dhruv D. Joshi, Matt P. Borkowski
12/15/2025
cs.CLcs.AIcs.ET

No confident code implementation found for this paper.

Abstract

Large-language models (LLMs) have been shown to respond in a variety of ways for classification tasks outside of question-answering. LLM responses are sometimes called "hallucinations" since the output is not what is ex pected. Memorization strategies in LLMs are being studied in detail, with the goal of understanding how LLMs respond. We perform a deep dive into a classification task based on United States Supreme Court (SCOTUS) decisions. The SCOTUS corpus is an ideal classification task to study for LLM memory accuracy because it presents significant challenges due to extensive sentence length, complex legal terminology, non-standard structure, and domain-specific vocabulary. Experimentation is performed with the latest LLM fine tuning and retrieval-based approaches, such as parameter-efficient fine-tuning, auto-modeling, and others, on two traditional category-based SCOTUS classification tasks: one with 15 labeled topics and another with 279. We show that prompt-based models with memories, such as DeepSeek, can be more robust than previous BERT-based models on both tasks scoring about 2 points better than previous models not based on prompting.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{ortega2025largelanguage,
  title  = {Large-Language Memorization During the Classification of United States Supreme Court Cases},
  author = {John E. Ortega and Dhruv D. Joshi and Matt P. Borkowski},
  year   = {2025},
  eprint = {2512.13654},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2512.13654v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2512.13654.svg)](https://codeofpaper.com/paper/2512.13654)

Discussion