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

人工智能教育中的推理能耗与延迟:边缘与云模型的学习-瓦特分析

Inference Energy and Latency in AI-Mediated Education: A Learning-per-Watt Analysis of Edge and Cloud Models

Billabong High International School(比拉邦高中国际学校)

Kushal Khemani

AI总结:

本文通过对比微软Phi-3 Mini在NVIDIA T4 GPU上的FP16和NF4量化方法,研究了AI教学中的能耗与延迟权衡,提出学习-瓦特指标,发现NF4在能耗上更优但延迟更高,FP16在实际部署中更具优势。

摘要:

即时反馈是有效AI教学的基础要求,但其能耗和延迟成本尚未被深入研究。本研究通过对比微软Phi-3 Mini在NVIDIA T4 GPU上的FP16和NF4量化方法,探讨了AI辅导中的延迟-能耗-学习权衡。两种方法在KV缓存启用下,针对500个涵盖五个中学学科领域的教育提示进行评估。通过混合评审团对生成的1000个回答进行教学质量评估,引入学习-瓦特(LpW)指标,量化单位能耗下的教学价值。在实际部署中,NF4的每推理能耗低于FP16(329 J vs. 369 J),但延迟更高(13.4 s vs. 9.2 s),导致FP16在LpW上略占优势(1.33x),质量差异为0.19分。在缓存禁用推理(用于离线评估但不在实际部署中)时,差距扩大至7.4x,FP16优势被高估超过五倍。量化效率依赖于硬件和推理模式,对低资源环境中的公平AI教学部署有重要影响。

英文摘要:

Immediate feedback is a foundational requirement of effective AI-mediated learning, yet the energy and latency costs of delivering it remain largely unexamined. This study investigates the latency-energy-learning trade-off in AI tutoring through an empirical comparison of two on-device inference configurations of Microsoft Phi-3 Mini (4k-instruct) on an NVIDIA T4 GPU: full-precision FP16 and 4-bit NormalFloat (NF4) quantisation. Both were evaluated under KV-cache-enabled inference across 500 educational prompts spanning five secondary school subject domains. Pedagogical quality was assessed for each of the 1000 generated responses by a hybrid panel of 10 Cambridge International teachers and three frontier AI systems using a four-dimension rubric. We introduce Learning-per-Watt (LpW), a novel metric quantifying pedagogical value per unit of energy over the learner's waiting window. Under realistic deployment, NF4 achieves lower per-inference energy than FP16 (329 J vs. 369 J) but higher latency (13.4 s vs. 9.2 s), yielding a modest FP16 advantage in LpW of 1.33x at a quality difference of 0.19 points. Under cache-disabled inference -- used in offline evaluation but absent from real deployments -- the gap widens to 7.4x, overstating the FP16 advantage by more than fivefold. Quantisation efficiency is hardware-dependent and inference-regime dependent, with significant implications for equitable AI tutoring deployment in low-resource settings.

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

↑