Automata-Theoretic Modeling of Student Library Usage Patterns for Explainable Behavior Analysis
Abstract
Academic libraries generate large volumes of transactional data detailing student resource interactions. Existing predictive analytics treat user behavior as aggregated data points, offering limited interpretability into individual behavioral evolution. In this paper, we propose a data-driven automata-theoretic framework to model student library usage in a formally grounded manner. Each student is modeled as a deterministic finite automaton (DFA), where states (inactive, issued, late) are triggered by observable library events extracted from transaction logs. Using a hybrid dataset comprising real-world anonymized transaction logs (to establish baseline compliance) and a synthetic stress-test dataset (to simulate habitual non-compliance), we construct user-level automata enabling deterministic late-return cycle detection. Experimental results demonstrate a 100% trace acceptance rate across both datasets and successfully classify habitual non-compliance. Unlike black-box machine learning approaches, this method emphasizes formal semantics, inter-pretability, and structural behavioral understanding, providing a transparent, scalable tool for academic libraries to support explainable decision-making and targeted student interventions.
