TIJO: Trigger Inversion with Joint Optimization for Defending Multimodal Backdoored Models