alphaFeedback

WorksMathematics

Optimization-based lane-changing trajectory planning in mixed traffic with embedded input convex neural networks

AI contributions
Not recorded for this paper
View details

Abstract

Lane-changing (LC) maneuvers are highly challenging vehicle interactions, with substantial implications for traffic safety and efficiency. Developing effective LC strategies for connected and automated vehicles in mixed traffic is complicated by the uncertainty associated with surrounding-vehicle behavior and the computational burden of embedding realistic prediction models within optimization schemes. To capture these complex interactions while retaining tractability, this study proposes a data-driven optimization framework that embeds neural network (NN) surrogates for safety and lateral comfort within a Bézier-curve-based trajectory planner. Specifically, the safety cost during the LC process is quantified via a surrogate composed of an input convex recurrent neural network (ICRNN) encoding the planned trajectory, a fully input convex neural network (FICNN) embedding the LC duration, and a partially input convex neural network (PICNN) decoder fusing them with historical traffic states; separately, another FICNN surrogate approximates the optimal lateral comfort cost as a function of the LC duration. Both surrogates are embedded via linear programming (LP) formulations, avoiding the binary variables required by conventional mixed-integer programming (MIP) approaches for NN-embedded optimization. We further theoretically establish their exactness at optimality and extend the framework to problems with additional analytical objective terms and multiple surrogates. Experiments on a hybrid dataset combining real-world and simulated trajectories demonstrate that the proposed method achieves surrogate accuracy competitive with unconstrained baselines while substantially improving optimization efficiency over conventional MIPs. Closed-loop simulations further show that the proposed planners markedly reduce the weighted planning cost and consistently outperform baseline methods.

Introduction

The transition toward widespread vehicle automation holds significant potential to improve road safety, alleviate traffic congestion, and enhance overall transportation efficiency [43, 27]. Realizing these benefits requires advanced control strategies capable of safely coordinating automated vehicles in complex environments. Among the different driving tasks, lane-changing (LC) trajectory planning stands as a cornerstone challenge, particularly in mixed traffic flow environments where connected automated vehicles (CAVs) co-exist with human-driven vehicles (HDVs). In these heterogeneous traffic systems, the inherent unpredictability of human behavior introduces significant stochasticity, demanding LC trajectory planning algorithms that are not only computationally efficient but also robust and safety-critical. Considerable research has been dedicated to addressing this challenge, leading to the development of diverse techniques, which can be categorized into graph-search-based, learning-based, and optimization-based approaches [19].

Graph search algorithms are highly practical in complex and unstructured environments, due to their interpretability, optimality guarantee, and robust collision avoidance capabilities. However, the stability and quality of the planned trajectory are sensitive to grid resolution, and the resulting trajectories may be geometrically non-smooth or dynamically infeasible. Consequently, graph search is often paired with trajectory optimization for real-time, dynamically feasible planning [5] (Katrakazas et al. 2015).

Learning-based methods have recently attracted increasing attention for trajectory planning in mixed traffic flow, because of their ability to handle complex nonlinear dynamics, uncertain interactions, and diverse driving behaviors. Typical learning-based approaches include imitation learning [33], deep reinforcement learning [2], and generative models [63]. Despite these advantages, learning-based methods lack interpretability and explicit theoretical guarantees, making it difficult to ensure that the generated trajectories always satisfy safety, feasibility, and traffic-rule constraints. Furthermore, they are highly data-intensive and struggle to generalize across varying environments, despite ongoing mitigation efforts (Li et al., 2026). Therefore, these limitations motivate the development of more structured and constraint-aware trajectory planning approaches.

Optimization-based methods formulate trajectory planning as a constrained optimization problem, in which the desired trajectory is obtained by minimizing a predefined objective function subject to a set of explicit constraints, such as vehicle dynamics, collision avoidance, and traffic rules. Compared with learning-based methods, their primary advantage lies in a clear mathematical structure, strong interpretability, and the ability to explicitly handle physical and safety constraints. However, optimization-based methods often face challenges in terms of computational

(Fabricio Oliveira), [email protected] (Yu Han), [email protected] (Claudio Roncoli) complexity and in adequately capturing inter-vehicle interactions [47]. To model the interactions between the ego vehicle and surrounding vehicles, many game theory-based trajectory planning methods have been proposed [49, 59, 60]. Game theory models are inherently capable of capturing interactive decision-making among traffic participants, which is particularly important in mixed traffic environments. Moreover, existing optimization-based approaches, including both model predictive control [39] and game-theoretic methods (Ji et al., 2023), rely on simplified analytical safety indicators or rule-based interaction models derived from car-following principles. Although such simplifications ensure computational efficiency, they may lead to discrepancies between the predicted and actual safety costs under dynamic interactions. To address this gap, in this work we integrate a neural network (NN) model into an optimization-based trajectory planning framework. The proposed model captures interactions among vehicles and predicts potential safety costs, thereby enabling the planner to avoid overly simplified vehicle prediction models while preserving the feasibility of real-time computation.

The manner in which NN models are integrated into optimization depends critically on whether the decision variables of the optimization problem are included as input features to the trained model. To avoid ambiguity with control theory terminology, this work subsequently uses the term inputs to refer exclusively to the features fed into the network. When the model inputs are independent of the decision variables, the resulting approach follows the standard “predict-then-optimize” paradigm [9], in which prediction and optimization are performed sequentially. This work instead considers the paradigm in which the model inputs include the decision variables, so that the prediction and the optimization become coupled. Such approaches are increasingly adopted in settings where first-principles models are either computationally expensive or insufficiently expressive, and have been applied in domains including engine design [57], energy systems [4, 40, 54], process systems engineering [58, 52, 36], and manufacturing systems [8].

Surrogate models adopt simpler data-driven representations to approximate complex or computationally demanding relationships, rendering them easier to incorporate into optimization. Embedding such a trained NN into an optimization problem can be classified as black-box, gray-box, or white-box embedding, depending on the extent to which information about the NN model is exploited [6]. Black-box embedding typically relies solely on the forward pass of the surrogate model and does not require its architecture, weights, or gradients. The resulting problem is commonly solved using derivative-free optimization algorithms, such as Bayesian optimization, which are particularly suitable when the underlying mapping is difficult to express analytically or when evaluations involve computationally expensive simulations or experiments. Such methods impose no specific restrictions on the types of decision variables or on the continuity and differentiability of the surrogate model. However, because the internal structure of the surrogate is not explicitly exploited, they generally do not provide the same deterministic global optimality guarantees for the surrogate-based optimization problem as structure-exploiting mathematical programming formulations [53]. Gray-box embedding exploits accurate first- and second-order derivative information obtained through backpropagation and is therefore mainly applicable to continuous decision variables [10]. This approach can handle large-scale and complex NN models [64, 54]. However, the resulting optimization problem may converge to a local optimum and may be affected by vanishing or exploding gradients.

Distinct from both approaches, white-box embedding fully exploits the NN model architecture by explicitly representing the forward propagation process through additional constraints incorporated into the original optimization problem. This approach supports both continuous and discrete decision variables and can provide global optimality guarantees under suitable formulations. It also offers greater flexibility in the solution process because the embedded constraints are inherently supported by existing solvers. The dominant white-box embedding approach relies on NNs with Rectified Linear Unit (ReLU) activations [25], whose piecewise-linear structure admits an exact 0–1 mixed-integer programming reformulation [15]. Notably, the resulting MIP is NP-hard to solve, and becomes computationally intensive as the network grows. Although several acceleration techniques, including bound tightening, model compression, warm starts, and model regularization [57, 51, 29, 13], have been proposed, the introduction of integer variables cannot be completely avoided. This computational limitation indicates that the MIP formulation may not satisfy the real-time requirements of the trajectory planning problem in this work.

To overcome the computational bottleneck introduced by integer variables and guarantee global optimality, the input convex neural network (ICNN) [1] and its capability to obtain an LP formulation offer an appealing alternative when the underlying phenomenon is approximately convex. In fact, an ICNN ensures convexity with respect to its inputs by imposing non-negativity constraints on specific weights and using convex, non-decreasing activation functions. The representation capability of ICNNs is theoretically guaranteed, in that any Lipschitz continuous convex function on a compact domain can be approximated by an ICNN [3]. The efficiency and scalability of this specific LP reformulation substantially broaden the applicability of ICNN-based models [8, 37] (Wu & Wang 2024). Moreover, the partially input convex neural network (PICNN) introduces auxiliary variables without imposing convexity constraints, allowing the model to capture more complex input interactions while preserving convexity with respect to the decision variables. The enhanced flexibility can lead to more accurate predictions and better downstream performance compared with the more generic ICNN models, as demonstrated by Ławryńczuk [64]. Given their competitive representational capacity and excellent solution efficiency when embedded into optimization problems, ICNN-based models are promising candidates for real-time trajectory planning.

Nevertheless, extending this promise to demanding tasks such as LC planning presents challenges that remain unresolved. Existing studies typically employ a single ICNN class that suffices for the system mappings they approximate, leaving the capability of ICNN-based models in more complex settings unexamined. The safety cost in LC planning illustrates such complexity, as it depends jointly on static features and dynamic trajectory sequences, which no single ICNN architecture accommodates naturally. Moreover, while recurrent extensions of ICNNs have been developed for sequential data ([3, 54]), their LP reformulation, along with that of surrogates composing multiple ICNN-class modules, has not been established. Bridging these gaps calls for a surrogate design that composes ICNN-class architectures to match the structure of the planning problem, together with a formal validation of the resulting LP reformulation. A preliminary version of this work ([61]) is extended here by theoretically establishing proofs about the validity of the proposed reformulation, presenting and comparing alternative surrogate architectures, and further strengthening the empirical evaluation using real-world trajectory data. Specifically, we make the following contributions:

  1. A data-driven, optimization-compatible framework is developed for LC trajectory planning in mixed traffic. The framework embeds NN surrogate models into an optimization-based trajectory planner to approximate computationally demanding terms. By leveraging ICNN-class models, the underlying computationally intractable trajectory planning problem is reformulated as a tractable convex optimization problem, without introducing additional binary variables.

  1. The exactness of the LP reformulation for ICNN-class models under minimization is formally established through both theoretical analysis and numerical validation. The results are further extended to objective functions containing additional analytical terms and to optimization problems involving multiple ICNN surrogates.

  1. Two architectural adaptations of ICNN-class models are proposed. A many-to-one input convex recurrent neural network (ICRNN), building on Chen et al. [3], is tailored to sequence-to-scalar prediction with a streamlined structure. A PICNN variant replaces the multiplicative gating of the original architecture (Amos et al. [1]) with additive coupling and is empirically compared with the gated original.

  1. A structured safety surrogate is designed for optimization-based trajectory planning. The proposed model combines a PICNN with ICRNN and fully input convex neural network (FICNN) modules to integrate historical traffic information with planned trajectory features, and admits a valid LP reformulation, while maintaining competitive predictive accuracy and optimization tractability.

The remainder of this paper is organized as follows. § 2 formulates the LC trajectory planning problem and identifies the two objective components intractable for real-time implementation.

§ 3 develops the ICNN-class surrogate-embedded optimization framework by establishing the exactness conditions for its epigraph reformulation and presenting the structured safety and lateral-comfort surrogates, as well as the resulting reformulated planning problem. § 4 evaluates the proposed approach in terms of surrogate prediction accuracy, reformulation efficiency, and closed-loop planning performance. § 5 summarizes the main findings and discusses directions for further research.

Lane-changing trajectory planning problem

In the mixed traffic environment, sketched in Figure 1, the ego vehicle represents the CAV executing an LC maneuver, while the corresponding obstacle vehicle refers to the following vehicle in the target lane. The LC trajectory planning is complicated, particularly when the obstacle vehicle is an HDV, since explicit cooperation cannot be assumed and the interaction is thus to be treated as stochastic. To model this, we leverage empirical trajectory data in conjunction with simulation data to model vehicle interactions, rather than relying solely on rule-based or car-following models.

Schematic diagram of LC trajectory planning in mixed traffic environment

Figure 1. Schematic diagram of LC trajectory planning in mixed traffic environment, reproduced from Yang et al. [60].

Trajectory parameterization and affine representation

In this study, the ego vehicle’s trajectory during the LC process is decomposed into longitudinal and lateral trajectories, both of which are modeled through parameterized curves. Specifically, Bézier curves are employed, the applicability and advantages of which are discussed by Yang et al. [60]. Besides enforcing boundary and physical constraints through a finite number of control points, this parameterization exposes affine mappings from the control points to the discrete position, speed, and acceleration profiles. The decision variables for the trajectory optimization problem comprise the longitudinal and lateral trajectory control points (PxP^x, PyP^y), as well as the LC maneuver duration δ\delta.

Longitudinal trajectory

The longitudinal speed profile of the ego vehicle is designed based on Bézier curves of degree dd as follows:

vx(t)=∑i=0dbi,d(tT)Pix,0≤t≤T(1)v^{x}(t)=\sum_{i=0}^{d}b_{i,d}\left(\frac{t}{T}\right)P_{i}^{x},\qquad0\leq t\leq T \tag*{(1)}
bi,d(x)=(di)xi(1−x)d−i,(2)b_{i,d}(x)=\binom{d}{i}x^{i}(1-x)^{d-i}, \tag*{(2)}

where vx(t)v^{x}(t) denotes the longitudinal speed at time tt, TT is the length of the planning horizon, and PxP^{x} is the vector of control points. Our approach leverages the convex hull property of Bézier curves to transform the continuous consistency, safety, and physical constraints of the entire LC process into a finite set of constraints imposed on the control points:

