paper-with-me

홈 › Papers

TokenBreak: Bypassing Text Classification Models Through Token Manipulation

2025-06-09 · Kasimir Schulz, Kenneth Yeung, Kieran Evans

Natural Language Processing (NLP) models are used for text-related tasks such as classification and generation. To complete these tasks, input data is first tokenized from human-readable text into a format the model can understand, enabling it to make inferences and understand context. Text classification models can be implemented to guard against threats such as prompt injection attacks against Large Language Models (LLMs), toxic input and cybersecurity risks such as spam emails. In this paper, we introduce TokenBreak: a novel attack that can bypass these protection models by taking advantage of the tokenization strategy they use. This attack technique manipulates input text in such a way that certain models give an incorrect classification. Importantly, the end target (LLM or email recipient) can still understand and respond to the manipulated text and therefore be vulnerable to the very attack the protection model was put in place to prevent. The tokenizer is tied to model architecture, meaning it is possible to predict whether or not a model is vulnerable to attack based on family. We also present a defensive strategy as an added layer of protection that can be implemented without having to retrain the defensive model.

📄 PDF Abstract BibTeX arXiv:2506.07948

Code (0)

등록된 구현이 없습니다.

Tasks

Classificationtext-classificationText Classification

Similar Papers 제목 키워드 기반

Super Suffixes: Bypassing Text Generation Alignment and Guard Models Simultaneously

2025-12-12 · Andrew Adiletta, Kathryn Adiletta, Kemal Derya, Berk Sunar arxiv

The rapid deployment of Large Language Models (LLMs) has created an urgent need for enhanced security and privacy measures in Machine Learning (ML). LLMs are increasingly being used to process untrusted text inputs and e…

Code GenerationText Generation

Context Filtering with Reward Modeling in Question Answering

2024-12-16 · Sangryul Kim, James Thorne

Question Answering (QA) in NLP is the task of finding answers to a query within a relevant context retrieved by a retrieval system. Yet, the mix of relevant and irrelevant information in these contexts can hinder perform…

Question Answering

TokenProber: Jailbreaking Text-to-image Models via Fine-grained Word Impact Analysis

2025-05-11 · Longtian Wang, Xiaofei Xie, Tianlin Li, Yuhan Zhi 외

Text-to-image (T2I) models have significantly advanced in producing high-quality images. However, such models have the ability to generate images containing not-safe-for-work (NSFW) content, such as pornography, violence…

Sensitivity

Transformers from Compressed Representations

2025-10-26 · Juan C. Leon Alcazar, Mattia Soldan, Mohammad Saatialsoruji, Alejandro Pardo 외 arxiv

Compressed file formats are the corner stone of efficient data storage and transmission, yet their potential for representation learning remains largely underexplored. We introduce TEMPEST (TransformErs froM comPressed r…

Representation Learning

TokenPure: Watermark Removal through Tokenized Appearance and Structural Guidance

2025-12-01 · Pei Yang, Yepeng Liu, Kelly Peng, Yuan Gao 외 arxiv

In the digital economy era, digital watermarking serves as a critical basis for ownership proof of massive replicable content, including AI-generated and other virtual assets. Designing robust watermarks capable of withs…