The environment defines what states exist, what actions are available, how states transition, and what rewards are given. The agent cannot change the rules — it can only observe, act, and learn from the consequences.
Unlimited interaction, any speed, no real-world risk or cost. Atari, MuJoCo, Isaac Gym, traffic simulators. Primary training ground for RL. Sim-to-real transfer bridges simulation to deployment — the gap between simulation and reality is a key challenge.
Physical robots, markets, factories. The ultimate deployment target. Slow, expensive, risky to explore. Damage during exploration has real costs. Usually too expensive to train directly in the real world.
Fully observable — Agent sees the complete state. Simpler to learn from. Grid worlds, many games. Most classic RL assumes full observability.
Partially observable (POMDP) — Agent receives only an observation, not the full state. Robot with limited sensors, poker with hidden cards. Requires reasoning under uncertainty — significantly harder than full observability.
Deterministic vs stochastic — Deterministic: same action from same state → same next state. Stochastic: outcomes have randomness. Real environments are almost always stochastic — wind, market noise, sensor errors.
Episodic vs continuing — Episodic: clear start and end (game over, goal reached), state resets. Continuing: no natural episodes, ongoing indefinitely (trading, process control).
Ask the AI assistant about RL environments, the difference between fully and partially observable environments, or what sim-to-real transfer means.