Research map / Large language models / Language, safety and interpretability
Understanding Secret Leakage Risks in Code LLMs: A Tokenization Perspective
Meifang Chen, Zhe Yang, Huang Nianchen, Yizhan Huang, Yichen Li, Zihan Li, Michael R. Lyu
The Chinese University of Hong Kong · Nanyang Technological University · University of Southern California · Fudan University
Read the paperPlace an idea next to itCheck your own paper ↗
AI-extracted. The measured effects below were read by AI from the paper's full text (no summary yet). Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.
Measured effects reported in the paper
| What was changed | Where | Measured | Effect |
|---|---|---|---|
| tokenize secrets (BPE) instead of reading them at character level | gibberish-like secrets · OLMo-1B / Dolma | entropy: char 6.086 -> token 8.084 vs non-secrets char 4.744 -> token 11.175 | Hurt |
| compare secrets with non-secrets at char level | secret strings · OLMo-1B / Dolma | normalized entropy: 0.974 vs 0.361 (char); 0.806 vs 0.719 (token) | Improved |
| use larger IsoFLOPs-optimal tokenizer vocabularies (39367 to 93987) | StarCoder2 tokenizers · Secrets vs non-secrets | entropy ratio (sec./non-sec.): 0.759 -> 0.756 -> 0.746 | Hurt |
| use larger tokenizer vocabularies | StarCoder2 tokenizers · Secrets vs non-secrets | normalized entropy ratio (sec./non-sec.): 1.079 -> 1.085 -> 1.092 | Hurt |
| use larger tokenizer vocabularies | StarCoder2 tokenizers · Secrets, token level | entropy: 6.931 -> 7.076 -> 7.145 | Improved |
| use larger tokenizer vocabularies | StarCoder2 tokenizers · Secrets, token level | normalized entropy: 0.777 -> 0.774 -> 0.773 | No clear effect |
Open problems in jailbreak elicitation and risk
Can jailbreak attacks and their measurements hold up beyond white-box access, a few open models and LLM judges?
- Harm is scored by LLM judges or keyword rules that can misjudge. · 7 papers state it
- Attacks are tried on one model family or a few open models. · 5 papers state it
- The attack needs white-box access, so closed models are not tested. · 4 papers state it
Closest papers by meaning
- Security Attacks on LLM-based Code Completion Tools (AAAI 2025 · similarity 0.86)
- Bits Leaked per Query: Information-Theoretic Bounds for Adversarial Attacks on LLMs (NeurIPS 2025 · similarity 0.86)
- Exploiting LLM Quantization (NeurIPS 2024 · similarity 0.85)
- Textual Unlearning Gives a False Sense of Unlearning (ICML 2025 · similarity 0.85)
- Auditing Prompt Caching in Language Model APIs (ICML 2025 · similarity 0.85)
- Quantifying and Analyzing Entity-Level Memorization in Large Language Models (AAAI 2024 · similarity 0.85)
Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.