Patent attributes
Embodiments of the present disclosure relate to a computer-implemented method, device, and computer program product. The method includes: determining, based on a set of user behavior data over a first time period, a set of behavioral features for a user behavior over the first time period. The method further includes: determining, based on the set of behavioral features, a set of anomaly scores for the user behavior according to an anomaly detection model. The anomaly detection model is trained based on user behavior data over a second time period. The method further includes: updating a previously determined anomaly score threshold based on comparison of the determined set of anomaly scores with the anomaly score threshold. The anomaly score threshold is used for indicating whether the user behavior is anomalous. By continuously updating the anomaly score threshold, the solution uses the updated anomaly score threshold for anomaly detection of user behavior.