arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2610.21833cs.LG
收藏

面向实时边缘推理的物理感知网格基础模型蒸馏

Physics-Aware Distillation of a Grid Foundation Model for Real-Time Edge Inference

National University of Science and Technology POLITEHNICA Bucharest(布加勒斯特理工国立大学);Aalborg University(奥尔堡大学);AAU Energy(奥尔堡大学能源学院)

Vlad Alexandru Sănduleac, Shahariya Rasheed Rayamarakkarveettil Puthanpurayil, Noman Khan, Remus Teodorescu

AI总结:

本研究将20.1M参数的12层GridFM教师模型蒸馏为0.62M参数的6层学生模型,参数减32.5倍,经实验验证其在有功、无功功率调度等预测任务上精度提升,可用于边缘设备实时推理。

摘要:

网格基础模型(GridFMs)是基于 masked 潮流目标预训练的图变换器,其评估潮流的速度比迭代求解器快几个数量级。然而,它们的规模针对数据中心推理设计,而低惯性运行场景越来越要求在边缘侧(紧邻测量设备)进行推理,需满足批量大小为1、且在单个同步相量(PMU)上报帧内完成的要求。我们将一个参数规模为2010万、层数为12的GridFM教师模型,蒸馏为参数规模0.62万、层数为6的学生模型,参数减少了32.5倍,消息传递深度减半,所采用的目标函数结合了 masked 潮流损失与输出、物理残差、隐状态及注意力迁移。其中,匹配教师模型功率残差分布的物理残差项,此前尚未应用于类型化电网图。我们在IEEE 118节点基准电网的可再生能源变体上进行评估,该变体将26台传统同步发电机替换为具备电池灵活性及IEEE 1547标准无功功率限制的逆变器型可再生能源,共得到97529个物理上有效的交流最优潮流可行运行场景,并对8种迁移项组合进行了 ablation 实验,分别报告了相对于真实值的精度及对教师模型的保真度。蒸馏后学生模型在所有4个预测量上的误差均降低,有功功率调度的误差最高降低48%,且所有蒸馏后的学生模型在无功功率调度上的精度均高于其教师模型,该增益主要由输出匹配项带来;而本研究中采用的层聚合形式的物理残差项始终有害,我们将其归因于该方法对节点级残差场进行的空间平均。最终得到的学生模型参数规模减少32.5倍、消息传递深度减半,可作为后续边缘设备基准测试的候选模型。

英文摘要:

Grid foundation models (GridFMs) are graph transformers pretrained on a masked power-flow objective, and evaluate power flow orders of magnitude faster than an iterative solver. Their size, however, targets data-centre inference, whereas low-inertia operation increasingly asks for inference at the edge, next to the measurement, at batch size one and within a single synchrophasor (PMU) reporting frame. We distil a 20.1M-parameter, 12-layer GridFM teacher into a 0.62M-parameter, 6-layer student, a $32.5\times$ parameter reduction at half the message-passing depth, using an objective that combines the masked power-flow loss with output, physics-residual, latent-state and attention transfer. The physics-residual term, which matches the teacher's power-residual profile, has not previously been applied to typed power-grid graphs. We evaluate on a renewable variant of the IEEE 118-bus benchmark grid in which 26 of the conventional (synchronous) generators are replaced by inverter-based renewables with battery flexibility and standardised reactive-power limits (IEEE 1547), giving $97\,529$ physically valid (AC-OPF-feasible) operating scenarios, and we ablate all eight combinations of the transfer terms, reporting accuracy against ground truth and fidelity to the teacher separately. Distillation lowers student error on all four predicted quantities, by up to $48\%$ on active-power dispatch, and every distilled student is more accurate than its teacher on reactive-power dispatch. The gain is largely carried by the output matching term. The physics-residual term, in the layer-aggregated form used here, is consistently harmful, which we attribute to the spatial averaging it applies to a bus-level residual field. The resulting student is $32.5\times$ smaller in parameter count and has half the message-passing depth, making it a candidate for subsequent edge-device benchmarking.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