Decoding AI for Batch Process Optimization