P0x=v0x,Pdx=vx(T),(3)P_{0}^{x}=v_{0}^{x},\qquad P_{d}^{x}=v^{x}(T), \tag*{(3)}
dT(P1x−P0x)=a0x,dT(Pdx−Pd−1x)=0,(4)\frac{d}{T}\left(P_{1}^{x}-P_{0}^{x}\right)=a_{0}^{x},\qquad\frac{d}{T}\left(P_{d}^{x}-P_{d-1}^{x}\right)=0, \tag*{(4)}
0≤Pix≤vmax⁡x,i=1,…,d,(5)0\leq P_{i}^{x}\leq v_{\max}^{x},\qquad i=1,\ldots,d, \tag*{(5)}
amin⁡x≤dT(Pi+1x−Pix)≤amax⁡x,i=1,…,d−2.(6)a_{\min}^{x}\leq\frac{d}{T}\left(P_{i+1}^{x}-P_{i}^{x}\right)\leq a_{\max}^{x},\qquad i=1,\ldots,d-2. \tag*{(6)}

Eq. (2a) guarantees the speed consistency at the beginning and reaches the desired speed at the end of the LC process, where v0xv_{0}^{x} and vx(T)v^{x}(T) denote the initial and target longitudinal speeds, respectively; Eq. (2b) ensures that the longitudinal acceleration at the start is a0xa_{0}^{x} and reaches 0 at the end, in which a0xa_{0}^{x} denotes the initial longitudinal acceleration; Eqs. (2c) and (2d) ensure that both the speed and the acceleration are maintained in the feasible range during the LC process. These constraints guarantee that the generated trajectories comply with physical and safety limitations, regardless of surrounding vehicles. The longitudinal position profile and acceleration profile can then be obtained by integrating and differentiating the speed profile, respectively. To this end, let the longitudinal trajectory be represented by the position and speed vectors px,vx∈RNp^{x},v^{x}\in\mathbb{R}^{N}, where NN corresponds to the total number of discrete time steps of length Δt\Delta t in the entire LC process TT. The degree-dd generic polynomial curve is given as follows:

vx(t)=α0+α1tT+α2(tT)2+⋯+αd(tT)d,0≤t≤T.(7)v^{x}(t)=\alpha_{0}+\alpha_{1}\frac{t}{T}+\alpha_{2}\left(\frac{t}{T}\right)^{2}+\cdots+\alpha_{d}\left(\frac{t}{T}\right)^{d},\qquad0\leq t\leq T. \tag*{(7)}

The Bézier control points PP can be mapped to the coefficient vector α∈Rd+1\alpha\in\mathbb{R}^{d+1} of a general polynomial curve via a basis transformation matrix M∈R(d+1)×(d+1)M\in\mathbb{R}^{(d+1)\times(d+1)}. This transformation represents a change of basis from the Bernstein polynomials to the monomial basis, where the entries of the transformation matrix MM are uniquely determined by the degree dd [14]. The transformation can be expressed as:

