迈向环境友好型网络安全:基于机器学习的碳与能耗指标异常检测 Towards eco friendly cybersecurity: machine learning based anomaly detection with carbon and energy metrics 预印本

⚠️ 本文为 预印本(arXiv 公开版本),尚未经过正式同行评审。作者自发公开,结论未经期刊审稿验证,阅读时请知悉。
发布时间:2025-12-31
👁️ 预览文献
💡 AI 中文简介
本研究关注AI在网络安全中的能耗问题,提出一个兼顾环保的异常检测框架。利用包含2300条流量记录的公开数据集,对比了逻辑回归、随机森林、SVM、孤立森林和XGBoost五种模型,并用CodeCarbon工具测量训练和推理时的能耗与碳排放。结果发现,优化后的随机森林和轻量逻辑回归模型能效最高,比XGBoost节能超过40%,且检测精度相当。主成分分析还能进一步降低计算量。该工作为绿色网络安全提供了可复现的方案。
领域网络安全与绿色计算交叉领域
适合谁读需要一定机器学习与网络安全背景的读者
核心贡献1. 提出一个融合实时碳与能耗追踪的环保异常检测框架;2. 构建生态效率指数(F1分数/千瓦时)量化检测质量与环境影响的权衡。
关键数据优化随机森林和轻量逻辑回归比XGBoost节能超过40%,且保持竞争性检测精度;主成分分析可进一步降低计算负载且召回率损失可忽略。
推荐理由如果你关心AI的碳足迹,又想做好网络安全,这篇论文给出了既省电又准的实用方案,值得一读!
关键词["绿色网络安全", "异常检测", "机器学习", "碳排放", "能耗指标", "生态效率"]

原文摘要

查看英文原文摘要

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.