Steering LLM Coding Behaviors with Concept Vectors
Keep the title, authors and abstract in paper.json
potentialpaper · 2026-11-23 19:24 UTC · a67b4f3137d7 ·
.potentialpaper/metadata.json modified
+++ b/.potentialpaper/metadata.json@@ -1,19 +1,5 @@{- "layout": 5,- "identifiers": [- {- "scheme": "openreview",- "value": "sbVictHY9s"- }- ],- "title": "Steering LLM Coding Behaviors with Concept Vectors",- "authors": [],- "abstract": "Large language models follow coding-practice instructions, but prompt-only control neither reveals internal structure nor avoids repeating requirements. We test whether coding behaviors admit useful residual directions. Using factorized multilingual prompts, we generate and teacher-force code from six Qwen2.5-Coder-Instruct models (0.5B–32B) and estimate compliance-conditioned post-token mean differences for commenting, logging, detected defensive constructs, and programming language. The prompt-conditioned contrasts show coherent lexical and cross-language structure. Adding them after the first sampled token changes held-out outputs, but effects depend on model and layer, strong scaling harms validity and correctness, and axis specificity remains unresolved without matched-norm causal\ncontrols. Among endpoint-compliant tasks, explicit comment prompts shift outputs along the training-derived direction. Pre-summed vectors share one hook and one residual addition per steered decode call. In one correctness-screened 7B case, prompting and steering both reach 100% detected compliance; steering uses 17.6% fewer input but 5.1% more output tokens (9.0% fewer total), with 0.43 Python\npass versus 0.44 for prompting. None of six tested positive strengths qualifies for a logging-plus-defensive profile. These empirical controls require model- and layer-specific calibration and executable evaluation.",- "year": 2027,- "venue": "ICLR 2027 (under review)",- "source": "openreview",- "license": {- "metadata": "CC0-1.0",- "abstract": "CC0-1.0"- }+ "layout": 6,+ "kind": "paper",+ "key": "dcc2035f-393d-4455-a021-74ee4408b508"}
paper.json added
+++ b/paper.json@@ -0,0 +1,9 @@+{+ "title": "Steering LLM Coding Behaviors with Concept Vectors",+ "authors": [],+ "abstract": "Large language models follow coding-practice instructions, but prompt-only control neither reveals internal structure nor avoids repeating requirements. We test whether coding behaviors admit useful residual directions. Using factorized multilingual prompts, we generate and teacher-force code from six Qwen2.5-Coder-Instruct models (0.5B–32B) and estimate compliance-conditioned post-token mean differences for commenting, logging, detected defensive constructs, and programming language. The prompt-conditioned contrasts show coherent lexical and cross-language structure. Adding them after the first sampled token changes held-out outputs, but effects depend on model and layer, strong scaling harms validity and correctness, and axis specificity remains unresolved without matched-norm causal\ncontrols. Among endpoint-compliant tasks, explicit comment prompts shift outputs along the training-derived direction. Pre-summed vectors share one hook and one residual addition per steered decode call. In one correctness-screened 7B case, prompting and steering both reach 100% detected compliance; steering uses 17.6% fewer input but 5.1% more output tokens (9.0% fewer total), with 0.43 Python\npass versus 0.44 for prompting. None of six tested positive strengths qualifies for a logging-plus-defensive profile. These empirical controls require model- and layer-specific calibration and executable evaluation.",+ "license": {+ "metadata": "CC0-1.0",+ "abstract": "CC0-1.0"+ }+}