Applications. Computational Linguistics: Jordan Boyd-Graber University of Maryland RL FOR MACHINE TRANSLATION. Slides adapted from Phillip Koehn

Relaterede dokumenter
Crowd Sourcing for Sentiment Analysis ICA 2017

Generalized Probit Model in Design of Dose Finding Experiments. Yuehui Wu Valerii V. Fedorov RSU, GlaxoSmithKline, US

Basic statistics for experimental medical researchers

Handout 1: Eksamensspørgsmål

CMS Support for Patient- Centered Medical Homes. Linda M. Magno Director, Medicare Demonstrations

Portal Registration. Check Junk Mail for activation . 1 Click the hyperlink to take you back to the portal to confirm your registration

GNSS/INS Product Design Cycle. Taking into account MEMS-based IMU sensors

Measuring the Impact of Bicycle Marketing Messages. Thomas Krag Mobility Advice Trafikdage i Aalborg,

X M Y. What is mediation? Mediation analysis an introduction. Definition

Agenda. The need to embrace our complex health care system and learning to do so. Christian von Plessen Contributors to healthcare services in Denmark

Project Step 7. Behavioral modeling of a dual ported register set. 1/8/ L11 Project Step 5 Copyright Joanne DeGroat, ECE, OSU 1

Tilmelding sker via stads selvbetjening indenfor annonceret tilmeldingsperiode, som du kan se på Studieadministrationens hjemmeside

Observation Processes:

IBM Network Station Manager. esuite 1.5 / NSM Integration. IBM Network Computer Division. tdc - 02/08/99 lotusnsm.prz Page 1

Det Teknisk-Naturvidenskabelige Fakultet Første Studieår AALBORG UNIVERSITET Arkitektur Og Design MATEMATIK OG FORM

ESG reporting meeting investors needs

Skriftlig Eksamen Beregnelighed (DM517)

Teknologispredning i sundhedsvæsenet DK ITEK: Sundhedsteknologi som grundlag for samarbejde og forretningsudvikling

Appendix 1: Interview guide Maria og Kristian Lundgaard-Karlshøj, Ausumgaard

PARALLELIZATION OF ATTILA SIMULATOR WITH OPENMP MIGUEL ÁNGEL MARTÍNEZ DEL AMOR MINIPROJECT OF TDT24 NTNU

Tilmelding sker via stads selvbetjening indenfor annonceret tilmeldingsperiode, som du kan se på Studieadministrationens hjemmeside

Sport for the elderly

Constant Terminal Voltage. Industry Workshop 1 st November 2013

Learnings from the implementation of Epic

Skriftlig Eksamen Beregnelighed (DM517)

Remember the Ship, Additional Work

Financial Literacy among 5-7 years old children

Unitel EDI MT940 June Based on: SWIFT Standards - Category 9 MT940 Customer Statement Message (January 2004)

Opera Ins. Model: MI5722 Product Name: Pure Sine Wave Inverter 1000W 12VDC/230 30A Solar Regulator

Den nye Eurocode EC Geotenikerdagen Morten S. Rasmussen

Heuristics for Improving

PEMS RDE Workshop. AVL M.O.V.E Integrative Mobile Vehicle Evaluation

Velkommen til IFF QA erfa møde d. 15. marts Erfaringer med miljømonitorering og tolkning af nyt anneks 1.

Privat-, statslig- eller regional institution m.v. Andet Added Bekaempelsesudfoerende: string No Label: Bekæmpelsesudførende

The River Underground, Additional Work

Shooting tethered med Canon EOS-D i Capture One Pro. Shooting tethered i Capture One Pro 6.4 & 7.0 på MAC OS-X & 10.8

Particle-based T-Spline Level Set Evolution for 3D Object Reconstruction with Range and Volume Constraints

Aktivering af Survey funktionalitet

RoE timestamp and presentation time in past

On the complexity of drawing trees nicely: corrigendum

Melbourne Mercer Global Pension Index

Statistik for MPH: 7

Fejlbeskeder i SMDB. Business Rules Fejlbesked Kommentar. Validate Business Rules. Request- ValidateRequestRegist ration (Rules :1)

User Manual for LTC IGNOU

Totally Integrated Automation. Totally Integrated Automation sætter standarden for produktivitet.

Vores mange brugere på musskema.dk er rigtig gode til at komme med kvalificerede ønsker og behov.

Black Jack --- Review. Spring 2012

International Workshop on Language Proficiency Implementation

Feedback Informed Treatment

How Long Is an Hour? Family Note HOME LINK 8 2

Listen Mr Oxford Don, Additional Work

Brug sømbrættet til at lave sjove figurer. Lav fx: Få de andre til at gætte, hvad du har lavet. Use the nail board to make funny shapes.

Kalkulation: Hvordan fungerer tal? Jan Mouritsen, professor Institut for Produktion og Erhvervsøkonomi

PMDK PC-Side Basic Function Reference (Version 1.0)

DANSK INSTALLATIONSVEJLEDNING VLMT500 ADVARSEL!

