Abstract

Many research works and official reports approve that irresponsible driving behavior on the road is the main cause of accidents. Consequently, responsible driving behavior can significantly reduce accidents’ number and severity. Therefore, in the research area as well as in the industrial area, mobile technologies are widely exploited in assisting drivers in reducing accident rates and preventing accidents. For instance, several mobile apps are provided to assist drivers in improving their driving behavior. Recently and thanks to mobile cloud computing, smartphones can benefit from the computing power of servers in the cloud for executing machine learning algorithms. Therefore, many mobile applications of driving assistance and control are based on machine learning techniques to adjust their functioning automatically to driver history, context, and profile. Additionally, gamification is a key element in the design of these mobile applications that allow drivers to develop their engagement and motivation to improve their driving behavior. To have an overview concerning existing mobile apps that improve driving behavior, we have chosen to conduct a systematic mapping study about driving behavior mobile apps that exist in the most common mobile apps repositories or that were published as research works in digital libraries. In particular, we should explore their functionalities, the kinds of collected data, the used gamification elements, and the used machine learning techniques and algorithms. We have successfully identified 220 mobile apps that help to improve driving behavior. In this work, we will extract all the data that seem to be useful for the classification and analysis of the functionalities offered by these applications.

1. Introduction

A road accident is defined as an accident on a public road that involves at least one victim and one vehicle [1]. According to the WHO (World Health Organization), 1.35 million people are killed and up to 50 million injuries are recorded each year [2]. The number of road accidents continues to increase, mainly due to the rapid urban growth and the exponential growth of the vehicle fleet [3]. Statistics predict that road accidents will increase by 65% and become the fifth leading cause of death by 2030 [3]. These accidents generally cause very significant material and human damage [4].

Despite the efforts made by national and international organizations for driver awareness and encouragement to responsible driving, the aberrant behavior of drivers remains the main cause of most road accidents [57]. According to Lequeux and Leblud [4], the main causes of accidents are human factors with a rate of 72%, environmental conditions with a rate of 18%, road infrastructure with a rate of 9%, and the condition of the vehicle with a rate of 2%. According to Charbit [8], human factors are the main causes of accidents with 76.70%, environmental factors with 18.80%, and other vehicle-related factors with 4.40%.

For accident reduction and prevention, mobile technologies are widely exploited in the control, monitoring, and assistance of drivers [3], especially smartphones which are equipped with several sensors that provide the possibility to collect data about vehicles and drivers [9]. The collected data can be analyzed via machine learning algorithms to extract patterns and models about driving behavior, driving style, driving skills, and accident prediction. All that will make mobile apps more intelligent by providing automatic adaptation to the context, the profile, and the past actions of drivers. These mobile apps should not provide just insight into drivers but they will encourage drivers to continuously improve their behavior on the road. Therefore, adding gamification in driving mobile apps will allow them to ensure engagement and increase the motivation of drivers to improve their behavior [10].

The objective of this work is to have an overview of mobile applications that use machine learning and gamification for improving the behavior of drivers on the road. Therefore, we conduct a systematic mapping study of gamified mobile apps that attempt to improve driving behavior [11].

Out of a total of 873 mobile apps in mobile repositories and 25229 papers in digital libraries, 220 mobile apps were selected, analyzed, and reviewed after examining compliance with the inclusion and exclusion criteria based on the review of their titles, descriptions, abstract, and screenshots.

The remainder of the article is organized as follows. Section 2 provides the background of this work, by giving the contributions of mobile technologies, machine learning, and gamification in the improvement of driving behavior. Section 3 presents the methodology adopted to conduct a systematic mapping study. Section 4 presents and discusses the main results of this study. Section 5 presents the limitations of this study. And finally, Section 6 presents conclusions and future works.

2. Background

2.1. Mobile Technologies for Driving Behavior Improvement

Mobile technologies have transformed the way we live, work, travel, learn, and shop. Therefore, all fundamental human activities have been affected positively by mobile technologies, allowing several daily tasks to be realized simply and efficiently. Many mobile technologies and techniques are exploited in the control, monitoring, and assistance of drivers [12]. IOMT (Internet of Mobile Things), ADAS (advanced driver-assistance systems), and smartphones are the key elements of these technologies [12, 13].

Recently, the Internet of Things (IoT) and the Internet of Mobile Things (IOMT) are fundamentally changing the world by allowing multiple (mobile) devices to communicate and exchange data with each other and make decisions without human interventions [14]. Therefore, IOMT technology is the key element in the fabrication of intelligent vehicles equipped with safety sensors that allow avoiding many accidents [3].

Advanced driver assistance systems (ADASs) were developed to prevent and avoid dangerous driving situations by warning drivers by visual, audible, or haptic (vibration) signal of danger [15]. The development of the first driver-assistance systems began with the antilock braking system (ABS) in the late 1970s of the twentieth century [16]. The objective of these technologies is to reduce the consequences of an accident, to prevent traffic accidents, and soon to facilitate fully autonomous driving [17]. ADASs help the driver to assimilate information and help to avoid distractions and reduced activity [18]. This allows drivers to continue to focus on the road and keep their hands on the wheel while receiving important instructions and information [19].

