2612.04270

Total: 1

#1 When Structure Hurts and Meaning Helps: Auditing the Gemma 4 Code Graph for Bug Localization [PDF] [Copy] [Kimi] [REL]

Author: Ayesha Shahzad

The Gemma 4 Developer Agent competition ships a code graph and 256-dimensional node embeddings for every task, together with three agent tools built on them. We ask: do these structures help find the functions a fix has to edit? On the 129 public tasks (117 with function-level labels), we compare nine localization methods that need no LLM calls: keyword search, issue-derived seeds, the released call graph, the released embeddings, and Personalized PageRank (PPR) over the released graph and over a richer AST graph we build. Keyword search over code identifiers puts a gold function in the top 5 for 48.7% of tasks. Every fixed PPR variant is worse, at 31.6% to 36.8% (paired exact test, p <= 0.003 in every comparison), even with richer edge types. 47% of tasks are written in plain language, and there the best structural or lexical method reaches only 29.1%. Across all 127 released graphs, connected nodes have near-identical embeddings (mean cosine 0.988) while vector similarity is uncorrelated with code text (r = 0.03), and the similarity tool cannot accept free text. In contrast, embedding the issue text with an off-the-shelf model (EmbeddingGemma-300m) puts a gold file in the top 10 for 96.6% of tasks (keyword search: 83.8%; p = 0.0001), and fusing it with keyword search puts a gold function in the top 10 for 71.8% (keyword search: 54.7%; p < 0.0001). Adding graph diffusion as an extra vote lowers this to 62.4% (p = 0.001). The bottleneck for small local agents on these tasks is semantic matching of plain-language issues, not graph navigation.

Subject: Software Engineering

Publish: 2026-12-02 18:11:35 UTC