Research Vision: Intelligent Software Self-Healing and End-to-End Security Across Environments

As cyber threats become more complex, passive defense alone struggles to address advanced persistent threats (APTs) and previously unknown exploits. Our group works to connect security capabilities that are often deployed separately. With intelligent software self-healing as its research goal, it studies an end-to-end security lifecycle covering data preparation before incidents, anomaly detection during incidents, post-incident tracing and root-cause localization, and real-time containment and recovery.

Research Areas: The Security Lifecycle

Our work follows the software lifecycle and the sequence of events during an attack. It comprises four closely connected research areas.

🛠 Deployment and Data Foundations (Before an Incident)

High-quality data is the foundation of intelligent security. We study the fusion of heterogeneous logs from multiple sources, automated fine-grained labeling, and provenance graph compression for large-scale forensics. These techniques provide reliable data with less noise and a higher concentration of relevant information for complex security analysis.

🛡 Intelligent Runtime Detection (During an Incident)

We develop anomaly detection frameworks using behavior-flow models, graph neural networks (GNNs), and large language models (LLMs) to handle complex higher-order relationships and unknown threats. We make these models lighter and more robust to support real-time intrusion and attack detection with few false alarms and a goal of zero missed detections.

🔍 Attack Tracing and Forensics (After an Incident)

After a security incident, shadow-path-guided investigation and behavior graph abstraction help overcome dependency explosion and bridge the semantic gap between low-level events and application behavior. These techniques help reconstruct the incident accurately and track complex multistage attacks in real time.

🩹 Root-Cause Localization and Self-Healing Containment (Closing the Loop)

We study the final step between discovering an attack and repairing the vulnerability. We link malicious behavior to specific locations in source code or binary functions and develop automated runtime containment so software can recover while legitimate services remain available.

Applications Across Environments: From Low-Level Systems to Advanced AI

Modern software architectures are increasingly diverse. We develop the theoretical foundations of software self-healing and evaluate the methods across industrial scenarios and heterogeneous systems.

  • 🌐 Web Apps and Services

    Request-level attack tracing and training-free anomaly detection under high concurrency, and automated runtime containment of web vulnerabilities through measures such as request-level blocking.

  • ☁ Cloud-Native & Microservices

    Serverless provenance analysis and goroutine-level defense against algorithmic complexity denial of service in Go microservices.

  • 💻 Systems and Endpoints

    Vulnerability localization in C/C++ binaries, robust endpoint threat detection, and fusion of Linux system-call and application logs.

  • 🧠 Large Models and AI Security

    Defense against resource abuse in large reasoning models (LRMs), security strategies for reinforcement learning with large language models, and text watermarking for provenance.

  • ⚙ Industrial and General Code

    Graph anomaly detection in complex network interactions, functional code clone detection, and software vulnerability analysis.

In recent years, the group has made advances across these areas and published its results widely in leading cybersecurity, software engineering, and artificial intelligence venues, including IEEE S&P, USENIX Security, ICSE, FSE, AAAI, The Web Conference, ICLR, NeurIPS, ECML PKDD, IEEE TIFS, IEEE TDSC, IEEE TSC, IEEE TPAMI, and IEEE TNNLS.
Before an Incident:Deployment and Data Foundations Multisource fusion • Fine-grained labelingGraph compression During: Intelligent Runtime Detection Behavior-flow modeling • GNN anomaly detection • Model compression After: Attack Tracing and Forensics Shadow paths • Behavior graph abstractionDynamic tracking Closing the Loop: Root-Cause Localization and Self-Healing Containment Runtime containment • Goroutine-level isolation • Vulnerability localization IntelligentSoftware Self-Healing Security Protection Across Environments Web Appsand Services Cloud-Nativeand Microservices Low-Level Systemsand Endpoints Large Modelsand AI Security Industrial andGeneral Code

Server-Side Attack Investigation for Web Applications

Web applications typically use a browser–server architecture. Users load pages in a browser and interact with the interface to send network requests and access the application's functions. This model also makes web applications a potential entry point into an organization's internal network. Once an intrusion detection system (IDS) generates an alert, security teams need to determine the exact entry point, including which feature the attacker used and which button or other interface element they interacted with. Identifying that point helps the team repair the precise vulnerability. Existing provenance techniques often cannot identify the UI element involved. They lack evidence linking the attack to individual interface elements, client-side logs are difficult to collect, and server-side applications may handle many requests concurrently.

Server-Side Attack Investigation for Web Applications

The group developed a method for attack detection and tracing based on behavior-flow modeling. It models normal UI behavior flows and matches them with underlying system provenance graphs, allowing investigators to trace a security event back to its entry point. A behavior-flow model built on the Aho–Corasick automaton matches UI elements with network requests when deployed solely on the web server. It does not require logs from users' computers. The group also developed audit-log partitioning to correlate system calls with web requests under high concurrency. The design supports multiprocess, multithreaded, and coroutine-based web frameworks, covering most current deployment scenarios. Related results appeared at leading security conferences including IEEE S&P.

Multisource Attack Data Fusion and Feature-Space Optimization

As attack techniques proliferate, malicious events become increasingly difficult to correlate. A single incident can involve many steps and stages, each of which can cause anomalies on different devices and systems. No single source records the full sequence. An anomaly detector therefore needs data at multiple levels of granularity and with broad coverage. It must also adapt and optimize the structural characteristics of the data to give detection models a reliable feature space.

Multisource Attack Data Fusion and Feature-Space Optimization

Attack data changes over time, and malicious activity is often infrequent and difficult to see. Observations collected from a single device or data source provide an incomplete record. The group developed a unified representation and a mechanism for managing and fusing heterogeneous data sources. It processes large volumes of redundant data in which useful observations are sparse, providing the data foundation needed to detect malicious activity accurately. The resulting work includes an attack-detection model based on multisource information fusion in IEEE Transactions on Neural Networks and Learning Systems (TNNLS), and a feature-space optimization model based on iterative metric learning at IJCAI.

