SlideShare une entreprise Scribd logo
1  sur  20
Télécharger pour lire hors ligne
Unreasonable Effectiveness of OCR in
Visual Advertisement Understanding
Mayu Otani, Yuki Iwazaki, Kota Yamaguchi
CyberAgent, Inc.
Challenges in visual ads
Symbolism Complecated Compositions
Illustrations
Key observations
Texts on ads seem the most powerful clues
Our approach
1. Extract image2text and ocr2text relevance
2. Rank the statement given both scores
old jeans new
homes
Image2text
relevance
Ocr2text
relevance
I should shop for
jeans at this store
Because they use
their profits to
build homes for
people
Statement text Visual and OCR clues from ad
Our model
old
jeans
new
homes
“ ”
(negative relevance)
(negative relevance)
Per-word weights
old
jeans
new
homes
shop
jeans
people
OCR words Statement words
per-word
weights
=
Vector similarity between OCR detected words and
words in a statement text
Image embedding module
Text pre-processing
I should shop for jeans at this store Because they use their profits to build
homes for people
Long-term dependency harms. We trim texts.
shop for jeans at this store they use their profits to build
homes for people
I should <action> because <reason>
Action to image / OCR
relevance estimation
Reason to image / OCR
relevance estimation
Training
Contrastive Loss
: Label. 1=correct text, 0=incorrect text
: Distance between text and image/OCR embeddings
“ ”
old, jeans, new, homes, ...
Text embedding
OCR words embedding
Per-word attention
“ ”
Text embedding
Image embedding
Per-region attention
Examples of QA results
old jeans new homes we partnered
exclusively with brad make it right
foundation non profit organization
that builds sustainable homes for
people in need
old jeans new homes we partnered
exclusively with brad make it right
foundation non profit organization
that builds sustainable homes for
people in need
A. I should shop for jeans at this store Because they use their profits
to build homes for people
Per-word weights for action Per-word weights for reason
Examples of QA results
toyota leadership award the spirit of the
leader part courage part determination
single minded dedication to personal
excellence and the ability to inspire
excel in others what makes leader as
leader in automotive design and
technology toyota recognizes and this
spirit by presenting the toyota leader
ship award to an each team competing
in college football games …
Per-word weights for reason
A. I should buy Toyota Because they support college leaders
Examples of QA results
A. I should shop at the gap Because it will make me sexy
No words detected
How much does OCR help?
I should shop for jeans at this
store Because they use their
profits to build homes for
people
0.42
P@1
I should shop for jeans at this
store Because they use their
profits to build homes for
people
o l d j e a n s
new homes
0.82
How much does appearance help?
I should shop for jeans at this
store Because they use their
profits to build homes for
people
o l d j e a n s
new homes
0.85
I should shop for jeans at this
store Because they use their
profits to build homes for
people
o l d j e a n s
new homes
0.83
P@1
(validation set)
Is OCR quality crucial?
A. Yes
Score on validation set
Google Cloud Vision OCR 0.85
Tesseract OCR v3 0.54
, 1‘2. .4, f4 Water, HydraIiOn and”
Water,Hydration and Health
A Toolkit for Registered Dietitians
Nestle Waters
The Healthy Hydration Company
Tesseract v3
Google Cloud Vision
Things we didn’t try
OCR results correction
B L AC K B E R R YnR E M E M B E Rn...
BLACKBERRY REMEMBER …
Multilingual support
'誕生。美容オイル生峦軋のルージュ。nそれは、美容オイルがス
ティックになった、贅沢な色艶。nとろけて密着。色っぽくうるん
だ官能の唇へ。nマキアージュドラマティックルージュ全10色新発
売nMAKE uP DATA :pクアチイッタルー問" RD425 /トカルーア
イPipp-V1233:殷定カラートn2Mn合わ ■0120.30-47100900-
2100库楽ギ始收定AMHEMOnwww.shiseido.cojpmqnレディにし
あがれ。nNEWMAQUİIAGEnとの唇、女っぽくて、ごめんなさい。
n'
Words detected but discarded
but look important
Limitations
• Multilingual support
• Decorative font
• Paintings, drawings
Misc findings
• Higher resolution helps
• Perhaps because CNNs can literally read texts
• Also object detection?
• Annotators really read texts
• And perhaps logos
Symbolism in Ad
Symbolism might be used
for rhetorics, but not
necessarily for surface
messages.
Remaining questions
•How well do humans understand ad messages
without language clues?
•Effects of designs (colors, layout, font style, etc.)
in message telling
•Better task / dataset design?
•Hiding / blurring texts enough?

