Predicting answers to product questions using similar products

海外精选
海外精选的内容汇集了全球优质的亚马逊云科技相关技术内容。同时,内容中提到的“AWS” 是 “Amazon Web Services” 的缩写,在此网站不作为商标展示。
0
0
{"value":"Community product question answering (PQA) is a popular and important feature on e-commerce websites. Customers ask, for example, “Will these jeans shrink after a wash?” or “Can I put this dish in the microwave?”, and other customers answer based on their experiences.\n\nMany e-commerce sites also offer automatic question-answering tools, which attempt to address questions immediately, while customers are waiting for responses from the community. These tools typically work by retrieving potential answers from archives of previously resolved questions. However, in many cases, relevant Q&A records cannot be found, because the product is new or rare, or it simply did not get enough attention from the community. \n\nIn a [paper](https://www.amazon.science/publications/answering-product-questions-by-utilizing-questions-from-other-contextually-similar-products) accepted at this year’s meeting of the North American chapter of the Association for Computational Linguistics ([NAACL](https://www.amazon.science/conferences-and-events/naacl-2021)), Ohad Rozen, David Carmel, Vitaly Mirkis, Yftah Ziser, and I present a novel approach to predicting the answers to such unanswered questions by identifying similar questions asked about similar products. Ohad is a graduate student at Bar-Ilan university in Israel, and the research was done as part of his internship with our team during the summer of 2020.\n\n![image.png](https://dev-media.amazoncloud.cn/3b512415a60e4b17b3318b025583d49a_image.png)\n\nIn addition to the predicted answer to a product-related question, the researchers’ system also provides the similar questions and answers that were the basis of the prediction, helping customers form their own opinions.\n\nIn an experiment using yes-no questions from multiple product categories in Amazon’s PQA dataset, our method predicts the correct yes-no answer with an accuracy ranging from 75% to 80%, depending on the number of similar products available for comparison.\n\nOne original property of our approach is that, in addition to the predicted answer, we also return the similar questions and answers that were its basis. These provide customers with some context and rationale for the model’s predictions, which help them form their own opinions, even when the predictions are inaccurate. Hopefully, by consulting these resources, customers can infer the correct answers themselves.\n\n#### **Answer prediction method**\n\nOur method operates in four steps, as shown in the following example:\n\n![image.png](https://dev-media.amazoncloud.cn/9e7474f331fb49469027ddd221f3950b_image.png)\n\n**Step 1:** Given a new question about a specific product, our algorithm retrieves a few hundred records of questions asked about other products. Each record includes both a question-answer pair and data about the relevant product. As the retrieval is performed over a large corpus, we estimate similarity using nearest-neighbor search over pretrained embeddings, a fast but approximate method.\n\n**Step 2:** Using a question-to-question similarity model — a much more accurate but slower neural model, trained on similar-question pairs — we recompute the semantic similarity between the questions in the retrieved records and the new question. Only records with high semantic similarity are retained.\n\n**Step 3:** Each of the retained records, together with the record for the current question, passes to a novel contextual-product-similarity (CPS) model that we developed. The CPS model estimates the similarity between two products in the context of a specific question. For example, two pairs of jeans may be considered similar in the context of the question “Can I put them in the dryer?” but not in the context of the question “Are these stretchy?” The CPS model estimates the similarity between the current product and each of the products retained in step 2, in the context of the current question.\n\n**Step 4:** Finally, we use the CPS model scores to weight the answers as voters in a mixture-of-experts model in order to predict the answer to the customer’s question.\n\n#### **Contextual product similarity**\n\nThe CPS model is based on a scalable and unsupervised training procedure that we developed, which is performed offline and leverages a large corpus of resolved product questions — in particular, yes-no questions, or questions that can be answered by a simple yes or no. \n\nThe key element of the training procedure, as shown in the example below, is locating pairs of products from the same product category — e.g., pairs of jeans — where both products also have highly similar yes-no questions — e.g., “Are these stretchy?” and “Do they stretch?”\n\nTo measure the similarity between questions, we use the same question-to-question model that filters candidate questions at inference time (step 2, above). Each product pair is labeled as similar or not similar, in the context of the question, according to the agreement or disagreement of the yes-no answers. Through this automatic and unsupervised procedure, we produce a large-scale labeled dataset, which we then use to train the CPS model.\n\n![image.png](https://dev-media.amazoncloud.cn/8555666df17f460084e6f3161c559815_image.png)\n\nProducts are paired according to the similarity of their questions. Each pair is then labeled as similar or not similar, in the context of the question, according to the agreement or disagreement of the yes-no answers.\n\nWe continue to work on improving our model, but even without perfect accuracy, we believe customers will already find it beneficial. Returning the related Q&As that we use for answer prediction lets customers decide for themselves how reliable the predictions are. Customers’ interactions with these Q&As, in an assisted-AI approach, can feed continuous-learning methods that help improve our predictions further.\n\nABOUT THE AUTHOR\n#### **Avihai Mejer**\nAvihai Mejer is a managing research scientist in the Alexa Shopping organization.\n\n","render":"<p>Community product question answering (PQA) is a popular and important feature on e-commerce websites. Customers ask, for example, “Will these jeans shrink after a wash?” or “Can I put this dish in the microwave?”, and other customers answer based on their experiences.</p>\n<p>Many e-commerce sites also offer automatic question-answering tools, which attempt to address questions immediately, while customers are waiting for responses from the community. These tools typically work by retrieving potential answers from archives of previously resolved questions. However, in many cases, relevant Q&amp;A records cannot be found, because the product is new or rare, or it simply did not get enough attention from the community.</p>\n<p>In a <a href=\\"https://www.amazon.science/publications/answering-product-questions-by-utilizing-questions-from-other-contextually-similar-products\\" target=\\"_blank\\">paper</a> accepted at this year’s meeting of the North American chapter of the Association for Computational Linguistics (<a href=\\"https://www.amazon.science/conferences-and-events/naacl-2021\\" target=\\"_blank\\">NAACL</a>), Ohad Rozen, David Carmel, Vitaly Mirkis, Yftah Ziser, and I present a novel approach to predicting the answers to such unanswered questions by identifying similar questions asked about similar products. Ohad is a graduate student at Bar-Ilan university in Israel, and the research was done as part of his internship with our team during the summer of 2020.</p>\\n<p><img src=\\"https://dev-media.amazoncloud.cn/3b512415a60e4b17b3318b025583d49a_image.png\\" alt=\\"image.png\\" /></p>\n<p>In addition to the predicted answer to a product-related question, the researchers’ system also provides the similar questions and answers that were the basis of the prediction, helping customers form their own opinions.</p>\n<p>In an experiment using yes-no questions from multiple product categories in Amazon’s PQA dataset, our method predicts the correct yes-no answer with an accuracy ranging from 75% to 80%, depending on the number of similar products available for comparison.</p>\n<p>One original property of our approach is that, in addition to the predicted answer, we also return the similar questions and answers that were its basis. These provide customers with some context and rationale for the model’s predictions, which help them form their own opinions, even when the predictions are inaccurate. Hopefully, by consulting these resources, customers can infer the correct answers themselves.</p>\n<h4><a id=\\"Answer_prediction_method_14\\"></a><strong>Answer prediction method</strong></h4>\\n<p>Our method operates in four steps, as shown in the following example:</p>\n<p><img src=\\"https://dev-media.amazoncloud.cn/9e7474f331fb49469027ddd221f3950b_image.png\\" alt=\\"image.png\\" /></p>\n<p><strong>Step 1:</strong> Given a new question about a specific product, our algorithm retrieves a few hundred records of questions asked about other products. Each record includes both a question-answer pair and data about the relevant product. As the retrieval is performed over a large corpus, we estimate similarity using nearest-neighbor search over pretrained embeddings, a fast but approximate method.</p>\\n<p><strong>Step 2:</strong> Using a question-to-question similarity model — a much more accurate but slower neural model, trained on similar-question pairs — we recompute the semantic similarity between the questions in the retrieved records and the new question. Only records with high semantic similarity are retained.</p>\\n<p><strong>Step 3:</strong> Each of the retained records, together with the record for the current question, passes to a novel contextual-product-similarity (CPS) model that we developed. The CPS model estimates the similarity between two products in the context of a specific question. For example, two pairs of jeans may be considered similar in the context of the question “Can I put them in the dryer?” but not in the context of the question “Are these stretchy?” The CPS model estimates the similarity between the current product and each of the products retained in step 2, in the context of the current question.</p>\\n<p><strong>Step 4:</strong> Finally, we use the CPS model scores to weight the answers as voters in a mixture-of-experts model in order to predict the answer to the customer’s question.</p>\\n<h4><a id=\\"Contextual_product_similarity_28\\"></a><strong>Contextual product similarity</strong></h4>\\n<p>The CPS model is based on a scalable and unsupervised training procedure that we developed, which is performed offline and leverages a large corpus of resolved product questions — in particular, yes-no questions, or questions that can be answered by a simple yes or no.</p>\n<p>The key element of the training procedure, as shown in the example below, is locating pairs of products from the same product category — e.g., pairs of jeans — where both products also have highly similar yes-no questions — e.g., “Are these stretchy?” and “Do they stretch?”</p>\n<p>To measure the similarity between questions, we use the same question-to-question model that filters candidate questions at inference time (step 2, above). Each product pair is labeled as similar or not similar, in the context of the question, according to the agreement or disagreement of the yes-no answers. Through this automatic and unsupervised procedure, we produce a large-scale labeled dataset, which we then use to train the CPS model.</p>\n<p><img src=\\"https://dev-media.amazoncloud.cn/8555666df17f460084e6f3161c559815_image.png\\" alt=\\"image.png\\" /></p>\n<p>Products are paired according to the similarity of their questions. Each pair is then labeled as similar or not similar, in the context of the question, according to the agreement or disagreement of the yes-no answers.</p>\n<p>We continue to work on improving our model, but even without perfect accuracy, we believe customers will already find it beneficial. Returning the related Q&amp;As that we use for answer prediction lets customers decide for themselves how reliable the predictions are. Customers’ interactions with these Q&amp;As, in an assisted-AI approach, can feed continuous-learning methods that help improve our predictions further.</p>\n<p>ABOUT THE AUTHOR</p>\n<h4><a id=\\"Avihai_Mejer_43\\"></a><strong>Avihai Mejer</strong></h4>\\n<p>Avihai Mejer is a managing research scientist in the Alexa Shopping organization.</p>\n"}
目录
亚马逊云科技解决方案 基于行业客户应用场景及技术领域的解决方案
联系亚马逊云科技专家
亚马逊云科技解决方案
基于行业客户应用场景及技术领域的解决方案
联系专家
0
目录
关闭