프로필

설정

불러오는 중…

← 홈

도움말·문의

자주 묻는 질문

어떤 기능에 로그인이 필요한가요?

공개 논문의 해설과 논문 정보, 모델 구조, 관련 논문, 용어는 로그인 없이 볼 수 있습니다. 논문 올리기, 내 보관함, 읽기 기록, 논문 평가, 관심 분야 추천, 메일과 알림은 로그인해야 쓸 수 있습니다.

PDF 파일로도 올릴 수 있나요?

논문은 arXiv나 DOI 링크로 올리고, 해설은 모두에게 공개됩니다. 출처와 이용 조건이 확인되지 않아 해설을 공개할 수 없는 논문은 올릴 수 없습니다. PDF 파일 올리기와 나만 보기는 구독 회원만 쓸 수 있고, 파일로 올린 논문은 나만 보기로만 저장합니다. 제목으로 공식 정보를 찾는 검색은 버튼을 누를 때만 합니다.

그림과 AI 해설은 정확한가요?

그림은 논문 원본만 쓰고 이용 허락이 확인된 것만 보여 줍니다. 해설은 AI가 쓴 글이라 틀릴 수 있습니다. 중요한 주장과 수치, 그림의 맥락은 원문 근거로 확인해 주세요.

저작권 문제를 알리고 싶어요.

이용 조건과 원문 출처는 논문 정보 탭에 있습니다. 문제가 있으면 ‘문의하기’에서 ‘논문 내용·그림·저작권’을 골라 논문 링크와 문제가 되는 부분, 권리를 확인할 수 있는 근거를 보내 주세요. 접수만으로 권리가 확정되거나 바로 삭제되지는 않습니다. 검토 결과는 ‘내 문의’에서 볼 수 있습니다.

비밀번호를 잊었어요.

이메일로 가입했다면 로그인 창의 비밀번호 찾기에서 인증한 이메일로 다시 설정할 수 있습니다. Google, 네이버, 카카오로 가입했다면 그 서비스에서 비밀번호를 바꿔 주세요.

문의할 때 무엇을 적어야 하나요?

어느 화면에서 무엇을 하다 생긴 문제인지 논문 링크와 함께 적어 주세요. 비밀번호, API 키, 인증 코드, 전화번호 같은 개인정보는 적지 마세요. 문의와 답변은 Refivu에 저장되고 ‘내 문의’에서 볼 수 있습니다.

회원탈퇴는 어떻게 하나요?

설정의 내 계정에서 회원탈퇴를 누르세요. 지워지는 내용을 확인하고 본인 확인을 마치면 탈퇴됩니다. 다른 요청은 ‘문의하기’에서 ‘계정’을 골라 남겨 주세요.

논문 해설

GraphScent: Calibrating Directional Relevance Signals for Bounded-Context Code Localization

GraphScent: 제한된 컨텍스트를 위한 코드 로컬라이제이션의 방향성 관련도 신호 보정

  • 연구 문제 정적 그래프 중심성은 BM25보다 낮게 나타나 저장소 구조만으로는 로컬라이제이션이 부족합니다.
  • 연구 방법 호출 방향별 LLM 관련도 신호를 보정한 로그우도비로 양의 관계만 따라 전파하는 학습 없는 탐색을 씁니다.
  • 주요 결과 BM25-Hard에서 31B 모델의 LW@1은 GraphScent 23.4%, Flat BM25 12.8%를 기록했습니다.

정적 그래프 중심성의 한계

수정 대상이 아닌 코드 엔티티를 로컬 LLM으로 판정했을 때, 어떤 구조 관계가 근처 수정 대상에 대한 진단 신호가 되는지가 이 연구의 출발점입니다. 기존 저장소 탐색 연구들은 방향성 있는 코드 그래프나 Personalized PageRank를 사용하지만, 이 논문은 정적 그래프 중심성만으로는 BM25보다 낮은 MRR을 보인다는 점을 먼저 확인했습니다. 공개 벤치마크 호출 그래프는 100.0%의 비자기 간선이 역방향으로도 저장되어 호출 방향이 지워져 있었고, 27.3%의 후보 엔티티는 차수가 0이었습니다. 그래서 연구는 실시간으로 만든 Typed-AST 멀티그래프와 LLM 판정을 결합하는 방향으로 질문을 옮깁니다.

