Do Large Code Models Understand Programming Concepts? Counterfactual Analysis for Code Predicates
원문 초록
Large Language Models' success on text generation has also made them better at code generation and coding tasks. While a lot of work has demonstrated their remarkable performance on tasks such as code completion and editing, it is still unclear as to why. We help bridge this gap by exploring to what degree auto-regressive models understand the logical constructs of the underlying programs. We propose Counterfactual Analysis for Programming Concept Predicates (CACP) as a counterfactual testing framework to evaluate whether Large Code Models understand programming concepts. With only black-box access to the model, we use CACP to evaluate ten popular Large Code Models for four different programming concepts. Our findings suggest that current models lack understanding of concepts such as data flow and control flow.
함께 살펴볼 논문
공통 태그를 근거로 연결했습니다. 실제 인용 관계나 논문의 우수성을 뜻하지 않습니다.
The Devil behind the mask: An emergent safety vulnerability of Diffusion LLMs
Specification and Evaluation of Multi-Agent LLM Systems -- Prototype and Cybersecurity Applications
Seed-Coder: Let the Code Model Curate Data for Itself
Cataloguing Hugging Face Models to Software Engineering Activities: Automation and Findings
Plan for Speed -- Dilated Scheduling for Masked Diffusion Language Models
The Safety Reminder: A Soft Prompt to Reactivate Delayed Safety Awareness in Vision-Language Models
토론
이 논문과 연결된 포럼 글이 아직 없습니다.