Model Card: DMS

Model Overview
NameBase ModelTypeVersion
Face DetectionYOLO-basedSupervisedv1.0
Face Landmark DetectionRegressionSupervisedv1.0
Face OcclusionRegressionSupervisedv1.0
Eye Wear DetectionClassifierSupervisedv1.0
Eye Image Quality EstimationClassifierSupervisedv1.0
Eye Closure EstimationClassifierSupervisedv1.0
Cabin Object DetectionYOLO-basedSupervisedv1.0
Head Pose EstimationRegressionSupervisedv1.0
Human Pose EstimationHeatmap-based RegressionSupervisedv1.0
Seatbelt State ClassifierMobileNetV1 (4-class: fastened_safely / fastened_unsafely / unclear / unfastened)Supervisedv1.0
Temporal InferencingCatBoost Ensemble (per-behavior event models, e.g., phone use, drink)Supervisedv1.0
Yawning DetectorClassifierSupervisedv1.0
Eye Rubbing ClassifierClassifierSupervisedv1.0
Hood-Up ClassifierMobileNetV1 (RGB)Supervisedv1.0
KSS Scale (Drowsiness Score)SVR (Support Vector Regression), ADAS→DMS feature bridgeSupervisedv1.0
Event CounterRolling 48 h counts of platform event types on the device; used by the Vehicle Rollaway trigger and as drowsiness-context featuresRule / aggregation (not a learned model)since 2026.42

System name: Driver Monitoring System (DMS)

Goal: To automatically recognize signs of driver inattention, distraction, drowsiness, or impairment, and trigger alerts or corrective actions before dangerous situations occur, provide real-time voice alerts to the driver when required, and give an overall evaluation of the driver's driving patterns based on collected data.

Developed by: GVP Computer Vision Team

Intended Use

Primary Intended Uses:

  • Real-time Driver Behavior Monitoring: Continuously monitor the driver's face, eyes, and head movements for signs of inattention, distraction (e.g., phone use, eating), and drowsiness (e.g., eye closure, frequent blinking, yawning).
  • Real-time Alerting: Provide immediate voice alerts to the driver when signs of inattention, distraction, or drowsiness are detected, to prompt corrective action and prevent dangerous situations.
  • Driver Performance Evaluation: Collect and analyze data on driver behavior patterns over time to provide an overall evaluation of driving habits, identify areas for improvement, and support fleet management safety initiatives. Since release 2026.42 the on-device system also keeps rolling 48-hour counts of platform event types (e.g. phone use, drowsiness, harsh driving, speeding, button press) and attaches the recent counts to drowsiness-related and button-press events; these counts are derived from events the platform already records and are used to stabilise the Vehicle Rollaway trigger and to support drowsiness detection.
  • Accident Prevention: Act as a proactive safety system to mitigate risks associated with driver inattention and fatigue, thereby contributing to the reduction of road accidents.
  • Fleet Safety Management: Enable fleet managers to identify high-risk driving behaviors, implement targeted training programs, and promote safer driving practices across their fleet.

Out-of-scope Uses:

  • Law Enforcement and Surveillance (Direct): The DMS is not intended for direct use by law enforcement for surveillance or to issue citations based solely on its alerts or data. Data should be used for safety and training purposes, not punitive measures outside of a defined fleet policy.
  • Medical Diagnosis: The DMS is not a medical device and should not be used to diagnose medical conditions related to drowsiness or impairment.
  • Replacement for Driver Responsibility: The DMS is an assistive technology and does not replace the driver's responsibility to remain attentive, unimpaired, and adhere to traffic laws.
  • Personal Identification beyond Driver Monitoring: The system is designed for driver monitoring for safety and is not intended for general personal identification or tracking of individuals unrelated to their role as a vehicle operator within the defined use case.
  • External Environmental Monitoring: The system's primary focus is the driver and cabin, not comprehensive monitoring of external road conditions or other vehicles (this falls under ADAS).

Target Users/User Groups:

  • Commercial Fleet Operators/Managers: To enhance fleet safety, manage driver risk, and optimize training programs.
  • Individual Vehicle Owners (as an aftermarket dashcam solution): For personal safety enhancement and self-awareness of driving habits.
  • Insurance Companies: Potentially for telematics-based insurance programs focused on driver safety and risk assessment (with proper consent and data privacy measures).
  • Vehicle Manufacturers: As an integrated safety feature in future vehicle models.
