The present application belongs to the technical field of video recommendation, and particularly relates to a method and apparatus for recommending a short video, an electronic device, and a storage medium. The method comprises: step 1, obtaining historical viewing data of a user, determining a first short video identifier information
list and a second short video identifier information
list, and generating a first
feature vector and a second
feature vector; step 2, obtaining a short video identifier information
list to be expanded, and, on the basis of the short video identifier information list to be expanded, generating a third
feature vector; step 3, on the basis of the first feature vector, the second feature vector, and the third feature vector, calculating a fourth feature vector; and step 4, obtaining a short
video library to be recommended, extracting a short video identifier information list to be recommended, generating a fifth feature vector, calculating the similarity between the fifth feature vector and the fourth feature vector, and, on the basis of the similarity, filtering out a short video to be recommended. According to the present application, short video identifier information is expanded, thereby improving the diversity and freshness of short video recommendation.