AI Beauty Advisor
Semantic-search skincare recommendation engine combining FAISS vector similarity, hybrid ranking, and Gemini structured explanations.
Key Performance Metrics
Executive abstract
Finding skincare products through keyword search often fails because consumer queries focus on symptom descriptions rather than specific chemical ingredient names. AI Beauty Advisor implements a production semantic retrieval pipeline with hybrid re-ranking, Apriori routine bundling, and structured generative explanations.
Empirical exhibit
FAISS Cosine Similarity + Hybrid Linear Scoring
System Architecture & Hybrid Re-Ranking
The search pipeline balances semantic vector matching with exact keyword and filter signals. Candidate products retrieved via FAISS IndexFlatIP are scored using a linear combination: 0.90 * similarity + 0.075 * keyword + 0.025 * filter. This prevents pure embedding drift while preserving semantic discovery.
Routine Bundles via Association Rule Mining
To recommend complementary routine items (such as pairings between cleansers and moisturizers), an offline Apriori algorithm mines category association rules filtered for lift > 1.2. The engine attaches up to two real complementary products to each card, degrading gracefully to an empty array when no valid rule matches.
Latency Benchmarking & Precision Evaluation
Automated evaluation scripts test retrieval speed and relevance. Retrieval-only latency achieves a P50 of 9.5 ms and P95 of 13.0 ms against an SLA budget of 150 ms. Relevance evaluation across 20 curated category and skin-type queries achieves 66.0% precision at rank 5.
What I would do differently
If expanding this project, I would implement human relevance grading rather than heuristic category intersection for evaluation, and fine-tune an embedding model directly on skincare user query pairs.