Safe Drive Africa: PhD Research and Continuing Impact
Culturally attuned AI-enabled mobile feedback for safer driving in Nigeria and beyond
Trips Collected
802
Total number of real-world driving trips recorded across all data collection phases
Drivers Evaluated
54
Within-subjects evaluation with 27 commercial, 14 private, and 13 company drivers
UBPK Reduction
19.4%
Unsafe Behaviours Per Kilometre decreased from 1.44 to 1.16 events/km (p < 0.001)
Drivers Improved
79.6%
43 out of 54 drivers showed measurable behavioural improvement
Alcohol Detection AUC
0.855
ML model trained on 152 labelled trips to distinguish alcohol-influenced from sober driving using smartphone sensors alone
Design
Offline-First
Culturally attuned mobile intervention designed for low-resource Nigerian contexts
Programme Overview
Safe Drive Africa is a completed PhD research programme and continuing impact initiative focused on reducing unsafe driving in Nigeria through culturally grounded, AI-enabled mobile feedback. The work combines smartphone telematics, machine learning, natural language generation, and behaviour-change theory to create practical, low-cost interventions for road safety in low-resource environments.
The programme originated as doctoral research at the University of Aberdeen addressing a major gap in road safety technology: most telematics-based behaviour-change systems were designed for Western, high-income settings and did not transfer well to countries like Nigeria. The programme responded by designing an intervention grounded in Nigerian realities — including weak insurance-based telematics infrastructure, inconsistent internet connectivity, limited speed-limit data, local driving culture, and the importance of legal authority in persuasive communication.
The result was an AI-enabled, culturally attuned mobile system that detects unsafe driving behaviours, generates persuasive feedback grounded in Nigerian traffic law, and supports safer driving through legally grounded, supportive communication rather than financial incentives. A within-subjects evaluation with 54 drivers demonstrated statistically significant behavioural improvement: Unsafe Behaviours Per Kilometre (UBPK) decreased 19.4% (1.44 to 1.16 events/km, p < 0.001), with 79.6% of drivers improving.
What began as a doctoral project now forms the foundation for continuing work on institutional adoption, fleet deployment, and scalable road safety solutions for West Africa.
Why Nigeria Needed a Different Kind of Driving-Safety Intervention
Telematics feedback systems are often developed in high-income settings with different road infrastructure, regulatory environments, data availability and user expectations. Safe Drive Africa investigated what changes when such an intervention is designed for a Nigerian deployment rather than assuming that an existing model can simply be transferred.
Local requirements and safety priorities. The Nigerian stakeholder study identified gaps in formal training and traffic-rule knowledge alongside locally salient risks, including alcohol-related driving concerns. This created a requirement for feedback that could educate as well as coach.
Infrastructure and connectivity. Deployment experience showed the importance of local persistence because mobile connectivity could be intermittent and data costs could make always-online operation impractical.
Evidence availability. Smartphone sensors could support the measurement of harsh braking, rapid acceleration and swerving, but reliable machine-readable posted speed-limit information was not consistently available. The final Nigerian evaluation therefore excluded speeding from its UBPK outcome rather than treating GPS speed alone as proof of a legal speeding violation.
The resulting design combined authoritative legal grounding with supportive behavioural coaching while limiting claims to behaviours that could be measured credibly.
Research Questions and Objectives
The final field evaluation addressed three questions:
RQ1. Does feedback from the AI-enabled mobile application reduce Unsafe Behaviours Per Kilometre when intervention driving is compared with the pre-intervention period?
RQ2. How consistently do drivers maintain improvement during the intervention?
RQ3. Do drivers who use the application more frequently during the intervention show larger reductions in unsafe behaviour?
The broader doctoral programme also investigated stakeholder perceptions of unsafe driving in Nigeria, the development of smartphone-based alcohol-influenced driving classification, and the design of culturally attuned AI/NLG feedback.
Research objectives: 1. Identify stakeholder concerns about unsafe driving and technology-supported road-safety interventions in Nigeria.
2. Collect real-world smartphone-sensor driving data.
3. Develop and evaluate machine-learning approaches for alcohol-influenced driving classification.
4. Design an offline-first mobile system for unsafe-driving analysis.
5. Develop legally grounded and persuasive Natural Language Generation for driver feedback.
6. Evaluate the intervention in a real-world Nigerian field study.
Research Methodology
Stakeholder Requirements Study
A mixed-methods survey recruited 80 participants using stratified sampling: 51 drivers and 29 FRSC officials. Two role-specific questionnaires combined quantitative and open-ended questions.
Open-ended responses were analysed inductively using NVivo, while quantitative items were analysed using descriptive statistics and Fisher’s exact tests. Ethical approval was obtained from the University of Aberdeen Physical Sciences and Engineering Ethics Board, and participation was voluntary with informed consent.
Smartphone Data Collection
The research used Android smartphones to collect accelerometer, gyroscope and GPS data during real-world driving.
Development progressed through an initial telematics data-collection application and the later integrated Safe Drive Africa application. The final system used local data persistence and an unsafe-behaviour analyser with adaptive/context-sensitive detection rules.
The principal final evaluation metric, Unsafe Behaviours Per Kilometre, included harsh braking, rapid acceleration and swerving.
Speeding was excluded from the final UBPK outcome because reliable posted speed-limit reference data could not be consistently obtained.
Alcohol-Influenced Driving Classification
The research developed alcohol-classification models in two iterations.
The first modelling stage used Phase-1 driving data and produced an interpretable Decision Tree Pilot Model. That model was subsequently deployed on-device in the Safe Drive Africa application and evaluated against available driver self-reports during the later deployment.
A second modelling stage combined labelled data from the two collection phases and evaluated several models using a more rigorous nested cross-validation pipeline. The best-performing final offline benchmark was a Bagging Decision Tree model, which achieved:
AUC: 0.855, 95% CI 0.794–0.909;
mean F1: 0.589; and
mean recall: 0.615.
This Final Benchmark Model was not redeployed during the field intervention.
The classifier should be interpreted as detecting trip-level smartphone-sensor patterns associated with self-reported alcohol consumption. It is not a breathalyser, blood-alcohol measurement or legal determination of impairment.
AI/NLG Feedback
Safe Drive Africa used a dual-component feedback architecture.
Legally Grounded Tips. These were short, event-based messages generated from detected unsafe behaviours. Relevant Nigerian legal material was first retrieved from a curated knowledge base built from the Nigerian Highway Code and National Road Traffic Regulations. Prompt controls required laws, fines and penalties to come from that supplied context rather than being invented by the language model.
Tips were presented once daily from detected driving events rather than continuously while a driver was driving.
Weekly Reports. These transformed structured driving statistics into a supportive personalised narrative. The thesis implementation used a two-stage process: an initial GPT-4-turbo draft followed by a mandatory GPT-4o-mini refinement step designed to improve factual consistency, coherence, tone and implicit Theory of Planned Behaviour coverage.
The important research contribution is therefore the separation of legal grounding from persuasive behavioural reflection, rather than the use of any particular language-model provider.
Field Evaluation
The final application evaluation used a within-subject pre-intervention/intervention design.
The pre-intervention period ran from 10 January to 15 April 2025, during which feedback was disabled. The intervention period ran from 20 April to 15 July 2025, during which drivers received legally grounded Tips and weekly Reports.
Two transition weeks containing a mixture of pre-intervention and intervention trips were excluded from the comparison.
The final clean analysis comprised:
54 drivers;
402 pre-intervention trips;
400 intervention trips;
802 trips in total;
1,749.9 km pre-intervention; and
1,579.3 km during intervention.
A small follow-up qualitative component involved four semi-structured driver interviews.
What the Programme Built
Safe Drive Africa became a modular Android application integrating:
- user interface and navigation;
- local database and shared utilities;
- smartphone sensor data collection;
- driver-profile management;
- unsafe-driving behaviour analysis;
- on-device execution of the deployed alcohol-classification model;
- AI/NLG feedback generation; and
- alcohol self-report questionnaires.
The architecture used local-first persistence so core data collection and analysis could continue when connectivity was unavailable.
Its main scientific feedback contribution was the separation of two complementary user-facing outputs:
Tips: concise, legally grounded, event-based educational feedback.
Reports: weekly supportive narratives designed to help drivers reflect on behavioural patterns, perceived control and practical actions for safer driving.
Key Findings and Evidence
Overall Unsafe-Behaviour Reduction
Mean driver-level UBPK decreased from 1.44 events/km before feedback to 1.16 events/km during the intervention. This represents a 19.4% reduction.
The paired comparison was statistically significant:
paired t-test: p < .001;
Wilcoxon signed-rank test: p < .001; and
paired Cohen’s d magnitude: 0.660, a medium effect.
43 of 54 drivers (79.6%) improved.
These findings apply to the combined UBPK measure based on harsh braking, rapid acceleration and swerving. The final research does not report a validated 32.5% reduction in rapid acceleration, a 19.8% reduction in swerving, or a 10.2% reduction in harsh braking, and those figures should not be used as final study findings.
Consistency of Improvement
The research also showed that drivers reaching similar final UBPK levels did not necessarily improve in the same way.
Some showed steady improvement with few or no relapses, while others reached similar final outcomes through more volatile patterns with repeated higher-risk trips.
This finding motivated the use of bad-day frequency, based on how often an intervention trip exceeded a driver-specific pre-intervention risk threshold.
Engagement
The number of intervention trips had only a negligible overall association with improvement:
Pearson r = −0.071;
Spearman ρ = −0.043.
This means greater app use alone did not systematically predict greater improvement.
The 6–8 intervention-trip group contained the highest descriptive proportion of improvers, with 22 of 24 drivers (91.7%) improving, but this should not be interpreted as evidence that 6–8 trips is an optimal intervention dose.
What Participants Said About the Feedback
The four follow-up interviews provide qualitative context rather than population-wide causal evidence.
Legal Grounding Added Credibility
Participants reported that references to laws, fines and penalties made the feedback feel authoritative and consequential.
“The fines that are attached to it! It makes you sit up. You know that this is not a joke.”
Another participant emphasised that seeing a specific regulation made the feedback feel like more than generic app advice.
Supportive Tone Increased Acceptability
Participants also valued the encouraging tone of the weekly Reports.
“The tone of the report is very encouraging. It’s not judging... it’s not trying to condemn you, rather it’s telling you how you can improve.”
Tips and Reports Served Different Purposes
Participants did not consistently prefer one feedback type over the other. Instead, they described the two as complementary.
Tips supported short, actionable correction and education, while Reports provided a broader weekly opportunity for reflection.
Because only four drivers participated in these interviews, these findings should be treated as qualitative explanations of participant experience rather than generalisations to all Nigerian drivers.
Why the Intervention Worked
The programme's effectiveness came from combining behavioural theory with local adaptation. The system used legal references from Nigerian road traffic regulations to strengthen credibility and deterrence, while maintaining a supportive, non-judgemental tone that kept drivers engaged rather than alienated.
Legal grounding enhanced credibility: Explicit references to Nigerian laws, fines, and penalties made feedback authoritative and consequential. As one driver emphasized: 'The fines that are attached to it! It makes you sit up. You know that this is not a joke.'
Supportive tone increased acceptability: The non-judgemental, encouraging tone made feedback motivating rather than alienating. Drivers praised: 'The tone of the report is very encouraging. It's not judging... it's not trying to condemn you, rather it's telling you how you can improve.'
Complementary roles of Tips and Reports: Drivers valued both feedback types for different purposes. Tips provided immediate, actionable corrections; Reports enabled weekly reflection.
The project demonstrated that effective digital road-safety support in Nigeria does not need to depend on insurance incentives or always-on connectivity. Instead, context-aware, offline-first, culturally grounded design can produce meaningful change.
Apps, Tools, Datasets and Code
The programme produced several software tools and datasets:
- Driving Data Collection App (DDCAP) — Android application for capturing real-time driving data using mobile phone sensors (acceleration, deceleration, speed, location). Deployed to drivers in Nigeria for data collection.
- Harsh Braking Factors Evaluation App (HBFEA) — A follow-on application enabling relevant stakeholders to validate analysis results and suggest better feedback presentation styles.
- Alcohol-Influenced Driving Behaviour Model — Smartphone sensor-based ML model achieving AUC 0.855 for detecting likely alcohol-impaired driving without breathalysers.
- Dual-Feedback AI/NLG Engine — Event-triggered Tips (GPT-4 + Gemini) with legal citations and weekly Reports with supportive personalised narratives.
- Nigerian Driving Behaviour Dataset — Structured dataset of real-world driving behaviour recordings collected using smartphone sensors in Nigerian driving conditions.
- Drunk Person Detection Model — Deep Neural Network (VGG16-based) for detecting signs of impairment from facial analysis.
- Distracted Driver Detection Model — Deep Learning model trained to identify distracted drivers from images.
Research Outputs
The programme has produced peer-reviewed publications, preprints, conference papers, presentations, working software, and datasets contributing to road safety, smartphone telematics, machine learning, and natural language generation.
Key outputs include:
- An end-to-end system paper on culturally-attuned driving feedback using a dual-component NLG engine (arXiv:2509.04478)
- A Nigerian driving dataset paper for detecting alcohol-influenced behaviours (arXiv:2509.05358)
- The mixed-methods evaluation manuscript demonstrating statistically significant behavioural improvement
- Conference presentations at IEEE VTC and other venues
- Mobile applications and code repositories
Research Leadership, Supervision and Collaboration
Welcome to the Safe Drive Africa research team! Our dedicated team is composed of accomplished researchers, academics, and professionals who are passionate about leveraging technology to promote safe driving behaviours and enhance road safety in Nigeria and beyond. Get to know our team members and their invaluable contributions to this innovative research project.
Ethics, Privacy and Funding
Ethics and Privacy: Ethics and participant privacy were central to the programme from the beginning. Ethical approval was granted by the University of Aberdeen Physical Sciences and Engineering Ethics Board. All participants provided informed consent, data were anonymised for analysis, and drivers received £30 compensation. The system was designed with privacy-aware handling of behavioural data throughout.
Funding: The programme was supported by the Tertiary Education Trust Fund (TETFund) — a distinguished organisation established by the Nigerian government to drive the advancement of higher education, research, and development. TETFund's generous funding empowered the programme to pioneer innovative approaches for tackling road safety in Nigeria.
Additional support came through the University of Aberdeen's research infrastructure and, post-PhD, through IEAF (Impact, Engagement and Agile Funding) for commercialisation exploration activities.
Continuing Impact
Safe Drive Africa is no longer just a doctoral project. It now stands as the research foundation for a continuing programme of work on AI-enabled, low-cost road-safety interventions for Nigeria and comparable contexts.
The completed PhD established the conceptual, technical, and evaluative foundation. It demonstrated that culturally adapted persuasive technology can achieve meaningful behaviour change in developing countries without reliance on financial incentives or insurance infrastructure. It showed that ML-based alcohol detection from smartphone sensors can operate effectively in real-world LMIC contexts where breathalyser testing is impractical. And it provided a template for adapting Western telematics interventions to non-Western LMIC contexts through explicit local legal grounding and cultural alignment.
The next stage is about extending reach, adoption, partnerships, and real-world implementation. Future directions include ethical RCTs, broader deployment across African regions, adaptive/personalised feedback, integration of speed-limit data as it matures, partnerships with fleets and insurers, and cost-effectiveness analyses for policymakers.
This makes the programme section an important bridge within the personal website: it connects completed doctoral scholarship to ongoing work in applied AI, telematics, persuasive feedback, institutional engagement, and safer mobility in West Africa.
Research Publications
An End-to-End System for Culturally Attuned Driving Feedback using a Dual-Component NLG Engine
Thompson, I. P., Yi, D., & Reiter, E.
11th International Conference on Computer and Communications, IEEE
Mobile Phone Sensor-based Nigerian Driving Dataset to Detect Alcohol-influenced Behaviours
Thompson, I. P., Yi, D., & Reiter, E.
30th International Conference on Automation and Computing (ICAC), Loughborough, UK
Safe Drive Africa: Culturally Attuned AI-Enabled Road-Safety Intervention for Nigeria
Thompson, I. P.
University of Aberdeen
Available soonSmartphone-based Extendable Telematic Data Collection App
Thompson, I. P., Yi, D., & Reiter, E.
Software Impacts
Explanations of Factors Influencing Harsh Braking and Presentation Styles
Thompson, I. P., Willie, E., Yi, D., & Reiter, E.
AFSIC-NDU2024, Amassoma, Nigeria
Apps & Tools
Driving Data Collection App (DDCAP)
Android-based tool used to capture real-world driving behaviour data (acceleration, deceleration, speed, location) from Nigerian drivers using mobile phone sensors
androidHarsh Braking Factors Evaluation App (HBFEA)
Follow-on application enabling stakeholders to validate analysis results and suggest better feedback presentation styles for promoting behaviour change
androidSafe Drive Africa (Intervention App)
The complete intervention app with driving data capture, unsafe behaviour detection, alcohol-impairment modelling, and dual AI-generated feedback (Tips and Reports)
androidResearch Timeline
PhD research commenced
Began doctoral research at the University of Aberdeen on 2nd February 2022 under Prof. Ehud Reiter and Dr Dewei Yi.
Stakeholder survey completed
Mixed-methods survey with 80 participants (drivers and FRSC officials) establishing local understanding of unsafe driving.
Data collection app developed
Smartphone telematics app (DDCAP) developed and deployed on Android phones for real-world driving data capture.
Nigerian driving data collection (Phase 1)
Field data collection of real-world driving behaviour across multiple Nigerian states began.
Driving data analysis
Analysed the collected Nigerian drivers' driving data to identify patterns and unsafe behaviours.
Harsh Braking Factors Evaluation App
Developed and presented the Harsh Braking Factors Evaluation App (HBFEA) at the Faculty of Science Conference, Niger Delta University.
First alcohol detection model
Developed the first version of the alcohol-influenced driving detection model using the collected driving data.
Data collection app upgraded
Upgraded the DDCAP data collection app for improved functionality and reliability.
Second data collection started
Began collection of the second Nigerian alcohol-influenced driving behaviour dataset.
Second data collection completed & analysis
Second phase data collection ended and the data was analysed.
Improved alcohol detection model
Developed, built, and improved on the first model using a combined dataset from both Phase 1 and Phase 2 data collections, achieving AUC 0.855.
NLG dual feedback system
Upgraded the app by developing the NLG dual-component feedback system with event-triggered Tips and weekly Reports.
Six-month evaluation completed
Within-subjects evaluation with 54 drivers: 19.4% UBPK reduction, 79.6% improved (p < 0.001).
PhD thesis submitted and completed
PhD thesis submitted and successfully completed at the University of Aberdeen.
PhD Viva voce
Successfully defended the doctoral thesis in the viva voce examination.
Post-PhD impact study
IEAF-funded post-PhD impact study started — exploring commercialisation pathways and institutional adoption.
Research Team
Thompson Iniakpokeikiye Peter
PhD Research Candidate
Niger Delta University / University of Aberdeen
Damoov
Collaborative Partner
Technology partner — expertise in data collection tools and telematics technology
Funding & Support
Tertiary Education Trust Fund (TETFund)
PhD Research Sponsorship
TETFund, established by the Nigerian government to drive higher education advancement, provided the core funding enabling the Safe Drive Africa research programme.
University of Aberdeen
Research Infrastructure and Facilities
Research infrastructure, computing resources, and academic support throughout the doctoral programme.
IEAF (Impact, Engagement and Agile Funding)
Post-PhD Impact Evaluation and Engagement
Funding to support impact evaluation and stakeholder engagement activities for Safe Drive Africa research outputs.
Frequently Asked Questions
What is Safe Drive Africa?
Safe Drive Africa is a completed PhD research programme and continuing impact initiative focused on reducing unsafe driving through culturally attuned AI-enabled mobile feedback designed for Nigerian and broader low-resource contexts. It combines smartphone telematics, machine learning, natural language generation, and behaviour-change theory.
What makes the programme different from Western telematics apps?
Unlike many systems developed for high-income countries, Safe Drive Africa was designed for environments with weaker insurance infrastructure, less reliable digital mapping, intermittent connectivity, and different persuasive and legal realities. It relies on culturally grounded communication and legal grounding in Nigerian traffic law rather than insurance discounts or financial incentives.
What did the evaluation show?
In a within-subjects evaluation with 54 drivers over six months, Unsafe Behaviours Per Kilometre decreased by 19.4% (1.44 to 1.16 events/km, p < 0.001), and nearly four out of five drivers (79.6%) improved during the intervention phase. The effect size was medium (Cohen's d = 0.660).
How does the system provide feedback?
The system uses a dual-feedback structure: event-triggered Tips and weekly Reports. Tips are concise and legally grounded, explicitly citing Nigerian Highway Code provisions and National Road Traffic Regulations with specific fines and penalties. Reports are more reflective and supportive 150–180 word weekly summaries, helping drivers understand patterns and improve over time.
How does the alcohol detection work?
The system incorporates a machine-learning model that detects alcohol impairment using smartphone sensor patterns, achieving an AUC of 0.855 without requiring breathalysers. The model was trained on 152 labelled trips (24 alcohol-positive) using sensor-derived temporal and variability features. Its predictions are injected into LLM prompts, enabling feedback messages to address alcohol-influenced driving contextually.
Does the programme only matter academically?
No. The work was designed not only to contribute to scholarship, but also to support real-world road safety improvement through scalable, low-cost, context-aware intervention design. It provides practical implications for policymakers and technology developers seeking to deploy mobile safety tools in resource-constrained settings.
What happens next for Safe Drive Africa?
The programme now moves beyond the completed PhD into continuing impact work, including broader deployment thinking, institutional adoption, ethical RCTs, partnerships with fleets and insurers, adaptive/personalised feedback, and future adaptation across other African contexts.