Recent advancements in large language models (LLMs) have significantly enhanced their ability to understand both natural language and code, driving their use in tasks like natural language-to-code (NL2Code) and code summarisation. However, LLMs are prone to hallucination, outputs that stray from intended meanings. Detecting hallucinations in code summarisation is especially difficult due to the complex interplay between programming and natural languages. We introduce a first-of-its-kind dataset, CodeSumEval, with ~10K samples, curated specifically for hallucination detection in code summarisation. We further propose a novel Entity Tracing Framework (ETF) that a) utilises static program analysis to identify code entities from the program and b) uses LLMs to map and verify these entities and their intents within generated code summaries. Our experimental analysis demonstrates the framework's effectiveness, leading to a 73% F1 score. The proposed approach provides a method for detecting hallucinations by tracing entities from the summary to the code, allowing us to evaluate summary accuracy and localise the error within the summary.
FaithBench: A Diverse Hallucination Benchmark for Summarization by Modern LLMs
Vectara, Inc.(Vectara公司);Iowa State University(爱荷华州立大学);University of Southern California(南加利福尼亚大学);Entropy Technologies(熵技术公司);University of Waterloo(滑铁卢大学);University of Wisconsin, Madison(威斯康星大学麦迪逊分校)
Place Matters: Comparing LLM Hallucination Rates for Place-Based Legal Queries
School of Computing and Information Systems, The University of Melbourne, Australia(计算与信息系统学院,墨尔本大学,澳大利亚);The Centre for Artificial Intelligence and Digital Ethics(人工智能与数字伦理中心);Melbourne Law School, The University of Melbourne, Australia(墨尔本法学院,墨尔本大学,澳大利亚)
The use of large language models to enhance cancer clinical trial educational materials
Massachusetts Institute of Technology(麻省理工学院);Technical University of Munich(慕尼黑工业大学);Mass General Brigham(麻省总医院布里格姆医疗系统);Harvard Medical School(哈佛医学院);Brigham and Women’s Hospital(布莱根妇女医院);Dana-Farber Cancer Institute(丹娜-法伯癌症研究所);Centaur Labs(半人马实验室);Digidence;Loyola University Chicago(芝加哥洛约拉大学)
Pixels and Predictions: Potential of GPT-4V in Meteorological Imagery Analysis and Forecast Communication
Bingham Research Center, Utah State University(犹他州立大学宾厄姆研究中心);Utah State University(犹他州立大学);NOAA/OAR/National Severe Storms Laboratory(美国国家海洋和大气管理局/海洋与大气研究办公室国家强风暴实验室);Cooperative Institute for Severe and High-Impact Research and Operations, The University of Oklahoma(俄克拉荷马大学严重与高影响研究及合作运营研究所);Department of Communication, The University of Oklahoma(俄克拉荷马大学传播系);Centre for Crisis Studies and Mitigation, University of Manchester(曼彻斯特大学危机研究与减缓中心);Department of Earth and Environmental Sciences, University of Manchester(曼彻斯特大学地球与环境科学系);NSF AI Institute for Research on Trustworthy AI in Weather, Climate, and Coastal Oceanography(美国国家科学基金会天气、气候与沿海海洋学可信人工智能研究院);Department of Geography and Meteorology, Valparaiso University(瓦尔帕莱索大学地理与气象系);University of Illinois Urbana-Champaign(伊利诺伊大学厄巴纳-香槟分校);Department of Communication(传播系)
Department of Electrical Engineering and Computer Science, Massachusetts Institute of Technology(麻省理工学院电子工程与计算机科学系);MIT-IBM Watson AI Lab(MIT-IBM沃森人工智能实验室);IBM Research(IBM研究院)
The Gray Zone of Faithfulness: Taming Ambiguity in Unfaithfulness Detection
Key Lab of Intelligent Information Processing, Institute of Computing Technology, Chinese Academy of Sciences (CAS)(中国科学院信息处理重点实验室);State Key Lab of Al Safety(人工智能安全国家重点实验室);University of Chinese Academy of Sciences(中国科学院大学)
Two-Layer Retrieval-Augmented Generation Framework for Low-Resource Medical Question Answering Using Reddit Data: Proof-of-Concept Study
Emory University(埃默里大学);Georgia Institute of Technology(佐治亚理工学院);Weill Cornell Medicine(威尔康奈尔医学院);Morehouse School of Medicine(莫尔豪斯医学院);University of Pennsylvania(宾夕法尼亚大学);Brown University(布朗大学);Icahn School of Medicine at Mount Sinai(西奈山伊坎医学院);Rutgers New Jersey Medical School(罗格斯新泽西医学院)
ReGAIN: Retrieval-Grounded AI Framework for Network Traffic Analysis
Computer Science(计算机科学);North Carolina A\&T State University(北卡罗来纳A&T州立大学);Institute for Cyber Security(网络安全研究所);University of Texas at San Antonio(德克萨斯大学圣安东尼奥分校)