Next Article in Journal
Adaptive Feature Fusion and Kernel-Based Regression Modeling to Improve Blind Image Quality Assessment
Previous Article in Journal
Muscle Function and Thickness Are Not Associated with Responsiveness to Post-Activation Performance Enhancement
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Modeling Human Encounter Situation Awareness Results Using Support Vector Machine Models

1
Department of Applied Environmental Systems, Graduate School of Marine Science and Technology, Tokyo University of Marine Science and Technology, 2-1-6 Etchujima, Koto-Ku, Tokyo 135-8533, Japan
2
President, National Institute of Maritime, Port and Aviation Technology, 6-38-1 Shinkawa, Mitaka-shi, Tokyo 181-0004, Japan
3
Department of Maritime Systems Engineering, Tokyo University of Marine Science and Technology, 2-1-6 Etchujima, Koto-Ku, Tokyo 135-8533, Japan
*
Author to whom correspondence should be addressed.
Appl. Sci. 2023, 13(13), 7521; https://doi.org/10.3390/app13137521
Submission received: 9 May 2023 / Revised: 13 June 2023 / Accepted: 22 June 2023 / Published: 26 June 2023
(This article belongs to the Section Marine Science and Engineering)

Abstract

:
This study constructs a support vector machine model based on supervised learning to model the results of situation awareness for ship collision avoidance. To explain the model, collision risk situations were defined, and human situation recognition results were collected in the specified cases. Moreover, it was used to build predictors and outcome variables. Finally, the constructed variable was applied to the classification model. This model provides insight into the results of the navigator’s encounter situation awareness when collision avoidance is required. The results indicate that the proposed model can be used to predict human situation awareness outcomes in given cases.

1. Introduction

The results of the navigator’s perception of the encounter situation are crucial for the safety of navigation. When the risk of collision is suspected, humans perform a four-step information-processing process [1]. It is information acquisition, situation analysis, decision-making, and action. Several methods have been reported for determining the risk of collision. The navigator uses indicators such as distance at the close point of approach (DCPA), time to DCPA (TCPA), and changes in relative bearing to determine the risk of collision [2]. This method, applied to navigation equipment such as ARPA (automatic radar plotting aid), provides numerical information to the navigator through simple calculations. In addition, some numerical models have been reported to assess the risk of collision. Ren et al. [3] reported a numerical model that combines membership functions that calculate collision risk based on fuzzy logic using AIS data. Li and Fang [4] built a collision risk evaluation model using a multi-radar network based on the Dempster–Shafer theory to overcome the shortcomings of the existing collision risk model. Xu and Wang [5] reviewed the basic concept of collision risk and the numerical model for calculating collision risk. Xie et al. [6] introduced a simplified three-way guided ship dynamics model, and the model’s control prediction and real-time collision avoidance model were constructed. In addition, Shaobo et al. [7] established a collision avoidance model for autonomous ships that reflects the interaction of the obstacles during the collision avoidance operation.
The navigator, who felt the risk of a collision through various means, analyzes the encounter situation to escape the dangerous situation [8]. The International Regulations for Preventing Collisions at Sea (COLREGs) is a principle when a navigator analyzes a situation. According to the COLREGs, an encounter situation is categorized as head-on, crossing, or overtaking [9]. Here, crossing is divided again into a give-away and stand-on. Give-away is the situation when the OS (own ship) should avoid the TS (target ship). Stand-on is the situation when the TS should avoid the OS. However, the COLREGs define only the basic concepts and principles and do not provide specific numerical figures [10]. Furthermore, the navigator’s judgment is sometimes respected, and exceptions are recognized [11]. Therefore, the navigator analyzes the encounter situation and determines the action by applying his experience and judgment in the field. Moreover, at this time, the operator’s decision is subjective and likely to include errors [12,13]. This error has been reported to account for most collision accidents [14,15]. There have been interesting reports to reduce these errors and build algorithms to determine quantitative collision risk. Tam and Bucknall [16] classified the type of collision risk encounters with obstacles as an area-based method to develop an evaluation method. Hasegawa et al. [17] and Namgung [18] divided the areas facing obstacles into six based on the relative bearing of the OS in order to build the algorithm. Yoo and Lee [19] numerically classified encounter situations based on the COLREGs to verify the environmental stress model, one of the collision risk indexes. Zhang et al. [20] classified encounter situations based on areas and angles to develop a collision avoidance decision-making system. However, it was discovered that the figures for the relative bearings used to distinguish the head-on and the crossing are different in each study.
Through a review of previous studies, we confirmed the flow of decision-making regarding collision avoidance by navigators. Here, the navigator’s decision is reported to be subjective and contains errors. Interesting contributions have been reported to compensate for the errors and help with safe navigation. The goal of these reports is to develop a decision-making system for collision avoidance that reduces errors. Although many results have been reported, there are still some drawbacks to existing methods for determining encounter situations:
(1)
COLREGs use somewhat ambiguous words to distinguish between encounters and do not provide figures for specific angles.
(2)
Various reports are numerically distinguishing encounters based on the COLREGs. However, we found that the COLREGs do not report specific figures and that the figures are applied differently for each study. As a result, there can be a significant difference in the encounters classified when performing actual collision avoidance.
(3)
The navigator who learns the regulations and operates the actual ship is a presence that includes errors. There have been few reports of how they judge encounter situations. It can affect collision avoidance behavior.
The purpose of this study is to model the results of the encounter situation recognition by the navigator who detected the risk of collision by the COLREGs. Our contribution is focused on modeling the human situation awareness results that distinguish between crossing and head-on. According to the rules of the COLREGs, the overtake could be determined using the angle of the stern light. To explain this process, human situation awareness results were collected in the presence of a collision risk. The variables required for the model were constructed using the collected data. Subsequently, a classifier model that predicts human situation awareness results was established, and its performance was verified.
The remainder of this paper is as follows. Section 2 defines the risks and situations of collisions and describes the interview scenarios, variable construction, and pre-processing processes used to collect data. Subsequently, we describe a methodology including constructing and evaluating a support vector machine to explain the relationship between the obtainable variables and the context-aware results in the face of a collision. Section 3 presents the analysis of the acquired data and the results of the estimated model. Section 4 discusses the study’s results, and Section 5 summarizes the results.

