mlsanityData to 14 Oct 2026

Hints Help But Do They Teach? Evaluating Skills Transfer in Code Generation

arXiv 2609.01106 ↗First posted 1 Sep 2026cs.SE cs.AI cs.CLcited by 0

Not on the map. Why?

Abstract (arXiv)

When a hint turns a failing generated program into a passing one, does it provide missing information or merely steer the model toward a solution it could already produce? We test these hypotheses on HumanEval+ and MBPP+ using executable evaluation. For Qwen2.5-3B-Instruct, adaptive relevant hints rescue 36 of 79 selected failures; an unrelated hint rescues 19, while eight unhinted samples solve 46 and recover 31 of the 36 relevant-hint rescues. Phi-3.5-mini shows the same pattern: relevant hints rescue 42 of 101 failures, an unrelated hint rescues 17, and unhinted sampling solves 57, including 36 of the 42 relevant-hint rescues. Because the hint conditions use different attempt budgets, these comparisons do not isolate a purely semantic effect. Mechanistic tests on Qwen identify a stable activation direction shared by relevant and unrelated hints. Persistently adding this direction yields 14 rescues and 18 regressions, with no detectable net accuracy gain; learned low-rank interventions have a positive but imprecise estimated effect. Full textual specifications solve 22 of 24 context-defined problems, versus 5-11 for tested virtual-KV prefixes. Post-generation hidden-state probes transfer across benchmarks, with pooled AUROC 0.806 and 0.780, but their top-one selection advantage over token confidence is statistically unresolved. Overall, relevant hints can rescue failures, but most rescued solutions are already reachable through ordinary sampling, and the internal interventions tested here do not establish task-general capability transfer.

Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 32 of its 38 references that are in the map. First posted on arXiv 1 Sep 2026.

Builds on

32 of 38 references.

References · 32

  1. 2021Evaluating Large Language Models Trained on Codecited by 8,320
  2. 2022Self-Consistency Improves Chain of Thought Reasoning in Language Modelscited by 5,708
  3. 2021Program Synthesis with Large Language Modelscited by 3,637
  4. 2022Language Models (Mostly) Know What They Knowcited by 1,856
  5. 2023Is Your Code Generated by ChatGPT Really Correct? Rigorous Evaluation of Large Language Models for Code Generationcited by 1,391
  6. 2023Representation Engineering: A Top-Down Approach to AI Transparencycited by 1,336
  7. 2024Qwen2.5-Coder Technical Reportcited by 1,203
  8. 2023Steering Llama 2 via Contrastive Activation Additioncited by 1,085
  9. 2023Steering Language Models With Activation Engineeringcited by 922
  10. 2022Discovering Latent Knowledge in Language Models Without Supervisioncited by 767
  11. 2023The Internal State of an LLM Knows When It's Lyingcited by 659
  12. 2023Learning to Compress Prompts with Gist Tokenscited by 390
20 more
  1. 2022CodeT: Code Generation with Generated Testscited by 384
  2. 2023In-Context Learning Creates Task Vectorscited by 312
  3. 2023Function Vectors in Large Language Modelscited by 308
  4. 2024LLMs Know More Than They Show: On the Intrinsic Representation of LLM Hallucinationscited by 244
  5. 2023Is This the Subspace You Are Looking for? An Interpretability Illusion for Subspace Activation Patchingcited by 80
  6. 2023When Do Prompting and Prefix-Tuning Work? A Theory of Capabilities and Limitationscited by 43
  7. 2024Prompting a Pretrained Transformer Can Be a Universal Approximatorcited by 25
  8. 2024Cultural Conditioning or Placebo? On the Effectiveness of Socio-Demographic Promptingcited by 22
  9. 2025Probing for Arithmetic Errors in Language Modelscited by 18
  10. 2025Thought Branches: Interpreting LLM Reasoning Requires Resamplingcited by 16
  11. 2026LatentSkill: From In-Context Textual Skills to In-Weight Latent Skills for LLM Agentscited by 10
  12. 2023Functional Overlap Reranking for Neural Code Generationcited by 9
  13. 2026Hidden Error Awareness in Chain-of-Thought Reasoning: The Signal Is Diagnostic, Not Causalcited by 7
  14. 2026Skill Neologisms: Towards Skill-based Continual Learningcited by 4
  15. 2026KV-Skill: Forging Expertise in the Model's Native Languagecited by 4
  16. 2026Masked by Consensus: Disentangling Privileged Knowledge in LLM Correctnesscited by 3
  17. 2026From Noise to Diversity: Random Embedding Injection in LLM Reasoningcited by 3
  18. 2026A decodability criterion predicts when hidden-state selection beats majority voting in large language modelscited by 2
  19. 2026What Am I Missing? Question-Answering as Hidden State Probingcited by 1
  20. 2026On the Robustness of LLMs' Internal Representation of Code Correctnesscited by 1

Built on by

Not cited yet.