Submitted:
01 June 2025
Posted:
03 June 2025
You are already at the latest version
Abstract
Keywords:
1. Introduction
2. Related Work
3. Methodology
3.1. Graph Encoder
3.2. Graph Solver Network
3.3. Graph Query Preprocessing
3.4. Python Code Execution and Verification
3.5. Incorporating External Data and Augmentation
3.6. Loss Function
3.6.1. Language Generation Loss
3.6.2. Execution Correctness Loss
3.6.3. Total Loss Function
4. Data Preprocessing
4.1. Graph Data Encoding
4.2. Query Tokenization
4.3. Graph-Query Integration
5. Evaluation Metrics
5.1. Accuracy
5.2. Code Quality Score
5.3. Execution Time Efficiency
5.4. F1-Score
6. Experiment Results
7. Conclusion
References
- Wang, Y.; Yasunaga, M.; Ren, H.; Wada, S.; Leskovec, J. Vqa-gnn: Reasoning with multimodal knowledge via graph neural networks for visual question answering. In Proceedings of the IEEE/CVF International Conference on Computer Vision, 2023; pp. 21582–21592. [Google Scholar]
- Liang, J.; Wang, Y.; Li, C.; Zhu, R.; Jiang, T.; Gong, N.; Wang, T. GraphRAG under Fire. arXiv preprint 2025, arXiv:2501.14050. [Google Scholar]
- Zhang, Y.; Bhattacharya, K. Iterated learning and multiscale modeling of history-dependent architectured metamaterials. Mechanics of Materials 2024, 197, 105090. [Google Scholar] [CrossRef]
- Khademi, M. Multimodal neural graph memory networks for visual question answering. In Proceedings of the 58th Annual Meeting of the Association for Computational Linguistics, 2020; pp. 7177–7188. [Google Scholar]
- Sidiropoulos, G.; Voskarides, N.; Kanoulas, E. Knowledge graph simple question answering for unseen domains. arXiv preprint 2020, arXiv:2005.12040. [Google Scholar]
- Zhang, Y.; Hart, J.D.; Needleman, A. Identification of plastic properties from conical indentation using a bayesian-type statistical approach. Journal of Applied Mechanics 2019, 86, 011002. [Google Scholar] [CrossRef]
- Wang, Y.; Wang, A.; Wang, D.; Wang, D. Deep Learning-Based Sensor Selection for Failure Mode Recognition and Prognostics Under Time-Varying Operating Conditions. IEEE Transactions on Automation Science and Engineering 2024. [Google Scholar] [CrossRef]
- Dai, W.; Jiang, Y.; Liu, Y.; Chen, J.; Sun, X.; Tao, J. CAB-KWS: Contrastive Augmentation: An Unsupervised Learning Approach for Keyword Spotting in Speech Technology. In Proceedings of the International Conference on Pattern Recognition; Springer, 2025; pp. 98–112. [Google Scholar]
- Chen, X. Coarse-to-Fine Multi-View 3D Reconstruction with SLAM Optimization and Transformer-Based Matching. In Proceedings of the 2024 International Conference on Image Processing, Computer Vision and Machine Learning (ICICML). IEEE; 2024; pp. 855–859. [Google Scholar]
- Jin, T. Attention-based temporal convolutional networks and reinforcement learning for supply chain delay prediction and inventory optimization. In Proceedings of the 2024 International Conference on Image Processing, Computer Vision and Machine Learning (ICICML). IEEE; 2024; pp. 1527–1531. [Google Scholar]




| Model | Accuracy | Code Quality | Execution Time Efficiency (s) | F1-Score |
| Gemini-GraphQA | 0.92 | 0.95 | 1.2 | 0.91 |
| TGA | 0.85 | 0.87 | 0.8 | 0.83 |
| PCGM | 0.88 | 0.89 | 2.5 | 0.85 |
| Model Variant | Accuracy | Code Quality | Execution Time Efficiency (s) | F1-Score |
| Gemini-GraphQA | 0.92 | 0.95 | 1.2 | 0.91 |
| Without Execution Loss | 0.88 | 0.93 | 1.3 | 0.87 |
| Without Graph Encoder | 0.84 | 0.85 | 1.5 | 0.82 |
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2025 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (http://creativecommons.org/licenses/by/4.0/).