Token-Level Marginalization for Multi-Label LLM Classifiers

Anjaneya Praharaj, Jaykumar Kasundra
11/27/2025
cs.CL

No confident code implementation found for this paper.

Abstract

This paper addresses the critical challenge of deriving interpretable confidence scores from generative language models (LLMs) when applied to multi-label content safety classification. While models like LLaMA Guard are effective for identifying unsafe content and its categories, their generative architecture inherently lacks direct class-level probabilities, which hinders model confidence assessment and performance interpretation. This limitation complicates the setting of dynamic thresholds for content moderation and impedes fine-grained error analysis. This research proposes and evaluates three novel token-level probability estimation approaches to bridge this gap. The aim is to enhance model interpretability and accuracy, and evaluate the generalizability of this framework across different instruction-tuned models. Through extensive experimentation on a synthetically generated, rigorously annotated dataset, it is demonstrated that leveraging token logits significantly improves the interpretability and reliability of generative classifiers, enabling more nuanced content safety moderation.

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{praharaj2025tokenlevel,
  title  = {Token-Level Marginalization for Multi-Label LLM Classifiers},
  author = {Anjaneya Praharaj and Jaykumar Kasundra},
  year   = {2025},
  eprint = {2511.22312},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2511.22312v1}
}

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/2511.22312.svg)](https://codeofpaper.com/paper/2511.22312)

Discussion