Ziwei Xu
· 3 previous affiliations
- FAR.AISince 2026
- Researcher · Since 2026
- National University of Singapore2017–2025
- Postdoc · 2022–2025
- PhD student · 2017–2023
- Undergrad student · 2013–2017
Research Overview
Ziwei Xu focuses on knowledge-enhanced machine learning, neuro-symbolic integration, and the safety and trustworthiness of artificial intelligence models. His early work explored visual relation detection and temporal action segmentation by embedding symbolic logic into deep networks. More recently, his research investigates the fundamental limitations of large language models, including hallucination inevitability and vulnerabilities in preference-based alignment.
Research Trajectory
Ziwei Xu received his Ph.D. from the National University of Singapore in 2023 and currently works as a Machine Learning Engineer at TikTok while continuing his independent research. His early academic work began in computer vision and spatial localization. In A Vision-based Indoor Positioning System on Shopping Mall Context, he contributed to a navigation framework that fused deep visual features with text recognition to localize users without relying on pre-installed infrastructure.
A major theme in his subsequent research is the integration of symbolic logic with neural architectures. In Embedding Symbolic Knowledge into Deep Networks, he developed graph embedding techniques to project propositional formulae onto a manifold, improving performance on entailment checking and visual relation prediction. This work contributed to the research direction of Logic Regularization for Consistent Neural Reasoning. He expanded on these neuro-symbolic principles in Don't Pour Cereal into Coffee: Differentiable Temporal Logic for Temporal Action Segmentation, introducing a model-agnostic framework that enforces temporal constraints on deep networks to reduce logical errors in procedural tasks.
Alongside logic integration, he explored robust representation learning for visual concepts. He introduced the Motion Capsule Autoencoder in Unsupervised Motion Representation Learning with Capsule Autoencoders to disentangle motion semantics from viewpoint changes. For static images, he proposed the Blocked Message Passing Network in Relation-Aware Compositional Zero-Shot Learning for Attribute-Object Pair Recognition, enabling models to recognize unseen composite concepts by decoupling and consistently relating primitive attributes and objects. His work on enforcing valid semantic relationships culminated in A Study on Differentiable Logic and LLMs for EPIC-KITCHENS-100 Unsupervised Domain Adaptation Challenge for Action Recognition 2023, where he and his collaborators used differentiable logic to enforce valid verb-noun pairings, leveraging large language models to predict plausible actions absent from training data.
More recently, the trajectory has shifted toward the fundamental capabilities, safety, and alignment of large language models. In Hallucination is Inevitable: An Innate Limitation of Large Language Models, he applied computability theory to formally prove that hallucination remains an inescapable limitation of LLMs regardless of scale, advancing the area of The Mathematical Inevitability of Language Model Hallucination. He also investigated how models approach complex problem-solving in Position: Reasoning LLMs are Wandering Solution Explorers, demonstrating that models often wander through potential solutions rather than systematically exploring them.
Continuing to probe model internals and vulnerabilities, he participated in developing the SAFARI algorithm in One Swallow Does Not Make a Summer: Understanding Semantic Structures in Embedding Spaces to uncover latent hierarchical structures in AI embedding spaces. In the domain of model safety, he explored how role-playing affects guardrails in Bullying the Machine: How Personas Increase LLM Vulnerability, showing that coercing models conditioned with specific personality traits can bypass safety measures, contributing to the research direction of How Persona Consistency Overrides Safety Alignment. Finally, he addressed the mathematical stability of alignment techniques in Strong Preferences Affect the Robustness of Preference Models and Value Alignment. This work revealed that preference models are highly sensitive to dominant preferences, where minor shifts can drastically alter predictions, a key finding in the areas of Robustness and Instability in Preference Based Alignment and Learning from Non-Transitive Human Preferences.
Current Directions
The most recent papers in the evidence address the safety, alignment, and fundamental reasoning limitations of large language models. Recent work investigates the vulnerabilities introduced when LLMs adopt personas, demonstrating how psychological framing and adversarial dialogue can bypass established safety guardrails. Additionally, current research focuses on the mathematical robustness of preference models used in value alignment, highlighting how extreme or dominant preferences can destabilize model predictions and complicate alignment efforts. Beyond safety, there is an ongoing focus on understanding the internal mechanics of AI systems, from formalizing the inevitability of hallucinations to mapping the latent semantic structures within high-dimensional embedding spaces.
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