scimeatlas

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

Beyond Sequences: Two-dimensional Representation and Dependency Encoding for Code Generation

Xiangyu Zhang, Yu Zhou, Guang Yang, Wei Cheng, Taolue Chen

ACL 2025Large language models › Language, safety and interpretabilityapproach: Controlled text generationopen problems in this approach3 citations (OpenAlex)

Nanjing University of Aeronautics and Astronautics · University of London

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

15measured effects
11improved
2no clear effect
2hurt

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.

On benchmark leaderboards

Measured effects reported in the paper

What was changedWhereMeasuredEffect
use CoDE line-wise dependency encoding instead of positional encodings71M code LM · StarCoder code modeling, length 1,024perplexity: 3.28 vs FIRE 3.46, ALiBi 3.81Improved
use CoDE instead of ALiBi at length 4,09671M code LM · StarCoder code modeling, length 4,096perplexity: 4.08 vs ALiBi 3.85Hurt
use CoDE instead of RoPE in-distribution (length 512)71M code LM · StarCoder code modeling, length 512perplexity: 4.46 vs RoPE 4.37No clear effect
use CoDE instead of best baseline71M code LM · LCCCodeBLEU: 27.86 vs FIRE 26.64Improved
use CoDE instead of FIRE71M code LM · RepoBenchBLEU: 13.59 vs FIRE 14.45Hurt
use CoDE instead of RoPE71M code LM · HumanEvalpass@10: 3.05 -> 4.27Improved
use CoDE instead of ALiBi on Copy task10M model · Copy (avg accuracy)accuracy: 0.25 -> 0.99Improved
use CoDE instead of ALiBi on Counting task10M model · Counting (avg accuracy)accuracy: 0.58 -> 0.99Improved
add in-line modeling (attention restricted within lines) (ablation)CoDE · StarCoder code modeling, length 4,096perplexity: 5.21 -> 4.08Improved
add PACE (ablation)CoDE · StarCoder code modeling, length 4,096perplexity: 4.33 -> 4.08Improved
add MLP over attention-score terms (ablation)CoDE · StarCoder code modeling, length 4,096perplexity: 4.71 -> 4.08Improved
suppress direct dependency attention term (d) (ablation)CoDE · StarCoder code modeling, length 4,096perplexity: 4.87 -> 4.08Improved

Open problems in controlled text generation

How can generation be controlled and checked reliably across languages, domains and model sizes without extra cost?

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