Enhancing error pattern identification in medical device log files using encoder-based architectures
Benjamin Kraus, Jörg Schaber, James Arrowsmith, Andreas Staubert, Marcus Vetter
Key points
From the paper's conclusion- The key innovations of this work are: (1) a hierarchical, parser-free transformer architecture tailored to device log files; (2) the adaptation of BERT’s Next Sentence Prediction to time-ordered log sequences; and (3) a frozen-encoder detection method in which a lightweight classifier operates on reused embeddings, without transformer fine-tuning or RAG (Retrieval-Augmented Generation).
Abstract
The increasing adoption of network-connected medical devices generates vast amounts of log data, such as system status updates, error reports, and user interactions, offering opportunities to remotely monitor system and user behavior. Traditional approaches often struggle with subtle and infrequent patterns due to the complexity and variability inherent in these dynamic log streams. Uncovering actionable patterns in this data can help optimize healthcare workflows, elevate patient satisfaction and quality of service. This study introduces a hierarchical transformer-based architecture designed to extract embeddings from medical device logs with minimal feature engineering requirements. By leveraging a two-level encoder structure, the model processes individual log events and captures temporal relationships across sequences. A self-supervised pre-training approach, adapting the Next Sentence Prediction task from standard BERT to Next Sequence Prediction for sequential log data, generates contextual embeddings that serve as a foundation for downstream tasks. Evaluated on log data from cobas® pulse devices (Roche Diagnostics), the model demonstrated strong performance in the downstream task of identifying typical error patterns using a lightweight support vector machine classifier without further transformer fine-tuning. The key innovations of this work are: (1) a hierarchical, parser-free transformer architecture tailored to device log files; (2) the adaptation of BERT’s Next Sentence Prediction to time-ordered log sequences; and (3) a frozen-encoder detection method in which a lightweight classifier operates on reused embeddings, without transformer fine-tuning or RAG (Retrieval-Augmented Generation).
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Sequential pattern transformer (SPT): a generative and interpretable framework for predicting disease trajectoriesNeural Computing and Applications · 2026
- STREAM: Sequential Transformer for Risk Estimation from Asynchronous Medical Events for Dynamic Postoperative AKI PredictionmedRxiv · 2026
- AToP: An Explainability Framework for Transformer-Based EHR Predictions Using Attribution-Guided Temporal Pattern Mining.medRxiv : the preprint server for health sciences · 2026
- PORT: Generative EHR Pretraining for Pediatric Intraoperative Risk Prediction.Research square · 2026
- Anomaly Detection in Long-term Time Series with Transformer and Variational AutoencoderCAAI Artificial Intelligence Research · 2026
- Toward continuous quality observability in medicine.npj health systems · 2026