Smartphones as the most affordable ubiquitous devices are becoming the most cost-effective and practical method for collecting driving behavior data in real-time [20]. Moreover, many mobile apps improve driving by sending notifications in real-time while driving, generating a periodic trip report at the end of each trip, help in drivers’ training and learning, and so on [21]. However, the difficulty lies in how to analyze and understand the collected data and make intelligent decisions [22]

2.2. Contribution of Machine Learning in the Analysis of Driving Data

Machine learning (ML) techniques are widely used to extract knowledge from a large dataset. Many ML tasks such as classification, regression, clustering, and association can be combined or used individually to analyze data and extract new patterns. Recently, ML techniques can be used to ensure intelligent interactions with mobile users by adapting mobile apps interfaces and actions to mobile users’ contexts, profiles, and interaction history [23].

Many research works about driving behavior have used ML techniques to analyze data obtained from smartphone sensors such as accelerometers, gyroscopes, and rotation vectors [24]. Ferreira et al. [25] studied the exploitation of Android smartphone sensors and machine learning algorithms to detect aggressive driving events and subsequently classify drivers’ behavior. Eren et al. [26] have proposed a mobile app to classify drivers behavior according to risky driving events, using smartphone sensors like accelerometer, gyroscope, and magnetometer, and the application detects sharp turns, sudden lane changes, acceleration, and braking events and uses a Bayesian classifier to determine safe or unsafe driver behavior. Jacobé de Naurois et al. [27] have used machine learning techniques for detecting driver drowsiness. Chhabra et al. [28] have used ML techniques for accident prevention by detecting driver fatigue, drowsiness, inattention, or intoxication in real-time and also helped to classify drivers’ behavior into aggressive or nonaggressive. Ping et al. [29] have studied the relationship between driving behavior and fuel consumption using ML techniques. Also, Shit [30] has used ML techniques with crowdsourced data to provide intelligent services such as real-time traffic monitoring, traffic prediction, travel time prediction, and travel activity tracking. Finally, Kashevnik et al. [31] have used ML algorithms as artificial neural network, decision tree, hidden Markov model, and SVM to recognize the behavior of drivers by analyzing driving data provided by smartphone sensors.

2.3. Gamification for Driver’s Engagement

Gamification is the use of game design elements in a nongame context. It will make repetitive and monotonous tasks more fun and more enjoyable; therefore, it will allow promoting the active interest of users and their engagement to improve their behaviors [10, 3235]. Thus, gamification techniques are considered as an important element in the design of mobile apps that aim to improve user skills, engagements, or behaviors.

The use of gamification techniques in the field of transportation and driving aims to quantify the success on a predetermined overall objective such as improving driving behavior, reducing fuel consumption, adopting eco-driving habits, and awareness of good driving [36]. Magaña and Organero [37] studied the impact of using gamification for improving eco-driving learning; they have concluded that the use of gamification elements such as the score and achievements systems promotes safe driving. Wells et al. [38] affirmed that the use of gamification elements such as score/point and level encourages users to think about their driving behaviors and engages them in sustainable safe driving behavior. To study the effect of gamification on behavior change, motivation, and user experience, Fitz-Walter et al. [39] investigated and compared gamified and nongamified versions of an application that aims to allow drivers to record their practice sessions in a logbook. Finally, Diewald et al. [40] have studied the use of gameful design in the automotive domain by examining examples of gamified applications and exploring the different available game design mechanics.

3. Methodology

To have an overview concerning existing mobile apps about driving behavior, we conducted a systematic mapping study [11] that will lead to the identification and analysis of driving mobile apps that exist in the common mobile repositories or that were published as research works in the common digital libraries. A systematic mapping study allows having an overview of any research subject by offering a count and classification of results already published in scientific or industrial fields [41]. It will help in structuring the research topic in question and will also allow conducting subsequent research work as systematic literature review [42, 43].

In general, an SMS is carried out in five fundamental steps: formulate research questions, extract keywords and define search strings, query data sources, apply exclusion/inclusion criteria, and finally extract data about selected works [42]. As illustrated in Figure 1, two research methodologies were adopted in searching for mobile apps, the first one searches for mobile apps in the common mobile app’s repositories and the second methodology searches for mobile apps that are published as research works in the common digital libraries.

In the first step, some research questions are used to define the purpose of the study, and the answers to these questions will help in structuring the research topic in question and will also allow conducting properly subsequent research work [42, 43]. In the second step, the PICO model (population, interventions, comparison, and outcomes) is used to identify keywords and formulate search strings. Population refers to a specific problem, role, type, or area of application. Interventions refer to the technology or software methodology that addresses a specific problem. The comparison identifies the technologies, techniques, tools, methods, or strategies to extract and compare. Finally, outcomes are related to the factors of the importance of the intervention for practitioners [42, 43]. In the third step, we describe all possible data sources such as mobile apps repositories and digital libraries [44]. In the fourth step, inclusion and exclusion criteria should be used to select only relevant works corresponding to the subject of the study; these criteria will be applied to the title and the abstract or the descriptions of each selected work. The fifth step will be devoted to the data extraction from the selected apps. The extracted data should allow answering the research questions specified in the first step [42, 43].

