Saved in:
Bibliographic Details
Main Author: Witold, Waligóra
Format: Preprint
Published: 2024
Subjects:
Online Access:https://arxiv.org/abs/2406.19840
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866911935994265600
author Witold, Waligóra
author_facet Witold, Waligóra
contents This paper introduces AnomaLLMy, a novel technique for the automatic detection of anomalous tokens in black-box Large Language Models (LLMs) with API-only access. Utilizing low-confidence single-token predictions as a cost-effective indicator, AnomaLLMy identifies irregularities in model behavior, addressing the issue of anomalous tokens degrading the quality and reliability of models. Validated on the cl100k_base dataset, the token set of GPT-4, AnomaLLMy detected 413 major and 65 minor anomalies, demonstrating the method's efficiency with just \$24.39 spent in API credits. The insights from this research are expected to be beneficial for enhancing the robustness of and accuracy of LLMs, particularly in the development and assessment of tokenizers.
format Preprint
id arxiv_https___arxiv_org_abs_2406_19840
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle AnomaLLMy -- Detecting anomalous tokens in black-box LLMs through low-confidence single-token predictions
Witold, Waligóra
Computation and Language
Artificial Intelligence
This paper introduces AnomaLLMy, a novel technique for the automatic detection of anomalous tokens in black-box Large Language Models (LLMs) with API-only access. Utilizing low-confidence single-token predictions as a cost-effective indicator, AnomaLLMy identifies irregularities in model behavior, addressing the issue of anomalous tokens degrading the quality and reliability of models. Validated on the cl100k_base dataset, the token set of GPT-4, AnomaLLMy detected 413 major and 65 minor anomalies, demonstrating the method's efficiency with just \$24.39 spent in API credits. The insights from this research are expected to be beneficial for enhancing the robustness of and accuracy of LLMs, particularly in the development and assessment of tokenizers.
title AnomaLLMy -- Detecting anomalous tokens in black-box LLMs through low-confidence single-token predictions
topic Computation and Language
Artificial Intelligence
url https://arxiv.org/abs/2406.19840