Research map / Large language models / Language, safety and interpretability
Length Representations in Large Language Models
Dasom Choi, Jingun Kwon
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 |
|---|---|---|---|
| read length from second-layer attention outputs instead of other layer outputs | Llama and Phi-3 families · Google summarization time-step regression | R2: 0.99 vs 0.94 / 0.77 / 0.97 (Llama-2-7B, Length) | Improved |
| apply 4- or 8-bit quantization | Llama, Phi, Qwen models · Google summarization time-step regression | R2 | No clear effect |
| use Priming prompt instead of No-constraint (zero-shot) | Llama-2-13B-Chat · top-1 hidden unit R2 | R2: 0.11 -> 0.38 | Improved |
| use Priming instead of Length prompt, all hidden units | Llama models · Google summarization time-step regression | R2 | No clear effect |
| fine-tune the model with QLoRA | Llama-2-13B-Chat · time-step regression | R2 | Improved |
| multiply top-k length units by negative scale | Llama-2-13B-Chat (Priming) · Google summarization | summary length (delta CR): longer summaries (case study 19 words at scale -10) | Improved |
| multiply top-k length units by positive scale | Llama-2-13B-Chat (Priming) · Google summarization | summary length: shorter summaries | Improved |
| scale smallest-k units | Llama-2-13B-Chat · Google summarization | output length | No clear effect |
| scale -10 in human evaluation (zero-shot) | Llama-2-13B-Chat (Priming) · Google test, human eval | Informativeness: 3.70 -> 3.71 | Improved |
| scale top-k units in grouped-query attention models (zero-shot) | Llama-3 / Phi-3 · Google summarization | output length control | Hurt |
| fine-tune grouped-query attention models then scale top-k units | Llama-3 / Phi-3 · Google summarization | output length control | Improved |
Closest papers by meaning
- Hansel: Output Length Controlling Framework for Large Language Models (AAAI 2025 · similarity 0.92)
- LIFEBENCH: Evaluating Length Instruction Following in Large Language Models (NeurIPS 2025 · similarity 0.89)
- Long-Short Alignment for Effective Long-Context Modeling in LLMs (ICML 2025 · similarity 0.89)
- How Much is Left? LLMs Linearly Encode Their Remaining Output Length (NeurIPS 2026 · similarity 0.89)
- The Role of Sparsity for Length Generalization in LLMs (ICML 2025 · similarity 0.89)
- Understanding LLM Behaviors via Compression: Data Generation, Knowledge Acquisition and Scaling Laws (NeurIPS 2025 · similarity 0.89)
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.
