Skip to content

##基于图神经网络的编译器优化

Aug 2026 · Zenodo (CERN European Organization for Nuclear Research)
Advanced Graph Neural Networks Graph Theory and Algorithms

Abstract

This paper proposes a novel approach to compiler optimization by leveraging the power of Graph Neural Networks (GNNs). Traditional compiler optimization techniques rely heavily on hand-crafted heuristics and static analysis, often struggling to capture complex code relationships and achieve optimal performance. We introduce a framework where compiler optimization is framed as a learning task within a GNN. Code is represented as a graph, with nodes representing individual code elements (e.g., instructions, variables) and edges representing dependencies between them. The GNN learns to propagate information across this graph, effectively capturing the intricate dependencies and potential optimization opportunities within the code. The learned representations are then utilized to guide optimization decisions, leading to improved optimization performance. This work demonstrates a promising new direction for compiler optimization, offering a more intelligent and potentially more efficient method compared to traditional approaches.

View source

Similar papers

Locality-Preserving Graph Laplacian Manifold Learning Based Model Predictive Control for Three-Phase Inverters

This article presents a model predictive control (MPC) strategy for three-phase inverters based on locality preserving projections (LPPs). Unlike conventional machine learning–based MPC approaches that rely on predefined or high-dimensional input features, the proposed LPP-MPC automatically extracts compact, informative representations by preserving the data’s intrinsic geometric structure. This dimensionality reduction enables fast linear control-law evaluation with computational complexity O(1), making the controller well-suited for real-time implementation. Experimental results demonstrate that the LPP-MPC achieves lower total harmonic distortion (THD) and reduced tracking error compared to quadratic-programming MPC under both linear and nonlinear load conditions, and the proposed controller maintains consistently lower THD throughout load transients than other methods such as two-degree-of-freedom MPC. Compared to existing model-free MPC and deep learning neural network, the LPP-MPC has the lowest THD and root mean square error with the least computational time owing to its efficient linear structure and strong generalization capability.

Jianwu Zeng, Lizheng Cheng, V. Winstead et al. · 1 citation

Related blog posts