NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Menghai Pan

Visa (United States)
2 previous affiliations
26Machine learning papers tracked by Lacuna
Is this you?

Research Overview

Menghai Pan focuses on spatial-temporal data analysis, graph neural networks, and the safety and reliability of large language models. His trajectory spans from modeling human mobility and sequential decision-making to advancing graph representation learning and generative models. Most recently, his work addresses the robust deployment of foundation models, emphasizing retrieval-augmented generation and adaptive safety guardrails.

Research Trajectory

Pan’s early research concentrated on urban transportation and human mobility modeling. He initially developed generative models to capture demand arrival and service patterns for cloud-commuting systems (Modeling urban trip demands in cloud-commuting system: A holistic approach). He then shifted to understanding human sequential decision-making, specifically analyzing taxi drivers' learning curves to inversely learn their operational preferences (Dissecting the Learning Curve of Taxi Drivers: A Data-Driven Approach). He formalized this into a dynamic human preference analytics framework (DHPA: Dynamic Human Preference Analytics Framework: A Case Study on Taxi Drivers' Learning Curve Analysis). To better interpret these behaviors, he introduced explainable generative adversarial imitation learning (xGAIL: Explainable Generative Adversarial Imitation Learning for Explainable Human Decision Analysis) and extended these imitation learning techniques to extract strategies from non-expert data (Learning Decision Making Strategies of Non-experts: A NEXT-GAIL Model for Taxi Drivers). This urban mobility arc culminated in a proposed architecture for integrating shared autonomous vehicles into future smart city transit (SCCS: Smart Cloud Commuting System With Shared Autonomous Vehicles).

Transitioning into broader machine learning robustness and representation, Pan explored adversarial vulnerabilities in mixed-type data. He developed an attack framework that optimizes in a unified continuous space, contributing to the broader area of Continuous Relaxations for Differentiable Discrete Optimization (Towards Generating Adversarial Examples on Mixed-type Data). Concurrently, he participated in research on sequential recommendation systems, addressing noise cancellation and contributing to the direction of Sparse Attention via Exact Zero Activations (Denoising Self-Attentive Sequential Recommendation).

His focus then expanded into graph machine learning. He co-developed general solutions for node classification in heterophilic graphs (Node Classification Beyond Homophily: Towards a General Solution) and investigated network embedding techniques that bridge positional and structural information (PACER: Network Embedding From Positional to Structural). To improve the discriminative power of graph models, he introduced an invariant graph transformer based on rationale discovery, advancing the research direction of Scaling Expressive Graph Neural Networks (Invariant Graph Transformer). Building on these graph representations, he collaborated on generative modeling for graphs, specifically exploring discrete-state, continuous-time diffusion processes (Discrete-state Continuous-time Diffusion for Graph Generation).

In recent years, Pan's research has pivoted toward the application, enhancement, and safety of large language models (LLMs). He contributed to a hybrid framework that leverages LLM-generated embeddings to improve transaction understanding in lightweight models (Enhancing Foundation Models in Transaction Understanding with LLM-based Sentence Embeddings). He also explored the interpretability of LLM-based coding agents, co-developing a visual analytics system to diagnose systemic flaws in iterative code generation (Illuminating LLM Coding Agents: Visual Analytics for Deeper Understanding and Enhancement).

To address the reliability of LLMs in information-intensive tasks, he collaborated on a training-free, multi-agent filtering framework for retrieval-augmented generation, which aligns with the broader research area of Positional Reranking for Long Context Retrieval Augmented Generation (MAIN-RAG: Multi-Agent Filtering Retrieval-Augmented Generation). Finally, focusing on model security, he contributed to the development of a modular transformer designed to dynamically adapt system prompts, safeguarding frozen LLMs against jailbreak attempts. This work advances the fields of Generalizing Adversarial Defense against Unforeseen Attacks and the area of Context Aware Safety Reasoning for Language Models (Sysformer: Safeguarding Frozen Large Language Models with Adaptive System Prompts).

Expanding this focus on agentic architectures and anomaly detection, Pan contributed to PersonaAgent, an agentic framework that captures shifting transaction patterns as refreshable entity personas in memory to augment real-time anomaly scoring (PersonaAgent: Retrieval-Augmented Transaction Anomaly Scoring with Refreshable Multi-Entity Persona Memory). Additionally, they participated in developing SMAD, a multi-agent framework that translates natural-language anomaly specifications into executable and verifiable detection pipelines for unsupervised time-series anomaly detection (SMAD: A Semantics-Guided Multi-Agent Framework for Unsupervised Time-Series Anomaly Detection).

Current Directions

The most recent papers in the evidence address the deployment, reliability, and security of large language models. This includes developing multi-agent frameworks to filter contextual noise in retrieval-augmented generation, as well as designing visual analytics tools to understand the iterative debugging processes of LLM coding agents. A major ongoing theme is the safety of foundation models, specifically creating adaptive, lightweight mechanisms to defend frozen LLMs against adversarial jailbreaks and ensure compliance with safety guidelines. Additionally, recent work investigates the integration of LLM semantic understanding and agentic architectures into specialized domains like transaction analysis and unsupervised time-series anomaly detection without incurring prohibitive computational overhead.

Profile updated

See something wrong? Report a mistake