Context-aware movie recommendations with large language models

dc.contributor.advisorSilva, ATP
dc.contributor.authorAttidiya, CB
dc.date.accept2024
dc.date.accessioned2025-09-26T09:21:16Z
dc.date.issued2024
dc.description.abstractThe rapid growth of online streaming platforms has resulted in a vast information overload of movie content, presenting a challenge for users in their day to day lives. Effective recommendation systems are vital for improving user experience by providing personalizing content to individual users. This thesis introduces an advanced approach leveraging cutting- edge artificial intelligence technologies, employing ChatGPT along with text-embedding-3- large embedding model, integrated with the Weaviate vector database, to create dynamic recommendation model for movie recommendation. We have generated embedding vectors for 26,942 movies with additionally retrieved metadata, to build this personalized recommendation system. Two distinct recommendation models were developed and were used to compare their recommendation capabilities. The first model creates a centroid reference vector for each user based on their movie ratings of three stars or higher. This reference vector is then used to search for similar movies within the vector database using L2-squared distance, aiming to match user movie preferences. The second model refines this approach by adjusting the centroid vectors according to the weight of user ratings, allowing for a more complete reflection of user tastes. Comparative analysis on recall, precision, F1 score, and hit rate (HR) for the top 5 and top 10 recommendations shows Model 1 achieving a recall of 1.8% and 2.81%, precision of 17.01% and 14.03%, and F1 scores of 3.15% and 4.45% respectively. These metrics demonstrate its effectiveness, with HR in the top 5 and top 10 recommendations reaching 48.97% and 63.66%, respectively. This indicates that Model 1 not only identifies relevant movies with relatively better accuracy but also does so more consistently than Model 2 and is computationally efficient. The results of this study highlight the potential of using advanced AI models to significantly enhance the precision and user satisfaction of movie recommendation systems. This approach allows for a deeper understanding of user preferences and the ability to predict user needs, ultimately leading to a more engaging and satisfying viewing experience.
dc.identifier.accnoTH5763
dc.identifier.citationAttidiya, C.B. (2024). Context-aware movie recommendations with large language models [Master’s theses, University of Moratuwa]. Institutional Repository University of Moratuwa. https://dl.lib.uom.lk/handle/123/24228
dc.identifier.degreeMSc in Artificial Intelligence
dc.identifier.departmentDepartment of Computational Mathematics
dc.identifier.facultyIT
dc.identifier.urihttps://dl.lib.uom.lk/handle/123/24228
dc.language.isoen
dc.subjectMOVIE RECOMMENDATION SYSTEMS
dc.subjectLARGE LANGUAGE MODELS
dc.subjectTEXT EMBEDDING MODELS
dc.subjectVECTOR DATABASES
dc.subjectARTIFICIAL INTELLIGENCE-Dissertation
dc.subjectCOMPUTATIONAL MATHEMATICS-Dissertation
dc.subjectMSc in Artificial Intelligence
dc.titleContext-aware movie recommendations with large language models
dc.typeThesis-Full-text

Files

Original bundle

Now showing 1 - 3 of 3
Loading...
Thumbnail Image
Name:
TH5763-1.pdf
Size:
201.63 KB
Format:
Adobe Portable Document Format
Description:
Pre-text
Loading...
Thumbnail Image
Name:
TH5763-2.pdf
Size:
231.34 KB
Format:
Adobe Portable Document Format
Description:
Post-text
Loading...
Thumbnail Image
Name:
TH5763.pdf
Size:
2.41 MB
Format:
Adobe Portable Document Format
Description:
Full-thesis

License bundle

Now showing 1 - 1 of 1
Loading...
Thumbnail Image
Name:
license.txt
Size:
1.71 KB
Format:
Item-specific license agreed upon to submission
Description: