Tag
TRACE proposes a trajectory-based safety patch learning framework for LLM post-training realignment, which learns a plug-in patch that minimally interferes with task-relevant directions while decisively controlling unsafe behaviors, achieving near 100% safety across benchmarks while maintaining utility.