高级检索

    面向碳中和边缘推理的区块链协同模型控制与碳交易在线优化机制

    A Blockchain-Assisted Online Optimization Mechanism for Model Control and Carbon Trading toward Carbon-Neutral Edge Inference

    • 摘要: 为实现边缘智能推理的碳中和目标,本文聚焦于碳配额交易机制下的AI模型在线选择与部署问题,系统开展数学建模与算法设计。该问题面临四重核心挑战:连续推理数据服从未知分布,系统仅能观测基于离散样本的瞬时损失,难以直接优化全局期望目标;模型切换成本的存在使模型选择中探索与利用的权衡更加棘手;碳配额价格与系统环境持续时变,引入深度不确定性;去中心化边缘环境中各节点缺乏信任基础,使得可信记录推理损失、自动执行碳交易与控制链上交互开销之间难以兼顾。然而,现有研究尚未联合考虑上述挑战,鉴于此,本文首先构建面向长期随机成本最小化的优化模型以刻画上述复杂特性。在此基础上,本文设计了一种区块链协同的在线求解框架,通过解耦机制将原问题拆分为两个相互依赖的子问题协同求解:其一,在模型切换受限的条件下,采用基于时间块的采样策略动态平衡探索与利用,最小化期望推理损失,并设计低开销上链机制以在控制区块链交互成本前提下,将各边缘节点的推理损失上链记录,实现多方可验证的性能共享;其二,无需碳配额价格或系统碳排放的先验信息,即可制定实时且成本高效的碳配额买卖策略以达成长期碳中和目标,交易流程通过智能合约去中心化自动执行,确保过程透明与不可篡改。理论上,本文严格证明了算法的遗憾与拟合均随时间呈次线性增长;实验上,基于真实推理负载与碳市场数据的仿真评估表明,所提方案相比现有前沿技术具有显著的性能优势。

       

      Abstract: To achieve carbon neutrality in edge intelligent inference, this paper investigates the problem of online AI model selection and deployment under a carbon allowance trading mechanism, and systematically conducts mathematical modeling and algorithm design. The problem presents four core challenges: continuously arriving inference data follows an unknown distribution, and the system can only observe instantaneous losses based on discrete samples, making it difficult to directly optimize the global expected objective; the existence of model switching costs renders the exploration-exploitation tradeoff in model selection more complex; the continuously time-varying carbon allowance prices and system environment introduce deep uncertainty; and the lack of trust among nodes in a decentralized edge environment makes it difficult to simultaneously ensure trustworthy inference loss recording, automated carbon trading execution, and effective control of on-chain interaction overhead. However, existing studies have not yet jointly addressed the above challenges. To this end, we first formulate a long-term stochastic cost minimization model to characterize the aforementioned complex properties. Building on this foundation, we propose a blockchain-assisted online solution framework, which leverages a decoupling mechanism to decompose the original problem into two interdependent subproblems solved collaboratively. The first subproblem employs a block-based sampling strategy under model switching constraints to dynamically balance exploration and exploitation, minimizing the expected inference loss. Meanwhile, a lightweight on-chain recording mechanism is designed to upload inference losses from each edge node to the blockchain while strictly constraining blockchain interaction costs, thereby enabling multi-party verifiable performance sharing. The second subproblem derives real-time, cost-efficient carbon allowance trading strategies to achieve long-term carbon neutrality, requiring no prior knowledge of carbon prices or system carbon emissions, with the entire trading process executed automatically via smart contracts in a decentralized manner to ensure transparency and immutability. Theoretically, we prove that both the regret and fit of the proposed algorithm grow sublinearly over time. Experimentally, evaluations based on real-world workloads and carbon market data demonstrate that the proposed scheme achieves significant performance advantages over existing state-of-the-art techniques.

       

    /

    返回文章
    返回