Research map / Graph learning / Graph self-supervised learning
GALLa: Graph Aligned Large Language Models for Improved Source Code Understanding
Ziyin Zhang, Hang Yu, Shijie Li, Peng Di, Jianguo Li, Rui Wang
Shanghai Jiao Tong University · Ant Group
Read the paperPlace an idea next to itCheck your own paper ↗
AI-extracted. The measured effects below were read by AI from the paper's full text (no summary yet). Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.
Measured effects reported in the paper
| What was changed | Where | Measured | Effect |
|---|---|---|---|
| add Graph2Code graph alignment during finetuning | StarCoder 1B · Five code tasks (MFT) | average score: 14.0 -> 16.7 | Improved |
| add GraphQA on top of Graph2Code | StarCoder 1B · Five code tasks (MFT) | average score: 16.7 -> 18.9 | Improved |
| add Graph2Code + GraphQA alignment | Qwen2.5-Coder 14B · Five code tasks (MFT) | average score: 42.3 -> 46.0 | Improved |
| add Graph2Code + GraphQA alignment | CodeGen 350M · Five code tasks (MFT) | average score: 34.7 -> 36.6 | Improved |
| add GraphQA on top of Graph2Code | LLaMA2 7B · Five code tasks (MFT) | average score: 28.8 -> 27.4 | Hurt |
| add Graph2Code + GraphQA alignment | LLaMA3 8B · Five code tasks (MFT) | average score: 44.6 -> 45.4 | Improved |
| add Graph2Code alignment | Phi-1 1.3B single-task finetuning · Five tasks (SFT) | average score: 44.8 -> 45.6 | Improved |
| add GraphQA on top of Graph2Code | Phi-1 1.3B single-task finetuning · Defect detection (SFT) | accuracy: 64.8 -> 59.9 | Hurt |
| use only DFG graphs rather than both AST and DFG for Graph2Code (ablation) | Phi-1 1.3B · Five code tasks (MFT) | average score: 45.6 -> 45.5 | Hurt |
| use only AST graphs rather than both for Graph2Code (ablation) | Phi-1 1.3B · Five code tasks (MFT) | average score: 45.6 -> 44.9 | Hurt |
| provide graph information instead of code only in Graph2Code (ablation) | Phi-1 1.3B · Five code tasks (MFT) | average score: 45.0 -> 45.6 | Improved |
| replace cross-attention adapter with MLP adapter (ablation) | Phi-1 1.3B GALLa (G2C + GraphQA) · Five code tasks (MFT) | average score: 43.0 -> 44.2 | Improved |
Open problems in LLMs and graph foundation models
Can LLM-and-graph methods work beyond node classification on text-attributed graphs, at scale and without closed models?
- Does not scale to very large graphs because of context limits or compute. · 15 papers state it
- Evaluated on one or two task types, mostly node classification. · 15 papers state it
- Heterophilic, heterogeneous or dynamic graphs are untested or handled poorly. · 9 papers state it
Closest papers by meaning
- CGBridge: Bridging Code Graphs and Large Language Models for Better Structure-Aware Code Understanding (ACL 2026 · similarity 0.89)
- A Unified Graph Language Model for Multi-Domain Multi-Task Graph Alignment Instruction Tuning (NeurIPS 2026 · similarity 0.87)
- Code Graph Model (CGM): A Graph-Integrated Large Language Model for Repository-Level Software Engineering Tasks (NeurIPS 2025 · similarity 0.87)
- AlchemistCoder: Harmonizing and Eliciting Code Capability by Hindsight Tuning on Multi-source Data (NeurIPS 2024 · similarity 0.87)
- SelfCodeAlign: Self-Alignment for Code Generation (NeurIPS 2024 · similarity 0.86)
- LLaGA: Large Language and Graph Assistant (ICML 2024 · similarity 0.86)
Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.