A Learning-Based Framework for Safe Human-Robot Collaboration with Multiple Backup Control Barrier Functions