2. Materials and Methods

Figure 1 shows the flow of studies. To illustrate the proposed model, we define the risk of collision. The reason for defining the risk of collision is that if humans are judged at the risk of collision, situation awareness and information processing are carried out to avoid the collision. However, the risk of collision is a subjective emotion. Therefore, a figure called the collision risk index (CRI) was used to quantify the risk of collision. In general, it has been reported that there is a crisis of conflict if the CRI is above 0.5 [21]. Then, scenarios for obtaining the navigator’s situation recognition results from the defined risk of collision are constructed as a matrix. After that, a questionnaire was prepared based on the obtained scenario. Finally, data collection, pre-processing, model construction, and verification methods are described.

2.1. Rules of Collision Avoidance

Vessels shall comply with specific rules when carrying out collision avoidance. That is, the COLREGs. The regulations are divided into six categories from Part A to F and include 41 regulations. This chapter describes encounter situations and collision avoidance customs classified by the COLREGs:
  • Head-on: This is the situation that shall be deemed to exist when a vessel sees the other ahead or nearly ahead. In this case, the vessels shall alter their course to starboard so that each shall pass on the port to port.
  • Crossing: This is the situation that shall be deemed to exist when a vessel crosses the others. In this case, the vessel with the other on her own starboard side shall keep out of the way.
  • Overtaking: This is the situation that shall be deemed to exist when a vessel shall be overtaking when coming up toward the other from a direction more than 22.5° abaft her beam. In this case, any vessel overtaking any other should keep out of the way of the vessel being overtaken.
Some reports numerically determine the three types of encounters. Table 1 is a table that summarizes the variables used to determine encounter situations in previous studies and their values. The definitions of terms used in Table 1 are as follows:
  • The term “Relative Bearing” refers to the measurement of the azimuth between the heading of both ships clockwise from the heading of the OS to the heading of the TS [22].
  • The term “Heading” refers to the direction in which a vessel is pointed at any given moment, expressed as the angular distance from 000 degrees clockwise through 360 degrees [22].
  • The term “Encounter angle” refers to the angle measured by transposing the heading of the TS to the starting point of the heading vector of the OS [23].
Table 1. Variables and parameters used in the classification of encounter situations.
Table 1. Variables and parameters used in the classification of encounter situations.
Relative BearingHeading (OS)Heading (TS)Encounter AngleRange of Head-on (°)
[16] 337.5~022.5
[17]348.75~011.25
[19] 345~015
[20]355~005
[18]348.75~011.25
where the Range of Head-on refers to the area value determined as a Head-on situation if TS exists in the range based on the relative bearing of the OS.
The characteristic of the Tam and Bucknall [16] criterion is that the angle classified as the head-on is the largest, and a safe zone is set according to the angle of the meeting. Unlike other models, the Hasegawa et al. [17] model and Namgung [18] model are characterized by numerically distinguishing between overtaking and overtaken. In addition, the two models added the quarter-lee situation in the crossing situation. Zhang et al. [20] have the smallest angle classified as a head-on. By introducing the concept of safe distance, logic was added not to classify it as an encounter situation if there is no risk of collision. In this study aspect, the angle at which the relative bearing and OS look at the TS was used to determine encounter situations. The aspect is the relative bearing in which the TS looks at the OS. The aspect is positive if the OS is on the starboard side of the TS and vice versa.

2.2. Risk of Collision

This section describes the numerical calculation method for the risk of collision when two ships encounter each other. After that, the flow of the interview scenario to collect the results of the navigator’s situation perception is explained.

2.2.1. Collision Risk Index

