כתבה
arXiv cs.AI ·
IntentCoding: Amplifying User Intent in Code Generation
תקציר מקורי באנגליתarXiv:2602.00066v1 Announce Type: cross Abstract: Large Language Models (LLMs) have shown strong capabilities in code generation, but their adherence to fine-grained user intent with multiple constraints remains a significant challenge. Our empirical analysis reveals two key observations: 1) Model performance deteriorates quickly as the number of constraints in the user intent increases, and 2) While user intent does influence the model's logits, such an influence may not be strong enough to effectively steer the decoding process. To this end, we propose Intent-Amplified Code Generation (IntentCoding), a novel decoding strategy that enhances an LLM's ability to follow user intent. IntentCoding captures the influence of user intent by masking out the intent, and applies a multi-strength ens
קרא במקור המקורי
arxiv.org
פתח כתבה מקורית