迈向环保型网络安全:基于机器学习的异常检测与碳和能耗指标
Towards eco friendly cybersecurity: machine learning based anomaly detection with carbon and energy metrics
AI总结:
本研究提出一种结合碳和能耗指标的环保型网络安全框架,通过优化机器学习模型提升检测效率并降低环境影响。
摘要:
人工智能日益增长的能量足迹已成为美国数据中心排放可测量的组成部分,然而网络安全研究很少考虑其环境成本。本研究介绍了一个环保意识的异常检测框架,将基于机器学习的网络监控与实时碳和能耗跟踪相结合。使用公开可用的Carbon Aware Cybersecurity Traffic Dataset,包含2300个流量级别观测,我们在能量、碳和性能维度上对逻辑回归、随机森林、支持向量机、孤立森林和XGBoost模型进行基准测试。每个实验都在受控的Colab环境中执行,该环境配备了CodeCarbon工具包,以量化训练和推理期间的电力消耗和等效CO2输出。我们构建了一个环保效率指数,用F1分数每千瓦时来捕捉检测质量和环境影响之间的权衡。结果表明,优化的随机森林和轻量级逻辑回归模型在环保效率上最高,相比XGBoost减少了超过40%的能耗,同时保持了竞争性的检测准确性。主成分分析进一步减少了计算负载,同时召回率损失微不足道。总体而言,这些发现表明,将碳和能耗指标整合到网络安全工作中,可以在不牺牲运营保护的情况下实现环境责任的机器学习。所提出的框架提供了一条可重复利用的路径,朝着可持续的碳责任网络安全迈进,符合新兴的美国绿色计算和联邦能源效率计划。
英文摘要:
The rising energy footprint of artificial intelligence has become a measurable component of US data center emissions, yet cybersecurity research seldom considers its environmental cost. This study introduces an eco aware anomaly detection framework that unifies machine learning based network monitoring with real time carbon and energy tracking. Using the publicly available Carbon Aware Cybersecurity Traffic Dataset comprising 2300 flow level observations, we benchmark Logistic Regression, Random Forest, Support Vector Machine, Isolation Forest, and XGBoost models across energy, carbon, and performance dimensions. Each experiment is executed in a controlled Colab environment instrumented with the CodeCarbon toolkit to quantify power draw and equivalent CO2 output during both training and inference. We construct an Eco Efficiency Index that expresses F1 score per kilowatt hour to capture the trade off between detection quality and environmental impact. Results reveal that optimized Random Forest and lightweight Logistic Regression models achieve the highest eco efficiency, reducing energy consumption by more than forty percent compared to XGBoost while sustaining competitive detection accuracy. Principal Component Analysis further decreases computational load with negligible loss in recall. Collectively, these findings establish that integrating carbon and energy metrics into cybersecurity workflows enables environmentally responsible machine learning without compromising operational protection. The proposed framework offers a reproducible path toward sustainable carbon accountable cybersecurity aligned with emerging US green computing and federal energy efficiency initiatives.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。