In recent years, due to the detrimental impact of traditional gas-liquid refrigerants on the environment, the pursuit of solid-state refrigeration technology based on elastocaloric effect, as a promising sustainable alternative, has been promoted. However, the traditional trial-and-error method is inefficient and difficult to meet the material application requirements. In this work, machine learning (ML) was employed to accelerate the development of NiTi-based shape memory alloy (SMA) with excellent elastocaloric effect. By means of active learning, we identified 9 novel NiTi-based SMAs in four iterations, the phase transformation-induced entropy change (ΔS) of which are as high as over 90 J/kg·K-1. Moreover, the model exhibits good interpretability, allowing us to understand the relevance between the target and features from the aspect of mechanism.