3.1. Research Questions

The objective of this study is to present an overview of the use of machine learning and gamification in the design and realization of mobile applications related to driving behavior control. To clearly define this objective, six main research questions with the corresponding hypothesis are provided in Table 1.

3.2. Search String and Keywords

To find the keywords and search string of the study, we adopt the PICO (population, intervention, comparison, and outcomes) methodology presented in [45]. Table 2 illustrates the terms assigned to each component of the PICO model. For extracting the keywords, we used the roles proposed in [46] which consist of classifying the keywords in many sets, such as each one corresponds to one component of the PICO model. Table 3 presents the extracted keywords. After defining the keywords sets, we have classified them into four groups, and each group contains terms that are similar, synonyms, or that belong to the same radical. Table 4 presents the obtained groups.

The definitive search string for digital libraries is obtained by concatenating words from the four groups as follows: (mobile OR smartphone OR “mobile application” OR “mobile app”) AND (driver OR driving OR car OR vehicle) AND (behavior OR comportment OR style) AND (gamified OR gamification OR engagement OR motivation).

For searching in mobile apps repositories, we used the same keywords used in the construction of the search string.

3.3. Querying Data Sources

In this work, we considered mainly gamified mobile apps for driving behavior control and improvement that were published as research works in the common digital libraries that are the most used to publish in the Software Engineering area [47], namely, IEEE Xplore, ACM Digital Library, ScienceDirect, and Springer Link. However, the search string needs some slight modifications to adapt it to the research rules of each digital library.

Also, we considered mobile apps deployed in the repositories Google Play Store and App Store. The two selected mobile apps repositories were selected based on their popularity and market share. In 2020, Android dominates the market with a share of 85.4%, followed by iOS with a share of 14.6% [48]. The web scraping technique is adopted to extract information about mobile apps that match to keywords extracted in the previous step. The extracted data can be exported into JSON and XML format. Specifically, we have used Facundoolano’s Google-Play-Scraper [49] and App-Store-Scraper [50] that are both Node.js open-source modules for scraping mobile apps data. In addition, we used the mobile apps repositories to search directly for mobile apps that match the following query: (drive AND safe) OR (drive AND assist) OR (drive AND improve) OR (drive AND behavior) OR (drive AND accident) OR (drive AND behavior AND improve) OR (drive AND behavior AND assist).

3.3.1. Inclusion/Exclusion Criteria

The study included works that met all of the following criteria: works presenting gamified mobile apps that help in the improvement of driving behavior, mobile apps available in the most common digital libraries and mobile apps repositories, and that were published between January 2007 and March 2021. The inclusion and exclusion criteria were applied to the titles and the abstracts or descriptions of identified mobile apps. Only mobile apps that meet the inclusions and exclusions criteria are retained. The inclusion and exclusion for digital libraries are presented in Table 5 and those of mobile apps repositories are presented in Table 6.

3.3.2. Data Extraction

To extract the data from the selected apps, we used the template shown in Table 7. Each data extraction field has a data name, a value, and (if applicable) the associated research question.

4. Results and Discussion

In this part, we describe and discuss the extracted data in the form of graphs, diagrams, and tables. First, we present an overview of the selection process, and then the responses to each research question are presented and discussed.

4.1. Overview of Selected Mobile Apps

By searching in selected digital libraries and mobile apps repositories between January 2007 and March 2021, we identified a total of 25229 candidate papers. However, 25150 papers were excluded after applying the exclusion criteria, thus leading to the identification of 79 articles regarding the use of gamification and ML in mobile apps that help in the improvement of driving behavior. Also, we have identified 873 mobile apps in mobile repositories (545 Google Play and 328 Apple Store), but only 92 gamified mobile apps related to driver behavior improvement were selected after the application of inclusion and exclusion criteria.

In digital libraries, 8322 papers were discarded by applying the year filter from January 2007 to March 2021, 16518 papers were rejected according to title and abstract reviewing, 290 papers were rejected after doing a full-text review, and 20 papers were discarded because they are not accessible in full-text. Table 8 presents the number of selected papers after each step of the selection process.

In mobile apps repositories, 83 applications were rejected because they were duplicated. 455 applications were rejected because they are games, driving simulators, or parking simulators. 243 apps were rejected because they were not gamified. Therefore, 49 relevant applications are added manually even if they do not appear in the primary selected applications. Table 9 shows the number of retained mobile apps from mobile apps repositories with the supported operating system.

Among the 105 identified apps in the Play Store, we have found 81 apps that exist also in iOS, and among the 36 identified apps in the App Store, we have found 29 apps that exist also in Android. So, as a final result, we have 110 apps that exist in Android and iOS simultaneously, 24 apps that exist in Android only, and 7 apps that exist in iOS only.

