scimeatlas

Research map / Large language models / Language, safety and interpretability

HiRoPE: Length Extrapolation for Code Models Using Hierarchical Position

Kechi Zhang, Ge Li, Huangzhao Zhang, Zhi Jin

ACL 2024Large language models › Language, safety and interpretabilityapproach: LLM pruning and scaling dataopen problems in this approach27 citations (OpenAlex)

Peking University

Read the paperPlace an idea next to itCheck your own paper ↗

12measured effects
7improved
1no clear effect
3hurt
1mixed

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 changedWhereMeasuredEffect
apply HiRoPE (hierarchical RoPE) vs Self-ExtendLLaMA-2-7B · CodeParrot-valid (8192-16384)perplexity: 2.0103 -> 1.9780Improved
apply HiRoPE vs ReRoPETinyLlama-1.1B · ReRoPE-eval (last 2048)perplexity: 6.327 -> 5.9474Improved
apply HiRoPE vs ReRoPELLaMA-2-7B · Code Symbol Understandingrecall: 0.0837 -> 0.0911Improved
apply HiRoPE vs ReRoPEShearedLLaMA-1.3B · LCC (>8k)edit similarity: 36.91 -> 46.33Improved
apply HiRoPE vs ReRoPETinyLLaMA-1.1B · LCC (0-4k)edit similarity: 49.22 -> 35.17Hurt
apply HiRoPE vs ReRoPEVicuna-7B · RepoBench (0-4k)edit similarity: 42.78 -> 37.10Hurt
apply HiRoPE vs ReRoPELLaMA-2-7B · RepoBench (4k-8k)edit similarity: 47.85 -> 53.30Improved
apply HiRoPE window mechanism (keeps short-code performance) (ablation)LLaMA-2-7B · CodeParrot-valid (0-2048)perplexity: 2.3583 -> 2.3598No clear effect
apply NTK scalingLLaMA-2-7B · CodeParrot-valid (0-2048)perplexity: 2.3583 -> 3.0365Hurt
increase window length (ablation)LLaMA-2-7B · CodeParrot (0-2k)perplexityImproved
split hierarchy at function level rather than statement or n-token segments (ablation)HiRoPE · CodeParrotperplexityImproved
split dimension ratio between 0.6 and 0.7 (ablation)HiRoPE · CodeParrot (4k-8k)perplexityMixed

Open problems in LLM pruning and scaling data

Do pruning, unlearning and data-scaling methods still work at larger scale and beyond English?

All 5 open problems and what was already tried →

Closest papers by meaning

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.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy