1 of 69

ARCHITECTING AZURE AI CLOUD PIPELINE TO IMPROVE PRODUCT INFORMATION FOR CUSTOMERS

1

4/5/2024

Industry Partners:

2 of 69

THE TEAM

2

4/5/2024

Harish Datta

Chitneni

Srujana Kalyadapu

Goutham Kumar

Vemasani

Harthik Miriyala

Yu-Hui Lin

Jinxin Ren

3 of 69

Business Problem Statement

Several products lack suitable or missing descriptions that align well with the displayed product leading to:

    • Inconsistency in product descriptions across products
    • Lower customer satisfaction
    • Higher attrition rates

3

4/5/2024

Missing Product Descriptions On Retailer’s Website

4 of 69

Business Benefits

Including the missing descriptions on the products page will benefit the retailer in the following ways:

4

4/5/2024

Increased customer conversion from the webpage

Reduced customer bounce rates

Consistency across product listings

Enhanced customer retention

Improved website ranking on Google

5 of 69

Business to Analytics Problem Framing

  • Apply LLMs and Image Recognition technology to the analytical process
  • Deploy an end-to-end pipeline on Microsoft Azure to help the retailer solve the product description inconsistency automatically at scale.

5

4/5/2024

6 of 69

Constraints:

Subjectivity in Evaluation: The scoring model may introduce subjectivity in assessing factors like readability, relevance, and correctness. Balancing objective criteria with subjective judgment is crucial for fair and consistent assessments.

Vendor Engagement: Involving vendors to enhance machine-generated descriptions adds complexity and potential delays. Coordinating with vendors for timely feedback and revisions poses challenges

.

Cost and Resources: Deploying and maintaining the cloud pipeline in Microsoft Azure, training machine learning models, and managing associated costs require resources and expertise. Careful consideration is needed for cost-effective model development and infrastructure maintenance.

6

4/5/2024

7 of 69

Datasets

7

4/5/2024

ActiveUPCMarketingInformation.csv

ItemSku

UPC

Type Name

Product

Name

Marketing 

Name

Marketing

Details

Marketing

Features

2410000139

UPCB

CHEEZ-IT WHITE CHEDDAR 12CT CADDY                 

null

null

null

84223400717

UPCA

GARDEIN ULT SAUS'GE BRATWURST 14 OZ               

null

null

null

UPCImages.csv

ItemSku

UPC

2410000139

http://static.meijer.com/Media/006/19659/0061965917459_2_A1C1_0600.png

2410000139

http://static.meijer.com/Media/006/19659/0061965917459_2_A7C1_0600.png

1

*

8 of 69

About the Data

8

4/5/2024

Out of these unique SKUs in the dataset, availability of product descriptions and the corresponding images are as follows:

107,092

3,686

147,714

52,724

311,216

Total Product SKU’s in Dataset

Image

Description

Count

9 of 69

Methodology

9

4/5/2024

Scoring Model

Good

Bad

Image-to-text Model (OCR & Captioning)

Text-to-Text Model

Scoring Model

Published

To Vendor

Azure AI Vision

Product Data

With Image With Description

With Image Without Description

Without Image With Description

Without Image Without Description

10 of 69

Image Captioning Model

BLIP: Bootstrapping Language-Image Pre-training for Unified Vision-Language Understanding & Generation

10

4/5/2024

A package of cat treats

A pair of black socks with tag

A blender with fruit in it

A box of fruity shapes cereal

Example Results

11 of 69

Image Captioning Model

More Image-to-text Models Comparison

11

4/5/2024

MS-git-large-coco

The blender is made of glass and has a glass top

The most popular cereals in the world

The first item in the package is made of black leather.

Food for the family to eat

SalesForce-BLIP2-large

Of the adidas no show sock

Of sheba meaty tuna flavor sticks

Of trix cereal

of the oster osmo pro blender

Prompt: “Generate a thorough product description”

The image features a pair of black socks with a blue label, placed on a white background. The socks are positioned close to each other. The socks appear to be well-maintained and clean, with no visible stains or dirt. The blue label on the socks adds a touch of color and branding to the overall appearance of the product