600 Billion and Counting

DSB s egen rejse med ny DSB App. Rubathas Thirumathyam Principal Architect Mobile

Resource types R 1 1, R 2 2,..., R m CPU cycles, memory space, files, I/O devices Each resource type R i has W i instances.

Sortering fra A-Z. Henrik Dorf Chefkonsulent SAS Institute

Barnets navn: Børnehave: Kommune: Barnets modersmål (kan være mere end et)

Skriftlig Eksamen Kombinatorik, Sandsynlighed og Randomiserede Algoritmer (DM528)

Business Rules Fejlbesked Kommentar

Vina Nguyen HSSP July 13, 2008

A multimodel data assimilation framework for hydrology

LED STAR PIN G4 BASIC INFORMATION: Series circuit. Parallel circuit HOW CAN I UNDERSTAND THE FOLLOWING SHEETS?

The GAssist Pittsburgh Learning Classifier System. Dr. J. Bacardit, N. Krasnogor G53BIO - Bioinformatics

Differential Evolution (DE) "Biologically-inspired computing", T. Krink, EVALife Group, Univ. of Aarhus, Denmark

Fejlbeskeder i Stofmisbrugsdatabasen (SMDB)

Hvor er mine runde hjørner?

Internationalt uddannelsestilbud

v Motivation v Multi- Atlas Segmentation v Learn Dictionary v Apply Dictionary v Results

Trolling Master Bornholm 2016 Nyhedsbrev nr. 5

Improving data services by creating a question database. Nanna Floor Clausen Danish Data Archives

South Baileygate Retail Park Pontefract

Trolling Master Bornholm 2012

The X Factor. Målgruppe. Læringsmål. Introduktion til læreren klasse & ungdomsuddannelser Engelskundervisningen

Statistical information form the Danish EPC database - use for the building stock model in Denmark

Trolling Master Bornholm 2016 Nyhedsbrev nr. 7

Diamond Core Drilling

Website review groweasy.dk

Central Statistical Agency.

Krav til bestyrelser og arbejdsdeling med direktionen

Copyrights Prof Torsten Ringberg CBS, IDA 2018

how to save excel as pdf

SOFTWARE PROCESSES. Dorte, Ida, Janne, Nikolaj, Alexander og Erla

Solid TYRES for your FORKLIFT TRUCKS

Motion på arbejdspladsen

CHAPTER 8: USING OBJECTS

Engelsk 8. klasse årsplan 2018/2019

UNISONIC TECHNOLOGIES CO.,

Asking whether there are commission fees when you withdraw money in a certain country

Asking whether there are commission fees when you withdraw money in a certain country

Engelsk. Niveau C. De Merkantile Erhvervsuddannelser September Casebaseret eksamen. og

CS 4390/5387 SOFTWARE V&V LECTURE 5 BLACK-BOX TESTING - 2

Dagens program. Incitamenter 4/19/2018 INCITAMENTSPROBLEMER I FORBINDELSE MED DRIFTSFORBEDRINGER. Incitamentsproblem 1 Understøttes procesforbedringer

IPTV Box (MAG250/254) Bruger Manual

Statistik for MPH: oktober Attributable risk, bestemmelse af stikprøvestørrelse (Silva: , )

Coimisiún na Scrúduithe Stáit State Examinations Commission. Leaving Certificate Marking Scheme. Danish. Higher Level

GIGABIT COLOR IP PHONE

Rejse Logi. Logi - Resultat. Logi - Booking. At spørge efter vej til et logi. ... et værelse som man kan leje?... a room to rent?

Transkript:

Applications Slides adapted from Phillip Koehn Computational Linguistics: Jordan Boyd-Graber University of Maryland RL FOR MACHINE TRANSLATION Computational Linguistics: Jordan Boyd-Graber UMD Applications 1 / 1

Evaluation How good is a given machine translation system? Hard problem, since many different translations acceptable semantic equivalence / similarity Evaluation metrics subjective judgments by human evaluators automatic evaluation metrics task-based evaluation, e.g.: how much post-editing effort? does information come across? Computational Linguistics: Jordan Boyd-Graber UMD Applications 2 / 1

Ten Translations of a Chinese Sentence Israeli officials are responsible for airport security. Israel is in charge of the security at this airport. The security work for this airport is the responsibility of the Israel government. Israeli side was in charge of the security of this airport. Israel is responsible for the airport s security. Israel is responsible for safety work at this airport. Israel presides over the security of the airport. Israel took charge of the airport security. The safety of this airport is taken charge of by Israel. This airport s security is the responsibility of the Israeli security officials. (a typical example from the 2001 NIST evaluation set) Computational Linguistics: Jordan Boyd-Graber UMD Applications / 1

Adequacy and Fluency Human judgement given: machine translation output given: source and/or reference translation task: assess the quality of the machine translation output Metrics Adequacy: Does the output convey the same meaning as the input sentence? Is part of the message lost, added, or distorted? Fluency: Is the output good fluent English? This involves both grammatical correctness and idiomatic word choices. Computational Linguistics: Jordan Boyd-Graber UMD Applications / 1

