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

Andrew Zhu

University of Pennsylvania · Amazon (United States)
5 previous affiliations
16Machine learning papers tracked by Lacuna
Is this you?

Research Overview

Andrew Zhu focuses on the intersection of large language models (LLMs), interactive storytelling, and the robust evaluation of generative systems. His work frequently utilizes complex, rules-constrained environments—specifically the tabletop role-playing game Dungeons & Dragons (D&D)—as a model social system to study multi-agent coordination, tool-grounded reasoning, and the alignment between natural language and structured game states. More recently, his research has expanded into the development of large-scale benchmarks for the Robust Detection of Adversarially Modified Machine Text and the assessment of complex multi-hop reasoning capabilities in state-of-the-art language models.

Research Trajectory

Zhu’s research trajectory began with an emphasis on the technical challenges of integrating LLMs into specialized, command-driven environments. In 2022, his work explored the translation of natural language dialogue into structured game commands within the context of online role-playing. This early phase established a recurring interest in how generative models can bridge the gap between fluid human interaction and the rigid requirements of game engines and state-management bots. During this period, he also participated in foundational generative modeling research, contributing to the development of DuelGAN, a framework designed to stabilize GAN training through a dual-discriminator approach.

By 2023, Zhu’s focus shifted toward the systemic requirements for deploying LLMs as collaborative assistants and autonomous agents. He led several projects that moved beyond simple command translation to address the cognitive load of human moderators (Dungeon Masters) and the architectural needs of LLM-based applications. This period was marked by the release of significant datasets and software frameworks designed to standardize how researchers interact with and evaluate LLMs in multi-turn, tool-augmented scenarios. His work during this time emphasized the importance of "gold standard" game state information, arguing that models perform significantly better when they have access to structured, ground-truth data rather than heuristically derived context.

In 2024 and 2025, Zhu’s work transitioned toward rigorous benchmarking and the problem of The Generalization Gap in AI Text Detection. As generative models became more pervasive, his research addressed the "arms race" between text generation and detection. He contributed to the creation of massive, multi-domain benchmarks that test the limits of current detection systems against adversarial attacks and varied sampling strategies. Simultaneously, he expanded his evaluation work to include "fan-out" question answering—a complex form of multi-hop reasoning that requires models to synthesize information across numerous documents and entities.

Current Directions

Zhu’s current research is characterized by two primary pillars: the evaluation of agentic behavior in social systems and the pursuit of robustness in machine-generated text detection.

In the domain of agentic evaluation, he continues to use D&D as a proxy for complex human organizing. By comparing the collective behavior of LLM-agent groups to human baselines, his work seeks to identify emergent group dynamics and the potential impact of deploying LLMs within human social structures. This involves the development of tool-grounded simulators where LLMs must assume multiple roles—referee, player, and adversary—within tactically rich and rules-constrained environments. These simulations move the field away from single-turn QA toward long-horizon, goal-driven tasks.

In the area of content detection, Zhu is focused on cross-domain challenges. His work investigates whether detectors can maintain accuracy when faced with models and domains seen during training versus those encountered in "out-of-distribution" scenarios. This involves exploring Iterative Hard Negative Mining to improve the reliability of detection systems. Additionally, he explores how Isolating Writing Style through Contrastive Embeddings might provide more stable signatures for machine-generated text than simple statistical measures like perplexity.

Representative Work

CALYPSO: LLMs as Dungeon Master's Assistants In this first-author study, Zhu addresses the high cognitive load associated with managing complex narrative environments. The paper presents a formative evaluation of how LLMs like GPT-3 and ChatGPT can assist Dungeon Masters (DMs) in synthesizing scenes, managing monster information, and maintaining narrative consistency. By establishing clear use cases through direct interaction with DMs, the work demonstrates that LLMs can lower the barrier to entry for complex role-playing games, provided they are integrated as collaborative tools rather than simple text generators.

Kani: A Lightweight and Highly Hackable Framework for Building Language Model Applications As the lead author of the Kani framework, Zhu developed a model-agnostic, open-source tool designed to overcome the limitations of opinionated LLM frameworks. Kani focuses on the core building blocks of chat interaction: model interfacing, chat management, and robust function calling. The framework is designed for developers who require fine-grained control over prompt formatting and reproducibility, particularly in applications involving tool usage and retrieval-augmented generation (RAG).

FIREBALL: A Dataset of Dungeons and Dragons Actual-Play with Structured Game State Information Zhu led the creation of FIREBALL, a large-scale dataset comprising nearly 25,000 unique sessions of real D&D gameplay recorded from Discord. Unlike previous datasets that relied on heuristic context, FIREBALL provides a "gold standard" by pairing natural language dialogue with true game state information derived from the Avrae bot. This work highlights the critical role of structured state data in improving the quality of LLM-generated game turns and provides a significant resource for studying grounded language use.

FanOutQA: A Multi-Hop, Multi-Document Question Answering Benchmark for Large Language Models In this first-author paper, Zhu introduces a benchmark for "fan-out" questions—complex queries that require an LLM to identify and synthesize information about a large number of entities across multiple Wikipedia documents. By benchmarking seven major LLMs (including GPT-4 and Claude-2.1), the study reveals significant gaps in the multi-hop reasoning capabilities of current models, providing a more challenging metric for evaluating long-context and retrieval-heavy tasks.

GenAI Content Detection Task 3: Cross-Domain Machine-Generated Text Detection Challenge As a primary contributor to this shared task, Zhu explored the limits of cross-domain detection using the RAID benchmark. The research evaluates whether detectors can generalize across a fixed but large number of domains and LLMs. The findings from multiple participant submissions suggest that while high accuracy is achievable in closed-set scenarios, the challenge of maintaining robustness across diverse generative sources remains a significant hurdle for the field.

RAID: A Shared Benchmark for Robust Evaluation of Machine-Generated Text Detectors Zhu participated in the development of RAID, currently the largest and most comprehensive benchmark for machine-generated text detection. The dataset includes over 6 million generations across 11 models and 8 domains, incorporating 11 different adversarial attacks. This work serves as a critical intervention in the detection space, demonstrating that many commercial detectors claiming near-perfect accuracy are fragile when subjected to varied sampling strategies and out-of-domain data.

Profile updated

See something wrong? Report a mistake