Higher-Order Anomaly Detection Where Missed Attacks Carry High Risk

In many detection settings, malicious samples are sparse, making higher-order associations among anomalies difficult to discover. Data distributions also shift during operation, while anomalous observations remain rare. Detection models therefore need to identify complex relationships across heterogeneous sources, process and analyze new data dynamically, and adapt their decision boundaries and detection weights. A missed detection can have serious consequences, especially for targeted attacks on critical infrastructure, so improving detection reliability and reducing false negatives are particularly important.

Higher-Order Anomaly Detection for High-Cost Misses

The group studied higher-order relationships in sparse anomalous data and developed detection methods that adapt over time while reducing false alarms and missed detections. These methods identify advanced intrusions from multiple perspectives and help limit the consequences of missed alerts. The results include a false-negative-cost-sensitive hypergraph anomaly detector published in Information Sciences, a hypergraph learning model driven by dynamic cost optimization in IEEE Transactions on Cybernetics, and an attack analysis model based on cost-interval optimization presented at AAAI.

Real-Time Tracking of Complex Multistage Attacks

As information technology evolves, attacks are becoming more complex and harder to observe. An incident may consist of intermittent activity or involve techniques that the defender has not encountered before. This presents new challenges for security monitoring. Detection systems need to collect a broad view of attack data and analyze it in depth so that slow, infrequent activity does not distort the model. Doing so helps identify weak points in a system and improve proactive defense.

Real-Time Tracking of Complex Multistage Attacks

The group studied how to track and detect malicious activity as it evolves, including intermittent, concealed activity and cases involving previously unknown techniques. It developed an adaptive detector based on dynamic weight optimization. The model continuously updates the relationships it identifies between stages of an attack, overcoming limitations of existing detectors in recognizing potential malicious behavior. This improves real-time detection accuracy and supports proactive defense. Related publications include an adaptive anomaly detection model based on weight adjustment in IEEE Transactions on Industrial Electronics (TIE).

Spectral and Few-Shot Learning for Graph Anomaly Detection

Graph anomaly detection identifies instances that depart substantially from the majority of graph data. Applications include network intrusion detection, financial fraud, and malicious review detection. Graph neural networks (GNNs) have become widely used in fraud detection because they can aggregate information from neighbors to represent the likelihood that a node is anomalous. Fraud graphs are inherently heterogeneous, however, and GNNs based on a homogeneity assumption often perform poorly. Heterogeneity and class imbalance also make it difficult for existing models to make full use of valuable node labels.

Spectral and Few-Shot Learning for Graph Anomaly Detection

The group explored multiband graph wavelet transforms for node-level anomaly detection, including their ability to handle heterogeneity and propagate information over long distances. It partitioned the spectrum into mixed bands based on the relationship between spectral energy and heterogeneity. Because labeled data is scarce in practice, the group also proposed few-shot graph anomaly detection with message augmentation and contrastive learning. Self-supervised contrastive learning within and across views captures both intrinsic and transferable structural representations. Results include a graph fraud detector using spectral and environment augmentation at AAAI and a mixed-view graph-level anomaly detector at ECML PKDD.

Improving the Adversarial Robustness of Log-Fusion Attack Detection

Investigators fuse logs from different layers to narrow the semantic gap between system events and application activity and to limit dependency explosion. The combined semantics expose fine-grained causal relationships between system entities and help reconstruct actual execution. Because investigators infer complex system state from system-call audit records and application messages, the reliability of the reconstructed history depends on the integrity of both sources. The group was the first to describe this integrity threat, which it calls log refusion attacks. Its evaluation showed that an application compromise could extend to the evidence used for investigation. Compromised records could undermine existing defenses, break causal links in the provenance graph, and falsely implicate legitimate users.

Robust Attack Investigation with Fused Logs

The group proposed ProvGuard (Provenance Guardian), an investigation design that models program-call control flow and application-message data flow. It cross-checks audit and application histories to verify their consistency with valid execution. When provenance has been corrupted, it flags discrepancies and corrects the reconstructed execution path, allowing investigators to identify the actual root cause and consequences. A Linux prototype was evaluated across 14 real application scenarios and programs covering several execution models. It reconstructed the correct attack histories with average overhead only 3.62% above traditional auditing, and in the worst case reintroduced only 0.78% of incorrect dependencies. The work was published in SCIENTIA SINICA Informationis.

Detecting Security Weaknesses in Cloned Source Code

Detecting functionally equivalent code clones is important for software development and maintenance. Widespread cloning can make a system harder to maintain and more vulnerable. Traditional detectors compare source code directly. Deep-learning methods encode source structure and semantics into vectors and identify clones by comparing those representations. The two approaches offer complementary strengths that existing learning methods have not fully combined. Learning-based source analysis also faces three challenges. It needs high-quality representations that support downstream tasks, lightweight models efficient enough for industrial use, and sufficient scalability and generalization to handle programs written in different languages and of different lengths.

Functional code clone detection for finding weaknesses

The group proposed a neural source-code representation model based on abstract syntax trees (ASTs) and a dynamic batching method that processes multiple trees in parallel. This improved computational efficiency by more than a factor of ten relative to earlier methods. The group also developed a functional clone detector based on deep subtree interactions. It converts source code into ASTs, divides the trees into subtrees, and compares subtree representations to identify equivalent functionality. Extensive evaluations on three established datasets verified its effectiveness and showed a new direction for functional clone detection. The work appeared at ICSE and ESEC/FSE.

Software Vulnerability Localization for Incident Investigation

