A method for combining abstract syntax tree efficient parameter fine-tuning code model
By transforming code snippets into graph structures and constructing graph neural network adapter modules, efficient parameter fine-tuning is achieved, which solves the problem that existing methods fail to fully utilize code structure information and realizes efficient adaptation and performance improvement of the code model in downstream tasks.
Patent Information
- Application Number
- CN202410868774.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-01
- Publication Date
- 2026-04-24
- Estimated Expiration
- 2044-07-01
AI Technical Summary
Existing efficient parameter fine-tuning methods are mainly aimed at natural language processing tasks, without fully considering the special characteristics of the code, making it difficult to effectively improve the adaptability of the code model in downstream tasks.
By combining abstract syntax trees and constructing adapter modules through graph neural networks, code snippets are transformed into graph structures for efficient parameter fine-tuning. Only the parameters of the adapter modules are updated, while other parts of the code model are frozen.
It significantly improves the performance of the code model on code tasks, reduces training resources and time costs, and adapts to the needs of various downstream code tasks.