<!DOCTYPE html>
Reinforcement Learning General Framework
Reinforcement Learning: General Framework
A general reinforcement learning problem, with full observability, can be defined as follows:
Definition 1. (Reinforcement Learning Problem) A RL problem is defined by a tuple , where is the set with the environment and the agent , is the set of states, is the set of actions, is the environment state transition function, where is the space of probability distributions over , is the agentβs policy space, is the reward function, is the discount factor, is the time set and is the distribution of the initial state .
While the literarure describes RL around the Markov Decision Process (MDP) , DefinitionΒ 1 takes a different approach by incorporating MDPs into a broader RL problem definition. An MDP models decision-making problems where the states transitions satisfy the Markov property and are partially controlled by an agent. Formally, an MDP is defined as a tuple , where is the set of states, is the set of actions, is the state transition function, is the reward function, is the discount factor and is the distribution of the initial state .
In RL there are two primary entities: the agent and the environment. The environment represents the external system with which the agent interacts. These interactions occur within a temporal context that can be either continuous or discrete and may extend over a finite or infinite time horizon. For the purposes of this discussion, we will focus on scenarios within a discrete-time framework.
The environment is characterized by a state space , whose dynamics are govern by a transition probability function . In a discrete-time setting, at each time step , the environment is in a state , with the initial state being . Given the current state , the agent performs an action , prompting the environment to transition to a new state . Concurrently, the agent receives a reward . This iterative process continues indefinitely or until a termination condition is met, thus defining a trajectory , at each time step .
Let be the set of all trajectories of lenght : The trajectory space is defined as the union of all , for :
To operate within the environment, the agent selects a policy , a function that maps the current state to a probability distribution over the action space , . Since the environment is a MDP, the agentβs decision depends only on the current state , and thus his policy takes only the current state as input. A reinforcement learning algorithm, such as Q-Learning, can be conceptualized as a function that maps a realized trajectory to a policy. At each discrete time step , given a trajectory , the agent updates his policy using . Upon observing the current state , the agent then samples an action from the probability distribution defined by .
Partially Observable Reinforcement Learning
In an environment with partial observability, the agent doesnβt have direct access to the complete state of the environment. Instead, it receives observations that may provide incomplete or noisy information about the true state. A first-price auction is a good example of a partially observable environment, where bidders donβt know other biddersβ private valuations or, in some cases, the total number of participants. Such scenarios are formally modeled using Partially Observable Reinforcement Learning.
Definition 2. (Partially Observable Reinforcement Learning Problem) A partially observable reinforcement learning problem is defined by a tuple , where is the set containing the environment and the agent , is the set of states, is the set of actions, is the set of observations, is the environment state transition function, where is the space of probability distributions over , is the observation function, where is the space of probability distributions over , is the agentβs policy space, where policies map histories of observations and actions to distributions over actions, is the reward function, is the discount factor, is the time set, is the distribution of the initial state .
A partially observable reinforcement learning problem is structured around two fundamental entities: the environment and the agent, collectively denoted as the set . Within this framework, the environment exists in various states, represented by the set , while the agent can perform actions from the set . The crucial characteristic that distinguishes this from standard reinforcement learning is that the agent cannot directly observe the true state of the environment. Instead, it receives observations from the set , which may provide incomplete or noisy information about the actual state.