Hanlin Wang

Hanlin Wang

Hong Kong Polytechnic University
2 previous affiliations
4Machine learning papers tracked by Lacuna

1 other author named Hanlin Wang: Hanlin Wang (Hong Kong University of Science and Technology · 3 papers)

Is this you?

Research Overview

Hanlin Wang focuses on the development of embodied agents and large language models, with a particular emphasis on error correction and trajectory calibration in complex environments. Early work explored mechanisms of fine-tuning attacks on safety alignments, while recent research centers on training agents to recover from execution errors and navigate long-horizon tasks through step-level calibration.

Research Trajectory

Based on the available corpus of work from 2024 to 2025, Hanlin Wang’s research trajectory begins with investigations into the safety and alignment of large language models (LLMs) before transitioning into a primary focus on embodied AI and agent learning.

In 2024, Wang participated in collaborative research examining the vulnerabilities of LLM safety alignments. This work, detailed in No Two Devils Alike: Unveiling Distinct Mechanisms of Fine-tuning Attacks, analyzed how different attack strategies—such as fine-tuning on harmful examples versus prefix manipulation—compromise model safeguards. By breaking down the safeguarding process into discrete stages of recognition and generation, the research highlighted the distinct mechanisms through which safety alignments can be bypassed.

Concurrently, Wang led research addressing the limitations of LLMs when deployed as agents in embodied environments. A central challenge in this domain is the misalignment between a model's intrinsic knowledge and the specific constraints of an environment, which frequently leads to infeasible actions. To address this, Wang developed E²CL: Exploration-based Error Correction Learning for Embodied Agents. This framework moves beyond traditional behavior cloning by leveraging exploration-induced errors and environmental feedback to align agents. This work aligns closely with the broader research area of Training Agents to Recover from Execution Errors, emphasizing the necessity of learning from mistakes rather than relying solely on expert demonstrations.

Building on this foundation, Wang's subsequent work tackles the compounding nature of errors in long-horizon tasks. In 2025, Wang introduced STeCa: Step-level Trajectory Calibration for LLM Agent Learning. This research identifies that in complex, multi-step environments, suboptimal actions accumulate, causing agents to drift from correct task trajectories. By proposing a framework for automatic, step-level trajectory calibration, this work provides a mechanism for timely correction during agent training, touching upon challenges relevant to the theme of Credit Assignment for Sparse and Delayed Rewards.

Current Directions

The most recent papers in the evidence indicate a continued focus on improving the robustness and reliability of LLM-based agents in dynamic environments. Current directions center on mitigating compounding errors in long-horizon tasks through automated calibration techniques. By emphasizing step-level corrections rather than relying exclusively on end-of-task feedback, this research aims to keep autonomous agents aligned with correct trajectories over extended interactions. This ongoing work contributes to the broader research direction of Policy Invariant Reward Shaping and the development of agents capable of sustained, accurate execution in complex settings.

Profile updated

See something wrong? Report a mistake