paper-with-me

홈 › Papers

CoRet: Improved Retriever for Code Editing

2025-05-30 · Fabio Fehr, Prabhu Teja Sivaprasad, Luca Franceschi, Giovanni Zappella

In this paper, we introduce CoRet, a dense retrieval model designed for code-editing tasks that integrates code semantics, repository structure, and call graph dependencies. The model focuses on retrieving relevant portions of a code repository based on natural language queries such as requests to implement new features or fix bugs. These retrieved code chunks can then be presented to a user or to a second code-editing model or agent. To train CoRet, we propose a loss function explicitly designed for repository-level retrieval. On SWE-bench and Long Code Arena's bug localisation datasets, we show that our model substantially improves retrieval recall by at least 15 percentage points over existing models, and ablate the design choices to show their importance in achieving these results.

📄 PDF Abstract BibTeX arXiv:2505.24715

Code (0)

등록된 구현이 없습니다.

Tasks

Natural Language QueriesRetrieval

Similar Papers 제목 키워드 기반

CoReTab: Improving Multimodal Table Understanding with Code-driven Reasoning

2026-01-27 · Van-Quang Nguyen, Takayuki Okatani arxiv

Existing datasets for multimodal table understanding, such as MMTab, primarily provide short factual answers without explicit multi-step reasoning supervision. Models trained on these datasets often generate brief respon…

Question AnsweringFact Verification

CoreThink: A Symbolic Reasoning Layer to reason over Long Horizon Tasks with LLMs

2025-08-31 · Jay Vaghasiya, Omkar Ghugarkar, Vishvesh Bhat, Vipul Dholaria 외 arxiv

We introduce CoreThink, a state-of-the-art Reasoning Layer built upon a novel reasoning method called General Symbolics. This approach diverges from reasoning paradigms such as test-time scaling, Supervised Fine-Tuning (…

Reinforcement LearningCode Generation

Conflict-Aware Retriever Editing for Knowledge Injection Attacks on LLM-Based RAG Systems

2026-06-16 · Xinru Liu, Xianglong Zhang, Di Cai, Zhumin Chen 외 arxiv

Injecting malicious knowledge into retrieval-augmented generation (RAG) systems can manipulate retrieved evidence and mislead downstream generation, posing a serious security threat for AI applications. Existing RAG inje…

Dynamic Retriever for In-Context Knowledge Editing via Policy Optimization

2025-10-24 · Mahmud Wasif Nafee, Maiqi Jiang, Haipeng Chen, Yanfu Zhang arxiv

Large language models (LLMs) excel at factual recall yet still propagate stale or incorrect knowledge. In-context knowledge editing offers a gradient-free remedy suitable for black-box APIs, but current editors rely on s…

knowledge editing

Cross-Lingual Multi-Hop Knowledge Editing -- Benchmarks, Analysis and a Simple Contrastive Learning based Approach

2024-07-14 · Aditi Khandelwal, Harman Singh, Hengrui Gu, Tianlong Chen 외

Large language models are often expected to constantly adapt to new sources of knowledge and knowledge editing techniques aim to efficiently patch the outdated model knowledge, with minimal modification. Most prior works…

Contrastive Learningknowledge editing