The image displays a box of Cocoa Puffs, a popular cereal brand, with a cartoon character on the front. The character, a cute and playful rabbit, is smiling and holding a bowl of cereal. The cereal is displayed in a bowl, with the bowl centered in the box. The box is red and white, making it stand out

UnumCloud-uform-gen

12 of 69

OCR Model – Azure Image Analysis 4.0 API

12

4/5/2024

INPUT IMAGE

READ:

IMAGE ANALYSIS 4.0

$1 per 1000 transactions

Azure AI Vision

CAPTION:

TAGS:

General NATURALLY FLAVORED Honey.Nut Cheerios first WHOLE OATS ingredient GRAIN Har lower CHOLESTEROL® AMPLY MADE Gluten Free Sweetened Whole Grain Dat Cereal with Real Honey & Nototal Nowind Flaver NET WT 1 LB 1 OZ (17 OZ) (461g)

text, breakfast cereal, box, cereal, convenience food, food, container, indoor

a box of cereal with a red bowl of oats

13 of 69

Text-to-text Model

  • Apply 4 pre-trained LLMs to generate product descriptions and feature summary
  • Feed all available product information into LLMs
  • State-of-the-art models are employed, such as GPT-3.5 and Llama-2

13

4/5/2024

Prompts

Product Name

Details

Features

Image Information

Outputs

Product Description

Concise Features

Large Language Models

14 of 69

Example Prompts Fed to LLMs for Product Description Generation

14

4/5/2024

User Prompt to LLM

Please help me create an attractive product description in paragraphs for this product:

  1. Product Name: {MarketingName} 
  2. Product Details: {MarketingDetails} 
  3. Product Features: {MarketingFeatures} 
  4. Product Image Caption: {Generated_Caption}
  5. Product Image Text: {OCR_read_output}
  6. Product Image Tags: {Generated_tags}

System Prompt to LLM

"You are a helpful AI Assistant. You are working for a national retailer whose Brand Voice is characterized as friendly, informative, and trustworthy. When drafting product descriptions, it is essential to directly mirror the product's features as they are officially listed. Every feature should be presented precisely and understandably in the description to avoid any confusion. Generate the product descriptions. Also give the confidence score out of 100% for the response should be in the format \"Confidence score: x%\""

15 of 69

Comparison of Text Generation Models

15

4/5/2024

Mixtral-8x7b

instruct

Yankee Candle Vanilla Cupcake

Gemma-7b-it

Llama-2-70b-chat

GPT-3.5

turbo

instruct

Experience the delightful aroma of freshly baked vanilla cupcakes with Yankee Candle Signature Collection Small Tumbler Vanilla Cupcake. This 4.3 Oz. candle features an irresistible fragrance with top notes of vanilla icing and malted sugar, middle notes of cake batter and chocolate, and base notes of cocoa and vanilla bean. The combination of these scents creates a warm, inviting scent that is perfect for any room in your home…

Indulge in the irresistible aroma of freshly baked vanilla cupcakes, layered with layers of buttery icing. This fragrance is reminiscent of the sweet and decadent treats enjoyed on special occasions. Top notes of vanilla icing and malted sugar create a sweet and creamy first impression. The middle notes of cake batter and chocolate bring the sweetness to the forefront, while the base notes of cocoa and vanilla bean add depth and lingered sweetness…

Are you ready to indulge your senses in the sweetest way possible? Look no further than our Yankee Candle Signature Collection Small Tumbler Vanilla Cupcake! This delightful candle combines the rich, creamy aroma of vanilla cupcakes with hints of lemon and buttery icing, creating a mouthwatering scent that's sure to satisfy your sweet tooth…

Introducing the perfect blend of sweetness and indulgence with the Yankee Candle Signature Collection Small Tumbler Vanilla Cupcake. This 4.3 oz candle has a decadent fragrance that will fill your home with the irresistible scent of vanilla cupcakes, enriched with hints of lemon and luscious buttery icing. The fragrance notes are carefully crafted to capture the essence of this classic treat, with notes of vanilla icing, malted sugar, and cake batter at the top, followed by chocolate and cocoa in the middle, and finished off with a touch of vanilla bean…