Cyberattacks cause substantial losses across many industries. Existing investigation tools can identify compromised entities and reconstruct the incident history, but the resulting evidence often does not tell analysts where to repair the vulnerable software. The group proposed AiVl to extend an investigation to software vulnerability localization. It uses logs from the operating system's standard audit tools and program binaries available on the host. Given a sequence of malicious audit entries identified during an investigation, AiVl identifies the functions associated with those entries and traces the corresponding call path to help analysts pinpoint the location of the vulnerability in the source code.

Software Vulnerability Localization for Incident Investigation

The group designed a precise and compact domain-specific program model that captures system-call flows through combined static and dynamic binary analysis. It also developed an algorithm for matching log sequences against that model. AiVl was tested in 18 real-world incident scenarios and one advanced persistent threat (APT) scenario spanning different vulnerability classes and execution models. Relative to actual vulnerability repair reports, it achieved 100% accuracy and 90% mean recall, with average runtime overhead of 7%. The results appeared in IEEE Transactions on Information Forensics and Security (TIFS).

Robust Heterogeneous Graph Anomaly Detection with an Information Bottleneck

Heterogeneous graph neural networks (HGNNs) have achieved strong results in graph-level anomaly detection because they capture rich semantics. Their robustness is affected by two kinds of perturbation. Direct perturbations to the original graph can have a broad impact because implicit patterns depend on graph heterogeneity. Local perturbations to intermediate representations expose additional weaknesses. For example, widely used meta-path HGNNs aggregate information at both node and semantic levels. They derive several intermediate graphs from the heterogeneous graph, so perturbations targeted at individual intermediate graphs can alter the semantics of the whole heterogeneous graph. This creates a distinct failure mode from direct perturbations of the original graph.

Robust Heterogeneous Graph Anomaly Detection with an Information Bottleneck

The group reports the first study of robust graph-level anomaly detection tailored to heterogeneous graphs. Its information-bottleneck framework identifies informative, low-noise heterogeneous subgraphs to obtain representations that are both robust and comprehensive. A node semantic purifier uses stochastic graph attention and the Hilbert–Schmidt independence criterion to remove label-irrelevant information, improving robustness at both node and semantic levels. A complementary graph disentanglement method addresses information leakage to improve graph-level robustness. On three graph classification benchmarks, mean accuracy improved by 5.06% across three perturbation settings and by 4.33% on clean data. The work was published at AAAI.

Lightweight Anomaly Detection Models

To represent a wide range of anomalies, security models often add more layers and feature extractors, such as filters and neurons. This rapidly increases parameter counts and inference costs. Real-time detection commonly runs on local and edge devices, including surveillance cameras, local servers, and mobile devices. These devices have restricted budgets for CPU and GPU power, storage, and memory. Lightweight anomaly detectors are needed to keep inference latency within real-time alerting requirements.

Lightweight Anomaly Detection Models

The group modeled higher-order relationships between feature extractors with a hypergraph. Hypergraph spectral clustering identified redundant extractors, which were removed to produce a smaller detector. The group then retrained the lightweight model to recover the original accuracy. Across several classification tasks, the method reduced inference computation by more than half with no measured accuracy loss. The results appeared in IEEE Transactions on Pattern Analysis and Machine Intelligence (TPAMI).

Fine-Grained and Class-Incremental Security Behavior Graph Abstraction

Learning-based abstraction of security behavior graphs is widely used in internet infrastructure to group and recognize similar patterns. Practical deployments have revealed limitations in identifying fine-grained graphs from previously unseen classes and adapting models incrementally. The group proposed using large language models (LLMs) with in-context learning (ICL) to extract semantics from logs collected across several sources. It also connected out-of-distribution (OOD) detection with class-incremental graph learning.

Fine-Grained and Class-Incremental Security Behavior Graph Abstraction

The group implemented those ideas in FG-CIBGC, which it describes as the first unified framework for fine-grained and class-incremental behavior graph classification. Its evaluation introduced a benchmark of 4,992 graphs in 32 classes collected from eight attack scenarios, along with edge intersection over union (EIoU) as a new evaluation metric. Experiments showed strong performance on fine-grained and class-incremental classification. The framework also produces fine-grained behavior graphs that support downstream tasks. The work appeared at The Web Conference (WWW).

One-Class Graph Fraud Detection with Hierarchical Propagation and Adaptive Gaussian Mixtures

The growth of internet services and e-commerce has increased the incidence of complex fraud, causing financial losses and operational challenges for marketplaces and financial services. Graph-based approaches can use the network of relationships between users and activities. Supervised GNNs normally require many labeled fraud examples, but such samples are scarce and expensive to annotate. Nodes also exhibit heterogeneous connection patterns across relationship types, making it difficult to model their interactions and distinguish fraudulent nodes from legitimate ones.

One-Class Graph Fraud Detection with Hierarchical Propagation and Adaptive Gaussian Mixtures

OC-GFD uses hierarchical message propagation (HMP) to separate local relational features from global structural representations. An adaptive Gaussian mixture (AGM) models the resulting multimodal probability distribution. Expectation maximization iteratively refines the Gaussian parameters and GNN embeddings. The model achieved AUCs of 84.07% on Yelp and 93.56% on Amazon, improvements of 2.23% and 2.14% over the strongest existing method on those datasets, respectively. The results address difficulties in heterogeneous relationship modeling and distribution fitting in one-class settings. The work appeared at ICME.

Shadow-Path-Guided Attack Investigation

Following a cyber incident, investigators must determine its root cause and impact. Provenance graphs are widely used for this purpose, but they can suffer from dependency explosion. Combining system audit and application logs can alleviate the problem without application instrumentation, model training, or taint tracking. Existing fusion techniques can depend on complex rules or reverse engineering and may need to be reconfigured for each new application, limiting their general applicability.

