paper-with-me

홈 › Papers

RepoHyper: Search-Expand-Refine on Semantic Graphs for Repository-Level Code Completion

2024-03-10 · Huy N. Phan, Hoang N. Phan, Tien N. Nguyen, Nghi D. Q. Bui

Code Large Language Models (CodeLLMs) have demonstrated impressive proficiency in code completion tasks. However, they often fall short of fully understanding the extensive context of a project repository, such as the intricacies of relevant files and class hierarchies, which can result in less precise completions. To overcome these limitations, we present \tool, a multifaceted framework designed to address the complex challenges associated with repository-level code completion. Central to RepoHYPER is the {\em Repo-level Semantic Graph} (RSG), a novel semantic graph structure that encapsulates the vast context of code repositories. Furthermore, RepoHyper leverages Expand and Refine retrieval method, including a graph expansion and a link prediction algorithm applied to the RSG, enabling the effective retrieval and prioritization of relevant code snippets. Our evaluations show that \tool markedly outperforms existing techniques in repository-level code completion, showcasing enhanced accuracy across various datasets when compared to several strong baselines. Our implementation of RepoHYPER can be found at https://github.com/FSoft-AI4Code/RepoHyper.

📄 PDF Abstract BibTeX arXiv:2403.06095

Code (1)

fsoft-ai4code/repohyper 공식 구현 pytorch

Tasks

Code CompletionLink PredictionRetrieval

Similar Papers 제목 키워드 기반

GraphSearch: Agentic Search-Augmented Reasoning for Zero-Shot Graph Learning

2026-01-13 · Jiajin Liu, Yuanfu Sun, Dongzhe Fan, Qiaoyu Tan arxiv

Recent advances in search-augmented large reasoning models (LRMs) enable the retrieval of external knowledge to reduce hallucinations in multistep reasoning. However, their ability to operate on graph-structured data, pr…

Node ClassificationLink PredictionGraph Learning

Semantic Refinement with LLMs for Graph Representations

2025-12-24 · Safal Thapaliya, Zehong Wang, Jiazheng Li, Ziming Li 외 arxiv

Graph-structured data exhibit substantial heterogeneity in where their predictive signals originate: in some domains, node-level semantics dominate, while in others, structural patterns play a central role. This structur…

Graph Representation LearningSemantic SimilarityGraph Learning

From Chain to Tree: Refining Chain-like Rules into Tree-like Rules on Knowledge Graphs

2024-03-08 · Wangtao Sun, Shizhu He, Jun Zhao, Kang Liu

With good explanatory power and controllability, rule-based methods play an important role in many tasks such as knowledge reasoning and decision support. However, existing studies primarily focused on learning chain-lik…

Knowledge GraphsLink Prediction

HD$^2$-SSC: High-Dimension High-Density Semantic Scene Completion for Autonomous Driving

2025-11-11 · Zhiwen Yang, Yuxin Peng arxiv

Camera-based 3D semantic scene completion (SSC) plays a crucial role in autonomous driving, enabling voxelized 3D scene understanding for effective scene perception and decision-making. Existing SSC methods have shown ef…

3D Semantic Scene CompletionScene UnderstandingAutonomous Driving

EvoGraph-R1: Self-Evolving Multimodal Knowledge Hypergraphs for Agentic Retrieval

2026-07-14 · Jiashi Lin, Changhong Jiang, Xiangru Lin, Ruifei Zhang 외 arxiv

Retrieval-augmented generation (RAG) has emerged as a critical paradigm for grounding Multimodal Large Language Models (MLLMs) in external knowledge. Recent GraphRAG methods introduce structured entity-relation graphs to…

Knowledge Graphs