In this study, an index was used to calculate the risk of collision. Several indicators have been reported for calculating the risk of collision, but we used the index reported in the study of Shaobo et al. [7]. It is because collision risk indexes reported in other studies define head-on and crossing using different values, and weights are applied accordingly. Therefore, it was judged inappropriate for our study. The parameters required for calculating indexes applied in our study are DCPA, TCPA, distance ( d ), relative bearing ( ψ r ), and speed ratio ( K ).
The variables of the two ships, OS and TS, are described to define the parameters encountered in the collision situation. The two ships in Figure 2 are assumed to move on the Earth-fixed coordinate system. Here, the coordinates of the OS are P o x o , y o , the velocity is V o , the course is ψ o , the coordinates of the TS are P t x t , y t , the velocity is V t , and the course is ψ t . Moreover, Az is the azimuth of the OS and TS. When the OS navigates in its course ψ o , its relative velocity components are on the X axis, Y axis ( X , Y ), respectively, and its relationship with the TS is calculated as follows [24].
X = V t sin ψ t V o sin ψ o Y = V t cos ψ t V o cos ψ o
V r = X 2 + Y 2
ψ r = arctan X Y
Here, V r means relative speed, and ψ r means relative direction.
When knowing the three parameters (OS’s coordinates converted into radians ( φ o , λ o ), distance to the TS ( d ), and bearing to the TS ( A z )), the coordinates of the TS ( φ t , λ t ) were obtained using rhumb line calculation [25,26]. The latitude of the TS converted into radians ( φ t ) is described in Equation (5), where the angular distance ( ϕ ) is calculated from Equation (4).
ϕ = d / R
φ t = φ o + ϕ · cos A z
The longitude of the TS converted into radians ( λ t ) is obtained by adding the longitudinal difference between the OS and the TS ( λ ). The calculation of λ uses the projected latitude difference described in Equations (6) and (7). The constant δ is derived using the inverse Gudermannian function, which provides the height of the Mercator projection of a given latitude.
δ = ln tan ( π / 4 + φ t / 2 / tan ( π / 4 + φ o / 2 ) )
As for the projected latitude difference ( q ), different values were used when there was a latitude difference and when there was no latitude difference using the constant δ . For the computations, 10 e 12 was used as a number close to zero.
φ t = φ o + ϕ · cos A z
λ = ϕ · sin A z / q
The longitude of the TS converted into radians ( λ t ) is derived by adding a longitudinal difference to the λ o .
λ t = λ o + Δ λ
where R is the radius of the Earth (3440 nautical miles).
Using this variable, DCPA and TCPA, which navigators use as criteria for judgment during collision avoidance, are derived using Equations (10) and (11).
D C P A = d × sin ( ψ r A z + π )
T C P A = d × cos ( ψ r A z + π ) / V r
In the above process, parameters necessary for calculating the CRI were obtained. The CRI is calculated by converting the acquired parameters into utility functions. Equation (12) defines the crash risk indicators. It is calculated by multiplying each parameter’s function ( U ( x ) ) by weight. The figures in Table 2 are the weights multiplied by the utility function. If the CRI is over 0.5, there is a risk of collision between the OS and TS, and the OS shall take appropriate action to avoid the collision.
C R I = w 1 U D C P A + w 2 U T C P A + w 3 U d + w 4 U ψ r + w 5 U ( K )
Equation (13) describes a utility function ( U D C P A ) of the CRI related to the DCPA. This function converts the DCPA to a number between 0 and 1 based on the minimum passing distance ( d s ) and the safe passing distance ( d p ). Equation (14) describes calculating d s according to the relative bearing ( ψ r ).
U D C P A = 1 DCPA d s sin π d p d s D C P A d p + d s 2 d s < DCPA d p 0 d p DCPA
Here, d p is twice d s [7].
d s = 1.1 ψ r π × 0.2 0 ψ r < 5 π 8 1.0 ψ r π × 0.4 5 π 8 ψ r < π 1.0 2 π ψ r π × 0.4   π ψ r < 11 π 8 1.1 2 π ψ r π × 0.4   11 π 8 ψ r < 2 π
Equation (15) describes a utility function ( U T C P A ) of a CRI related to the TCPA. This function converts the TCPA under certain conditions.
U T C P A = 1 0 T C P A t 1 t 2 T C P A t 2 t 1 2 t 1 < | T C P A | t 2 0 t 2 T C P A
Here, t 1 and t 2 are calculated as Equations (16) and (17).
t 1 = d s 2 D C P A 2 V r DCPA   d s d s D C P A V r DCPA > d s
t 2 = d p 2 D C P A 2 V r
Subsequently, the utility functions of the CRI related to the distance, direction, and speed ratio are calculated as Equations (18)–(20).
U d = 1 0 d d s d p d d p d s d s < d d p 0 d p < d
U ψ r = 1 2 cos ψ r 19 π 180 + 440 289 + cos 2 ψ r 19 π 180 5 17
U K = 1 + 2 K K 2 + 1 + 2 K sin ψ o 1

2.2.2. Collision Scenario

In order to obtain data, it is necessary to develop a scenario with a risk of collision. To develop this scenario, we constructed the CRI values as matrices by entering numerical conditions to find situations where the risk of collision exists. The matrix’s horizontal axis used the TS’s relative bearing based on the OS. Here, the relative bearing was based on the head of the OS, with a value of −27 degrees to 27 degrees. Moreover, the longitudinal axis of the matrix was the aspect. Here, the aspect is the angle at which the TS looks at the OS, and a value from −25 degrees to 25 degrees was used. The scenario for the questionnaire was constructed by calculating the CRI of 0.5 or more at randomly designated values of the above two variables at regular intervals. The figures are reported in Table S1. The distance between the OS and the TS was set at 6 miles reported to commence the collision avoidance operation [27,28]. The collision risk matrix was constructed using the collision risk index described in Section 2.2.1. for three cases when the OS is faster than TS, the speed of the OS and TS are the same, and the OS is slower than the TS based on the relative bearing, aspect, and fixed distance of 6 miles.

2.3. Experimental Data Acquisition

In this section, a method for collecting data for model construction and a method for processing the collected data are described.

2.3.1. Surveying

In order to conduct the survey, the encounter scenario with a CRI of 0.5 or higher was constructed, which was considered at risk of collision. The survey was conducted using the constructed scenario as follows:
  • Survey period: November 2022 to December 2022.
  • Question: What kind of encounter situation (head-on, stand-on, give-away, safe situation) is considered in the given picture?
  • Method: online.
  • Interviewees: qualified navigators in practice.
  • Figure 3 shows some of the questionnaires given to interviewees. In Figure 3, the OS is the center of the half-circle, and the TS is visualized as a red triangle.

2.3.2. Data Processing

The collected data were processed through a three-step procedure:
  • Step 1 (merging variables and surveyed data): The data required for the experiment were constructed by combining the scenarios provided in the interview with the interviewers’ response results. The provided scenario is used as a predictor, and the response result is used as an outcome variable.
  • Step 2 (variable construction): The relative orientation of the OS to the TS, aspect to the TS to the OS, and speed ratio were selected as explanatory variables. Moreover, the result variable was labeled as a categorical variable. The response result was labeled 0 for head-on, 1 for give-away, and 2 for stand-on. Finally, the data that responded as a safe situation were not used to build the model.
  • Step 3 (data pre-processing): Processed data are pre-processed to suit model construction. It is crucial because pre-processing affects the model’s performance [29]. Each data point used in this study was divided into training, validation, and test data. First, the entire data are divided into training–validation data and test data. After that, the data are again divided into training and validation data. The division ratio is 7:3. Subsequently, the predictors were standardized. Standardization was performed using only the training data. At this time, the validation data and test data did not affect standardization.