Model

Generated Product Description

16 of 69

ARE THE PRODUCT DESCRIPTIONS GENERATED BY LLM PRODUCTION READY?

SCORING MODEL

17 of 69

SCORING MODEL

17

4/5/2024

RELEVANCY

COMPLETENESS

READABILITY

CONFIDENCE SCORES

18 of 69

SCORING MODEL: RELEVANCY

COSINE SIMILARITY

18

4/5/2024

θ

Product Images

Product Name

Response from LLM

TEXT INPUT

TEXT OUTPUT

RELEVANCY

Cosine Similarity

Fail (<0.5)

Pass (>=0.5)

0

1

19 of 69

Cosine Similarity | Relevance

19

4/5/2024

Product name is {MEIJER DOG LEASH PINK LARGE} and information captured from the images are {meijer leash LARGE 08820 727961 Made In China}. The caption from a Vision AI described the image as {| a pink leash with a metal clasp | a pink leash with a white label}

Product Description: The Meijer Dog Leash Pink Large & LARGE 08820 727961 is perfect for your furry friend! This leash is a large size, and it is made with gorgeous pink material that is soft and comfortable for your dog to walk on. The leash features a strong metal clasp that securely attaches to your dog's collar, ensuring that they remain safe and secure during their walks. The white label on this particular dog leash indicates that it is an official Meijer product. If you want to keep your dog looking and feeling their best, the Meijer Dog Leash Pink Large & LARGE 08820 727961 is the perfect choice.\n\nConfidence score: 90%

Cosine similarity = 55%

vs

TEXT INPUT

TEXT OUTPUT

20 of 69

SCORING MODEL: COMPLETENESS

AIDA FRAMEWORK

Commonly used by marketers to understand and influence consumer behavior.

20

4/5/2024

COMPLETENESS

AIDA FRAMEWORK

ATTENTION

DESIRE

ACTION

INTEREST

21 of 69

SCORING MODEL: COMPLETENESS

AIDA FRAMEWORK

Commonly used by marketers to understand and influence consumer behavior.

21

4/5/2024

Prompt: On a scale of 1-10 , how likely is the Product Description generated able to capture the attention/Desire/Interest/Action of the customers?

Attention

Interest

Desire

Action

0

6

10

Fail (0 - 6)

Pass (6 - 10)

PRODUCT DESCRIPTIONS

22 of 69

SCORING MODEL: READABILITY

Flesch Kincaid Grade Level

A readability tests designed to indicate how difficult a passage in English is to understand.

22

4/5/2024

Readability

Readability = 0.39 * (words / sentences) + 11.8 * (syllables/word) - 15.59

0

10

Fail (>10)

Pass (0 - 10)

23 of 69

Confidence Scores

23

4/5/2024

Prompt: On a scale of 0-100, how confident are you on the generated response?

Confidence Scores

Fail (0 - 90)

Pass (>90)

24 of 69

Scoring Model

  • Distinguish whether a product’s description should be further improved
  • Utilize LLMs to check if a product description meets each scoring aspect
  • Assign a score to each product description

24

4/5/2024

Relevancy (Cosine Similarity)

>0.5

Completeness (AIDA)

> 6

Readability (FK-Grade Level)

<10

Confidence Score

>90%

Scoring Rubric

Score

All Conditions satisfied

Any one condition - Not Satisfied

Send to Model

for improvement

Scoring Model

Publish

*Different word count thresholds are set for different product categories.

25 of 69

Cloud Deployment in Azure

25

4/5/2024

Product Datasets

Product Categorization & Sampling

Dependent Libraries

Scoring Model

OCR Model

(Image to Text)

26 of 69

26

4/5/2024

Mistral Model

(Text-to-text LLM)

Scoring Model

Storing output in csv file.

Cloud Deployment in Azure

27 of 69

Cloud Deployment Architecture

27

4/5/2024