Fluency and Adequacy: Scales Adequacy Fluency all meaning flawless English most meaning good English much meaning non-native English 2 little meaning 2 disfluent English 1 none 1 incomprehensible Computational Linguistics: Jordan Boyd-Graber UMD Applications / 1

Evaluators Disagree Histogram of adequacy judgments by different human evaluators 0% 20% 10% 1 2 1 2 1 2 1 2 1 2 (from WMT 2006 evaluation) Computational Linguistics: Jordan Boyd-Graber UMD Applications 6 / 1

Goals for Evaluation Metrics Low cost: reduce time and money spent on carrying out evaluation Tunable: automatically optimize system performance towards metric Meaningful: score should give intuitive interpretation of translation quality Consistent: repeated use of metric should give same results Correct: metric must rank better systems higher Computational Linguistics: Jordan Boyd-Graber UMD Applications 7 / 1

Other Evaluation Criteria When deploying systems, considerations go beyond quality of translations Speed: we prefer faster machine translation systems Size: fits into memory of available machines (e.g., handheld devices) Integration: can be integrated into existing workflow Customization: can be adapted to user s needs Computational Linguistics: Jordan Boyd-Graber UMD Applications 8 / 1

Automatic Evaluation Metrics Goal: computer program that computes the quality of translations Advantages: low cost, tunable, consistent Basic strategy given: machine translation output given: human reference translation task: compute similarity between them Computational Linguistics: Jordan Boyd-Graber UMD Applications 9 / 1

Precision and Recall of Words SYSTEM A: REFERENCE: Israeli officials responsibility of airport safety Israeli officials are responsible for airport security correct output-length = 6 = 0% Precision correct reference-length = 7 = % Recall F-measure precision recall (precision + recall)/2 =.. (. +.)/2 = 6% Computational Linguistics: Jordan Boyd-Graber UMD Applications 10 / 1

Precision and Recall SYSTEM A: REFERENCE: Israeli officials responsibility of airport safety Israeli officials are responsible for airport security SYSTEM B: airport security Israeli officials are responsible Metric System A System B precision 0% 100% recall % 100% f-measure 6% 100% flaw: no penalty for reordering Computational Linguistics: Jordan Boyd-Graber UMD Applications 11 / 1

Word Error Rate Minimum number of editing steps to transform output to reference match: words match, no cost substitution: replace one word with another insertion: add word deletion: drop word Levenshtein distance substitutions + insertions + deletions wer = reference-length Computational Linguistics: Jordan Boyd-Graber UMD Applications 12 / 1

Example Israeli officials responsibility of airport safety airport security Israeli officials are responsible 0 1 2 6 Israeli 1 0 1 2 officials 2 1 0 1 2 are 2 1 1 2 responsible 2 2 2 for airport 6 security 7 6 0 Israeli 1 officials 2 are responsible for airport 6 security 7 1 2 6 1 2 6 2 2 6 2 6 6 2 6 7 2 6 2 Metric System A System B word error rate (wer) 7% 71% Computational Linguistics: Jordan Boyd-Graber UMD Applications 1 / 1

BLEU N-gram overlap between machine translation output and reference translation Compute precision for n-grams of size 1 to Add brevity penalty (for too short translations) bleu = min 1, output-length reference-length i=1 precision i 1 Typically computed over the entire corpus, not single sentences Computational Linguistics: Jordan Boyd-Graber UMD Applications 1 / 1

Example SYSTEM A: REFERENCE: SYSTEM B: Israeli officials responsibility of airport safety 2-GRAM MATCH Israeli officials are responsible for airport security airport security Israeli officials are responsible 2-GRAM MATCH 1-GRAM MATCH -GRAM MATCH Metric System A System B precision (1gram) /6 6/6 precision (2gram) 1/ / precision (gram) 0/ 2/ precision (gram) 0/ 1/ brevity penalty 6/7 6/7 bleu 0% 2% Computational Linguistics: Jordan Boyd-Graber UMD Applications 1 / 1

Multiple Reference Translations To account for variability, use multiple reference translations n-grams may match in any of the references closest reference length used Example SYSTEM: REFERENCES: Israeli officials responsibility of airport safety 2-GRAM MATCH 2-GRAM MATCH 1-GRAM Israeli officials are responsible for airport security Israel is in charge of the security at this airport The security work for this airport is the responsibility of the Israel government Israeli side was in charge of the security of this airport Computational Linguistics: Jordan Boyd-Graber UMD Applications 16 / 1

Challenge Most machine learning approaches tune on likelihood How can we measure BLEU (or other metrics) And how does this work with decoding Computational Linguistics: Jordan Boyd-Graber UMD Applications 17 / 1

Challenge Most machine learning approaches tune on likelihood How can we measure BLEU (or other metrics) And how does this work with decoding... reinforcement learning Computational Linguistics: Jordan Boyd-Graber UMD Applications 17 / 1