2.4. Classification Model

The support vector machine model is formulated to estimate the relationship between the acquired predictor and the encounter situation resulting from the survey response. The model’s input is a variable obtained through the process described in Section 2.2.2. The output is a situation awareness result predicted using a trained model. The input and output data pairs were divided into training–validation data and test data. At this time, the division ratio of the data was 7:3. After that, the training–validation data were again divided into training data and validation data at the same rate. It is because the optimal hyperparameter is obtained using the grid search (yellow box of Figure 1). Finally, we constructed the final model using the optimal hyperparameters obtained through the grid search. In this section, a support vector model applied to the model is described, and the hyperparameters are described. Finally, the validation method for the model is described.

2.4.1. Support Vector Machine

The support vector machine is a model that finds hyperplanes that efficiently classify a given data [30]. Support vector machines have been reported to perform well in generalization because they aim to minimize training errors [31]. The method for selecting a hyperplane in a support vector machine is to find the hyperplane as the optimal solution, where the margin of the distance of the class data is maximized. The definitions of data input into the model are D = { x 1 , y 1 , x 2 , y 2 , x i , y i , y i { 1 , 1 } . The equation defining the hyperplane classifying classes according to the label is w · x i + b = 0 . Here, w is the gradient of the hyperplane, x is the location of the data on the hyperplane, and b is the bias. The separation hyperplane of the two classes of data is defined as w · x i + b + 1 (for y i = + 1 ) and w · x i + b 1 (for y i = 1 ). Equation (21) is derived by combining the two equations as constraint terms.
y i w · x i + b 1
The data points on the separation hyperplane of each class are called support vectors. They are defined as w · x i + b = ± 1 . The margin is the distance ( 2 / w 2 ) between the two support vectors. The support vector machine model is guided to Equation (22), which minimizes the reciprocal of the distance, in that it is a model that maximizes the margin.
max   M a r g i n = min 1 2 w 2
Equations (21) and (22) are only available when they are entirely linearly separable. Therefore, Equations (23) and (24) are derived by adding terms that allow errors ( ξ i ).
max   M a r g i n = minimize 1 2 w 2 2 + C i = 1 n ξ i
y i w · x i + b 1 ξ i , i = 1,2 , , n
Here, ξ i is an error, and C is a regulatory term that regulates the error. The lower the regulation, the more training errors are allowed so that underfitting can occur. In contrast, the higher the regulation, the more overfitting can occur because training errors are not allowed.
Kernel transformations that map predictors to higher dimensions are used to model boundaries that can be constructed non-linearly. The kernel includes linear, polynomial ( d t h , d 2 ), and Gaussian kernel. Equations (25)–(27) define linear, polynomial, and Gaussian kernels.
K x 1 , x 2 = x 1 , x 2
K x 1 , x 2 = a x 1 , x 2 + b d
K x 1 , x 2 = exp ( x 1 x 2 2 2 2 σ 2 )

2.4.2. Hyperparameters

The classification model used in this study is linear, polynomial(2nd, 3rd), and Gaussian kernel support vector machine. Each model is designed to find an optimization model through the regulation of hyperparameters:
  • Hyperparameters of the linear and polynomial models (2d, 3d): The value of regulation terms C has adjusted. C was 0.001, 0.01, 0.1, 1, 10, 100, and 1000.
  • Hyperparameters of the Gaussian kernel model: The values of regulation terms C and gamma were adjusted. Gamma is a parameter that regulates the dispersion of the Gaussian kernel. C was adjusted to 0.001, 0.01, 0.1, 1, 10, and 100. Gamma was adjusted to auto, 0.001, 0.01, 0.1, 1, 10, and 100. Here, if gamma is set to auto, the reciprocal of the number of predictors is the input.
  • Grid search: Grid search methods were used to find the optimal numerical value among adjustable hyperparameters efficiently. Grid search performs pre-learning for all cases for a group of hyperparameter candidates and derives optimal hyperparameters through cross-validation. Here, the test data should not be involved in the grid search. Therefore, the entire data were divided into three types of data: training, validation, and test.

2.4.3. Model Validation

Several metrics have been used to evaluate the performance of the built support vector machine models. It has been validated via the F1 score, and receiver operating characteristic (ROC) and area under the ROC curve (AUC) metrics. These metrics are calculated based on a confusion matrix [32]. It is a matrix of the predicted label values based on the true label. Figure 4a explains the confusion matrix of the binary classification. Here, precision is the probability that the result of the true label is positive when the result of the prediction label is positive. Precision does not guarantee the model’s reliability when the prediction results are negative. On the other hand, recall is the probability that the result of the predictive label is positive when the result of the true label is positive. Here, the recall does not provide information on predictions made when the true label is negative. In this study, a multi-classification model was used. Figure 4b describes the confusion matrix of multi-class classification. When evaluating multiple categories, metrics are calculated in two ways. One of those is macro-averaging. Using the example in Figure 4b, the precision and recall are calculated independently for each class as follows. The precision for classes 1, 2, and 3 is (2/7, 3/4, and 4/5), and the recall for classes 1, 2, and 3 is (5/5, 3/6, and 4/5), respectively. The precision and recall using macro-averaging are the sum average of each class value calculated independently, where the values are 0.61 and 0.77, respectively. Micro-averaging, on the other hand, is a method for calculating metrics using the overall positive and negative figures by developing a confusion matrix for each class and summing up the developed confusion matrix. Figure 5 describes developing a confusion matrix for each class using micro-averaging using the figures in Figure 4b. The precision and recall using micro-averaging are 0.75.
The F1 score is an evaluation metric considering the recall and precision, calculated as Equation (28).
F 1   s c o r e = 2 × P r e c i s i o n × R e c a l l P r e c i s i o n + R e c a l l
The ROC curve is an evaluation index built by combining the true positive rate (TPR) and the false positive rate (FPR). Here, the TPR is the same indicator as the recall. The FPR is calculated as 1 s p e c i f i c i t y . Specificity is the probability that the prediction result is negative when the true label is negative. As opposed to the recall, this indicator does not provide information on predictions made when the true label is positive. The AUC with the TPR as the y-axis and the FPR as the x-axis is shown in Equation (29).
A U C = 0 1 T P R F P R 1 x d x
Python 3.7 and libraries were used to build and validate the model [33,34,35,36].

3. Results

In this section, data acquisition and modeling results are reported.

3.1. Results of Data

In this section, the results of the construction of the collision risk matrix required for the survey and survey results are reported.

3.1.1. Calculation Results of Collision Risk Matrices

The situation in which there is a risk of collision was constructed as a matrix using the CRI. In constructing the matrix, the values reported in Section 2.2.1. were used. The matrix was constructed in three cases ( V t < V o , V t = V o , and V t > V o ). Figure 6 is a visualization of the constructed matrix as a heat map. In order to conduct interviews efficiently, we used some of the three scenarios as the final collision risk scenario.

3.1.2. Results of Data Acquisition

The predictors and outcome variables used in the model construction were acquired through data acquisition and pre-processing through surveys.
Interview data: Interviews were collected from 36 officers (12 chief officers, 19 2nd officers, and 5 3rd officers) and 4 captains. In particular, 4767 data points were collected. Table 3 summarizes the characteristics and statistics of the variables used in the model. Figure 7 shows the distribution of predictors. Table 4 shows the correlation matrix between variables.

3.2. Classification Modeling

The classification model was constructed using the support vector machine model. In this section, the results of the model’s construction are described, and then the verification results are reported.

3.2.1. Estimation Results of the Classification Model

Each classification model was based on a support vector machine trained by adjusting the kernel and hyperparameters. Hyperparameters were searched based on a high F1 score. The adjusted hyperparameters were kernels, regulatory terms C, and gamma controlling the bias of the Gaussian distribution for the Gaussian kernels. Table 5 shows the parameters of the optimized classification model. In learning, cross-validation was performed to prevent overfitting (5-fold).

3.2.2. Validation Results of the Model

The confusion matrix for each model is shown in Table 6.
In addition, the AUC scores were calculated, and the ROC curves were obtained (Figure 8). The AUC scores obtained of models except the polynomial (2d) model were over 0.9.
The polynomial (3d) model obtained the highest accuracy and performance (F1 score) among the constructed models. In addition, it is not overfitted because it has a training score of 0.88. In addition, the ROC and AUC metric also secured a high performance of 0.9 or higher. Therefore, the polynomial (3d) model performed best among the compared models.

4. Discussion

This study used a support vector machine to build the encounter situation recognized by the navigator as a classification model. The main contribution of this study was to develop a model that predicts encounters recognized by navigators in situations with a risk of collision. This section describes the data, models, and results used in the study. As described in Section 2, three numerical predictors were applied: relative bearing, aspect, and speed ratio. As reported in previous studies, these variables can be obtained from the relative relationship between the OS and TS. This study shows a difference in that the distance between the OS and TS is designated as 6 miles, which is known to initiate collision avoidance action. The variables used in the model are data obtained from surveys based on scenarios estimated based on the CRI that there is a collision risk in the relative relationship between the OS and TS. The CRI figures are generally accepted as having a risk of collision [21]. Therefore, the question that answered that it was safe to a given question was not used to build the model. The survey was conducted on 40 navigators. However, we judged that model construction is sufficiently possible because there are 4767 data points used for model construction and verification.
For the model in this study to be used for situation prediction, a high-performance model must be built using the results of human situation awareness in situations with a risk of collision. As mentioned in Section 3.2, a model was established to label the results of situation recognition as head-on, give-away, and stand-on and predict the recognition results.
As a result of the results mentioned in Section 3.2.1 and the verification through the ROC and AUC metrics and confusion matrix in Section 3.2.2, the model proposed in this study obtained a high performance. In particular, it is inferred that the classifier’s performance is good, given that the ROC and AUC metrics score was 0.9 or higher [37].
Table 7 shows some examples of the results predicted using the polynomial (3d) model and the previous methods. In Table 7, the proposed model gives the prediction results of the polynomial (3d) model. Method 1 gives the criteria of Tam and Bucknall [16], Method 2 gives the criteria of Hasegawa et al. [17] and Namgung [18], Method 3 gives the criteria of Yoo and Lee [19], and Method 4 gives the criteria of Zhang et al. [20]. At this time, Method 1 classified most cases into a head-on situation. It is because the standard of classification is 22.5 degrees, which has the most extensive range. Meanwhile, there was a section in which the awareness results of the navigator were collected as a sample, and the reported methods were calculated differently. The reason is that humans contain errors and are influenced by situational awareness based on skills and technical knowledge, so these effects are presumed to have been reflected.
On the other hand, the limitations of this study are as follows. First, the data were collected through a survey. Surveys are reported in a non-experimental way in data collection. It also has the advantage of acquiring data relatively simply. However, errors in the collected survey data and problems with the representability of the population have been reported [38]. Second, the model built in this study is a model that predicts only situation recognition results. Therefore, it is not easy to analyze in detail the factors that affect the results of each explanatory variable. Third, situational awareness and decision-making are influenced by human skills, rules, and knowledge [39]. The effect of these three factors has yet to be specifically analyzed in this study. These have been discovered as challenges to be solved in future works.

5. Conclusions

The support vector machine was constructed to model the results of the navigator’s situation awareness in encounters considered at risk of collision. To build this model, a situation considered at risk of collision was defined, and an interview was conducted by constructing the defined situation as a scenario. Predictors were obtained from the interviews, and we trained a model for the navigator’s situation-aware prediction. The construction results showed that the proposed model could accurately predict the context-aware results. This study provides the results of modeling the results of the navigator’s recognition of the situation in the face of a collision. The resulting model is expected to be applied to future system development combined with collision avoidance algorithms. Finally, as reported in the discussion of this study, a future work is to report on the impact of human skills, skills, and knowledge in determining the human decision of encounter situations based on experiments using real-vessel or ship maneuvering simulation data.

Supplementary Materials

The following supporting information can be downloaded at: https://www.mdpi.com/article/10.3390/app13137521/s1, Table S1: Figures used to construct the scenario provided for the survey.

Author Contributions

Conceptualization, J.S. and J.K.; methodology, J.S., R.S. and J.K.; software, J.S.; validation, J.S., H.T. and J.K.; formal analysis, J.S.; investigation, R.S. and J.K.; data curation, J.S.; writing—original draft preparation, J.S.; visualization, J.S. and J.K.; supervision, H.T., R.S. and J.K.; project administration, J.K.; funding acquisition, J.K. All authors have read and agreed to the published version of the manuscript.

Funding

This work was supported by the JSPS KAKENHI [Grant Number 21K04498].

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

Data are contained within the article.

Acknowledgments

This research was funded by the JSPS KAKENHI [Grant Number 21K04498].

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Pietrzykowski, Z.; Wołejsza, P.; Borkowski, P. Decision support in collision situations at sea. J. Navig. 2017, 70, 447–464. [Google Scholar] [CrossRef]
  2. Chen, P.; Huang, Y.; Mou, J.; Van Gelder, P.H.A.J.M. Probabilistic risk analysis for ship-ship collision: State-of-the-art. Saf. Sci. 2019, 117, 108–122. [Google Scholar] [CrossRef]
  3. Ren, Y.; Mou, J.; Yan, Q.; Zhang, F. Study on assessing dynamic risk of ship collision. In Proceedings of the International Conference on Transportation Information and Safety, Wuhan, China, 2 July 2011; pp. 2751–2757. [Google Scholar]
  4. Li, B.; Pang, F.W. An approach of vessel collision risk assessment based on the D–S evidence theory. Ocean Eng. 2013, 74, 16–21. [Google Scholar] [CrossRef]
  5. Xu, Q.; Wang, N. A survey on ship collision risk evaluation. Promet-Traffic Transp. 2014, 26, 475–486. [Google Scholar] [CrossRef]
  6. Xie, S.; Chu, X.; Zheng, M.; Liu, C. Ship predictive collision avoidance method based on an improved beetle antennae search algorithm. Ocean Eng. 2019, 192, 106542. [Google Scholar] [CrossRef]
  7. Shaobo, W.; Yingjun, Z.; Lianbo, L. A collision avoidance decision-making system for autonomous ship based on modified velocity obstacle method. Ocean Eng. 2020, 215, 107910. [Google Scholar] [CrossRef]
  8. Li, M.; Mou, J.; Chen, L.; Huang, Y.; Chen, P. Comparison between the collision avoidance decision-making in theoretical research and navigation practices. Ocean Eng. 2021, 228, 108881. [Google Scholar] [CrossRef]
  9. IMO. International Regulations for Preventing Collision at Sea (COLREGs); IMO: London, UK, 1972. [Google Scholar]
  10. Song, J.; Kayano, J.; Shoji, R. Modeling human’s collision avoidance direction in an encounter situation using an ensemble classifier. Ocean Eng. 2023, 271, 113738. [Google Scholar] [CrossRef]
  11. He, Y.; Jin, Y.; Huang, L.; Xiong, Y.; Chen, P.; Mou, J. Quantitative analysis of COLREG rules and seamanship for autonomous collision avoidance at open sea. Ocean Eng. 2017, 140, 281–291. [Google Scholar] [CrossRef]
  12. Chauvin, C.; Clostermann, J.P.; Hoc, J.M. Situation awareness and the decision-making process in a dynamic situation: Avoiding collisions at sea. J. Cogn. Eng. Decis. Mak. 2008, 2, 1–23. [Google Scholar] [CrossRef]
  13. Statheros, T.; Howells, G.; Maier, K.M. Autonomous ship collision avoidance navigation concepts, technologies and techniques. J. Navig. 2008, 61, 129–142. [Google Scholar] [CrossRef] [Green Version]
  14. Harati-Mokhtari, A.; Wall, A.; Brooks, P.; Wang, J. Automatic identification system (AIS): Data reliability and human error implications. J. Navig. 2007, 60, 373–389. [Google Scholar] [CrossRef]
  15. Ung, S.T. Evaluation of human error contribution to oil tanker collision using fault tree analysis and modified fuzzy Bayesian network based CREAM. Ocean Eng. 2019, 179, 159–172. [Google Scholar] [CrossRef]
  16. Tam, C.; Bucknall, R. Collision risk assessment for ships. J. Mar. Sci. Technol. 2010, 15, 257–270. [Google Scholar] [CrossRef]
  17. Hasegawa, K.; Fukuto, J.; Miyake, R.; Yamazaki, M. An intelligent ship handling simulator with automatic collision avoidance function of target ships. In Proceedings of the INSLC 17—International Navigation Simulator Lecturers’ Conference, Warnemünde, Germany, 3–7 September 2012; Volume 17, pp. 1–23. [Google Scholar]
  18. Namgung, H. Local route planning for collision avoidance of maritime autonomous surface ships in compliance with COLREGs rules. Sustainability 2021, 14, 198. [Google Scholar] [CrossRef]
  19. Yoo, Y.; Lee, J.S. Evaluation of ship collision risk assessments using environmental stress and collision risk models. Ocean Eng. 2019, 191, 106527. [Google Scholar] [CrossRef]
  20. Zhang, W.; Yan, C.; Lyu, H.; Wang, P.; Xue, Z.; Li, Z.; Xiao, B. COLREGS-based path planning for ships at sea using velocity obstacles. IEEE Access 2021, 9, 32613–32626. [Google Scholar] [CrossRef]
  21. Im, N.; Luong, T.N. Potential risk ship domain as a danger criterion for real-time ship collision risk evaluation. Ocean Eng. 2019, 194, 106610. [Google Scholar] [CrossRef]
  22. Bowditch, N. American Practical Navigator-Bowditch; Paradise Cay Publications: Blue Lake, CA, USA, 2010. [Google Scholar]
  23. Ahmed, Y.A.; Hannan, M.A.; Oraby, M.Y.; Maimun, A. COLREGs Compliant Fuzzy-Based Collision Avoidance System for Multiple Ship Encounters. J. Mar. Sci. Eng. 2021, 9, 790. [Google Scholar] [CrossRef]
  24. Imazu, H. Computation of OZT by using collision course. Navigation 2014, 188, 78–81. (In Japanese) [Google Scholar]
  25. Bennett, G.G. Practical rhumb line calculations on the spheroid. J. Navig. 1996, 49, 112–119. [Google Scholar] [CrossRef]
  26. Veness, C. Calculate Distance, Bearing and More between Latitude/Longitude Points, January 2010. Available online: http://www.movable-type.co.uk/scripts/latlong.html (accessed on 24 March 2023).
  27. Cockcroft, A.N. A manoeuvring diagram for avoiding collisions at sea. J. Navig. 1972, 25, 105–107. [Google Scholar] [CrossRef] [Green Version]
  28. Lee, Y.S.; Park, J.M.; Lee, Y.J. A Study on the initial action of navigators to avoid risk of collision at sea. Korean Inst. Navig. Port. Res. 2014, 38, 327–333. (In Korean) [Google Scholar] [CrossRef] [Green Version]
  29. Alasadi, S.A.; Bhaya, W.S. Review of data preprocessing techniques in data mining. J. Eng. Appl. Sci. 2017, 12, 4102–4107. [Google Scholar]
  30. Boser, B.E.; Guyon, I.M.; Vapnik, V.N. A Training Algorithm for Optimal Margin Classifiers. In Proceedings of the Fifth Annual Workshop on Computational Learning Theory, New York, NY, USA, 27–29 July 1992; pp. 144–152. [Google Scholar]
  31. Vapnik, V. The Nature of Statistical Learning Theory; Springer: Berlin/Heidelberg, Germany, 1995; ISBN 0-387-94559-8. [Google Scholar]
  32. Han, J.; Pei, J.; Kamber, M. Classification: Basic Concepts. In Data Mining: Concepts and Techniques, 3rd ed.; Elsevier: Waltham, MA, USA, 2011; pp. 327–392. [Google Scholar]
  33. Van Rossum, G.; Drake, F.L. Python 3 Reference Manual; CreateSpace: Scotts Valley, CA, USA, 2009. [Google Scholar]
  34. McKinney, W. Data structures for statistical computing in python. In Proceedings of the 9th Python in Science Conference, Austin, TX, USA, 11–17 July 2010; pp. 51–56. [Google Scholar]
  35. Pedregosa, F.; Varoquaux, G.; Gramfort, A.; Michel, V.; Thirion, B.; Grisel, O.; Duchesnay, E. Scikit-learn: Machine learning in Python. J. Mach. Learn. Res. 2011, 12, 2825–2830. [Google Scholar]
  36. Harris, C.R.; Millman, K.J.; Van Der Walt, S.J.; Gommers, R.; Virtanen, P.; Cournapeau, D.; Oliphant, T.E. Array programming with NumPy. Nature 2020, 585, 357–362. [Google Scholar] [CrossRef]
  37. Muller, M.P.; Tomlinson, G.; Marrie, T.J.; Tang, P.; McGeer, A.; Low, D.E.; Gold, W.L. Can routine laboratory tests discriminate between severe acute respiratory syndrome and other causes of community-acquired pneumonia. Clin. Infect. Dis. 2005, 40, 1079–1086. [Google Scholar] [CrossRef] [Green Version]
  38. Coughlan, M.; Cronin, P.; Ryan, F. Survey research: Process and limitations. Int. J. Ther. Rehabil. 2009, 16, 9–15. [Google Scholar] [CrossRef]
  39. Rasmussen, J. Skills, rules, and knowledge; signals, signs, and symbols, and other distinctions in human performance models. IEEE Trans. Syst. Man Cybern. 1983, 257–266. [Google Scholar] [CrossRef]
Figure 1. Flow charts for the development of determining encounter situation awareness classification models.
Figure 1. Flow charts for the development of determining encounter situation awareness classification models.
Applsci 13 07521 g001
Figure 2. Illustration of the parameters of OS and TS on the Earth-fixed coordinate system.
Figure 2. Illustration of the parameters of OS and TS on the Earth-fixed coordinate system.
Applsci 13 07521 g002
Figure 3. Illustration of examples of the survey questionnaire. (a) The calculation results of OS’s Bearing 000°, TS’s Aspect 340°DCPA 1.1 miles, TCPA10.8 min, (b) OS’s Bearing 355°, TS’s Aspect 015°DCPA 0.6 miles, TCPA10.8 min, and (c) OS’s Bearing 000°, TS’s Aspect 355°DCPA 0.3 miles, TCPA10.8 min.
Figure 3. Illustration of examples of the survey questionnaire. (a) The calculation results of OS’s Bearing 000°, TS’s Aspect 340°DCPA 1.1 miles, TCPA10.8 min, (b) OS’s Bearing 355°, TS’s Aspect 015°DCPA 0.6 miles, TCPA10.8 min, and (c) OS’s Bearing 000°, TS’s Aspect 355°DCPA 0.3 miles, TCPA10.8 min.
Applsci 13 07521 g003
Figure 4. Illustration of the confusion matrix. (a) Binary classification and (b) Multi-class classification.
Figure 4. Illustration of the confusion matrix. (a) Binary classification and (b) Multi-class classification.
Applsci 13 07521 g004
Figure 5. Illustration of the confusion matrix for micro-averaging.
Figure 5. Illustration of the confusion matrix for micro-averaging.
Applsci 13 07521 g005
Figure 6. Illustration of collision risk matrices in case: (a) V t < V o , (b) V t = V o , (c) V t > V o .
Figure 6. Illustration of collision risk matrices in case: (a) V t < V o , (b) V t = V o , (c) V t > V o .
Applsci 13 07521 g006
Figure 7. Distribution of the predictors. Classes (Y) 0, 1, and 2 denote Head-on, Give-away, and Stand-on, respectively.
Figure 7. Distribution of the predictors. Classes (Y) 0, 1, and 2 denote Head-on, Give-away, and Stand-on, respectively.
Applsci 13 07521 g007
Figure 8. ROC curve and AUC score of the kernels in case: (a) Linear, (b) Polynomial (2d), (c) Polynomial (3d), and (d) Gaussian (RBF).
Figure 8. ROC curve and AUC score of the kernels in case: (a) Linear, (b) Polynomial (2d), (c) Polynomial (3d), and (d) Gaussian (RBF).
Applsci 13 07521 g008
Table 2. Weight values for utility function of CRI.
Table 2. Weight values for utility function of CRI.
Weights w 1 w 2 w 3 w 4 w 5
0.40.3670.1670.0330.033
Table 3. Data description and statistical metrics.
Table 3. Data description and statistical metrics.
VariableTypeUnitCountMeanStdMinMax
Relative   bearing   ( ψ r )ContinuousDegree47670.2214.31−2727
AspectContinuousDegree4767−0.0311.98−2525
Speed   rate   ( K )Continuous-47671.000.170.751.25
YCategorical-4767----
Table 4. Correlation matrix between the predictors.
Table 4. Correlation matrix between the predictors.
Relative   Bearing   ( ψ r ) Aspect Speed   Rate   ( K )
Relative bearing ( ψ r )1
Aspect−0.631
Speed rate ( K )0.04−0.011
Table 5. Estimation of the optimal hyperparameters of the model.
Table 5. Estimation of the optimal hyperparameters of the model.
ModelKernelCGammaAcc.PrecisionRecallF1 Score
MacroMacroMacroMicro
SVMLinear0.001-0.860.860.860.860.86
Polynomial (2d)10-0.620.610.630.610.62
Polynomial (3d)10-0.860.870.870.870.86
Gaussian (RBF)1000.010.860.860.860.860.86
where, C is the regulation terms, gamma is the parameter that regulates the dispersion of the Gaussian kernel, and Acc. is the Accuracy.
Table 6. Confusion matrices for high-performance SVM kernels.
Table 6. Confusion matrices for high-performance SVM kernels.
LinearPolynomial (2d)Polynomial (3d)Gaussian (RBF)
TruePredictedTruePredictedTruePredictedTruePredicted
012012012012
03203521034320130335202103024133
143366014924311714736201333760
270033728117415227403332600347
where 0, 1, and 2 mean Head-on, Give-away, and Stand-on, respectively.
Table 7. Example of prediction results of the proposed model and other methods.
Table 7. Example of prediction results of the proposed model and other methods.
Relative Bearing AspectProposed ModelMethod 1Method 2Method 3Method 4
00Head-onHead-onHead-onHead-onHead-on
05Head-onHead-onHead-onHead-onHead-on
010Head-onHead-onHead-onHead-onHead-on
0−3Head-onHead-onHead-onHead-onHead-on
03Head-onHead-onHead-onHead-onHead-on
07Head-onHead-onHead-onHead-onHead-on
3−13Head-onHead-onGive-awayHead-onHead-on
3−8Head-onHead-onHead-onHead-onHead-on
3−3Head-onHead-onHead-onHead-onHead-on
30Head-onHead-onHead-onHead-onHead-on
5−15Give-awayHead-onGive-awayHead-onGive-away
5−10Head-onHead-onGive-awayHead-onGive-away
5−5Head-onHead-onHead-onHead-onGive-away
50Head-onHead-onHead-onHead-onGive-away
7−17Give-awayHead-onGive-awayHead-onGive-away
7−7Head-onHead-onGive-awayHead-onGive-away
10−20Give-awayHead-onGive-awayHead-onGive-away
10−10Give-awayHead-onGive-awayHead-onGive-away
10−5Give-awayHead-onGive-awayHead-onGive-away
15−15Give-awayHead-onGive-awayGive-awayGive-away
17−12Give-awayHead-onGive-awayGive-awayGive-away
20−25Give-awayHead-onGive-awayGive-awayGive-away
20−20Give-awayHead-onGive-awayGive-awayGive-away
20−15Give-awayHead-onGive-awayGive-awayGive-away
22−17Give-awayHead-onGive-awayGive-awayGive-away
23−13Give-awayHead-onGive-awayGive-awayGive-away
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Song, J.; Shoji, R.; Tamaru, H.; Kayano, J. Modeling Human Encounter Situation Awareness Results Using Support Vector Machine Models. Appl. Sci. 2023, 13, 7521. https://doi.org/10.3390/app13137521

AMA Style

Song J, Shoji R, Tamaru H, Kayano J. Modeling Human Encounter Situation Awareness Results Using Support Vector Machine Models. Applied Sciences. 2023; 13(13):7521. https://doi.org/10.3390/app13137521

Chicago/Turabian Style

Song, Jaeyoung, Ruri Shoji, Hitoi Tamaru, and Jun Kayano. 2023. "Modeling Human Encounter Situation Awareness Results Using Support Vector Machine Models" Applied Sciences 13, no. 13: 7521. https://doi.org/10.3390/app13137521

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop