Patent attributes
An electronic device obtains a plurality of media items, including, for each media item in the plurality, a set of attributes of the media item. The device provides the set of attributes for each media item of the plurality of media items to a machine learning model that is trained to determine a pairwise similarity between respective media items in the plurality of media items and generates an acyclic graph of an output of the machine learning model that is trained to determine pairwise similarity distances between respective media items in the plurality of media items. The device clusters nodes of the acyclic graph, each node corresponding to a media item. Based on the clustering, the electronic device modifies metadata associated with a first media item in a first cluster and displays a representation of the first media item in a user interface according to the modified metadata.