We consider the problem of parsing natural language descriptions into source code written in a general-purpose programming language like Python. Existing data-driven methods treat this problem as a language generation task without considering the underlying syntax of the target programming language. Informed by previous work in semantic parsing, in this paper we propose a novel neural architecture powered by a grammar model to explicitly capture the target syntax as prior knowledge. Experiments find this an effective way to scale up to generation of complex programs from natural language descriptions, achieving state-of-the-art results that well outperform previous code generation and semantic parsing approaches.
Singapore University of Technology and Design(新加坡科技设计大学)
从NMT开始,编码器-解码器神经网络已被用于许多NLP问题。借用编码器组件的基于图形的模型和基于转换的模型分别在依存句法分析和成分语法分析上实现了最先进的性能。然而,还没有工作经验性地研究基于转换的解析的编码器-解码器神经网络。为此,我们应用了一个简单的编码器-解码器,在标准依赖性解析上实现了与Dyer et al.(2015)的解析器相当的结果,并在成分解析上优于Vinyals et al.(2015)的解析器。
Triple GNNs: Introducing Syntactic and Semantic Information for Conversational Aspect-Based Quadruple Sentiment Analysis
Institute of Information Engineering, Chinese Academy of Sciences(中国科学院信息工程研究所);School of Cyber Security, University of Chinese Academy of Sciences(中国科学院大学网络空间安全学院);The National Computer Network Emergency Response Technical Team/Coordination Center of China(国家计算机网络应急技术处理协调中心)
School of Cyber Science and Technology, Beihang University(北京航空航天大学网络空间科学与技术学院);University of Shantou(汕头大学);China Academic of Electronics and Information Technology(中国电子科技集团公司电子科学研究院);Shijiazhuang Tiedao Univerisity(石家庄铁道大学);Guizhou University(贵州大学);Guangxi Normal University(广西师范大学);Kunming University of Science and Technology(昆明理工大学);Hangzhou Innovation Institute of Beihang University(北京航空航天大学杭州创新研究院)
Functional Consistency of LLM Code Embeddings: A Self-Evolving Data Synthesis Framework for Benchmarking
School of Computer Science and Engineering, Sun Yat-Sen University(中山大学计算机科学与工程学院);School of Software Engineering, Sun Yat-Sen University(中山大学软件工程学院);School of Artificial Intelligence, Sun Yat-Sen University(中山大学人工智能学院);Key Laboratory of Sustainable Tourism Smart Assessment Technology, Ministry of Culture and Tourism of China(文化和旅游部可持续旅游智能评估技术重点实验室);Department of Computer Science, City University of Hong Kong(香港城市大学计算机科学系)
Benchmarking Language Models for Code Syntax Understanding
University of Maryland, College Park(马里兰大学帕克分校);Google Research(谷歌研究院);Washington University in St. Louis(圣路易斯华盛顿大学);University of California, Berkeley(加州大学伯克利分校)
Technische Universität Darmstadt(达姆施塔特工业大学);AI Quality & Testing Hub(AI质量与测试中心);Hessian Center for Artificial Intelligence(黑森人工智能中心);National Research Center for Applied Cybersecurity ATHENE(国家应用网络安全研究中心ATHENE)
A Systematic Study of Compositional Syntactic Transformer Language Models
School of Information Science and Technology, ShanghaiTech University(信息科学与技术学院,上海科技大学);Shanghai Engineering Research Center of Intelligent Vision and Imaging(智能视觉与成像工程技术研究中心);Ant Group(蚂蚁集团)
AST-Probe: Recovering abstract syntax trees from hidden representations of pre-trained language models
University of Murcia(穆尔西亚大学);University of Montreal(蒙特利尔大学);Institute for Clarity in Documentation(文档清晰化研究所);Inria Paris-Rocquencourt(法国国家信息与自动化研究所巴黎-罗克库尔中心);Rajiv Gandhi University(拉吉夫·甘地大学);Tsinghua University(清华大学);Palmer Research Laboratories(帕尔默研究实验室)
A Scaled-Up Empirical Study of Syntactic Language Models
School of Information Science and Technology, ShanghaiTech University(上海科技大学信息科学与技术学院);Shanghai Engineering Research Center of Intelligent Vision and Imaging(上海智能视觉与成像工程技术研究中心)
KELPS: A Framework for Verified Multi-Language Autoformalization via Semantic-Syntactic Alignment
School of Information Science and Technology, University of Science and Technology of China(信息科学与技术学院,中国科学技术大学);USTC Knowledge Computing Lab(中国科学技术大学知识计算实验室)
TreeDiff: AST-Guided Code Generation with Diffusion LLMs
University of Connecticut(康涅狄格大学);San Francisco State University(旧金山州立大学);University of California, Riverside(加州大学河滨分校);National University of Singapore(新加坡国立大学);University of Pittsburgh(匹兹堡大学);Florida State University(佛罗里达州立大学)
How Syntax Specialization Emerges in Language Models
Department of Linguistics and Modern Languages, The Chinese University of Hong Kong(香港中文大学语言学与现代语言系);Institute of Automation, Chinese Academy of Sciences(中国科学院自动化研究所);Brain and Mind Institute, The Chinese University of Hong Kong(香港中文大学脑科学与心灵研究所)