Data

This section outlines the key aspects of the data used to develop the model. First, we describe the data and its features. Then, the pipeline and its specifics are explained.

Description on Data and Features

This section details the data used in the Driver Monitoring System (DMS), including the types of information captured and the features derived for driver behavior analysis.

Data Types and Sources:

  • Dashcam Video Feed: Real-time video captured from the in-cabin dashcam, mounted on the vehicle windshield, facing the driver. This is the primary data source for visual analysis of driver state.
  • Audio Data (Optional/Future Enhancement): Sound captured within the cabin (e.g., driver speech patterns, yawning sounds) to potentially supplement visual cues for drowsiness. This is currently not a primary input but may be considered for future versions.
  • Vehicle Telematics Data (Integration): Data from the vehicle's onboard systems (e.g., speed, acceleration, braking, steering wheel angle) could be integrated to provide contextual information about driving conditions and correlate with driver behavior. This data is not directly captured by the dashcam but is crucial for comprehensive driver evaluation.

Key Features Extracted from Video Feed:

The DMS extracts a variety of visual features to infer driver state and behavior. These include:

  • Face Detection and Tracking:
    • Features: Presence and location of the driver's and passenger's faces.
    • Purpose: To confirm driver/passenger presence and ensure the driver is facing the road.
  • Eye Gaze and Eye Closure Estimation:
    • Features: Eye openness (e.g., PERCLOS - Percentage of Eye Closure over time), eye blinking frequency, gaze direction.
    • Purpose: Primary indicators for drowsiness, inattention (eyes off road), and distraction.
  • Head Pose Estimation:
    • Features: Real-time orientation of the driver's head in 3D space (e.g., looking down, looking away, nodding).
    • Purpose: To detect distraction (head turned away from road), drowsiness (head nodding), and inattention.
  • Facial Landmark Detection:
    • Features: Key points on the face (e.g., corners of eyes, mouth, nose).
    • Purpose: Supports robust face and eye tracking, and can be used for detecting micro-expressions or specific signs of fatigue (e.g., yawning).
  • Mouth and Yawning Detection:
    • Features: Mouth openness, characteristic shape of a yawn.
    • Purpose: Direct indicator of drowsiness.
  • Hand and Object Detection (within cabin):
    • Features: Detection of hands near the face, hands holding objects (e.g., mobile phone, food/drink).
    • Purpose: To identify specific types of manual distraction (e.g., phone use while driving, eating/drinking).
  • Eyewear Detection:
    • Features: Presence or absence of eyeglasses or sunglasses.
    • Purpose: To adapt eye tracking algorithms for various lighting conditions and to account for potential occlusions.
  • Cabin Object Detection:
    • Features: Identification of common objects within the vehicle cabin that could contribute to distraction or indicate specific activities.
    • Purpose: Contextual understanding of driver interactions within the cabin.
  • Seatbelt Detection:
    • Features: Presence and correct use of seatbelt.
    • Purpose: To monitor compliance with safety regulations and provide alerts if not buckled.
  • Eye Rubbing Detection:
    • Features: Detection of hand-to-eye contact and rubbing motion near the eyes.
    • Purpose: Additional drowsiness/fatigue indicator, complementing PERCLOS and blink-rate signals.
  • Hood/Head Covering Detection (Hood-Up):
    • Features: Binary classification of a hood pulled up over the head. The negative class contains normal heads, caps and beanies, long hair, head scarves and similar head coverings that are not a hood (special_headscarf), and ambiguous frames, which are deliberately labelled negative so that they never trigger an alert.
    • Purpose: To flag facial occlusion that can degrade face, eye, and head-pose model accuracy, and to detect a specific non-compliant/evasive driver behavior.

Derived Features and Behavioral Patterns:

