Technische Universität Darmstadt(达姆施塔特工业大学);AI Quality & Testing Hub(AI质量与测试中心);Hessian Center for Artificial Intelligence(黑森人工智能中心);National Research Center for Applied Cybersecurity ATHENE(国家应用网络安全研究中心ATHENE)
Abhinav Anand, Shweta Verma, Krishna Narasimhan, Mira Mezini
Large Language Models trained on code corpora (code-LLMs) have demonstrated impressive performance in various coding assistance tasks. However, despite their increased size and training dataset, code-LLMs still have limitations such as suggesting codes with syntactic errors, variable misuse etc. Some studies argue that code-LLMs perform well on coding tasks because they use self-attention and hidden representations to encode relations among input tokens. However, previous works have not studied what code properties are not encoded by code-LLMs. In this paper, we conduct a fine-grained analysis of attention maps and hidden representations of code-LLMs. Our study indicates that code-LLMs only encode relations among specific subsets of input tokens. Specifically, by categorizing input tokens into syntactic tokens and identifiers, we found that models encode relations among syntactic tokens and among identifiers, but they fail to encode relations between syntactic tokens and identifiers. We also found that fine-tuned models encode these relations poorly compared to their pre-trained counterparts. Additionally, larger models with billions of parameters encode significantly less information about code than models with only a few hundred million parameters.
CodeScope: An Execution-based Multilingual Multitask Multidimensional Benchmark for Evaluating LLMs on Code Understanding and Generation
University of California, Santa Barbara(加利福尼亚大学圣巴巴拉分校);School of Software Engineering, Xi’an Jiaotong University(西安交通大学软件学院);Zhejiang University(浙江大学);University of Illinois at Urbana-Champaign(伊利诺伊大学厄巴纳-香槟分校);Alibaba Group(阿里巴巴集团);TU Wien(维也纳技术大学);University of Chinese Academy of Sciences(中国科学院大学)
Exploring the Potential of Diffusion Large Language Models in Code Generation
College of AI, Tsinghua University(清华大学人工智能学院);School of Computer Science, Nanjing University(南京大学计算机科学学院);School of Computer Science and Engineering, Beihang University(北航计算机科学与工程学院);School of Computer Science, Peking University(北京大学计算机科学学院)
CodeHalu: Investigating Code Hallucinations in LLMs via Execution-based Verification
Hong Kong Baptist University(香港浸会大学);UC Santa Barbara(加州大学圣巴巴拉分校);UC Berkeley(加州大学伯克利分校);Alibaba Group(阿里巴巴集团);The University of Tokyo(东京大学);University of Alberta(阿尔伯塔大学)
What Factors Affect LLMs and RLLMs in Financial Question Answering?
School of Computer Science and Engineering, Macau University of Science and Technology, China(澳门科技大学计算机科学与工程学院);SKLPlanets, Macau University of Science and Technology, China(澳门科技大学月球与行星科学国家重点实验室);School of Economics, Anhui University, China(安徽大学经济学院);School of Energy and Power Engineering, Huazhong University of Science and Technology, China(华中科技大学能源与动力工程学院)
What's Taboo for You? - An Empirical Evaluation of LLMs Behavior Toward Sensitive Content
Università degli Studi di Milano, Department of Computer Science(米兰大学计算机科学系);Università degli Studi di Milano, Department of Languages, Literatures, Cultures and Mediations(米兰大学语言、文学、文化与媒介系);Università degli Studi di Milano, Department of Historical Studies(米兰大学历史学系)
Evaluation of Code LLMs on Geospatial Code Generation
Wrocław University of Science and Technology(弗罗茨瓦夫理工大学);INESC-ID;LUMLIS (Lisbon ELLIS Unit)(LUMLIS(里斯本ELLIS单元));Instituto Superior Técnico(高等技术学院);University of Lisbon(里斯本大学)