With the rapid development of computer and network technology, network and software logs generated by a multitude of devices contain a wealth of knowledge and serve as a critical resource for intelligent fault diagnosis and efficient system operations. In recent years, various deep learning methods and the pre-training and fine-tuning paradigm of large language models have achieved significant success in log understanding. However, most existing approaches directly adapt models designed for natural language, overlooking the unique characteristics inherent to log data, such as its distinct vocabulary distribution, structural patterns, and semantic expressions. Concurrently, some template-based methods lack flexibility and are limited in their ability to mine deep semantic information. Therefore, we propose LogPISA, an improved pre-training and tuning pipeline for log understanding with invariant and semantic-aware objectives. Our framework employs a hybrid attention mechanism, combining standard self-attention with our novel Keyword-Aware Sparse Attention to enable the model to capture critical signals more efficiently. During the pre-training phase, we introduce two innovative self-supervised tasks: a non-contrastive learning task based on permutation invariance to capture the flexible ordering within log blocks, and a contrastive learning task based on log summarization to guide the model to focus on core semantics over superficial textual forms. Experimental results on several public benchmarks demonstrate that our model achieves excellent performance on downstream anomaly detection tasks. This validates that our proposed framework learns more robust and generalizable log representations, providing a high-quality representational foundation for various downstream log analysis tasks.
Lanlan Rui, Yuanrui Yang, Peng Yu et al.· IEEE Transactions on Network...· 0 citations
Artificial Intelligence-Generated Content (AIGC) has developed rapidly, with Diffusion Models (DMs) gaining wide attention for their superior image generation capabilities. However, the high computational cost of inference limits their deployment in resource-constrained environments such as edge computing. Cloud-edge collaboration is considered a feasible solution to improve inference efficiency, but existing studies have not fully addressed the issue of trust propagation among multiple entities. To address these, we propose a blockchain-aided trusted inference framework for cloud–edge collaborative DMs. Smart contracts are designed to automate image generation task management and ensure traceability throughout the inference process. Leveraging the step-by-step denoising nature of DMs, we introduce a Siamese Network-based Semantic Matching (SNSM) model to identify whether a new task can reuse intermediate results from historical inferences, thereby reducing redundant computation and improving efficiency. We formulate an objective function to minimize total inference latency by jointly considering queuing, transmission, and computation delays, with image quality metrics as constraints. To solve these, we propose Diffusion-Attention integrated Multi-Agent Reinforcement Learning (DAMARL), which dynamically optimizes task partitioning and scheduling between cloud and edge to reduce latency while preserving generation quality. Extensive experiments show that SNSM achieves 85.3% accuracy in reuse decisions, and DAMARL improves average reward by 17.5% $\sim ~35$ % over existing methods, demonstrating the effectiveness of our approach in enhancing DM inference efficiency and performance.
Yu Song, Yinlin Ren, Shaoyong Guo et al.· IEEE Transactions on Cogniti...· 0 citations