From the raw visual features, the system derives higher-level behavioral patterns and risk indicators:

  • Distraction Events: Duration and frequency of eye-off-road, head-turned-away, or hand-held device use.
  • Drowsiness Indicators: Sustained periods of eye closure (PERCLOS), frequent or prolonged blinking, yawning detection, eye-rubbing frequency, and micro-sleep events, consolidated into a Karolinska Sleepiness Scale (KSS) score via a temporal SVR model.
  • Inattention: Lack of consistent engagement with the driving task, characterized by a combination of the above.
  • Driving Pattern Summaries: Aggregated data over time to assess overall driver attentiveness, distraction levels, and fatigue risk.

Initial DMS inference (e.g., face, eye, and head-pose analysis) is conducted on the edge device (dashcam) to minimize latency for real-time alerts. Whether raw video, event clips, or only derived event metadata is transmitted to the cloud is governed by the customer's (Data Controller's) recording and privacy settings in MyGeotab; see Data Privacy for details.

Data Pipeline and Preprocessing

Data Ingestion and Source

The Driver Monitoring System (DMS) primarily ingests data directly from an in-vehicle dashcam and, where available, integrates with vehicle telematics. The design prioritizes edge processing to ensure real-time performance and data privacy.

  • Primary Data Source: In-Cabin Dashcam
    • Device: A dedicated dashcam unit installed on the vehicle's windshield, positioned to have a clear view of the driver's face and upper body within the cabin.
    • Input: High-resolution video stream (e.g., 1080p at 30 FPS) from the dashcam's in-cabin camera. This stream is continuous while the vehicle is in operation and the DMS is active.
    • Direct Access: The DMS software runs directly on the dashcam's embedded processor, allowing direct access to the raw video frames as they are captured by the camera sensor.
    • Infrared (IR) Capabilities: The dashcam is equipped with IR illumination and an IR-sensitive camera to ensure robust performance in all lighting conditions, including night driving, low light, and when the driver is wearing sunglasses.
  • Secondary Data Source (Integration): Vehicle Telematics
    • Integration Method: While not directly ingested by the dashcam's camera sensor, vehicle telematics data can be integrated with the DMS system through a separate connection (e.g., GO Device, CAN bus, OBD-II port, or via a connected telematics gateway).
    • Input: Real-time vehicle operational data, including:
      • Vehicle speed
      • Braking events (e.g., harsh braking)
      • Acceleration events (e.g., harsh acceleration)
      • Steering wheel angle
      • GPS location (for contextual analysis of driving environment)
    • Purpose of Integration: To provide contextual information that enriches the visual analysis from the dashcam. For example, knowing vehicle speed or braking intensity can help better interpret driver behaviors (e.g., sudden gaze shift during harsh braking). This data is primarily used for post-trip analysis and overall driver scoring rather than real-time alerts from the DMS itself.
  • Data Ingestion Mechanism:
    • Edge Processing: All raw video data is ingested and processed directly on the dashcam device itself (at the "edge"). This local processing is critical for:
      • Low Latency: Enabling real-time detection and immediate alerts to the driver.
      • Data Privacy: On-device processing reduces the need to transmit raw video, but does not eliminate it. Whether raw video, event clips, or only derived features/metadata leave the device is determined by the customer's (Data Controller's) Continuous or Event Recording settings.
    • Streaming Data: The video feed is continuously streamed from the camera sensor to the DMS processing modules within the dashcam's firmware.
    • Controller-Configured Data Transmission: Depending on Controller settings, transmission to Geotab's secure cloud platform ranges from event metadata and derived labels (which the Controller can link to a vehicle and driver and which are therefore handled as personal data) up to full event-triggered or continuous raw video upload. Raw video, where uploaded, is stored in access-controlled, encrypted, audit-logged cloud storage. Training data is obtained by downloading selected customer events through the Geotab annotation platform to the Computer Vision team's on-premises training server; at download the driver's display name and top-level driver id are removed from the event metadata and, for cabin-camera events, GPS rows are removed from the sensor files, while a pseudonymous numeric driver id is retained to allow driver-independent evaluation splits (being introduced, Oct 2026).

Data Preprocessing for Model Training

