[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"detail-sidebar-cat-0-en-105":3,"doc-seo-394301-105":59,"doc-detail-394301-en":131},{"code":4,"msg":5,"data":6},0,"success",[7,13,18,23,28,33,38,43,48,51,55],{"id":8,"doc_module":4,"doc_module_name":9,"category_name":10,"show_sort_weight":11,"slug":12},1,"Document","Story & Novel",90,"story-novel",{"id":14,"doc_module":4,"doc_module_name":9,"category_name":15,"show_sort_weight":16,"slug":17},2,"Literature",80,"literature",{"id":19,"doc_module":4,"doc_module_name":9,"category_name":20,"show_sort_weight":21,"slug":22},4,"Exam",70,"exam",{"id":24,"doc_module":4,"doc_module_name":9,"category_name":25,"show_sort_weight":26,"slug":27},5,"Comic",60,"comic",{"id":29,"doc_module":4,"doc_module_name":9,"category_name":30,"show_sort_weight":31,"slug":32},6,"Technology",50,"technology",{"id":34,"doc_module":4,"doc_module_name":9,"category_name":35,"show_sort_weight":36,"slug":37},7,"Healthcare",40,"healthcare",{"id":39,"doc_module":4,"doc_module_name":9,"category_name":40,"show_sort_weight":41,"slug":42},8,"Research & Report",30,"research-report",{"id":44,"doc_module":4,"doc_module_name":9,"category_name":45,"show_sort_weight":46,"slug":47},9,"Religion & Spirituality",20,"religion-spirituality",{"id":46,"doc_module":4,"doc_module_name":9,"category_name":49,"show_sort_weight":46,"slug":50},"World Cup","world-cup",{"id":52,"doc_module":4,"doc_module_name":9,"category_name":53,"show_sort_weight":52,"slug":54},10,"Lifestyle","lifestyle",{"id":56,"doc_module":4,"doc_module_name":9,"category_name":57,"show_sort_weight":24,"slug":58},19,"General","general",{"code":4,"msg":60,"data":61},"ok",{"site_id":62,"language":63,"slug":64,"title":65,"keywords":66,"description":67,"schema_data":68,"social_meta":124,"head_meta":126,"extra_data":128,"updated_unix":130},105,"en","driver-inattention-detection-using-a-hybrid-vision-transformer-and-bilstm","DRIVER INATTENTION DETECTION USING A HYBRID VISION TRANSFORMER AND BILSTM","","This paper addresses early warning of unsafe highway behavior caused by driver inattention, where spatial and temporal changes occur shortly before unsafe events. A hybrid ViT-BiLSTM model processes fixed-length sequences of 15 frames, crops inchoate frames via bounding-box annotations, and applies selective balanced sampling through data augmentation. Each frame is encoded by ViT-B/16 into 768-D features, then fed to a two-layer BiLSTM (hidden size 256) with dual sigmoid heads for frame-level and sequence-level predictions. Training freezes ViT first, then fine-tunes the last four ViT layers with mixed precision. Metrics include accuracy, precision, recall, and F1 with confusion matrices, PR/ROC curves, and t-SNE/PCA embeddings, achieving about 98% frame-level and 94% sequence-level F1, with qualitative probability and annotation visualizations supporting real-time monitoring deployment.",{"@graph":69,"@context":123},[70,84,106],{"@type":71,"itemListElement":72},"BreadcrumbList",[73,77,79,82],{"item":74,"name":75,"@type":76,"position":8},"https://docshare.wps.com","Home","ListItem",{"item":78,"name":9,"@type":76,"position":14},"https://docshare.wps.com/document/",{"item":80,"name":40,"@type":76,"position":81},"https://docshare.wps.com/document/research-report/",3,{"item":83,"name":65,"@type":76,"position":19},"https://docshare.wps.com/document/driver-inattention-detection-using-a-hybrid-vision-transformer-and-bilstm/394301/",{"url":83,"name":65,"@type":85,"image":86,"author":91,"headline":65,"publisher":94,"fileFormat":97,"inLanguage":63,"description":67,"dateModified":98,"datePublished":99,"encodingFormat":97,"isAccessibleForFree":100,"interactionStatistic":101},"DigitalDocument",{"url":87,"@type":88,"width":89,"height":90},"https://docshare.wps.com/thumbnails/driver-inattention-detection-using-a-hybrid-vision-transformer-and-bilstm/394301.png","ImageObject",300,407,{"name":92,"@type":93},"Aldword","Person",{"url":74,"name":95,"@type":96},"DocShare","Organization","application/pdf","2026-10-31","2026-09-26",true,{"@type":102,"interactionType":103,"userInteractionCount":105},"InteractionCounter",{"@type":104},"ViewAction",11,{"@type":107,"mainEntity":108},"FAQPage",[109,115,119],{"name":110,"@type":111,"acceptedAnswer":112},"What problem does the hybrid ViT-BiLSTM model target?","Question",{"text":113,"@type":114},"It targets early warning of unsafe behavior on highways caused by driver inattention, focusing on short-term spatial and temporal changes before unsafe events.","Answer",{"name":116,"@type":111,"acceptedAnswer":117},"How does the model process video data for prediction?",{"text":118,"@type":114},"It uses fixed-length sequences of 15 frames, crops frames using bounding-box annotations, encodes each frame with ViT-B/16 to produce 768-D features, and models temporal context with a two-layer BiLSTM for frame-level and sequence-level predictions.",{"name":120,"@type":111,"acceptedAnswer":121},"How is the model trained and evaluated?",{"text":122,"@type":114},"Training is done in two steps: freezing ViT while training the BiLSTM and heads with AdamW, then fine-tuning the last four ViT layers with different learning rates under mixed precision. Evaluation uses accuracy, precision, recall, and F1 at both frame and sequence levels, with confusion matrices, PR/ROC curves, and t-SNE/PCA visualizations.","https://schema.org",{"og:url":83,"og:type":125,"og:title":65,"og:site_name":95,"og:description":67},"article",{"robots":127,"canonical":83},"index,follow",{"doc_id":129,"site_id":62},394301,1791286067,{"code":4,"msg":5,"data":132},{"doc_id":129,"user_id":133,"nickname":92,"user_avatar":134,"doc_module":4,"category_id":39,"category_name":40,"doc_title":65,"doc_description":67,"doc_content":135,"file_id":136,"file_url":137,"file_type":138,"file_size":139,"view_count":105,"is_deleted":4,"is_public":8,"is_downloadable":8,"audit_status":8,"page_count":140,"language":141,"language_code":63,"site_id":62,"html_lang":63,"table_of_contents":142,"faqs":143,"seo_title":144,"seo_description":67,"update_tm":145,"read_time":36,"preview_page_count":19,"preview_urls":146},2336478940917,"https://ap-avatar.wpscdn.com/davatar_6f874abed73319feea01a86fa6f0fab8","DRIVER INATTENTION DETECTION USING A HYBRID VISION  \nTRANSFORMER AND BILSTM  \nDevanaboyina Manikanta Teja*1, P L Kishan Kumar Reddy2  \n1, 2Department of Science, Technology and Engineering, KL University,Vaddeswaram Andhra Pradesh, India.  \n1[https://orcid.org/0009-0006-0609-4329](https://orcid.org/0009-0006-0609-4329), 2https://orcid.org/0000-0002-2097-5935  \nEmail:*[manikantateja2001@gmail.com](manikantateja2001@gmail.com), [plkishankumar@kluniversity.in](plkishankumar@kluniversity.in)  \n\n| ARTICLE INFO |  | ABSTRACT\u003Cbr>The identification of the early warning of unsafe behavior on the highways of visual cues of driver inattention is a serious challenge since spatial and temporal changes are not trivial many seconds before unsafe behavior. In this paper we propose a hybrid ViT-BiLSTM model that considers fixed-length sequences of 15 frames: inchoate frames are cropped according to the bounding-box annotations, safe or unsafe label and selectively augmented to have equal sampling. Every frame is processed using a Vision Transformer backbone (ViT B/16) and generates 768 dimensional features, which are further implemented as an input to the two-layer bidirectional LSTM ( hidden size of 256) . The Dual classification heads produce both the frame level and sequence level prediction through sigmoid activation. The training is done in two steps, which are to freeze ViT and to train the BiLSTM and heads with AdamW (lr=1e 3), and then to fine-tune the last four ViT layers with different learning rates (ViT:5e 5, LSTM:1e 4) under mixed precision. Accuracy, precision, recall, and F1-score will be used at both levels with data visualized using confusion matrices, PR/ROC curves, and embedding projections (t-SNE/PCA) . The last model ends with a mean of about 98 percent frame-level accuracy (F1 98) and 94 percent sequence-level accuracy (F1 94) . The interpretability and soundness of the model are supported by qualitative visualizations of frame strips with annotations and trends of probabilities, which proves that the model may be used in real-life driver monitoring systems. |\n| --- | --- | --- |\n| Article History\u003Cbr>Received: February 21, 2026\u003Cbr>Reviewed: June 8, 2026\u003Cbr>Accepted: July 8, 2026\u003Cbr>Published: July 31, 2026 |  |  |\n| Keywords:\u003Cbr>Balanced Sampling, BiLSTM,\u003Cbr>Data Augmentation, Fine-Tuning, Vision Transformer. |  |  |\n| | Copyright ©2026 by authors and Galileo Institute of Technology and Education of the Amazon (ITEGAM) . This work is licensed under the Creative Commons Attribution International License (CC BY 4.0) . |  |\n\nI. INTRODUCTION  \nI.1 MOTIVATION FOR DRIVER INATTENTION DETECTION SYSTEMS  \nInattention among drivers is one of the major causes of the road accidents in the world, resulting in substantial number of people being injured annually and heavy loss of lives [1] . With smart technologies entering modern vehicles, there is an urgent need to have reliable, real time in-vehicle systems to monitor the driver to identify, detect and react to all kinds of driver distractions and attention such as texting, talking, reaching or using a device during driving [2] . The rationale of this work is developing a sophisticated inattention detection system that can find the fine-grained driver behaviours simply based on the visual input information. Through the significant synergistic improvement potential of Vision Transformers (ViT) in extracting spatial features and Bidirectional Long short-Term Memory (BiLSTM) networks in modelling temporal sequences, the system will explore the possibility of analysing video frames and finding distraction patterns in time with great accuracy [3], [4] . This method corrects major weaknesses of traditional CNN-based models that often do not capture the temporal relations that are essential in relating behaviours [5] . In addition, the use of ViT allows the model to focus on specific areas of space in each frame: e.g. eyes, hands, devices while BiLSTM views the modeled observations in the c","cbCaihM35mIfdqjP","https://ap.wps.com/l/cbCaihM35mIfdqjP","pdf",1864250,16,"English","# Abstract\n# Keywords\n# I. Introduction\n## I.1 Motivation for Driver Inattention Detection Systems\n## I.2 Complications of Real-Time Drivers Behaviour Recognition\n### I.2.1 Extreme Intra-Class Variation\n### I.2.2 Dependence in Time of Actions\n### I.2.3 Multi-Class and Multi-Instance Issues","[{\"question\":\"What problem does the hybrid ViT-BiLSTM model target?\",\"answer\":\"It targets early warning of unsafe behavior on highways caused by driver inattention, focusing on short-term spatial and temporal changes before unsafe events.\"},{\"question\":\"How does the model process video data for prediction?\",\"answer\":\"It uses fixed-length sequences of 15 frames, crops frames using bounding-box annotations, encodes each frame with ViT-B/16 to produce 768-D features, and models temporal context with a two-layer BiLSTM for frame-level and sequence-level predictions.\"},{\"question\":\"How is the model trained and evaluated?\",\"answer\":\"Training is done in two steps: freezing ViT while training the BiLSTM and heads with AdamW, then fine-tuning the last four ViT layers with different learning rates under mixed precision. Evaluation uses accuracy, precision, recall, and F1 at both frame and sequence levels, with confusion matrices, PR/ROC curves, and t-SNE/PCA visualizations.\"}]","DRIVER INATTENTION DETECTION USING A HYBRID VISION TRANSFORMER AND BILSTM | PDF",1790401660,[147,151,155,159],{"page_no":8,"url":148,"width":149,"height":150},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-16/ebd83f6144a23af6ebf6cb5b4171d8f3.webp",983,1390,{"page_no":14,"url":152,"width":153,"height":154},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-16/157ac1e7a33335690397f517db78402b.webp",982,1388,{"page_no":81,"url":156,"width":157,"height":158},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-16/e95d7b5f2c65138dbbc77f5880aebb5a.webp",981,1387,{"page_no":19,"url":160,"width":161,"height":162},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-16/753917141b66ce4df8c22dbaa8746589.webp",980,1385]