Shadow-Path-Guided Attack Investigation

The group proposed ProvNavigator, a log-fusion approach to attack investigation. It analyzes correlations between logs during graph construction to merge source-specific provenance graphs into a global graph. When investigators encounter nodes with many dependencies, pairs of shadow paths help select the edges most relevant to the investigation. This supports reconstruction of the full incident chain. The approach does not require instrumentation or reverse engineering and can be reused across applications. The work appeared in Journal on Communications.

Automated Fine-Grained Labeling of Multisource Logs

Accurately labeled logs are essential to research on anomaly detection and provenance-based investigation, but such datasets are scarce. Incidents generate large volumes of logs, and researchers must identify the relevant entries to train and evaluate models. Manual labeling takes time and requires substantial expertise. Existing automated approaches also have limitations. Time windows are too coarse for accurate labeling, behavior profiles may not produce realistic system audit and application logs, and methods based on detection tools and matching rules depend heavily on the quality of those tools and the available expertise.

Automated Fine-Grained Labeling of Multisource Logs

The group developed AutoLabel, a fine-grained automated labeling system that formulates labeling across heterogeneous log sources as extracting an incident subgraph from a provenance graph. In the evaluation environment, small changes to the environment, applications, and test tooling add auxiliary markers before the experiments. The markers make it possible to correlate network traffic, application messages, and audit events precisely. The system uses these markers to locate relevant anchors and partitions the graph into units to limit dependency explosion. It then extracts the incident subgraph and labels the corresponding records individually. The results appeared at USENIX Security 2025.

Normal-Behavior-Driven Provenance Graph Compression

Provenance graphs help analysts distinguish normal from malicious activity and reconstruct advanced persistent threats (APTs). Hosts generate large volumes of security logs daily, however, and the resulting graphs can consume considerable storage and slow later analysis. Forensics at scale therefore depends on reducing graph size while preserving evidence relevant to an incident.

Normal-Behavior-Driven Provenance Graph Compression

The group proposed TeRed, a provenance graph compression method guided by normal behavior. It learns routine system behavior from unit tests and uses those patterns to optimize graph structure. On five datasets, TeRed reduced graph size while preserving all attack-relevant information in the experiments. Downstream attack detection and tracing retained their performance, an advantage over other compression methods in the comparison. The work appeared in IEEE Transactions on Information Forensics and Security (TIFS).

Training-Free Web Anomaly Detection Through Within-API Comparison

Web application anomaly detectors identify activity that deviates from normal behavior. Rule-based detectors often struggle with new incidents. Learning-based systems detect some unknown patterns but commonly need frequent and expensive retraining when applications change, and can generate many false positives. Recent self-comparison techniques avoid retraining by comparing microservice replicas. Their comparison granularity and lack of adaptive baselines make them less suitable for monolithic applications with many distinct functions. They can also be vulnerable to coordinated poisoning.

Training-Free Web Anomaly Detection Through Within-API Comparison

The group proposed APIEcho, a web application intrusion detector that does not require large-scale pretraining. The central observation is that legitimate requests to the same API endpoint tend to produce similar low-level behavior, even within a complex monolith. APIEcho therefore compares requests within the same API rather than comparing service replicas. Its dynamic API classifier groups requests, fine-grained behavior features expose subtle deviations, and adaptive per-API similarity thresholds improve accuracy. A poisoning-resistant sliding window updates the reference set. The results appeared at the 2026 IEEE Symposium on Security and Privacy.

Detecting and Characterizing Advanced Persistent Threats in Open Environments

Intrusion detection systems (IDSs) are an important component of defense against advanced persistent threats (APTs). An APT can combine diverse tactics to reach a particular objective. A detector therefore needs to handle large numbers of attack variants that were never seen during training. Conventional IDSs often assume that training and deployment data come from the same distribution, which limits their ability to detect unfamiliar activity.

Detecting and Characterizing Advanced Persistent Threats in Open Environments

The group proposed OpenSentinel, a system based on deep open-set recognition. It detects previously unseen attacks and locates the detected activity at a specific stage of an APT. Tailored log modeling and a neural network produce interpretable reports that support analysis and provenance tracing by security specialists. The results appeared at the IEEE International Conference on Parallel and Distributed Systems (ICPADS).

Request-Level Provenance Analysis for Serverless Computing

Serverless architectures are attractive for their cost efficiency and ease of management. They can also expand an application's attack surface and increase exposure to security incidents. This makes comprehensive incident investigation and analysis important. Existing approaches face dependency explosion, incomplete records, and limited visibility into user-level activity. These gaps make it difficult to reconstruct the behavior of interactions across a serverless application.

Request-Level Provenance Analysis for Serverless Computing

The group proposed Erinyes, which constructs provenance graphs for request-level incident investigation in serverless environments. Its request partitioner attributes function operations to incoming requests. A collection module gathers the corresponding system audit and network logs, and a graph builder parses and integrates those logs into a complete provenance graph. Together, the components improve visibility into serverless applications. The work appeared in IEEE Transactions on Dependable and Secure Computing (TDSC).

Resource-Consumption Attacks on Large Reasoning Model Servers

Large reasoning models (LRMs) perform well on complex tasks but can require substantial computation during inference. That cost creates a risk of resource abuse. In the group's comparison, existing resource-consumption attacks were often ignored by more capable models or substantially reduced answer accuracy. Conventional adversarial attacks have typically focused on changing the model's answer, whereas resource abuse targets the inference process itself. This creates cost and availability risks for applications that offer free or per-request API access.

Resource-consumption risks in large reasoning model servers

