Порівняльне дослідження методів побудови рекомендацій на основі embeddings для інтернет-магазину парфумерії
Д. О. Осипов, К.С. Смеляков · The Scientific Issues of Ternopil Volodymyr Hnatiuk National Pedagogical University Series pedagogy · 2026
This paper presents a comparative analysis of the effectiveness of modern vector representation (embedding) methods for building a recommendation system within the online perfume retail segment. The primary objective was to investigate and compare various methods for constructing recommendation engines. The object of study is the decision-making process involved in providing recommendations in an online perfume store. The research focused on comparing three technological solutions: OpenAI models (text-embedding-3-small), Google Gemini (text-embedding-004), and the open-source Nomic Embed model, deployed locally via the Ollama platform. The experiment utilized a dataset containing over 8,000 perfume items, where each object was described through a structure of olfactory notes (top, middle, and base notes), brands, concentrations, and target audiences. The architecture of the recommendation system was developed and implemented using the Laravel framework integrated with vector search capabilities. A hybrid mechanism was realized, combining semantic similarity (Content-Based) with heuristic boosting based on brand and category. To calculate the similarity between products in the vector space, the cosine distance method was applied. System performance was evaluated using Precision, Recall, the F1-Score, and average response time. The results demonstrated that the OpenAI model provides the highest quality of semantic analysis, making it the superior choice for deep personalization. Meanwhile, the Ollama (Nomic) model emerged as the leader in processing speed, offering response times critical for high-load, real-time systems. The findings provide a balanced framework for selecting a model based on business priorities: maximum accuracy versus high performance with minimal infrastructure costs.
Cited by 0 works.