The robust performance of the DMS model relies heavily on meticulously prepared training data. This offline preprocessing pipeline transforms raw video and sensor data into high-quality, labeled datasets suitable for supervised machine learning.

  • Raw Video Collection:
    • Diversity is Key: Collect vast amounts of video footage from diverse real-world driving scenarios. This includes:
      • Driver Demographics: Training data reflects the customer fleets it is drawn from; demographic composition is not measured because demographic attributes are not collected. See Data Bias Handling.
      • Lighting Conditions: Varying light levels (bright sunlight, overcast, twilight, night driving, tunnels), shadows, glare, and reflections. The use of IR cameras ensures data capture in challenging low-light conditions.
      • Driving Scenarios: Urban, rural, highway, varying traffic densities, and different vehicle speeds.
      • Camera Placement Variations: Account for slight differences in dashcam installation angles and positions.
      • Driver Behaviors: Specifically capture instances of:
        • Attentive Driving: Normal, focused driving.
        • Distraction: Phone use (holding, looking at), eating, drinking, interacting with infotainment, looking at passengers, turning to talk.
        • Drowsiness: Eye closure (micro-sleeps), frequent blinking, prolonged blinks, yawning, head nodding, head droop.
        • Inattention: Gaze off-road for extended periods, eyes not tracking the road.
  • Data Annotation and Labeling:
    • Human-in-the-Loop Annotation: Highly skilled human annotators are employed to meticulously label features and behaviors within the collected video frames. This is a critical and labor-intensive step.
    • Frame-level Labels: For each relevant frame or sequence of frames, the following are precisely marked:
      • Bounding Boxes: Accurate rectangular regions identifying the driver's face, eyes, mouth, hands, and relevant objects (e.g., mobile phones, food).
      • Facial Landmarks: Key points (e.g., 68-point or more extensive landmarks) on the face and eyes, crucial for head pose and eye status estimation.
      • Eye State: Categorical labels for eye openness (e.g., "open," "half-closed," "closed") and gaze direction (e.g., "on-road," "left mirror," "center console," "phone").
      • Head Pose: Explicit 3D pose (pitch, yaw, roll) annotations for the driver's head.
      • Mouth State: "Open" or "closed," with specific labels for "yawning."
      • Hand State: "On steering wheel," "holding phone," "eating," "other object."
      • Seatbelt Status (driver seat, 4 classes): fastened_safely, fastened_unsafely, unclear, unfastened.
      • Environmental Context: Rough labels for lighting conditions (e.g., "day_bright," "day_low_light," "night_IR").
    • Temporal Behavior Labels: Beyond static frame labels, annotate the duration and onset/offset of continuous driver behaviors:
      • "Distracted_Phone_Use" (start/end timestamp)
      • "Drowsy_MicroSleep" (start/end timestamp)
      • "Inattentive_GazeOffRoad" (start/end timestamp)
    • Quality Control: Labels are produced by trained annotators on the annotation platform and by the GVP Computer Vision Team. A data-quality check (completeness, validity, uniqueness including train/validation leakage, image integrity) is run before a dataset is used for training and its report is kept with the dataset. Multi-annotator agreement is not currently measured.
  • Data Cleaning and Validation:
    • Anomaly Detection: Identify and remove corrupted frames, video artifacts, or severely mislabeled examples.
    • Consistency Checks: Verify logical consistency across labels (e.g., if "eyes closed" is labeled, "gaze on-road" should not be the primary label).
    • Outlier Removal: Address any extreme outliers in feature values that might stem from annotation errors or sensor glitches.
  • Data Augmentation:
    • Synthetically Increase Data Volume: Crucial for improving model generalization and robustness, especially for rare events.
    • Geometric Transformations: Apply random rotations, translations, scaling, cropping, and horizontal flipping (for symmetrical features like face detection) to simulate variations in camera perspective and driver position.
    • Photometric Transformations: Adjust brightness, contrast, saturation, hue, and add various types of noise (e.g., Gaussian noise, salt-and-pepper noise) to simulate diverse lighting and environmental conditions.
    • Occlusion Simulation: Artificially introduce realistic occlusions (e.g., parts of the steering wheel, hands, sun visors, sunglass reflections) over the face and eyes to train the model to be robust to partial visibility.
    • Temporal Augmentation: Vary the speed or duration of behavioral sequences.
  • Feature Engineering (as applicable):
    • For some model components or early stages of development, hand-crafted features might be engineered from the raw data. However, for deep learning models, the focus is on providing raw inputs and letting the model learn hierarchical features.
  • Dataset Splitting:
    • Training Set: The largest portion of the data, used to train the model parameters.
    • Validation Set: Used during training to tune hyperparameters and monitor for overfitting. It provides an unbiased evaluation of a model fit on the training dataset while tuning model hyperparameters.
    • Test Set: A completely unseen dataset, used only once at the very end of the development cycle to provide a final, unbiased evaluation of the model's performance on new data.
    • Strategic Splitting: Validation sets are dated, separately collected folders; splits are not currently driver-independent. Driver-independent splitting is planned on the retained pseudonymous driver id.
  • Data Storage and Management:
    • Preprocessed and labeled training data is stored on the Computer Vision team's on-premises training server (access-controlled NVMe storage); dataset versions are being registered in ClearML together with their data-quality report.
    • Implement strict access controls and encryption to protect sensitive data.
    • Maintain clear metadata for each dataset (e.g., collection date, camera type, annotation guidelines version) to ensure reproducibility and traceability.
    • Training Data Residency: Training data is currently US-sourced and held in the US training environment; no EU training dataset exists at this time.
    • No PII in Model Outputs: The output of the training process consists only of optimized model weights, not personal data. Individual information is not embedded in, identifiable within, or recoverable from the resulting models.

Model Training and Storage

This section details the processes involved in training the Driver Monitoring System (DMS) models and how these models, along with associated data, are securely stored and managed throughout their lifecycle.

  • All the underlying models are trained independently using their respective preprocessed datasets.
  • Training is conducted on high-performance computing infrastructure (e.g., GPUs).
  • Trained model weights and configurations are version-controlled in an internal repository (Git LFS) with an md5 recorded for every release package; detector checkpoints are additionally tracked in ClearML. Each production release is authorised through a release deployment authorization (named approvers including the Head of Computer Vision) after a bench-test comparison against the previous release.

Post-processing for Forecast Output

The raw outputs from the DMS inference engine undergo several post-processing steps to generate actionable insights and user-friendly reports. This ensures that the "forecast" of driver behavior is accurate, interpretable, and relevant for real-time alerts and long-term evaluation.

  • Thresholding and Event Filtering:
    • Raw model outputs (e.g., probabilities for distraction, drowsiness scores) are compared against predefined, empirically tuned thresholds.
    • Minor or transient fluctuations that do not indicate a significant safety risk are filtered out to prevent false positives and alert fatigue.
    • Example: A brief glance away (less than 1 second) might be ignored, while a sustained gaze off-road for 3+ seconds triggers an alert.
  • Temporal Smoothing and State Consolidation:
    • Outputs over short time windows are stabilised by multi-window statistics, confidence tracking and state-flip-rate detection, a temporal-inference layer (RandomForest / CatBoost per behaviour) and a rule evaluator with per-behaviour thresholds; a per-driver behaviour calibration baseline is used for the microsleep model.
    • Consecutive detections of the same event (e.g., multiple frames showing "drowsy") are consolidated into a single, longer event with a clear start and end time.
    • Example: Instead of multiple "drowsy" alerts for 5 seconds, it's consolidated into one 5-second "drowsy episode."
  • Severity Scoring:
    • Detected events are assigned a severity score based on duration, frequency, and contextual factors (e.g., vehicle speed, time of day).
    • Example: A 10-second distraction event at highway speeds is more severe than a 3-second distraction at low speed.
  • Contextual Integration:
    • Outputs from various DMS modules (e.g., eye gaze, head pose, hand detection) are combined with any available telematics data (speed, braking) to provide a richer understanding of the driving context.
    • Example: A driver's head turning might be benign if the vehicle is stopped, but critical if at high speed.
  • Alert Prioritization and Management:
    • For real-time alerts, a logic system prioritizes simultaneous or competing alerts to avoid overwhelming the driver (e.g., a critical drowsiness alert might supersede a minor distraction alert).
    • Voice alerts are triggered with clear, concise messages.
  • Data Aggregation for Reporting:
    • For long-term evaluation, raw event data is aggregated into meaningful summaries:
      • Trip-level Reports: Total distraction time, number of drowsiness events, risky driving scores per trip.
      • Driver-level Profiles: Historical trends, average scores, and identified patterns over days/weeks/months.
      • Fleet-level Analytics: High-level overview of safety trends, identification of high-risk drivers or routes.
  • Data minimisation (cloud transmission):
    • Raw cabin frames are processed on the device and are not transmitted except as part of an uploaded event clip. Derived metadata (behavioural labels, scores, event counts) is pseudonymous at the platform level but can be linked to a vehicle and driver by the Controller; it is therefore handled as personal data under the Controller/Processor agreement and the platform's retention and access controls.
  • Visualization and User Interface Generation:
    • The processed and aggregated data is then used to populate dashboards, reports, and mobile applications, providing fleet managers and drivers with clear visualizations and actionable insights into driving behavior and safety performance.

