arXiv:2601.00893cs.CRcs.CY2026-01被引 10

给网络安全模型加碳排放指标,让高效检测也环保

Towards eco friendly cybersecurity: machine learning based anomaly detection with carbon and energy metrics

  • 用真实能耗数据评估五种模型的环保表现
  • 轻量模型比XGBoost省电超40%且准确率不降
  • 适合关注绿色AI和可持续安全的研究者

人工智能的能源消耗已成美国数据中心排放的重要部分,但网络安全研究很少考虑其环境成本。本研究提出一种融合机器学习网络监控与实时碳/能耗追踪的生态友好型异常检测框架。基于包含2300条流级观测的公开数据集Carbon Aware Cybersecurity Traffic Dataset,我们在受控的Colab环境中使用CodeCarbon工具包,对逻辑回归、随机森林、支持向量机、孤立森林和XGBoost五种模型在能耗、碳排放和性能维度进行基准测试。通过训练和推理阶段的电力消耗与等效二氧化碳排放量量化,构建了每千瓦时对应的F1分数(Eco Efficiency Index)来权衡检测质量与环境影响。结果表明,优化后的随机森林和轻量级逻辑回归模型生态效率最高,相比XGBoost降低超过40%能耗,同时保持良好检测准确率。主成分分析进一步降低计算负载,召回率损失可忽略。研究证明,在网络安全流程中整合碳与能耗指标,可在不牺牲防护能力的前提下实现环境友好型机器学习。该框架为符合美国绿色计算和联邦能效政策的可复现可持续安全路径提供了支持。

原文摘要 · Abstract (English)

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能耗评估模型优化

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。