Skip to main content
QUICK REVIEW

[Paper Review] On Reward Function for Survival

Naoto Yoshida|arXiv (Cornell University)|Jun 18, 2016
Fault Detection and Control SystemsEngineering23 references6 citations
TL;DR

This paper proposes a fundamental reinforcement learning (RL) reward function for survival by formulating the goal as maximizing multi-step survival probability, expressed as the log of the temporal survival probability. The method converts this into a standard RL objective via variational inference, enabling agents to learn effective survival strategies—demonstrated by agents maintaining battery levels and avoiding poison while outperforming random agents in survival time.

ABSTRACT

Obtaining a survival strategy (policy) is one of the fundamental problems of biological agents. In this paper, we generalize the formulation of previous research related to the survival of an agent and we formulate the survival problem as a maximization of the multi-step survival probability in future time steps. We introduce a method for converting the maximization of multi-step survival probability into a classical reinforcement learning problem. Using this conversion, the reward function (negative temporal cost function) is expressed as the log of the temporal survival probability. And we show that the objective function of the reinforcement learning in this sense is proportional to the variational lower bound of the original problem. Finally, We empirically demonstrate that the agent learns survival behavior by using the reward function introduced in this paper.

Motivation & Objective

  • To formalize the survival problem as a probabilistic optimization of future multi-step survival probability.
  • To bridge the gap between survival strategy learning and classical reinforcement learning by deriving a principled reward function.
  • To demonstrate that maximizing survival probability via variational inference yields an objective function equivalent to standard RL with a specific reward.
  • To empirically validate that agents trained with this reward function learn effective survival behaviors, including resource management and hazard avoidance.

Proposed method

  • Formulates the survival problem as maximizing the probability of surviving over T future time steps, using a probabilistic model of state transitions.
  • Introduces a reward function defined as the negative log of the temporal survival probability, which acts as a surrogate for the true survival objective.
  • Applies variational inference and the expectation-maximization (EM) algorithm to derive a lower bound (variational free energy) on the survival probability objective.
  • Shows that the negative free-energy function in the M-step is mathematically equivalent to the standard RL objective with the proposed reward function.
  • Uses Sarsa(λ) as a model-free RL algorithm to train agents on the derived reward function in a simulated environment with battery, food, and poison states.
  • Employs a survival flag mechanism to track agent viability, terminating episodes when survival probability drops below a threshold.

Experimental results

Research questions

  • RQ1Can the survival problem be formally framed as a multi-step survival probability maximization task?
  • RQ2How can such a survival objective be transformed into a standard reinforcement learning problem with a meaningful reward function?
  • RQ3Is the derived reward function—based on the log of survival probability—effective in training agents to learn robust survival behaviors?
  • RQ4Does the variational lower bound of the survival objective align with classical RL objectives, enabling use of existing RL algorithms?

Key findings

  • The Sarsa(λ) agent with the proposed survival reward function achieved a median survival time significantly exceeding that of a random agent, which rarely survived beyond 25 time steps.
  • The agent successfully maintained its battery level around the desired level of 60, indicating effective regulation of physiological states.
  • The number of poisonous objects (B) consumed by the agent remained at zero throughout evaluation, confirming avoidance of harmful stimuli.
  • The agent increased consumption of beneficial food items (A) over time, indicating adaptive foraging behavior.
  • The empirical results confirm that the proposed reward function enables learning of complex survival strategies, including resource management and hazard avoidance.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.