4.2. RQ1: Which Gamified Mobile Apps Related to Driving Behavior Improvement Are Currently Available in the Common Mobile Apps Repositories and Digital Libraries?

The goal of RQ1 was to identify mobile apps that improve driving behavior and that are available in the common mobile repositories and digital libraries. A total of 220 apps were identified, and our finding is presented in Table 10 which presents the distribution of selected apps between the years 2007 and 2021.

As illustrated in Table 10, the average annual growth rate of works is 66% for each year. And the first gamified mobile app helps in improving driver behavior date back to 2009. The number of mobile apps increased in the following years, with five apps in 2011, 13 apps in 2013, and 25 apps in 2015. However, the numbers dropped to 20 mobile apps in 2016, rising again sharply to peak in 2019 with 49 apps. The numbers dropped again to 13 mobile apps in 2020. Finally, only four apps were developed in the first quarter of 2021. Even considering that the number of works by the first quarter of 2021 is low, the interest in the area appears to have been growing over recent years. Consequently, researchers are becoming more and more interested in this research area.

As we can constate from Tables 810, Android presents most of the selected mobile apps related to driver behavior improvement (206 apps) since Android is still dominating the market of mobile applications [48]. Figure 2 shows that most of the selected applications are available on both Android and iOS platforms with 113 applications (51%), while 93 apps (42%) are available only on Android, 13 applications (6%) are available only on iOS, and only one application (1%) is available in the Windows phone operating system. Table 11 presents the evaluation of the hypothesis that we have assumed for research question RQ1.

4.3. RQ2: What Are the Functionalities Offered by These Applications?

RQ2 aims to identify the different functionalities offered by the selected applications. As presented in Table 12, the main identified functionalities are geolocation 198 apps (90%), trip report/driving summary 191 apps (86.81%), registration and authentication 157 apps (71.36%), profile creation 148 apps (67.27%), automatic start (driving mode detection) 68 apps (30.90%), multiple languages support 67 apps (30.45%), integration with social networking portals 65 apps (29.54%), and trip video recording/event detection 28 apps (12.72%).

The first most reported functionality is geolocation that is provided by 90% of selected applications. They use the GPS sensor to provide the user with a range of important services, namely, determining the driving speed and driver guidance, showing the route to a destination, and detecting sudden acceleration, speeding, hard braking, and tight bends [270].

The second most reported functionality is the trip report or trip summary with a percentage of 86.81%, and that is considered as the most important function since it is related to the driving behavior; it collects data about trip start time, end time and duration, GPS latitude and longitude coordinates, and calibrated acceleration and gyroscope measurements [58]. Based on the collected data during each trip, the app will provide score details, which will show the user how he was good at driving. This will allow drivers to understand where threshold violations occurred and possibly identify locations of frequent inappropriate driving and the possibility to post completed trips on their social network profile [58].

The third functionality is registration and authentication that is present in 71.36% of selected apps. Users can register either by creating an account using Google service or Facebook or creating a new account using an e-mail address. The American Psychiatric Association’s app assessment model regarding the use of mobile applications in medical services, privacy, and safety is one of the foundational levels of their framework for mobile app evaluation [271]. Also, privacy and security issues can obstruct users’ willingness to share private data, such as real-time locations and contact lists [272]. A survey carried out by Schueller et al. [273] showed that more than 70% of users of mobile applications in the field of mental health considered that security, privacy, and data encryption are the important keys to be taken into account by mobile apps designers and developers. They affirm that security and privacy are necessary to make users/patients feel safe to disclose information.

67.27% of selected applications invite users to create their profile at registration by asking them for particular information such as age, gender, personal address, and phone number. These pieces of information are useful for classification tasks [274].

Driving mode detection functionality is present in 30.90% of selected apps. It enables the application to start automatically when detecting driving mode such as driving a car, riding a bicycle, riding a bus, walking, and running by using machine learning classifiers [24]. Therefore, the driver does not need to manipulate the smartphone while driving.

30.45% of selected applications support more than one language; these applications are available in English and other languages like French, Spanish, German, or Russian while 69.55% of selected applications are available only in English. Moreover, English remains the most recurrent language supported by the majority of applications because it is considered the most spoken foreign language in the world [275].

Only 29.54% of selected apps allow the driver to interact with a social network (WhatsApp, Facebook, Twitter, and so on) by posting the completed trips, trip location, time, driven distance, driving score, points, badges, and trophies and sharing it with his/her friends [58].

12.72% of selected apps allow the driver to record a video about his trip. Therefore, continuous recording can overcrowd the smartphone memory. For example, DriveSafe app [276] records videos only before and after some event.

To discover patterns about functionalities combinations in the selected mobile apps, we realized the dendrograms presented in Figure 3. The y-axis of the diagram represents the similarity order between functionalities according to the Jaccard index (a value in the range [0, 1] with 1: functionalities always used together; 0: functionalities never used together). One of the most interesting patterns that we discovered was between “profile creation” and “registration and authentication” which were identified together at a level of 0.94 in the first step of the dendrogram (with 148 apps). The second most interesting pattern is discovered between “Geolocation” and “trip report/trip summary” at a level of 0.90 in the second step of the dendrogram (with 184 apps). The third most interesting pattern is a combination between profile creation, registration and authentication, geolocation, and trip report/trip summary; this combination is discovered at a level of 0.71 in the third step of the dendrogram (with 136 apps).