ExtendAttack studies a class of requests that preserve the meaning of an ordinary task while adding a computationally expensive decoding subtask. The researchers compared these requests with the original queries on response length, latency, and correctness. The changes increased response length and latency, while answer accuracy stayed close to the original queries. On HumanEval, o3 produced responses more than 2.7 times as long. The study illustrates a risk for inference services: a request can still produce a correct answer while consuming considerably more resources.

Graph-Level Anomaly Detection under Domain Generalization and Subgroup Shift

Graph-level anomaly detection (GLAD) identifies rare or anomalous graphs within a collection and has applications such as defect detection and fraud identification. Most existing methods assume that training and deployment data follow the same distribution. Their limited ability to generalize to out-of-distribution (OOD) data restricts their use in real settings.

Graph-Level Anomaly Detection under Domain Generalization and Subgroup Shift

The group was the first to formulate the OOD generalization problem for GLAD and proposed FGS-GLAD, a fine-grained subgroup graph-level anomaly detection framework. It addresses two common forms of distribution shift, domain generalization and changes in subgroup composition. A graph information bottleneck extracts features relevant to anomaly detection, and a fine-grained subgroup inference module uses supervised contrastive learning to improve prediction of subgroup characteristics. The results appeared at AAAI.

Interpretable and Robust Behavior Abstraction with Environment-Disentangled Heterogeneous Graphs

Behavior abstraction (BA) turns system audit logs into behavior graphs and identifies similar graphs, reducing both the semantic gap and the amount of manual work involved in incident analysis. Existing methods struggle to combine interpretability and generalization. Hand-designed methods can fail to generalize, while learning-based methods often provide limited explanations. Existing approaches can also be sensitive to noise and adversarial perturbations and may not adapt well across different incident patterns.

Interpretable and Robust Behavior Abstraction with Environment-Disentangled Heterogeneous Graphs

The group conducted what it describes as the first study to address explainability and robustness together in behavior abstraction and proposed the Environment-Disentangled Heterogeneous Graph Neural Network (EDHGNN), based on the information bottleneck principle. Four components work together. Heterogeneous subgraph disentanglement (HSD) uses stochastic attention to separate label-relevant subgraphs from environmental subgraphs. Adaptive graph-level attention (AGLA) learns node weights to extract a minimal sufficient representation. A label-guided graph reconstructor (LGGR) uses labels and environmental subgraphs to reconstruct the input graph, preserving as much environmental information as possible. A relevance discriminator (RD) uses adversarial training to improve the separation between the two kinds of subgraphs. The group also introduced HBGE, which it describes as the first heterogeneous behavior-graph dataset with ground-truth explanations for 4,160 graphs across four real incident scenarios. EDHGNN improved interpretability by 3.05% on average and by up to 5.48%. It had the smallest accuracy losses under both targeted and untargeted perturbations and maintained strong performance on clean data. These results support more reliable root-cause analysis.

Graph-Level Anomaly Detection under Domain Generalization and Subgroup Shift

Graph-level anomaly detection (GLAD) has applications in financial networks and other domains, but many existing methods use unsupervised learning and perform worse than supervised ones. Labeling large collections of graphs is expensive. In few-shot unsupervised domain adaptation (FUDA), the source domain has only a few labeled samples and the target domain has none. The combination of label scarcity and domain shift makes existing techniques difficult to apply to graph-level tasks.

Few-Shot Unsupervised Domain Adaptation for Graph-Level Anomaly Detection

The group proposed Disentangled Generative Prototype Alignment (DGPA), the first extension of graph-level anomaly detection to the FUDA setting in its study. DGPA transfers detection knowledge from a sparsely labeled source domain to an unlabeled target domain. The disentangled sample generation (DSG) module uses an information bottleneck to separate label-relevant and label-irrelevant information and generate samples that are both diverse and discriminative. The graph-based prototype self-supervision (GPS) module encodes semantic structure through prototype learning. Bidirectional instance–prototype matching and mutual information maximization align source and target domains without target labels. Across four benchmarks and multiple transfer and few-shot settings, DGPA achieved higher AUROC scores than existing graph anomaly detection, few-shot learning, and cross-domain graph classification baselines, with an average improvement of 5.72%. Ablation studies and visualizations confirmed the contributions of both modules.

Adaptive Sampling Temperature for LLM Reinforcement Learning

Large language models (LLMs) are increasingly used for security tasks such as vulnerability analysis, reasoning about incident paths, understanding malicious code, and generating security policies. These tasks can require complex reasoning over large search spaces with sparse feedback, making it difficult to balance exploration and exploitation in reinforcement learning. Sampling temperature directly affects how diverse and stable model outputs are. A higher temperature broadens exploration but can add noise. A lower temperature makes outputs more predictable but can lead to local optima. Fixed or heuristically chosen temperatures cannot readily adapt as task difficulty and policy needs change during training.

Adaptive Sampling Temperature for LLM Reinforcement Learning

Temperature Adaptive Meta Policy Optimization (TAMPO) treats sampling temperature as a learnable meta-policy. In the inner loop, the model samples trajectories at the temperature chosen by the meta-policy and updates its LLM policy with Group Relative Policy Optimization (GRPO). In the outer loop, the meta-policy uses trajectory advantages to update its preferences over temperatures, increasing the likelihood of temperatures associated with high-value trajectories. The framework adapts sampling temperature online without generating additional samples. The work appeared at ICLR.

Robust Endpoint Threat Detection for Practical Deployment

Endpoints provide access to enterprise data and are exposed to advanced persistent threats. Rule-based intrusion detection systems widely used in industry can reach zero missed detections but may generate enough alerts to cause alert fatigue. Learning-based detectors can offer a better balance between detection and precision, yet noisy training data and manipulation of inference inputs have discouraged industrial adoption. These practical concerns create a gap between benchmark performance and the trust required to deploy a system.

Robust Endpoint Threat Detection for Practical Deployment

