High-Order Dependency Graph Learning for Container Anomaly Detection in Microservice Environments

Authors
  • Chun-Yao Hsieh

    Columbia University, New York, USA

Abstract

This paper addresses the structural modeling challenge of anomaly detection in modern containerized microservice systems. It proposes a graph attention network-based method for modeling container dependencies and detecting anomalies. The method builds a high-order dependency graph that represents dynamic invocation relationships between containers using runtime logs and monitoring metrics. It initializes node embeddings and employs a multi-head graph attention mechanism to adaptively model the interaction strength between upstream and downstream components. A multi-task optimization framework is introduced, including structural reconstruction loss, attention entropy regularization, and a contrastive objective. This enhances the model's expressiveness in terms of structural consistency and anomaly discriminability. The model can accurately aggregate key behavioral paths between containers and effectively model and score weak anomaly patterns within complex dependencies. To evaluate the method, multiple sensitivity experiments were designed to analyze performance trends concerning attention heads, embedding dimensions, and regularization parameters. The results confirm the adaptability and stability of the graph attention mechanism in container-level structural modeling and anomaly detection. The proposed method outperforms existing approaches across several key metrics and achieves accurate and robust anomaly identification in highly dynamic and complex system scenarios.

References
Cover Image
Downloads
Published
2025-05-30
Section
Articles
License
Creative Commons License

This work is licensed under a Creative Commons Attribution 4.0 International License.

Academic Scholar Hub Press also operates under the Creative Commons Licence CC-BY 4.0. This allows for copy and redistribute the material in any medium or format for any purpose, even commercially. The premise is that you must provide appropriate citation information.

How to Cite

High-Order Dependency Graph Learning for Container Anomaly Detection in Microservice Environments. (2025). Journal of Computer Technology and Software, 4(5). https://doi.org/10.5281/zenodo.21528535