SlideShare a Scribd company logo
Leveraging Social Media with
Computer Vision
TJ Torres
Data Scientist, Stitch Fix
Big Data Applications in Fashion MeetUp
10/2016
Informing Recommendations in Fashion and Retail
Styling Algorithms Research
Styling Algorithms Research
Styling Algorithms Research
Data LabsStyling Algorithms Research
MOTIVATION
Inventory Scaling:
Why Recommendations?
Infeasible from an efficiency perspective to look
through all inventory as it scales.
MOTIVATION
Inventory Scaling:
Human Ability:
Why Recommendations?
Infeasible from an efficiency perspective to look
through all inventory as it scales.
Stylists can’t keep all products in their memories while
trying to locate the best items for each client.
MOTIVATION
Inventory Scaling:
Human Ability:
Why Recommendations?
Infeasible from an efficiency perspective to look
through all inventory as it scales.
Stylists can’t keep all products in their memories while
trying to locate the best items for each client.
Business Success:
Aid stylists in making the best decisions to better please
our clients.
MOTIVATION
Our goal at Stitch Fix
Total Inventory
Recommendation Algo
Stylists
Filtered Items
1 2 3 4 5
Final Items Sent
COMPUTER VISION
COMPUTER VISION
New Clients
New Clothing
Cold Start Problem
No or sparse purchasing information,
so how can we supplement this?
COMPUTER VISION
New Clients
New Clothing
Cold Start Problem
No or sparse purchasing information,
so how can we supplement this?
Perception
Fashion can be difficult to describe via text/categorization.
Many times it’s easier to show what you like.
TURN TO IMAGES
• Style/fashion is primarily visual.
• We wish to use images for modeling purposes.
• Heuristics for how we process image data
unknown or quite complex.
• We don’t want to have to develop image
features.
• Turn to deep learning to learn the feature
extraction.
OUTLINE
1. Brief Introduction to NNs
2. Deep Learning for Fashion Imagery
3. Recommendations and Social Media
4. Results
5. Conclusions
NEURAL NETWORKS
http://www.wired.com/2013/02/three-awesome-tools-scientists-may-use-to-map-your-brain-in-the-future/
http://googleresearch.blogspot.com/2015/06/inceptionism-going-deeper-into-neural.html
Whoa
Dude!
http://googleresearch.blogspot.com/2015/06/inceptionism-going-deeper-into-neural.html
Gatys, et. al. : https://arxiv.org/abs/1508.06576
Begin with input:
INTRO TO NEURAL NETS
1 2 3 4 5 6
Begin with input: 1 2 3 4 layer 1
(Input)
5 6
layer 2
f
(l)
i (x) = tanh
0
@
X
j
W
(l)
ij x
(l 1)
j + b(l)
1
A
INTRO TO NEURAL NETS
Begin with input: 1 2 3 4 layer 1
(Input)
5 6
layer 2
f
(l)
i (x) = tanh
0
@
X
j
W
(l)
ij x
(l 1)
j + b(l)
1
A
layer 3
(output)
Transform data repeatedly
with non-linear function.
f(1)
· · · f(n)
(x)
INTRO TO NEURAL NETS
1 2 3 4 layer 1
(Input)
5 6
layer 2
layer 3
(output)
Calculate loss function
and update weights
f(1)
· · · f(n)
(x)
L(xout, y) =
MSE
z }| {
1
m
mX
k=1
(xk yk)2
Begin with input:
f
(l)
i (x) = tanh
0
@
X
j
W
(l)
ij x
(l 1)
j + b(l)
1
A
Transform data repeatedly
with non-linear function.
INTRO TO NEURAL NETS
1 2 3 4 layer 1
(Input)
5 6
layer 2
layer 3
(output)
L(xout, y) =
MSE
z }| {
1
m
mX
k=1
(xk yk)2
W
(l)⇤
ij = W
(l)
ij
✓
1 ↵
@L
@Wij
◆
Calculate loss function
and update weights
f(1)
· · · f(n)
(x)
Begin with input:
f
(l)
i (x) = tanh
0
@
X
j
W
(l)
ij x
(l 1)
j + b(l)
1
A
Transform data repeatedly
with non-linear function.
INTRO TO NEURAL NETS
1 2 3 4 layer 1
(Input)
5 6
layer 2
layer 3
(output)
L(xout, y) =
MSE
z }| {
1
m
mX
k=1
(xk yk)2
W
(l)⇤
ij = W
(l)
ij
✓
1 ↵
@L
@Wij
◆
@L
@W
(l)
ij
=
✓
@L
@xout
◆ ✓
@xout
@f(n 1)
◆
· · ·
@f(l)
@W
(l)
ij
!
Calculate loss function
and update weights
f(1)
· · · f(n)
(x)
Begin with input:
f
(l)
i (x) = tanh
0
@
X
j
W
(l)
ij x
(l 1)
j + b(l)
1
A
Transform data repeatedly
with non-linear function.
INTRO TO NEURAL NETS
RECS AND SOCIAL MEDIA
Clients give Pinterest board to visually indicate fashion tastes.
Match pinned images to our own styles.
RECS AND SOCIAL MEDIA
Clients give Pinterest board to visually indicate fashion tastes.
Match pinned images to our own styles.
Strategies
RECS AND SOCIAL MEDIA
Clients give Pinterest board to visually indicate fashion tastes.
Match pinned images to our own styles.
Strategies
Attribute extraction and matching.
RECS AND SOCIAL MEDIA
Clients give Pinterest board to visually indicate fashion tastes.
Match pinned images to our own styles.
Strategies
Attribute extraction and matching. Visual feature similarity.
RECS AND SOCIAL MEDIA
Clients give Pinterest board to visually indicate fashion tastes.
Match pinned images to our own styles.
Strategies
Attribute extraction and matching. Visual feature similarity.
Metric learning.
RECS AND SOCIAL MEDIA
Clients give Pinterest board to visually indicate fashion tastes.
Match pinned images to our own styles.
Strategies
Attribute extraction and matching. Visual feature similarity.
Metric learning. …or some combination.
VISUAL FEATURES
VISUAL FEATURES
VISUAL FEATURES
Use pre-trained extracted features.
Compare image features with metric of your choice
Cosine Euclidean etc,
EXAMPLES
Query Image
Top 5 Results
EXAMPLES
Query Image
Top 5 Results
CHALLENGES
Query Image
Top 5 Results
Sometimes things don’t work out so well…
Need system to compare images across separate domains
METRIC LEARNING
New Metric
as Objective
AnchorPositiveNegative
Triplet or Contrastive Loss
https://arxiv.org/abs/1404.4661
Ltriplet(a, p, n) =
1
N
NX
i=1
max {d(f(ai), f(pi)) d(f(ai), f(ni)) + m, 0}
!
METRIC LEARNING
https://arxiv.org/abs/1511.05939
m m
Positive
Negative
BeforeTraining AfterTraining BeforeTraining AfterTraining
METRIC LEARNING
https://arxiv.org/abs/1511.05939
m m
Positive
Negative
BeforeTraining AfterTraining BeforeTraining AfterTraining
Learn an embedding that obeys the similarity constraints.
similarity score = d query, inventory
EXAMPLES
EXAMPLES
CONCLUSIONS
1. Social media images can help make better recommendations.
a) Alleviate cold start.
b) Provide new features/data for recommendations.
2. Cross-domain image matching can be difficult, but is made easier
with deep learning.
3. There’s enormous potential moving forward with this type of work.
a) Attribute labeling and trend tracking.
b) Predictive models for purchasing probability.
THANK YOU!
@teejosaur
/in/tjtorres
@tjtorres
ATTRIBUTE LABELING
GENERATIVE FASHION

