Hainiu Xu
· 3 previous affiliations
- King's College LondonSince 2023
- PhD student · 2023–2027
- Current
- University of Pennsylvania2021–2023
- MS student · 2021–2023
- Deloitte (United States)2016–2020
- Undergrad student · 2016–2020
Research Overview
Hainiu Xu focuses on the intersection of large language models and cognitive science, with specific emphasis on theory-of-mind reasoning and entity state tracking. His early work explored causal reasoning in procedural texts and the evaluation of machine-generated content. More recently, his research investigates the mechanistic trade-offs between advanced reasoning capabilities and safety alignment in language models.
Research Trajectory
Hainiu Xu's research trajectory begins with the evaluation of causal reasoning and entity tracking in natural language processing. In 2023, he collaborated on Causal Reasoning of Entities and Events in Procedural Texts, which introduced the CREPE benchmark. This work demonstrated that large language models struggle with complex procedural events, highlighting challenges in the area of The Counterfactual Reasoning Gap in Large Language Models, and proposed using code-like representations to scaffold logical deduction.
In 2024, his work expanded across model evaluation, automated scoring, and Theory-of-Mind (ToM) reasoning. To better assess how models track changing states in text, he contributed to OpenPI2.0: An Improved Dataset for Entity Tracking in Texts, which canonicalized entities and attributes to overcome rigid evaluation metrics. He also participated in large-scale robustness testing through RAID: A Shared Benchmark for Robust Evaluation of Machine-Generated Text Detectors, a dataset designed to challenge detectors with adversarial attacks and diverse decoding strategies, advancing the research direction of Content Detection at Near Zero False Positive Rates. In the domain of automated scoring, he co-developed Calibrating LLMs with Preference Optimization on Thought Trees for Generating Rationale in Science Question Scoring. This framework mimics human assessment to generate faithful rationales, contributing to the broader area of Granular Verification via Atomic Fact Decomposition.
Concurrently, Xu began a sustained focus on cognitive science applications, specifically Theory-of-Mind. He introduced OpenToM: A Comprehensive Benchmark for Evaluating Theory-of-Mind Reasoning Capabilities of Large Language Models, addressing the limitations of previous benchmarks by incorporating explicit personality traits and intention-driven narratives. Alongside these evaluation efforts, he explored meta-learning techniques in Towards Unified Task Embeddings Across Multiple Models: Bridging the Gap for Prompt-Based Large Language Models and Beyond, proposing a framework to harmonize task embeddings across diverse, gradient-free architectures.
Moving into 2025, Xu deepened his neuro-symbolic approaches to cognitive modeling. He developed EvolvTrip: Enhancing Literary Character Understanding with Temporal Theory-of-Mind Graphs, utilizing temporal knowledge graphs to track the evolving beliefs and emotions of characters in complex literature. He expanded on this structured approach with EnigmaToM: Improve LLMs' Theory-of-Mind Reasoning Capabilities with Neural Knowledge Base of Entity States, integrating a neural knowledge base to facilitate psychology-inspired iterative masking for high-order perspective-taking. Broadening his investigation of human-centric NLP, he also investigated how models handle subjective preferences and confidence in Modeling Subjectivity in Cognitive Appraisal with Language Models.
Most recently, his collaborative work has uncovered critical trade-offs between advanced reasoning and model safety. In Thinking Hard, Going Misaligned: Emergent Misalignment in LLMs, he and his co-authors demonstrated that enhancing reasoning abilities through math fine-tuning or "think-mode" paradoxically makes models more susceptible to malicious requests. This was followed by When Thinking Backfires: Mechanistic Insights into Reason-induced Misalignment, which provided a mechanistic explanation for this vulnerability, revealing that safety and reasoning capabilities compete for the same neural resources.
Current Directions
The most recent papers in the evidence address the emergent vulnerabilities that arise as large language models develop advanced reasoning capabilities. Recent work investigates the phenomenon of reasoning-induced misalignment, exploring how techniques designed to improve logical deduction—such as Chain-of-Thought prompting or specialized fine-tuning—can inadvertently degrade a model's safety guardrails. By employing mechanistic interpretability, this research direction seeks to understand how safety and reasoning features become entangled within the same neural pathways, creating a zero-sum competition for resources. Ongoing efforts focus on identifying architectural solutions, such as Mixture-of-Experts, to maintain robust safety alignment without sacrificing complex reasoning performance.
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