(α0,α1,…,αd)T=M(P0x,P1x,…,Pdx)T,(8)(\alpha_0,\alpha_1,\ldots,\alpha_d)^{\mathsf{T}}=M(P_0^{\mathrm{x}},P_1^{\mathrm{x}},\ldots,P_d^{\mathrm{x}})^{\mathsf{T}}, \tag*{(8)}
Mi,j={(di)(ij)(−1)i−j,if i≥j,0,otherwise,for 0≤i,j≤d.(9)M_{i,j}= \begin{cases} \binom{d}{i}\binom{i}{j}(-1)^{i-j}, & \text{if } i\ge j,\\ 0, & \text{otherwise,} \end{cases} \qquad\text{for } 0\le i,j\le d. \tag*{(9)}

Consequently, with a specific Vandermonde matrix V∈RN×(d+1)V\in\mathbb{R}^{N\times(d+1)}, the speed vector can be sampled with the time step Δt\Delta t from polynomial curves as [17]:

vx=VM(P0x,P1x,…,Pdx)T,(10)v^{\mathrm{x}}=VM(P_0^{\mathrm{x}},P_1^{\mathrm{x}},\ldots,P_d^{\mathrm{x}})^{\mathsf{T}}, \tag*{(10)}
V=V(ΔtT,2ΔtT,…,1)=[1ΔtT(ΔtT)2⋯(ΔtT)d12ΔtT(2ΔtT)2⋯(2ΔtT)d⋮⋮⋮⋱⋮1112⋯1d].(11)V=V\left(\frac{\Delta t}{T},\frac{2\Delta t}{T},\ldots,1\right)= \begin{bmatrix} 1 & \frac{\Delta t}{T} & \left(\frac{\Delta t}{T}\right)^2 & \cdots& \left(\frac{\Delta t}{T}\right)^d\\ 1 & \frac{2\Delta t}{T} & \left(\frac{2\Delta t}{T}\right)^2 & \cdots& \left(\frac{2\Delta t}{T}\right)^d\\ \vdots& \vdots& \vdots& \ddots& \vdots\\ 1 & 1 & 1^2 & \cdots& 1^d \end{bmatrix}. \tag*{(11)}

Hence, the position vector pxp^{\mathrm{x}} can be obtained with an integration matrix H∈RN×NH\in\mathbb{R}^{N\times N}:

px=1p0x+HVM(P0x,P1x,…,Pdx)T,(12)p^{\mathrm{x}}=\mathbf{1}p_0^{\mathrm{x}}+HVM(P_0^{\mathrm{x}},P_1^{\mathrm{x}},\ldots,P_d^{\mathrm{x}})^{\mathsf{T}}, \tag*{(12)}
Hi,j={Δt,if i≥j,0,otherwise,(13)H_{i,j}= \begin{cases} \Delta t, & \text{if } i\ge j,\\ 0, & \text{otherwise,} \end{cases} \tag*{(13)}

in which, p0xp_0^{\mathrm{x}} is the initial longitudinal position of the ego vehicle at the beginning of its LC maneuver, and 1∈RN\mathbf{1}\in\mathbb{R}^{N} is the all-ones vector. With the first-order difference matrix D∈R(N−1)×ND\in\mathbb{R}^{(N-1)\times N}, the longitudinal acceleration profile can be formulated as:

ax=DVM(P0x,P1x,…,Pdx)T,(14)a^{\mathrm{x}}=DVM(P_0^{\mathrm{x}},P_1^{\mathrm{x}},\ldots,P_d^{\mathrm{x}})^{\mathsf{T}}, \tag*{(14)}
Di,j=1Δt×{1,if j=i+1,−1,if j=i,0,otherwise.(15)D_{i,j}=\frac{1}{\Delta t}\times \begin{cases} 1, & \text{if } j=i+1,\\ -1, & \text{if } j=i,\\ 0, & \text{otherwise.} \end{cases} \tag*{(15)}

As demonstrated in Eqs. (5a), (6a), and (7a), the longitudinal profile of the ego vehicle can be effectively represented by control points PP through matrix transformations, revealing the affine relationship between the discrete trajectory and control points.

Lateral trajectory

By leveraging the endpoint interpolation property of Bézier curves, wherein the curve begins at the first control point and ends at the last, Bézier curves are utilized to model lateral position profiles as well. This approach ensures that the ego vehicle can complete LC maneuvers with precise boundary alignment. Consequently, the lateral position profile of the ego vehicle is jointly determined by the LC maneuver duration δ\delta and the Bézier curve control point set Py\mathbf{P}^{y}. Consistent with the longitudinal speed profile, the lateral position profile is defined as:

py(t)={p0y+W∑i=0dbi,d(tδ)Piy,0≤t≤δ,p0y+W,δ<t≤T,(16)p^{y}(t)= \begin{cases} p_{0}^{y}+W\sum_{i=0}^{d}b_{i,d}\left(\frac{t}{\delta}\right)P_{i}^{y}, & 0\le t\le\delta,\\ p_{0}^{y}+W, & \delta<t\le T, \end{cases} \tag*{(16)}

subject to:

P0y=0,Pdy=1,(17)P_{0}^{y}=0,\quad P_{d}^{y}=1, \tag*{(17)}
dWδ(P1y−P0y)=0,dWδ(Pdy−Pd−1y)=0,(18)\frac{dW}{\delta}\left(P_{1}^{y}-P_{0}^{y}\right)=0,\quad\frac{dW}{\delta}\left(P_{d}^{y}-P_{d-1}^{y}\right)=0, \tag*{(18)}
0≤dWδ(Pi+1y−Piy)≤vmax⁡y,i=1,…,d−2,(19)0\le\frac{dW}{\delta}\left(P_{i+1}^{y}-P_{i}^{y}\right)\le v_{\max}^{y},\qquad i=1,\ldots,d-2, \tag*{(19)}
d(d−1)Wδ2(P2y−2P1y+P0y)=0,(20)d(d-1)\frac{W}{\delta^{2}}\left(P_{2}^{y}-2P_{1}^{y}+P_{0}^{y}\right)=0, \tag*{(20)}
d(d−1)Wδ2(Pdy−2Pd−1y+Pd−2y)=0,(21)d(d-1)\frac{W}{\delta^{2}}\left(P_{d}^{y}-2P_{d-1}^{y}+P_{d-2}^{y}\right)=0, \tag*{(21)}
amin⁡y≤d(d−1)Wδ2(Pi+2y−2Pi+1y+Piy)≤amax⁡y,i=1,…,d−3,(22)a_{\min}^{y}\le d(d-1)\frac{W}{\delta^{2}}\left(P_{i+2}^{y}-2P_{i+1}^{y}+P_{i}^{y}\right)\le a_{\max}^{y},\qquad i=1,\ldots,d-3, \tag*{(22)}
0≤Piy≤1,i=1,…,d−1,(23)0\le P_{i}^{y}\le1,\qquad i=1,\ldots,d-1, \tag*{(23)}
δmin⁡≤δ≤T,(24)\delta_{\min}\le\delta\le T, \tag*{(24)}

where p0yp_{0}^{y} and WW denote the initial lateral position and the lane width, respectively. Eq. (9a) guarantees the consistency of the lateral trajectory and forces the vehicle to reach the middle of the target lane at the end of the LC process; Eq. (9b) ensures that the initial and terminal lateral speeds are both 0, avoiding consecutive LC maneuvers; Eqs. (9c) and (9f) ensure that the lateral speed and acceleration during the LC process are maintained within feasible ranges; Eqs. (9d) and (9e) impose that the initial and terminal lateral acceleration is 0; Eq. (9h) is set to guarantee that the LC maneuvers can be executed within TT and larger than the minimum safe value δmin⁡\delta_{\min}. Additionally, the control points of the lateral and longitudinal trajectories of the same ego vehicle are not necessarily identical. More details about constraints can be found in the work by Yang et al. [60]. Following the same sampling procedure as in Eq. (5a), the lateral position profile can be expressed as:

py(t)={p0y+WV(δ)M(P0y,P1y,…,Pdy)⊤,0≤t≤δp0y+W,δ<t≤T,(25)p^{y}(t)= \begin{cases} p_{0}^{y}+WV(\delta)M(P_{0}^{y},P_{1}^{y},\ldots,P_{d}^{y})^{\top}, & 0\le t\le\delta\\ p_{0}^{y}+W, & \delta<t\le T, \end{cases} \tag*{(25)}
V(δ)=V(Δtδ,2Δtδ,…,1).(26)V(\delta)=V\left(\frac{\Delta t}{\delta},\frac{2\Delta t}{\delta},\ldots,1\right). \tag*{(26)}

The size of matrix V(δ)∈RδΔt×(d+1)V(\delta)\in\mathbb{R}^{\frac{\delta}{\Delta t}\times(d+1)} is determined by the degree of Bézier curves and the LC maneuver duration. Let D(2)∈R(δΔt−2)×δΔtD^{(2)}\in\mathbb{R}^{\left(\frac{\delta}{\Delta t}-2\right)\times\frac{\delta}{\Delta t}} denote the second-order difference matrix. The lateral acceleration profile of the ego vehicle can then be derived by differentiating twice the lateral position profile. Finally, the lateral speed and acceleration profile can be expressed as:

ay(t)={WD(2)V(δ)M(P0y,P1y,…,Pdy)⊤,0≤t≤δ0,δ<t≤T(27)a^{y}(t)= \begin{cases} WD^{(2)}V(\delta)M(P_{0}^{y},P_{1}^{y},\ldots,P_{d}^{y})^{\top}, & 0\le t\le\delta\\ 0, & \delta<t\le T \end{cases} \tag*{(27)}
Di,j(2)=1(Δt)2×{1,if j=i−2,if j=i+11,if j=i+20,otherwise.(28)D_{i,j}^{(2)}=\frac{1}{(\Delta t)^{2}}\times \begin{cases} 1, & \text{if } j=i \\ -2, & \text{if } j=i+1 \\ 1, & \text{if } j=i+2 \\ 0, & \text{otherwise.} \end{cases} \tag*{(28)}

Objective function components and computational bottlenecks

In the context of optimization-based trajectory planning, the objective function typically comprises three metrics, namely driving safety, ride comfort, and travel efficiency, whose positively weighted sum is minimized [60]. The specific definitions for each of these cost terms are provided below.

(i) Safety cost CsafetyC_{\mathrm{safety}}: Wang et al. [50] divided the safety measures commonly used in the CAV safety modeling into three categories: time-based, deceleration-based, and energy-based. Although the fundamentals of these indices differ, they share a common implementation challenge related to incorporating them effectively into optimization-based trajectory planning problems. In this work, the safety cost predicted for the entire LC process will be approximated by a surrogate model built from ICNN-class modules.

The surrogate model predicts the safety cost based on static features, historical trajectories, and the planned LC trajectory of the ego vehicle. The historical trajectories include the longitudinal positions and speeds of the ego vehicle, the obstacle vehicle, and the ahead vehicles in both the initial and target lanes during a fixed period before the LC maneuver begins. As noted by Wang et al. [50], Time Exposed Time-to-Collision (TET) and Time Integrated Time-to-Collision (TIT) are commonly utilized in the CAV longitudinal trajectory optimization objectives as safety indicators. Compared to instantaneous Time-to-Collision (TTC) alone, these safety measures provide an aggregated risk over the entire lane change process, rendering them more appropriate for microscopic simulation and this work. Other energy- and deceleration-based metrics cannot be readily computed due to the absence of mass and deceleration capacity parameters in the trajectory dataset. Hence, the TET and TIT are adopted to quantify the safety cost between vehicle ii and its front vehicle jj, which can be formulated at each time instant tt of the LC process as follows:

TTC⁡(i,j,t)=pix(t)−pjx(t)−ljvix(t)−vjx(t),(29)\operatorname{TTC}(i,j,t)=\frac{p_i^x(t)-p_j^x(t)-l_j}{v_i^x(t)-v_j^x(t)}, \tag*{(29)}
TET⁡(i,j,t)={1,0<TTC⁡(i,j,t)<TTC⁡⋆,0,otherwise,(30)\operatorname{TET}(i,j,t)= \begin{cases} 1, & 0<\operatorname{TTC}(i,j,t)<\operatorname{TTC}^{\star},\\ 0, & \text{otherwise}, \end{cases} \tag*{(30)}
TIT⁡(i,j,t)=1TTC⁡(i,j,t)−1TTC⁡⋆,0<TTC⁡(i,j,t)<TTC⁡⋆,(31)\operatorname{TIT}(i,j,t)=\frac{1}{\operatorname{TTC}(i,j,t)}-\frac{1}{\operatorname{TTC}^{\star}},\qquad0<\operatorname{TTC}(i,j,t)<\operatorname{TTC}^{\star}, \tag*{(31)}

where pixp_i^x, pjxp_j^x, vixv_i^x and vjxv_j^x are the longitudinal positions and speed of vehicles ii and jj, respectively; ljl_j denotes the length of the front vehicle jj; and TTC⋆^{\star} denotes the TTC threshold value. For the ego vehicle ii, its safety cost is jointly determined by the obstacle vehicle jj, and ahead vehicles in both initial lane iaheadi^{\mathrm{ahead}} and target lane jaheadj^{\mathrm{ahead}} shown in Figure 1. Additionally, the safety cost is also affected by the lateral positions of vehicles. Specifically, the ahead vehicle in the initial lane iaheadi^{\mathrm{ahead}} would not pose any safety cost after the completion of the ego vehicle’s LC maneuver. Therefore, following previous work [60], the safety cost formulation is defined as:

Csafety=∑n=1δ/Δtfsafety(i,iahead,nΔt)+∑n=1N12(fsafety(j,i,nΔt)+fsafety(i,jahead,nΔt)),(32)C_{\mathrm{safety}}=\sum_{n=1}^{\delta/\Delta t}f_{\mathrm{safety}}(i,i^{\mathrm{ahead}},n\Delta t)+\sum_{n=1}^{N}\frac{1}{2}\left(f_{\mathrm{safety}}(j,i,n\Delta t)+f_{\mathrm{safety}}(i,j^{\mathrm{ahead}},n\Delta t)\right), \tag*{(32)}

where fsafetyf_{\mathrm{safety}} represents the safety measurement function, which is quantified in this study using TET or TIT. A weighting factor of 12\frac{1}{2} is applied to vehicles in the target lane, ensuring the numerical balance between the initial and target lane safety considerations. Regardless of whether TET or TIT is selected, the resulting safety function introduces significant computational complexity, rendering direct inclusion in the trajectory optimization problem intractable for real-time applications. Approximating CsafetyC_{\mathrm{safety}} with a trained FICNN surrogate replaces this analytically cumbersome term with an explicit, optimization-compatible representation, making real-time trajectory optimization feasible.

(ii) Comfort cost CcomC_{\mathrm{com}}: Ride comfort reflects the smoothness of the ego vehicle’s motion during the LC maneuver and is evaluated based on both longitudinal and lateral accelerations:

Ccom=Clon(Px)+Clat(Py,δ),(33)C_{\mathrm{com}} = C_{\mathrm{lon}}(P^{\mathrm{x}}) + C_{\mathrm{lat}}(P^{\mathrm{y}}, \delta), \tag*{(33)}
Clon(Px)=∑n=1Nax(nΔt)2,(34)C_{\mathrm{lon}}(P^{\mathrm{x}}) = \sum_{n=1}^{N} a^{\mathrm{x}}(n\Delta t)^2, \tag*{(34)}
Clat(Py,δ)=∑n=1δΔtay(nΔt)2,(35)C_{\mathrm{lat}}(P^{\mathrm{y}}, \delta) = \sum_{n=1}^{\frac{\delta}{\Delta t}} a^{\mathrm{y}}(n\Delta t)^2, \tag*{(35)}

in which, ClonC_{\mathrm{lon}} and ClatC_{\mathrm{lat}} denote the cumulative longitudinal and lateral comfort costs, respectively. Both terms are formulated as convex quadratic expressions to ensure computational efficiency. However, the inclusion of the LC maneuver duration δ\delta as a decision variable introduces a structural challenge to the lateral comfort cost ClatC_{\mathrm{lat}}. Specifically, the dimensionalities of the matrices in Eqs. (10b) and (11b) are dependent on this decision variable, complicating the implementation with standard fixed-size optimization solvers.

Notably, the lateral comfort cost ClatC_{\mathrm{lat}} depends only on the LC duration δ\delta and lateral trajectory control points PyP^{\mathrm{y}}. Since PyP^{\mathrm{y}} appears in neither the remaining objective components nor constraints, it can be eliminated exactly by partial minimization. Accordingly, the optimal lateral comfort cost function is defined as follows:

Clat⋆(δ):=min⁡Py{Clat(Py,δ)∣Py∈Py(δ)},(36)C_{\mathrm{lat}}^{\star}(\delta) := \min_{P^{\mathrm{y}}} \left\{ C_{\mathrm{lat}}(P^{\mathrm{y}},\delta) \mid P^{\mathrm{y}} \in\mathcal{P}_{\mathrm{y}}(\delta) \right\}, \tag*{(36)}

where Clat⋆(δ)C_{\mathrm{lat}}^{\star}(\delta) is the minimum achievable lateral comfort cost for an LC maneuver lasting δ\delta; and Py(δ)\mathcal{P}_{\mathrm{y}}(\delta) is the set of lateral trajectories satisfying the boundary, speed, and acceleration constraints. The resulting optimal cost Clat⋆(δ)C_{\mathrm{lat}}^{\star}(\delta) can therefore be regarded as a function of δ\delta alone, which scales proportionally to 1δ3\frac{1}{\delta^3} when minimizing the sum of squared lateral accelerations [55]. This property motivates the substitution of ClatC_{\mathrm{lat}} in Eq. (14) with a surrogate model, similar to the one used for the safety metric. The specific architectures of both surrogate models are detailed in § 3.4.

(iii) Efficiency cost CeffC_{\mathrm{eff}}: The change in travel distance caused by the speed adjustment during the entire interval is used to assess the degree of speed fluctuation. Hence, the efficiency measurement function is expressed as:

Ceff=∑n=1N(v0x−vx(nΔt))Δt,(37)C_{\mathrm{eff}} = \sum_{n=1}^{N} \left(v_0^{\mathrm{x}} - v^{\mathrm{x}}(n\Delta t)\right)\Delta t, \tag*{(37)}

which is an affine function of the longitudinal trajectory control points PxP^{\mathrm{x}}. This linear relationship ensures that this term is computationally straightforward to implement within the optimization framework.

Surrogate-free trajectory optimization problem

We first formulate the trajectory optimization problem without any learned component, aiming to minimize the weighted sum of safety, comfort, and efficiency costs subject to the physical trajectory constraints:

min⁡Px,Py,δ wsCsafety(Px,δ)+wc[Clon(Px)+Clat(Py,δ)]+weCeff(Px)(38)\min_{P^{x},P^{y},\delta}\ w_{s}C_{\mathrm{safety}}(P^{x},\delta)+w_{c}\left[C_{\mathrm{lon}}(P^{x})+C_{\mathrm{lat}}(P^{y},\delta)\right]+w_{e}C_{\mathrm{eff}}(P^{x}) \tag*{(38)}
s.t.Px∈Px,Py∈Py(δ),δmin⁡≤δ≤T,(39)\begin{aligned} \text{s.t.}\quad& P^{x}\in\mathcal{P}_{x},\\ & P^{y}\in\mathcal{P}_{y}(\delta),\quad\delta_{\min}\leq\delta\leq T, \tag*{(39)} \end{aligned}

in which, the positive coefficients ws,wc,wew_{s},w_{c},w_{e} denote weights assigned to safety, comfort, and efficiency costs. The sets Px\mathcal{P}_{x} and Py(δ)\mathcal{P}_{y}(\delta) contain longitudinal and lateral control points satisfying defined constraints, respectively.

For any LC duration δ\delta, the planner will choose the feasible lateral control points that give the smallest lateral discomfort, because PyP^{y} appears only in the lateral comfort term and its associated feasibility conditions. The same planning decision can therefore be expressed using the optimal lateral comfort Clat⋆(δ)C_{\mathrm{lat}}^{\star}(\delta):

min⁡Px,δ wsCsafety(Px,δ)+wc[Clon(Px)+Clat⋆(δ)]+weCeff(Px)(40)\min_{P^{x},\delta}\ w_{s}C_{\mathrm{safety}}(P^{x},\delta)+w_{c}\left[C_{\mathrm{lon}}(P^{x})+C_{\mathrm{lat}}^{\star}(\delta)\right]+w_{e}C_{\mathrm{eff}}(P^{x}) \tag*{(40)}
s.t.Px∈Px,δmin⁡≤δ≤T.(41)\text{s.t.}\quad P^{x}\in\mathcal{P}_{x},\quad\delta_{\min}\leq\delta\leq T. \tag*{(41)}

Although the problem in Eq. (18) is a simplification of that in Eq. (17), two objective components still lack representations suitable for real-time solution, since the aggregate safety cost CsafetyC_{\mathrm{safety}} is determined by complex interactions between the planned ego trajectory and the observed traffic context, while Clat⋆C_{\mathrm{lat}}^{\star} is the value of the duration-dependent lateral trajectory problem in Eq. (36). Evaluating either term directly for every candidate (Px,δ)(P^{x},\delta) would undermine the computational efficiency of the planner. We therefore design the surrogates C^safety\hat{C}_{\mathrm{safety}} and C^lat⋆\hat{C}_{\mathrm{lat}}^{\star}, which are trained offline from trajectory and optimization data, so that they can be embedded explicitly into Eq. (18).

ICNN-class surrogate-embedded optimization framework

This section presents the ICNN-class surrogate models and their explicit embedding into the trajectory planning problem. We first introduce the MIP formulation of a conventional ReLU MLP and the LP formulation of FICNNs. The exactness of the LP representation is subsequently established, followed by the structured safety surrogate, the lateral comfort surrogate, and the final surrogate-embedded planning formulation.

Embedding neural network surrogates in optimization

To introduce the neural network embedding formulations, consider a generic optimization problem with a single objective function:

min⁡xf(x)s.t.x∈X,(42)\begin{aligned} \min_{x}\quad& f(x) \\ \text{s.t.}\quad& x \in\mathcal{X}, \tag*{(42)} \end{aligned}

where xx is the decision vector, X\mathcal{X} is the feasible region defined by the original problem constraints, and f(x)f(x) is an objective function that is unavailable or unsuitable for direct optimization. When f(x)f(x) is approximated by a trained neural network surrogate f^(x)\hat{f}(x), the surrogate replaces f(x)f(x) in the objective while the original feasible region X\mathcal{X} is retained. Embedding the surrogate then requires its forward pass to be expressed explicitly through additional constraints. For clarity, this subsection considers the minimization problem with one surrogate output.

Conventional MIP reformulation

For an MLP with LL layers, consisting of L−1L-1 hidden layers and one output layer:

h(l)=σ(W(l)h(l−1)+b(l)),l=1,…,L−1(43)h^{(l)} = \sigma\left(W^{(l)}h^{(l-1)} + b^{(l)}\right), \quad l = 1,\ldots,L-1 \tag*{(43)}
h(L)=W(L)h(L−1)+b(L),(44)h^{(L)} = W^{(L)}h^{(L-1)} + b^{(L)}, \tag*{(44)}

where h(0)h^{(0)} and h(l)h^{(l)} denote the input vector and the activation vectors of the ll-th hidden layer, respectively. W(l)W^{(l)} and b(l)b^{(l)} are the weights and biases of the ll-th layer, and σ(l)\sigma^{(l)} represents the activation function of the ll-th layer. With ReLU hidden layers, h(l)=max⁡{0,W(l)h(l−1)+b(l)}h^{(l)} = \max\{0, W^{(l)}h^{(l-1)} + b^{(l)}\}. Among various activation functions, ReLU is most frequently employed in the relevant studies due to its piecewise-linear structure that is amenable to reformulation through linear constraints, while maintaining competitive predictive accuracy [25]. Accordingly, the standard big-MM representation is

min⁡f^(x)(45)\begin{aligned} \min\quad&\hat{f}(x) \tag*{(45)} \end{aligned}
h(0)=x,(46)h^{(0)} = x, \tag*{(46)}
h(l)−s(l)=W(l)h(l−1)+b(l),l=1,…,L−1(47)h^{(l)} - s^{(l)} = W^{(l)}h^{(l-1)} + b^{(l)}, \qquad l = 1,\ldots,L-1 \tag*{(47)}
0≤hj(l)≤Uj(l)zj(l),l=1,…,L−1, j=1,…,nl(48)0 \leq h_j^{(l)} \leq U_j^{(l)}z_j^{(l)}, \qquad l = 1,\ldots,L-1,\ j = 1,\ldots,n_l \tag*{(48)}
0≤sj(l)≤−Lj(l)(1−zj(l)),l=1,…,L−1, j=1,…,nl(49)0 \leq s_j^{(l)} \leq-L_j^{(l)}(1-z_j^{(l)}), \qquad l = 1,\ldots,L-1,\ j = 1,\ldots,n_l \tag*{(49)}
zj(l)∈{0,1},l=1,…,L−1, j=1,…,nl(50)z_j^{(l)} \in\{0,1\}, \qquad l = 1,\ldots,L-1,\ j = 1,\ldots,n_l \tag*{(50)}
f^(x)=W(L)h(L−1)+b(L),(51)\hat{f}(x) = W^{(L)}h^{(L-1)} + b^{(L)}, \tag*{(51)}
L(L)≤f^(x)≤U(L),(52)L^{(L)} \leq\hat{f}(x) \leq U^{(L)}, \tag*{(52)}
x∈X,(53)x \in\mathcal{X}, \tag*{(53)}

in which, variables sj(l)s_j^{(l)} and zj(l)z_j^{(l)} denote the slack and binary variables for the jj-th neuron in the ll-th layer. Constraints (47)–(52) are introduced by reformulating the trained NN model through the big-MM method [15, 18 ); constraints {xref}](21c)–{xref}(21f) encode the ReLU activations in the hidden layers; constraint {xref}(21g) defines the affine output layer of the trained network; while constraint {xref}(21h)` imposes valid bounds on the network output.

The constants LL and UU denote valid lower and upper bounds for the corresponding neuron values. The tightness of these bounds has a substantial effect on the strength of the LP relaxation and, consequently, on the computational performance of the MIP. Nevertheless, as discussed in Section 1, acceleration techniques mitigate but do not eliminate the computational burden of the binary activation variables, motivating the use of ICNN-class models that admit reformulation without introducing integer variables.

FICNN and LP formulation

The forward pass of a fully input convex neural network (FICNN), as shown in Figure 2, can be formulated as:

Architecture of a generic $L$-layer fully input convex neural network (FICNN)

Figure 2. Architecture of a generic LL-layer fully input convex neural network (FICNN).

h(1)=σ(S(1)h(0)+b(1)),(54)h^{(1)} = \sigma(S^{(1)}h^{(0)} + b^{(1)}), \tag*{(54)}
h(l)=σ(W(l)h(l−1)+S(l)h(0)+b(l)),l=2,…,L−1(55)h^{(l)} = \sigma(W^{(l)}h^{(l-1)} + S^{(l)}h^{(0)} + b^{(l)}), \qquad l = 2,\ldots,L-1 \tag*{(55)}
h(L)=W(L)h(L−1)+S(L)h(0)+b(L).(56)h^{(L)} = W^{(L)}h^{(L-1)} + S^{(L)}h^{(0)} + b^{(L)}. \tag*{(56)}

The key architectural distinctions between FICNN and general MLP are as follows:

  1. Limitations on weights WW and activation functions σ\sigma: FICNNs guarantee convexity by requiring the inter-layer weights WW to be non-negative and the activation functions σ\sigma to be convex and non-decreasing. These requirements arise from the composition rule for convex functions, where h(x)=f(g(x))h(x) = f(g(x)) is convex in xx if ff is both convex and non-decreasing, and gg is convex. This ensures

that each layer preserves the convexity of its input, thereby guaranteeing end-to-end convexity of the network output. Among the activation functions satisfying these criteria, ReLU is the most widely adopted in ICNN-class models (a survey of suitable alternatives is provided by Ławryńczuk [64]). It should be emphasized that these constraints constitute sufficient but not necessary conditions for convexity, with necessary and sufficient conditions for ReLU NNs established by Gagneux et al. [16].

(ii) Skip connections with weights SS: Direct skip connections from the input to each hidden layer are introduced to enhance the representational capacity of FICNN. Unlike the weights WW, the associated skip connection weights SS are unconstrained, since the skip connections introduce only linear terms in inputs, which do not violate convexity.

By replacing the original objective function with the trained FICNN model with ReLU activations, the optimization problem can be converted into the following form via LP reformulation ([1]):

min⁡f^(x)s.t.h(0)=x,h(1)≥S(1)h(0)+b(1),h(l)≥W(l)h(l−1)+S(l)h(0)+b(l),l=2,…,L−1,h(l)≥0,l=1,…,L−1,f^(x)=W(L)h(L−1)+S(L)h(0)+b(L),x∈X.(57)\begin{aligned} \min\quad&\hat{f}(x) \\ \text{s.t.}\quad&h^{(0)} = x, \\ &h^{(1)} \ge S^{(1)}h^{(0)} + b^{(1)}, \\ &h^{(l)} \ge W^{(l)}h^{(l-1)} + S^{(l)}h^{(0)} + b^{(l)}, \qquad l=2,\ldots,L-1, \\ &h^{(l)} \ge0, \qquad l=1,\ldots,L-1, \\ &\hat{f}(x) = W^{(L)}h^{(L-1)} + S^{(L)}h^{(0)} + b^{(L)}, \\ &x \in\mathcal{X}. \tag*{(57)} \end{aligned}

As shown in Eq. (57), the LP reformulation for ICNN-class models relies solely on linear constraints, without introducing nonlinear constraints or integer variables. The essence of this reformulation is to replace the exact ReLU activation equations with their epigraph representation. In this sense, constraints (23c)–(23e) can be interpreted as the relaxation of the ReLU activation constraints. As a result, a feasible solution of Eq. (57) may contain hidden-layer values that do not coincide with the activations produced by the trained FICNN under a forward pass. The next subsection addresses this distinct exactness question.

Exactness of the ReLU epigraph reformulation

Replacing ReLU equalities by epigraph inequalities enlarges the feasible region, because the hidden-layer variables may lie strictly above the corresponding values generated by the surrogate forward pass. However, this slack can be removed without worsening the objective under direct minimization of the FICNN output. Then LP reformulation is therefore tight at optimality, as formally established in Proposition 1. The exactness of the epigraph reformulation is also analyzed by Liu et al. [35], covering both fixed inputs and direct output minimization through its equivalence with the LP relaxation of an MIP reformulation. Here, we focus on the direct output minimization setting relevant to the trajectory planning problem considered in this work, and prove the tightness through a slack-tightening argument directly on the epigraph constraints.

Proposition 1 (Tightness of the FICNN LP reformulation). Consider the LP reformulation of a trained FICNN with ReLU activations shown in Eq. (57). Suppose that the hidden layer weights satisfy W(l)≥0W^{(l)} \ge0 for l=2,…,Ll = 2, \ldots, L, and that the FICNN output is minimized with a positive coefficient in the objective. Then the LP reformulation is tight at optimality, in the sense that there exists an optimal solution in which every hidden neuron satisfies the exact ReLU activation h(l)=max⁡{a(l),0}h^{(l)} = \max\{a^{(l)}, 0\}, where a(1)=S(1)h(0)+b(1)a^{(1)} = S^{(1)}h^{(0)} + b^{(1)} and a(l)=W(l)h(l−1)+S(l)h(0)+b(l)a^{(l)} = W^{(l)}h^{(l-1)} + S^{(l)}h^{(0)} + b^{(l)} for l=2,…,L−1l = 2, \ldots, L - 1. Consequently, the LP reformulation gives the same optimal value as the forward pass output of the trained FICNN at the same optimal input.

Proof. For each hidden neuron, constraints (23c)–(23e) impose h(l)≥a(l)h^{(l)} \ge a^{(l)} and h(l)≥0h^{(l)} \ge0, and therefore h(l)≥max⁡{a(l),0}h^{(l)} \ge\max\{a^{(l)}, 0\}. Thus, these constraints describe the epigraph of the composition of the ReLU activations rather than the exact ReLU graph. Suppose that, at an optimal solution, some hidden neurons are strictly above this epigraph boundary, i.e., h(l)>max⁡{a(l),0}h^{(l)} > \max\{a^{(l)}, 0\}. Then h(l)h^{(l)} can be decreased to h~(l)=max⁡{a(l),0}\tilde{h}^{(l)} = \max\{a^{(l)}, 0\} while preserving feasibility of the corresponding constraint pair. Since all downstream hidden layer weights are non-negative and all activation functions are non-decreasing, decreasing a hidden-layer variable cannot increase any subsequent pre-activation value, and hence cannot increase the final FICNN output. Applying this tightening argument successively through the hidden layers yields a feasible solution satisfying h~(l)=max⁡{a~(l),0}\tilde{h}^{(l)} = \max\{\tilde{a}^{(l)}, 0\} for all $l = 1, \ldots, L - 1, with resulting output no larger than before.

Therefore, any slack in the ReLU epigraph constraints can be removed without worsening the objective. If tightening the slack strictly decreases the objective value, then optimality is contradicted. Otherwise, the tightened solution attains the same objective value and is therefore also optimal. Hence, the LP reformulation is tight at optimality and correctly represents the trained FICNN surrogate under direct output minimization. □

Proposition 1 considers the direct minimization of a single FICNN output. However, the trajectory planning problem in Eq. (18) has a weighted objective composed of analytical terms and two terms approximated by surrogates. In particular, the longitudinal comfort and efficiency costs remain analytical, whereas the safety cost and the optimal lateral comfort value are represented by separate surrogate models. The following remark states how the tightness result extends to this objective structure.

Remark 1 (Extension to analytical objective terms and multiple surrogates). Consider an objective of the form

g(x)+∑k=1Kλkf^k(x),λk>0,(58)g(x) + \sum_{k=1}^{K} \lambda_k \hat{f}_k(x), \qquad\lambda_k > 0, \tag*{(58)}

where g(x)g(x) does not depend on the internal variables of the surrogate models, and each f^k\hat{f}_k has an epigraph representation satisfying the non-negative weight conditions of Proposition 1. Tightening the internal variables of surrogate kk leaves xx, g(x)g(x), and the internal variables of the other surrogates unchanged, while it cannot increase f^k(x)\hat{f}_k(x). Since λk>0\lambda_k > 0, this operation does not increase the overall objective. The tightening argument can therefore be applied independently to each surrogate. Consequently, there exists an optimal solution in which the internal variables and output of every embedded surrogate coincide with their corresponding forward-pass values.

Remark 1 shows that the entire objective function need not be approximated by a surrogate model. Only computationally intractable or analytically unavailable components need to be replaced by surrogates, while the remaining components can be retained in analytical form. It also establishes that the LP reformulation remains exact at optimality for multiple FICNN surrogates, provided that each surrogate output enters the minimization objective with a positive coefficient. Thus, the trained surrogates considered in this work can be represented exactly at optimality without introducing binary variables.

Proposition 1 and Remark 1 establish the conditions under which the validity of the LP reformulation is guaranteed. The optimization problem considered in this work satisfies these conditions, so the LP reformulation exactly represents the trained surrogates at optimality without further machinery. For settings beyond these assumptions, we refer to the LP-driven branch-and-bound approach by Liu et al. [35] as a complementary route.

Extensions of input convex neural networks

The FICNN introduced above provides the basic input convex architecture and corresponding LP reformulation. However, the safety surrogate required in this work must process two types of inputs: the planned LC trajectory, which is sequential and depends on the planning decisions, and supplementary traffic features, such as historical vehicle trajectories and static vehicle information, for which convexity is not required. Hence, this section introduces two extensions of the input-convex architecture: ICRNN for sequential trajectory inputs and PICNN for incorporating additional traffic information while preserving convexity with respect to the decision variables.

Input convex recurrent neural network

To capture the inherent temporal dependencies in vehicle trajectory data, we develop a many-to-one ICRNN model, building on the architectural principles introduced by Chen et al. [3]. The model architecture is illustrated in Figure 3, with the corresponding forward pass defined as:

Architecture of a $T$-step input convex recurrent neural network (ICRNN)

Figure 3. Architecture of a TT-step input convex recurrent neural network (ICRNN).

h0=0,(59)h_0 = 0, \tag*{(59)}
ht=σ(Whht−1+Wxxt+bh),t=1,2,…,T,(60)h_t = \sigma(W_h h_{t-1} + W_x x_t + b_h), \quad t = 1, 2, \ldots, T, \tag*{(60)}
y=WyhT+Sx+by,(61)y = W_y h_T + Sx + b_y, \tag*{(61)}

where TT is the length of the time series data, and x=(x1T,…,xTT)Tx = (x_1^{\mathsf{T}}, \ldots, x_T^{\mathsf{T}})^{\mathsf{T}} denotes the concatenated input sequence. To ensure the convexity of the output in xx and allow for an LP reformulation, the activation function σ\sigma is defined as ReLU, while the weight matrices WhW_h and WyW_y are constrained to be non-negative. Compared with generic many-to-one recurrent neural network (RNN) architectures, the proposed ICRNN incorporates non-negative weight constraints to enforce convexity, alongside skip connections designed to improve representational capacity.

Our architecture also differs from the original ICRNN of Chen et al. [3] in three aspects. First, their many-to-many structure produces an output at every time step as required for model predictive control, whereas our many-to-one variant emits a single output after the final step, matching the scalar quantity we seek to predict. Second, we retain only the connections essential for convexity, discarding those from the previous input to the hidden state and from the previous hidden state to the output. Meanwhile, the skip connection SxSx generalizes the direct input–output connection and grants the output direct affine dependence on all time steps. Third, since the sign constraints apply only to WhW_h and WyW_y, the matrices WxW_x and SS acting directly on the input remain unrestricted, removing the need for the input duplication x^=[xT,−xT]T\hat{x} = [x^{\mathsf{T}}, -x^{\mathsf{T}}]^{\mathsf{T}} used in their design. Taken together, these choices yield a streamlined ICRNN tailored to many-to-one prediction, one that preserves input convexity with fewer parameters and translates into a more compact LP reformulation.

The LP reformulation of ICRNN models follows the same ReLU epigraph mechanism as in the FICNN case. When the recurrent structure is unrolled over time, it forms a layered computational graph with non-negative downstream weights, allowing the tightness result in Proposition 1 to apply analogously. Unlike FICNNs, whose reformulation complexity scales with the hidden layer size and remains independent of input dimensions, the number of variables and constraints resulting from embedding ICRNN models scales with both the hidden state size and the input sequence length. Notably, the use of ReLU in ICRNN, required here for convexity and LP reformulation, departs from the standard practice of using tanh or sigmoid functions in RNNs. This exacerbates the risk of exploding gradients during backpropagation through time and also introduces the risk of neuron death [42]. To mitigate these risks, weight initialization with the identity matrix (Le et al., 2015) and gradient clipping [44] are applied during the training process.

Partially input convex neural network

Compared to standard FICNN, PICNN models may exhibit enhanced representation capacity by accommodating two distinct groups of inputs: the decision variables xx of the original optimization problem and the auxiliary features yy. The outputs of PICNN models are convex only in decision variables, while no convexity requirements are imposed on the remaining inputs, thereby affording greater modeling flexibility than FICNN models. In this work, we consider two PICNN variants that differ in how the auxiliary feature stream derived from yy interacts with the input-convex stream associated with xx. PICNN Type I follows the original gated architecture of Amos et al. [1], whereas PICNN Type II is a simplified version proposed in this work.

As shown in Figure 4, PICNN Type I utilizes a gating mechanism to modulate the decision variables stream with features extracted from the auxiliary inputs and is defined as follows:

Architecture of an $L$-layer partially input convex neural network (PICNN Type I)

Figure 4. Architecture of an LL-layer partially input convex neural network (PICNN Type I).

v(l)=σ1(Wv(l)v(l−1)+bv(l)),l=1,…,L−1(62)v^{(l)} = \sigma_1\left(W_v^{(l)}v^{(l-1)} + b_v^{(l)}\right), \qquad l = 1,\ldots,L-1 \tag*{(62)}
h(1)=σ2(S(1)(x⊙x~(1))+Wvh(1)v(0)+bh(1))(63)h^{(1)} = \sigma_2\left(S^{(1)}\left(x \odot\widetilde{x}^{(1)}\right) + W_{vh}^{(1)}v^{(0)} + b_h^{(1)}\right) \tag*{(63)}
h(l)=σ2(Wh(l)(h(l−1)⊙h~(l))+S(l)(x⊙x~(l))+Wvh(l)v(l−1)+bh(l)),l=2,…,L−1(64)h^{(l)} = \sigma_2\left(W_h^{(l)}\left(h^{(l-1)} \odot\widetilde{h}^{(l)}\right) + S^{(l)}\left(x \odot\widetilde{x}^{(l)}\right) + W_{vh}^{(l)}v^{(l-1)} + b_h^{(l)}\right), \qquad l = 2,\ldots,L-1 \tag*{(64)}
h(L)=Wh(L)h(L−1)+S(L)h(0)+Wvh(L)v(L−1)+bh(L)(65)h^{(L)} = W_h^{(L)}h^{(L-1)} + S^{(L)}h^{(0)} + W_{vh}^{(L)}v^{(L-1)} + b_h^{(L)} \tag*{(65)}
h~(l)=σ3(Wv~h(l)v(l−1)+bv~h(l)),l=1,…,L−1(66)\widetilde{h}^{(l)} = \sigma_3\left(W_{\widetilde{v}h}^{(l)}v^{(l-1)} + b_{\widetilde{v}h}^{(l)}\right), \qquad l = 1,\ldots,L-1 \tag*{(66)}
x~(l)=Wv~x~(l)v(l−1)+bv~x~(l),l=1,…,L−1(67)\widetilde{x}^{(l)} = W_{\widetilde{v}\widetilde{x}}^{(l)}v^{(l-1)} + b_{\widetilde{v}\widetilde{x}}^{(l)}, \qquad l = 1,\ldots,L-1 \tag*{(67)}

where ⊙\odot denotes the Hadamard product, namely the element-wise product.

The proposed variant, PICNN Type II, is obtained by simplifying Type I. Specifically, the multiplicative modulation terms x~(l)\widetilde{x}^{(l)} and h~(l)\widetilde{h}^{(l)} and their associated gating transformations are removed.

As illustrated in Figure 5, the auxiliary stream is instead coupled to the input-convex stream through direct additive terms. The resulting architecture is defined as follows:

Architecture of an $L$-layer partially input convex neural network (PICNN Type II)

Figure 5. Architecture of an LL-layer partially input convex neural network (PICNN Type II).

v(l)=σ1(Wv(l)v(l−1)+bv(l)),l=1,…,L−1(68)v^{(l)} = \sigma_1\left(W_v^{(l)}v^{(l-1)} + b_v^{(l)}\right), \qquad l = 1,\ldots,L-1 \tag*{(68)}
h(1)=σ2(S(1)h(0)+Wvh(1)v(0)+bh(1))(69)h^{(1)} = \sigma_2\left(S^{(1)}h^{(0)} + W_{vh}^{(1)}v^{(0)} + b_h^{(1)}\right) \tag*{(69)}
h(l)=σ2(Wh(l)h(l−1)+S(l)h(0)+Wvh(l)v(l−1)+bh(l)),l=2,…,L−1(70)h^{(l)} = \sigma_2\left(W_h^{(l)}h^{(l-1)} + S^{(l)}h^{(0)} + W_{vh}^{(l)}v^{(l-1)} + b_h^{(l)}\right), \qquad l = 2,\ldots,L-1 \tag*{(70)}
h(L)=Wh(L)h(L−1)+S(L)h(0)+Wvh(L)v(L−1)+bh(L).(71)h^{(L)} = W_h^{(L)}h^{(L-1)} + S^{(L)}h^{(0)} + W_{vh}^{(L)}v^{(L-1)} + b_h^{(L)}. \tag*{(71)}

In both architectures, v(l)v^{(l)}, defined in Eqs. (26a) and (27a), represents the auxiliary feature stream generated from yy. The matrices S(l)S^{(l)} play the same role as the skip-connection weights in FICNNs by directly linking the decision variables to each hidden layer of the convex stream. In the gated architecture, the auxiliary stream v(l)v^{(l)} generates the modulation terms x~(l)\widetilde{x}^{(l)} and h~(l)\widetilde{h}^{(l)} through Eqs. (26e) and (26f). These terms enter the convex stream through Hadamard products with xx and h(l−1)h^{(l-1)}, allowing the auxiliary features to modulate the contributions of the decision variables and the previous convex hidden layer. By removing these gating pathways, the proposed Type II architecture offers a simpler and more parsimonious alternative, whose practical benefits and trade-offs are examined in the experiments in Section 4.

Similar to FICNNs, the convexity of PICNN models with respect to xx requires the activation function σ2\sigma_2 in Eqs. (26) and (27) to be convex and non-decreasing, and the weights WhW_h to be non-negative. For the gated architecture in Eq. (26), the output of σ3\sigma_3 must also be non-negative. The remaining activation functions and weights are not subject to these restrictions. This flexibility in the auxiliary pathway holds provided the auxiliary features yy are fixed inputs rather than decision variables, so that the auxiliary stream and the modulation terms can be precomputed by a forward pass and treated as constants in the reformulation. Under these conditions, the convex pathway has the same layered epigraph structure and non-negative downstream weights as the FICNN, allowing the tightness result in Proposition 1 to apply analogously. Therefore, the resulting reformulation does not introduce additional constraints or decision variables beyond those required for an FICNN with the corresponding convex-path dimensions, thereby preserving comparable computational complexity.

Surrogate models for trajectory planning

The reduced trajectory-planning problem in Eq. (18) contains two objective components that are intractable for online solution. The safety surrogate is designed to replace the computationally expensive interaction-based safety cost, while the lateral comfort surrogate is designed to replace the implicit optimization required to compute the duration-dependent optimal value Clat(δ)C_{\mathrm{lat}}(\delta). Both surrogates utilize the input convex architectures introduced above, ensuring convexity with respect to the decision variables and enabling LP representations in the final planning formulation.

Structured ICNN-class safety surrogate

The safety cost depends jointly on fixed historical context, planned LC trajectory, and duration. We therefore construct the architecture shown in Figure 6, which comprises three principal modules:

Architecture of the safety surrogate model

Figure 6. Architecture of the safety surrogate model, comprising a non-convex historical encoder, a convex trajectory encoder, and a skip-connection-free PICNN decoder.

(i) Historical encoder (non-convex branch): This module encodes the static and dynamic historical context of the LC environment. It takes the longitudinal historical trajectories of all vehicles and their respective vehicle lengths as input. Temporal features are extracted through a Long Short-Term Memory (LSTM) (Hochreiter & Schmidhuber [24]), while static features are processed by an MLP. The resulting representations are concatenated across all vehicles to form a context feature vector, serving as the non-convex input to the decoder.

(ii) Trajectory encoders (convex branch): This branch encodes the decision variables of the trajectory planning optimization problem. The planned ego LC trajectory, represented as a sequence of longitudinal positions or speeds over TT, is encoded by an ICNN, while the LC duration δ\delta is embedded by an FICNN. The two resulting representations are concatenated to form the convex input vector, preserving convexity with respect to the original decision variables.

(iii) PICNN decoder: The decoder integrates the context and decision variable representations to predict the safety metric C^safety\hat{C}_{\mathrm{safety}}. By enforcing the PICNN structural constraints, the predicted output is convex with respect to the decision variables while imposing no convexity requirement on the contextual features. Skip connections of the PICNN decoder are deliberately removed. This is because, with the concatenated output of the ICRNN and FICNN serving as the PICNN’s convex inputs, the validity of Proposition 1 requires non-negativity of all weights downstream of these inputs. This condition is violated by the unconstrained skip connection weights, so the validity of the LP epigraph relaxation no longer holds. This design retains sufficient expressive power, as supported by the safety-cost prediction results reported in § 4.2, and enables valid LP reformulation, striking a balance between the representation capacity and computational efficiency.

FICNN lateral-comfort surrogate

The optimal lateral comfort surrogate takes the LC duration δ\delta as input and approximates the optimal value function Clat∗(δ)C_{\mathrm{lat}}^{*}(\delta) defined by the duration-dependent optimization problem in Eq. (36). This mapping adopts the FICNN architecture, which can be incorporated into the final planning problem through binary-free reformulation constraints. As discussed in § 2.2, the optimal lateral comfort cost scales proportionally to 1δ3\frac{1}{\delta^{3}} when minimizing the sum of squared lateral accelerations. Since δ>0\delta> 0, this relationship is convex in δ\delta, making the FICNN a natural choice for approximating the corresponding cost function.

Output activation and training considerations

Although regression models typically use the identity activation function in the output layer, replacing it with a non-negative activation function can be beneficial and rational when the surrogate target is inherently non-negative. For the PICNN decoder, since the surrogate target C^safety\hat{C}_{\mathrm{safety}} as shown in Eq. (32) is non-negative, the Softplus function [7], a smooth version of ReLU, is adopted as the output layer activation. This function enforces the non-negative output range consistent with its physical meaning while mitigating training issues such as dead neurons and vanishing gradients [62]. The trade-off is that Softplus introduces nonlinear equality constraints during reformulation, rendering the reformulated problem non-convex and computationally challenging.

To address this, the equality constraints representing the output layer forward pass are relaxed to inequality constraints, formulated as follows:

f^(x)≥ln⁡(1+exp⁡(W(L)h(L−1)+S(L)h(0)+b(L))).(72)\hat{f}(x) \geq\ln\left(1+\exp\left(W^{(L)}h^{(L-1)}+S^{(L)}h^{(0)}+b^{(L)}\right)\right). \tag*{(72)}

By relaxing the output layer activation as in Eq. (72), the feasible region is enlarged to the epigraph of the original Softplus function, and, since the Softplus function is inherently convex, its epigraph constitutes a convex set, resulting in a tractable convex relaxation. By a trivial optimality argument, Eq. (72) is binding at optimality, thereby preserving the convexity of the reformulated problem and guaranteeing global optimality.

In contrast, although the lateral comfort cost is also non-negative, the comfort surrogate retains the identity output activation. Given the simplicity of this low-dimensional learning task, non-negativity need not be architecturally enforced, and the identity output keeps the corresponding reformulation fully linear.

When training ICNN-class models, the non-negativity constraints on the relevant weights are enforced by projecting weights onto the feasible region after each gradient step, according to [4]:

ΠX(y)=arg⁡min⁡x∈X 12∥x−y∥22,(73)\Pi_{\mathcal{X}}(y)=\underset{x\in\mathcal{X}}{\arg\min}\ \frac{1}{2}\lVert x-y\rVert_{2}^{2}, \tag*{(73)}

in which, X\mathcal{X} and yy denote the feasible region and the weight value prior to projection, respectively. For weights subject to non-negativity constraints, this projection is implemented by clamping negative values to zero after each parameter update.

Surrogate-embedded trajectory planning formulation

Let Esafety(ξ)\mathcal{E}_{\mathrm{safety}}(\xi) and Elat\mathcal{E}_{\mathrm{lat}} denote the binary-free convex epigraph representations of the trained safety and lateral comfort surrogates, respectively. The internal variables and constraints associated with these representations are suppressed here for notational simplicity. Replacing the two intractable objective components in Eq. (18) with their surrogate representations yields

min⁡Px,δ  wsC^safety+wc[Clon(Px)+C^lat⋆]+weCeff(Px)(74)\min_{P^x,\delta}\; w_s\widehat{C}_{\mathrm{safety}} + w_c\left[C_{\mathrm{lon}}(P^x) + \widehat{C}^{\star}_{\mathrm{lat}}\right] + w_e C_{\mathrm{eff}}(P^x) \tag*{(74)}
s.t.Px∈Px,δmin⁡≤δ≤T,(75)\mathrm{s.t.}\quad P^x \in\mathcal{P}_x,\qquad\delta_{\min} \le\delta\le T, \tag*{(75)}
(Px,δ,C^safety)∈Esafety(ξ),(76)(P^x,\delta,\widehat{C}_{\mathrm{safety}}) \in\mathcal{E}_{\mathrm{safety}}(\xi), \tag*{(76)}
(δ,C^lat⋆)∈Elat.(77)(\delta,\widehat{C}^{\star}_{\mathrm{lat}}) \in\mathcal{E}_{\mathrm{lat}}. \tag*{(77)}

Here, the traffic context ξ\xi is fixed during each planning instance. Compared with Eq. (18), only the safety cost and optimal lateral comfort cost are replaced by learned surrogates. The longitudinal comfort cost, efficiency cost, and physical trajectory constraints retain their analytical forms. Because the retained analytical terms are affine or convex quadratic and both surrogate epigraph sets are convex, problem (30) is a binary-free convex optimization problem. Under the conditions established above, Proposition 1 ensures that the epigraph representations are tight at an optimum, while Remark 1 shows that this result is preserved in the presence of the retained analytical terms and multiple surrogate outputs. Consequently, there exists an optimal solution at which both surrogate outputs coincide with their corresponding forward pass values.

Numerical experiments

This section evaluates the proposed methodology in terms of surrogate prediction accuracy, reformulation efficiency, and closed-loop trajectory planning performance. Section 4.1 first describes the hybrid dataset used in the experiments. Section 4.2 compares alternative architectures for safety-cost prediction and separately evaluates the FICNN surrogate for optimal lateral comfort cost. Section 4.3 compares the LP and MIP reformulation methods in terms of problem size and solution efficiency. Section 4.4 evaluates four surrogate-embedded trajectory planners against two conventional baselines by executing planned trajectories in SUMO ([38]) and measuring their realized performance.

All training experiments are conducted on the Triton computing cluster maintained by the Aalto Science-IT project, utilizing an Intel Xeon Platinum 8468 CPU and an NVIDIA H100 GPU with 80 GB of RAM. Reformulation experiments are conducted on a computing platform equipped with an AMD Ryzen 7 6800H processor and 16 GB RAM. The framework is implemented in Python 3.12.4, utilizing PyTorch 2.9.1 ([45]) for model training, Pyomo 6.9.5 ([23]) for optimization modeling, and Gurobi 13.0.1 ([20]) with default parameters for solving.

Dataset overview

We adopt a hybrid dataset that combines real-world LC trajectories with simulation-generated scenarios to improve training data coverage. This design is motivated by the trust-region issue in optimization problems with embedded predictive NN models, where the optimal solutions may lie outside the range of the training dataset. In such cases, surrogate predictions and the resulting decisions become unreliable, since solvers can exploit extrapolation errors. The simulated scenarios therefore complement the real-world trajectory data by broadening the range of the dataset and enhancing robustness against rare situations.

The adopted dataset comprises 1,317 real-world scenarios sourced from the SWIFTraj dataset [21] and 2,901 augmented scenarios generated via SUMO simulation. Each scenario consists of four vehicles: the ego vehicle, the obstacle vehicle, and the leading vehicles in both the initial and target lanes. For each vehicle, longitudinal positions and speeds are recorded at 10 Hz over the 3 seconds interval preceding the LC maneuver, yielding a 30-step historical trajectory per vehicle. The LC trajectory of the ego vehicle is discretized at 1 second intervals over the fixed horizon TT, thereby producing a 10-step trajectory profile and the associated LC maneuver duration δ\delta. The TET-based and TIT-based safety metrics of each scenario are calculated following Eqs. (12b) and (12c), with the TTC⋆\mathrm{TTC}^{\star} set as 1.5 [50].

SWIFTraj data were collected from a highway in Nanjing, China, depicted in Figure 7, during the morning peak period on workdays. The dataset contains detailed information for each LC vehicle, including lateral and longitudinal position, speed, acceleration, and the motion states of surrounding vehicles. Furthermore, since this dataset was collected during the morning peak hour, it comprehensively records the LC trajectories and vehicle interactions under congested conditions. Because simulation platforms such as SUMO rely on parameterized car-following and LC models, they may not fully reproduce congested LC interactions without careful calibration. The real-world component of the hybrid dataset is therefore essential for capturing high-density driving behavior. This distinction is clearly reflected in Figure 8, where the mean speed derived from the real-world trajectory data is significantly lower than that of the simulation data.

The geographical map of the site for SWIFTraj data collection

Figure 7. The geographical map of the site for SWIFTraj data collection, reproduced from Han et al. [22].

Distribution of mean speeds of ego vehicles during the LC process, comparing real trajectory data and simulation data

Figure 8. Distribution of mean speeds of ego vehicles during the LC process, comparing real trajectory data and simulation data.

In the SUMO simulation framework, the default car-following and LC models are applied for all vehicles, while the associated parameters are systematically varied [11, 38]. Furthermore, high-risk scenarios are generated in SUMO, thereby covering situations that are rare or absent from the real-world dataset. As shown in Figure 9 and Figure 10, the partial TET-based and TIT-based safety metric values are overwhelmingly larger than any values observed in the real-world dataset. These elevated values, which represent high-risk scenarios, provide adequate data diversity for the subsequent surrogate model training. Additionally, surrogate models face a greater challenge when trained on TIT-based safety metrics compared to TET-based ones. This discrepancy is primarily attributed to the wider numerical range and the presence of extreme values in the TIT-based dataset. These characteristics may influence the prediction performance across different model architectures, which will be presented and discussed in subsequent sections.

Distribution of TET-based safety metrics comparing real trajectory data and simulation data

Figure 9. Distribution of TET-based safety metrics comparing real trajectory data and simulation data

Distribution of TIT-based safety metrics comparing real trajectory data and simulation data

Figure 10. Distribution of TIT-based safety metrics comparing real trajectory data and simulation data

Model prediction performance

While the representation capacity of ICNN-class models is theoretically limited by their nonnegative weight constraints, the practical implications of this constraint require empirical evaluation. This section, therefore, assesses the prediction performance of ICNN-class surrogate models against their unconstrained counterparts. The evaluation covers the two surrogate models described in Section 3.4, which predict the total safety cost and lateral comfort cost during the entire LC process, respectively.

The proposed surrogate model for safety metrics incorporates static features and dynamic vehicle states as inputs, as shown in Figure 6. Static information includes the lengths of all involved vehicles, while dynamic information comprises the historical speed and position profiles of all vehicles and the ego vehicle’s trajectories during the LC maneuver. These profiles are normalized relative to the ego vehicle, thereby facilitating model training. Moreover, this relative representation reduces the input range, enabling smaller big-MM values in the reformulation. The tightening of the search space significantly improves computational efficiency when solving optimization problems integrating with trained models.

Table 1 summarizes the four architectures evaluated for safety-cost prediction. All models share the same processing pipeline for static features and historical state information, but differ in encoders for LC trajectories and duration. The Input Reduced Baseline omits these planned-trajectory inputs to assess their contribution, whereas the unconstrained Baseline uses LSTM and MLP modules to encode the trajectory and duration. We refer to the two ICNN-class safety-surrogate configurations as Proposed Model I and Proposed Model II, which employ the gated PICNN Type I decoder and the simplified additive PICNN Type II decoder, respectively. Both configurations share the same historical encoder, ICRNN trajectory encoder, and FICNN duration encoder, differing only in their PICNN decoder architectures. For each of the four architectures, separate model instances are trained to predict TET-based and TIT-based safety costs.

ModelLC Trajectories EncoderLC Duration EncoderDecoder
Input Reduced Baseline––MLP
BaselineLSTMMLPMLP
Proposed Model IICRNNFICNNPICNN Type I
Proposed Model IIICRNNFICNNPICNN Type II

Table 1. Architectural comparison of the evaluated surrogate models.

The MLP decoder in both the Input Reduced Baseline and Baseline models consists of three hidden layers with dimensions [64, 64, 32]. For the Baseline model, the LSTM encoder for LC trajectories has a hidden dimension of 16, and the MLP encoder for LC duration has hidden dimensions of [8, 8]. For Proposed Models I and II, the ICRNN encoder for LC trajectories has hidden and output dimensions of 8 and 16, respectively, and the FICNN encoder for LC duration shares the same hidden dimensions as the MLP duration encoder. Although PICNN Types I and II differ in architecture, both decoders maintain the same hidden dimensions: [32, 32, 16] for the convex path and [64, 64, 32] for the non-convex path. ReLU activation functions are applied between all hidden layers across all models. The output layer activations follow the selections described in § 3.4.3, with Softplus for the PICNN decoder in the safety surrogate and identity elsewhere.

All models are trained using the Adam optimizer [30] with an initial learning rate of 10−310^{-3}, a batch size of 32, and a maximum of 300 epochs. A ReduceLROnPlateau learning rate scheduler [46] with a patience of 10 and a decay factor of 0.5 is applied. The hybrid dataset described in § 4.1 is randomly partitioned into training, validation, and test sets at a ratio of 70:15:15. Furthermore, training PICNN models is particularly challenging due to their special architectures and non-negative weight constraints, so the selection of an appropriate initialization strategy is critical. Specifically, the weights for skip and cross-connections should be initialized to near-zero values to ensure a more stable training process.

Tables 2 and 3 present the safety-cost prediction accuracy of the four architectures for TET-based and TIT-based safety costs, respectively. The reported statistics are obtained from 20 independent training runs using the same hyperparameters. The Input Reduced Baseline model exhibits the lowest prediction accuracy for both targets, indicating that the LC trajectories and duration of the ego vehicle contain substantial information for safety evaluation and cannot be omitted. Although the unconstrained Baseline achieves the highest accuracy, Proposed Models I and II maintain competitive performance while satisfying the structural requirements for convex embedding. For both prediction targets, Proposed Model I consistently outperforms Proposed Model II across both labels, suggesting that the gating mechanism of the original PICNN provides greater representational flexibility than the simplified additive decoder.

We next evaluate a separate surrogate for lateral-comfort cost prediction, distinct from the two safety-surrogate configurations considered above. As discussed in § 3.4, the optimal lateral comfort cost is convex in the LC duration δ\delta when the objective is to minimize the sum of squared lateral accelerations. To investigate whether the ICNN-class models exhibit better performance when the underlying input-output relationship is convex, we compare an FICNN with a standard MLP using the same hidden-layer dimensions to predict the optimal lateral-comfort cost across LC durations. Both models comprise two hidden layers with dimensions [16, 16] and are trained using the Adam optimizer with a learning rate of 10−310^{-3}, a batch size of 16, and a maximum of 300 epochs. Table 4 reports the experiment results over 50 random seeds with the same dataset split. The FICNN achieves consistently lower MAE and RMSE than the MLP, suggesting that its convex structure effectively captures the underlying relationship between the optimal cost and the

ModelMAERMSER2R^2
MLP0.0306 ±\pm 0.00880.0772 ±\pm 0.01880.9969 ±\pm 0.0016
FICNN0.0150 ±\pm 0.00110.0408 ±\pm 0.00120.9992 ±\pm 0.0001

Table 4. Prediction performance of FICNN and MLP models for the optimal lateral comfort cost as a function of LC duration.

LC duration. Figure 11 presents the fitted curves alongside sampled ground-truth values.

Predicted optimal lateral comfort cost of the FICNN surrogate against the sampled ground truth as a function of the LC duration

Figure 11. Predicted optimal lateral comfort cost of the FICNN surrogate against the sampled ground truth as a function of the LC duration.

Overall, the safety-cost experiments demonstrate that Proposed Models I and II achieve competitive predictive accuracy while satisfying the structural requirements for convex embedding, although their accuracy remains below that of the unconstrained Baseline. In contrast, the separate lateral-comfort experiment demonstrates that the FICNN outperforms the MLP when the target mapping is inherently convex. Together, these findings support the use of ICNN-class surrogates to represent the two distinct objective components within the proposed planning framework.

Reformulation performance

This section evaluates the computational cost of embedding the two safety-surrogate architectures, Proposed Models I and II, introduced in § 4.2. For each architecture, we compare the binary-free LP reformulation based on Eq. (57) with a conventional MIP reformulation of the ReLU layers based on Eq. (21). The comparison assesses the resulting optimization problem sizes and solution times, while also verifying the consistency between the LP-based embedding and the trained surrogate. In both formulations, weights with absolute values below 10−410^{-4} are pruned to increase sparsity and improve computational efficiency. The Softplus output layer for the PICNN decoder of the safety surrogate is handled by the epigraph relaxation described in § 3.4.3.

The number of binary variables, continuous variables, and constraints, along with the solution time over 100 randomly selected LC scenarios, are reported in Table 5. The LP reformulation introduces only continuous variables, whereas the MIP reformulation additionally introduces binary variables and extra constraints to represent the ReLU activations. Consequently, the LP reformulation is at least 30 times faster than the MIP reformulation for both model types. With an average solve time of under 0.1 seconds and better numerical stability, the LP-based approach is suitable for real-time trajectory planning. Across all 100 scenarios, the LP and MIP reformulations attain identical optimal objective values, and the surrogate output at the LP optimum coincides with the forward pass of the trained models, consistent with the tightness established in Proposition 1.

ModelReformulation TypeBinary VariablesContinuous VariablesConstraintsSolution Time (s)
Proposed Model ILP–2552550.0560±0.01560.0560 \pm0.0156
Proposed Model IMIP2002556552.2146±1.07032.2146 \pm1.0703
Proposed Model IILP–2552550.0512±0.01070.0512 \pm0.0107
Proposed Model IIMIP2002556551.5420±0.86231.5420 \pm0.8623

Table 5. Computational performance and structural statistics of the two safety-surrogate architectures, Proposed Models I and II, under LP and MIP reformulations. Values are presented as mean ±\pm standard deviation.

Planner performance

As presented in § 4.2, the Proposed Models I and II achieve competitive prediction accuracy while satisfying the structural requirements for convex optimization. However, prediction accuracy alone does not necessarily reflect the performance of a surrogate when embedded in a trajectory planner. To evaluate the proposed framework in closed-loop operation, the optimized trajectories are executed in SUMO and compared against two conventional planning methods.

Four planner variants are constructed by combining the two safety-surrogate architectures with the two safety metrics. The I-TET and I-TIT planners embed the TET-trained and TIT-trained instances of Proposed Model I, respectively. Similarly, the II-TET and II-TIT planners embed the corresponding instances of Proposed Model II. In these abbreviations, I/II denotes the safety-surrogate architecture, whereas TET/TIT denotes both the training target and the safety-cost term used in trajectory optimization. All four planners share the same optimization formulation and lateral-comfort surrogate, differing only in the safety-surrogate architecture and safety metric.

Baseline 1 employs an optimization-based planner under the constant speed assumption, whereby surrounding vehicles are assumed to maintain their initial longitudinal speed throughout the entire LC process ([41]). Baseline 2 adopts a simulation-based candidate trajectory planning approach with interaction-aware prediction, in which all candidates are evaluated while accounting for the responses of surrounding vehicles ([12 Trauth et al.,])

2024). For each initial state, 25 longitudinal speed profiles and 5 lateral position profiles that satisfy all physical constraints are generated and combined, yielding 125 trajectory candidates. Vehicle interactions are simulated using the native Krauss car-following model (Krauß et al., 1997), with the same parameters employed during training dataset generation. To ensure a consistent trajectory representation across all planners, the degrees of the Bézier curves for longitudinal speed and lateral position are fixed as 7 and 9, respectively. The objective weights for TET safety, TIT safety, comfort, and efficiency are set at 50, 5, 10, and 1, reflecting the prioritization of safety in trajectory optimization. The different safety-cost weights account for the numerical scales of the two safety metrics. For performance evaluation, both TET-weighted and TIT-weighted objective values are computed for each planner, regardless of the safety metric used in its optimization objective. Since the validity of the LP reformulation is verified in § 4.3, each trajectory planner incorporates its corresponding trained model through the LP reformulation to enhance computational efficiency. Finally, all baseline and proposed planners are evaluated on the identical 100 test scenarios that are excluded from the training dataset.

Table 6 compares the mean TET- and TIT-weighted objective values of the six planners over the 61 common successful scenarios, in which all planners complete the LC maneuver without collisions. The numbers of infeasible and collision scenarios are reported over all 100 test scenarios. Note that an infeasible scenario does not necessarily indicate that the LC maneuver is impossible, but rather that the planner fails to find a feasible solution under its assumptions or within a fixed number of trajectory candidates. Furthermore, these limitations may also lead to collisions during trajectory execution. As shown in Table 6, Baseline 1 exhibits the poorest performance due to the limitation of the oversimplified constant-speed assumption in capturing interactions among vehicles. In comparison, Baseline 2 performs better, benefiting from its integration of interaction-aware predictions. Nevertheless, its planning performance remains constrained by the finite set of candidate trajectories. All four proposed planners successfully complete all scenarios without any infeasibility or collisions, demonstrating improved feasibility and safety. Moreover, in terms of weighted objectives, all four proposed planners outperform Baseline 1 under both objective formulations. Compared with Baseline 2, all four proposed planners achieve lower mean TET-weighted costs, while three of them also achieve lower mean TIT-weighted costs, with I-TIT being the exception. Overall, these results demonstrate that the proposed planners can improve both planning reliability and overall objective performance by integrating interaction models into continuous trajectory optimization.

Table 6: Comparison of six planners across 100 test scenarios. Mean weighted objective values are computed over the 61 scenarios in which all planners completed LC maneuvers without collisions. The numbers of infeasible and collision scenarios are reported over 100 test scenarios. Both weighted-cost columns are evaluated for every planner, independent of the safety metric used during optimization.

PlannerWeighted Cost (TET)Weighted Cost (TIT)Infeasible ScenariosCollision Scenarios
Baseline 1103.47586.5142313
Baseline 261.95744.52527
I-TET51.14144.046--
I-TIT60.46151.078--
II-TET42.95035.800--
II-TIT44.59335.246--

Table 6.

The individual objective components presented in Table 7 provide further insight into the performance improvement realized by the proposed planners. All four proposed planners attain lower safety costs than both baseline methods under the TET and TIT, which constitutes the primary contribution to the reduced weighted objectives. These reductions indicate that the proposed planners can more effectively mitigate risky interactions with surrounding vehicles. However, the improvements in comfort and efficiency are not uniform across the proposed planners. Both Model II planners achieve substantially lower longitudinal comfort costs. The Model I planners also considerably improve longitudinal comfort relative to Baseline 1, although their costs remain slightly higher than those of Baseline 2. These differences are consistent with the longitudinal speed profiles in the first row of Figure 12, where the proposed planners exhibit distinct patterns of speed adjustment during the LC process. Since the longitudinal comfort cost is defined as the sum of squared longitudinal accelerations in Eq. (14b), smoother speed transitions generally result in lower comfort costs. In contrast, all four proposed planners incur higher lateral comfort costs than Baseline 2, suggesting that reducing interaction-related safety risks may require longer LC time.

Table 7: Mean values of performance metrics for baseline methods and all proposed planners on common successful scenarios.

PlannerCsafetyC_{\mathrm{safety}} (TET)CsafetyC_{\mathrm{safety}} (TIT)ClonC_{\mathrm{lon}}ClatC_{\mathrm{lat}}CeffC_{\mathrm{eff}}
Baseline 11.0206.8134.5690.6500.264
Baseline 20.9616.1201.5510.369−5.276
I-TET0.4933.5131.6480.5994.019
I-TIT0.5603.7251.6450.9176.833
II-TET0.5133.6971.2060.608−0.829
II-TIT0.6024.1471.2200.864−6.330

Table 7.

Longitudinal speed profiles generated by the proposed planners on representative LC scenarios

Figure 12. Longitudinal speed profiles generated by the proposed planners on representative LC scenarios.

The efficiency costs also vary considerably among the planners. According to Eq. (37), the efficiency cost quantifies the accumulated difference between the initial speed and the planned longitudinal speed over the planning horizon. In particular, II-TIT achieves the lowest efficiency cost. This is consistent with the longitudinal speed profiles illustrated in Figure 12, where II-TIT exhibits the most aggressive acceleration behavior in several representative scenarios. Furthermore, as illustrated in the second row of Figure 12, the proposed planners generate similar longitudinal speed profiles in certain scenarios, despite adopting different surrogate architectures and safety metrics.

Table 6 shows that the Model II planners achieve lower mean weighted objective values than the Model I planners under both evaluation metrics. The scenario-level comparison in Table 8 provides further evidence of this advantage. Among the four proposed planners, II-TET achieves the lowest weighted objective in 44 and 50 of the 100 scenarios under the TET- and TIT-weighted evaluations, respectively. Considering the two Model II planners together, at least one of them achieves the lowest weighted objective in 70 and 66 scenarios under the respective evaluation metrics. Furthermore, the distributions of the best-performing planners are broadly similar across the two evaluation metrics, suggesting that the relative advantage of Model II is not solely determined by the choice of evaluation metric. This result may appear counterintuitive, as Table 2 and Table 3 indicate that Model I achieves higher overall prediction accuracy on the test dataset. However, in optimization problems with embedded NNs, prediction accuracy around the optimal solutions is often more relevant to downstream solution quality than overall accuracy on the entire test dataset ([36]). Consistent with this view, Table 9 shows that Model II yields lower prediction errors when evaluated on each planner’s own optimized trajectories. This discrepancy may partly explain why the planners based on Model II achieve better downstream planning performance despite their lower test-set prediction accuracy. Although no single planner consistently dominates in every scenario, these results suggest that the simpler Model II architecture generally leads to better planning outcomes given the current size of the training dataset. However, this advantage may not hold for larger and more diverse training datasets, where the greater representational capacity of Model I may ultimately yield better downstream planning performance. Still, further investigation should therefore assess the generalizability of these findings across a wider range of training scenarios.

ModelMAERMSER2R^2
Input Reduced Baseline0.6055±0.00670.6055 \pm0.00671.3785±0.00611.3785 \pm0.00610.8072±0.00170.8072 \pm0.0017
Baseline0.1525±0.02360.1525 \pm0.02360.4580±0.03420.4580 \pm0.03420.9786±0.00310.9786 \pm0.0031
Proposed Model I0.2865±0.00720.2865 \pm0.00720.7026±0.00700.7026 \pm0.00700.9499±0.00100.9499 \pm0.0010
Proposed Model II0.3225±0.00550.3225 \pm0.00550.7626±0.00730.7626 \pm0.00730.9410±0.00110.9410 \pm0.0011

Table 2. Prediction performance of surrogate models for TET-based safety metric evaluated on the test dataset. Values are presented as mean ±\pm standard deviation.

ModelMAERMSER2R^2
Input Reduced Baseline5.7773±0.13065.7773 \pm0.130614.3723±0.064914.3723 \pm0.06490.7650±0.00210.7650 \pm0.0021
Baseline2.1371±0.34132.1371 \pm0.34137.2389±1.18467.2389 \pm1.18460.9388±0.01960.9388 \pm0.0196
Proposed Model I2.9469±0.08962.9469 \pm0.08967.5187±0.44387.5187 \pm0.44380.9355±0.00810.9355 \pm0.0081
Proposed Model II3.5098±0.08823.5098 \pm0.08829.6971±0.25079.6971 \pm0.25070.8930±0.00550.8930 \pm0.0055

Table 3. Prediction performance of surrogate models for TIT-based safety metric evaluated on the test dataset. Values are presented as mean ±\pm standard deviation.

PlannerWeighted Cost (TET)Weighted Cost (TIT)
I-TET2020
I-TIT1014
II-TET4450
II-TIT2616

Table 8. Number of test scenarios in which each planner achieves the lowest weighted objective among all four planners.

ModelLabelMAERMSE
Proposed Model ITET0.65701.6297
Proposed Model IITET0.63831.1963
Proposed Model ITIT7.225417.1961
Proposed Model IITIT6.502614.5227

Table 9. Safety-cost prediction errors on each planner’s own planned trajectories over all test scenarios.

Another notable observation is that planners trained using TET-based safety metrics generally achieve lower realized safety costs than those with TIT-based metrics. This result may seem unexpected, given that TIT explicitly accounts for the severity of collision risk. In fact, as defined in Eqs. (12b) and (12c), TET measures exposure to potentially unsafe interactions, whereas TIT additionally accounts for risk severity through the reciprocal of TTC, which can produce extreme label values for high-risk trajectories. When models are trained with MSE loss, samples with large prediction errors contribute disproportionately to the training loss. Given limited model capacity and training data coverage, this effect may cause the model to prioritize high-risk samples without achieving sufficient prediction accuracy in lower-risk regions. However, optimized trajectories typically lie in these lower-risk regions, where prediction errors may distort the estimated trade-offs among safety, efficiency, and comfort and thereby degrade the resulting trajectories. Consequently, higher overall prediction accuracy does not necessarily translate into better planning performance.

Overall, the proposed planners achieve substantial improvements in planning feasibility, safety, and weighted objective performance compared with the conventional baseline methods. Among the proposed methods, Model II consistently provides more favorable overall objective values, while the TET-based planner generally leads to lower realized safety costs. These findings highlight the importance of considering not only surrogate prediction accuracy and architectural expressiveness, but also the characteristics of the target safety metric and the quality of the resulting optimization decisions. Consequently, in data-driven optimization frameworks, prediction accuracy alone may not be a sufficient criterion for selecting surrogate architectures and training objectives, and end-to-end planning performance should also be considered.

Conclusions and future work

This study develops a data-driven optimization framework for real-time LC trajectory planning in mixed traffic, in which ICNN-class surrogates are introduced to approximate the safety cost and optimal lateral comfort cost for varying LC trajectories. The effectiveness and computational efficiency of the associated LP reformulation are theoretically analyzed and experimentally validated, shedding light on how embedding ICNN-class models can extend the reach of rigorous mathematical optimization to complex, computationally demanding problems. Moreover, decoders with different architectures are utilized and tested, demonstrating the flexibility of ICNN-class surrogates. The experimental results further indicate that the selection of NN models integrated with optimization methods should be guided by their computational efficiency and performance on downstream tasks instead of predictive accuracy alone.

Further work should leverage larger and more comprehensive naturalistic datasets, covering a wider range of scenarios. In addition, the proposed safety surrogate adopts a relatively simple LSTM module to process historical motion states. More advanced architectures can therefore be considered, since the selection of modules on the non-convex path does not affect the validity or computational efficiency of the proposed surrogate and its LP formulation. Finally, this study adopts TET and TIT to quantify the safety cost of LC maneuvers: although these metrics are widely used in conventional CAV trajectory planning studies, further investigation is required to explore whether more suitable safety metrics exist for data-driven optimization-based LC frameworks.

Acknowledgments

We acknowledge the computational resources provided by the Aalto Science-IT project.

References

  1. [1]Amos, B., Xu, L., & Kolter, J. Z. (2017). Input Convex Neural Networks. Proceedings of the 34th International Conference on Machine Learning, 146–155. https://proceedings.mlr.press/v70/amos17b.htmlarxiv.org/abs/1609.07152
  2. [2]Aradi, S. (2022). Survey of Deep Reinforcement Learning for Motion Planning of Autonomous Vehicles. IEEE Transactions on Intelligent Transportation Systems, 23(2), 740–759. https://doi.org/10.1109/TITS.2020.3024655
  3. [3]Chen, Y., Shi, Y., & Zhang, B. (2019). Optimal Control Via Neural Networks: A Convex Approach. arXiv:1805.11835. https://doi.org/10.48550/arXiv.1805.11835
  4. [4]Chen, Y., Shi, Y., & Zhang, B. (2020). Data-Driven Optimal Voltage Regulation Using Input Convex Neural Networks. Electric Power Systems Research, 189, 106741. https://doi.org/10.1016/j.epsr.2020.106741
  5. [5]Dolgov, D., Thrun, S., Montemerlo, M., & Diebel, J. (2010). Path planning for autonomous vehicles in unknown semi-structured environments. The International Journal of Robotics Research, 29(5), 485–501. https://doi.org/10.1177/0278364909359210
  6. [6]Dowson, O., Parker, R. B., & Bent, R. (2026). MathOptAI.jl: Embed Trained Machine-Learning Predictors into JuMP Models. INFORMS Journal on Computing. https://doi.org/10.1287/ijoc.2025.1446
  7. [7]Dugas, C., Bengio, Y., Bélisle, F., Nadeau, C., & Garcia, R. (2000). Incorporating second-order functional knowledge for better option pricing. Proceedings of the 14th International Conference on Neural Information Processing Systems, 451–457. https://dl.acm.org/doi/10.5555/3008751.3008817
  8. [8]Dvorkin, V., Chevalier, S., & Chatzivasileiadis, S. (2023). Emission-Constrained Optimization of Gas Networks: Input-Convex Neural Network Approach. 2023 62nd IEEE Conference on Decision and Control (CDC), 1575–1579. https://doi.org/10.1109/CDC49753.2023.10383948
  9. [9]Elmachtoub, A. N. & Grigas, P. (2022). Smart “Predict, then Optimize”. Management Science, 68(1), 9–26. https://doi.org/10.1287/mnsc.2020.3922
  10. [10]Elorza Casas, C. A., Ricardez-Sandoval, L. A., & Pulsipher, J. L. (2025). A comparison of strategies to embed physics-informed neural networks in nonlinear model predictive control formulations solved via direct transcription. Computers & Chemical Engineering, 198, 109105. https://doi.org/10.1016/j.compchemeng.2025.109105
  11. [11]Erdmann, J. (2015). SUMO’s Lane-Changing Model. Modeling Mobility with Open Data, 105–123. https://doi.org/10.1007/978-3-319-15024-6_7
  12. [12]Evestedt, N., Ward, E., Folkesson, J., & Axehill, D. (2016). Interaction aware trajectory planning for merge scenarios in congested traffic situations. 2016 IEEE 19th International Conference on Intelligent Transportation Systems (ITSC), 465–472.DOI
  13. [13]Fajemisin, A. O., Maragno, D., & Den Hertog, D. (2024). Optimization with constraint learning: A framework and survey. European Journal of Operational Research, 314(1), 1–14. https://doi.org/10.1016/j.ejor.2023.04.041
  14. [14]Farin, G. (1993). Curves and surfaces for computer-aided geometric design: A practical guide. Academic Press. https://doi.org/10.1016/C2009-0-22351-8
  15. [15]Fischetti, M. & Jo, J. (2018). Deep neural networks and mixed integer linear optimization. Constraints, 23(3), 296–309. https://doi.org/10.1007/s10601-018-9285-6
  16. [16]Gagneux, A., Massias, M., Soubies, E., & Gribonval, R. (2025). Convexity in ReLU neural networks: Beyond ICNNs? Journal of Mathematical Imaging and Vision, 67(4), 40. https://doi.org/10.1007/s10851-025-01253-x
  17. [17]Golub, G. H. & Van Loan, C. F. (2013). Matrix computations. Johns Hopkins University Press. https://doi.org/10.56021/9781421407944
  18. [18]Grimstad, B. & Andersson, H. (2019). ReLU networks as surrogate models in mixed-integer linear programs. Computers & Chemical Engineering, 131, 106580. https://doi.org/10.1016/j.compchemeng.2019.106580
  19. [19]Guo, Y., Guo, Z., Wang, Y., Yao, D., Li, B., & Li, L. (2023). A Survey of Trajectory Planning Methods for Autonomous Driving—Part I: Unstructured Scenarios. IEEE Transactions on Intelligent Vehicles, 1–29. https://doi.org/10.1109/TIV.2023.3337318
  20. [20]Gurobi Optimization, LLC (2025). Gurobi Optimizer Reference Manual. https://www.gurobi.com
  21. [21]Han, Y., Ji, X., Qian, C., Zhang, L., Yang, Y., & Liu, P. (2026a). The Swarm Intelligence Freeway-Urban Trajectories (SWIFTraj) Dataset – Part I: Dataset Description and Applications. Communications in Transportation Research. https://doi.org/10.26599/COMTR.2026.9640035
  22. [22]Han, Y., Ji, X., Qian, C., Zhang, L., Yang, Y., & Liu, P. (2026b). SWIFTraj - Data Description. https://swiftraj.com/data-description.html
  23. [23]Hart, W. E., Watson, J.-P., & Woodruff, D. L. (2011). Pyomo: modeling and solving mathematical programs in python. Mathematical Programming Computation, 3(3), 219–260. https://doi.org/10.1007/s12532-011-0026-8
  24. [24]Hochreiter, S. & Schmidhuber, J. (1997). Long Short-Term Memory. Neural Computation, 9(8), 1735–1780. https://doi.org/10.1162/neco.1997.9.8.1735
  25. [25]Huchette, J., Muñoz, G., Serra, T., & Tsay, C. (2026). When Deep Learning Meets Polyhedral Theory: A Survey. INFORMS Journal on Computing, 0(0), 1–55. https://doi.org/10.1287/ijoc.2024.0902
  26. [27]Karimi, M., Roncoli, C., Alecsandru, C., & Papageorgiou, M. (2020). Cooperative merging control via trajectory optimization in mixed vehicular traffic. Transportation Research Part C: Emerging Technologies, 116, 102663. https://doi.org/10.1016/j.trc.2020.102663
  27. [29]Kenefake, D., Kakodkar, R., Akundi, S. S., Ali, M., & Pistikopoulos, E. N. (2024). A multiparametric approach to accelerating ReLU neural network based model predictive control. Control Engineering Practice, 151, 106041. https://doi.org/10.1016/j.conengprac.2024.106041
  28. [30]Kingma, D. P. & Ba, J. (2017). Adam: A Method for Stochastic Optimization. arXiv:1412.6980. https://doi.org/10.48550/arXiv.1412.6980
  29. [33]Le Mero, L., Yi, D., Dianati, M., & Mouzakitis, A. (2022). A survey on imitation learning techniques for end-to-end autonomous vehicles. IEEE Transactions on Intelligent Transportation Systems, 23(9), 14128–14147. https://doi.org/10.1109/TITS.2022.3144867
  30. [35]Liu, Y., Kronqvist, J., & Oliveira, F. (2026a). Input convex neural networks as surrogates in mathematical optimisation. arXiv:2608.09707. https://doi.org/10.48550/arXiv.2608.09707
  31. [36]Liu, Y. & Oliveira, F. (2025). Simulator-based surrogate optimisation employing adaptive uncertainty-aware sampling. Computers & Chemical Engineering, 201, 109243. https://doi.org/10.1016/j.compchemeng.2025.109243
  32. [37]Liu, Y., Oliveira, F., & Kronqvist, J. (2026b). ICNN-enhanced 2SP: Leveraging input convex neural networks for solving two-stage stochastic programming. EURO Journal on Computational Optimization, 14, 100141. https://doi.org/10.1016/j.ejco.2026.100141
  33. [38]Lopez, P. A., Behrisch, M., Bieker-Walz, L., Erdmann, J., Flötteröd, Y.-P., Hilbrich, R., Lücken, L., Rummel, J., Wagner, P., & Wiessner, E. (2018). Microscopic Traffic Simulation using SUMO. 2018 21st International Conference on Intelligent Transportation Systems (ITSC), 2575–2582. https://doi.org/10.1109/ITSC.2018.8569938
  34. [39]Micheli, F., , M., B., , S., A., , F., B., , & Cheli, F. (2023). NMPC trajectory planner for urban autonomous driving. Vehicle System Dynamics, 61(5), 1387–1409. https://doi.org/10.1080/00423114.2022.2081220
  35. [40]Murzakhanov, I., Venzke, A., Misyris, G. S., & Chatzivasileiadis, S. (2022). Neural Networks for Encoding Dynamic Security-Constrained Optimal Power Flow. arXiv:2003.07939. https://doi.org/10.48550/arXiv.2003.07939
  36. [41]Nilsson, J., Brännström, M., Coelingh, E., & Fredriksson, J. (2017). Lane change maneuvers for automated vehicles. IEEE Transactions on Intelligent Transportation Systems, 18(5), 1087–1096. https://doi.org/10.1109/TITS.2016.2597966
  37. [42]Nwankpa, C., Ijomah, W., Gachagan, A., & Marshall, S. (2018). Activation Functions: Comparison of trends in Practice and Research for Deep Learning. arXiv:1811.03378. https://doi.org/10.48550/arXiv.1811.03378
  38. [43]Papamichail, I., Bekiaris-Liberis, N., Delis, A. I., Manolis, D., Mountakis, K.-S., Nikolos, I. K., Roncoli, C., & Papageorgiou, M. (2019). Motorway traffic flow modelling, estimation and control with vehicle automation and communication systems. Annual Reviews in Control, 48, 325–346.DOI
  39. [44]Pascanu, R., Mikolov, T., & Bengio, Y. (2013). On the difficulty of training recurrent neural networks. Proceedings of the 30th International Conference on Machine Learning, volume 28 of Proceedings of Machine Learning Research, 1310–1318. https://proceedings.mlr.press/v28/pascanu13.htmlarxiv.org/abs/1211.5063
  40. [45]Paszke, A., Gross, S., Massa, F., Lerer, A., Bradbury, J., Chanan, G., Killeen, T., Lin, Z., Gimelshein, N., Antiga, L., Desmaison, A., Kopp, A., Yang, E., DeVito, Z., Raisonn, M., Tejani, A., Chilamkurthy, S., Steiner, B., Fang, L., Bai, J., & Chintala, S. (2019). PyTorch: An imperative style, high-performance deep learning library. https://doi.org/10.48550/arXiv.1912.01703
  41. [46]PyTorch (2025). ReduceLROnPlateau — PyTorch 2.9 documentation. https://docs.pytorch.org/docs/2.9/generated/torch.optim.lr_scheduler.ReduceLROnPlateau.html
  42. [47]Teng, S., Hu, X., Deng, P., Li, B., Li, Y., Ai, Y., Yang, D., Li, L., Xuanyuan, Z., Zhu, F., & Chen, L. (2023). Motion Planning for Autonomous Driving: The State of the Art and Future Perspectives. IEEE Transactions on Intelligent Vehicles, 1–21. https://doi.org/10.1109/TIV.2023.3274536
  43. [49]Wang, B., Li, Z., Wang, S., Li, M., & Ji, A. (2022). Modeling bounded rationality in discretionary lane change with the quantal response equilibrium of game theory. Transportation Research Part B: Methodological, 164, 145–161. https://doi.org/10.1016/j.trb.2022.08.008
  44. [50]Wang, C., Xie, Y., Huang, H., & Liu, P. (2021). A review of surrogate safety measures and their applications in connected and automated vehicles safety modeling. Accident Analysis & Prevention, 157, 106157. https://doi.org/10.1016/j.aap.2021.106157
  45. [51]Wang, K., Lozano, L., Cardonha, C., & Bergman, D. (2023a). Optimizing over an Ensemble of Trained Neural Networks. INFORMS Journal on Computing, 35(3), 652–674. https://doi.org/10.1287/ijoc.2023.1285
  46. [52]Wang, W., Zhang, H., Wang, Y., Tian, Y., & Wu, Z. (2024). Fast Explicit Machine Learning-Based Model Predictive Control of Nonlinear Processes Using Input Convex Neural Networks. Industrial & Engineering Chemistry Research, 63(40), 17279–17293. https://doi.org/10.1021/acs.iecr.4c02257
  47. [53]Wang, X., Jin, Y., Schmitt, S., & OIhofer, M. (2023b). Recent Advances in Bayesian Optimization. ACM Computing Surveys, 55(13s), 287:1–287:36. https://doi.org/10.1145/3582078
  48. [54]Wang, Z., Yu, D., & Wu, Z. (2025). Real-time machine-learning-based optimization using Input Convex Long Short-Term Memory network. Applied Energy, 377, 124472. https://doi.org/10.1016/j.apenergy.2024.124472
  49. [55]Werling, M., Ziegler, J., Kammel, S., & Thrun, S. (2010). Optimal trajectory generation for dynamic street scenarios in a Frenét Frame. 2010 IEEE International Conference on Robotics and Automation, 987–993. https://doi.org/10.1109/ROBOT.2010.5509799
  50. [57]Yang, D., Balaprakash, P., & Leyffer, S. (2022). Modeling design and control problems involving neural network surrogates. Computational Optimization and Applications, 83(3), 759–800. https://doi.org/10.1007/s10589-022-00404-9
  51. [58]Yang, S.-B., Li, Z., & Wu, W. (2021). Data-Driven Process Optimization Considering Surrogate Model Prediction Uncertainty: A Mixture Density Network-Based Approach. Industrial & Engineering Chemistry Research, 60(5), 2206–2222. https://doi.org/10.1021/acs.iecr.0c04214
  52. [59]Yang, Y., Liu, Y., & Roncoli, C. (2024). A Macro-Micro Lane Changing Strategy for Congestion Mitigation in Mixed Traffic. 2024 IEEE 27th International Conference on Intelligent Transportation Systems (ITSC), 136–141. https://doi.org/10.1109/ITSC58415.2024.10919932
  53. [60]Yang, Y., Liu, Y., & Roncoli, C. (2025). Macro-micro integration of game-theoretic trajectory planning and tactical lane control for mixed traffic control at motorway bottlenecks. Transportation Research Part C: Emerging Technologies, 180, 105356. https://doi.org/10.1016/j.trc.2025.105356
  54. [61]Yang, Y., Liu, Y., & Roncoli, C. (2026). Trajectory Planning for Connected and Automated Vehicles in Mixed Traffic via Explicit Neural Network-Embedded Optimization. 2026 IEEE 29th International Conference on Intelligent Transportation Systems (ITSC).
  55. [62]Zheng, H., Yang, Z., Liu, W., Liang, J., & Li, Y. (2015). Improving deep neural networks using softplus units. 2015 International Joint Conference on Neural Networks (IJCNN), 1–4. https://doi.org/10.1109/IJCNN.2015.7280459
  56. [63]Zheng, Y., Liang, R., Zheng, K., Zheng, J., Mao, L., Li, J., Gu, W., Ai, R., Li, S., Zhan, X., et al. (2025). Diffusion-based planning for autonomous driving with flexible guidance. International Conference on Learning Representations, volume 2025, 37207–37227. https://openreview.net/forum?id=wM2sfVgMDHarxiv.org/abs/2501.15564
  57. [64]Ławryńczuk, M. (2022). Input convex neural networks in nonlinear predictive control: A multi-model approach. Neurocomputing, 513, 273–293. https://doi.org/10.1016/j.neucom.2022.09.108

Paper details

vlnc:W_mdxze5b6
v1 · latestHistory (1)

published · Fresh — added to the Hub within the last 30 days

added ·

Usage

views · 0

downloads · 0

A view counts once per browser per day, a download each time the PDF is requested.

CC BY 4.0

Original source

  • Mathematics

Not recorded for this paper · View statement →

Looking for related papers…
Contents