The invention discloses a music recommendation method and
system based on a
knowledge graph. The content comprises multi-
modal data collection,
knowledge graph construction, multi-
granularity clustering, fusion recall, adaptive
perception optimization and intelligent recommendation. The invention relates to the technical field of music intelligent recommendation, in particular to a music recommendation method and
system based on a
knowledge graph, and the method comprises the steps: constructing a heterogeneous knowledge graph with a
timestamp, accessing a time-aware graph self-
attention network, attaching a multi-
modal vector to a node, and combining a coding structure, content and
time sequence attenuation; the clustering is softly injected into the topology, small-batch clustering is combined with neighbor indexes to realize large-scale soft distribution, and multi-
granularity clustering is generated through modular
community detection and theme labeling; clustering
perception recall is adopted in retrieval, firstly, a user is mapped to a nearest cluster, then a long
tail is expanded according to a high-weight path, long
tail coverage and
cold start capability is enhanced, more accurate personalized matching is achieved, and recommendation correlation and diversity are improved.