Data Privacy

The Driver Monitoring System (DMS) runs on the Geotab Video Platform and inherits that platform's privacy-by-design architecture and Data Controller / Data Processor governance model.

  • Data Controller / Data Processor Model: The customer (fleet operator) is the Data Controller — they own the video data and determine the purpose and means of processing, including which events trigger a cloud upload, how long data is retained, and how driver consent is obtained. Geotab acts as the Data Processor, providing the secure technical infrastructure and processing data solely on the Controller's instructions.
  • Controller-Configured Recording & Minimized Transmission: Video is captured and initially processed on the dashcam. Depending on Controller-defined settings, video is either recorded locally with cloud upload occurring on request or triggered by a predefined safety exception ("Continuous Recording"), or automatically uploaded when a specific DMS event occurs, such as distraction or drowsiness ("Event Recording"). Raw video is not continuously streamed to the cloud; transmission is limited to Controller-configured events or requests.
  • AI-Driven Object Blurring: To support Controller privacy obligations, the platform can apply AI-based blurring of personally identifiable visual elements, configurable in MyGeotab: license plates and pedestrian faces (road-facing view), and driver and passenger faces (cabin view).
  • Derived Metadata: Behavioral features and event metadata generated by the DMS models (e.g., "distraction detected," drowsiness score, event counts) do not contain the driver's name or image, but the Controller can link them to a vehicle and driver; they are handled as personal data.
  • Encryption: Video is encrypted using AES-256 at rest, both on the camera's local storage and in Geotab's cloud storage, and using TLS 1.3 in transit, with mutual authentication ensuring only verified cameras can communicate with the platform.
  • Data Residency: Standard video and event data are stored in data centers corresponding to the customer's region (e.g., US data in the US, EU data in the EU). Data selected for model training is currently US-sourced and held in the US training environment. On-device state (per-driver calibration and the 48-hour event-count history) stays on the camera, rolls over continuously and is uploaded only as the per-event counts described under Intended Use. Privacy assessments: a DPIA covers the in-cabin system; the DMS AI risk assessment is in progress.
  • Consent Management: Because the customer is the Data Controller, obtaining explicit and informed consent from drivers — for example, for DMS monitoring or for the capture of event-triggered video clips — is the customer's responsibility. Geotab provides the technical controls (recording settings, blurring, retention, access management) that support the Controller in meeting this obligation, but Geotab does not itself collect driver consent.
  • Secure Storage & Access Control: Raw video is held in access-controlled, audit-logged storage, viewable only by the Controller's authorized MyGeotab users (via role-based security clearances such as View Live Video / View Recorded Video) and a small, restricted set of Geotab personnel. Company Groups further silo access so users only see footage for drivers and vehicles within their assigned groups.
  • Retention & Deletion: When a MyGeotab database or driver is removed, an automated process deletes the associated video and derived data in accordance with Geotab's applicable data-retention and deletion policies.
  • Purpose Limitation: Data collected by the DMS is used solely for its intended purpose — driver safety alerting and driving-pattern evaluation as configured by the Controller — and not for unrelated purposes without the Controller obtaining separate, purpose-specific consent (e.g., a future insurance use case would require new consent, distinct from the original safety-monitoring consent).
  • Compliance: The system adheres to relevant data protection regulations and privacy laws (e.g., GDPR, CCPA) through the technical and organizational measures above.
