Compressed code: the hidden effects of quantization and distillation on programming tokens

Viacheslav Siniaev, Iaroslav Chelombitko, Aleksey Komissarov
1/5/2026
cs.SEcs.CLcs.LG

No confident code implementation found for this paper. 1 possible match can be shown below.

Abstract

Large Language Models (LLMs) have demonstrated exceptional code generation capabilities, yet their token-level mechanisms remain underexplored, particularly in compressed models. Through systematic analysis of programming language token representations, we characterize how programming languages are encoded in LLM tokenizers by analyzing their vocabulary distribution and keyword coverage patterns. We introduce a novel cold-start probability analysis method that provides insights into model behavior without requiring explicit prompts. Additionally, we present a comprehensive evaluation of how different model optimization techniques - including quantization, distillation, model scaling, and task-specific fine-tuning - affect token-level representations and code generation quality. Our experiments, supported by comprehensive probability distribution analysis and evaluation metrics, reveal critical insights into token-level behavior and provide empirically-validated guidelines for maintaining code generation quality under various optimization constraints. These findings advance both theoretical understanding of LLM code generation and practical implementation of optimized models in production environments.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. 1 weaker match is hidden by default — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{siniaev2026compressed,
  title  = {Compressed code: the hidden effects of quantization and distillation on programming tokens},
  author = {Viacheslav Siniaev and Iaroslav Chelombitko and Aleksey Komissarov},
  year   = {2026},
  eprint = {2601.02563},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2601.02563v3}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2601.02563.svg)](https://codeofpaper.com/paper/2601.02563)

Discussion