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

Kai Mei

Cua AI · Rutgers, The State University of New Jersey
5 previous affiliations
30Machine learning papers tracked by Lacuna
Is this you?

Research Overview

Kai Mei focuses on the security of deep neural networks, the architecture of large language model agents, and the mechanics of transformer models. His early work investigated backdoor attacks and trigger inversion in neural networks. More recently, he has developed operating systems and retrieval-augmented world models for autonomous AI agents, alongside research into agentic memory and social interactions.

Research Trajectory

Kai Mei's initial research concentrated on the vulnerabilities of deep neural networks, specifically addressing the area of The Mechanics of Backdoor Attacks in Neural Networks. In Rethinking the Reverse-engineering of Trojan Triggers, he and his collaborators observed that both input-space and feature-space Trojans are associated with feature space hyperplanes. This insight led to a novel reverse-engineering method that exploits feature space constraints to identify affected models, contributing to the broader research direction of Neutralizing Neural Backdoors Through Targeted Neuron Pruning and the area of Backdoor Defense Under Clean Data Scarcity. Building on this foundation, he helped develop UNICORN: A Unified Backdoor Trigger Inversion Framework, which formally defined the trigger inversion problem to generalize across various attack types without relying on attack-specific constraints.

As large language models evolved into autonomous systems, his focus shifted toward agent architecture and system-level integration. He introduced AIOS: LLM Agent Operating System, a framework designed to manage and optimize the deployment of LLM-based agents by isolating resources and services into a dedicated kernel to improve execution efficiency. Expanding on this system-level approach, he contributed to From Commands to Prompts: LLM-based Semantic File System for AIOS. This work replaces traditional folder hierarchies with a semantic indexing layer, allowing users and agents to manage files based on meaning rather than exact names, advancing work in the direction of Bridging the Lexical Gap in Information Retrieval. To support complex reasoning in these environments, he collaborated on A-Mem: Agentic Memory for LLM Agents, a dynamic memory system that allows agents to autonomously organize and evolve past experiences using interconnected notes.

Alongside system design, he continued to investigate vulnerabilities in these new architectures. He participated in the development of Agent Security Bench (ASB): Formalizing and Benchmarking Attacks and Defenses in LLM-based Agents, a comprehensive framework that evaluates threats such as mixed attacks and plan-of-thought backdoors, contributing to the study of Indirect Prompt Injection in Autonomous LLM Agents. Concurrently, he explored the internal mechanics of these models in Massive Values in Self-Attention Modules are the Key to Contextual Knowledge Understanding. This research identified extreme numerical outliers within attention mechanisms as critical components for processing contextual knowledge, aligning with the research direction of Functional Specialization of Retrieval Heads in Transformers.

In his most recent work, he has explored how agents interact with complex environments and each other. He co-developed Agents in the Wild: Safety, Society, and the Illusion of Sociality on Moltbook, an empirical study of an AI-only social platform that revealed how agents form shallow social structures and remain susceptible to philosophical framing attacks. To address the persistent challenge of hallucination in agents navigating digital interfaces, he introduced R-WoM: Retrieval-augmented World Model For Computer-use Agents, which grounds mental simulations in retrieved external knowledge to maintain accurate long-horizon planning.

Current Directions

Recent work investigates the deployment of autonomous agents in complex, open-ended environments, focusing on both their cognitive architectures and their social dynamics. A primary theme is the development of robust world models for computer-use agents, aiming to mitigate hallucination and drift during long-horizon tasks by grounding agent simulations in retrieved external knowledge. Concurrently, this research explores the emergent behaviors of large language models in multi-agent settings. By studying AI-only social platforms, current efforts seek to understand how agents form social structures, communicate, and respond to novel safety threats, particularly those that exploit philosophical framing rather than traditional technical vulnerabilities. Together, these directions aim to create more reliable, grounded, and secure autonomous systems for real-world interaction.

Profile updated

See something wrong? Report a mistake