Ethical Considerations, Assumptions, Constraints

In this section, we highlight some ethical challenges that were encountered during the model development.

Risks in Training

Training AI models for Driver Monitoring Systems carries inherent risks that can impact performance, fairness, and safety. These include:

  • Data Bias: If training data does not adequately represent diverse driver demographics (age, gender, ethnicity, eyewear, facial hair) or environmental conditions (lighting, weather, camera angles), the model may perform poorly or exhibit bias for underrepresented groups, leading to inaccurate detections and alerts. This could result in discriminatory outcomes or reduced safety for certain drivers.
  • Overfitting: Models might learn the training data too well, including its noise and specific quirks, leading to poor generalization on unseen real-world driving scenarios. This can manifest as high false positive rates (alerting when no risk exists) or high false negative rates (failing to alert when a risk is present).
  • Underfitting: Conversely, if the model is too simple or training is insufficient, it may fail to capture the underlying patterns in the data, resulting in consistently poor performance across all drivers and conditions.
  • Concept Drift: Driver behaviors, vehicle environments, or camera technologies can evolve over time. If the model is not continuously updated with fresh, relevant data, its performance may degrade over time (concept drift), leading to a decline in effectiveness.
  • Adversarial Attacks: While less common in this specific application, models can be vulnerable to subtle, intentional perturbations in input data designed to trick the system into misclassifying a driver's state or suppressing alerts.
  • Labeling Errors/Noise: Inaccurate or inconsistent human annotations during the data labeling process can introduce noise into the training data, leading the model to learn incorrect patterns and degrade its accuracy.
  • Safety-Critical Misclassifications: The most significant risk is training a model that fails to reliably detect critical unsafe behaviors (e.g., severe drowsiness, dangerous distraction) or generates excessive false alerts, both of which compromise safety.

Data Bias Handling

Addressing data bias is critical to ensure the fairness, accuracy, and equitable performance of the DMS across all drivers. Our approach includes:

  • Diverse Data Collection:
    • Demographic Representation: Demographic attributes are not collected with the training data, so demographic representation is not measured today; training data is drawn from production fleets across customers.
    • Environmental & Contextual Diversity: Ensure data covers a wide range of lighting conditions (day, night, glare), weather, vehicle types, and camera placements to avoid bias related to environmental factors.
  • Bias Detection and Measurement:
    • Performance Stratification: Demographic attributes are not collected with the training data and per-group performance is not reported. The DMS classifiers detect objects and behaviours (phone, food, seatbelt, hood up, eye closure), not identity. Head coverings are handled by an explicit negative class in the hood-up classifier ("special_headscarf"; the earlier label name "hijab" was a misnomer for balaclava-style imagery and was corrected in October 2026) so that religious or cultural head coverings are not reported as hood-up events. Skin tone / ethnicity is not inferred.
    • Fairness Metrics: No per-group fairness metric is computed. Production precision and recall are monitored per trigger without demographic stratification; fairness-related field reports are handled through the incident process.
  • Bias Mitigation Techniques:
    • Re-sampling & Augmentation: Class balance is handled by per-class sampling at training time; no demographic re-weighting is performed. Image augmentation is applied for robustness to lighting, pose and camera placement.
    • Weighted Loss Functions: Not used for demographic balancing.
  • Continuous Monitoring & Retraining:
    • Production Monitoring: Production performance is monitored weekly per trigger (precision, recall) from the production validation pipeline, without demographic stratification; model-level acceptance gates are enforced in ClearML.
    • Feedback Loops: Establish mechanisms for collecting feedback from fleet managers or drivers on potential system biases or misdetections.
    • Regular Retraining: Periodically retrain the model with updated and more balanced datasets to address newly identified biases and maintain equitable performance.
  • Transparency and Documentation:
    • Document the methods used for bias detection and mitigation, including dataset characteristics and evaluation results, to ensure transparency and accountability.

Model Assumptions and Constraints

