Concepts / Non-Markov State Signals

Non-Markov State Signals

When judging a state signal, distinguish between information the agent never observed and relevant information the agent observed but failed to retain. Only the second case directly indicates that the representation may be losing useful history.

  • Programming

Why the Latest Sensation Is Not Enough

A state signal is the information available to an agent when it makes decisions. It may include what the agent senses immediately, but it may also include information constructed from earlier sensations. Therefore, the current state should not automatically be equated with the latest raw sensation.

In the real world

An agent may look at a scene and build a richer representation. It may also recognize that an object remains present after it is no longer visible. In language, the word yes can be interpreted differently depending on the earlier question. In each case, earlier sensations influence what information is currently available.

Earlier sensationobject seenRetained informationobject may remain presentCurrent statescene representationLatest sensationobject not visibleinformscontributescontributes
How does a state combine the latest sensation with information retained from earlier sensations?

Tracing Information Through Time

Consider an agent that first sees an object and later receives a sensation in which the object is not visible. If the current state contains only the latest raw sensation, the earlier sighting may no longer be available. If the state retains information derived from the earlier sighting, the current state can still represent that the object may remain present. The important question is not whether every past detail was preserved. The question is whether information relevant to what happens next or to the next action was preserved.

Earlier sightingobject presentObject statusretained informationCurrent statecompact representationLatest sensationobject not visibleEarlier path detailsdiscarded informationretainedmay omitcontributesincludednot required
Which parts of the observation history remain available in the current state, and which relevant information has been lost?

The Markov Test

Definition

A state is Markov when it preserves all information relevant to future states, expected rewards, and action selection. Once the current state and action are known, the complete history is unnecessary for decision-making.

To evaluate a state representation, ask whether two situations that look identical in the current state could nevertheless require different predictions or different actions because of information available earlier. If the omitted history contains information relevant to future states, rewards, or action selection, the current signal is not fully Markov. If the current state retains the relevant information, using that state can be as effective a basis for choosing actions as using the complete history.

Current staterelevant informationretainedActionchosen from stateFuture stateprediction basisLatest sensationhistory omittedRelevant historynot retainedUncertain predictionfuture or rewardsupportshelps predictmay be insufficientrelevant information missing
What information is sufficient to predict the next state, reward, and action, and when is the latest state alone insufficient?

Hidden Information and Forgotten Information

The Markov property does not require an agent to know everything about the environment. Hidden information can be useful without belonging to the agent's state when the agent has never received sensations that reveal it. The important failure is different: information that was available to the agent and is relevant to prediction or action should not be forgotten merely because it came from an earlier sensation.

In the real world

A blackjack player is not expected to know the next card in the deck. Someone answering a phone is not expected to know the caller's identity in advance. A paramedic arriving at an accident is not expected to immediately know the internal injuries of an unconscious victim. These are hidden facts, not necessarily forgotten observations.

Key point

When judging a state signal, distinguish between information the agent never observed and relevant information the agent observed but failed to retain. Only the second case directly indicates that the representation may be losing useful history.

Predictive Relevance

Decisions and values are treated as functions of the current state. If the state omits relevant information, a decision based only on that state may be less informed than a decision based on the complete history. If the state retains the relevant information, the current state is an effective basis for predicting future states and rewards and for selecting actions.

Worked example

Checking for Missing Motion Information

A state describes an object's current position but does not include information about its motion. How should you judge whether this is a useful state representation?

  1. 1
    Identify the omitted information

    Motion information, such as velocity, is a possible part of the situation that the state does not contain.

  2. 2
    Test predictive value

    Ask whether omitting that motion information makes the state a worse basis for predicting what happens next.

  3. 3
    Test action selection

    Ask whether an action selected from the current state would be less informed than an action selected using the complete history.

  4. 4
    Judge the representation

    The decisive issue is not the name of the missing variable. The issue is whether its omission makes future prediction or action selection worse.

Result