More Related Content

PDF
Creating a culture that provokes failure and boosts improvement
PPSX
Problem solving using root cause analysis
PDF
Data Science at Shopify (PyCon 2018)
PDF
Slay the Dragons of Agile Measurement
PDF
Data Science Popup Austin: Privilege and Supervised Machine Learning
PPT
User Research @ Bitspiration2013
PPTX
A/B testing, optimization and results analysis by Mariia Bocheva, ATD'18
PDF
Lean Startup: How Development Looks Different When You're Changing the World ...
Creating a culture that provokes failure and boosts improvement
Problem solving using root cause analysis
Data Science at Shopify (PyCon 2018)
Slay the Dragons of Agile Measurement
Data Science Popup Austin: Privilege and Supervised Machine Learning
User Research @ Bitspiration2013
A/B testing, optimization and results analysis by Mariia Bocheva, ATD'18
Lean Startup: How Development Looks Different When You're Changing the World ...

Similar to Leveraging Social Media with Computer Vision (20)

PPTX
Computer Vision meets Fashion (第12回ステアラボ人工知能セミナー)
PPTX
Applied Data Science for E-Commerce
PDF
Machine learning advanced applications
PDF
Deep Learning Meetup 7 - Building a Deep Learning-powered Search Engine
PPTX
[DSC Europe 22] Developing Visual AI Solutions for Online Marketplaces - Mlad...
PDF
Data Summer Conf 2018, “From the math to the business value: machine learning...
PDF
Recsys 2016
PDF
Faire de la reconnaissance d'images avec le Deep Learning - Cristina & Pierre...
PDF
Deep Style: Using Variational Auto-encoders for Image Generation
PDF
[CVPR 2018] Visual Search (Image Retrieval) and Metric Learning
PDF
Using Deep Learning to Find Similar Dresses
PDF
Retrieving Visually-Similar Products for Shopping Recommendations using Spark...
PDF
Scaling & Transforming Stitch Fix's Visibility into What Folks will love
PDF
Deep learning for e-commerce: current status and future prospects
PDF
Machine learning for newbies
PDF
Computer Vision Meetup: Using Similarity Learning to Improve Data Quality
PDF
Frequently Bought Together Recommendations Based on Embeddings
PDF
Andrew Clegg, Data Scientician & Machine Learning Engine-Driver: "Deep produc...
PDF
Modeling perceptual similarity and shift invariance in deep networks
PDF
Understanding Convolutional Neural Networks
Computer Vision meets Fashion (第12回ステアラボ人工知能セミナー)
Applied Data Science for E-Commerce
Machine learning advanced applications
Deep Learning Meetup 7 - Building a Deep Learning-powered Search Engine
[DSC Europe 22] Developing Visual AI Solutions for Online Marketplaces - Mlad...
Data Summer Conf 2018, “From the math to the business value: machine learning...
Recsys 2016
Faire de la reconnaissance d'images avec le Deep Learning - Cristina & Pierre...
Deep Style: Using Variational Auto-encoders for Image Generation
[CVPR 2018] Visual Search (Image Retrieval) and Metric Learning
Using Deep Learning to Find Similar Dresses
Retrieving Visually-Similar Products for Shopping Recommendations using Spark...
Scaling & Transforming Stitch Fix's Visibility into What Folks will love
Deep learning for e-commerce: current status and future prospects
Machine learning for newbies
Computer Vision Meetup: Using Similarity Learning to Improve Data Quality
Frequently Bought Together Recommendations Based on Embeddings
Andrew Clegg, Data Scientician & Machine Learning Engine-Driver: "Deep produc...
Modeling perceptual similarity and shift invariance in deep networks
Understanding Convolutional Neural Networks
Ad

