This paper creates an immersive theatrical scene under virtual reality through multimedia technology, and in order to optimize the effect of theatrical experience, the gradient boosting tree algorithm is introduced to recognize the content of theatrical characters’ behavior and speech, which lays the foundation for the interactivity of immersive theatrical experience. Starting from speech recognition, the gradient boosting tree algorithm of this paper is compared with other recognition methods to verify the effectiveness of this paper’s method. The satisfaction model of theater experience is constructed, and the audience’s satisfaction with the immersive theater experience is visualized through the IPA index. The accuracy of this paper’s gradient boosting tree algorithm for speech recognition is 93.38%, 92.62%, 99.88%, which is obviously better than other recognition methods and has higher accuracy. The immersive theater based on gradient boosting tree brings a more satisfactory experience to the audience. In immersive theater, the audience is most satisfied with the social experience, and the satisfaction level (IPA index) reaches 0.80. And the stage setting of immersive theater still has room for improvement.