[Paper Review] Design and Comparison of Reward Functions in Reinforcement Learning for Energy Management of Sensor Nodes
This paper designs and evaluates seven reward functions for Q-learning-based energy management in wireless sensor nodes, demonstrating that adaptive reward functions (R6 and R7) with dynamic balancing parameters significantly improve energy efficiency and reduce learning time by optimizing the trade-off between performance and energy consumption based on battery state of charge.
Interest in remote monitoring has grown thanks to recent advancements in Internet-of-Things (IoT) paradigms. New applications have emerged, using small devices called sensor nodes capable of collecting data from the environment and processing it. However, more and more data are processed and transmitted with longer operational periods. At the same, the battery technologies have not improved fast enough to cope with these increasing needs. This makes the energy consumption issue increasingly challenging and thus, miniaturized energy harvesting devices have emerged to complement traditional energy sources. Nevertheless, the harvested energy fluctuates significantly during the node operation, increasing uncertainty in actually available energy resources. Recently, approaches in energy management have been developed, in particular using reinforcement learning approaches. However, in reinforcement learning, the algorithm's performance relies greatly on the reward function. In this paper, we present two contributions. First, we explore five different reward functions to identify the most suitable variables to use in such functions to obtain the desired behaviour. Experiments were conducted using the Q-learning algorithm to adjust the energy consumption depending on the energy harvested. Results with the five reward functions illustrate how the choice thereof impacts the energy consumption of the node. Secondly, we propose two additional reward functions able to find the compromise between energy consumption and a node performance using a non-fixed balancing parameter. Our simulation results show that the proposed reward functions adjust the node's performance depending on the battery level and reduce the learning time.
Motivation & Objective
- To identify optimal reward function components for energy management in energy-harvesting sensor nodes.
- To evaluate the impact of different reward function designs on Q-learning performance in managing energy consumption.
- To develop adaptive reward functions that dynamically balance energy consumption and node performance based on battery state of charge.
- To reduce learning time while maintaining or improving energy efficiency in sensor node operation.
Proposed method
- Five baseline reward functions (R1–R5) are designed using combinations of battery state of charge, energy harvested, measurement frequency, and performance metrics.
- Two advanced reward functions (R6 and R7) are proposed with non-fixed balancing parameters that scale with battery level to optimize the trade-off between performance and energy use.
- Q-learning is used as the reinforcement learning algorithm to train the agent in a simulated environment with varying energy harvesting conditions.
- The reward functions are evaluated through simulations over multiple days, tracking battery charge level and measurement frequency as key performance indicators.
- The design of R6 and R7 incorporates a dynamic balancing parameter that adjusts based on the current battery state, improving adaptability.
- Convergence of Q-values is validated through extended simulations (24-day runs), confirming stable policy learning.
Experimental results
Research questions
- RQ1How do different reward function components (e.g., battery level, harvested energy, measurement frequency) affect the learning and performance of Q-learning in energy management?
- RQ2What is the impact of a fixed versus dynamic balancing parameter on the trade-off between energy consumption and node performance?
- RQ3Can reward functions that adapt to battery state of charge improve learning efficiency and energy management outcomes?
- RQ4Which reward function design leads to the fastest convergence and most stable behavior in energy-harvesting sensor nodes?
Key findings
- Reward functions R1 and R2, which include a balancing parameter β, effectively adjust energy consumption to harvested energy levels and show strong performance.
- Function R5, based only on dominant motion frequency, adapts to energy harvesting but fails to prioritize performance when needed.
- Functions R3 and R4 perform poorly: R3 lacks connection between energy use and harvesting, while R4 fails to reduce consumption when energy is low.
- R6 and R7, with dynamic balancing parameters, outperform fixed-parameter functions by adapting to battery state and reducing learning time.
- The simulation results confirm convergence of Q-values over 24 days, showing stable and adaptive behavior under varying energy conditions.
- The proposed reward functions (R6 and R7) are robust across different battery capacities and do not require prior knowledge of system components.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.