The group investigated barriers to deployment from an industry perspective and built a robustness testbed to assess whether existing techniques met operational needs. It proposed Cerberus, a three-stage endpoint threat detection system for practical deployment. Cerberus applies policy-guided denoising, identifies threats using provenance graphs, then uses log sequences to filter false positives. It was substantially more robust than the compared approaches in the testbed. The work appeared at FSE.

Semantically Guided Multi-Bit Text Watermarking for LLMs

The widespread use of large language models makes it important to trace the origin of generated text and limit the spread of misinformation. A zero-bit watermark indicates whether a watermark is present. Multi-bit watermarks convey additional information and support finer-grained provenance. Many multi-bit schemes use hash-based assignment to embed bits in a partitioned token vocabulary. Small edits that preserve the meaning of the text can nevertheless change the token-to-segment correspondence, causing watermark extraction to fail. For example, a change between synonymous tokens such as “happy” and “glad” can disrupt synchronization. The group studied this weakness to make extraction more robust to semantic-preserving changes.

Semantically Guided Multi-Bit Text Watermarking for LLMs

The group proposed SemAnchor, a multi-bit text watermarking framework that assigns segments based on token semantics. It uses a two-stage semantic balancing strategy. Semantic atomization maps tokens into clusters in the model's embedding space so that semantically similar tokens share a cluster identifier. Frequency-aware packing uses a greedy bin-packing procedure to balance the token frequencies of clusters, accounting for their Zipfian distribution. This gives each watermark segment a similar probability of activation. Experiments on baseline models reported extraction accuracy above 97% and greater robustness than existing methods under meaning-preserving edits. The work appeared at IEEE S&P.

Automated Runtime Containment for Web Application Vulnerabilities

Web applications face persistent threats from serious vulnerabilities, including remote code execution, command injection, and server-side request forgery. An intrusion detector can flag malicious requests while a patch is still being prepared. During that response gap, the underlying application remains exposed. Crash-based or static localization methods struggle with logic flaws that do not produce a crash and with the complexity of dynamically interpreted languages. Automatic code changes can disrupt business logic, while global runtime policies without request-level context can produce many false positives. Binary protection methods likewise do not transfer directly to web applications that lack low-level debugging information.

Automated Runtime Containment for Web Application Vulnerabilities

The group proposed Kintsugi, an automated runtime containment system for web application vulnerabilities. It targets deviations in operating-system calls. First, differential analysis of system calls from malicious and normal requests narrows the search from thousands of functions to a small set associated with the vulnerability. A large language model then identifies the boundaries of the relevant code region and the points at which the policy should activate. This avoids relying on the model to generate security rules directly. The policy itself is derived deterministically from normal execution traces as a least-privilege system-call allowlist. The kernel enforces it through eBPF and cgroups only while a request executes the protected region. This blocks malicious system activity while preserving application behavior. Across 27 real CVEs, the system contained multiple exploits and variants with an average response time of 7.6 minutes. The mean latency overhead for the targeted API was 9.2%, and the throughput impact on concurrent legitimate traffic was as low as 2.21%. The results appeared at USENIX Security 2026.

Goroutine-Level Detection and Mitigation of Algorithmic Complexity Attacks

Go microservices use an M:N model to schedule many goroutines over operating-system threads. This supports high concurrency but complicates mitigation of algorithmic complexity denial of service (AC-DoS). A single CPU-intensive request can block other work because the request and thread are not in a one-to-one relationship. Terminating the thread can interrupt many legitimate goroutines that share it. Application timeouts also cannot reliably distinguish an ordinary request waiting for I/O from one consuming excessive CPU. Static approaches can miss execution paths involving cgo, reflection, and third-party libraries.

Goroutine-Level Detection and Mitigation of Algorithmic Complexity Attacks

The group proposed Culexus, which it describes as the first goroutine-level AC-DoS detection and mitigation framework for Go microservices. It covers the path from request-level resource attribution to selective isolation. It first propagates unique request identifiers through Go contexts and uses low-frequency kernel sampling to attribute CPU use to individual requests. It then learns endpoint-specific CPU budgets from normal traffic and flags requests that exceed those budgets during operation. Mitigation uses the Go runtime's asynchronous preemption to stop preemptible goroutines. When preemption is unavailable, such as during certain cgo calls, Culexus contains the offending thread and uses the runtime's P handoff mechanism to allow legitimate goroutines to continue on other threads. In 16 scenarios covering 12 real CVEs, it achieved 100% detection accuracy on the benchmark and stopped preemptible workloads in milliseconds. The throughput impact on legitimate traffic was at most 7% in the non-preemptible scenarios, and overall overhead remained below 8%. The results appeared in IEEE Transactions on Services Computing (TSC).

Goal-Directed Automated Reconstruction of Stateful Web Attack Chains

Enterprise web applications have become increasingly stateful, with business logic distributed across many APIs. In a multistage incident, earlier requests can alter persistent state in a database or file system, and the effect may become visible only when the final suspicious request arrives. Security information and event management (SIEM) or intrusion detection systems may flag only that final request. The earlier requests can appear routine and disappear into large volumes of traffic logs. Without the complete earlier sequence, investigators may be unable to recreate the event in a controlled environment, complicating root-cause analysis, patch verification, and threat tracing. Coverage-guided gray-box fuzzers lack context about the vulnerability involved. Directed fuzzing focuses on reachability within a single request, which cannot account for state accumulated across several requests. RESTful API sequence approaches often rely on manually annotated specifications or assume that service APIs consistently follow REST conventions. Those assumptions limit their applicability to real deployments, and their parameter models may lack information about application state.

Goal-Directed Reconstruction of Stateful Web Incidents

