The application provides a kind of based on multi-task learning's submarine pipeline flow field prediction method and system, comprising: using variable scaling physical information neural network framework, construct the multi-task learning model for solving cylinder flow problem;Total loss function of multi-task learning model is constructed, and the adaptive loss function weighting method based on uncertainty estimation is used and the weight growth factor is introduced, to dynamically allocate weights for each loss term in the total loss function, obtain the final total loss function;Physical information neural network is trained based on the final total loss function, and the trained physical information neural network is obtained;Based on the trained physical information neural network, the target submarine pipeline flow field is predicted, and the prediction result is obtained;Wherein, the prediction result includes the velocity component and pressure distribution of the flow field around the flow field.The application has higher prediction accuracy and reliability compared with the prior art when solving the problem of submarine pipeline hydrodynamic analysis.