Recently uploaded (20)

PPTX
mbdjdhjjodule 5-1 rhfhhfjtjjhafbrhfnfbbfnb
PDF
Oracle OFSAA_ The Complete Guide to Transforming Financial Risk Management an...
PPTX
(Ali Hamza) Roll No: (F24-BSCS-1103).pptx
PPTX
Acceptance and paychological effects of mandatory extra coach I classes.pptx
PDF
22.Patil - Early prediction of Alzheimer’s disease using convolutional neural...
PDF
Data Engineering Interview Questions & Answers Cloud Data Stacks (AWS, Azure,...
PPTX
Leprosy and NLEP programme community medicine
PPTX
modul_python (1).pptx for professional and student
PPTX
Topic 5 Presentation 5 Lesson 5 Corporate Fin
PPTX
importance of Data-Visualization-in-Data-Science. for mba studnts
PPT
DATA COLLECTION METHODS-ppt for nursing research
PDF
Mega Projects Data Mega Projects Data
PPTX
Managing Community Partner Relationships
PPT
ISS -ESG Data flows What is ESG and HowHow
PPTX
The THESIS FINAL-DEFENSE-PRESENTATION.pptx
PDF
Introduction to the R Programming Language
PDF
Galatica Smart Energy Infrastructure Startup Pitch Deck
PDF
How to run a consulting project- client discovery
PPTX
QUANTUM_COMPUTING_AND_ITS_POTENTIAL_APPLICATIONS[2].pptx
mbdjdhjjodule 5-1 rhfhhfjtjjhafbrhfnfbbfnb
Oracle OFSAA_ The Complete Guide to Transforming Financial Risk Management an...
(Ali Hamza) Roll No: (F24-BSCS-1103).pptx
Acceptance and paychological effects of mandatory extra coach I classes.pptx
22.Patil - Early prediction of Alzheimer’s disease using convolutional neural...
Data Engineering Interview Questions & Answers Cloud Data Stacks (AWS, Azure,...
Leprosy and NLEP programme community medicine
modul_python (1).pptx for professional and student
Topic 5 Presentation 5 Lesson 5 Corporate Fin
importance of Data-Visualization-in-Data-Science. for mba studnts
DATA COLLECTION METHODS-ppt for nursing research
Mega Projects Data Mega Projects Data
Managing Community Partner Relationships
ISS -ESG Data flows What is ESG and HowHow
The THESIS FINAL-DEFENSE-PRESENTATION.pptx
Introduction to the R Programming Language
Galatica Smart Energy Infrastructure Startup Pitch Deck
How to run a consulting project- client discovery
QUANTUM_COMPUTING_AND_ITS_POTENTIAL_APPLICATIONS[2].pptx
Ad

Leveraging Social Media with Computer Vision