中文
相关论文

相关论文: Contextual API Completion for Unseen Repositories …

200 篇论文

Code comments are significantly helpful in comprehending software programs and also aid developers to save a great deal of time in software maintenance. Code comment generation aims to automatically predict comments in natural language…

软件工程 · 计算机科学 2023-03-06 Ramin Shahbazi , Fatemeh Fard

Recent advancements in integrating large language models (LLMs) with application programming interfaces (APIs) have gained significant interest in both academia and industry. Recent work demonstrates that these API-based agents exhibit…

软件工程 · 计算机科学 2025-01-24 Haiyang Shen , Yue Li , Desong Meng , Dongqi Cai , Sheng Qi , Li Zhang , Mengwei Xu , Yun Ma

The increasing prevalence of Large Language Models (LLMs) demands effective safeguards for their operation, particularly concerning their tendency to generate out-of-context responses. A key challenge is accurately detecting when LLMs stray…

计算与语言 · 计算机科学 2026-01-21 Jonathan Pan

When asked to summarize articles or answer questions given a passage, large language models (LLMs) can hallucinate details and respond with unsubstantiated answers that are inaccurate with respect to the input context. This paper describes…

计算与语言 · 计算机科学 2024-10-04 Yung-Sung Chuang , Linlu Qiu , Cheng-Yu Hsieh , Ranjay Krishna , Yoon Kim , James Glass

Large Language Models (LLMs) have shown exciting performance in listwise passage ranking. Due to the limited input length, existing methods often adopt the sliding window strategy. Such a strategy, though effective, is inefficient as it…

信息检索 · 计算机科学 2024-12-20 Wenhan Liu , Xinyu Ma , Yutao Zhu , Ziliang Zhao , Shuaiqiang Wang , Dawei Yin , Zhicheng Dou

As Large Language Models (LLMs) have made significant advancements across various tasks, such as question answering, translation, text summarization, and dialogue systems, the need for accuracy in information becomes crucial, especially for…

信息检索 · 计算机科学 2024-05-31 Yao Zhao , Zhitian Xie , Chen Liang , Chenyi Zhuang , Jinjie Gu

In modern large language models (LLMs), handling very long context lengths presents significant challenges as it causes slower inference speeds and increased memory costs. Additionally, most existing pre-trained LLMs fail to generalize…

计算与语言 · 计算机科学 2025-02-14 Heejun Lee , Geon Park , Jaduk Suh , Sung Ju Hwang

Analogical reasoning is a fundamental capacity of human cognition that allows us to reason abstractly about novel situations by relating them to past experiences. While it is thought to be essential for robust reasoning in AI systems,…

人工智能 · 计算机科学 2023-06-06 Xiaoyang Hu , Shane Storks , Richard L. Lewis , Joyce Chai

Inspired by the great potential of Large Language Models (LLMs) for solving complex coding tasks, in this paper, we propose a novel approach, named Code2API, to automatically perform APIzation for Stack Overflow code snippets. Code2API does…

软件工程 · 计算机科学 2024-05-07 Yubo Mai , Zhipeng Gao , Xing Hu , Lingfeng Bao , Yu Liu , Jianling Sun

Detecting personally identifiable information (PII) in user queries is critical for ensuring privacy in question-answering systems. Current approaches mainly redact all PII, disregarding the fact that some of them may be contextually…

密码学与安全 · 计算机科学 2026-02-11 Mariia Ponomarenko , Sepideh Abedini , Masoumeh Shafieinejad , D. B. Emerson , Shubhankar Mohapatra , Xi He

Handling long-context inputs is crucial for large language models (LLMs) in tasks such as extended conversations, document summarization, and many-shot in-context learning. While recent approaches have extended the context windows of LLMs…

计算与语言 · 计算机科学 2025-07-29 Lizhe Fang , Yifei Wang , Zhaoyang Liu , Chenheng Zhang , Stefanie Jegelka , Jinyang Gao , Bolin Ding , Yisen Wang

We propose a new long-context financial benchmark, FailSafeQA, designed to test the robustness and context-awareness of LLMs against six variations in human-interface interactions in LLM-based query-answer systems within finance. We…

计算与语言 · 计算机科学 2025-02-11 Kiran Kamble , Melisa Russak , Dmytro Mozolevskyi , Muayad Ali , Mateusz Russak , Waseem AlShikh

Large Language models have achieved impressive performance in automated software engineering. Extensive efforts have been made to evaluate the abilities of code LLMs in various aspects, with an increasing number of benchmarks and evaluation…

软件工程 · 计算机科学 2025-03-25 Lezhi Ma , Shangqing Liu , Lei Bu , Shangru Li , Yida Wang , Yang Liu

Large Language Models (LLMs) have shown significant advances in text generation but often lack the reliability needed for autonomous deployment in high-stakes domains like healthcare, law, and finance. Existing approaches rely on external…

人工智能 · 计算机科学 2024-11-12 Ninad Naik

Code translation is an essential task in software migration, multilingual development, and system refactoring. Recent advancements in large language models (LLMs) have demonstrated significant potential in this task. However, prior studies…

软件工程 · 计算机科学 2025-04-22 Chaofan Wang , Guanjie Qiu , Xiaodong Gu , Beijun Shen

Large Language Models (LLMs) have shown promising results in repository-level code completion, which completes code based on the in-file and cross-file context of a repository. The cross-file context typically contains different types of…

软件工程 · 计算机科学 2026-02-10 Jia Li , Hao Zhu , Huanyu Liu , Xianjie Shi , He Zong , Yihong Dong , Kechi Zhang , Siyuan Jiang , Zhi Jin , Ge Li

In this paper, we propose an LLM-empowered RM-API misuse detection solution, ChatDetector, which fully automates LLMs for documentation understanding which helps RM-API constraints retrieval and RM-API misuse detection. To correctly…

密码学与安全 · 计算机科学 2024-09-20 Yi Yang , Jinghua Liu , Kai Chen , Miaoqian Lin

Augmenting LLMs with context leads to improved performance across many applications. Despite much research on Retrieval Augmented Generation (RAG) systems, an open question is whether errors arise because LLMs fail to utilize the context…

计算与语言 · 计算机科学 2025-04-24 Hailey Joren , Jianyi Zhang , Chun-Sung Ferng , Da-Cheng Juan , Ankur Taly , Cyrus Rashtchian

Large Language Models (LLMs) have shown promise in automating code generation and software engineering tasks, yet they often struggle with complex, multi-file projects due to context limitations and knowledge gaps. We propose a novel…

软件工程 · 计算机科学 2025-08-13 Muhammad Haseeb

Applying large language models (LLMs) for academic API usage shows promise in reducing researchers' academic information seeking efforts. However, current LLM API-using methods struggle with complex API coupling commonly encountered in…