Xiangrui Cai
· 1 previous affiliation
- Nankai UniversitySince 2013
- Associate Professor · Since 2023
- Assistant Professor · 2019–2022
- PhD student · 2013–2018
Research Overview
Xiangrui Cai focuses on natural language processing, time series analysis, and adversarial machine learning. His early work explored representation learning for medical concepts and word embeddings, gradually expanding into sequence modeling and entity alignment. Recently, his research investigates the security and robustness of machine learning models, particularly concerning backdoor vulnerabilities and adversarial attacks in both language and time series domains.
Research Trajectory
Xiangrui Cai’s early research addressed structural challenges in database management. With collaborators, he developed Efficient Foreign Key Discovery Based on Nearest Neighbor Search (2015), formulating foreign key discovery as a nearest neighbor search problem. By utilizing inclusion dependencies and statistical features, this approach efficiently identified relationships in complex schemas without explicit definitions.
By 2018, his focus shifted toward representation learning, particularly in natural language processing and healthcare analytics. He introduced a novel approach in Medical Concept Embedding with Time-Aware Attention (2018), which explicitly modeled the varying temporal scopes and time gaps between clinical events to embed medical codes from Electronic Medical Records (EMRs). In parallel, he refined foundational NLP techniques in Improving Word Embeddings by Emphasizing Co-hyponyms (2018), modifying how context words are weighted by emphasizing semantic relations to improve word vector quality. He continued to investigate embedding architectures the following year with On the Impact of the Length of Subword Vectors on Word Embeddings (2019), demonstrating that assigning different vector lengths to words and subwords can systematically improve embedding performance.
During this period, he also contributed to temporal data analysis outside of NLP. In Multivariate Time Series Imputation with Generative Adversarial Networks (2018), he and his collaborators treated missing value imputation as a data generation problem, leveraging GANs to capture complex temporal dependencies and distributions in multivariate time series.
Moving into the early 2020s, his work expanded to encompass more complex predictive tasks and active learning frameworks. He contributed to models that integrate contextual factors into event forecasting in Incorporating Circumstances into Narrative Event Prediction (2021). That same year, he helped develop MTAAL: Multi-Task Adversarial Active Learning for Medical Named Entity Recognition and Normalization (2021), advancing the efficiency of information extraction in medical texts. He later participated in research on knowledge graph integration with From Alignment to Entailment: A Unified Textual Entailment Framework for Entity Alignment (2023). This work transformed relational and attribute triples into unified textual sequences, modeling entity alignment as a bi-directional textual entailment task to allow direct interaction between cross-graph entities.
A significant theme in his recent trajectory is the security and robustness of machine learning systems. He proposed a lightweight, task-adaptive attack in BadPrompt: Backdoor Attacks on Continuous Prompts (2022). This research exposed vulnerabilities in few-shot scenarios, contributing to the research direction of Input-Aware Backdoor Triggers and highlighting The Security Fragility of Few-Shot Adaptation. The findings also provided insights into the broader areas of Backdoor Vulnerabilities in Large Scale Generative Architectures and Backdoor Attacks on In-Context Learning and Instruction Tuning.
More recently, he has applied sequence modeling and graph learning to complex behavioral and spatial-temporal data. He introduced a framework for real-time, activity-level monitoring in LAN: Learning Adaptive Neighbors for Real-Time Insider Threat Detection (2024). This system combines sequence modeling with adaptive graph learning to capture temporal dependencies and cross-sequence relationships. It advances the area of Learning Adaptive Graph Topologies and utilizes techniques relevant to the direction of Hybrid Loss Functions for Imbalanced Segmentation to handle critical data imbalances in user activity logs. In the spatial domain, he contributed to GeoCo: Geographical Correlation Enhanced Network for POI Recommendation (2024), developing networks that explicitly incorporate hidden geographical habits and spatial proximity as feedback signals for point-of-interest recommendation.
His investigation into model vulnerabilities has also extended to temporal forecasting. With collaborators, he developed TSFAdv: Frequency-Guided Black-Box Adversarial Attacks on Time Series Forecasting (2026). By shifting spectral manipulation from the time domain to the frequency domain and utilizing sensitivity profiling, this method systematically derails state-of-the-art long-term time series forecasting models with a minimal query budget. This contribution intersects with several critical research areas, including Adversarial Robustness and Vulnerability in the Frequency Domain, The Illusion of Progress in Time Series Anomaly Detection, Query-Efficient Black-Box Attacks on Machine Learning Models, and Securing Deep Regression Against Continuous Output Manipulation.
Current Directions
The most recent papers in the evidence address the security, robustness, and structural modeling of predictive systems in temporal and spatial domains. A primary focus is the adversarial vulnerability of time series models, specifically exploring how frequency-domain manipulations can bypass existing defenses in long-term forecasting. Alongside this security-oriented research, current work investigates adaptive graph learning and spatial-temporal correlation networks. These methods are being applied to real-time anomaly detection—such as identifying insider threats from imbalanced activity logs—and to improving recommendation systems by capturing nuanced geographical behaviors.
Profile updated
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