Azure Machine Learning Workspace

Azure Blob Storage

Azure Blob Storage

Compute Instance:

Standard_F2s_v2

(2 cores, 4 GB RAM, 16 GB disk)

Dependent Libraries:

Azure Vision, openai

Product Descriptions.csv

INPUT

PIPELINE in DESIGNER

OUTPUT

Images.csv

Products.csv

Managed Resource

28 of 69

Results

28

4/5/2024

Image

Description

SCORING MODEL 1

(cosine similarity, AIDA Framework, Readability)

Products with existing:

Pass

Fail

29 of 69

Results

29

4/5/2024

Image

Description

SCORING MODEL 2

(cosine similarity, AIDA Framework, Readability, Confidence Scores)

Failed Products with existing:

Pass

Fail

Image

Description

Products with Image only:

30 of 69

Results

30

4/5/2024

Product Descriptions Approved

72.5%

31 of 69

Business Impact

31

4/5/2024

Our project demonstrates promising results in reducing operation costs, enhancing customer satisfaction, and boosting profitability for the retailer. It also has great potential for similar applications across various industries, such as consumer goods. We hope our work facilitates further research and development in this field for broader impacts.

100% high-quality product descriptions

99% reduction original labor time & costs

+76% average quality score

WHO

HOW

IMPACT

Suppliers

6139

300K+

Products

32 of 69

Limitations

  • Computational Cost vs. Model Sophistication: High computational demands of advanced ML models raise costs, leading to a focus on cost-effective, open-source models.

  • Trade-Off and Scope Limitation: Cost constraints result in compromises on model accuracy, breadth of experimentation, and the ability to test solutions across all product lines.

  • Project Scope was confined to products where we at least have a product image from vendors​.

  • The threshold of our scoring model was determined based on our empirical trials, business vendors can adjust it accordingly.

  • Due to the unavailability of data at hand, the traction in customers with good product descriptions was not quantified​.

32

4/5/2024

33 of 69

Recommendations & Future scope

33

4/5/2024

Pilot Program with A/B Testing: Launch a targeted pilot program for a specific product category, incorporating A/B testing to compare the performance and effectiveness of the new solution against existing processes, allowing for data-driven refinements.

Analytics and Feedback Loops: Implement analytics for real-time performance tracking and establish feedback loops with stakeholders, leveraging key metrics such as user engagement and description accuracy for continuous improvement.

Stakeholder Engagement & Quality Control: Engage with stakeholders for qualitative feedback and implement robust quality control with error analysis and human oversight to ensure the accuracy and reliability of product descriptions.

34 of 69

THANK YOU!

Dr. Matthew Lanham

34

4/5/2024

Dr. Mark Tabladillo

35 of 69

Business to Analytics Problem Framing

Main analytical tasks for solving missing product description problems

35

4/5/2024

Image Information Extraction: Analyze product images to identify features

Content Creation: Create a product description with identified characteristics

Evaluation: Develop a scoring framework for text quality assessment

36 of 69

Analytical Process

36

4/5/2024

With Image With Description

With Image Without Description

Without Image With Description

Without Image Without Description

Scoring Model

Good

Bad

Image-to-text Model (OCR)

Image-to-text Model (Captioning)

Text-to-Text Model(LLMs)

Scoring Model

Publish

To Vendor

Publish

To Vendor

Product Data

37 of 69

Methodology

37

4/5/2024

Scoring Model

Good

Bad

Image-to-text Model (OCR & Captioning)

Text-to-Text Model

Scoring Model

Published

To Vendor

Azure AI Vision

Product Data

With Image With Description

With Image Without Description

Without Image With Description

Without Image Without Description

38 of 69

OCR Model – Azure Computer Vision API

38

4/5/2024

INPUT IMAGE

OUTPUT TEXT

COMPUTER VISION API 

$1 per 1000 transactions

39 of 69

Prepare Product Samples

Extract Samples from each product category to Test Models’ Performance

39

4/5/2024

Least Granular

Most Granular

1. Extract those image angles are from ‘Front’

2. Extract those image links are started with ‘http://static’

Categorize Product

Add Constraints

8 Types of Product

8 types product * 5 samples each = 

40 Total Samples

40 of 69

Image Captioning Model

BLIP: Bootstrapping Language-Image Pre-training for Unified Vision-Language Understanding & Generation

40

4/5/2024

A package of cat treats

A pair of black socks with tag

A blender with fruit in it

A box of fruity shapes cereal

Example Results

41 of 69

Image Captioning Model

More Image-to-text Models Comparison

41

4/5/2024

MS-git-large-coco

The blender is made of glass and has a glass top

The most popular cereals in the world

The first item in the package is made of black leather.

Food for the family to eat

SalesForce-BLIP2-large

Of the adidas no show sock

Of sheba meaty tuna flavor sticks

Of trix cereal

of the oster osmo pro blender

Prompt: “Generate a thorough product description”

The image features a pair of black socks with a blue label, placed on a white background. The socks are positioned close to each other. The socks appear to be well-maintained and clean, with no visible stains or dirt. The blue label on the socks adds a touch of color and branding to the overall appearance of the product

The image displays a box of Cocoa Puffs, a popular cereal brand, with a cartoon character on the front. The character, a cute and playful rabbit, is smiling and holding a bowl of cereal. The cereal is displayed in a bowl, with the bowl centered in the box. The box is red and white, making it stand out

UnumCloud-uform-gen

42 of 69

Text-to-text Model

  • Apply 4 pre-trained LLMs to generate product descriptions and feature summary
  • Feed all available product information into LLMs
  • State-of-the-art models are employed, such as GPT-3.5 and Llama-2

42

4/5/2024

Prompts

Product Name

Details

Features

Image Information

Outputs

Product Description

Concise Features

Large Language Models

43 of 69

Example Prompts Fed to LLMs for Product Description Generation

43

4/5/2024

Generated Product Description

Please help me create an attractive product description in paragraphs for this product:

  1. Product Name: {MarketingName}
  2. Product Details: {MarketingDetails}
  3. Product Features: {MarketingFeatures}
  4. Product Image Description: {UnconditionalCaption}

Generated Product Features

Please help me create product features in bullet points for this product:

  1. Product Name: {MarketingName}
  2. Product Details: {MarketingDetails}
  3. Product Features: {MarketingFeatures}
  4. Product Image Description: {UnconditionalCaption}

44 of 69

Comparison of Text Generation Models

44

4/5/2024

Mixtral-8x7b

instruct

Yankee Candle Vanilla Cupcake

Gemma-7b-it

Llama-2-70b-chat

GPT-3.5

turbo

instruct

Experience the delightful aroma of freshly baked vanilla cupcakes with Yankee Candle Signature Collection Small Tumbler Vanilla Cupcake. This 4.3 Oz. candle features an irresistible fragrance with top notes of vanilla icing and malted sugar, middle notes of cake batter and chocolate, and base notes of cocoa and vanilla bean. The combination of these scents creates a warm, inviting scent that is perfect for any room in your home…

Indulge in the irresistible aroma of freshly baked vanilla cupcakes, layered with layers of buttery icing. This fragrance is reminiscent of the sweet and decadent treats enjoyed on special occasions.Top notes of vanilla icing and malted sugar create a sweet and creamy first impression. The middle notes of cake batter and chocolate bring the sweetness to the forefront, while the base notes of cocoa and vanilla bean add depth and lingered sweetness…

Are you ready to indulge your senses in the sweetest way possible? Look no further than our Yankee Candle Signature Collection Small Tumbler Vanilla Cupcake! This delightful candle combines the rich, creamy aroma of vanilla cupcakes with hints of lemon and buttery icing, creating a mouthwatering scent that's sure to satisfy your sweet tooth…

Introducing the perfect blend of sweetness and indulgence with the Yankee Candle Signature Collection Small Tumbler Vanilla Cupcake. This 4.3 oz candle has a decadent fragrance that will fill your home with the irresistible scent of vanilla cupcakes, enriched with hints of lemon and luscious buttery icing. The fragrance notes are carefully crafted to capture the essence of this classic treat, with notes of vanilla icing, malted sugar, and cake batter at the top, followed by chocolate and cocoa in the middle, and finished off with a touch of vanilla bean…

