Xiayan Ji
3 previous affiliations
- University of Pennsylvania2018–2025
- PhD student · 2020–2025
- Master's degree, Computer and Information Technology · 2018–2020
- Applied Scientist · 2024
- Research Intern · 2019
Research Overview
Xiayan Ji focuses on anomaly detection, out-of-distribution generalization, and the development of interpretable, privacy-aware machine learning systems. Their work spans the evaluation of semantic biases in existing detectors to the design of generative counterfactual frameworks for anomaly repair. Most recently, they investigate privacy-preserving methods for identifying malicious behaviors in command-line environments.
Research Trajectory
The evolution of Ji's research begins with a critical examination of how machine learning models handle unexpected inputs. Early collaborative work evaluated the limitations of existing out-of-distribution (OOD) detection methods. In Current Anomaly Detectors are Anomalous: On Semantic Treatment of OOD Inputs, Ji and co-authors demonstrated that many detectors overly rely on the specific distribution estimated from the training dataset. This reliance creates a vulnerability where detectors fail to properly handle inputs that share semantic information—such as class labels—with the training data but lie outside its strict statistical distribution, ultimately restricting the model's utility.
Building on these insights into the structural flaws of anomaly detection, Ji shifted toward developing constructive, interpretable solutions for identifying and explaining anomalous data. This led to the introduction of AR-Pro: Counterfactual Explanations for Anomaly Repair with Formal Properties. Addressing the research direction of Interpretable Anomaly Detection, this framework explains anomalies by "repairing" them—generating counterfactuals that show exactly what an image or time-series input would look like if the anomaly were removed. By leveraging the mathematical structure of common anomaly detectors, Ji utilized property-guided diffusion models to ensure the generated counterfactuals are both realistic and formally verified. This contribution also intersects with the broader area of Explaining Classifiers via Generative Counterfactual Transformations and advances techniques in the area of Training-Free Gradient Guidance for Diffusion Models as well as the research direction Generalizing Generative Mechanisms Across Architectural Paradigms.
Most recently, Ji has expanded the application of anomaly detection into the domains of cybersecurity and data privacy. In PASTRAL: Privacy-aware AST and TRansformer-based Anomalous command-Line detection, Ji developed a novel framework for identifying malicious command-line usage. This research contributes to the area of Detecting Zero Day Exploits Beyond Historical Signatures and the direction of Anomaly Detection via Reconstruction Error. The PASTRAL system combines transformer-based language models with Abstract Syntax Tree (AST) embeddings to capture the structural semantics of commands. Crucially, it integrates differential privacy guarantees, allowing the system to effectively identify security threats without exposing sensitive user information.
Current Directions
The most recent papers in the evidence address the intersection of robust threat detection, structural code representation, and data privacy. Current work investigates how structural embeddings, such as Abstract Syntax Trees, can be combined with large language models to identify anomalous and potentially malicious behaviors in system environments. A central focus of this ongoing research is the privacy-utility trade-off: designing sophisticated anomaly detection frameworks that maintain high accuracy in identifying zero-day threats while providing formal differential privacy guarantees to protect sensitive user data.
Profile updated
| Title | Venue | Year |
|---|---|---|
| SpecAgentBench: A Benchmark for Unified Evaluation of Speculative Agentic Systems | Efficient Reasoning @ COLM | 2026 |
| PASTRAL: Privacy-aware AST and TRansformer-based Anomalous command-Line detection | Lock-LLM @ NeurIPS | 2025 |
| AR-Pro: Counterfactual Explanations for Anomaly Repair with Formal Properties | NeurIPS | 2024 |
| Current Anomaly Detectors are Anomalous: On Semantic Treatment of OOD Inputs | ICLR | 2023 |
Loading new papers…
Other researchers whose papers cluster into the same research directions — a proxy for overlapping technical interests and shared intellectual neighborhoods.
See something wrong? Report a mistake