Contenu connexe

Similaire à Unreasonable Effectiveness of OCR in Visual Advertisement Understanding

Entrepreneurship Education Experience - Bob Caspe (Aula 3)
Entrepreneurship Education Experience - Bob Caspe (Aula 3)Entrepreneurship Education Experience - Bob Caspe (Aula 3)
Entrepreneurship Education Experience - Bob Caspe (Aula 3)
Cultura e Mercado
 
Master Workshop Business Modeling - The Institute Mexico
Master Workshop Business Modeling - The Institute MexicoMaster Workshop Business Modeling - The Institute Mexico
Master Workshop Business Modeling - The Institute Mexico
TheInstituteMexico
 
5F2D461.pptx
5F2D461.pptx5F2D461.pptx
5F2D461.pptx
Shree Shree
 
How to Identify the Right Staffing Firm for Your Company
How to Identify the Right Staffing Firm for Your CompanyHow to Identify the Right Staffing Firm for Your Company
How to Identify the Right Staffing Firm for Your Company
jeffmonaghan
 

Similaire à Unreasonable Effectiveness of OCR in Visual Advertisement Understanding (20)

Entrepreneurship Education Experience - Bob Caspe (Aula 3)
Entrepreneurship Education Experience - Bob Caspe (Aula 3)Entrepreneurship Education Experience - Bob Caspe (Aula 3)
Entrepreneurship Education Experience - Bob Caspe (Aula 3)
 
Rethink your Thinking
Rethink your ThinkingRethink your Thinking
Rethink your Thinking
 
Introducing nourish brands 2012
Introducing nourish brands 2012Introducing nourish brands 2012
Introducing nourish brands 2012
 
More Traffic, More Conversions: How To Build Great Landing Pages
More Traffic, More Conversions: How To Build Great Landing PagesMore Traffic, More Conversions: How To Build Great Landing Pages
More Traffic, More Conversions: How To Build Great Landing Pages
 
Follow the Money - How to Speak to Executives about Agile
Follow the Money - How to Speak to Executives about AgileFollow the Money - How to Speak to Executives about Agile
Follow the Money - How to Speak to Executives about Agile
 
System thinking
System thinkingSystem thinking
System thinking
 
Housekeepingmanagement
HousekeepingmanagementHousekeepingmanagement
Housekeepingmanagement
 
NPS Action Steps
NPS Action StepsNPS Action Steps
NPS Action Steps
 
Building Your Startup Brand With Effective Messaging
Building Your Startup Brand With Effective MessagingBuilding Your Startup Brand With Effective Messaging
Building Your Startup Brand With Effective Messaging
 
How to be successful with truss design outsourcing
How to be successful with truss design outsourcingHow to be successful with truss design outsourcing
How to be successful with truss design outsourcing
 
Solaris PowerPoint Template
Solaris PowerPoint TemplateSolaris PowerPoint Template
Solaris PowerPoint Template
 
Master Workshop Business Modeling - The Institute Mexico
Master Workshop Business Modeling - The Institute MexicoMaster Workshop Business Modeling - The Institute Mexico
Master Workshop Business Modeling - The Institute Mexico
 
BACD the branded experience in dentistry
BACD the branded experience in dentistryBACD the branded experience in dentistry
BACD the branded experience in dentistry
 
The Best Experience Execu Net 081015
The Best Experience Execu Net 081015The Best Experience Execu Net 081015
The Best Experience Execu Net 081015
 
5F2D461.pptx
5F2D461.pptx5F2D461.pptx
5F2D461.pptx
 
Brand 2012
Brand 2012Brand 2012
Brand 2012
 
How to Build a Coworking Space Brand
How to Build a Coworking Space BrandHow to Build a Coworking Space Brand
How to Build a Coworking Space Brand
 
How to Identify the Right Staffing Firm for Your Company
How to Identify the Right Staffing Firm for Your CompanyHow to Identify the Right Staffing Firm for Your Company
How to Identify the Right Staffing Firm for Your Company
 
Agile + Branding Sitting in a Tree
Agile + Branding Sitting in a TreeAgile + Branding Sitting in a Tree
Agile + Branding Sitting in a Tree
 
About Kairos
About KairosAbout Kairos
About Kairos
 

Dernier

Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Victor Rentea
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
?#DUbAI#??##{{(☎️+971_581248768%)**%*]'#abortion pills for sale in dubai@
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 

Dernier (20)

Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
 
Ransomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdfRansomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdf
 
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Exploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusExploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with Milvus
 
Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamDEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 

Unreasonable Effectiveness of OCR in Visual Advertisement Understanding

  • 1. Unreasonable Effectiveness of OCR in Visual Advertisement Understanding Mayu Otani, Yuki Iwazaki, Kota Yamaguchi CyberAgent, Inc.
  • 2. Challenges in visual ads Symbolism Complecated Compositions Illustrations
  • 3. Key observations Texts on ads seem the most powerful clues
  • 4. Our approach 1. Extract image2text and ocr2text relevance 2. Rank the statement given both scores old jeans new homes Image2text relevance Ocr2text relevance I should shop for jeans at this store Because they use their profits to build homes for people Statement text Visual and OCR clues from ad
  • 5. Our model old jeans new homes “ ” (negative relevance) (negative relevance)
  • 6. Per-word weights old jeans new homes shop jeans people OCR words Statement words per-word weights = Vector similarity between OCR detected words and words in a statement text
  • 8. Text pre-processing I should shop for jeans at this store Because they use their profits to build homes for people Long-term dependency harms. We trim texts. shop for jeans at this store they use their profits to build homes for people I should <action> because <reason> Action to image / OCR relevance estimation Reason to image / OCR relevance estimation
  • 9. Training Contrastive Loss : Label. 1=correct text, 0=incorrect text : Distance between text and image/OCR embeddings “ ” old, jeans, new, homes, ... Text embedding OCR words embedding Per-word attention “ ” Text embedding Image embedding Per-region attention
  • 10. Examples of QA results old jeans new homes we partnered exclusively with brad make it right foundation non profit organization that builds sustainable homes for people in need old jeans new homes we partnered exclusively with brad make it right foundation non profit organization that builds sustainable homes for people in need A. I should shop for jeans at this store Because they use their profits to build homes for people Per-word weights for action Per-word weights for reason
  • 11. Examples of QA results toyota leadership award the spirit of the leader part courage part determination single minded dedication to personal excellence and the ability to inspire excel in others what makes leader as leader in automotive design and technology toyota recognizes and this spirit by presenting the toyota leader ship award to an each team competing in college football games … Per-word weights for reason A. I should buy Toyota Because they support college leaders
  • 12. Examples of QA results A. I should shop at the gap Because it will make me sexy No words detected
  • 13. How much does OCR help? I should shop for jeans at this store Because they use their profits to build homes for people 0.42 P@1 I should shop for jeans at this store Because they use their profits to build homes for people o l d j e a n s new homes 0.82
  • 14. How much does appearance help? I should shop for jeans at this store Because they use their profits to build homes for people o l d j e a n s new homes 0.85 I should shop for jeans at this store Because they use their profits to build homes for people o l d j e a n s new homes 0.83 P@1 (validation set)
  • 15. Is OCR quality crucial? A. Yes Score on validation set Google Cloud Vision OCR 0.85 Tesseract OCR v3 0.54 , 1‘2. .4, f4 Water, HydraIiOn and” Water,Hydration and Health A Toolkit for Registered Dietitians Nestle Waters The Healthy Hydration Company Tesseract v3 Google Cloud Vision
  • 16. Things we didn’t try OCR results correction B L AC K B E R R YnR E M E M B E Rn... BLACKBERRY REMEMBER … Multilingual support '誕生。美容オイル生峦軋のルージュ。nそれは、美容オイルがス ティックになった、贅沢な色艶。nとろけて密着。色っぽくうるん だ官能の唇へ。nマキアージュドラマティックルージュ全10色新発 売nMAKE uP DATA :pクアチイッタルー問" RD425 /トカルーア イPipp-V1233:殷定カラートn2Mn合わ ■0120.30-47100900- 2100库楽ギ始收定AMHEMOnwww.shiseido.cojpmqnレディにし あがれ。nNEWMAQUİIAGEnとの唇、女っぽくて、ごめんなさい。 n' Words detected but discarded but look important
  • 17. Limitations • Multilingual support • Decorative font • Paintings, drawings
  • 18. Misc findings • Higher resolution helps • Perhaps because CNNs can literally read texts • Also object detection? • Annotators really read texts • And perhaps logos
  • 19. Symbolism in Ad Symbolism might be used for rhetorics, but not necessarily for surface messages.
  • 20. Remaining questions •How well do humans understand ad messages without language clues? •Effects of designs (colors, layout, font style, etc.) in message telling •Better task / dataset design? •Hiding / blurring texts enough?