高级检索

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

    Blockchain-Coordinated Model Control and Trading Optimization for Carbon-Neutral Edge Inference

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

       

      Abstract: To achieve carbon neutrality in edge intelligent inference, we investigate the problem of online AI model selection and deployment under a carbon allowance trading mechanism, formulate it as an online stochastic optimization problem with long-term constraints, and systematically conduct algorithm design. The problem presents three 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; achieving long-term carbon neutrality under continuously fluctuating allowance prices and unpredictable future emissions is inherently difficult, and must be accomplished while simultaneously ensuring trustworthy data sharing among decentralized nodes and effectively controlling 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 algorithms 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.

       

    /

    返回文章
    返回