According to these findings, we can conclude that the main functionalities offered by the majority of selected apps are geolocation, trip report/driving summary, registration/authentication, and profile creation, and these functionalities are the most important in driving behavior improvement apps.

Table 13 presents the evaluation of the hypothesis that we have assumed for the second research question RQ2.

4.4. RQ3: What Data Were Collected and How They Were Collected?

The objective of RQ3 is to identify the type of collected data and how these data are collected. As shown in Figure 4, most of the selected mobile apps (55%) collect driving data which are dynamic data that are collected automatically by the apps using specific sensors like driving speed, traveled distance, the number of hard stops, speeding, slowing down, and sudden acceleration [58, 277]. Also, 40% of the selected apps collect driver profile data, namely, driver age, gender, and location. Profile data are manually entered by the driver when creating a new account. Both driving and profile data allow to detect driving style and subsequently classify the driver by offering him a score [277] and allow to access detailed driving reports such as hard acceleration events, hard braking, aggressive steering (turns), weaving (lane changes), overspeeding, short car following, driver scoring, and driver behaviors classification [276]. For example, the Amber Driver app [203] offers trip history allowing the driver to access detailed driver reports highlighting indicators such as distance covered, driving behavior, and idle time.

Unfortunately, a few apps (5%) collect data about driver’s health, such as temperature, heartbeat, detection of fatigue, mood, sobriety, and stress level. For driver’s drowsy detection, we have identified six apps, for instance, “Safe Drive” app [259] and “Drowsy Alert: Wake up” app [261] detect driver’s drowsiness and distraction during driving using the front camera facing the driver’s face and provide audible, textual alerts, and generates relevant context-based recommendations for a driver to avoid possible road accidents. And there are three apps for driver’s biological state monitoring; for example, GamECAR platform [249] collects and preprocesses all data related to vehicle and driver status (fuel consumption, gear change, acceleration, braking, and driver’s heart rate variability/respiration rate) and extracts informative indicators, such as the eco-score and the aggressiveness score. Three other apps allow driver’s stress detection; for example, Sysoev et al. [120] used data such as heart rate variability from chest belt sensor and behavioral and contextual data from smartphones to determine driver’s stress level. One app allows the driver’s mood recognition [153] by providing a mood-based music recommender system that is capable of regulating the driver’s mood and trying to have a positive influence on the driving behavior. ‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬

Table 14 presents the evaluation of the hypothesis that we have assumed for research question RQ3.

4.5. RQ4: In Which Phase of Driving the Selected Mobile Apps Took Part?

RQ4 aimed to identify the phases when the mobile application took part and when they collect data about drivers either before driving, during driving, or after driving. As shown in Figure 5, most of the selected apps (214) collect data during driving, but only 5 apps collect data after driving and 4 apps collect data before starting driving.

The analysis of selected apps shows that before driving they collect data that concern just the driver’s profile (age, gender, and location). However, before starting to drive, the driver is affected by psychological and physical conditions that affect the quality of driving [278]. Therefore, collecting data that can give information about driver context and conditions before getting behind the wheel is very important and it can reduce considerably driving incidents. For instance, data can concern the quality of sleeping, the effort made before starting to drive, experienced stress, driver irritation, and worry due to a commitment to a meeting or driving under obligation to arrive at a destination at a specific time [278]. Levi-Bliech et al. [21] studied the effects of a fleet management application on driver behavior precisely before driving; the results show that the more drivers use the application before driving, the less likely they are to be involved in driving incidents and subsequently proving good driving. To allow appropriate driving assistance, Bergasa et al. [276] provided a driver condition estimation system that collects information about the driver and provides condition estimation before driving.

As shown in Figure 5, most of the selected applications (210 apps) collect data about drivers while driving. Therefore, several relevant data can be collected like driving speed, traveled distance, number of hard stops, driving style, speeding, slowing down, hard braking, sudden acceleration, and use of the seat belt. The analysis of this kind of data will allow avoiding accidents by alerting the driver in real-time in case of an aggressive driving style [58, 277], and it allows the driver to get a detailed report about the trip and assigning a score or a reward using techniques and elements of gamification. In the long term, it will allow the drivers to improve their driving behavior [21, 58].

Collecting data about drivers after driving is also important, it will allow having an evaluation of the effort provided and the stress felt after driving, and also it allows to have an estimate of the fatigue accumulated due to the physical and mental effort provided during the driving [279, 280]. Ding et al. [279] showed that after finishing driving for more than two hours per day, the drivers were more likely to have various poor physical and mental health outcomes; they showed that longer driving time was associated with higher odds for smoking, insufficient physical activity, short sleep, obesity, and worse physical and mental health. Celis-Morales et al. [280] studied the association between active commuting and incident cardiovascular disease, cancer, and mortality, and they found that those who commuted by car and/or public transport had a higher incidence and mortality from heart disease and cardiovascular disease as compared with those who commuted actively (walking or cycling).