Assumptions:

  • Stable Camera View: Assumes the dashcam is securely mounted and provides a relatively stable view of the driver's face, with minimal vibration or obstruction during operation.
  • Adequate Illumination (IR): Assumes sufficient infrared (IR) illumination is available from the dashcam to ensure clear visibility of the driver's facial features in all lighting conditions, including night and glare.
  • Typical Driving Posture: Assumes drivers maintain a generally upright and forward-facing posture, as extreme or unusual postures may impact detection accuracy.
  • Consistent Feature Presentation: Assumes that key features like eyes, mouth, and head remain largely visible and recognizable within the camera's field of view for effective analysis.

Constraints:

  • Occlusions: Performance may degrade significantly with severe or prolonged occlusions of the driver's face or eyes (e.g., very large hats, scarves covering the face, sunlight directly obscuring the view, extreme steering wheel positions).
  • Extreme Lighting: While IR helps, extreme and sudden changes in lighting (e.g., very strong, direct sun glare into the camera, sudden entry/exit from tunnels) can temporarily affect detection accuracy.
  • Computational Resources: The model's complexity and feature set are constrained by the processing power and memory available on the embedded dashcam hardware, requiring efficient model architectures.
  • Rare Behaviors/Edge Cases: The model's ability to detect extremely rare or highly unusual driver behaviors may be limited by their underrepresentation in training data.
  • False Positives/Negatives: Like all AI systems, the DMS is subject to generating occasional false positives (alerts for non-risky behavior) or false negatives (missing actual risky behavior), which must be managed through continuous refinement and system logic.
Evaluation Metrics

The performance of the Driver Monitoring System (DMS) and its constituent models is rigorously evaluated using a combination of quantitative metrics tailored to each specific task.

  • Core Detection Accuracy:
    • Precision: Of all detected events (e.g., distractions, drowsiness), what percentage were correct? (Minimizes false positives).
    • Recall (Sensitivity): Of all actual events, what percentage were correctly detected? (Minimizes false negatives).
    • F1-Score: The harmonic mean of precision and recall, providing a balanced measure of accuracy.
    • Accuracy: Overall correctness for classification tasks (e.g., eye open/closed).
    • Mean Average Precision (mAP): For object detection tasks (e.g., phone detection, face detection).
  • Temporal Performance Metrics:
    • Detection Latency: The time delay between a real-world event occurring and the system issuing an alert. Critical for real-time safety systems.
    • Time to Alert: Average time from the onset of a dangerous behavior (e.g., prolonged eye closure) to the generation of a driver alert.
    • Duration Accuracy: For continuous behaviors, how accurately does the system estimate the start and end times, and overall duration, of an event?
  • Specific Event Metrics:
    • PERCLOS (Percentage of Eye Closure): Direct measurement of eye closure over time, a key indicator for drowsiness. Evaluated for accuracy against ground truth.
    • Yawn Detection Rate: Accuracy in detecting yawning instances.
    • Gaze Deviation Angle/Duration: Metrics for quantifying how long and how far the driver's gaze deviates from the road.
    • Head Pose Estimation Error: Mean Absolute Error (MAE) or Root Mean Squared Error (RMSE) for predicted head angles compared to ground truth.
  • System-Level Performance Indicators (KPIs):
    • False Alert Rate (FAR): Number of unwarranted alerts per hour/trip/driving time. High FAR leads to alert fatigue.
    • False Negative Rate (FNR) / Miss Rate: Number of actual dangerous events the system failed to detect. This is a critical safety metric.
    • Robustness to Environmental Conditions: Performance consistency across varying lighting, driver appearances, and camera angles.
    • Computational Efficiency: Frames Per Second (FPS) processing capability on the edge device, model size, and power consumption.
    • Acceptance and release validation: model quality is gated per model at training time in ClearML (configured metric thresholds; e.g. Cabin Objects Detector mAP@0.5 >= 0.95). Triggers are functions of model outputs; their online precision and recall are measured in production, monitored in real time in the Elasticsearch Event Monitoring dashboards by an operator who escalates observed performance drops directly to the GVP Computer Vision Team, and reviewed weekly in the Computer Vision weekly report. End-to-end trigger tests in the CI/CD pipeline are planned for Q4 2026. Model updates are validated by bench comparison against the previous release on the device and by field-test stability metrics before Deployment Authorization.