Hydrothermal liquefaction (HTL) is a thermochemical conversion technology that produces bio-oil from wet biomass without drying. However, by-product gases will inevitably be produced, and their formation is unclear. Therefore, an automated machine learning (AutoML) approach, automatically training without human intervention, was used to aid in predicting gaseous production and interpreting the formation mechanisms of four gases (CO2, CH4, CO, and H2). Specifically, four accurate optimal single-target models based on AutoML were developed with elemental compositions and HTL conditions as inputs for four gases. Herein, the gradient boosting machine (GBM) performed excellently with train R2 ≥ 0.99 and test R2 ≥ 0.80. Then, the screened GBM algorithm-based ML multi-target models (maximum average test R2 = 0.89 and RMSE = 0.39) were built to predict four gases simultaneously. Results indicated that biomass carbon, solid content, pressure, and biomass hydrogen were the top four factors for gas production from HTL of biomass. This study proposed an AutoML-aided prediction and interpretation framework, which could provide new insight for rapid prediction and revelation of gaseous compositions from the HTL process.