Table 15 presents the evaluation of the hypothesis that we have assumed for research question RQ4.

4.6. RQ5: What Machine Learning Models, Tasks, and Algorithms Are Used to Analyze the Collected Data?

RQ5 aims to determine the ML models, tasks, and algorithms used for the analysis of the collected data. For the selected mobile apps from digital libraries, all information’s about ML models, tasks, and techniques are available in the related papers. However, for the selected mobile apps from mobile repositories, firstly, we examine the descriptions of each selected mobile app; secondly, we consult the developer’s websites for recovering information about the use of machine learning algorithms in their apps, and eventually, we contacted the mobile apps developers and we ask them about the use of machine learning in their applications.

Among the 220 selected applications, 99 apps (45%) use machine learning algorithms. Usually, machine learning algorithms are used for the scoring of driving style, for the adaptation of the application to the context and the profile of the driver, to determine his behavior on the road or to stop the vehicle remotely in case of inappropriate behavior.

As shown in Table 16, among the 99 selected applications that use machine learning algorithms, 89.13% (41 apps) used the supervised learning model, 8.70% used the unsupervised learning model (4 apps), and only 2.17% (1 app) combined the supervised and unsupervised learning model. Also, among the selected applications that use machine learning algorithms, 84.79% (39 apps) applied classification tasks, 6.52% (3 apps) applied clustering tasks, also 4.35% (2 apps) applied regression tasks, 2.17% (1 app) combined classification and clustering tasks, and 2.17% (1 app) applied dimension reduction tasks. Also, we have identified 7 techniques that are the most used in the selected mobile apps: neural networks (NNs) with 38.30%, support vector machines (SVMs) with 23.40%, decision tree (DT) with 19.15%, k-means with 6.38%, Bayesian learners (BL) with 4.26%, and finally binary logistic regression (BLR), support vector regression (SVR), expectation maximization (EM), and independent component analysis (ICA) technique with 2.13% for each of them.

Table 17 shows the usage of the ML technique in the identified apps, for example, support vector machine (SVM) is used for driver’s sobriety evaluation to avoid driving under the influence of alcohol [197], and also SVM is used for driver’s stress detection [244, 247] and driver’s drowsy detection [62, 257]. The neural network (NN) technique is used for driver’s drowsy detection [204] and driver’s drowsy and fatigue detection [101]. K-means technique is used to separate aggressive from nonaggressive trips, to distinguish “normal” trips from unsafe trips [242]. Decision tree (DT) technique is used for driver’s stress detection [120], and independent component analysis (ICA) technique is used for driver’s biological state monitoring [85].

Table 18 presents the evaluation of the hypothesis that we have assumed for research question RQ5.

4.7. RQ6: What Are the Gamification Elements Used by Selected Applications?

The goal of RQ6 was to understand how gamification was implemented in driving enhancement applications. Thus, we collected data on the different gamification elements used in the selected mobile apps. To have a standard terminology of gamification elements used in selected mobile apps, we have used results obtained by previous research work in the categorization of gamification elements. Mainly, we have used the taxonomy proposed by Cheng et al. [281] and Tondello et al. [282].

Table 19 shows the distribution of the selected applications according to the gamification elements identified in each application. Therefore, a total of 6 gamification elements were identified in the 220 selected mobile apps.

As shown in Table 19, the selected mobile apps have mainly used the following element: “Levels or progress feedback” was used in 167 apps (75.91%), followed by “Points or scoring” that was used in 150 apps (68.18%), then “Socialization” that was identified in 86 apps (39.09%), also 43 apps used “Rewards or prizes” with a percentage of 19.55%, 36 apps used “Badges or achievements” with 16.36%, and finally “Customization” was used in 30 apps (13.64%).

According to Tondello et al. [282], “Levels or progress feedback” elements can be presented in the form of a level and progression bar. The level element is generally used to show the level of experience. This is a good solution for creating a constant feeling of progression. For each level, a set of tasks are defined to be accomplished and users go from one level to another as they accomplish tasks and reach a certain number of points [10, 283285]. For example, SAFE.T Prevention app [232] offers multiple levels with increasing complexity. The intention here is that drivers strive to achieve the highest possible level. Also, a lot of applications use the “progress feedback” to keep the drivers informed of their progress or failures in real-time via leaderboards, messages, or other visual/audio or informative displays [10]. Axo Driver app [162] visualizes briefly the axes of progression per journey. Raptis et al. [193] proposed a mobile application that provides drivers with feedback during and after their drive; ML algorithms are used to make drivers aware of potentially dangerous practices on how they hold the steering wheel. DriveSafe [286] is an example of mobile apps that improves driving by obtaining feedback on driver behavior. DrivActiv iSight app [262] is another example of mobile apps that sends to the drivers real-time feedback that reinforces positive driving attributes and addresses poor behaviors.