The group proposed Ariadne to help investigators reconstruct stateful web incident chains from the final anomalous request. It formulates the problem as a guided search over application states. The framework combines three kinds of evidence. A state comparison measures how observed backend data differs from the state associated with the final request. An API dependency model captures relationships observed between requests and helps investigators reason about earlier activity. Evidence retained in databases or the file system helps interpret parameter values that may otherwise be missing from the logs. The evaluation covered 13 reported CVE and CNVD vulnerabilities in 11 widely used open-source applications. The study reported successful reconstruction in all cases, including sequences of up to eight stages, within 20 minutes per case. In five cases the reconstructed chains were shorter than the published references. The strongest baseline did not reconstruct chains of three or more stages under the reported conditions, even when given additional information about the test payload. The work appeared in IEEE Transactions on Dependable and Secure Computing (TDSC).

Dynamic Graph Anomaly Detection with Unified Spatiotemporal Representations and Calibrated Dual Diffusion

Traditional anomaly detectors often analyze spatial and temporal features separately when processing rapidly changing graphs. This loses information about their interaction and makes it harder to model subtle anomalies. In security monitoring, changes in graph structure or irregular timing can indicate complex events, but either feature alone may be inconclusive. GNNs capture spatial relationships but can struggle with changes to the graph over time. Time-series models capture temporal patterns but may miss signals embedded in complex graph structure. Separating these features can increase false positives or miss important anomalies, delaying investigation and response to attacks, fraud, or system failures.

Dynamic Graph Anomaly Detection with Unified Spatiotemporal Representations and Calibrated Dual Diffusion

The group proposed ST-DiffDyG (Spatio-Temporal Unified Representation and Calibrated Dual Diffusion), a framework for anomaly detection in dynamic graphs. Its spatiotemporal unified graph representation (STUGR) encodes graph snapshots and their historical evolution in one representation space, capturing relationships among nodes, edges, and their attributes across space and time. Its calibrated dual-diffusion anomaly scoring (CDAS) models normal and anomalous data distributions and corrects noise in pseudo-labels. It learns normal patterns by simulating information diffusion, then uses calibration to distinguish genuine anomalies from apparent anomalies caused by noise. Experiments on several real-world datasets found better detection than the compared approaches, especially for subtle and complex anomalies. The framework supports security analysis, fraud detection, and system monitoring. The results appeared at ACM Multimedia (MM 2026).

An LLM Plugin Framework for Host Intrusion Detection with Provenance Graphs

Data provenance graphs (DPGs) record causal relationships among processes, files, network connections, and other system entities. They offer detailed behavioral evidence for detecting advanced persistent threats and zero-day attacks. Provenance-based host intrusion detection systems (PIDSs) typically analyze these graphs with GNNs. However, the chronology, contextual dependencies, and long-range causal propagation in a provenance graph do not always fit a conventional GNN's aggregation mechanism. Directly applying a GNN can therefore lose important incident semantics. Existing improvements often rely on handcrafted graph rules or training constraints that are difficult to transfer across graph structures, detectors, and unfamiliar incidents.

An LLM Plugin Framework for Host Intrusion Detection with Provenance Graphs

The group proposed ProvPlug, a unified LLM-driven plugin framework that adapts provenance graphs for GNNs. It constructs and cleans provenance graphs from audit logs, then uses depth-first walks, neighborhood graphs, and chronological ordering to convert causal activity into natural-language corpora. Provenance prompts incorporate temporal, contextual, and propagation information to guide the language model. Two plugins can be used independently or together. The first enriches the graph with inferred causal relationships so it better fits the GNN's information propagation. The second uses LLM-generated semantic scores to guide training and improve the representation space. Repeated sampling stabilizes the language model's output. In 34 experiments with eight PIDSs and eight public datasets, the plugins improved detection performance by 11.3% and 9.4% on average, respectively. Against the strongest rule-based baseline, the mean improvements were 5.4% and 4.9%. The work appeared in IEEE Transactions on Dependable and Secure Computing (TDSC).

Precise Intrusion Recovery for Web Applications

Recovering a modern web application from an intrusion poses a tradeoff. A coarse snapshot rollback can erase legitimate users' data, while selectively undoing an incident's effects requires accurate attribution of file and database changes to individual requests under high concurrency. Metadata-propagation taint analysis often requires invasive instrumentation of interpreters or middleware and may miss unexpected execution paths. Black-box matching loses accuracy when system-call and database logs are interleaved, and file monitoring is often limited to predefined directories.

Precise Intrusion Recovery for Web Applications

The group proposed Ancora, a precise recovery system that does not require invasive application instrumentation. It first uses framework-level log markers with unique request IDs to partition interleaved system-call records by HTTP request across process, thread, and asynchronous coroutine models. It then builds a provenance graph from system calls to identify file writes attributable to malicious requests and their child processes, including indirect writes along unexpected execution paths. For example, investigators can recover from unauthorized file writes that would be missed by monitoring only predefined directories. Recovery combines baseline restoration for system and application directories, incremental backups for data directories, and selective replay of legitimate writes. For databases, Ancora uses network connection tuples and timing windows as spatiotemporal anchors. It maps each request to the associated database worker thread, uses database logs to attribute the relevant operations, and restores a clean snapshot from before the incident. Selective replay of legitimate transactions preserves concurrent users’ data while removing unauthorized changes. In tests with 10 web applications, 20 real CVE scenarios, and up to 150 concurrent connections, mean database and file-system recovery accuracies were 99.94% and 100.00%. Worst-case latency increased by no more than 19.8%, query throughput fell by no more than 17.8%, and recovery processed 110.7 database operations and 27.2 affected files per second. The work appeared in IEEE Transactions on Dependable and Secure Computing (TDSC).

Hybrid Ensemble Provenance Detection for Long-Term Operations

