Bulwark-B1: driver monitoring model for drowsiness and distraction detection (research preview)
Bulwark-B1 is a research video model for driver monitoring systems (DMS). From a 2-second clip of a camera facing the driver, it detects signs of drowsiness (eye closure, blinks, yawns) and distraction (phone use, eating, drinking).

AI-generated clip (Google Veo), no real person. Bulwark-B1's unedited outputs from bulwark predict: a phone alert in the 3-5 s window while the driver texts. On other AI-generated clips from the same camera view it misses yawns, shut eyes and a glance out of the side window. White tick = B1's threshold; blink is shown but is not an alert sign.
- Licence: free for non-commercial research (CC BY-NC 4.0 plus the training datasets' terms).
- Commercial use: not allowed, including pilots, proofs of concept (POCs) and customer evaluations. Inferensys builds commercially licensed models: Contact Inferensys or hello@inferensys.com.
- Results: indicative only, from 3 test people per dataset. See Results and Limitations.
- Status: a research preview. It is not certified. It was not tested against the EU General Safety Regulation or the European New Car Assessment Programme (Euro NCAP). See Regulatory status.
- Try it: request access, then follow the quick start.
- Smaller model: Bulwark-E1 runs on CPU in ONNX (Open Neural Network Exchange) format. Its first version, E1 v0, scores well below B1: it is for trying CPU deployment, not for its accuracy.
At a glance
The main facts about Bulwark-B1 in one table.
| Item | Detail |
|---|---|
| Developer | Inferensys (Inference Systems) |
| Task | Video classification of a driver's state from an in-cabin camera |
| Input | 16 frames from about 2 seconds of video, RGB uint8, letterboxed to 256 x 256 pixels; colour (RGB) or near-infrared (NIR) cabin cameras |
| Outputs | Signs from the eyes, mouth and head, objects in hand, and the driver's activity: What it detects |
| Model | Meta's V-JEPA 2.1 video encoder (a ViT-B/16 Vision Transformer) with low-rank adaptation (LoRA) adapters merged in, and a multi-task head: 93.6M parameters, PyTorch safetensors |
| Licence | CC BY-NC 4.0 plus the training datasets' terms: Licence and dataset terms |
| Commercial use | Not allowed with these weights: Commercial models |
| Results | Indicative only: Results |
| Status | Research preview; not certified for any regulation: Regulatory status |
| Code | Inferensys/bulwark on GitHub, Apache-2.0 (vendored Meta code: MIT), version 0.1.0 |
| Smaller model | Bulwark-E1, ONNX, for CPU; E1 v0 scores well below B1 |
| Version | Model release v0; checkpoint sha256 starting de184992f7ed; evaluated on 2026-10-30 |
What it detects
For each clip, Bulwark-B1 gives one value per output below: signs of eye closure and PERCLOS (percentage of eyelid closure), yawning, head pose (yaw, pitch, roll), phone use while driving, texting, eating and drinking. The last column says whether a dataset's own labels (ground truth) checked the output.
| Group | What it detects | Output key | Value | Checked against ground truth |
|---|---|---|---|---|
| Eyes | Eye openness | eye_openness | 0 to 1 | Yes |
| Eyes | Eyes closed | eyes_closed | Yes/no probability | Yes |
| Eyes | PERCLOS | perclos | 0 to 1 | Yes |
| Eyes | Blink | blink | Yes/no probability | Yes |
| Mouth | Mouth open | mouth_open | 0 to 1 | No: learned from another model's labels |
| Mouth | Yawn | yawn | Yes/no probability | Yes |
| Head | Head yaw | head_yaw | -1 to 1 (deg / 90) | No: learned from another model's labels |
| Head | Head pitch | head_pitch | -1 to 1 (deg / 90) | No: learned from another model's labels |
| Head | Head roll | head_roll | -1 to 1 (deg / 90) | No: learned from another model's labels |
| Head | Head nod | head_nod | Yes/no probability | No: wrong in v0, do not use |
| Hands and objects | Phone | phone | Yes/no probability | Yes |
| Hands and objects | Phone at ear | phone_at_ear | Yes/no probability | Yes |
| Hands and objects | Food | food | Yes/no probability | Yes |
| Hands and objects | Drink | drink | Yes/no probability | Yes |
| Hands and objects | Eyeglasses | eyeglasses | Yes/no probability | Yes |
| Activity | Activity | activity | One of 14 classes | Yes |
| Camera conditions | Camera type | modality | One of 3 classes | Sanity check only |
| Camera conditions | Low light | low_light | Yes/no probability | Sanity check only |
Notes on some outputs:
- PERCLOS is here the share of the clip's frames with the eyes closed. Drowsiness research averages it over 60 seconds or more;
bulwark predictadds that rolling 60-second value. - Eye openness was checked on MRL Eye's still images only.
- Head yaw, pitch and roll are returned divided by 90, from -1 to 1. Multiply by 90 for degrees. Pitch is positive when the head tips down relative to the camera, so 0 means facing the camera, not a level head. Yaw is positive when the person turns to their own left.
- Head nod: do not use it in v0. Its training labels came from a rule that had the pitch sign the wrong way round, so it fired when the head rose and came back rather than on a nod. The sign error is fixed in the code for the next model, but the rule still cannot tell nodding off from looking down, and no ground truth has checked it.
- Activity is one of: attentive, looking away, phone call, texting, eating, drinking, talking, reaching, grooming, adjusting controls, reading, interacting with an object, or other. The model file also has classes that were never trained (below).
- Camera type (RGB colour or near-infrared) and low light describe the recording, not the driver, so the evaluation uses them only as sanity checks.
The model file also has outputs that were not trained: gaze, attention direction, hands on controls, cigarette, sunglasses, face mask, seat belt, safety gear, alertness, Karolinska Sleepiness Scale (KSS), face visible, face occluded and scene context. They return arbitrary values, and bulwark predict leaves them out. These classes were never trained: smoking (activity) and thermal (camera type). On still images, these outputs were not trained and are left out: phone and drink.
Results
Indicative results. Drive&Act, DMD and MRL Eye each have 3 test people. AUC Distracted Driver v2 (from the American University in Cairo, AUC) does not identify the person in each image, so its test people count as one group. Scores use Bulwark's own clips and labels, so they cannot be compared with the datasets' published benchmarks.
| What it detects | Metric | B1 (baseline) | Test people |
|---|---|---|---|
| Eye openness | MAE | 0.03 (0.49) | 3 |
| Eyes closed | AUROC | 0.95 (0.50) | 6 |
| PERCLOS | MAE | 0.09 (0.16) | 3 |
| Blink | AUROC | 0.75 (0.50) | 3 |
| Yawn | AUROC | 0.90 (0.50) | 3 |
| Phone | AUROC | 0.99 (0.50) | 6 |
| Phone at ear | AUROC | 1.00 (0.50) | 6 + 1 group |
| Food | AUROC | 0.98 (0.50) | 3 |
| Drink | AUROC | 1.00 (0.50) | 6 |
| Eyeglasses | AUROC | 1.00 (0.50) | 3 |
| Activity | Macro-F1 | 0.72 (0.05) | 6 + 1 group |
How to read the table:
- AUROC (area under the receiver operating characteristic curve): the chance that a clip showing the behaviour scores higher than one that does not. 0.5 is guessing and 1.0 is perfect. It needs no threshold.
- Macro-F1: the F1 score balances missed detections against false alarms, from 0 to 1. "Macro" averages it over the activity classes, so rare classes count as much as common ones.
- MAE (mean absolute error): the average error on the output's 0 to 1 scale. 0 is perfect.
- Baseline: the score of a constant guess from the training labels, in brackets. For AUROC it is always 0.50.
- Test people: the people whose clips were scored. Where an output is scored on several datasets, its score is the mean of the per-dataset scores, and their test people are added up. A group is a dataset's test side that does not identify each person.
No confidence intervals are shown: Bulwark's evaluation gives them only with at least 10 test people. Head pose, mouth open and head nod are not scored, because no training dataset gives ground truth for them.
A camera that training never used. On Drive&Act's inner-mirror camera, filming the 3 test people, every score is worse than on the clips of Drive&Act's test cameras, each scored on its own as here: phone AUROC 0.81 against 0.94, phone at ear AUROC 0.84 against 0.93, food AUROC 0.91 against 0.93, drink AUROC 0.91 against 0.98 and activity macro-F1 0.29 against 0.62.
The test sets hold these clips:
| Dataset | Test people | Test clips |
|---|---|---|
| Drive&Act | 3 | 12,231 |
| DMD | 3 | 4,317 |
| MRL Eye | 3 | 5,514 |
| AUC Distracted Driver v2 | one group, not identified per image | 1,840 |
Drive&Act (3 test people, 12,231 clips of 2,071 events)
Drive&Act films each moment from several cameras. Each moment, an event, counts once here, scored on the mean of its cameras' probabilities.
| What it detects | Metric | B1 (baseline) | Events |
|---|---|---|---|
| Phone | AUROC | 1.00 (0.50) | 2,036 |
| Phone at ear | AUROC | 1.00 (0.50) | 2,036 |
| Food | AUROC | 0.98 (0.50) | 2,029 |
| Drink | AUROC | 1.00 (0.50) | 2,040 |
| Activity | Macro-F1 | 0.77 (0.04) | 2,071 |
DMD (3 test people, 4,317 clips)
| What it detects | Metric | B1 (baseline) | Clips |
|---|---|---|---|
| Eyes closed | AUROC | 0.90 (0.50) | 721 |
| PERCLOS | MAE | 0.09 (0.16) | 721 |
| Blink | AUROC | 0.75 (0.50) | 1,541 |
| Yawn | AUROC | 0.90 (0.50) | 724 |
| Phone | AUROC | 0.98 (0.50) | 2,520 |
| Phone at ear | AUROC | 1.00 (0.50) | 2,520 |
| Drink | AUROC | 1.00 (0.50) | 2,602 |
| Activity | Macro-F1 | 0.59 (0.07) | 2,769 |
MRL Eye (3 test people, 5,514 clips)
| What it detects | Metric | B1 (baseline) | Clips |
|---|---|---|---|
| Eye openness | MAE | 0.03 (0.49) | 5,514 |
| Eyes closed | AUROC | 1.00 (0.50) | 5,514 |
| Eyeglasses | AUROC | 1.00 (0.50) | 5,514 |
AUC Distracted Driver v2 (one group of drivers, 1,840 clips)
| What it detects | Metric | B1 (baseline) | Clips |
|---|---|---|---|
| Phone at ear | AUROC | 1.00 (0.50) | 757 |
| Activity | Macro-F1 | 0.79 (0.03) | 1,840 |
The holdout below uses a camera that training never saw. It is scored on its own, never averaged with the test results.
Drive&Act, inner-mirror camera (a camera that training never used, filming the 3 test people; 2,032 clips)
| What it detects | Metric | B1 (baseline) | Clips |
|---|---|---|---|
| Phone | AUROC | 0.81 (0.50) | 1,997 |
| Phone at ear | AUROC | 0.84 (0.50) | 1,997 |
| Food | AUROC | 0.91 (0.50) | 1,992 |
| Drink | AUROC | 0.91 (0.50) | 2,001 |
| Activity | Macro-F1 | 0.29 (0.04) | 2,032 |
Evaluated on 2026-10-30. The evaluation report in this repository has every score, and opens once you have access. The results discussion on GitHub compares B1 with an earlier run.
Licence and dataset terms
These weights are licensed under Creative Commons Attribution-NonCommercial 4.0 International (CC BY-NC 4.0). You must also follow the terms of every dataset they were trained on. In plain words:
- You may: use, share and adapt the weights for non-commercial research and teaching. Credit Inferensys and Bulwark, link to the licence and cite the training datasets.
- You may not: use them commercially. Inferensys reads commercial use to include products and services, product or sales demos, pilots, proofs of concept (POCs) and customer evaluations. The same applies to embeddings computed with the weights and to adapters trained on them. If you are unsure, ask us.
- You must also: follow each training dataset's terms, listed below.
This summary is not the licence. The licence is the CC BY-NC 4.0 legal code, which this repository's LICENSE file also holds. It defines non-commercial use as "not primarily intended for or directed towards commercial advantage or monetary compensation".
The Bulwark code on GitHub has its own licences: Apache-2.0, and MIT for the Meta encoder code it vendors. They cover the code only, not these weights or any dataset.
Training dataset terms
Each training dataset keeps its own terms. The table gives them as Bulwark's dataset registry records them. Terms relied on quotes each dataset's terms, with the date they were checked.
| Dataset | Terms | Official page |
|---|---|---|
| Drive&Act | Research use only, Fraunhofer IOSB | Drive&Act website |
| DMD | CC BY-NC-ND 4.0, academic use | DMD website |
| MRL Eye | No licence stated (all rights reserved; no written permission held) | MRL Eye website (archived copy) |
| AUC Distracted Driver v2 | By request; non-commercial; to develop distracted-driver detection (other research needs the MI-AUC group's consent) | AUC Distracted Driver v2 website |
MI-AUC is the Machine Intelligence group at the American University in Cairo, whose licence agreement covers AUC Distracted Driver v2.
Release basis. For each of these datasets, Bulwark's dataset registry records the basis of this release as:
Inferensys's decision of 2026-10-30, made on the dataset's research terms, that v0 weights trained on the dataset may be published for non-commercial research only, under CC BY-NC 4.0. It is not a statement by the dataset's owners. Users must also follow the dataset's terms. If its owners object, the weights trained on it are withdrawn and the models retrained without it.
V-JEPA 2.1 encoder weights
Bulwark-B1 contains the weights of Meta's V-JEPA 2.1 ViT-B/16 video encoder, with Inferensys's LoRA adapters merged in. Meta publishes them in its V-JEPA 2 repository, which is under the MIT License, Copyright (c) Meta Platforms, Inc. and affiliates, and states no separate licence for its checkpoints. This repository ships that licence as LICENSE-vjepa2, which opens once you have access. NOTICE lists every third-party component.
MIT License
Copyright (c) Meta Platforms, Inc. and affiliates.
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
Commercial models
The weights on this page can't be used commercially, including pilots, proofs of concept (POCs) and customer evaluations. Inferensys builds commercially licensed models for your cameras and use case, trained on data cleared for commercial use. Tell us your use case, cameras (RGB or infrared), hardware and where you'll deploy.
Contact Inferensys or write to hello@inferensys.com.
Quick start
You will install the Bulwark code, download Bulwark-B1 and run it on a video of your own.
-
Request access on this page. Access is granted as soon as you submit the form.
-
Install the code and the Hugging Face command-line tool, and log in with a Hugging Face access token:
pip install https://github.com/Inferensys/bulwark/archive/refs/tags/v0.1.0.zip huggingface_hub hf auth login -
Download the weights and run them on a video, such as
my_clip.mp4:hf download Inferensys/bulwark-b1-driver-monitoring --local-dir bulwark-b1 bulwark predict bulwark-b1 my_clip.mp4
bulwark predict prints one line per 2-second window, one window every second. --out timeline.json saves every output, the decision thresholds and the rolling PERCLOS. In Python:
from bulwark.inference import load, predict_video
model = load("bulwark-b1") # the downloaded folder
for window in predict_video(model, "my_clip.mp4"): # 2-second windows, one every second
print(window["start"], window["outputs"]["eyes_closed"], window["outputs"]["phone"])
- Input:
predict_videotakes 16 frames from each 2-second window, every k-th frame withk = max(1, round(2 * fps) // 16), and letterboxes them to 256 x 256. To pass your own frames, callmodel.predict(frames)with a (16, height, width, 3) uint8 RGB array sampled the same way. - Output: for each window, a probability for each yes/no output, one per class for activity and camera type, and a value for the others.
- Calibration: the weights record temperatures and decision thresholds fitted on the validation people, separately for video and still images. On still images, a temperature or threshold was fitted for eyes closed and eyeglasses only. AUC Distracted Driver v2 has no validation people.
loadapplies the temperatures, andmodel.thresholds_for("video")gives the thresholds. Set your own on your own data. See calibration files. - Without the download step:
loadandbulwark predictalso take the repository id,Inferensys/bulwark-b1-driver-monitoring.
Tested on 2026-11-13 with inferensys-bulwark 0.1.0 installed from the v0.1.0 tag into a new virtual environment (Python 3.11.13, PyTorch 2.15.0, huggingface_hub 2.4.0) on macOS on an Apple M1 Max, with the weights downloaded from this repository.
Files in this repository
The weights and their configuration:
| File | What it is | Size |
|---|---|---|
model.safetensors | all B1 weights, with the LoRA adapters merged into the encoder | 374.6 MB |
config.json | outputs, calibration, input and training record, read by bulwark.inference.load | 8.6 kB |
The repository also holds the licences (LICENSE, LICENSE-vjepa2, NOTICE), the full model card (MODEL_CARD.md), the evaluation report (evaluation/b1/), the training record (provenance.json, release-check.json) and checksums (SHA256SUMS). The Bulwark commits named in config.json, provenance.json and the evaluation report come from before Bulwark's first public release. That history is not public. See Versioning and provenance in the full model card.
Intended use
Bulwark-B1 is for research on a driver's state as seen on video.
- Research on driver drowsiness detection and driver fatigue monitoring.
- Research on distracted driver detection.
- A base model: its 512-number state embedding can train small task adapters for labels of your own.
- Outputs as signals that support a decision, such as an alert to the driver. They can also feed a safety system that has its own logic and validation.
It is for researchers, in academic and other non-commercial research.
Fleet operators, video telematics and AI dash cam providers, car makers (automotive OEMs) and their Tier-1 suppliers, and safety teams in industry need a commercially licensed model from Inferensys for product work, pilots and evaluations, as does any other commercial use. See Commercial models.
Out-of-scope uses and responsible use
Do not use Bulwark for:
- any commercial use of these weights (see Licence and dataset terms);
- decisions about individuals, such as employment, discipline or insurance pricing, or scoring and ranking drivers or workers;
- identifying or tracking people: the models have no identity outputs, and their embeddings must not be used to re-identify anyone;
- inferring emotions or intentions: the outputs describe physical states and visible actions;
- covert monitoring, or monitoring without the notice and legal basis the law requires;
- use as a certified safety component, a type-approved vehicle system or a medical device.
What Bulwark does not do. It does not estimate gaze, sleepiness on the Karolinska Sleepiness Scale (KSS), or impairment from alcohol or drugs. It is not an occupant monitoring system (OMS): it was trained to watch the driver, and it does not detect seat belts or passengers.
Responsible use:
- In research, check it on your own people, cameras and conditions before you rely on any output.
- Keep a human in the loop for any consequence for a person, and give people a way to contest it.
- Process video where it is captured when you can, and do not store face video by default.
- Tell the people being monitored, and get their consent where the law requires it.
- Keep to the out-of-scope list above.
Limitations
The main limits of Bulwark-B1 and its evaluation:
- Few people: Drive&Act has 15 drivers, the DMD face-camera video 14 people and MRL Eye 37 people. Each test set holds only 3 of them.
- No results by group: no video dataset records age, sex or skin tone, so how results differ across groups of people is unknown.
- Narrow conditions: the video is mostly from cars, much of it near-infrared. There are no thermal cameras. Bulwark is not tested in trucks, buses, forklifts, mining or heavy-equipment cabins.
- Short clips: each clip covers about 1 to 2 seconds. Drowsiness develops over minutes, so combine outputs over consecutive clips.
- Head pose, mouth open and head nod: learned only from a face-landmark model's labels, and not checked against ground truth. The head nod labels were wrong (see the notes on outputs): ignore that output.
- Blink and yawn: learned from one camera of one dataset (DMD).
- Eye openness on video: it leans towards open, and no dataset could check it on video.
- Looking down: the face model cannot tell looking down from closed eyes, so its closed-eye readings were not used in training.
- Still images: the image datasets, MRL Eye and AUC Distracted Driver v2, give ground truth only for the eyes, eyeglasses, phone at ear, activity and camera conditions. A face model also labelled head pose and mouth open on AUC's images. On a still image, the other outputs rely on what the model learned from video, and those not trained on still images are left out.
- New camera positions: scores were lower on a camera position that training never used (see Results). In research, check it on your own cameras.
- Not calibrated for real settings: probabilities reflect the mix of training datasets, not any real setting. Research on other data needs thresholds set on that data.
- Untrained outputs: the outputs listed as not trained under What it detects return arbitrary values.
Regulatory status
Bulwark is not certified or type-approved for any use. It has not been tested against:
- the driver drowsiness and attention warning (DDAW) rules of the EU General Safety Regulation (GSR), Delegated Regulation (EU) 2021/1341;
- the GSR's advanced driver distraction warning (ADDW) rules, Delegated Regulation (EU) 2023/2590;
- the driver monitoring protocols of the European New Car Assessment Programme (Euro NCAP).
The DDAW rules measure drowsiness on the Karolinska Sleepiness Scale (KSS), which Bulwark does not estimate.
Other rules may apply to what you build with it:
- Using AI to monitor workers may be high-risk under the EU AI Act (Annex III, point 4).
- Face video is personal data under the EU General Data Protection Regulation (GDPR).
This is not legal advice. The full model card has a table of rules that may apply.
How it works
Bulwark-B1 builds on a video encoder that Meta trained on large amounts of unlabelled video. Inferensys adapted the encoder with small LoRA adapters and trained a multi-task head, with one output per sign, on four driver datasets. The head's summary of each clip, a 512-number state embedding, can also train adapters for new labels.
- Encoder: Meta's V-JEPA 2.1 ViT-B/16 (V-JEPA 2.1 paper), about 86.8M parameters, frozen during training.
- Adapters: rank-16 LoRA on the
qkv,proj,fc1andfc2layers of the last 4 blocks, plus the final norm, about 0.79M trained parameters. In this release they are merged into the encoder. - Head: the encoder's tokens are pooled into 25 summary tokens, then a 2-layer transformer, about 6.8M parameters. Training updates 7.56M parameters in all.
- Outputs: raw logits per output, decoded with a sigmoid (yes/no), a softmax (classes) or a scaled sigmoid (ranges). The state embedding has 512 values.
- Training: the LoRA fine-tune started from a heads-only run on the same data, chosen by 5-fold cross-validation. This release is the fine-tune checkpoint with the best validation score.
- Calibration: one temperature per output and media type, fitted on the validation people.
- Parameters: 93,639,745 values in
model.safetensors, counted from its header. - More in Architecture: Bulwark-B1 and Training: B1 LoRA fine-tune.
Training data
Bulwark-B1 learned from four research datasets of people in vehicles. No dataset frames are reproduced on this page, in this repository or on GitHub.
| Dataset | People: train / validation / test | Used for |
|---|---|---|
| Drive&Act | 10 / 2 / 3 drivers, the dataset's own split | Activity, phone, phone at ear, food and drink, on 5 near-infrared views and 1 colour view |
| DMD, face camera | 9 / 2 / 3 people | Eyes closed, PERCLOS, blink, yawn, phone, phone at ear, drink and activity, on colour video |
| MRL Eye (archived copy) | 31 / 3 / 3 people | Eye openness, eyes closed and eyeglasses, on near-infrared eye images |
| AUC Distracted Driver v2 | the authors' split by driver; no validation set; test is one group | Phone at ear and activity, on colour still images |
Drive&Act's inner-mirror camera is not used in training. Its clips of the 3 test drivers form a new-camera test.
- A face-landmark model (MediaPipe Face Landmarker) labelled mouth open, head pose and head nod, and eye openness and PERCLOS on video. Its "eyes open" readings also became labels where a dataset had none. Its closed-eye, blink and yawn readings were not used.
- One label comes from a rule: a DMD clip whose eyes stay closed for 1 second or more is labelled as a microsleep. B1 did not train that output.
- Labels from the face model and the rule count half as much as ground truth in training, and are never scored.
- The object detector (RF-DETR) and the vision-language model (Qwen3-VL) that Bulwark can also use were not run for this release.
- Details are in the data card.
How we evaluated
Bulwark's evaluation follows these rules:
- No person is in more than one split, and the splits are checked for leaks before scoring.
- Only the datasets' own labels (ground truth) are scored, never labels from other models.
- Each score is shown with a constant baseline.
- Decision thresholds and temperatures are tuned on the validation people, never on test.
- A new-camera holdout, Drive&Act's inner-mirror camera, is scored on its 3 test drivers.
- The report also gives calibration error and results by camera condition.
The protocol is in Evaluation.
Versions and related models
The release this card describes, and the models and collection related to it:
- This release: model release v0, the first public release. Label taxonomy version 1, code version 0.1.0 (tag v0.1.0).
- Smaller model: Bulwark-E1, distilled from Bulwark-B1 and exported to ONNX for CPU. E1 v0 is a research preview that scores well below B1, and a retrain is planned.
- Collection: Bulwark: driver drowsiness and distraction detection models.
Full model card and documentation
All documentation is on GitHub at the release tag:
- Full model card: models, data, licence and limits
- Data card: clips, splits, labels and personal data
- Datasets, their terms and citations
- Architecture and the ONNX contract
- Evaluation protocol and results
- Training
- Inference and adapters
- NOTICE: third-party components and their licences
Once you have access, this repository also holds the evaluation report and its metrics.
Citation
If you use Bulwark-B1, please cite Bulwark:
@software{inferensys_bulwark,
author = {Inferensys},
title = {Bulwark: a base video model for the state of a person on camera},
year = {2026},
url = {https://github.com/Inferensys/bulwark},
license = {Apache-2.0}
}
Please also cite the work it builds on:
- V-JEPA 2.1: Unlocking Dense Features in Video Self-Supervised Learning (Meta)
- LoRA: Low-Rank Adaptation of Large Language Models
- Drive&Act: A Multi-Modal Dataset for Fine-Grained Driver Behavior Recognition in Autonomous Vehicles (ICCV 2019)
- DMD: A Large-Scale Multi-Modal Driver Monitoring Dataset for Attention and Alertness Analysis
- MRL Eye: Pupil localization using geodesic distance (Fusek, 2018)
- AUC Distracted Driver v2: Driver Distraction Identification with an Ensemble of Convolutional Neural Networks
The full citations are in Datasets: citations and References.
Contact and removal requests
You can reach Inferensys about Bulwark in these ways:
- Commercially licensed models: Contact Inferensys or write to hello@inferensys.com.
- Questions and problems: use the Community tab of this page, or open a GitHub issue.
- Security issues: follow SECURITY.md.
- Dataset owners and removal requests: a dataset's owners can object to this release, and people who appear in a training dataset can ask for their data to be removed. Write to hello@inferensys.com, and do not post personal data in public issues. DMD participants can also contact Vicomtech through the DMD website.
A person's removal request applies from the next retrain; weights already released are not retrained. If a dataset's owners object, the weights trained on that dataset are withdrawn and the models retrained without it (see Release basis under Licence and dataset terms).