paper-with-me

Papers

Silent Tokens, Loud Effects: Padding in LLMs

2025-09-23 · Rom Himelstein, Amit LeVi, Yonatan Belinkov, Avi Mendelson arxiv

Padding tokens are widely used in large language models (LLMs) to equalize sequence lengths during batched inference. While they should be fully masked, implementation errors can cause them to influence computation, and the extent of this influence is not well understood. We systematically study this effect across three open-source model families (Llama, Gemma, Qwen), inserting controlled amounts of padding and evaluating outcomes along four axes: activations, generation quality, bias, and safety. Even small amounts of padding shift hidden representations, degrade quality in smaller models, alter bias in unpredictable ways, and weaken safety guardrails. These findings demonstrate that padding is not a harmless detail but a robustness risk that must be carefully handled in deployment.

📄 PDF Abstract BibTeX arXiv:2510.01238

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

Rainbow Padding: Mitigating Early Termination in Instruction-Tuned Diffusion LLMs

2025-10-04 · Bumjun Kim, Dongjae Jeon, Dueun Kim, Wonje Jeung 외 arxiv

Diffusion large language models (dLLMs) have emerged as a promising alternative to autoregressive models, offering flexible generation orders and strong performance on complex reasoning tasks. However, instruction-tuned …

Read Quietly, Think Aloud: Decoupling Comprehension and Reasoning in LLMs

2025-07-04 · Yuanxin Wang, Ganesh Venkatesh arxiv

Large Language Models (LLMs) have demonstrated remarkable proficiency in understanding text and generating high-quality responses. However, a critical distinction from human cognition is their typical lack of a distinct …

Attention Debiasing for Token Pruning in Vision Language Models

2025-08-25 · Kai Zhao, Wubang Yuan, Yuchen Lin, Liting Ruan 외 arxiv

Vision-language models (VLMs) typically encode substantially more visual tokens than text tokens, resulting in significant token redundancy. Pruning uninformative visual tokens is therefore crucial for improving computat…

Computational Efficiency

Padding Tone: A Mechanistic Analysis of Padding Tokens in T2I Models

2025-01-12 · Michael Toker, Ido Galil, Hadas Orgad, Rinon Gal 외

Text-to-image (T2I) diffusion models rely on encoded prompts to guide the image generation process. Typically, these prompts are extended to a fixed length by adding padding tokens before text encoding. Despite being a d…

Image Generation

EMS-SD: Efficient Multi-sample Speculative Decoding for Accelerating Large Language Models

2024-05-13 · Yunsheng Ni, Chuanjian Liu, Yehui Tang, Kai Han 외

Speculative decoding emerges as a pivotal technique for enhancing the inference speed of Large Language Models (LLMs). Despite recent research aiming to improve prediction efficiency, multi-sample speculative decoding ha…