Figure 1: Structural graph audit and multi-file co-edit gap. (a)Audit of the supplied Oct 13 bench-
mark call graphs against our runtime Typed-AST multigraph (…

Figure 1 :Structural graph audit and multi-file co-edit gap. (a)Audit of the supplied Oct 13 bench- mark call graphs against our runtime Typed-AST multigraph (n= 113 public tasks), together with static BM25 and Personalized PageRank (PPR) MRR.(b)Single-trajectory 31B issue-resolution drop from 1-file (39.1%) to 3+-file patches (9.4%), alongside post-edit AST Ripple missed reference-file recall (50.0%on31B) and zero-shot ripple-judgeAUROC(65.9%on12B).

원문 · CC BY 4.0 · Ramesh Arvind Naagarajan · GraphScent: Calibrating Directional Relevance Signals for Bounded-Context Code Localization · 원문 그림 인용 · 원본 PDF 4쪽에서 그림 영역을 추출했습니다.
Table 2: Static retrieval controls (zero LLM calls) on Typed-AST multigraphs across public_113,
post2025_98, and pooled_211. Even on fully connected directed…

Table 2 : Static retrieval controls (zero LLM calls) on Typed-AST multigraphs across public_113, post2025_98, and pooled_211. Even on fully connected directed Typed-AST graphs, static undirected and directed Personalized PageRank (PPR) fail to improve upon plain lexical BM25.

원문 · CC BY 4.0 · Ramesh Arvind Naagarajan · GraphScent: Calibrating Directional Relevance Signals for Bounded-Context Code Localization · 원문 그림 인용 · 원본 PDF 5쪽에서 그림 영역을 추출했습니다.

방향별 관련도 신호의 비대칭

이 논문은 미편집 이웃 r에 대해 LLM이 매긴 관련도 점수 S가 어휘적 far distractor보다 높을 확률을 Scent(r)로 정의합니다. Scent(r)은 Mann–Whitney 확률(AUROC)이며, 동점은 절반으로 계산됩니다. 0.50은 어휘 유사도 이상의 판별이 없음을, 0.50을 넘는 값은 수정 대상 쪽으로의 양의 근접 신호를 뜻합니다. pooled_211에서 parent는 E4B, 12B, 31B에서 각각 0.643, 0.713, 0.719를 보였고 called_by는 0.600, 0.641, 0.623을 보였습니다. 반면 calls는 0.477, 0.483, 0.487로 우연 수준에 가까웠습니다.

저자들은 이것이 호출하는 쪽의 상위 엔트리포인트가 결함 루틴을 위임하기 때문이라고 해석합니다.

Table 3: Multi-scale T= 0 directional relevance scent (AUROC vs. 1,266 hard BM25 far distractors;
1,000-resample task-cluster bootstrap 95% CIs on pooled_211,…

Table 3 : Multi-scale T= 0 directional relevance scent (AUROC vs. 1,266 hard BM25 far distractors; 1,000-resample task-cluster bootstrap 95% CIs on pooled_211, plus panel split). Non-AST channels (knear_qwen,cochange,knear_comp256) are measured onpublic_113.

원문 · CC BY 4.0 · Ramesh Arvind Naagarajan · GraphScent: Calibrating Directional Relevance Signals for Bounded-Context Code Localization · 원문 그림 인용 · 원본 PDF 6쪽에서 그림 영역을 추출했습니다.
Figure 2: Directional relevance asymmetry across model scales and disjoint repository panels.
Point estimates and 95% task-cluster bootstrap CIs for Scent(r) o…

Figure 2 :Directional relevance asymmetry across model scales and disjoint repository panels. Point estimates and 95% task-cluster bootstrap CIs for Scent(r) on(a) public_113 (4 repositories) and(b)temporally held-out post2025_98 (82 repositories). Enclosing scopes ( parent) and up- stream callers (called_by) consistently exceed the 0.50 distractor baseline and τ= 0.55 gate across E4B,12B, and31B, whereas downstream callees (calls) remain near0.48–0.51.

원문 · CC BY 4.0 · Ramesh Arvind Naagarajan · GraphScent: Calibrating Directional Relevance Signals for Bounded-Context Code Localization · 원문 그림 인용 · 원본 PDF 6쪽에서 그림 영역을 추출했습니다.

마스킹과 어휘·길이 통제

parent와 called_by의 신호가 대상 코드 누출이나 어휘 겹침 때문인지 확인하기 위해 저자들은 여러 통제를 두었습니다. parent_gold_masked는 gold 자식 메서드의 모든 줄을 생략 표시로 바꾸었고, parent_header_doc은 메서드 본문을 제거했습니다. 이 경우에도 parent의 Scent는 E4B 0.654, 12B 0.700 또는 0.716, 31B 0.700 또는 0.728 수준을 유지했습니다. called_by와 calls의 비교에서는 span이 겹치지 않는 노드만 남겼을 때 E4B 0.630, 12B 0.652, 31B 0.629의 AUROC를 보였고, 길이와 BM25를 통제한 OLS에서도 caller 기울기가 양수였습니다.

Table 4: Zero-leakage parent controls and span-disjoint, lexical, and length controls for called_by
vs.callsonpooled_211(95%task-cluster bootstrap CIs in brack…

Table 4 : Zero-leakage parent controls and span-disjoint, lexical, and length controls for called_by vs.callsonpooled_211(95%task-cluster bootstrap CIs in brackets).

원문 · CC BY 4.0 · Ramesh Arvind Naagarajan · GraphScent: Calibrating Directional Relevance Signals for Bounded-Context Code Localization · 원문 그림 인용 · 원본 PDF 7쪽에서 그림 영역을 추출했습니다.
Table 7: Panel-by-panel zero-leakage masked- parent controls and BM25-stratified span-disjoint
called_bycontrols acrossE4B,12B, and31B

Table 7 : Panel-by-panel zero-leakage masked- parent controls and BM25-stratified span-disjoint called_bycontrols acrossE4B,12B, and31B.

원문 · CC BY 4.0 · Ramesh Arvind Naagarajan · GraphScent: Calibrating Directional Relevance Signals for Bounded-Context Code Localization · 원문 그림 인용 · 원본 PDF 15쪽에서 그림 영역을 추출했습니다.

보정된 방향성 전파와 탐색 절차

GraphScent는 학습 없는 탐색 컨트롤러로, 세 단계로 작동합니다. 먼저 정규화된 BM25 점수에 스케일 α를 곱해 각 후보의 초기 로그 믿음 b0(v)을 둡니다. 다음으로 저장소 밖의 교정 데이터에서 라플라스 평활된 순서형 우도를 맞추고, 관계별 로그우도비 ℓr(s)를 얻습니다. 양의 scent 관계 집합 R+는 Scent_cal(r)≥0.55인 관계로 정하며, 실제로 parent와 called_by가 선택되고 calls는 제외됩니다. 탐색 중에는 UCB 방식으로 노드 u_t를 골라 Gemma 4 프로브를 상태 없이 실행하고, 그 점수 s_t에 따라 자기 자신과 R+ 관계의 이웃에 로그우도비를 더합니다.

Figure 3: System architecture of GraphScent and AST Ripple.Stage 0 parses repository Python
files into a directed Typed-AST multigraph (median 0.17s on CPU) an…

Figure 3 :System architecture of GraphScent and AST Ripple.Stage 0 parses repository Python files into a directed Typed-AST multigraph (median 0.17s on CPU) and initializes lexical BM25 log-beliefs. Offline out-of-repository calibration fits ordinal log-likelihood ratios ℓr(s) and gates propagation to R+ ={r: Scent cal(r)≥0.55} (parent→child , caller→callee ). Stage 1 executes B= 24 stateless T= 0 folded-view probes (<21.5GiB single-GPU VRAM), Stage 2 resolves discrete score ties via a single top-6 listwise commitment call, and Stage 3 runs post-edit AST Ripple(∼160tokens) to surface unedited callers and overrides.

원문 · CC BY 4.0 · Ramesh Arvind Naagarajan · GraphScent: Calibrating Directional Relevance Signals for Bounded-Context Code Localization · 원문 그림 인용 · 원본 PDF 8쪽에서 그림 영역을 추출했습니다.
Table 6: Fitted Laplace-smoothed log-likelihood ratios ℓr(s) for s∈ {0,1,2,3} on public_113
(used zero-shot on post2025_98) and empirical far-distractor score…

Table 6 : Fitted Laplace-smoothed log-likelihood ratios ℓr(s) for s∈ {0,1,2,3} on public_113 (used zero-shot on post2025_98) and empirical far-distractor score distributions across Gemma 4 scales.

원문 · CC BY 4.0 · Ramesh Arvind Naagarajan · GraphScent: Calibrating Directional Relevance Signals for Bounded-Context Code Localization · 원문 그림 인용 · 원본 PDF 15쪽에서 그림 영역을 추출했습니다.

BM25-Hard 탐색 결과

B=24 예산에서 31B 모델의 BM25-Hard 부분집합(n=94)에서 GraphScent는 LW@1 23.4%를 기록했고, Flat BM25는 12.8%였습니다. 전체 211개 과제에서는 차이가 +1.9에서 +2.4pp로 작아졌습니다. 같은 31B 조건에서 Fixed-Dir는 BM25-Hard LW@1 20.2%였고, GraphScent와의 차이는 +3.2pp이며 신뢰구간이 0을 포함합니다. E4B에서는 교정 없는 Fixed-Dir의 Found@24가 66.8%였으나 GraphScent는 70.6%를 기록했습니다.

Figure 4: Phase diagram and live T= 0 localization results. (a) 5,760-run linear-diffusion phase
diagram showing ∆Found@24 (percentage points) across direct ju…

Figure 4 :Phase diagram and live T= 0 localization results. (a) 5,760-run linear-diffusion phase diagram showing ∆Found@24 (percentage points) across direct judge AUROC(goldvs.far) and neighbor edge scent, overlaid with empirical Gemma 4 operating points.(b)Overall Commit@1 across all 211 tasks (B= 24 ).(c) BM25-Hard (rank>10 , n= 94 ) Commit@1 comparing Flat BM25,Undir-AST,Fixed-Dir, andGraphScent.

원문 · CC BY 4.0 · Ramesh Arvind Naagarajan · GraphScent: Calibrating Directional Relevance Signals for Bounded-Context Code Localization · 원문 그림 인용 · 원본 PDF 9쪽에서 그림 영역을 추출했습니다.
Table 8: Complete live T= 0 localization results across all methods and single-component ablations
onpooled_211atB= 24andB= 15

Table 8 : Complete live T= 0 localization results across all methods and single-component ablations onpooled_211atB= 24andB= 15.

원문 · CC BY 4.0 · Ramesh Arvind Naagarajan · GraphScent: Calibrating Directional Relevance Signals for Bounded-Context Code Localization · 원문 그림 인용 · 원본 PDF 16쪽에서 그림 영역을 추출했습니다.
Table 9: Key paired bootstrap comparisons ( 2,000 resamples) for GraphScent at B= 24 on
pooled_211, reporting exact task-level Wins / Losses / Ties and two-sid…

Table 9 : Key paired bootstrap comparisons ( 2,000 resamples) for GraphScent at B= 24 on pooled_211, reporting exact task-level Wins / Losses / Ties and two-sided bootstrap p-values.

원문 · CC BY 4.0 · Ramesh Arvind Naagarajan · GraphScent: Calibrating Directional Relevance Signals for Bounded-Context Code Localization · 원문 그림 인용 · 원본 PDF 16쪽에서 그림 영역을 추출했습니다.

사후 편집 점검의 회수율

AST Ripple은 편집 초안의 수정된 함수와 클래스 시그니처를 그래프에 질의해 수정되지 않은 직접 호출자와 override를 찾는 보조 도구입니다. 31B의 두 실행에서 미해결 multi-file 과제 중 누락된 reference-patch 파일을 찾은 비율은 11/22, 즉 50.0%였습니다. E4B에서는 21/71, 즉 29.6%였습니다. 이 수치는 누락된 참조 파일을 회수한 비율이며, 테스트 스위트를 통과해 해결했다는 증거가 아닙니다. 저자들은 이 점을 closed-loop 테스트 개선이 향후 과제라고 밝힙니다.

시간 분리와 적용 범위

이 연구의 실험은 Python 저장소 211개 과제, 86개 저장소에 한정되며 Gemma 4의 E4B, 12B, 31B 세 규모에서만 측정했습니다. post2025_98은 public_113과 저장소가 겹치지 않지만, 시간 분리만으로 pre-training 비노출을 보장할 수 없다고 저자들이 밝힙니다. 또한 LoRA fine-tuning 실험에서는 1-hop 구조 이웃 Scent가 0.570에서 0.536으로 낮아졌습니다. 이는 커밋 패치 기반 이진 거부 학습이 미편집 호출자의 점수를 억제했다는 관찰입니다.

Table 11: Controlled comparison on 1,540public_113 nodes across frozen Gemma 4 31B
(thinking=off),thinking=on, and rank-16 commit-patch LoRA fine-tuning

Table 11 : Controlled comparison on 1,540public_113 nodes across frozen Gemma 4 31B (thinking=off),thinking=on, and rank-16 commit-patch LoRA fine-tuning.

원문 · CC BY 4.0 · Ramesh Arvind Naagarajan · GraphScent: Calibrating Directional Relevance Signals for Bounded-Context Code Localization · 원문 그림 인용 · 원본 PDF 17쪽에서 그림 영역을 추출했습니다.

논문 정보

저자
Ramesh Arvind Naagarajan
학회·저널
arXiv · 프리프린트
최초 공개일
2026년 11월 12일
등록일
2026년 11월 16일
수정일
2026년 11월 12일
버전
v1
arXiv
2611.17527
분류
cs.SE · cs.AI
원문 이용 조건
CC BY 4.0
제공 범위
논문 정보, 해설, 허용된 원문 그림

AI 해설은 논문 원문과 별개의 설명이며 오류가 있을 수 있습니다. 원문과 그림은 각 출처의 이용 조건과 따로 표시된 권리를 따릅니다.

초록

Running open-weight language models locally on a single consumer GPU requires replacing expanding multi-turn exploration histories with short, stateless code inspections. Stateless repository localization, however, hinges on a foundational question: when a frozen language model evaluates an unedited code entity from a compact view, which structural relationships make its relevance judgment informative about a nearby repair target? Studying Gemma 4 models across 211 real-world Python issues in 86 repositories, we uncover a systematic directional relevance asymmetry: zero-temperature relevance scores on enclosing scopes and upstream callers consistently separate true structural neighbors from hard lexical distractors, whereas scores on downstream callees, peer methods, historical co-change partners, and dense node embeddings remain near chance. Zero-leakage masked-scope probes and regressions controlling for lexical similarity and snippet length confirm that this asymmetry reflects functional role (callers expose symptom entrypoints delegating to defective routines, while downstream helpers appear benign alone) rather than target leakage or surface overlap. Guided by this finding, we introduce GraphScent, a training-free search controller that propagates out-of-repository, relation-conditioned log-likelihood ratios over runtime Typed-AST multigraphs before resolving ties via a single listwise comparison, alongside AST Ripple, a lightweight post-edit check for missed co-edits. Likelihood calibration prevents overconfident smaller models from chasing false-positive callers while lifting exact localization on lexically hard targets from 12.8 to 23.4 percent at 31B within a single-GPU budget.

원문 인용

Ramesh Arvind Naagarajan (2026). GraphScent: Calibrating Directional Relevance Signals for Bounded-Context Code Localization. arXiv:2611.17527v1. https://arxiv.org/abs/2611.17527v1

BibTeX
@misc{naagarajan2026graphscent,
  title = {{GraphScent: Calibrating Directional Relevance Signals for Bounded-Context Code Localization}},
  author = {Ramesh Arvind Naagarajan},
  year = {2026},
  eprint = {2611.17527},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.17527v1}
}

관련 논문 보기다른 논문 둘러보기

논문 미리 보기
계정 보안

Google 계정 연결

Google 계정을 연결하면 그 계정으로도 로그인할 수 있습니다.

Refivu

회원탈퇴

Refivu
Refivu

회원가입