paper-with-me

홈 › Papers

CODESYNC: Synchronizing Large Language Models with Dynamic Code Evolution at Scale

2025-02-23 · Chenlong Wang, Zhaoyang Chu, Zhengxiang Cheng, Xuyi Yang, Kaiyue Qiu, Yao Wan, Zhou Zhao, Xuanhua Shi, Dongping Chen

Large Language Models (LLMs) have exhibited exceptional performance in software engineering yet face challenges in adapting to continually evolving code knowledge, particularly regarding the frequent updates of third-party library APIs. This limitation, stemming from static pre-training datasets, often results in non-executable code or implementations with suboptimal safety and efficiency. To this end, this paper introduces CODESYNC, a data engine for identifying outdated code patterns and collecting real-time code knowledge updates from Python third-party libraries. Building upon CODESYNC, we develop CODESYNCBENCH, a comprehensive benchmark for assessing LLMs' ability to stay synchronized with code evolution, which covers real-world updates for 220 APIs from six Python libraries. Our benchmark offers 3,300 test cases across three evaluation tasks and an update-aware instruction tuning dataset consisting of 2,200 training samples. Extensive experiments on 14 state-of-the-art LLMs reveal that they struggle with dynamic code evolution, even with the support of advanced knowledge updating methods (e.g., DPO, ORPO, and SimPO). We believe that our benchmark can offer a strong foundation for the development of more effective methods for real-time code knowledge updating in the future. The experimental code and dataset are publicly available at: https://github.com/Lucky-voyage/Code-Sync.

📄 PDF Abstract BibTeX arXiv:2502.16645

Code (1)

lucky-voyage/code-sync 공식 구현

Methods 이 논문이 사용한 방법론

DPO 설명 없음
Library 설명 없음

Similar Papers 제목 키워드 기반

Duncode Characters Shorter

2023-07-11 · Changshang Xue

This paper investigates the employment of various encoders in text transformation, converting characters into bytes. It discusses local encoders such as ASCII and GB-2312, which encode specific characters into shorter by…

Generating Shortest Synchronizing Sequences using Answer Set Programming

2013-12-20 · Canan Güniçen, Esra Erdem, Hüsnü Yenigün

For a finite state automaton, a synchronizing sequence is an input sequence that takes all the states to the same state. Checking the existence of a synchronizing sequence and finding a synchronizing sequence, if one exi…

ScaleMCP: Dynamic and Auto-Synchronizing Model Context Protocol Tools for LLM Agents

2025-05-09 · Elias Lumer, Anmol Gulati, Vamse Kumar Subbiah, Pradeep Honaganahalli Basavaraju 외

Recent advancements in Large Language Models (LLMs) and the introduction of the Model Context Protocol (MCP) have significantly expanded LLM agents' capability to interact dynamically with external tools and APIs. Howeve…

Learning to Wait: Synchronizing Agents with the Physical World

2025-12-18 · Yifei She, Ping Zhang, He Liu, Yanmin Jia 외 arxiv

Real-world agentic tasks, unlike synchronous Markov Decision Processes (MDPs), often involve non-blocking actions with variable latencies, creating a fundamental \textit{Temporal Gap} between action initiation and comple…

Learning to predict synchronization of coupled oscillators on randomly generated graphs

2020-12-28 · Hardeep Bassi, Richard Yim, Rohith Kodukula, Joshua Vendrow 외

Suppose we are given a system of coupled oscillators on an unknown graph along with the trajectory of the system during some period. Can we predict whether the system will eventually synchronize? Even with a known underl…