Model

Generated Product Description

45 of 69

Scoring Model

  • Distinguish whether a product’s description should be further improved
  • Utilize LLMs to check if a product description meets each scoring aspect
  • Assign a score to each product description

45

4/5/2024

Relevancy (Cosine Similarity)

>0.5

Completeness (AIDA)

> 6

Readability (FK-Grade Level)

< 10

Confidence Score

>90%

Scoring Rubric

Word Count*

>=80

Score

All Conditions satisfied

Any one condition -Not Satisfied

<80

Send to Model

for improvement

Send to Model

for improvement

Scoring Model

Publish

*Different word count thresholds are set for different product categories.

46 of 69

Scoring Model

  • Distinguish whether a product’s description should be further improved
  • Utilize LLMs to check if a product description meets each scoring aspect
  • Assign a score to each product description

46

4/5/2024

Relevancy (Cosine Similarity)

>0.5

Completeness (AIDA)

> 6

Readability (FK-Grade Level)

<10

Confidence Score

>90%

Scoring Rubric

Score

All Conditions satisfied

Any one condition - Not Satisfied

Send to Model

for improvement

Scoring Model

Publish

*Different word count thresholds are set for different product categories.

47 of 69

Comparison of Scoring Models

47

4/5/2024

L'Oreal Paris Glow Paradise Lip Balm

GPT-3.5-turbo-instruct

  • Introducing L'Oreal Paris Glow Paradise Lip Balm-in-Gloss with Pomegranate Extract, Feathery Fleur, a luxurious lip care product designed to give your lips a touch of paradise. This innovative balm-in-gloss formula is infused with nourishing pomegranate extract and Hyaluronic Acid, providing intense hydration and conditioning to leave your lips feeling soft, smooth, and kissable.
  • With its sheer, natural color, L'Oreal Paris Glow Paradise Lip Balm-in-Gloss enhances the natural beauty of your lips, creating a healthy-looking glow that radiates outwards, leaving you with a visibly fresher complexion. The ultra-gentle and non-sticky formula is dermatologist tested for safety and allergy-tested, making it suitable for even the most sensitive lips.
  • Choose from 12 buildable, dewy shades to complement your skin tone and enhance your natural beauty. For a complete look, try L'Oreal Paris Glow Paradise Balm-in-Lipstick, designed to perfectly pair with the balm-in-gloss formula. With its moisturizing, conditioning, and pampering benefits, L'Oreal Paris Glow Paradise Lip Balm-in-Gloss is a must-have addition to your beauty routine. Try it today and experience the luxury of paradise for yourself!

Generated Product Description

Mixtral-8x7b-instruct

Readability

Descriptive

Relevance

Grammar

48 of 69

Scoring Model

48

4/5/2024

  • Relevancy (Cosine)
  • Completeness (AIDA)
  • Readability (Grade)
  • confidence score

49 of 69

Cosine Similarity | Relevance

49

4/5/2024

Product name is {MEIJER DOG LEASH PINK LARGE} and information captured from the images are {meijer leash LARGE 08820 727961 Made In China}. The caption from a Vision AI described the image as {| a pink leash with a metal clasp | a pink leash with a white label}

Product Description: The Meijer Dog Leash Pink Large & LARGE 08820 727961 is perfect for your furry friend! This leash is a large size, and it is made with gorgeous pink material that is soft and comfortable for your dog to walk on. The leash features a strong metal clasp that securely attaches to your dog's collar, ensuring that they remain safe and secure during their walks. The white label on this particular dog leash indicates that it is an official Meijer product. If you want to keep your dog looking and feeling their best, the Meijer Dog Leash Pink Large & LARGE 08820 727961 is the perfect choice.\n\nConfidence score: 90%

Cosine similarity = 55%

vs

50 of 69

Completeness | AIDA Framework

50

4/5/2024

