A novel multi-task XGBoost model shows robust overall performance in predicting antimicrobial resistance in common gram-negative pathogens.