Almost all applications use the “Points or scoring” elements to assess the driving style and behavior on the road, and also a driving score is used to give feedback to the driver so that the driver can analyze his driving habits [287]. For example, DriveSafe app [73] scores each trip according to seven maneuvers: accelerations, brakings, turnings, lane-weaving, lane-drifting, overspeeding, and car-following. It also rates each trip within three behavior models: normal, drowsy, and aggressive. However, the DriveSafe app [176] scores each trip using an advanced scoring model of drive safe which takes into consideration driving over the speed limit, using the mobile phone whilst driving, braking (sudden and aggressive braking), acceleration (sharp and aggressive acceleration), and driving during the most dangerous hours (00:00–05:00).

According to Tondello et al. [282], “Socialization” elements can be presented in the form of a challenge, leaderboard, or social interaction. The challenge component that is considered as a kind of competition between two users or between teams allows users to compete against each other [284]. For instance, the Drive Master app [110] rewards the driver with CapitaVouchers and more when the driver refers friends or wins periodic challenges, and the driver can invite his friends for a challenge and see who is leading the leaderboard. SAFE.T Prevention app [232] uses a challenge component for motivating drivers to improve their skills. The leaderboard allows viewing user progress and relative success against adversaries [10, 285]. This element uses the basic idea, that people want to be the best, to be at the top of the rankings. For instance, Leaderboard was used in GreenRoad Drive app [59] where each driver is assigned a safety score reflecting the frequency of their safety events. Drivers are motivated to improve their safety scores and team rankings. Social interaction and relationships [283] include the range of interactions that lead to emotional dimensions like camaraderie and social networking relationships that allow players to interact with others. For instance, an application such as AI Smart Driving app [221] allows sharing driving scores and driving certificates in social media with friends and family members to let them know the driving skills of other drivers.

“Rewards or prizes” elements are considered as a way of recognition of users’ efforts in the accomplishment of some tasks [46, 288]; rewards can be presented in the form of a service discount, gifts, or monetary. Discount as a kind of extrinsic reward motivates users to improve their engagement by benefiting from a discount on certain services. It is demonstrated that if these rewards are removed, users will disengage [289]. This is the case for applications developed in collaboration with insurance companies [58]. For instance, the Drive Safe app [176] suggests to their customers to participate in a driver behavior program, and the participants may get a better insurance rate (Insurance discount) according to their driving behavior. Other apps allow the drivers with a good driving score to earn a daily reward voucher redeemable on Amazon or the App Store and iTunes. Gifts allow users to enjoy the benefits of freebies, help, and altruism. And the sharing of resources between users [283], for example, AVIS SafeDrive app [139], allows users how to get a higher driving score to earn a daily reward voucher redeemable at Amazon or iTunes for good driving. The Betterways app [127] sets automatic rewards for the best behaving drivers in the fleet, and the company sends out the gift cards for the driver. With the GreenRoad Drive app [59], the managers can award their best drivers with redeemable gifts, delivered directly within the mobile app (e.g., coffee shop gift cards). The money reward element is considered as an extrinsic motivation in which the user performs activities to get a tangible reward [46]. For instance, the OnMyWay app [217] pays its users who do not use messaging while driving, and the money earned can then be used for cash cards, gift cards, and travel deals.

Badges are given to users to give them something that can prove their driving skills. They have the same principle of medals, and they can be earned permanently or just for a short period. The available badges are usually known in advance to motivate the user to achieve personal goals without direct competition [290]. For instance, the CoPiloTT app [163] allows earning virtual badges and points that could be redeemed to real goodies. Achievements reward users for achieving a clear and desirable goal, and they also can be defined as the accomplishment of activities over a certain period or the accumulation of a certain number of reward elements [10, 283, 290]. For example, the DrivActiv iSight app [262] monitors a driver’s performance behind the wheel, identifies areas of improvement, offers suggestions, and rewards good drivers with safe driving certificates. Also, the Safest Driver™ app [234] allows the driver to collect stars for safe driving.

According to Tondello et al. [282], the “Customization” element can be presented as the avatar/picture component. It is the way by which users choose to express themselves to other members of the community [285]. This is a graphical representation of the user in the game. For example, the SAFE 2 SAVE app [115] allows the user to personalize his profile and stand out in the drivers community.

To discover patterns about gamification element combinations in the selected mobile apps, we realized the dendrograms presented in Figure 6. The y-axis of the diagram represents the similarity order between gamification elements according to the Jaccard index (a value in the range [0, 1] with 1: gamification elements always used together; 0: gamification elements never used together).

As shown in Figure 6, the first most interesting patterns that we found were between “Points or scoring” and “Levels or progress feedback” that are the most used together in selected mobile apps at a level of 0.47. This would appear to make sense as the “Levels or progress feedback” elements offer a visualization allowing the user to check and follow his/her progress (earned Points or scoring) in an activity using a dashboard [283]. The second pattern is discovered between the merged pair “Points or scoring” with “Levels or progress feedback” and Socialization elements at a level of 0.35 in the second step of the dendrogram. This would appear to make sense as the driver uses the Socialization element (leaderboard, challenges/competition, and social interaction) to share with his/her friends the completed trip report, driving points, scoring, progression, and attained level [58].