A

I

D

A

Action

prompt the reader to take action

Desire

Building desire for the product

Interest

Highlight the key features, benefits, and unique selling points that differentiate the product from others in the market.

Attention

The product description should start by grabbing the attention of the potential buyer.

Prompt: On a scale of 1-10 , how likely is the Product Description generated able to capture the attention/Desire/Interest/Action of the customers?

(or)

Prompt: Is the Product Description generated able to capture the attention/Desire/Interest/Action of the customers? Yes/No?

51 of 69

Readability | Flesch Kincaid Grade Level

51

4/5/2024

Readability = 0.39 * (words / sentences) + 11.8 * (syllables/word) - 15.59

The Flesch–Kincaid readability tests are readability tests designed to indicate how difficult a passage in English is to understand.

Note: Lesser score the better

Creteria: Readability score less than or equal to 10

52 of 69

Confidence Scores

52

4/5/2024

Prompt: On a scale of 0-100 , how confident are you on the generated response?

Criteria: Accept responses only with the confidence scores of greater than 90

53 of 69

Example Prompts Fed to LLMs for Scoring

53

4/5/2024

Readability

Descriptive

Relevance

Grammar

Please check if this product description is readable and please answer yes or no: {Generated Product Description}

Please check if this product description is relevant to the product name and please answer yes or no: Product Description: {Generated Product Description} Product Name: {ProductName}

Please check if this product description uses descriptive language and please answer yes or no: {Generated Product Description}

Please check if this product description is grammatically correct and please answer yes or no: {Generated Product Description}

54 of 69

Comparison of Scoring Models

54

4/5/2024

L'Oreal Paris Glow Paradise Lip Balm

GPT-3.5-turbo-instruct

  • Introducing L'Oreal Paris Glow Paradise Lip Balm-in-Gloss with Pomegranate Extract, Feathery Fleur, a luxurious lip care product designed to give your lips a touch of paradise. This innovative balm-in-gloss formula is infused with nourishing pomegranate extract and Hyaluronic Acid, providing intense hydration and conditioning to leave your lips feeling soft, smooth, and kissable.
  • With its sheer, natural color, L'Oreal Paris Glow Paradise Lip Balm-in-Gloss enhances the natural beauty of your lips, creating a healthy-looking glow that radiates outwards, leaving you with a visibly fresher complexion. The ultra-gentle and non-sticky formula is dermatologist tested for safety and allergy-tested, making it suitable for even the most sensitive lips.
  • Choose from 12 buildable, dewy shades to complement your skin tone and enhance your natural beauty. For a complete look, try L'Oreal Paris Glow Paradise Balm-in-Lipstick, designed to perfectly pair with the balm-in-gloss formula. With its moisturizing, conditioning, and pampering benefits, L'Oreal Paris Glow Paradise Lip Balm-in-Gloss is a must-have addition to your beauty routine. Try it today and experience the luxury of paradise for yourself!

Generated Product Description

Mixtral-8x7b-instruct

Readability

Descriptive

Relevance

Grammar

55 of 69

APPENDIX

55

4/5/2024

56 of 69

About Data

56

4/5/2024

ActiveUPCMarketingInformation.csv

ItemSku

UPC

Type Name

Product

Name

Marketing 

Name

Marketing

Details

Marketing

Features

2410000139

UPCB

CHEEZ-IT WHITE CHEDDAR 12CT CADDY                 

null

null

null

84223400717

UPCA

GARDEIN ULT SAUS'GE BRATWURST 14 OZ               

null

null

null

UPCImages.csv

ItemSku

UPC

2410000139

http://static.meijer.com/Media/006/19659/0061965917459_2_A1C1_0600.png

2410000139

http://static.meijer.com/Media/006/19659/0061965917459_2_A7C1_0600.png

1

*

57 of 69

ERD Diagram

57

4/5/2024

58 of 69

Exploratory Data Analysis

ActiveUPCMarketingInformation| Shape: (311216, 6)

58

4/5/2024

Column Name

Unique Values

ItemSku

309826

UPCTypeName

11

