Continuous control is the class of problems in reinforcement learning where an agent must select real-valued actions from a continuous action space, such as joint torques, motor voltages, throttle positions or steering angles, instead of choosing from a finite list of discrete moves. It is the natural formulation for robotics, autonomous vehicles, process control and physical simulation, and it is also called continuous action control.
The setting matters because many standard algorithms assume a small set of actions. Methods such as Q-learning and the Deep Q-network pick the action with the highest value by enumerating every option, which is impossible over infinitely many actions. Continuous control therefore relies on policy gradient and actor-critic methods that output actions directly.
How continuous control is formulated
A continuous control task is a Markov decision process whose action space is a bounded region of real numbers, typically a box such as [-1, 1] in each of n dimensions. At each time step the agent observes a state, often joint angles, velocities and contact forces, outputs a vector of actions, and receives a reward that encodes the goal, for example forward speed minus an energy penalty.
Control frequencies are usually between 20 and 1,000 hertz, and episodes can contain thousands of steps. Because small action errors compound over time, continuous control is highly sensitive to credit assignment, reward design and the timing of observations. The table below compares the main design dimensions with discrete control.
| Aspect | Discrete control | Continuous control |
|---|---|---|
| Action space | Finite set of choices | Real-valued vectors in a range |
| Action selection | Argmax over Q-values | Policy network outputs action directly |
| Typical policy | Softmax or epsilon-greedy | Gaussian or deterministic output |
| Exploration | Random action choice | Added noise or entropy bonus |
| Typical domains | Board games, Atari | Robotics, locomotion, driving |
Policy representations for real-valued actions
The policy must map states to continuous action vectors, and two representations dominate. A stochastic Gaussian policy outputs a mean and a standard deviation for each action dimension and samples from that distribution, which supports exploration and gives well-defined log-probabilities for policy gradients. A deterministic policy outputs a single action and relies on externally added noise to explore.
Because physical actuators have limits, actions must be bounded. Implementations either clip sampled values or apply a tanh squashing function and correct the log-probability accordingly. Clipping is simple but distorts the gradient near the limits, which is why squashed Gaussian policies became standard in maximum entropy methods.
Main algorithms for continuous control
Most modern continuous control algorithms are actor-critic methods: an actor network proposes actions and a critic network estimates their value to guide improvement. They differ in whether they learn on-policy or off-policy, which determines sample efficiency and stability.
| Algorithm | Policy type | Learning style | Key idea |
|---|---|---|---|
| Deep deterministic policy gradient | Deterministic | Off-policy | Critic gradient guides the actor |
| TD3 | Deterministic | Off-policy | Twin critics reduce overestimation |
| Soft actor-critic | Stochastic, squashed | Off-policy | Maximizes reward plus entropy |
| Proximal policy optimization | Stochastic Gaussian | On-policy | Clipped updates keep steps small |
| Trust region policy optimization | Stochastic Gaussian | On-policy | KL constraint on each update |
Off-policy methods such as soft actor-critic reuse past transitions through experience replay, which makes them preferred when data is expensive, as on real robots. On-policy methods such as proximal policy optimization discard old data but scale well across thousands of parallel simulators, a common setup for training locomotion policies in GPU-based physics engines.
Model-based reinforcement learning offers a third route. The agent learns a dynamics model of the environment and plans or trains the policy inside it, which can reduce real-world interaction substantially but risks exploiting model errors that do not exist in reality.
Benchmarks and practical setup
Research on continuous control is measured on standardized simulated benchmarks, most of them built on physics engines such as MuJoCo. Typical tasks include running humanoids, robotic arms reaching or grasping objects, and dexterous in-hand manipulation.
Practical success depends on details that papers often treat as secondary. The following decision table summarizes common configuration choices.
| Situation | Recommended choice | Reason |
|---|---|---|
| Expensive real-world data | Soft actor-critic or TD3 | High sample efficiency through replay |
| Massively parallel simulation | Proximal policy optimization | Stable and easy to scale |
| Different action units | Normalize actions to [-1, 1] | Balances gradients across dimensions |
| Varying observation scales | Running observation normalization | Stabilizes network training |
| Policy for real hardware | Domain randomization in simulation | Narrows the sim-to-real gap |
Challenges and common mistakes
Continuous control remains difficult because high-dimensional action spaces make exploration expensive and because policies that look excellent in simulation often fail on physical hardware. The most frequent problems are listed below.
- Sim-to-real gap: friction, latency and sensor noise differ from the simulator, so policies break on transfer.
- Jerky actions: unconstrained policies switch rapidly between extremes, which can damage motors; action smoothing penalties help.
- Reward hacking: agents find unintended gaits or exploits of the physics engine that maximize reward.
- Q-value overestimation: deterministic actor-critic methods overrate actions unless twin critics or target smoothing are used.
- Seed sensitivity: results vary strongly across random seeds, so reliable comparisons need multiple runs and confidence intervals.
Safety is a further concern on real systems. Safe reinforcement learning adds constraints on joint limits, forces or speeds, and many teams pretrain with behavior cloning from demonstrations before fine-tuning with reinforcement learning, which reduces risky exploration.
In plain words
Some decisions are like choosing a door: left, middle or right. Others are like turning a steering wheel, where any angle is possible. Continuous control is about teaching a computer the second kind of decision.
A robot arm does not just choose to move or stay. It must decide exactly how hard to push each joint, many times per second. The learning system practices, gets feedback, and slowly finds smooth, precise movements. That is how robots learn to walk or grasp objects.
A real-world example
A warehouse robotics team wants a quadruped robot to walk over uneven floors. Each of its 12 joints receives a target position at 50 hertz, so the policy outputs a 12-dimensional continuous action vector at every step. Training on the physical robot would take months and risk damage, so the team trains in simulation instead.
The engineers run 4,096 simulated robots in parallel on one GPU and train with proximal policy optimization for about one day. They randomize friction, body mass and motor delays so the policy does not depend on exact simulator settings. The resulting policy transfers to the real robot without further training, walks over ramps and loose mats, and reduces falls compared with the previous hand-tuned controller.