According to these findings, we can conclude that the 3 main gamification elements offered by the majority of driver behavior improvement apps are “Points or scoring,” “Levels or progress feedback,” and Socialization elements. These elements allow promoting the active interest of drivers and their engagement to improve their behaviors. Developers may consider these findings to build a more compelling app for driver behavior improvement.

Table 20 presents the evaluation of the hypothesis that we have assumed for research question RQ6.

5. Limitations of the Study

Concerning the research methods, some limitations need to be acknowledged. Firstly, PICO criteria were used in the development of the research string to identify applications that help improve driver behavior, but the term “gamification” is excluded from the research string to not have games like apps in the search result. Secondly, even though the selected apps were chosen by reviewing and studying their titles, description, screenshots, and videos, other relevant apps might have been missed. Finally, despite the variety of methods used to extract information on whether or not to use machine learning algorithms to develop these selected applications, some applications do not reveal the method used in their development.

6. Conclusion and Future Work

Despite the efforts of several countries, organizations, and companies to take measures and actions for road safety, road accidents remain the main cause of death over the world. This implies the importance of educating drivers about safe driving. One of the ingenious ways to educate and empower drivers is to harness mobile technologies in driver assistance and in reducing crash rates and preventing accidents; this is made mainly by the use of mobile apps that help in improving driver behavior. Machine learning can make these applications smarter and more adaptable to contexts and driver profiles. And with the help of gamification elements, drivers will be more responsible and will respect more strictly the rules of the road.

In this article, we investigated the state of the synergy of mobile technologies, machine learning, and gamification in the design and development of mobile apps for improving driver behavior on the road. The work is presented in the form of a systematic mapping study, in which we have studied the provided functionalities and services of 220 selected gamified mobile applications that help in improving driving behavior.

The results of this study indicate that the most interesting functionalities in the selected mobile apps are geolocation, trip report/driving summary, registration/authentication, and profile creation. Also, to promote the active interest of drivers and their engagement in the improvement of their behavior, the selected mobile apps use gamification elements as “Levels or progress feedback” elements, “Points or scoring” elements, “Socialization elements,” “Rewards or prizes” element, “Badges or achievements” elements, and “Customization” elements. In general, these gamification elements have been implemented in several contexts and have been combined in various ways by the developers to provide promote the motivation and the engagement of drivers. Mainly, we have discovered the relevance of combining “Points or scoring,” “Levels or progress feedback,” and “Socialization” elements.

Most of the selected applications collect driving data (e.g., driving speed, traveled distance, the number of hard stops, speeding, slowing down, and sudden acceleration) or driver profile data (e.g., driver age, gender, and location). Unfortunately, only a few apps collect data about driver’s health, such as the collection of temperature and driver heartbeat, detection of fatigue, mood, sobriety, and stress level. Also, results showed that before driving, the selected apps collect data that concern just the driver’s profile (age, gender, and location). However, before starting to drive, the driver is affected by psychological and physical condition factors that can affect the quality of driving (quality of sleeping, the effort made before starting to drive, experienced stress, driver irritation, worry due to a commitment to a meeting or driving under obligation to arrive at a destination at a specific time, and so on). On the other hand, most of the selected applications collect data about drivers while driving, like driving speed, traveled distance, number of hard stops, driving style, speeding, slowing down, hard braking, sudden acceleration, and use of the seat belt. Finally, despite the importance of driving experience feedback in the evaluations of drivers’ physical and/or mental state after driving, only one app collects driver’s health data (anxiety) before and after driving by manually filling out a short STAI questionnaire to assess personal anxiety and anxiety as a state at a certain moment.

The analysis of 220 apps revealed that 99 apps have used machine learning algorithms. Generally, machine learning algorithms are used for the scoring of driving style, for the adaptation of the application to the context and profile of the driver, to determine the driver behavior on the road, and to stop the vehicle remotely in case of inappropriate behavior. We found that the majority of selected apps used a supervised learning model, and a few of them used an unsupervised learning model, and only one app combined a supervised and unsupervised model. Finally, among the selected applications that use machine learning, we found that most of them apply classification tasks; on the other hand, a few apps apply clustering or regression tasks. Moreover, we have found that the most used machine learning techniques were neural networks (NNs) followed by the support vector machine (SVM) technique and then the decision tree (DT) technique, clustering (CL) technique, Bayesian learners (BL), and regression (RE) techniques.

Our future studies will be consecrated to the realization of a systematic literature review (SLR) that will make an in-depth analysis of all studies published recently on the topic of the use of machine learning algorithms and gamification elements in the design and development of mobile apps for driving behavior improvement.

Data Availability

The data used to support this study are available on request by sending an e-mail to [email protected].

Conflicts of Interest

The authors declare that they have no conflicts of interest.