ProductName

139888

MarketingName

122471

MarketingDetails

93804

MarketingFeatures

88848

Column Name

Null Values

ItemSku

0

UPCTypeName

0

ProductName

0

MarketingName

151261

MarketingDetails

151400

MarketingFeatures

154890

Out of 309k SKUs, product descriptions are missing for 151K (49%) items

59 of 69

Exploratory Data Analysis

UPCImages Shape: (891704, 7)

59

4/5/2024

Column Name

Null Values

UpdatedDate

0

ItemSku

0

ItemDocumentNote

0

ItemImageApprovalDate

0

ItemImageExpirationDate

0

ItemImageActiveDate

0

ItemDocumentValue

555042

Column Name

Unique Values

UpdatedDate

486

ItemSku

110761

ItemDocumentNote

8

ItemImageApprovalDate

1828

ItemImageExpirationDate

13

ItemImageActiveDate

1995

ItemDocumentValue

334075

60 of 69

Exploratory Data Analysis

ActiveUPCMarketingInformation + UPCImages

60

4/5/2024

Product Description

Image

Count

Missing

Missing

147,714

Missing 

Available

3,686

Available

Missing

52,724

Available

Available

107,092

Total

311,216

Out of 311,216 ItemSKUs in the dataset, availability of product descriptions and the corresponding images are as follows:

61 of 69

Product Categories

8 product categories are included in the dataset:

    • Fresh
    • Gas Station
    • Grocery
    • Hardlines and Home
    • Health and Beauty
    • Pets and Consumables
    • Prescriptions
    • Softlines

61

4/5/2024

62 of 69

OCR – Azure Computer Vision API

62

4/5/2024

INPUT IMAGE

OUTPUT TEXT

COMPUTER VISION API 

$1 per 1000 transactions

63 of 69

Designing Scoring Model

We utilize LLMs to check if a product description meets each scoring aspect, and then our model produces a score using the variables from all aspects

  • Aspects for considering
    • Relevance to Product
    • Clarity and Readability
    • Grammatical Correctness
    • Product Features Coverage
    • Conciseness
    • Use of descriptive Language
    • Attractiveness

  • Model: Score = f(x), x is a vector of the scoring variables
    • f() function can be chosen and adjusted(i.e. weights of each variable) based on users’ preference
    • x is determined manually and the values of x is assigned by LLMs

63

4/5/2024

64 of 69

Estimated Cost for Choosing Closed Source LLMs 

64

4/5/2024

ChatGPT - Budget Estimate For Dateset

INPUT

OUTPUT

Number of products 

(utilize text-to-text model)

150,000

Total number of words 

(300 words of input and output per product)

45,000,000

45,000,000

Total number of tokens required 

(1000 tokens for 750 words)

60,000,000

60,000,000

Total cost 

(Input @ $0.03/1k tokens + Output @ $0.06/1k tokens)

$     1,800

$     3,600

65 of 69

53% Products contain Image or Text Description

  • The remaining 47% products' missing description cannot be addressed by our model

65

4/5/2024

Image

No Image**

Total

Description

107,079 

51,961

159,040

No Description*

3,682 

147,104

150,786

Total

110,761 

199,065

309,826

*If the MarketingDetails value of a product is null, it belongs to "No Description" category.

**If a product does not contain any images, it belongs to "No Image" category.

66 of 69

EDA

66

4/5/2024

3686

67 of 69

Tasks

Smartsheet Task Assignments

67

4/5/2024

68 of 69

Project Budget

68

4/5/2024

CHAT GPT - BUDGET ESTIMATE FOR DATASET

INPUT

OUTPUT

Number of products (that utilise text-to-text model)

150000

Total number of words (300 words of input and output for each product)

45,000,000

45,000,000

Total number of tokens required (1000 tokens for 750 words)

60,000,000

60,000,000

Total cost (Input @ $0.03/1k tokens + Output @ $0.06/1K tokens)

$     1,800.00 

$     3,600.00 

69 of 69

THANK YOU

Conclusion, call to action or contact information.

69

4/5/2024