A state representation is inadequate to the extent that omitted information is relevant to future states, rewards, or decisions.

Staterepresentationretained informationFuture statespredictionAction selectiondecisionExpected rewardspredictionsupports prediction ofsupports prediction ofinformsinforms
How does the chosen state representation affect predictions of future states, rewards, and actions?

Useful Approximation

Real state signals may not satisfy the Markov property perfectly. That does not make them automatically useless. A non-Markov signal can work well when it is a good approximation to a Markov state. The closer the representation comes to preserving the information needed for future rewards and decisions, the better the reinforcement learning system can be expected to perform.

Partial statesome relevant informationomittedLess informed actionhistory may helpRicherapproximationmore relevant informationretainedBetter informedactioncloser to Markov basissupportssupports
What changes when a useful state representation is only approximately Markov rather than fully Markov?

Common Evaluation Mistakes

  • Common mistake

    Treating the state as only the latest raw sensation.

    What it looks like

    Assuming that an object is absent from the current state merely because it is not visible in the latest sensation.

    Why it fails

    A state may include information derived from earlier sensations, such as information that an object may remain present.

    Do this instead

    Check whether the current state incorporates relevant information constructed from the observation history.

  • Common mistake

    Assuming a Markov state must contain everything in the environment.

    What it looks like

    Expecting a blackjack player to know the next card in the deck.

    Why it fails

    The agent is not expected to know hidden information it has never observed.

    Do this instead

    Focus on whether relevant information available to the agent was retained.

  • Common mistake

    Assuming every detail of the past must be preserved.

    What it looks like

    Treating the entire path that produced the current state as necessary even when it cannot affect future events or actions.

    Why it fails

    A Markov state can be compact and discard path details that are irrelevant once the relevant information is present.

    Do this instead

    Ask whether the omitted detail affects future states, expected rewards, or action selection.

  • Common mistake

    Rejecting a practical signal because it is not perfectly Markov.

    What it looks like

    Calling a representation useless as soon as some history is missing.

    Why it fails

    A non-Markov signal can still be a useful approximation to a Markov state.

    Do this instead

    Evaluate how closely the representation preserves information needed for prediction and decisions.

Practice Check

MEDIUM

A state signal records the latest sensation but omits information about an object's earlier motion. Explain how you would determine whether the signal is Markov. Your answer should discuss future-state prediction, expected rewards, action selection, and the difference between hidden information and forgotten information.

Hints
  • Ask whether the omitted motion information changes what can happen next.
  • Ask whether an action based only on the current signal would be less informed than one based on the complete history.
  • Do not assume that every unobserved fact must be included.

What do you think happens?

If a state omits an earlier observation, does that automatically make the state non-Markov?

  • Yes, every omitted observation makes a state non-Markov.

  • No, only omitted information relevant to future states, expected rewards, or action selection makes it non-Markov.

  • Yes, because a Markov state must preserve the complete history.

Reveal answer
Answer:

No, only omitted information relevant to future states, expected rewards, or action selection makes it non-Markov.

A Markov state may discard details about how the current situation arose when those details cannot affect what happens next or which action should be selected.

Key Takeaways

  1. 1
    A state is Markov when it preserves all information relevant to future states, expected rewards, and action selection.
  2. 2
    The current state may combine the latest sensation with information derived from earlier sensations.
  3. 3
    A Markov state does not need to contain hidden information the agent has never observed or every irrelevant detail of the past.
  4. 4
    The critical test is whether forgotten information makes prediction or action selection worse.
  5. 5
    A non-Markov state signal can still be useful when it is a good approximation to a Markov state.

At a glance

  • The Markov property concerns preservation of information relevant to future states, rewards, and actions.
  • A state can incorporate information derived from past sensations rather than representing only the latest sensation.
  • Hidden facts the agent never observed are different from relevant observations that the state representation forgot.
  • A practical state signal may be valuable even when it is only approximately Markov.

Related concepts

More concepts starting with N