Advanced persistent threats can involve infrequent, stealthy activity over a long period, including activity that exploits previously unknown vulnerabilities. Provenance detectors use causal relationships among processes, files, and network connections to identify these threats. Most existing detectors have been evaluated on curated, static training data. In long-running deployments, audit records accumulate, normal behavior evolves, and training data can lag behind new activity. Label noise and adversarial manipulation can further degrade the data. Models may then overfit recent behavior or forget useful historical patterns, limiting their effectiveness in practice.

Hybrid Ensemble Provenance Detection for Long-Term Operations

The group proposed Tumbler, a hybrid ensemble provenance detector for long-term operation. It builds provenance graphs from incoming audit records and uses a residual encoder to combine semantic, temporal, and structural features into node representations. Boosting-inspired incremental training coordinates three experts. The Boosting Expert focuses on the newest batch, the Adaptive Expert maintains continuity across adjacent batches, and the Experienced Expert retains representative historical information in a bounded diversity database. Voting combines the detectors' judgments, limiting time and space costs while reducing overfitting, catastrophic forgetting, and variability in any one detector. Experiments on 16 public datasets against eight existing PIDSs showed more stable, effective, and lightweight detection at different granularities and under long-term operating conditions. In representative mimicry tests, its F1 score fell by no more than 1.5%. The work appeared in IEEE Transactions on Dependable and Secure Computing (TDSC).

Unified Spatiotemporal Anomaly Detection for High-Concurrency Serverless Edge Computing

Serverless edge computing combines the cost and flexibility benefits of serverless architecture with the low latency of edge computing. Its distributed, highly concurrent execution model also expands the attack surface. Logs from multiple requests can become interleaved, temporal features can be hard to extract, and existing methods may lack the resolution to identify malicious behavior both within a function and across function call chains. Resource limitations on edge devices make it harder to support both forms of detection in a unified system.

Unified Spatiotemporal Anomaly Detection for High-Concurrency Serverless Edge Computing

The group proposed USTAD++, a unified spatiotemporal anomaly detector based on graph attention for serverless edge computing. It uses three components. First, eBPF-based log partitioning collects audit records and network traffic at low cost and partitions the logs by request. A two-level automaton at the edge then screens the data and forwards potentially anomalous records to the cloud. The cloud component builds an enhanced provenance graph, extracts spatial and temporal features in parallel with a pairwise graph attention network (PGAT), fuses the features through bidirectional cross-attention, and makes a final decision with the Local Outlier Factor. Across 13 real serverless edge incident scenarios, USTAD++ achieved a mean F1 score of 93.93%, outperforming the compared detection methods. The work appeared in IEEE Transactions on Mobile Computing (TMC).

Adaptive Workflow Integrity Assurance for Serverless Computing

Serverless computing centers on functions and shifts resource provisioning, capacity planning, and infrastructure operations to the cloud provider. Its on-demand scaling and fine-grained billing make it attractive for web backends, data processing, and machine-learning inference. Function instances are short-lived, a single request can invoke several functions, and their calling relationships can evolve as the application changes. Defenses scoped to a process or a long-running instance cannot easily validate the entire workflow. Offline automata can mistake legitimate new paths for tampering because both are absent from training data. Monitoring only inter-function network requests can miss anomalous behavior within a function when the call order itself has not changed.

Adaptive Workflow Integrity Assurance for Serverless Computing

The group proposed Amber, an adaptive workflow integrity mechanism for serverless computing. A two-level nondeterministic finite automaton models the full execution of a request. The call-chain level uses function call sequences to capture the topology, and the function level models system-call sequences within each function. Verified observations update the model incrementally as the application evolves. Amber also tests suspicious requests in two stages, first by substituting parameter values and then by making small numerical adjustments. It uses regression and convergence coefficients derived from edit distance to assess how stable the resulting behavior remains. In its evaluation, legitimate new behavior remained stable more often than malicious behavior, improving the distinction between the two. Across five types of serverless applications and 15 attack scenarios, Amber reported 100% recall. Adaptive confirmation raised average precision from 77.12% to 97.65%, 17.65 percentage points above the strongest baseline. The work was accepted by SCIENTIA SINICA Informationis.

Stage-wise Evaluation of Attack Chain Reconstruction by Large Language Model Agents

During a security investigation, a single attacker action can leave traces in host logs, authentication records, and cloud alerts. A large language model agent must find the relevant records among routine activity, group evidence of the same action into a single step, and use relationships among records to recover the order of the steps. Existing evaluations typically score the final report or measure accuracy across the entire chain, making it difficult to determine why an action is missing from the report. The agent may have missed a key record during retrieval, or it may have read the record and then omitted it when writing the report. Even when every step cites the correct evidence, reversing two steps can change the interpretation of the incident.

Benchmark construction, attack chain reconstruction, and stage-wise evaluation in DiagChain

To address this problem, the research group developed DiagChain, a diagnostic benchmark for evidence-grounded attack chain reconstruction. The group constructed the MAIN-69 dataset from public logs, covering 69 scenarios, three levels of evidence noise, and three ranges of chain length, and checked each of the 849 reference steps against its source records. During an investigation, the agent uses evidence-centric retrieval-augmented generation (ECRAG) to find records, updates the chain after each round of retrieval, and links each step to its supporting evidence. DiagChain uses five metrics to assess retrieval coverage, step grouping, ordering accuracy, evidence grounding, and the attribution gap, then checks each reference step in stages to identify where the first error occurred. An evaluation of six large language models showed that smaller models often failed to cite evidence they had already found in their final outputs, while larger models made most of their errors when ordering steps supported by evidence. Even under the best-performing configuration, only 39.6% of the 849 reference steps passed all stages of the diagnostic check. The paper was accepted at AAAI 2027.