This paper addresses the limitations of traditional protocol anomaly detection methods in handling dynamic state changes and unstructured behaviors. A deep protocol anomaly detection algorithm based on status code sequence modeling is proposed. The method uses the status codes returned during protocol communication as the core input. A state embedding layer is employed to transform discrete status codes into continuous vector representations. A gated recurrent unit (GRU) is then used to capture temporal dependencies and behavior patterns within the status sequence. Based on this structure, the model integrates sequence reconstruction and contrastive learning mechanisms. Reconstruction error is used to characterize the normal distribution of sequences. Contrastive loss is introduced to enhance the model's ability to distinguish abnormal states. The paper also conducts a series of sensitivity experiments on key hyperparameters, including the number of hidden units, activation functions, and the temperature coefficient. These experiments verify the influence of each module on the overall performance of the model. The proposed method achieves superior performance across multiple evaluation metrics. It effectively identifies potential abnormal behaviors at the protocol layer. The method also demonstrates good generalizability and strong detection capability.
To address the limited controllability, unstable output consistency, and weakly constrained decision processes of large language models in text classification tasks, this work proposes a controllable prompt-driven text classification method that establishes an end-to-end unified modeling framework from instruction alignment to constrained decoding. Text classification is reformulated as an instruction-conditioned generative discriminative problem. Input texts and task instructions are jointly encoded to form a unified internal representation that integrates textual semantics with classification constraints. On this basis, a category semantic alignment mechanism is introduced to ensure that the model explicitly follows category boundaries and decision criteria defined by the instructions, thereby reducing classification inconsistency caused by prompt variation or implicit bias. To further improve output reliability, a structured constrained decoding strategy is designed to restrict the generation space to a predefined set of valid categories, preventing redundant text or invalid outputs from interfering with classification results. Comparative analysis under unified data and evaluation settings demonstrates that the proposed method achieves more consistent advantages in classification accuracy, discriminative stability, and overall separability. These findings indicate that deeply integrating instruction understanding and output control into the decision process of large language models effectively transforms their generative capacity into stable, interpretable, and controllable text classification capability, providing a systematic solution for building reliable intelligent text analysis systems.
Missing data poses significant challenges while learning representations of video sequences. We present Disentangled Imputed Video autoEncoder (DIVE), a deep generative model that imputes and predicts future video frames in the presence of missing data. Specifically, DIVE introduces a missingness latent variable, disentangles the hidden video representations into static and dynamic appearance, pose, and missingness factors for each object. DIVE imputes each object's trajectory where data is missing. On a moving MNIST dataset with various missing scenarios, DIVE outperforms the state of the art baselines by a substantial margin. We also present comparisons for real-world MOTSChallenge pedestrian dataset, which demonstrates the practical value of our method in a more realistic setting. Our code and data can be found at https://github.com/Rose-STL-Lab/DIVE.
This study addresses the challenge of forecasting backend service metrics in highly dynamic and disturbed environments and proposes a robust time series prediction framework based on uncertainty estimation. The method first applies a multi-scale encoding structure to decompose and represent service metric sequences, allowing the model to capture mixed characteristics of trends, periodic patterns, and noise disturbances. It then constructs a cross-sequence dependency modeling module to describe structural coupling among multiple metrics so that the model can identify implicit interaction patterns across different service nodes in backend systems. On this basis, the framework outputs both the mean and variance of future metrics through distributed prediction heads, enabling joint characterization of predictions and their associated risk ranges. A noise response mechanism is incorporated to enhance model stability under anomalous disturbances. To improve the controllability of the overall prediction process, a risk adjustment module is designed to transform uncertainty signals into actionable adjustment factors, allowing the model to maintain consistent outputs in high volatility environments. The experiments evaluate hyperparameter sensitivity, environmental sensitivity, and data sensitivity. The results show that the proposed framework maintains high stability and robustness under multiple source disturbances and effectively suppresses error propagation caused by anomalous samples, structural changes, and system scaling. By jointly modeling point predictions and risk estimation, the study verifies the effectiveness of an uncertainty-driven robust forecasting framework for backend metric management and system reliability, providing a scalable technical path for data-driven analysis in complex systems.