Self-Attention Policy Optimization for Task Offloading and Resource Allocation in Low-Carbon Agricultural Consumer Electronic Devices

Date

2025-04-23

Department

Program

Citation of Original Publication

Huang, Yi, Jisong Zeng, Yanting Wei, Miaojiang Chen, Wenjing Xiao, Yang Yang, Zhiquan Liu, Ahmed Farouk, and Houbing Herbert Song. “Self-Attention Policy Optimization for Task Offloading and Resource Allocation in Low-Carbon Agricultural Consumer Electronic Devices.” IEEE Transactions on Consumer Electronics, 2025, 1–1. https://doi.org/10.1109/TCE.2025.3563421.

Rights

© 2025 IEEE. Personal use of this material is permitted. Permission from IEEE must be obtained for all other uses, in any current or future media, including reprinting/republishing this material for advertising or promotional purposes, creating new collective works, for resale or redistribution to servers or lists, or reuse of any copyrighted component of this work in other works.

Abstract

In recent years, the widespread use of edge agricultural consumer electronics has greatly contributed to the level of intelligence in agricultural production, bringing higher efficiency and quality. However, offloading all tasks to the cloud incurs significant latency and resource waste, while relying solely on edge computing fails to meet the computational demands of the entire system. To solve the above problems, we introduce the device-edge-cloud (DEC) three-layer architecture, where agri-consumer electronics devices can partially offload tasks to the edge, and the edge can partially offload tasks to the cloud, i.e., agri-consumer electronics can realize device-edge-cloud collaborative computation. Second, we model the joint computation offloading and resource allocation optimization problem as a non-convex optimization and propose a novel Self-Attention Policy Optimization (SAPO) algorithm to solve it. Experiments show that the joint optimization performance of the proposed SAPO exceeds the baseline, and it is suitable for many different models. Compared with fully connected networks, it has better convergence and robustness, with a convergence speed 50% faster than the fully connected networks. The proposed SAPO algorithm has good scalability and adaptability, and has the potential to be extended to smart agricultural computing scenarios with non-convex optimization.