TL;DR
The paper introduces Encoding Sum and Concatenation (ESC), a novel state representation method for autonomous driving that handles a variable number of surrounding vehicles without requiring manual sorting rules. By using a feature neural network to encode vehicle data and a summation operator to ensure permutation invariance, ESC achieves a 62.2% improvement in policy learning accuracy over traditional fixed-permutation methods.
Abstract
In this paper, we propose a new state representation method, called encoding sum and concatenation (ESC), for the state representation of decision-making in autonomous driving. Unlike existing state representation methods, ESC is applicable to a variable number of surrounding vehicles and eliminates the need for manually pre-designed sorting rules, leading to higher representation ability and generality. The proposed ESC method introduces a representation neural network (NN) to encode each surrounding vehicle into an encoding vector, and then adds these vectors to obtain the representation vector of the set of surrounding vehicles. By concatenating the set representation with other variables, such as indicators of the ego vehicle and road, we realize the fixed-dimensional and permutation invariant state representation. This paper has further proved that the proposed ESC method can realize the injective representation if the output dimension of the representation NN is greater than the number of variables of all surrounding vehicles. This means that by taking the ESC representation as policy inputs, we can find the nearly optimal representation NN and policy NN by simultaneously optimizing them using gradient-based updating. Experiments demonstrate that compared with the fixed-permutation representation method, the proposed method improves the representation ability of the surrounding vehicles, and the corresponding approximation error is reduced by 62.2%.
What Problem Does This Paper Address?
In autonomous driving (AD), a decision-making policy needs to "see" the environment, typically represented as a state vector. Most "Tensor-to-End" (T2E) methods—which use structured data like velocity and position—face two major hurdles:
- Dimension Sensitivity: Neural networks usually require a fixed-size input. However, the number of surrounding vehicles is constantly changing. Standard fixes (like padding with "virtual" cars or truncating the list) lead to information loss or redundancy.
- Permutation Sensitivity: The order in which vehicles are listed in a vector shouldn't change the driving decision. If you swap the data for "Car A" and "Car B," the output should remain the same. Existing methods rely on manual sorting (e.g., by distance), but these rules can cause "policy jumps"—sudden, dangerous changes in behavior when one car overtakes another and their sorted positions swap.
Methods
The authors propose the ESC (Encoding Sum and Concatenation) method to create a fixed-dimensional, permutation-invariant representation. The architecture is divided into an ESC Representation Layer and a Decision Layer.
- Feature Encoding: A "Feature NN" ($h_\phi$) processes the raw attributes of each surrounding vehicle individually, turning them into a high-dimensional encoding vector.
- Permutation Invariance via Summation: All individual encoding vectors are summed together. Because addition is commutative ($A+B = B+A$), the resulting "set representation" ($x_{set}$) is identical regardless of the input order.
- Concatenation: This set representation is concatenated with "ego" information ($x_{else}$), such as the self-driving car’s own speed/position and road geometry, to form the final state vector $s$.
- Mathematical Injectivity: A core contribution is the proof that this mapping is injective (one-to-one). By drawing on "sum-of-power" mapping theory, the authors prove that if the output dimension of the Feature NN is large enough, the sum uniquely represents the specific set of vehicles without "collisions" or loss of information.
Key Insights and Ideas
- Solving the "Sorting Jump": Traditional fixed-permutation (FP) methods break the continuity of the policy function. When two cars swap ranks in a sorted list, the input vector changes abruptly. ESC provides a continuous mapping, which is much easier for a neural network to learn and results in smoother control.
- The Power of Summation: While simple, the summation operator (inspired by architectures like Deep Sets) effectively "compresses" a variable-sized set into a fixed-size vector while preserving the unique identity of the set elements, provided the encoding space is sufficiently high-dimensional.
- End-to-End Optimization: The Feature NN and the Policy NN can be trained simultaneously using standard gradient descent. The Feature NN "learns" how to best represent vehicles for the specific driving task at hand.
Key Results
- Accuracy Boost: ESC reduced the Root Mean Square Error (RMSE) of policy approximation by 62.2% compared to Fixed-Permutation (FP) methods and 67.5% compared to All-Permutation (AP) methods.
- Generality: ESC was the only method capable of handling the "Variable Case" ($M \in [1, 20]$) effectively, whereas baseline methods required a fixed number of vehicles to function.
- Stability: The training curves show that ESC converges faster and to a much lower error floor than baselines, particularly as the number of surrounding vehicles increases.
Limitations and Future Work
- Supervised vs. Reinforcement Learning: This paper primarily validates ESC using supervised learning (approximating known functions). The authors note that the next step is integrating ESC into Reinforcement Learning (RL) frameworks.
- Real-World Noise: The experiments used clean, synthetic data. Future work will need to address how ESC handles sensor noise, occlusions, or uncertainty in vehicle tracking.
- Normalization: The proof of injectivity assumes features are normalized, which is a prerequisite for practical deployment.
Summary updated