[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"detail-sidebar-cat-0-en-105":3,"doc-seo-327268-105":59,"doc-detail-327268-en":131,"doc-similar-327268":164},{"code":4,"msg":5,"data":6},0,"success",[7,13,18,23,28,33,38,43,48,51,55],{"id":8,"doc_module":4,"doc_module_name":9,"category_name":10,"show_sort_weight":11,"slug":12},1,"Document","Story & Novel",90,"story-novel",{"id":14,"doc_module":4,"doc_module_name":9,"category_name":15,"show_sort_weight":16,"slug":17},2,"Literature",80,"literature",{"id":19,"doc_module":4,"doc_module_name":9,"category_name":20,"show_sort_weight":21,"slug":22},4,"Exam",70,"exam",{"id":24,"doc_module":4,"doc_module_name":9,"category_name":25,"show_sort_weight":26,"slug":27},5,"Comic",60,"comic",{"id":29,"doc_module":4,"doc_module_name":9,"category_name":30,"show_sort_weight":31,"slug":32},6,"Technology",50,"technology",{"id":34,"doc_module":4,"doc_module_name":9,"category_name":35,"show_sort_weight":36,"slug":37},7,"Healthcare",40,"healthcare",{"id":39,"doc_module":4,"doc_module_name":9,"category_name":40,"show_sort_weight":41,"slug":42},8,"Research & Report",30,"research-report",{"id":44,"doc_module":4,"doc_module_name":9,"category_name":45,"show_sort_weight":46,"slug":47},9,"Religion & Spirituality",20,"religion-spirituality",{"id":46,"doc_module":4,"doc_module_name":9,"category_name":49,"show_sort_weight":46,"slug":50},"World Cup","world-cup",{"id":52,"doc_module":4,"doc_module_name":9,"category_name":53,"show_sort_weight":52,"slug":54},10,"Lifestyle","lifestyle",{"id":56,"doc_module":4,"doc_module_name":9,"category_name":57,"show_sort_weight":24,"slug":58},19,"General","general",{"code":4,"msg":60,"data":61},"ok",{"site_id":62,"language":63,"slug":64,"title":65,"keywords":66,"description":67,"schema_data":68,"social_meta":124,"head_meta":126,"extra_data":128,"updated_unix":130},105,"en","breaking-safety-at-the-token-boundary-how-bpe-tokenization-creates-exploitable-gaps-in-llm-alignment","Breaking Safety at the Token Boundary - How BPE Tokenization Creates Exploitable Gaps in LLM Alignment","","Character-level perturbations can bypass safety alignment in modern large language models while keeping prompts readable to humans. The study identifies a structural mechanism: byte-pair encoding (BPE) fragments safety-critical words into sub-word pieces, yet surveyed alignment datasets contain no intentionally fragmented inputs. Across five model families, an optimization targeting safety-token fragmentation flips first-token refusal on 80–100% of refused HarmBench prompts and yields harmful outputs in 48% of flips. Activation patching localizes the disruption to the last ~30% of layers. Defense experiments show DPO cannot achieve seed- and pool-stable attack success closure, while SFT may close gaps only via global refusal collapse on benign prompts.",{"@graph":69,"@context":123},[70,84,106],{"@type":71,"itemListElement":72},"BreadcrumbList",[73,77,79,82],{"item":74,"name":75,"@type":76,"position":8},"https://docshare.wps.com","Home","ListItem",{"item":78,"name":9,"@type":76,"position":14},"https://docshare.wps.com/document/",{"item":80,"name":40,"@type":76,"position":81},"https://docshare.wps.com/document/research-report/",3,{"item":83,"name":65,"@type":76,"position":19},"https://docshare.wps.com/document/breaking-safety-at-the-token-boundary-how-bpe-tokenization-creates-exploitable-gaps-in-llm-alignment/327268/",{"url":83,"name":65,"@type":85,"image":86,"author":91,"headline":65,"publisher":94,"fileFormat":97,"inLanguage":63,"description":67,"dateModified":98,"datePublished":99,"encodingFormat":97,"isAccessibleForFree":100,"interactionStatistic":101},"DigitalDocument",{"url":87,"@type":88,"width":89,"height":90},"https://docshare.wps.com/thumbnails/breaking-safety-at-the-token-boundary-how-bpe-tokenization-creates-exploitable-gaps-in-llm-alignment/327268.png","ImageObject",300,407,{"name":92,"@type":93},"Lucas Martin","Person",{"url":74,"name":95,"@type":96},"DocShare","Organization","application/pdf","2026-11-29","2026-09-21",true,{"@type":102,"interactionType":103,"userInteractionCount":105},"InteractionCounter",{"@type":104},"ViewAction",16,{"@type":107,"mainEntity":108},"FAQPage",[109,115,119],{"name":110,"@type":111,"acceptedAnswer":112},"What structural mechanism links BPE tokenization to safety-alignment failures?","Question",{"text":113,"@type":114},"BPE fragments safety-critical words into unfamiliar sub-word pieces, and alignment training is not conducted on intentionally fragmented inputs. This chain reorganizes the token sequence so the model loses the safety-critical signals it was trained to refuse.","Answer",{"name":116,"@type":111,"acceptedAnswer":117},"How are the disruptive effects on refusal localized within the model?",{"text":118,"@type":114},"Activation patching shows the disrupted refusal signal is concentrated in the last ~30% of layers. Fragmentation disrupts late-layer pathways that produce the first-token refusal trigger.",{"name":120,"@type":111,"acceptedAnswer":121},"Do existing alignment recipes like DPO and SFT fix the vulnerability?",{"text":122,"@type":114},"DPO configurations fail to achieve seed- and pool-stable attack success closure across the tested families. SFT can close the gap on 3/5 families but does so through global refusal collapse, raising refusals on benign prompts as well; the document proposes Conv-Benign to distinguish selective repair from global collapse.","https://schema.org",{"og:url":83,"og:type":125,"og:title":65,"og:site_name":95,"og:description":67},"article",{"robots":127,"canonical":83},"index,follow",{"doc_id":129,"site_id":62},327268,1790227492,{"code":4,"msg":5,"data":132},{"doc_id":129,"user_id":133,"nickname":92,"user_avatar":134,"doc_module":4,"category_id":39,"category_name":40,"doc_title":65,"doc_description":67,"doc_content":135,"file_id":136,"file_url":137,"file_type":138,"file_size":139,"view_count":105,"is_deleted":4,"is_public":8,"is_downloadable":8,"audit_status":8,"page_count":140,"language":141,"language_code":63,"site_id":62,"html_lang":63,"table_of_contents":142,"faqs":143,"seo_title":144,"seo_description":67,"update_tm":145,"read_time":146,"preview_page_count":19,"preview_urls":147},8796095360427,"https://ap-avatar.wpscdn.com/davatar_994ba38a5ba835b3df7d355c54d3ed8d","arXiv :2607 .01239v1 [ cs .CL] 1 May 2026  \nBreaking Safety at the Token Boundary: How BPE Tokenization Creates Exploitable Gaps in  \nLLM Alignment  \nTung-Ling Li∗ Yuhao Wu∗ Hongliang Liu∗  \nPalo Alto Networks  \n{tuli,yuhwu,[honliu}@paloaltonetworks.com](honliu}@paloaltonetworks.com)  \nAbstract  \nCharacter-level perturbations bypass safety alignment in modern LLMs despite leaving prompts human-readable. We identify and test a central structural mechanism: BPE tokenization fragments safety-critical words into sub-word pieces, and the three public alignment datasets we surveyed contain no intentionally fragmented inputs. The mechanism is a chain, tested end-to-end on five model families (Qwen-3-4B, Qwen-2.5-7B, Gemma-3-4B, Llama-3.1-8B, Mistral-7B) . An optimization targeting safety-token fragmentation flips the first-token refusal trigger on 80–100% of refused HarmBench prompts, with 48% of those flips producing genuinely harmful outputs (per-model 29–65%; gap-vs-behavior ROC-AUC 0.66– 0.98, pooled 0.84) . Activation patching localizes the disrupted signal to the last ∼30% of layers; an alignment-data scan finds zero fragmented prompts among  \n30,000 examples (positive-control recall ≥ 99% at attack-relevant intensities); and targeted-mutation experiments isolate safety words as the disruption locus. On the defense side, a 68-cell grid (55 trained checkpoints) shows that no DPO configuration achieves seed-and pool-stable ASR closure on the three families with closed pool-size confounds. SFT trained on fragmented prompts closes ASRon 3/5 families but only via global collapse that raises refusal on benign promptsas well, indicating the missing distribution is necessary but not sufficient under the LoRA-16 recipe we tested. To distinguish selective repair from global collapse, we introduce Conv-Benign, a candidate paired diagnostic. All ASR claims are 3-judge-calibrated (cell rankings stable across judges; absolute levels ±18pp; see App. B.13) .  \n1 Introduction  \nLarge language models are aligned for safety through RLHF (Ouyang et al., 2022) and DPO (Rafailovet al., 2023), training them to refuse harmful requests. Yet simple character-level perturbations (random capitalization, leetspeak, character scrambling) reliably bypass this alignment (Hughes et al., 2024; Wei et al., 2023) . A human reader easily understands “How to make a b0mb.” The safety mechanism does not.  \nWe trace this failure to a central structural mechanism: byte-pair encoding fragments safety-critical tokens into unfamiliar pieces, and alignment was never trained on fragmented inputs. The mechanism is a chain (Figure 1) . A single character change can reorganize the BPE token sequence, destroying the safety-critical tokens the model was trained to refuse. The first-token refusal signal that mediates these refusals lives in the last ∼30% of layers, and fragmentation disrupts the late-layer pathways that produce it through model-family-specific routes. Pre-training teaches the model to comprehend messy  \n∗ Equal contribution. Author order determined by rock-paper-scissors.  \nPreprint.  \n\n| 1\u003Cbr>Character Perturbation\u003Cbr>| \u003Cbr>\u003Cbr>BPE Token Fragmentation\u003Cbr>\u003Cbr>2\u003Cbr>\u003Cbr>3 | | 4\u003Cbr>Refusal Signal Collapse\u003Cbr>|\n| --- | --- | --- | --- |\n|  |  |  |  |\n\n“synth esizing meth amphetamine”  \n“meth” →“m” + “eth”  \nSafety layers lose refusal signal  \n△ 0 Trainfragmienntg Distribed prompttiinGagnmpen§5da)ta  \nDefense Spectrum (§6)  \n✓ DPO: no change · SFT: 78%→6%(OR+19–61pp)  \nFigure 1: The mechanistic chain underlying character-level jailbreaks. Each link is established by an independent experiment, allowing the chain to be falsified at any point. Side panels summarize §5 (alignment datasets contain zero intentionally fragmented prompts) and §6 (DPO leaves the chain intact; SFT collapses Conv-Harm 78%→6% but at the cost of Conv-Benign, the SFT global-collapse pattern characterized in §6, with OR inflation of 19–61pp on the closing families and canonical Pareto-best numbers i","cbCaiqN84USNFna5","https://ap.wps.com/l/cbCaiqN84USNFna5","pdf",874394,27,"English","# Abstract\n# Introduction\n## Central structural mechanism: BPE fragmentation chain\n## Experimental testing across model families\n## Defense evaluation against DPO and SFT","[{\"question\":\"What structural mechanism links BPE tokenization to safety-alignment failures?\",\"answer\":\"BPE fragments safety-critical words into unfamiliar sub-word pieces, and alignment training is not conducted on intentionally fragmented inputs. This chain reorganizes the token sequence so the model loses the safety-critical signals it was trained to refuse.\"},{\"question\":\"How are the disruptive effects on refusal localized within the model?\",\"answer\":\"Activation patching shows the disrupted refusal signal is concentrated in the last ~30% of layers. Fragmentation disrupts late-layer pathways that produce the first-token refusal trigger.\"},{\"question\":\"Do existing alignment recipes like DPO and SFT fix the vulnerability?\",\"answer\":\"DPO configurations fail to achieve seed- and pool-stable attack success closure across the tested families. SFT can close the gap on 3/5 families but does so through global refusal collapse, raising refusals on benign prompts as well; the document proposes Conv-Benign to distinguish selective repair from global collapse.\"}]","Breaking Safety at the Token Boundary - How BPE Tokenization Creates Exploitable Gaps in LLM Alignment | PDF",1789976856,68,[148,152,156,160],{"page_no":8,"url":149,"width":150,"height":151},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-16/d5100ea9826c7b8153db632d56ce917f.webp",983,1272,{"page_no":14,"url":153,"width":154,"height":155},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-16/ccfe3b399e0382c7144cd0d6ed2dfe0f.webp",982,1270,{"page_no":81,"url":157,"width":158,"height":159},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-16/b033f585bf550d0bb6c426dac2b091b5.webp",981,1269,{"page_no":19,"url":161,"width":162,"height":163},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-16/b76d1f9d0eca75e0f11c3bb56651b077.webp",980,1268,{"list":165,"token":66},[166,173,180,187,194,201,207,214,220,227],{"doc_id":167,"doc_title":168,"file_type":138,"home_preview_img_url":169,"slug":170,"view_count":171,"category_name":40,"create_tm":172},85327,"Direct Image to Modern Vietnamese Translation of Han Nom Manuscripts via Multimodal RLHF Preference Alignment","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229809301571/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796109119&Signature=a42eZgvp3iDk0oHAbWE1PDbRpiE%3D","direct-image-to-modern-vietnamese-translation-of-han-nom-manuscripts-via-multimodal-rlhf-preference-alignment",22,1784202517,{"doc_id":174,"doc_title":175,"file_type":138,"home_preview_img_url":176,"slug":177,"view_count":178,"category_name":40,"create_tm":179},82983,"Where to cut, how deep: BPE and Unigram-LM on chemistry SMILES","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229808811153/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796109119&Signature=xbznGYVTz5KT630TSy0eAXhN1Ls%3D","where-to-cut-how-deep-bpe-and-unigram-lm-on-chemistry-smiles",32,1784184445,{"doc_id":181,"doc_title":182,"file_type":138,"home_preview_img_url":183,"slug":184,"view_count":185,"category_name":40,"create_tm":186},85980,"Agentic-DPO: From Imitation to Agentic Policy Optimization on Expert Trajectories","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229809494589/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796109119&Signature=CZm9ZerZnBAKnJnYf9OYgeXXJvk%3D","agentic-dpo-from-imitation-to-agentic-policy-optimization-on-expert-trajectories",36,1784207540,{"doc_id":188,"doc_title":189,"file_type":138,"home_preview_img_url":190,"slug":191,"view_count":192,"category_name":40,"create_tm":193},492508,"VerChol - Grammar-First Tokenization for Agglutinative Languages - A Morphological Alternative to Statistical Subword Tokenization, with Full Tamil Wikipedia Evaluation","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229928642857/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796109119&Signature=tO8tH0EmuCgyr7B6m6LzeV9jmSk%3D","verchol-grammar-first-tokenization-for-agglutinative-languages-a-morphological-alternative-to-statistical-subword-tokenization-with-full-tamil-wikipedia-evaluation",11,1790864843,{"doc_id":195,"doc_title":196,"file_type":138,"home_preview_img_url":197,"slug":198,"view_count":199,"category_name":40,"create_tm":200},327594,"Oyster-II - Reinforcement Learning for Constructive Safety Alignment in Large Language Models","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229909091537/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796109119&Signature=cUdh28TRb3LSLamIHya2OehoFxA%3D","oyster-ii-reinforcement-learning-for-constructive-safety-alignment-in-large-language-models",18,1789977626,{"doc_id":202,"doc_title":203,"file_type":138,"home_preview_img_url":204,"slug":205,"view_count":185,"category_name":40,"create_tm":206},85178,"Minionese Comprehensive Benchmark and Mechanistic Study of Multilingual LLM Safety","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229809247868/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796109119&Signature=hFUgKKIRP7qzCRpma71hCetUxRg%3D","minionese-comprehensive-benchmark-and-mechanistic-study-of-multilingual-llm-safety",1784201565,{"doc_id":208,"doc_title":209,"file_type":138,"home_preview_img_url":210,"slug":211,"view_count":212,"category_name":40,"create_tm":213},273724,"TriPLU - Bypassing the Gate with Direct Trilinear Product FFNs in Tiny Language Models","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229899556094/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796109119&Signature=G8msyJzTzYYZHkTEX4mGNRKXhhA%3D","triplu-bypassing-the-gate-with-direct-trilinear-product-ffns-in-tiny-language-models",12,1789472640,{"doc_id":215,"doc_title":216,"file_type":138,"home_preview_img_url":217,"slug":218,"view_count":171,"category_name":40,"create_tm":219},82077,"Optimizing Against Safety Representations: Activation-Guided Adversarial Suffixes and the Geometry of Refusal","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229808667371/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796109119&Signature=me9pdhTSdaWiG1SqaKJlihHX3W8%3D","optimizing-against-safety-representations-activation-guided-adversarial-suffixes-and-the-geometry-of-refusal",1784178090,{"doc_id":221,"doc_title":222,"file_type":138,"home_preview_img_url":223,"slug":224,"view_count":225,"category_name":40,"create_tm":226},32245,"LLM Content Moderation and User Satisfaction: Evidence from Response Refusals in Chatbot Arena","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229763340322/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796109119&Signature=YqqCqsR9OrNGt2g3DdNmTjG6uPo%3D","llm-content-moderation-and-user-satisfaction-evidence-from-response-refusals-in-chatbot-arena",38,1781039546,{"doc_id":228,"doc_title":229,"file_type":138,"home_preview_img_url":230,"slug":231,"view_count":232,"category_name":40,"create_tm":233},84286,"Efficient Safety Alignment of Language Models via Latent Personality Traits","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229809159005/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796109119&Signature=Z6GT7gazMnh11CjQoOk3FspmzCg%3D","efficient-safety-alignment-of-language-models-via-latent-personality-traits",23,1784194592]