Risk-Informed Path Planning: Collision and Grounding Avoidance Application for Autonomous Surface Vessels
Maritime Autonomous Surface Ships (MASS) must demonstrate safety before and during operations, necessitating online risk assessment to guide decision-making at sea. This paper presents a risk-informed Rapidly Exploring Random Tree Star (RRT*) path planner that integrates a Bayesian Belief Network (BBN) as an online risk model.
From the abstract. Our summary is in progress.
Full paper
Risk-Informed Path Planning: Collision and Grounding Avoidance Application for Autonomous Surface Vessels
Published under CC BY-SA 4.0. Reproduced with attribution; original at arXiv:2611.32760 (PDF).
Journal: Ocean Engineering
Abstract
Maritime Autonomous Surface Ships (MASS) must demonstrate safety before and during operations, necessitating online risk assessment to guide decision-making at sea. This paper presents a risk-informed Rapidly Exploring Random Tree Star (RRT*) path planner that integrates a Bayesian Belief Network (BBN) as an online risk model. The BBN evaluates the probability and severity distribution of hazardous events, which are aggregated into a bounded scalar risk index. During the search, this risk index is evaluated at sample points along candidate edges. The planner optimizes a composite cost function comprising path distance, heading change penalties, and accumulated risk, subject to a hard constraint enforcing a risk acceptance limit. Each search tree vertex stores the BBN posterior at its state, enabling the tree to function as an explainable risk map for individual hazards. We define design requirements for the BBN to serve as the risk model in this context and introduce a runtime model that translates replanning deadlines into strict limits on single risk calculation times. The planner is demonstrated in a simulated harbor entry scenario involving collision and grounding hazards. Measured run times validate that the planner operates within the computational bounds predicted by the runtime model for a single replanning cycle.
Keywords:
Maritime Autonomous Surface Ships , Risk-Informed Path Planning , RRT* Motion Planning , Collision and Grounding Avoidance , Probabilistic Risk Mapping , Dynamic Obstacle Avoidance , Trajectory Optimization , Marine Autonomous Navigation , Marine Technology
††
1 Introduction
The maritime domain is moving towards higher levels of autonomy as a means to make transportation safer, cleaner, and cheaper. Autonomy is expected to reduce crew-related costs and to move part of the work to shore-based operations under remote monitoring (Kretschmann et al., 2017; Alamoush et al., 2024). Human error is reported to be a contributing factor to ship accidents. Of the marine casualties and incidents investigated in the EU and EEA between 2015 and 2024, 54.2% involved at least one human action as an accident event (European Maritime Safety Agency, 2025). Consequently, removing crew from the bridge could mitigate some accidents (Wróbel et al., 2017), but the accidents that still happen potentially lead to more severe consequences due to the lack of crew to mitigate and contain the damage. One obstacle to MASS adaptation has been uncertainty regarding how autonomous or remotely operated vessels can be demonstrated to be safe (Alamoush et al., 2024). To address the safety concerns, the International Maritime Organization (IMO) first conducted a scoping exercise (International Maritime Organization, 2021), then released a dedicated code for autonomous ships (International Maritime Organization, 2026), and DNV has published guidelines to ensure the safety level is comparable to or better than that of crewed vessels (DNV, 2024). Both sets of documents require that a given operation is verified to be sufficiently safe.
Decision-making for a maritime vessel spans its entire life cycle, from design through operations to decommissioning. Design determines the vessel’s capabilities. Operations unfold at multiple timescales: mission planning covers a single voyage, path planning and energy management run online over minutes, and feedback control loops correct for disturbances many times per second (Marley et al., 2020). Autonomy requires online risk analysis and modeling that runs at the timescale at which the vessel operates and is updated using vessel observations and operational information (Parhizkar et al., 2022; Rokseth and Utne, 2015; Utne et al., 2020).
A distinct family of methods contributes to handling safety at shorter timescales. Representative examples are control barrier functions (Marley et al., 2021), model predictive control (Tengesdal et al., 2024), and signal temporal logic (Krasowski et al., 2026). They encode constraints that keep the state inside a safe subset of the state space, satisfy a bounded temporal specification, or require an obstacle to be cleared within the planning horizon, corresponding respectively to CBFs, MPC, and STL. These methods, however, do not consider the likelihood and the consequences of an event; namely, operational risk. An online risk model built with a Bayesian belief network (BBN) can estimate risk, and the model can be evaluated at any point in the operating area. This has been used to steer path planning towards safer routes (Bremnes et al., 2025; Kristensen et al., 2024), to evaluate risk across operational alternatives (Kristensen et al., 2025), and to guide the search over risk scenarios (Maidana et al., 2024). A BBN can incorporate many risk-influencing factors (RIFs) and jointly capture both the likelihood and the consequences of hazardous events (Trucco et al., 2008; Khakzad et al., 2011; Hänninen, 2014).
Several approaches have formalized risk in path planning. Lefebvre et al. (2016) integrated risk into a hierarchical planner for underwater vehicles, and Chen et al. (2022) routed an underwater vehicle around an oil spill using a risk map. Zhen et al. (2023) modified A* for ships so that ocean current, water depth, and traffic-separation rules enter the cost. Fışkın et al. (2021) combined a fuzzy ship domain with a search over candidate maneuvers to select collision-avoidance actions. Closer to the present work, Maidana et al. (2023) used BBN-derived hazardous-event probabilities to drive a path planner, and Bremnes et al. (2025) built a risk model for a marine robot that a planner can query at any point in the operating area. Kristensen et al. (2024) compared several ways of providing the same risk information to a planner, and Kristensen et al. (2025) showed that the choice of risk metric changes the resulting operational decisions. Our earlier work (Kaya et al., 2026) used BBN-derived hazardous-event probabilities as a cost term in an RRT* planner, following the same BBN-to-planner pattern. A recent survey of risk metrics for autonomous systems reports that the choice of risk metric remains open (Utne, 2025).
This paper presents a risk-informed path planner driven by an online risk model, designed so that the full probabilistic risk spectrum is available to the planner at its own timescale. A Bayesian belief network (BBN) returns a severity distribution of consequences for each hazardous event, and a cost model condenses these distributions into a single bounded score called the risk index. The risk index is evaluated at sample points along each candidate edge; at each point, the BBN reads the relevant RIFs and produces the event-specific severity distributions that feed the cost model. The maximum risk index along an edge is checked against a risk-acceptance limit, and an edge that exceeds the limit is rejected even if its mean risk index is low. A heading-change penalty is added to the edge cost to minimize heading changes and sharp turns, leading to straighter paths between necessary turns. We demonstrate that the presented risk-informed planner can operate in real-time, and we provide a study on how the tuning affects the computation time. Beyond producing a path, the planner’s search tree can be interpreted as a risk map for each hazardous event, which we use to explore the risk landscape of a harbor entry scenario.
The proposed method builds on RRT* (Karaman and Frazzoli, 2011), and each vertex of the tree stores the risk description obtained from a BBN (see Figure 1). Storing probabilistic information at tree vertices is known from planning under uncertainty, where vertices hold a state distribution or a belief (Luders et al., 2010; Bry and Roy, 2011). Here, the stored quantity is the probability of each hazardous event and the severity distribution of its consequences. Risk-informed planners use risk either as a cost to minimize or as a constraint to satisfy (Majumdar and Pavone, 2019; Blackmore et al., 2011; Maidana et al., 2023). The proposed planner uses risk in both roles. It stores the BBN posterior at every vertex, so the tree can be read afterwards as a risk map of the explored area.
The main contributions of this work are as follows:
- A risk-informed RRT* planner where each vertex stores the risk description of its state. The search tree can therefore be read as a risk map for each hazardous event.
- A set of requirements that a BBN must meet to serve as the risk model, and a reduction of its output to a bounded risk index. The index grows with both the probability and the severity of a hazardous event.
- A cost evaluation that samples the risk index with the course angle of the edge and the time of arrival. The accumulated risk index enters the cost, and the peak value is held below a risk acceptance limit.
- A run-time model that turns a replanning deadline into a limit on the duration of one risk calculation. The model gives the largest node budget that a risk model can support, and it is checked in a simulated harbor entry.
The rest of the paper is organized as follows. Section 2 explains how the probabilities and consequence severities of hazardous events are aggregated to a single risk index used as a planning cost. Section 3 states the risk-informed, turn-penalized planning problem and explains the RRT*-style planner that solves it. Section 4 explains how the risk model is applied to a maritime collision and grounding scenario. Section 5 presents a navigation study used to test the planner and discusses the results. Section 6 concludes the paper.
Mathematical notations: The symbol \lvert\cdot\rvert denotes the absolute value, the Euclidean norm, or the cardinality of a set, depending on its argument. Calligraphic letters denote sets, upper-case letters random variables, and upright subscripts labels. A superscript (\cdot)^{*} marks an optimal quantity, a tilde indicates a normalized quantity, a bar means an average, and a hat gives the highest value along one edge, as in \hat{r}_{k} for e_{k} and \hat{r}_{v} for the incoming edge of v. Severity levels are ordered by \prec, and a quantity at a vertex v is evaluated at the state x_{v} it holds.
2 Risk Modeling
Suppose the vessel is navigating within a state space \mathcal{X}, where each valid configuration is represented by a state x\in\mathcal{X}. The planner’s objective is to find a sequence of configurations that forms a path. To evaluate and optimize such paths, the planner requires a metric to compare the risk at any two states. To achieve this, we design a risk model that provides the probability of each hazardous event, alongside a probability distribution over the severity of its consequences. Because the search reaches states that were not known before it started, we introduce a scalar risk index that is defined at every state the planner can query. The index has two properties that make it usable as a cost. First, it is bounded, so it has the same range at every state. Second, it increases when a hazardous event becomes more likely or its consequences become more severe.
We follow the terminology of Rausand and Haugen (2020). A hazard is a source of danger that may cause harm to an asset, such as shallow water or another vessel. A hazardous event is the first event in a sequence of possible events that, if not controlled, leads to harm, such as a grounding or a collision. The consequences of a hazardous event are graded by their severity. For each hazardous event h, the severity variable S_{h} is a random variable that grades the consequences that h may have. We call the distribution of S_{h} the severity distribution of h. Severity variables take values in a common set of severity levels \mathcal{S}\coloneqq\{s_{1},\dots,s_{K}\}, ordered as s_{1}\prec s_{2}\prec\cdots\prec s_{K}. We compute a risk index from the posterior severity distributions of the hazardous events in four steps. First, a BBN returns a severity distribution for each hazardous event at the queried state. Second, a consequence proxy assigns a number to each severity level. Third, the expected value of the consequence proxy gives one value per hazardous event, which sets aside the spread of the distribution. Fourth, a combination rule merges the hazardous events into one value per state, which treats them as independent.
2.1 Risk and Risk Description
We follow Aven and Renn (2009) and define risk as the uncertainty about the consequences of an activity, together with how severe those consequences are. Risk in this sense belongs to the activity, and an analysis produces a risk description for it. A risk description is the four-tuple
\displaystyle\bigl(\mathcal{H},\;\mathcal{S},\;\mathcal{Q},\;\mathcal{K}\bigr),where \mathcal{H} is the predefined set of hazardous events, \mathcal{S} is the predefined set of severity levels, \mathcal{Q} is a probability measure over pairs of hazardous event and severity level, and \mathcal{K} is the background knowledge that \mathcal{Q} is based on. The consequences enter the description only through their severity levels. The analyst chooses the hazardous events and the severity levels, so the description covers only these. The probabilities express a degree of belief given \mathcal{K}, and not a counted frequency. In this work, \mathcal{Q} is computed with a BBN. The background knowledge \mathcal{K} includes the structure of the network and the judgments behind its conditional probability tables. The BBN does not express the uncertainty in this knowledge, and we discuss this as a limitation in Section 6.
We evaluate the measure at a query state x and write the description there as
\displaystyle\mathcal{R}(x)\coloneqq\bigl(\mathcal{H},\;\mathcal{S},\;\mathcal{Q}(\cdot\mid x),\;\mathcal{K}\bigr).The hazardous events and the severity levels are fixed, and only the measure changes with x. Evaluating \mathcal{Q}(\cdot\mid x) gives a probability for each pair of hazardous event and severity level.
2.2 Bayesian Belief Network
The probability of a hazardous event and the severity of its consequences depend on several RIFs that are only partly observable and that depend on each other. We model these RIFs and their dependencies with a BBN. Observable variables are given from what the system measures, and inference returns a posterior over the unobserved ones; see e.g. (Maidana et al., 2023).
Assumption 1 (Planner-compatible BBN).
The BBN meets three requirements. First, a subset of its nodes, the evidence nodes, takes values that can be computed at any query state x\in\mathcal{X}. Second, each hazardous event h\in\mathcal{H} has an occurrence node Z_{h} and is associated with at least one severity node S_{h} with states in \mathcal{S}. Third, Z_{h} is an ancestor of each severity node of h, and each severity node is a descendant of at least one evidence node.
Any BBN that meets Assumption 1 can be used by the planner, and the network in Section 4 is one example. Such a network should be designed to capture the risk spectrum from the agent’s perspective for a given action under consideration. We structure BBN with resemblance to the bow-tie model (Rausand and Haugen, 2020).
2.3 Posterior Severity Distribution
Let \mathcal{E}(x) denote the assignment of values to the evidence nodes at x, and let P(\cdot\mid\mathcal{E}(x)) denote the posterior probability measure that the BBN returns when queried with \mathcal{E}(x). These probabilities give the measure \mathcal{Q}(\cdot\mid x) in (2). The planner uses only the posterior probabilities of the severity nodes,
\displaystyle p_{h,s}(x)\coloneqq P\bigl(S_{h}=s\mid\mathcal{E}(x)\bigr),\quad h\in\mathcal{H},\ s\in\mathcal{S},which is the probability that the consequences of h have severity level s, given the evidence at x. The lowest level s_{1} stands for no or negligible consequences, and it includes the case where h does not occur. Severity nodes of this kind are also used in earlier BBNs for autonomous marine systems (Johansen et al., 2023; Bremnes et al., 2025).
2.4 Consequence Proxy
We use a consequence proxy to compare severity levels on a numerical scale. The severity levels are ordered labels, and they do not express intervals of a loss. To recover a numerical scale, we assign a number to each level with a consequence proxy w_{h}:\mathcal{S}\to\mathbb{R}_{\geq 0},
\displaystyle 0=w_{h}(s_{1})\leq w_{h}(s_{2})\leq\cdots\leq w_{h}(s_{K}),where w_{h}(s) is the weight of severity level s. We call it a proxy because it simplifies the risk calculation. We take the severity distribution that the BBN gives and map it to numbers, instead of computing a higher-fidelity risk metric such as the value at risk, CVaR, or EVaR (Rockafellar and Uryasev, 2000; Ahmadi-Javid, 2011). The values w_{h}(s) are design parameters. The lowest level s_{1} stands for no or negligible consequences, so we set w_{h}(s_{1})=0.
2.5 Event risk index
To create a single comparable value for the planner, we reduce the severity distribution of each hazardous event to one number. Let \tilde{w}_{h}(s)\coloneqq w_{h}(s)/w_{\max} denote the normalized weight, where w_{\max} is the largest weight over all hazardous events. We define the event risk index r_{h}:\mathcal{X}\to[0,1] of hazardous event h as the expected normalized weight of S_{h} given the evidence at x, that is,
\displaystyle r_{h}(x)\coloneqq\mathbb{E}\bigl[\tilde{w}_{h}(S_{h})\mid\mathcal{E}(x)\bigr]=\sum_{s\in\mathcal{S}}p_{h,s}(x)\,\tilde{w}_{h}(s).A hazardous event, h, may harm several assets, such as people, the environment, and the vessel. The network can then hold one severity variable for each asset, S_{h}^{\text{asset}}, each with its own consequence proxy. The event risk index is then the sum of the expected weights over these variables, divided by the sum of their largest weights. It stays in [0,1], and with a single severity variable it aggregates to (5).
2.6 Aggregated Risk Index
We combine the event risk indices of all hazardous events into one risk index r:\mathcal{X}\to[0,1], that is,
\displaystyle r(x)\coloneqq 1-\prod_{h\in\mathcal{H}}\bigl(1-r_{h}(x)\bigr).The risk index is zero only when all event risk indices are zero, and it is one when any event risk index is one. Every hazardous event adds to the risk index, and it increases with each r_{h}(x). The event risk indices are expected severity weights, so r(x) is a score. Note that the rule treats the hazardous events as independent, although the BBN links them through common parents.
3 Risk-Informed Path Planning
3.1 Problem definition
Let \mathcal{X} be the state space and let x\in\mathcal{X} denote a state. A state holds the position of the vessel together with any other information the risk model might need, such as its heading, velocity, travel duration, and mode of operation. The planner searches for a path in a workspace \mathcal{W}\subset\mathbb{R}^{d} of positions, where we restrict our development to d=2 in this work. The free space \mathcal{W}_{\mathrm{free}}\subseteq\mathcal{W} is the set of obstacle-free positions. The map \operatorname{pos}\colon\mathcal{X}\to\mathcal{W} gives the position of each state x.
Definition 1 (Edge).
For x_{k-1},x_{k}\in\mathcal{X} with positions \zeta_{k}\coloneqq\operatorname{pos}(x_{k}), the edge e_{k}\coloneqq(\zeta_{k-1},\zeta_{k}) is associated with the straight-line segment \delta_{k} parametrized by \lambda, that is,
\displaystyle\delta_{k}\colon[0,1]\to\mathcal{W},\qquad\delta_{k}(\lambda)\coloneqq(1-\lambda)\,\zeta_{k-1}+\lambda\,\zeta_{k}.The edge e_{k} is admissible if and only if \delta_{k}(\lambda)\in\mathcal{W}_{\mathrm{free}} for all \lambda\in[0,1].
For an edge e_{k} and \lambda\in[0,1], let x_{k}(\lambda)\in\mathcal{X} denote the state at the position \delta_{k}(\lambda). Its heading is the direction of e_{k}, and its time is the arrival time at \delta_{k}(\lambda).
Definition 2 (Edge evaluation).
For any bounded f\colon\mathcal{X}\to\mathbb{R} that is piecewise constant along each edge e_{k}, define the maximum and the line integral of f along \delta_{k} as
\displaystyle\max_{e_{k}}f\coloneqq\max_{\lambda\in[0,1]}f\big(x_{k}(\lambda)\big),\quad\int_{e_{k}}f\coloneqq\ell_{k}\int_{0}^{1}f\big(x_{k}(\lambda)\big)\,d\lambda,where \ell_{k}\coloneqq\lvert\zeta_{k}-\zeta_{k-1}\rvert is the Euclidean length of e_{k}.
A path is a finite ordered sequence of admissible edges
\displaystyle\sigma\coloneqq(e_{1},e_{2},\dots,e_{N}).Each edge carries three quantities: the length \ell_{k}, the accumulated risk index \rho_{k}, and the heading-change penalty \tau_{k}, which combine into the edge cost and the additive path cost
\displaystyle c_{k}\coloneqq\alpha\ell_{k}+(1-\alpha)\beta\rho_{k}+\gamma\tau_{k},\quad C(\sigma)\coloneqq\sum_{k=1}^{N}c_{k},\quad\alpha\in[0,1],\,\beta,\gamma\geq 0.An edge is risk-admissible if and only if
\displaystyle\hat{r}_{k}\coloneqq\max_{e_{k}}r\leq r_{\mathrm{cut}},\qquad r_{\mathrm{cut}}\in[0,1],where r_{\mathrm{cut}} is the risk acceptance limit, that is, the highest risk index the planner accepts at any point of a path. This test on \hat{r}_{k} ensures that a short stretch with a high risk index cannot be averaged away by an otherwise low-risk edge. Note that the risk acceptance limit is a design parameter of the planner.
Problem 1.
Risk-informed, turn-penalized path planning. Given \mathcal{W}_{\mathrm{free}}, a risk index field r, weights \alpha,\beta,\gamma, a risk acceptance limit r_{\mathrm{cut}}, and positions \zeta_{\mathrm{init}},\zeta_{\mathrm{goal}}\in\mathcal{W}_{\mathrm{free}}, find
\displaystyle\sigma^{*}=\underset{\sigma\in\Pi}{\arg\min}\;C(\sigma), \\ \displaystyle\Pi\coloneqq\{\sigma:\zeta_{0}=\zeta_{\mathrm{init}},\,\zeta_{N}=\zeta_{\mathrm{goal}},\,\hat{r}_{k}\leq r_{\mathrm{cut}},k=1,\dots,N\}.3.2 Accumulated Risk Index of an Edge
Scoring an edge with a risk index from a single point leaves the rest of the edge invisible to the cost. The accumulated risk index has the unit of length,
\displaystyle\rho_{k}=\int_{e_{k}}r.In practice, \rho_{k} and \hat{r}_{k} are evaluated at n_{k} sample points spaced evenly along the edge,
\displaystyle\lambda_{i}=\frac{i}{n_{k}},\quad i=1,\dots,n_{k},\qquad n_{k}=\min\Bigl(\max\bigl(\lceil\ell_{k}/\Delta_{r}\rceil,1\bigr),n_{\max}\Bigr),where \Delta_{r} is the target spacing and n_{\max} caps the number of samples on one edge. The start point \lambda=0 is left out, since it is the end point of the previous edge and has already been evaluated. The maximum and the integral in (8) are then replaced by the maximum and a Riemann sum over the samples,
\displaystyle\hat{r}_{k}\approx\max_{i}r\bigl(x_{k}(\lambda_{i})\bigr),\qquad\rho_{k}\approx\frac{\ell_{k}}{n_{k}}\sum_{i=1}^{n_{k}}r\bigl(x_{k}(\lambda_{i})\bigr).Setting n_{k}=1 scores the edge at its end point.
3.3 Heading-Change Penalty
Minimizing distance and the accumulated risk index alone can produce paths that zigzag through low-risk regions. We therefore add a heading-change penalty that grows as the turn gets sharper.
Let \theta_{k}\coloneqq\zeta_{k}-\zeta_{k-1}. The absolute turn angle between e_{k-1} and e_{k} is
\displaystyle\phi_{k}=\bigl|\operatorname{atan2}\bigl(\theta_{k-1}\times\theta_{k},\theta_{k-1}\cdot\theta_{k}\bigr)\bigr|\in[0,\pi],where \theta_{k-1}\times\theta_{k} is the 2D scalar cross product of two planar vectors. The first edge of a path has no incoming edge, so \phi_{1}=0. The turn cost is
\displaystyle\tau_{k}=\begin{cases}\infty,&\phi_{k}>\phi_{\max},\\
\dfrac{\phi_{k}}{\pi}\,L_{\mathrm{ref}},&\text{otherwise},\end{cases}where \phi_{\max}\in[0,\pi] is an optional hard limit on the turn angle. The reference length L_{\mathrm{ref}} states the penalty in the same unit as edge length, so a full 180^{\circ} turn costs as much as L_{\mathrm{ref}} of straight path. The weight \gamma of (10) trades off against distance and the accumulated risk index in the same way.
3.4 Planner
Problem 1 is solved by an RRT*-style search (Algorithm 1). The search builds a tree \mathcal{T}=(V,E), where each vertex v\in V holds a state x_{v}\in\mathcal{X}. We write \operatorname{pos}(v) for \operatorname{pos}(x_{v}). The root v_{0} holds the initial state, with \operatorname{pos}(v_{0})=\zeta_{\mathrm{init}}. Every other vertex has a single parent \operatorname{par}(v)\in V and is reached through the incoming edge
\displaystyle e_{v}=\bigl(\operatorname{pos}(\operatorname{par}(v)),\,\operatorname{pos}(v)\bigr).Each vertex stores the record
\displaystyle\bigl(\operatorname{par}(v),\;g(v),\;d(v),\;\hat{r}_{v},\;P(\cdot\mid\mathcal{E}(x_{v}))\bigr),where \operatorname{par}(v) is the parent, g(v) is the accumulated cost from the root, d(v) is the accumulated path length from the root, and \hat{r}_{v}\coloneqq\max_{e_{v}}r is the highest risk index along the incoming edge. The last entry is the full posterior that the BBN returns at x_{v}, over all of its nodes. The path quantities follow from those of the parent,
\displaystyle g(v) \\ \displaystyle=g(\operatorname{par}(v))+c_{v}, \\ \displaystyle\text{Cost to come}, \\ \displaystyle d(v) \\ \displaystyle=d(\operatorname{par}(v))+\ell_{v}, \\ \displaystyle\text{Distance to come},where c_{v} and \ell_{v} are the cost and length of e_{v}, and g(v_{0})=d(v_{0})=\hat{r}_{v_{0}}=0.
The connectable set V_{\mathrm{c}}\subseteq V holds the root and every vertex that has a parent. The function \textnormal{{Neighbor}}(\zeta) returns the vertices in V_{\mathrm{c}} that lie within the radius \ell_{\mathrm{nb}} of the position \zeta. The search minimizes g when it selects a parent or rewires a neighbor, while it keeps \hat{r}_{v} at or below the risk acceptance limit r_{\mathrm{cut}}.
For a sample point on an edge leaving v, the path length d(v) plus the distance along the edge gives the distance the agent has traveled. Divided by the transit speed, this distance gives the time at which the agent is predicted to reach the sample point. The dynamic obstacles are placed at their predicted positions at that time before the risk index is evaluated. The posterior is taken at the last sample point of e_{v}, which is \operatorname{pos}(v). It is saved in the vertex, so that the planner can later ask which hazardous event drove the risk index at v. The tree is therefore a sampled risk map of the region the search is exploring. The planner can also return a path together with its risk description.
3.4.1 Hard feasibility by orphaning
The planner might sample a node that does not satisfy the risk acceptance limit \hat{r}_{k}\leq r_{\mathrm{cut}}. In this case, the newly created node is removed from the tree by orphaning, but the node is kept in V to retain information. To orphan a node, we simply set its parent to \varnothing. The same test also prevents orphan nodes from being reconnected during rewiring. As a result, an orphaned node is excluded from the connectable set and can never be included in a returned path.
3.4.2 Cost-driven connection and rewiring
Both ChooseParent and Rewire use the cost-to-come g(v)+c(e) of (10) as cost (See Algorithms 3 and 2). ChooseParent selects the best parent for v_{\mathrm{new}} to the vertex in V that minimizes this quantity, and Rewire reassigns an existing neighbor to the new parent whenever routing through it lowers that neighbor’s cost-to-come.
3.5 Real-time requirements
Almost all of the planner’s run time is spent on BBN inference. Therefore, the run time mainly depends on two things: how long one risk calculation takes, and how many risk calculations the planner makes. We write the run time as
T_{\mathrm{run}}\approx Q_{\mathrm{tot}}\,t_{r},where t_{r} is the mean duration of one risk calculation and Q_{\mathrm{tot}} is the count of risk calculations in one run. The duration t_{r} covers building the evidence, inference in the BBN, and computing the risk index. It depends on the size and structure of the network and on the hardware. The count Q_{\mathrm{tot}} depends on the node budget, N_{\max} and the number of neighbors within \ell_{\mathrm{nb}}. These two factors can be measured separately, and we treat them one at a time below.
We first count the risk calculations. The planner grows a tree until it holds N_{\max} vertices. Each new vertex is connected to the vertices already in the tree that lie within the radius \ell_{\mathrm{nb}}. With uniform sampling, the average number of such neighbors in a tree of size \lvert V\rvert is (Karaman and Frazzoli, 2011)
\displaystyle\bar{m}\bigl(\lvert V\rvert\bigr)=\frac{\pi\ell_{\mathrm{nb}}^{2}}{A_{\text{free}}}\lvert V\rvert,where A_{\text{free}} is the free area. Each neighbor gives two candidate edges, one as a possible parent of the new vertex and one for rewiring through it. A share \kappa\in(0,1] of these edges reaches the risk model, as the rest are blocked by obstacles or already known to exceed the risk acceptance limit r_{\mathrm{cut}}. Each remaining edge is sampled at \bar{n} points on average, where \bar{n} is the average number of samples per edge, and each sample is one risk calculation. Summing over the tree sizes \lvert V\rvert=1,\dots,N_{\max} gives
Q_{\mathrm{tot}}\approx\sum_{\lvert V\rvert=1}^{N_{\max}}2\,\kappa\,\bar{n}\,\bar{m}\bigl(\lvert V\rvert\bigr)\approx\kappa\,\bar{n}\,\frac{\pi\ell_{\mathrm{nb}}^{2}}{A_{\text{free}}}\,N_{\max}^{2}.The count grows with the square of the node budget, because each new vertex finds more neighbors as the tree branches are populated. The sampling-based planning literature offers several ways to lower the count (Karaman and Frazzoli, 2011; Solovey and Kleinbort, 2019).
Inference cost cannot be estimated based on the structure of a BBN in any general way, because both exact and approximate inference in a BBN are NP-hard (Cooper, 1990; Dagum and Luby, 1993). Instead, we give a target on the duration itself, which a reader can measure directly for their own network. The deadline T_{\text{max}} is the time the planner has to produce a new plan before the current one stops being usable. It is bounded by the shortest time constant the agent should be able to act on. All risk calculations of one run must fit inside T_{\text{max}}, which gives a requirement on the risk model,
t_{r}\leq\frac{T_{\text{max}}}{Q_{\mathrm{tot}}}.With Q_{\mathrm{tot}} from Equation (24), the largest node budget that a given risk model can support is
N_{\max}\leq\sqrt{\frac{T_{\text{max}}\,A_{\text{free}}}{\kappa\,\bar{n}\,\pi\,\ell_{\mathrm{nb}}^{2}\,t_{r}}}.3.6 Risk Map from the Search Tree
Each vertex stores the BBN inference results to create a risk map of the explored region. The vertex values, including the orphaned vertices, are interpolated onto a regular grid and smoothed with a Gaussian filter. The resulting map shows which hazardous event and which RIFs drove the risk, which explains why the planner chose one route over another. In addition, it can be passed to other systems, such as a remote control center or a supervisory risk controller (Utne et al., 2020; Johansen and Utne, 2022). The value at a vertex depends on the heading and arrival time of its incoming edge, so the map shows the risk along the explored vertices and not a property of the position alone.
4 Risk-Informed Path Planning for Maritime Autonomy
We demonstrate the proposed planner framework on a maritime navigation task. A vessel transits a confined waterway with shallow water and other vessels. These hazards can lead to grounding and collision, and the planner must produce a path that is acceptable with respect to both.
4.1 Bayesian Belief Network
The BBN in Figure 3 answers a question from the planner’s point of view: If the own vessel passes this point on the heading of the edge and at the predicted time, how likely is a hazardous event, and how severe would its consequences be? The evidence describes the action under consideration, not the vessel’s present state, so the network is queried at every sample point of every candidate edge.
Network Structure
The BBN is a further development of the networks of Maidana et al. (2023) and Kristensen et al. (2024), adapted to path planning and extended with a severity node for each hazardous event similar to (Bremnes et al., 2025). At the base, a set of observable RIFs describes the vessel’s immediate situation: the geometry of any developing encounter, the waterway being transited, and the prevailing environmental conditions. Aggregation nodes condense each subtree of evidence into a single assessment of whether that aspect of the situation is Negligible or Critical. These feed the recovery nodes, which act as preventive barriers and express whether the vessel can still avoid a hazardous event by means other than the planner itself. Their output determines the hazardous event nodes, and each hazardous event node is in turn the parent of a severity node describing how severe its consequences would be. The available rescue resources act as a barrier on the consequence side, as they reduce the severity of the consequences of a collision or grounding. The BBN used in this work can be found here (Gezer, 2026).
Forming the conditional probability table
We define the conditional probability tables of all non-observable nodes using ranked nodes (Fenton et al., 2007), which generate a whole table from a function of the parents, one weight per parent, and a variance. Ranked nodes let us express expert knowledge in a simple way. Here, each weight indicates how strongly a parent pushes the node up or down and the variance expresses how much uncertainty there is in that influence. They can be built from expert knowledge alone, being easy to tune given the low number of parameters. The weights and variances of the ranked nodes in this work are given in Figure 3.
Populating the evidence during search
The evidence quantities are divided into position-dependent properties, such as waterway and environmental conditions, and encounter-dependent properties, such as distance at and time to closest point of approach (DCPA and TCPA), relative velocity, and the headings of the own vessel and dynamic targets. DCPA and TCPA are used to characterize encounter geometry, while relative velocity describes encounter dynamics. The course of each edge defines the heading of the own vessel and is used to assess whether the vessel is on a grounding course. Encounter geometry and dynamics are calculated based on the predicted courses and speeds of dynamic targets, the desired speed of the own vessel, and the accumulated path length. In this work, we assume that the own vessel’s speed is constant and that the dynamic targets maintain their current course and speed over each planning horizon.
State ordering convention
Evidence state labels are ordered by the magnitude of the quantity they represent. For example, a lower TCPA value corresponds to a lower-indexed label, and a higher relative velocity corresponds to a higher-indexed label.
Discretization of the evidence
Each continuous numerical value is mapped onto an evidence label with uniform binning. Uniform bins are used for their simplicity. Values beyond the upper range are assigned to the corresponding highest state, so that each range defines where the information is significant. The ranges are chosen as the distance at which the corresponding hazard becomes irrelevant for the decision. Encounter evidence is computed based on the predicted course and the speed of the dynamic targets, the desired speed of the own vessel, and the accumulated path length. When multiple encounters are possible, the encounter with the smallest DCPA is chosen as the most critical.
4.2 Parameters
Table 1 lists the parameters of the planner, grouped by what they control. The step length \eta, goal radius \ell_{\mathrm{goal}}, neighborhood radius \ell_{\mathrm{nb}}, and node budget N_{\max} set how the tree grows. A larger N_{\max} or \ell_{\mathrm{nb}} gives a smoother path and a denser risk map, but increases the number of risk calculations as shown in (24). The weights \alpha and \beta set the trade-off between distance and the accumulated risk index in (10), and the risk acceptance limit r_{\mathrm{cut}} sets the highest risk index the planner accepts at any point. The turn weight \gamma, turn limit \phi_{\max}, and reference length L_{\mathrm{ref}} set how strongly the planner avoids sharp turns. The sample spacing \Delta_{r} and the cap n_{\max} set how finely risk is sampled along an edge, which trades accuracy of \hat{r}_{k} and \rho_{k} against run time. The remaining parameters belong to the risk model.
5 Case study: Navigating into the Harbor
We conducted a simulation study of a vessel entering the harbor of Kristiansund, Norway. The own ship is modeled on NTNU’s research vessel R/V Gunnerus, which is 36.25 m long and 9.9 m wide. We use its dimensions and assume similar maneuvering capabilities, but the study does not include the real vessel or its dynamics. Like Gunnerus, the simulated vessel is assumed to be fully actuated at low speed, so the planner may assume that stopping and turning on the spot are feasible. The vessel transits at a constant speed v_{\mathrm{d}}=3 m/s, which converts the path length into a time of arrival and places the dynamic targets when the vessel reaches each point. Water shallower than z_{\min}=6 m is treated as non-navigable and excluded from sampling. All parameter values are listed in Table 1, and the discretization of the evidence is shown in Table 2. We kept the same consequence proxy for both collision and grounding for simplicity, but the framework allows for different proxies for different hazards.
- DCPA
- relevant DCPA
- [0,d_{\mathrm{CPA}}^{\max}]
- 5
- TCPA
- relevant TCPA
- [0,t_{\mathrm{CPA}}^{\max}]
- 5
- Relative velocity
- \lvert\Delta v\rvert
- [0,v_{\mathrm{rel}}^{\max}]
- 5
- Distance to shore
- distance to nearest obstacle
- [0,d_{\mathrm{shore}}^{\max}]
- 5
- Depth
- relevant depth
- [0,z_{\max}]
- 5
- Ship traffic
- traffic density
- [0,1]
- 2
- Grounding course
- lookahead free-path test
- d_{\mathrm{look}}
- 2
Interpretation of the consequence proxy.
In the case study, the severity level of an event is its worst outcome for people, the environment, or the vessel. The lowest level, negligible, covers events with no collision or grounding, or light contact without damage. Marginal events cause only cosmetic damage, and the vessel can continue its voyage. Moderate events damage the hull, propeller, or rudder and cause at most minor injuries. Critical events include a hull breach, loss of propulsion, serious injuries, or a small fuel spill, and the vessel needs a tug. The highest level, catastrophic, covers loss of life, total loss of the vessel, or a large oil spill in the harbor. With the weights in Table 1, the planner treats one catastrophic outcome as equal to four critical ones.
Explainability of the results
The values in Figure 5 are posterior probabilities of the state Likely of the hazardous event nodes. They show the posterior probability of a hazardous event at a given location, conditional on the vessel taking the move under consideration. The network was not calibrated to accident data, so the values compare states with each other. Hence, they are not accident frequencies for the area.
Continuous planning
To handle a changing environment, the vessel continuously updates its plan as new information arrives. The vessel follows the current plan while the next one is computed, and the next plan must be ready within T_{\text{max}} before the current one stops being usable. For this reason, a new search starts as soon as the previous one ends. Each search starts from the most recent snapshot of the surroundings. Figure 6 shows three plans from the same transit, taken one after another. The route changes as the other vessel moves through the area, and the risk map is updated accordingly.
N_{\max}=1200 for all three searches.Computation time
Figures 7 and 8 show that the two factors behind Equation (24) behave as predicted. The number of neighbors grows linearly in the tree size, and so does the number of risk calculations spent on each new node, which makes the count over a whole run quadratic in the node budget. The measured neighborhood stays about a fifth below the prediction, because discs centered near the shore are clipped by land. Equation (24) is therefore an upper bound, which is the useful direction for sizing a system.
\bar{m}(\lvert V\rvert) of Equation (23). Shoreline clipping keeps the measured count below the prediction.Q_{\mathrm{tot}}(N_{\max}) from Equation (24) and a least-squares fit. The horizontal line is T_{\text{max}}/t_{r}, and the fit crosses it at N_{\max}\approx 1640; budgets to the left of the crossing fit one replanning cycle.A single risk calculation takes t_{r}\approx 0.19 ms, and its mean stays between 0.191 and 0.202 ms for node budgets from 750 to 2500, since one calculation does not depend on how many nodes are already in the tree. Rearranged, Equation (25) requires Q_{\mathrm{tot}}\leq T_{\text{max}}/t_{r}, which is the horizontal line in Figure 8. For the deadline T_{\text{max}}=\eta/v_{\mathrm{d}}\approx 16.7 s that follows from Table 1, the measured count crosses it at N_{\max}\approx 1640. The risk calculations of one plan fit inside a replanning cycle below that budget.
6 Conclusions
This paper presented a risk-informed RRT* planner for autonomous surface vessels, driven by a Bayesian belief network that is evaluated online during the search. We stated the requirements a network must meet to serve as the risk model, and reduced its severity distributions to a bounded risk index. The risk index is sampled along each candidate edge with the heading of the edge and the time of arrival, so the same position can carry a different risk index depending on how and when the vessel reaches it. The highest risk index on an edge is held below a risk acceptance limit, and a heading-change penalty avoids abrupt changes in direction. Each vertex stores the BBN posterior behind its risk index, so the search tree also serves as a risk map that can be inspected for each hazardous event. A simple run-time model turns a replanning deadline into a limit on the duration of one risk calculation, and it predicted the largest node budget that fit a replanning cycle in a simulated harbor entry at Kristiansund.
The ranked node weights and variances were set by the authors. A more systemic approach to eliciting expert judgements, e.g., by using the Delphi method (Dalkey and Helmer, 1963), could potentially lead to adjustments of these weights and variance, and should be subject to further work. Building a detailed and calibrated network is outside the scope of this paper, and any network that meets Assumption 1 can replace this one without changes to the planner. Moreover, the planner does not consider the International Regulations for Preventing Collisions at Sea (COLREG); hence, it may plan to pass a vessel on the side that the rules forbid if the risk there is low. In addition to that, a path computed with a finite node budget is feasible but not necessarily optimal (Karaman and Frazzoli, 2011), and the sampled peak along an edge can underestimate the true peak. Finally, the case study was run in simulation, with straight path segments and target vessels that keep their course and speed.
The network can be refined and calibrated from data or from a structured expert study, and it can replace the current one without changes to the planner (Hänninen, 2014). Severity nodes for people and the environment can be added to the network, each with its own consequence proxy. Other risk measures can be explored in place of the expected consequence proxy, such as the value at risk, the conditional value at risk, or the entropic value at risk (Ahmadi-Javid, 2011; Rockafellar and Uryasev, 2000). Each gives a different reading of the same severity distributions, for example by giving more weight to severe but unlikely outcomes. The COLREG can be brought into the network itself, since a maneuver that other vessels do not expect adds risk even when the DCPA is large. Object-oriented BBNs can keep a larger network manageable, as they split it into smaller parts that can be built and checked separately (Weidl et al., 2005). The planner can also be made faster, for example with a neighborhood radius that shrinks as the tree grows (Karaman and Frazzoli, 2011; Solovey and Kleinbort, 2019).
Data availability
The source code, data, and the parameters needed to reproduce the results are openly available on Zenodo at https://doi.org/10.5281/zenodo.24502045.
Acknowledgement
Gezer and Skjetne acknowledge funding from the Research Council of Norway (RCN) through SFI AutoShip (RCN grant 309230), the Norwegian Maritime AI Centre (RCN grant 359242), and NTNU AMOS (RCN grant 223254). Kaya and Utne’s contributions are funded by the European Union. Views and opinions expressed are, however, those of the author(s) only and do not necessarily reflect those of the European Union or the European Research Council Executive Agency. Neither the European Union nor the granting authority can be held responsible for them. This work is supported by ERC grant (BREACH, ID: 101142277, DOI 10.3030/101142277.)