{"id":22798,"date":"2024-04-02T17:03:17","date_gmt":"2024-03-22T16:07:00","guid":{"rendered":"https:\/\/www.bloomreach.com\/library\/the-incredible-unlock-how-ais-revolutionizing-ecommerce-at-an-unprecedented-pace"},"modified":"2024-06-11T18:12:08","modified_gmt":"2024-06-11T18:12:08","slug":"how-ai-is-revolutionizing-ecommerce-at-an-unprecedented-pace","status":"publish","type":"library","link":"https:\/\/www.bloomreach.com\/en\/blog\/how-ai-is-revolutionizing-ecommerce-at-an-unprecedented-pace","title":{"rendered":"The Incredible Unlock: How AI\u2019s Revolutionizing Ecommerce at an Unprecedented Pace"},"content":{"rendered":"<p>Artificial intelligence, as we&#8217;re all aware, has permeated every facet of our lives. However, the sheer velocity at which AI has revolutionized our world is frequently underestimated. Take, for instance, the meteoric rise of ChatGPT. It astoundingly&nbsp;<a href=\"https:\/\/www.bloomreach.com\/en\/blog\/how-generative-ai-will-transform-commerce-and-marketing\" rel=\"noopener noreferrer\"><u>amassed 100 million monthly active users in a mere two months<\/u><\/a>. To put this into perspective, Facebook, one of the world&#8217;s most influential social media platforms, took four years to achieve the same feat.<\/p>\n<p>The momentum of AI is unrelenting, with projections indicating a staggering global economic contribution of&nbsp;<a href=\"https:\/\/ecommercedb.com\/insights\/artificial-intelligence-ai-trends-in-ecommerce-2024\/4720\" rel=\"noopener noreferrer\" target=\"_blank\"><u>$15.7 trillion by 2030<\/u><\/a>. Particularly in the realm of ecommerce, the phenomenal surge in AI advancements is propelling the entire sector into uncharted territories that were inconceivable just a few years prior. In this post, I will delve into the history of AI usage at Bloomreach and why the recent breakthroughs are so impactful for the ecommerce industry.&nbsp;<\/p>\n<p><meta charset=\"utf-8\" \/><\/p>\n<h2 dir=\"ltr\">The \u201cTraditional\u201d AI Approach in Search<\/h2>\n<p dir=\"ltr\">AI isn\u2019t new to ecommerce \u2014 for example, Bloomreach has been&nbsp;<a href=\"https:\/\/www.bloomreach.com\/en\/products\/loomi\" rel=\"noopener noreferrer\"><u>using AI<\/u><\/a> to power our first products. We started at first to leverage the power of&nbsp;<a href=\"https:\/\/www.bloomreach.com\/en\/blog\/natural-language-processing\" rel=\"noopener noreferrer\"><u>natural language processing<\/u><\/a> algorithms to power our&nbsp;<a href=\"https:\/\/www.bloomreach.com\/en\/blog\/best-semantic-search-engine\" rel=\"noopener noreferrer\"><u>semantic search<\/u><\/a> capabilities. This improved the retrieval step of our system by increasing recall and precision. Utilizing ontology dictionaries, we were able to extract information from queries and products using algorithms like the Aho-Corasick search string algorithm. Then in the ranking step, we utilized the power of big data processing merging aggregate usage data from our customers with advanced ranking algorithms to deliver a much better consumer experience.<\/p>\n<p dir=\"ltr\">Ultimately, the algorithms resolve into a set of if-then-else rules that runs well on a CPU. We would apply these heuristic algorithms as a way to streamline the amount of computing the AI needs to do. However, these algorithms have limitations. For example, when we see a word before another word in English, we generally know that the first word is the descriptor vs. the product, and can apply that heuristic to help the search engine parse queries and serve more relevant results. But this doesn\u2019t apply to every term, or in the case of languages outside of English, we would need different heuristics.<\/p>\n<p><img decoding=\"async\" alt=\"Example of natural language processing and AI for search results\" src=\"https:\/\/www.bloomreach.com\/wp-content\/uploads\/2024\/05\/ai-based-product-search_nlp-example.jpg\" \/><\/p>\n<p dir=\"ltr\">To achieve both recall and precision, we needed extensive dictionaries that specified ontology and synonyms. However, these curated data sets that our algorithms used could lead to errors, as not all corner cases can be covered. For instance, we added the synonym \u201cOLED\u201d for \u201cTV\u201d because many people used the term OLED when looking for TVs. This worked for queries that were just \u201cOLED,\u201d but this simple algorithm would sometimes interpret a search for \u201cOLED TV\u201d as \u201cTV TV,\u201d which was in a lot of battery descriptions. As a result, without additional conditions to the algorithm to handle this particular case, it would yield irrelevant results.<\/p>\n<p dir=\"ltr\">Building a generic algorithm that would apply to all corner cases becomes challenging, and thus a lot of exceptions would be needed. This ends up requiring too many conditional statements, making it too difficult for human programmers to build an algorithm to cover all the corner cases, let alone run it in a performant way on a CPU.<\/p>\n<p>This is where the recent advancements in AI come into the picture.<\/p>\n<h2 dir=\"ltr\">The Fundamental Shift in AI&nbsp;<\/h2>\n<p dir=\"ltr\">In recent years,&nbsp;<a href=\"https:\/\/www.bloomreach.com\/en\/blog\/what-is-generative-ai\" rel=\"noopener noreferrer\"><u>generative AI<\/u><\/a> has brought about a seismic shift in our approach to AI. While many people now associate generative AI with ChatGPT, its applications extend far beyond content generation.<\/p>\n<p dir=\"ltr\">The advent of deep learning utilizing&nbsp;<a href=\"https:\/\/www.bloomreach.com\/en\/blog\/two-tower-neural-networks\" rel=\"noopener noreferrer\"><u>neural networks<\/u><\/a> has been instrumental in the development of generative AI such as&nbsp;<a href=\"https:\/\/www.bloomreach.com\/en\/blog\/where-do-large-language-models-fit-into-the-future-of-e-commerce\" rel=\"noopener noreferrer\"><u>large language models<\/u><\/a> (LLMs). These new techniques apply deep learning methods, unlocked by the power of parallel computing on GPUs, allowing us to deal with complex understanding that scales by the amount of data that is fed to the models. An analogy is that instead of needing humans to create the perfect heuristic algorithm, we can now create a model-building algorithm that essentially creates a \u201cmuch better heuristic algorithm\u201d by training it with data\/examples. We call this model training, and the \u201cmuch better heuristic algorithm\u201d can be used to solve these natural language challenges quickly and cost-effectively through inferencing on a GPU.<\/p>\n<p>So, in the previous example, instead of needing a synonym and an algorithm to deal with inserting the right synonym into the correct terms, the term \u201cOLED TV\u201d is transformed through a language encoder model into a vector embedding. This embedding, a multi-dimensional set of numbers, represents the concept of OLED TV, which will be similar to a TV in terms of its Euclidean distance: no synonyms or dictionaries needed.<\/p>\n<p><img decoding=\"async\" alt=\"Using deep learning in AI to create heuristic algorithms for &quot;OLED TV&quot; search term\" src=\"https:\/\/www.bloomreach.com\/wp-content\/uploads\/2024\/05\/ai-revolution_oled-tv-example.png\" \/><\/p>\n<p dir=\"ltr\">We\u2019ve already been using the&nbsp;<a href=\"https:\/\/www.bloomreach.com\/en\/blog\/using-ai-based-multilingual-entity-detection-to-build-a-robust-semantic-understanding-capability\" rel=\"noopener noreferrer\"><u>language model BERT<\/u><\/a> to help us scale our&nbsp;<a href=\"https:\/\/www.bloomreach.com\/en\/products\/discovery\" rel=\"noopener noreferrer\"><u>product discovery solution<\/u><\/a> into the French and German languages for parts of our algorithm like attribute extraction. These advancements are only the beginning of what\u2019s possible with AI as we begin to leverage the power of vector embeddings in the product domain, which will allow us to push the boundaries of our semantic capabilities.<\/p>\n<h2 dir=\"ltr\">The Exceptional Pace of AI Innovation<\/h2>\n<p dir=\"ltr\">ChatGPT seemingly exploded overnight, and that\u2019s honestly how it feels for generative AI technology as a whole. This is the fastest I\u2019ve ever seen technology innovation \u2014 in just a matter of months, we\u2019ve gone from a 200K context window to 10 million, which is two orders of magnitude! And improved models for every domain are now being released every week. This is an unprecedented pace of innovation, and while there are certainly&nbsp;<a href=\"https:\/\/www.bloomreach.com\/en\/blog\/e-commerce-growth-strategy-over-hype-how-not-to-get-carried-away-by-ai\" rel=\"noopener noreferrer\"><u>challenges for us to navigate<\/u><\/a>, the technology also presents a wealth of opportunities. Just look at what we\u2019ve managed to achieve with&nbsp;<a href=\"https:\/\/www.bloomreach.com\/en\/products\/clarity\" rel=\"noopener noreferrer\"><u>conversational commerce<\/u><\/a>.<\/p>\n<p><iframe allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" allowfullscreen=\"\" frameborder=\"0\" height=\"315\" src=\"https:\/\/www.youtube.com\/embed\/-ec6AaJbRX8?si=w9VSmT68Yyuu11OT\" title=\"YouTube video player\" width=\"560\"><\/iframe><\/p>\n<p dir=\"ltr\">As we continue to discover more ways to innovate with AI, it\u2019s crucial for ecommerce technology companies \u2014 Bloomreach included \u2014 to consider how to be strategic in light of this rapid evolution. Take the classic concept of \u201cgarbage in, garbage out,\u201d for example. Can we improve these problems by using AI to put garbage in, augment it, and get good outputs as a result? How can we leverage the images in product catalogs to enhance product understanding? Can we optimize open-source models to deliver higher quality for specific verticals with low cost and low latency?<\/p>\n<p>These are the questions my team and I have been grappling with at Bloomreach, and we are eager to share the results of our research and development. To follow along, take a look at the&nbsp;<a href=\"https:\/\/www.bloomreach.com\/en\/products\/discovery\/whats-new\" rel=\"noopener noreferrer\"><u>latest features in Bloomreach Discovery<\/u><\/a> and the&nbsp;<a href=\"https:\/\/www.bloomreach.com\/en\/products\/engagement\/roadmap\" rel=\"noopener noreferrer\"><u>roadmap for Bloomreach Engagement<\/u><\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Artificial intelligence, as we&#8217;re all aware, has permeated every facet of our lives. However, the sheer velocity at which AI has revolutionized our world is frequently underestimated. Take, for instance, the meteoric rise of ChatGPT. It astoundingly&nbsp;amassed 100 million monthly active users in a mere two months. To put this into perspective, Facebook, one of [&hellip;]<\/p>\n","protected":false},"author":127,"featured_media":19953,"template":"","ew-regions":[],"ew-solutions":[],"library_type":[513],"library_blog_tag":[359],"industry":[],"channel":[],"topic":[],"class_list":["post-22798","library","type-library","status-publish","has-post-thumbnail","hentry","library_type-blog","library_blog_tag-executive-insights"],"acf":{"library_blog_banner_content":"","library_blog_banner_cta1_text":"","library_blog_banner_cta1_href":"","library_blog_banner_cta1_new_tab":false,"library_blog_banner_cta2_text":"","library_blog_banner_cta2_href":"","library_blog_banner_cta2_new_tab":false,"library_blog_banner_bg_color":"#EAF7FE","library_blog_banner_cta_text_color":"#FFF","library_blog_banner_cta_bg_color":"#019ACE","library_blog_banner_cta2_text_color":"#000","library_blog_banner_cta2_bg_color":"#FFF","library_blog_chatgpt_content":"","library_blog_chatgpt_cta_href":"","library_blog_chatgpt_cta_text":"Ask ChatGPT"},"_links":{"self":[{"href":"https:\/\/www.bloomreach.com\/en\/wp-json\/wp\/v2\/library\/22798","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.bloomreach.com\/en\/wp-json\/wp\/v2\/library"}],"about":[{"href":"https:\/\/www.bloomreach.com\/en\/wp-json\/wp\/v2\/types\/library"}],"author":[{"embeddable":true,"href":"https:\/\/www.bloomreach.com\/en\/wp-json\/wp\/v2\/users\/127"}],"version-history":[{"count":0,"href":"https:\/\/www.bloomreach.com\/en\/wp-json\/wp\/v2\/library\/22798\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.bloomreach.com\/en\/wp-json\/wp\/v2\/media\/19953"}],"wp:attachment":[{"href":"https:\/\/www.bloomreach.com\/en\/wp-json\/wp\/v2\/media?parent=22798"}],"wp:term":[{"taxonomy":"ew_regions","embeddable":true,"href":"https:\/\/www.bloomreach.com\/en\/wp-json\/wp\/v2\/ew-regions?post=22798"},{"taxonomy":"ew_solutions","embeddable":true,"href":"https:\/\/www.bloomreach.com\/en\/wp-json\/wp\/v2\/ew-solutions?post=22798"},{"taxonomy":"library_type","embeddable":true,"href":"https:\/\/www.bloomreach.com\/en\/wp-json\/wp\/v2\/library_type?post=22798"},{"taxonomy":"library_blog_tag","embeddable":true,"href":"https:\/\/www.bloomreach.com\/en\/wp-json\/wp\/v2\/library_blog_tag?post=22798"},{"taxonomy":"industry","embeddable":true,"href":"https:\/\/www.bloomreach.com\/en\/wp-json\/wp\/v2\/industry?post=22798"},{"taxonomy":"channel","embeddable":true,"href":"https:\/\/www.bloomreach.com\/en\/wp-json\/wp\/v2\/channel?post=22798"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.bloomreach.com\/en\/wp-json\/wp\/v2\/topic?post=22798"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}