Lecture 15: Summariza0on - GitHub Pagesaritter.github.io/courses/5525_slides_v2/lec15-summ.pdf ·...

125
Lecture 15: Summariza0on Alan Ri6er (many slides from Greg Durrett)

Transcript of Lecture 15: Summariza0on - GitHub Pagesaritter.github.io/courses/5525_slides_v2/lec15-summ.pdf ·...

Page 1: Lecture 15: Summariza0on - GitHub Pagesaritter.github.io/courses/5525_slides_v2/lec15-summ.pdf · 2020. 9. 25. · Lecture 15: Summariza0on Alan Ri6er (many slides from Greg Durrett)

Lecture15:Summariza0on

AlanRi6er(many slides from Greg Durrett)

Page 2: Lecture 15: Summariza0on - GitHub Pagesaritter.github.io/courses/5525_slides_v2/lec15-summ.pdf · 2020. 9. 25. · Lecture 15: Summariza0on Alan Ri6er (many slides from Greg Durrett)

ThisLecture

‣ Extrac0vesystemsformul0-documentsummariza0on

‣ Extrac0ve+compressivesystemsforsingle-documentsummariza0on

‣ Single-documentsummariza0onwithneuralnetworks

Page 3: Lecture 15: Summariza0on - GitHub Pagesaritter.github.io/courses/5525_slides_v2/lec15-summ.pdf · 2020. 9. 25. · Lecture 15: Summariza0on Alan Ri6er (many slides from Greg Durrett)

Summariza0on

Page 4: Lecture 15: Summariza0on - GitHub Pagesaritter.github.io/courses/5525_slides_v2/lec15-summ.pdf · 2020. 9. 25. · Lecture 15: Summariza0on Alan Ri6er (many slides from Greg Durrett)

Summariza0on

Page 5: Lecture 15: Summariza0on - GitHub Pagesaritter.github.io/courses/5525_slides_v2/lec15-summ.pdf · 2020. 9. 25. · Lecture 15: Summariza0on Alan Ri6er (many slides from Greg Durrett)

Summariza0on

Page 6: Lecture 15: Summariza0on - GitHub Pagesaritter.github.io/courses/5525_slides_v2/lec15-summ.pdf · 2020. 9. 25. · Lecture 15: Summariza0on Alan Ri6er (many slides from Greg Durrett)

Summariza0on

Page 7: Lecture 15: Summariza0on - GitHub Pagesaritter.github.io/courses/5525_slides_v2/lec15-summ.pdf · 2020. 9. 25. · Lecture 15: Summariza0on Alan Ri6er (many slides from Greg Durrett)

Summariza0on

‣Whatmakesagoodsummary?

Page 8: Lecture 15: Summariza0on - GitHub Pagesaritter.github.io/courses/5525_slides_v2/lec15-summ.pdf · 2020. 9. 25. · Lecture 15: Summariza0on Alan Ri6er (many slides from Greg Durrett)

Summariza0onBAGHDAD/ERBIL,Iraq(Reuters)-AstrongearthquakehitlargepartsofnorthernIraqandthecapitalBaghdadonSunday,andalsocauseddamageinvillagesacrosstheborderinIranwherestateTVsaidatleastsixpeoplehadbeenkilled.

Therewerenoimmediatereportsofcasual0esinIraqaUerthequake,whoseepicenterwasinPenjwin,inSulaimaniyahprovincewhichisinthesemi-autonomousKurdistanregionveryclosetotheIranianborder,accordingtoanIraqimeteorologyofficial.

ButeightvillagesweredamagedinIranandatleastsixpeoplewerekilledandmanyothersinjuredinthebordertownofQasr-eShirininIran,IranianstateTVsaid.

TheUSGeologicalSurveysaidthequakemeasuredamagnitudeof7.3,whileanIraqimeteorologyofficialputitsmagnitudeat6.5accordingtopreliminaryinforma0on.

ManyresidentsintheIraqicapitalBaghdadrushedoutofhousesandtallbuildingsinpanic.…

Page 9: Lecture 15: Summariza0on - GitHub Pagesaritter.github.io/courses/5525_slides_v2/lec15-summ.pdf · 2020. 9. 25. · Lecture 15: Summariza0on Alan Ri6er (many slides from Greg Durrett)

Summariza0onBAGHDAD/ERBIL,Iraq(Reuters)-AstrongearthquakehitlargepartsofnorthernIraqandthecapitalBaghdadonSunday,andalsocauseddamageinvillagesacrosstheborderinIranwherestateTVsaidatleastsixpeoplehadbeenkilled.

Therewerenoimmediatereportsofcasual0esinIraqaUerthequake,whoseepicenterwasinPenjwin,inSulaimaniyahprovincewhichisinthesemi-autonomousKurdistanregionveryclosetotheIranianborder,accordingtoanIraqimeteorologyofficial.

ButeightvillagesweredamagedinIranandatleastsixpeoplewerekilledandmanyothersinjuredinthebordertownofQasr-eShirininIran,IranianstateTVsaid.

TheUSGeologicalSurveysaidthequakemeasuredamagnitudeof7.3,whileanIraqimeteorologyofficialputitsmagnitudeat6.5accordingtopreliminaryinforma0on.

ManyresidentsintheIraqicapitalBaghdadrushedoutofhousesandtallbuildingsinpanic.…

Page 10: Lecture 15: Summariza0on - GitHub Pagesaritter.github.io/courses/5525_slides_v2/lec15-summ.pdf · 2020. 9. 25. · Lecture 15: Summariza0on Alan Ri6er (many slides from Greg Durrett)

Summariza0onBAGHDAD/ERBIL,Iraq(Reuters)-AstrongearthquakehitlargepartsofnorthernIraqandthecapitalBaghdadonSunday,andalsocauseddamageinvillagesacrosstheborderinIranwherestateTVsaidatleastsixpeoplehadbeenkilled.

Therewerenoimmediatereportsofcasual0esinIraqaUerthequake,whoseepicenterwasinPenjwin,inSulaimaniyahprovincewhichisinthesemi-autonomousKurdistanregionveryclosetotheIranianborder,accordingtoanIraqimeteorologyofficial.

ButeightvillagesweredamagedinIranandatleastsixpeoplewerekilledandmanyothersinjuredinthebordertownofQasr-eShirininIran,IranianstateTVsaid.

TheUSGeologicalSurveysaidthequakemeasuredamagnitudeof7.3,whileanIraqimeteorologyofficialputitsmagnitudeat6.5accordingtopreliminaryinforma0on.

ManyresidentsintheIraqicapitalBaghdadrushedoutofhousesandtallbuildingsinpanic.…

Page 11: Lecture 15: Summariza0on - GitHub Pagesaritter.github.io/courses/5525_slides_v2/lec15-summ.pdf · 2020. 9. 25. · Lecture 15: Summariza0on Alan Ri6er (many slides from Greg Durrett)

Summariza0onBAGHDAD/ERBIL,Iraq(Reuters)-AstrongearthquakehitlargepartsofnorthernIraqandthecapitalBaghdadonSunday,andalsocauseddamageinvillagesacrosstheborderinIranwherestateTVsaidatleastsixpeoplehadbeenkilled.

Therewerenoimmediatereportsofcasual0esinIraqaUerthequake,whoseepicenterwasinPenjwin,inSulaimaniyahprovincewhichisinthesemi-autonomousKurdistanregionveryclosetotheIranianborder,accordingtoanIraqimeteorologyofficial.

ButeightvillagesweredamagedinIranandatleastsixpeoplewerekilledandmanyothersinjuredinthebordertownofQasr-eShirininIran,IranianstateTVsaid.

TheUSGeologicalSurveysaidthequakemeasuredamagnitudeof7.3,whileanIraqimeteorologyofficialputitsmagnitudeat6.5accordingtopreliminaryinforma0on.

ManyresidentsintheIraqicapitalBaghdadrushedoutofhousesandtallbuildingsinpanic.…

Page 12: Lecture 15: Summariza0on - GitHub Pagesaritter.github.io/courses/5525_slides_v2/lec15-summ.pdf · 2020. 9. 25. · Lecture 15: Summariza0on Alan Ri6er (many slides from Greg Durrett)

Summariza0onBAGHDAD/ERBIL,Iraq(Reuters)-AstrongearthquakehitlargepartsofnorthernIraqandthecapitalBaghdadonSunday,andalsocauseddamageinvillagesacrosstheborderinIranwherestateTVsaidatleastsixpeoplehadbeenkilled.

Therewerenoimmediatereportsofcasual0esinIraqaUerthequake,whoseepicenterwasinPenjwin,inSulaimaniyahprovincewhichisinthesemi-autonomousKurdistanregionveryclosetotheIranianborder,accordingtoanIraqimeteorologyofficial.

ButeightvillagesweredamagedinIranandatleastsixpeoplewerekilledandmanyothersinjuredinthebordertownofQasr-eShirininIran,IranianstateTVsaid.

TheUSGeologicalSurveysaidthequakemeasuredamagnitudeof7.3,whileanIraqimeteorologyofficialputitsmagnitudeat6.5accordingtopreliminaryinforma0on.

ManyresidentsintheIraqicapitalBaghdadrushedoutofhousesandtallbuildingsinpanic.…

Page 13: Lecture 15: Summariza0on - GitHub Pagesaritter.github.io/courses/5525_slides_v2/lec15-summ.pdf · 2020. 9. 25. · Lecture 15: Summariza0on Alan Ri6er (many slides from Greg Durrett)

Summariza0onBAGHDAD/ERBIL,Iraq(Reuters)-AstrongearthquakehitlargepartsofnorthernIraqandthecapitalBaghdadonSunday,andalsocauseddamageinvillagesacrosstheborderinIranwherestateTVsaidatleastsixpeoplehadbeenkilled.

Therewerenoimmediatereportsofcasual0esinIraqaUerthequake,whoseepicenterwasinPenjwin,inSulaimaniyahprovincewhichisinthesemi-autonomousKurdistanregionveryclosetotheIranianborder,accordingtoanIraqimeteorologyofficial.

ButeightvillagesweredamagedinIranandatleastsixpeoplewerekilledandmanyothersinjuredinthebordertownofQasr-eShirininIran,IranianstateTVsaid.

TheUSGeologicalSurveysaidthequakemeasuredamagnitudeof7.3,whileanIraqimeteorologyofficialputitsmagnitudeat6.5accordingtopreliminaryinforma0on.

ManyresidentsintheIraqicapitalBaghdadrushedoutofhousesandtallbuildingsinpanic.…

Page 14: Lecture 15: Summariza0on - GitHub Pagesaritter.github.io/courses/5525_slides_v2/lec15-summ.pdf · 2020. 9. 25. · Lecture 15: Summariza0on Alan Ri6er (many slides from Greg Durrett)

Summariza0onBAGHDAD/ERBIL,Iraq(Reuters)-AstrongearthquakehitlargepartsofnorthernIraqandthecapitalBaghdadonSunday,andalsocauseddamageinvillagesacrosstheborderinIranwherestateTVsaidatleastsixpeoplehadbeenkilled.

Therewerenoimmediatereportsofcasual0esinIraqaUerthequake,whoseepicenterwasinPenjwin,inSulaimaniyahprovincewhichisinthesemi-autonomousKurdistanregionveryclosetotheIranianborder,accordingtoanIraqimeteorologyofficial.

ButeightvillagesweredamagedinIranandatleastsixpeoplewerekilledandmanyothersinjuredinthebordertownofQasr-eShirininIran,IranianstateTVsaid.

TheUSGeologicalSurveysaidthequakemeasuredamagnitudeof7.3,whileanIraqimeteorologyofficialputitsmagnitudeat6.5accordingtopreliminaryinforma0on.

ManyresidentsintheIraqicapitalBaghdadrushedoutofhousesandtallbuildingsinpanic.…

Page 15: Lecture 15: Summariza0on - GitHub Pagesaritter.github.io/courses/5525_slides_v2/lec15-summ.pdf · 2020. 9. 25. · Lecture 15: Summariza0on Alan Ri6er (many slides from Greg Durrett)

Summariza0onIndianExpress—Amassiveearthquakeofmagnitude7.3struckIraqonSunday,103kms(64miles)southeastofthecityofAs-Sulaymaniyah,theUSGeologicalSurveysaid,reportsReuters.USGeologicalSurveyini0allysaidthequakewasofamagnitude7.2,beforerevisingitto7.3.

ThequakehasbeenfeltinseveralIranianci0esandeightvillageshavebeendamaged.Electricityhasalsobeendisruptedatmanyplaces,suggestfewTVreports.

Page 16: Lecture 15: Summariza0on - GitHub Pagesaritter.github.io/courses/5525_slides_v2/lec15-summ.pdf · 2020. 9. 25. · Lecture 15: Summariza0on Alan Ri6er (many slides from Greg Durrett)

Summariza0onIndianExpress—Amassiveearthquakeofmagnitude7.3struckIraqonSunday,103kms(64miles)southeastofthecityofAs-Sulaymaniyah,theUSGeologicalSurveysaid,reportsReuters.USGeologicalSurveyini0allysaidthequakewasofamagnitude7.2,beforerevisingitto7.3.

ThequakehasbeenfeltinseveralIranianci0esandeightvillageshavebeendamaged.Electricityhasalsobeendisruptedatmanyplaces,suggestfewTVreports.

Page 17: Lecture 15: Summariza0on - GitHub Pagesaritter.github.io/courses/5525_slides_v2/lec15-summ.pdf · 2020. 9. 25. · Lecture 15: Summariza0on Alan Ri6er (many slides from Greg Durrett)

Summariza0onIndianExpress—Amassiveearthquakeofmagnitude7.3struckIraqonSunday,103kms(64miles)southeastofthecityofAs-Sulaymaniyah,theUSGeologicalSurveysaid,reportsReuters.USGeologicalSurveyini0allysaidthequakewasofamagnitude7.2,beforerevisingitto7.3.

ThequakehasbeenfeltinseveralIranianci0esandeightvillageshavebeendamaged.Electricityhasalsobeendisruptedatmanyplaces,suggestfewTVreports.

Amassiveearthquakeofmagnitude7.3struckIraqonSunday.TheepicenterwasclosetotheIranianborder.EightvillagesweredamagedandsixpeoplewerekilledinIran.

Summary

Page 18: Lecture 15: Summariza0on - GitHub Pagesaritter.github.io/courses/5525_slides_v2/lec15-summ.pdf · 2020. 9. 25. · Lecture 15: Summariza0on Alan Ri6er (many slides from Greg Durrett)

Summariza0onIndianExpress—Amassiveearthquakeofmagnitude7.3struckIraqonSunday,103kms(64miles)southeastofthecityofAs-Sulaymaniyah,theUSGeologicalSurveysaid,reportsReuters.USGeologicalSurveyini0allysaidthequakewasofamagnitude7.2,beforerevisingitto7.3.

ThequakehasbeenfeltinseveralIranianci0esandeightvillageshavebeendamaged.Electricityhasalsobeendisruptedatmanyplaces,suggestfewTVreports.

Amassiveearthquakeofmagnitude7.3struckIraqonSunday.TheepicenterwasclosetotheIranianborder.EightvillagesweredamagedandsixpeoplewerekilledinIran.

Summary

Page 19: Lecture 15: Summariza0on - GitHub Pagesaritter.github.io/courses/5525_slides_v2/lec15-summ.pdf · 2020. 9. 25. · Lecture 15: Summariza0on Alan Ri6er (many slides from Greg Durrett)

Whatmakesagoodsummary?

Astrongearthquakeofmagnitude7.3struckIraqandIranonSunday.TheepicenterwasclosetotheIranianborder.EightvillagesweredamagedandsixpeoplewerekilledinIran.

Summary

Page 20: Lecture 15: Summariza0on - GitHub Pagesaritter.github.io/courses/5525_slides_v2/lec15-summ.pdf · 2020. 9. 25. · Lecture 15: Summariza0on Alan Ri6er (many slides from Greg Durrett)

Whatmakesagoodsummary?

Astrongearthquakeofmagnitude7.3struckIraqandIranonSunday.TheepicenterwasclosetotheIranianborder.EightvillagesweredamagedandsixpeoplewerekilledinIran.

Summary

‣ Contentselec0on:picktherightcontent‣ Rightcontentwasrepeatedwithinandacrossdocuments

‣ Domain-specific(magnitude+epicenterofearthquakesareimportant)

Page 21: Lecture 15: Summariza0on - GitHub Pagesaritter.github.io/courses/5525_slides_v2/lec15-summ.pdf · 2020. 9. 25. · Lecture 15: Summariza0on Alan Ri6er (many slides from Greg Durrett)

Whatmakesagoodsummary?

Astrongearthquakeofmagnitude7.3struckIraqandIranonSunday.TheepicenterwasclosetotheIranianborder.EightvillagesweredamagedandsixpeoplewerekilledinIran.

Summary

‣ Contentselec0on:picktherightcontent‣ Rightcontentwasrepeatedwithinandacrossdocuments

‣ Domain-specific(magnitude+epicenterofearthquakesareimportant)

‣ Genera0on:writethesummary‣ Extrac0on:pickwholesentencesfromthesummary

‣ Compression:compressthosesentencesbutbasicallyjustdodele0on‣ Abstrac0on:rewrite+reexpresscontentfreely

Page 22: Lecture 15: Summariza0on - GitHub Pagesaritter.github.io/courses/5525_slides_v2/lec15-summ.pdf · 2020. 9. 25. · Lecture 15: Summariza0on Alan Ri6er (many slides from Greg Durrett)

Extrac0veSummariza0on

Page 23: Lecture 15: Summariza0on - GitHub Pagesaritter.github.io/courses/5525_slides_v2/lec15-summ.pdf · 2020. 9. 25. · Lecture 15: Summariza0on Alan Ri6er (many slides from Greg Durrett)

Extrac0veSummariza0on:MMR‣ Givensomear0clesandalengthbudgetofkwords,picksomesentencesoftotallength<=kandmakeasummary

CarbonellandGoldstein(1998)

Page 24: Lecture 15: Summariza0on - GitHub Pagesaritter.github.io/courses/5525_slides_v2/lec15-summ.pdf · 2020. 9. 25. · Lecture 15: Summariza0on Alan Ri6er (many slides from Greg Durrett)

Extrac0veSummariza0on:MMR‣ Givensomear0clesandalengthbudgetofkwords,picksomesentencesoftotallength<=kandmakeasummary

‣ Pickimportantyetdiversecontent:maximummarginalrelevance(MMR)

CarbonellandGoldstein(1998)

Page 25: Lecture 15: Summariza0on - GitHub Pagesaritter.github.io/courses/5525_slides_v2/lec15-summ.pdf · 2020. 9. 25. · Lecture 15: Summariza0on Alan Ri6er (many slides from Greg Durrett)

Extrac0veSummariza0on:MMR‣ Givensomear0clesandalengthbudgetofkwords,picksomesentencesoftotallength<=kandmakeasummary

‣ Pickimportantyetdiversecontent:maximummarginalrelevance(MMR)

Whilesummaryis<kwords

CarbonellandGoldstein(1998)

Page 26: Lecture 15: Summariza0on - GitHub Pagesaritter.github.io/courses/5525_slides_v2/lec15-summ.pdf · 2020. 9. 25. · Lecture 15: Summariza0on Alan Ri6er (many slides from Greg Durrett)

Extrac0veSummariza0on:MMR‣ Givensomear0clesandalengthbudgetofkwords,picksomesentencesoftotallength<=kandmakeasummary

‣ Pickimportantyetdiversecontent:maximummarginalrelevance(MMR)

Whilesummaryis<kwords

Calculate

CarbonellandGoldstein(1998)

Page 27: Lecture 15: Summariza0on - GitHub Pagesaritter.github.io/courses/5525_slides_v2/lec15-summ.pdf · 2020. 9. 25. · Lecture 15: Summariza0on Alan Ri6er (many slides from Greg Durrett)

Extrac0veSummariza0on:MMR‣ Givensomear0clesandalengthbudgetofkwords,picksomesentencesoftotallength<=kandmakeasummary

‣ Pickimportantyetdiversecontent:maximummarginalrelevance(MMR)

Whilesummaryis<kwords

Calculate

“maxoverallsentencesnotyetinthesummary”

CarbonellandGoldstein(1998)

Page 28: Lecture 15: Summariza0on - GitHub Pagesaritter.github.io/courses/5525_slides_v2/lec15-summ.pdf · 2020. 9. 25. · Lecture 15: Summariza0on Alan Ri6er (many slides from Greg Durrett)

Extrac0veSummariza0on:MMR‣ Givensomear0clesandalengthbudgetofkwords,picksomesentencesoftotallength<=kandmakeasummary

‣ Pickimportantyetdiversecontent:maximummarginalrelevance(MMR)

Whilesummaryis<kwords

Calculate

“makethissentencesimilartoaquery”

“maxoverallsentencesnotyetinthesummary”

CarbonellandGoldstein(1998)

Page 29: Lecture 15: Summariza0on - GitHub Pagesaritter.github.io/courses/5525_slides_v2/lec15-summ.pdf · 2020. 9. 25. · Lecture 15: Summariza0on Alan Ri6er (many slides from Greg Durrett)

Extrac0veSummariza0on:MMR‣ Givensomear0clesandalengthbudgetofkwords,picksomesentencesoftotallength<=kandmakeasummary

‣ Pickimportantyetdiversecontent:maximummarginalrelevance(MMR)

Whilesummaryis<kwords

Calculate

“makethissentencesimilartoaquery”

“makethissentencemaximallydifferentfromallothersaddedsofar”

“maxoverallsentencesnotyetinthesummary”

CarbonellandGoldstein(1998)

Page 30: Lecture 15: Summariza0on - GitHub Pagesaritter.github.io/courses/5525_slides_v2/lec15-summ.pdf · 2020. 9. 25. · Lecture 15: Summariza0on Alan Ri6er (many slides from Greg Durrett)

Extrac0veSummariza0on:MMR‣ Givensomear0clesandalengthbudgetofkwords,picksomesentencesoftotallength<=kandmakeasummary

‣ Pickimportantyetdiversecontent:maximummarginalrelevance(MMR)

Whilesummaryis<kwords

Calculate

AddhighestMMRsentencethatdoesn’toverflowlength

“makethissentencesimilartoaquery”

“makethissentencemaximallydifferentfromallothersaddedsofar”

“maxoverallsentencesnotyetinthesummary”

CarbonellandGoldstein(1998)

Page 31: Lecture 15: Summariza0on - GitHub Pagesaritter.github.io/courses/5525_slides_v2/lec15-summ.pdf · 2020. 9. 25. · Lecture 15: Summariza0on Alan Ri6er (many slides from Greg Durrett)

Extrac0veSummariza0on:Centroid‣ Representthedocumentsandeachsentencesasbag-of-wordswithTF-IDFweigh0ng

Radevetal.(2004)

Page 32: Lecture 15: Summariza0on - GitHub Pagesaritter.github.io/courses/5525_slides_v2/lec15-summ.pdf · 2020. 9. 25. · Lecture 15: Summariza0on Alan Ri6er (many slides from Greg Durrett)

Extrac0veSummariza0on:Centroid‣ Representthedocumentsandeachsentencesasbag-of-wordswithTF-IDFweigh0ng

Whilesummaryis<kwords

Radevetal.(2004)

Page 33: Lecture 15: Summariza0on - GitHub Pagesaritter.github.io/courses/5525_slides_v2/lec15-summ.pdf · 2020. 9. 25. · Lecture 15: Summariza0on Alan Ri6er (many slides from Greg Durrett)

Extrac0veSummariza0on:Centroid‣ Representthedocumentsandeachsentencesasbag-of-wordswithTF-IDFweigh0ng

Whilesummaryis<kwords

Calculatescore(sentence)=cosine(sent-vec,doc-vec)

Radevetal.(2004)

Page 34: Lecture 15: Summariza0on - GitHub Pagesaritter.github.io/courses/5525_slides_v2/lec15-summ.pdf · 2020. 9. 25. · Lecture 15: Summariza0on Alan Ri6er (many slides from Greg Durrett)

Extrac0veSummariza0on:Centroid‣ Representthedocumentsandeachsentencesasbag-of-wordswithTF-IDFweigh0ng

Whilesummaryis<kwords

Calculatescore(sentence)=cosine(sent-vec,doc-vec)

Radevetal.(2004)

Discardallsentenceswhosesimilaritywithsomesentencealreadyinthesummaryistoohigh

Page 35: Lecture 15: Summariza0on - GitHub Pagesaritter.github.io/courses/5525_slides_v2/lec15-summ.pdf · 2020. 9. 25. · Lecture 15: Summariza0on Alan Ri6er (many slides from Greg Durrett)

Extrac0veSummariza0on:Centroid‣ Representthedocumentsandeachsentencesasbag-of-wordswithTF-IDFweigh0ng

Whilesummaryis<kwords

Calculatescore(sentence)=cosine(sent-vec,doc-vec)

Radevetal.(2004)

Discardallsentenceswhosesimilaritywithsomesentencealreadyinthesummaryistoohigh

Addthebestremainingsentencethatwon’toverflowthesummary

Page 36: Lecture 15: Summariza0on - GitHub Pagesaritter.github.io/courses/5525_slides_v2/lec15-summ.pdf · 2020. 9. 25. · Lecture 15: Summariza0on Alan Ri6er (many slides from Greg Durrett)

Extrac0veSummariza0on:BigramRecall‣ Countnumberofdocumentseachbigramoccursintomeasureimportance

GillickandFavre(2009)

Page 37: Lecture 15: Summariza0on - GitHub Pagesaritter.github.io/courses/5525_slides_v2/lec15-summ.pdf · 2020. 9. 25. · Lecture 15: Summariza0on Alan Ri6er (many slides from Greg Durrett)

Extrac0veSummariza0on:BigramRecall‣ Countnumberofdocumentseachbigramoccursintomeasureimportance

GillickandFavre(2009)

score(massiveearthquake)=3

score(Iraqicapital)=1score(sixkilled)=2score(magnitude7.3)=2

Page 38: Lecture 15: Summariza0on - GitHub Pagesaritter.github.io/courses/5525_slides_v2/lec15-summ.pdf · 2020. 9. 25. · Lecture 15: Summariza0on Alan Ri6er (many slides from Greg Durrett)

Extrac0veSummariza0on:BigramRecall‣ Countnumberofdocumentseachbigramoccursintomeasureimportance

GillickandFavre(2009)

score(massiveearthquake)=3

score(Iraqicapital)=1score(sixkilled)=2score(magnitude7.3)=2

‣ Findsummarythatmaximizesthescoreofbigramsitcovers

Page 39: Lecture 15: Summariza0on - GitHub Pagesaritter.github.io/courses/5525_slides_v2/lec15-summ.pdf · 2020. 9. 25. · Lecture 15: Summariza0on Alan Ri6er (many slides from Greg Durrett)

Extrac0veSummariza0on:BigramRecall‣ Countnumberofdocumentseachbigramoccursintomeasureimportance

GillickandFavre(2009)

score(massiveearthquake)=3

score(Iraqicapital)=1score(sixkilled)=2score(magnitude7.3)=2

‣ ILPformula0on:candsareindicatorvariablesindexedoverbigrams(“concepts”)andsentences,respec0vely

‣ Findsummarythatmaximizesthescoreofbigramsitcovers

Page 40: Lecture 15: Summariza0on - GitHub Pagesaritter.github.io/courses/5525_slides_v2/lec15-summ.pdf · 2020. 9. 25. · Lecture 15: Summariza0on Alan Ri6er (many slides from Greg Durrett)

Extrac0veSummariza0on:BigramRecall‣ Countnumberofdocumentseachbigramoccursintomeasureimportance

GillickandFavre(2009)

score(massiveearthquake)=3

score(Iraqicapital)=1score(sixkilled)=2score(magnitude7.3)=2

‣ ILPformula0on:candsareindicatorvariablesindexedoverbigrams(“concepts”)andsentences,respec0vely

sumofincludedsentences’lengthscan’texceedL

‣ Findsummarythatmaximizesthescoreofbigramsitcovers

Page 41: Lecture 15: Summariza0on - GitHub Pagesaritter.github.io/courses/5525_slides_v2/lec15-summ.pdf · 2020. 9. 25. · Lecture 15: Summariza0on Alan Ri6er (many slides from Greg Durrett)

Extrac0veSummariza0on:BigramRecall‣ Countnumberofdocumentseachbigramoccursintomeasureimportance

GillickandFavre(2009)

score(massiveearthquake)=3

score(Iraqicapital)=1score(sixkilled)=2score(magnitude7.3)=2

‣ ILPformula0on:candsareindicatorvariablesindexedoverbigrams(“concepts”)andsentences,respec0vely

“setcito1iffsomesentencethatcontainsitisincluded”

sumofincludedsentences’lengthscan’texceedL

‣ Findsummarythatmaximizesthescoreofbigramsitcovers

Page 42: Lecture 15: Summariza0on - GitHub Pagesaritter.github.io/courses/5525_slides_v2/lec15-summ.pdf · 2020. 9. 25. · Lecture 15: Summariza0on Alan Ri6er (many slides from Greg Durrett)

Evalua0on:ROUGE‣ Rouge-n:n-gramprecision/recall/F1ofsummaryw.r.t.goldstandard

Lin(2004)

‣ Rouge-2correlateswellwithhumanjudgmentsformul0-documentsummariza0ontasks

Page 43: Lecture 15: Summariza0on - GitHub Pagesaritter.github.io/courses/5525_slides_v2/lec15-summ.pdf · 2020. 9. 25. · Lecture 15: Summariza0on Alan Ri6er (many slides from Greg Durrett)

Evalua0on:ROUGE‣ Rouge-n:n-gramprecision/recall/F1ofsummaryw.r.t.goldstandard

Lin(2004)

‣ Rouge-2correlateswellwithhumanjudgmentsformul0-documentsummariza0ontasks

AnearthquakewasdetectedinIraqonSunday

Amassiveearthquakeofmagnitude7.3struckIraqonSunday

reference

predic0on

Page 44: Lecture 15: Summariza0on - GitHub Pagesaritter.github.io/courses/5525_slides_v2/lec15-summ.pdf · 2020. 9. 25. · Lecture 15: Summariza0on Alan Ri6er (many slides from Greg Durrett)

Evalua0on:ROUGE‣ Rouge-n:n-gramprecision/recall/F1ofsummaryw.r.t.goldstandard

Lin(2004)

‣ Rouge-2correlateswellwithhumanjudgmentsformul0-documentsummariza0ontasks

AnearthquakewasdetectedinIraqonSunday

Amassiveearthquakeofmagnitude7.3struckIraqonSunday

reference

predic0on

Page 45: Lecture 15: Summariza0on - GitHub Pagesaritter.github.io/courses/5525_slides_v2/lec15-summ.pdf · 2020. 9. 25. · Lecture 15: Summariza0on Alan Ri6er (many slides from Greg Durrett)

Evalua0on:ROUGE‣ Rouge-n:n-gramprecision/recall/F1ofsummaryw.r.t.goldstandard

Lin(2004)

‣ Rouge-2correlateswellwithhumanjudgmentsformul0-documentsummariza0ontasks

AnearthquakewasdetectedinIraqonSunday

Amassiveearthquakeofmagnitude7.3struckIraqonSunday

reference

predic0on

ROUGE2recall=1correctbigram(Iraq,Sunday)/3referencebigrams

Page 46: Lecture 15: Summariza0on - GitHub Pagesaritter.github.io/courses/5525_slides_v2/lec15-summ.pdf · 2020. 9. 25. · Lecture 15: Summariza0on Alan Ri6er (many slides from Greg Durrett)

Evalua0on:ROUGE‣ Rouge-n:n-gramprecision/recall/F1ofsummaryw.r.t.goldstandard

Lin(2004)

‣ Rouge-2correlateswellwithhumanjudgmentsformul0-documentsummariza0ontasks

AnearthquakewasdetectedinIraqonSunday

Amassiveearthquakeofmagnitude7.3struckIraqonSunday

reference

predic0on

ROUGE2recall=1correctbigram(Iraq,Sunday)/3referencebigrams

ROUGE2precision=1correctbigram(Iraq,Sunday)/6predictedbigrams

Page 47: Lecture 15: Summariza0on - GitHub Pagesaritter.github.io/courses/5525_slides_v2/lec15-summ.pdf · 2020. 9. 25. · Lecture 15: Summariza0on Alan Ri6er (many slides from Greg Durrett)

Evalua0on:ROUGE‣ Rouge-n:n-gramprecision/recall/F1ofsummaryw.r.t.goldstandard

Lin(2004)

‣ Rouge-2correlateswellwithhumanjudgmentsformul0-documentsummariza0ontasks

AnearthquakewasdetectedinIraqonSunday

Amassiveearthquakeofmagnitude7.3struckIraqonSunday

‣Manyhyperparameters:stemming,removestopwords,etc.

reference

predic0on

ROUGE2recall=1correctbigram(Iraq,Sunday)/3referencebigrams

ROUGE2precision=1correctbigram(Iraq,Sunday)/6predictedbigrams

Page 48: Lecture 15: Summariza0on - GitHub Pagesaritter.github.io/courses/5525_slides_v2/lec15-summ.pdf · 2020. 9. 25. · Lecture 15: Summariza0on Alan Ri6er (many slides from Greg Durrett)

Evalua0on:ROUGE‣ Rouge-n:n-gramprecision/recall/F1ofsummaryw.r.t.goldstandard

Lin(2004)

‣ Rouge-2correlateswellwithhumanjudgmentsformul0-documentsummariza0ontasks

AnearthquakewasdetectedinIraqonSunday

Amassiveearthquakeofmagnitude7.3struckIraqonSunday

‣Manyhyperparameters:stemming,removestopwords,etc.

reference

predic0on

ROUGE2recall=1correctbigram(Iraq,Sunday)/3referencebigrams

‣ Historically:ROUGErecall@k{words,characters}.Now:ROUGEF1

ROUGE2precision=1correctbigram(Iraq,Sunday)/6predictedbigrams

Page 49: Lecture 15: Summariza0on - GitHub Pagesaritter.github.io/courses/5525_slides_v2/lec15-summ.pdf · 2020. 9. 25. · Lecture 15: Summariza0on Alan Ri6er (many slides from Greg Durrett)

Results

Ghalandri(2017)

Be6ercentroid:38.589.731.53

GillickandFavre/bigramrecall

Page 50: Lecture 15: Summariza0on - GitHub Pagesaritter.github.io/courses/5525_slides_v2/lec15-summ.pdf · 2020. 9. 25. · Lecture 15: Summariza0on Alan Ri6er (many slides from Greg Durrett)

Results

Ghalandri(2017)

Be6ercentroid:38.589.731.53

GillickandFavre/bigramrecall

‣ Caveat:thesetechniquesallworkbe6erformul0-documentthansingle-document!

Page 51: Lecture 15: Summariza0on - GitHub Pagesaritter.github.io/courses/5525_slides_v2/lec15-summ.pdf · 2020. 9. 25. · Lecture 15: Summariza0on Alan Ri6er (many slides from Greg Durrett)

Mul0-Documentvs.SingleDocument

‣ “amassiveearthquakehitIraq”“amassiveearthquakestruckIraq”—lotsofredundancytohelpselectcontentinmul0-documentcase

Page 52: Lecture 15: Summariza0on - GitHub Pagesaritter.github.io/courses/5525_slides_v2/lec15-summ.pdf · 2020. 9. 25. · Lecture 15: Summariza0on Alan Ri6er (many slides from Greg Durrett)

Mul0-Documentvs.SingleDocument

‣ “amassiveearthquakehitIraq”“amassiveearthquakestruckIraq”—lotsofredundancytohelpselectcontentinmul0-documentcase

‣Whenyouhavealotofdocuments,therearemorepossiblesentencestoextract:

Page 53: Lecture 15: Summariza0on - GitHub Pagesaritter.github.io/courses/5525_slides_v2/lec15-summ.pdf · 2020. 9. 25. · Lecture 15: Summariza0on Alan Ri6er (many slides from Greg Durrett)

Mul0-Documentvs.SingleDocument

‣ “amassiveearthquakehitIraq”“amassiveearthquakestruckIraq”—lotsofredundancytohelpselectcontentinmul0-documentcase

‣Whenyouhavealotofdocuments,therearemorepossiblesentencestoextract:

ButeightvillagesweredamagedinIranandatleastsixpeoplewerekilledandmanyothersinjuredinthebordertownofQasr-eShirininIran,IranianstateTVsaid.

Page 54: Lecture 15: Summariza0on - GitHub Pagesaritter.github.io/courses/5525_slides_v2/lec15-summ.pdf · 2020. 9. 25. · Lecture 15: Summariza0on Alan Ri6er (many slides from Greg Durrett)

Mul0-Documentvs.SingleDocument

‣ “amassiveearthquakehitIraq”“amassiveearthquakestruckIraq”—lotsofredundancytohelpselectcontentinmul0-documentcase

‣Whenyouhavealotofdocuments,therearemorepossiblesentencestoextract:

ButeightvillagesweredamagedinIranandatleastsixpeoplewerekilledandmanyothersinjuredinthebordertownofQasr-eShirininIran,IranianstateTVsaid.

ThequakehasbeenfeltinseveralIranianci0esandeightvillageshavebeendamaged.

Page 55: Lecture 15: Summariza0on - GitHub Pagesaritter.github.io/courses/5525_slides_v2/lec15-summ.pdf · 2020. 9. 25. · Lecture 15: Summariza0on Alan Ri6er (many slides from Greg Durrett)

Mul0-Documentvs.SingleDocument

‣ “amassiveearthquakehitIraq”“amassiveearthquakestruckIraq”—lotsofredundancytohelpselectcontentinmul0-documentcase

‣Whenyouhavealotofdocuments,therearemorepossiblesentencestoextract:

ButeightvillagesweredamagedinIranandatleastsixpeoplewerekilledandmanyothersinjuredinthebordertownofQasr-eShirininIran,IranianstateTVsaid.

ThequakehasbeenfeltinseveralIranianci0esandeightvillageshavebeendamaged.

Page 56: Lecture 15: Summariza0on - GitHub Pagesaritter.github.io/courses/5525_slides_v2/lec15-summ.pdf · 2020. 9. 25. · Lecture 15: Summariza0on Alan Ri6er (many slides from Greg Durrett)

Mul0-Documentvs.SingleDocument

‣ “amassiveearthquakehitIraq”“amassiveearthquakestruckIraq”—lotsofredundancytohelpselectcontentinmul0-documentcase

‣Whenyouhavealotofdocuments,therearemorepossiblesentencestoextract:

ButeightvillagesweredamagedinIranandatleastsixpeoplewerekilledandmanyothersinjuredinthebordertownofQasr-eShirininIran,IranianstateTVsaid.

ThequakehasbeenfeltinseveralIranianci0esandeightvillageshavebeendamaged.

‣Mul0-documentsummariza0oniseasier?

Page 57: Lecture 15: Summariza0on - GitHub Pagesaritter.github.io/courses/5525_slides_v2/lec15-summ.pdf · 2020. 9. 25. · Lecture 15: Summariza0on Alan Ri6er (many slides from Greg Durrett)

CompressiveSummariza0on

Page 58: Lecture 15: Summariza0on - GitHub Pagesaritter.github.io/courses/5525_slides_v2/lec15-summ.pdf · 2020. 9. 25. · Lecture 15: Summariza0on Alan Ri6er (many slides from Greg Durrett)

CompressiveSummariza0on

IndianExpress—Amassiveearthquakeofmagnitude7.3struckIraqonSunday,103kms(64miles)southeastofthecityofAs-Sulaymaniyah,theUSGeologicalSurveysaid,reportsReuters.USGeologicalSurveyini0allysaidthequakewasofamagnitude7.2,beforerevisingitto7.3.

Page 59: Lecture 15: Summariza0on - GitHub Pagesaritter.github.io/courses/5525_slides_v2/lec15-summ.pdf · 2020. 9. 25. · Lecture 15: Summariza0on Alan Ri6er (many slides from Greg Durrett)

CompressiveSummariza0on

IndianExpress—Amassiveearthquakeofmagnitude7.3struckIraqonSunday,103kms(64miles)southeastofthecityofAs-Sulaymaniyah,theUSGeologicalSurveysaid,reportsReuters.USGeologicalSurveyini0allysaidthequakewasofamagnitude7.2,beforerevisingitto7.3.

Page 60: Lecture 15: Summariza0on - GitHub Pagesaritter.github.io/courses/5525_slides_v2/lec15-summ.pdf · 2020. 9. 25. · Lecture 15: Summariza0on Alan Ri6er (many slides from Greg Durrett)

CompressiveSummariza0on

IndianExpress—Amassiveearthquakeofmagnitude7.3struckIraqonSunday,103kms(64miles)southeastofthecityofAs-Sulaymaniyah,theUSGeologicalSurveysaid,reportsReuters.USGeologicalSurveyini0allysaidthequakewasofamagnitude7.2,beforerevisingitto7.3.

‣ Sentenceextrac0onisn’taggressiveenoughatremovingirrelevantcontent

‣Wanttoextractsentencesandalsodeletecontentfromthem

Page 61: Lecture 15: Summariza0on - GitHub Pagesaritter.github.io/courses/5525_slides_v2/lec15-summ.pdf · 2020. 9. 25. · Lecture 15: Summariza0on Alan Ri6er (many slides from Greg Durrett)

Syntac0cCuts

‣ Deleteadjuncts

‣ Usesyntac0crulestomakecertaindele0ons

Berg-Kirkpatricketal.(2011)

Page 62: Lecture 15: Summariza0on - GitHub Pagesaritter.github.io/courses/5525_slides_v2/lec15-summ.pdf · 2020. 9. 25. · Lecture 15: Summariza0on Alan Ri6er (many slides from Greg Durrett)

Syntac0cCuts

‣ Deleteadjuncts

Amassiveearthquakeofmagnitude7.3struckIraqonSunday,103kms(64miles)…

NP

NP-LOCVBD NP NP-TMP

VP

S

‣ Usesyntac0crulestomakecertaindele0ons

Berg-Kirkpatricketal.(2011)

Page 63: Lecture 15: Summariza0on - GitHub Pagesaritter.github.io/courses/5525_slides_v2/lec15-summ.pdf · 2020. 9. 25. · Lecture 15: Summariza0on Alan Ri6er (many slides from Greg Durrett)

Syntac0cCuts

‣ Deleteadjuncts

Amassiveearthquakeofmagnitude7.3struckIraqonSunday,103kms(64miles)…

NP

NP-LOCVBD NP NP-TMP

VP

S

‣ Usesyntac0crulestomakecertaindele0ons

Berg-Kirkpatricketal.(2011)

Page 64: Lecture 15: Summariza0on - GitHub Pagesaritter.github.io/courses/5525_slides_v2/lec15-summ.pdf · 2020. 9. 25. · Lecture 15: Summariza0on Alan Ri6er (many slides from Greg Durrett)

Syntac0cCuts

‣ Deletesecondpartsofcoordina0onstructures

‣ Usesyntac0crulestomakecertaindele0ons

Berg-Kirkpatricketal.(2011)

Page 65: Lecture 15: Summariza0on - GitHub Pagesaritter.github.io/courses/5525_slides_v2/lec15-summ.pdf · 2020. 9. 25. · Lecture 15: Summariza0on Alan Ri6er (many slides from Greg Durrett)

Syntac0cCuts

‣ Deletesecondpartsofcoordina0onstructures

Atleastsixpeoplewerekilledandmanyothersinjured

S SCC

S

‣ Usesyntac0crulestomakecertaindele0ons

Berg-Kirkpatricketal.(2011)

Page 66: Lecture 15: Summariza0on - GitHub Pagesaritter.github.io/courses/5525_slides_v2/lec15-summ.pdf · 2020. 9. 25. · Lecture 15: Summariza0on Alan Ri6er (many slides from Greg Durrett)

Syntac0cCuts

‣ Deletesecondpartsofcoordina0onstructures

Atleastsixpeoplewerekilledandmanyothersinjured

S SCC

S

‣ Usesyntac0crulestomakecertaindele0ons

Berg-Kirkpatricketal.(2011)

Page 67: Lecture 15: Summariza0on - GitHub Pagesaritter.github.io/courses/5525_slides_v2/lec15-summ.pdf · 2020. 9. 25. · Lecture 15: Summariza0on Alan Ri6er (many slides from Greg Durrett)

CompressiveILP‣ RecalltheGillick+FavreILP:

Atleastsixpeoplewerekilledandmanyothersinjured

S SCC

S

Berg-Kirkpatricketal.(2011)

Page 68: Lecture 15: Summariza0on - GitHub Pagesaritter.github.io/courses/5525_slides_v2/lec15-summ.pdf · 2020. 9. 25. · Lecture 15: Summariza0on Alan Ri6er (many slides from Greg Durrett)

CompressiveILP‣ RecalltheGillick+FavreILP:

‣ Nowsjvariablesarenodesorsetsofnodesintheparsetree

Atleastsixpeoplewerekilledandmanyothersinjured

S SCC

S

Berg-Kirkpatricketal.(2011)

Page 69: Lecture 15: Summariza0on - GitHub Pagesaritter.github.io/courses/5525_slides_v2/lec15-summ.pdf · 2020. 9. 25. · Lecture 15: Summariza0on Alan Ri6er (many slides from Greg Durrett)

CompressiveILP‣ RecalltheGillick+FavreILP:

‣ Nowsjvariablesarenodesorsetsofnodesintheparsetree

Atleastsixpeoplewerekilledandmanyothersinjured

S SCC

S

s2s1

Berg-Kirkpatricketal.(2011)

Page 70: Lecture 15: Summariza0on - GitHub Pagesaritter.github.io/courses/5525_slides_v2/lec15-summ.pdf · 2020. 9. 25. · Lecture 15: Summariza0on Alan Ri6er (many slides from Greg Durrett)

CompressiveILP‣ RecalltheGillick+FavreILP:

‣ Nowsjvariablesarenodesorsetsofnodesintheparsetree

Atleastsixpeoplewerekilledandmanyothersinjured

S SCC

S

s2s1

‣ Newconstraint:s2≤s1

Berg-Kirkpatricketal.(2011)

Page 71: Lecture 15: Summariza0on - GitHub Pagesaritter.github.io/courses/5525_slides_v2/lec15-summ.pdf · 2020. 9. 25. · Lecture 15: Summariza0on Alan Ri6er (many slides from Greg Durrett)

CompressiveILP‣ RecalltheGillick+FavreILP:

‣ Nowsjvariablesarenodesorsetsofnodesintheparsetree

Atleastsixpeoplewerekilledandmanyothersinjured

S SCC

S

s2s1

‣ Newconstraint:s2≤s1“s1isaprerequisitefors2”

Berg-Kirkpatricketal.(2011)

Page 72: Lecture 15: Summariza0on - GitHub Pagesaritter.github.io/courses/5525_slides_v2/lec15-summ.pdf · 2020. 9. 25. · Lecture 15: Summariza0on Alan Ri6er (many slides from Greg Durrett)

Thishasn'tbeenKellogg'syear.

CompressiveSummariza0on

Itspresidentquitsuddenly.

Theoat-brancrazehascostitmarketshare.

AndnowKelloggiscancelingitsnewcerealplant,whichwouldhavecost$1billion.

Page 73: Lecture 15: Summariza0on - GitHub Pagesaritter.github.io/courses/5525_slides_v2/lec15-summ.pdf · 2020. 9. 25. · Lecture 15: Summariza0on Alan Ri6er (many slides from Greg Durrett)

Thishasn'tbeenKellogg'syear.

CompressiveSummariza0on

Itspresidentquitsuddenly.

Theoat-brancrazehascostitmarketshare.

AndnowKelloggiscancelingitsnewcerealplant,whichwouldhavecost$1billion.

Page 74: Lecture 15: Summariza0on - GitHub Pagesaritter.github.io/courses/5525_slides_v2/lec15-summ.pdf · 2020. 9. 25. · Lecture 15: Summariza0on Alan Ri6er (many slides from Greg Durrett)

Thishasn'tbeenKellogg'syear.

CompressiveSummariza0on

Itspresidentquitsuddenly.

Theoat-brancrazehascostitmarketshare.

AndnowKelloggiscancelingitsnewcerealplant,whichwouldhavecost$1billion.

Page 75: Lecture 15: Summariza0on - GitHub Pagesaritter.github.io/courses/5525_slides_v2/lec15-summ.pdf · 2020. 9. 25. · Lecture 15: Summariza0on Alan Ri6er (many slides from Greg Durrett)

Thishasn'tbeenKellogg'syear.

CompressiveSummariza0on

Itspresidentquitsuddenly.

Theoat-brancrazehascostitmarketshare.

AndnowKelloggiscancelingitsnewcerealplant,whichwouldhavecost$1billion.

Page 76: Lecture 15: Summariza0on - GitHub Pagesaritter.github.io/courses/5525_slides_v2/lec15-summ.pdf · 2020. 9. 25. · Lecture 15: Summariza0on Alan Ri6er (many slides from Greg Durrett)

Thishasn'tbeenKellogg'syear.

CompressiveSummariza0on

Itspresidentquitsuddenly.

Theoat-brancrazehascostitmarketshare.

AndnowKelloggiscancelingitsnewcerealplant,whichwouldhavecost$1billion.

Page 77: Lecture 15: Summariza0on - GitHub Pagesaritter.github.io/courses/5525_slides_v2/lec15-summ.pdf · 2020. 9. 25. · Lecture 15: Summariza0on Alan Ri6er (many slides from Greg Durrett)

Thishasn'tbeenKellogg'syear.

CompressiveSummariza0on

Itspresidentquitsuddenly.

Theoat-brancrazehascostitmarketshare.

AndnowKelloggiscancelingitsnewcerealplant,whichwouldhavecost$1billion.

SBARNP

NP

Page 78: Lecture 15: Summariza0on - GitHub Pagesaritter.github.io/courses/5525_slides_v2/lec15-summ.pdf · 2020. 9. 25. · Lecture 15: Summariza0on Alan Ri6er (many slides from Greg Durrett)

Thishasn'tbeenKellogg'syear.

CompressiveSummariza0on

Itspresidentquitsuddenly.

Theoat-brancrazehascostitmarketshare.

AndnowKelloggiscancelingitsnewcerealplant,whichwouldhavecost$1billion.

SBARNP

NP

Page 79: Lecture 15: Summariza0on - GitHub Pagesaritter.github.io/courses/5525_slides_v2/lec15-summ.pdf · 2020. 9. 25. · Lecture 15: Summariza0on Alan Ri6er (many slides from Greg Durrett)

Thishasn'tbeenKellogg'syear.

CompressiveSummariza0on

Itspresidentquitsuddenly.

Theoat-brancrazehascostitmarketshare.

AndnowKelloggiscancelingitsnewcerealplant,whichwouldhavecost$1billion.

SBARNP

NP

Page 80: Lecture 15: Summariza0on - GitHub Pagesaritter.github.io/courses/5525_slides_v2/lec15-summ.pdf · 2020. 9. 25. · Lecture 15: Summariza0on Alan Ri6er (many slides from Greg Durrett)

Thishasn'tbeenKellogg'syear.

CompressiveSummariza0on

Itspresidentquitsuddenly.

AndnowKelloggiscancelingitsnewcerealplant,whichwouldhavecost$1billion.

SBARNP

NP

Theoat-brancrazehascostKelloggmarketshare.

Page 81: Lecture 15: Summariza0on - GitHub Pagesaritter.github.io/courses/5525_slides_v2/lec15-summ.pdf · 2020. 9. 25. · Lecture 15: Summariza0on Alan Ri6er (many slides from Greg Durrett)

Thishasn'tbeenKellogg'syear.

CompressiveSummariza0on

Itspresidentquitsuddenly.

AndnowKelloggiscancelingitsnewcerealplant,whichwouldhavecost$1billion.

SBARNP

NP

Theoat-brancrazehascostKelloggmarketshare.

x1

x2

x3

x4x5

Page 82: Lecture 15: Summariza0on - GitHub Pagesaritter.github.io/courses/5525_slides_v2/lec15-summ.pdf · 2020. 9. 25. · Lecture 15: Summariza0on Alan Ri6er (many slides from Greg Durrett)

Thishasn'tbeenKellogg'syear.

CompressiveSummariza0on

Itspresidentquitsuddenly.

AndnowKelloggiscancelingitsnewcerealplant,whichwouldhavecost$1billion.

SBARNP

NP

Theoat-brancrazehascostKelloggmarketshare.

x1

x2

x3

x4x5

maxx

�w>f(x)

�ILP:

Page 83: Lecture 15: Summariza0on - GitHub Pagesaritter.github.io/courses/5525_slides_v2/lec15-summ.pdf · 2020. 9. 25. · Lecture 15: Summariza0on Alan Ri6er (many slides from Greg Durrett)

Thishasn'tbeenKellogg'syear.

CompressiveSummariza0on

Itspresidentquitsuddenly.

AndnowKelloggiscancelingitsnewcerealplant,whichwouldhavecost$1billion.

SBARNP

NP

Theoat-brancrazehascostKelloggmarketshare.

x1

x2

x3

x4x5

maxx

�w>f(x)

�s.t. summary(x) obeys length limit

summary(x) is grammatical

summary(x) is coherent

ILP:

Page 84: Lecture 15: Summariza0on - GitHub Pagesaritter.github.io/courses/5525_slides_v2/lec15-summ.pdf · 2020. 9. 25. · Lecture 15: Summariza0on Alan Ri6er (many slides from Greg Durrett)

Constraints

maxx

�w>f(x)

�s.t. summary(x) obeys length limit

summary(x) is grammatical

summary(x) is coherent

Durre6etal.(2016)

Page 85: Lecture 15: Summariza0on - GitHub Pagesaritter.github.io/courses/5525_slides_v2/lec15-summ.pdf · 2020. 9. 25. · Lecture 15: Summariza0on Alan Ri6er (many slides from Greg Durrett)

Constraints

maxx

�w>f(x)

Gramma0calityconstraints:allowcutswithinsentences

s.t. summary(x) obeys length limit

summary(x) is grammatical

summary(x) is coherent

Durre6etal.(2016)

Page 86: Lecture 15: Summariza0on - GitHub Pagesaritter.github.io/courses/5525_slides_v2/lec15-summ.pdf · 2020. 9. 25. · Lecture 15: Summariza0on Alan Ri6er (many slides from Greg Durrett)

Constraints

maxx

�w>f(x)

Gramma0calityconstraints:allowcutswithinsentences

Coreferenceconstraints:donotallowpronounsthatwouldrefertonothing

s.t. summary(x) obeys length limit

summary(x) is grammatical

summary(x) is coherent

Durre6etal.(2016)

Page 87: Lecture 15: Summariza0on - GitHub Pagesaritter.github.io/courses/5525_slides_v2/lec15-summ.pdf · 2020. 9. 25. · Lecture 15: Summariza0on Alan Ri6er (many slides from Greg Durrett)

Constraints

maxx

�w>f(x)

Gramma0calityconstraints:allowcutswithinsentences

Coreferenceconstraints:donotallowpronounsthatwouldrefertonothing

‣ Ifwe’reconfidentaboutcoreference,rewritethepronoun(itKellogg)

s.t. summary(x) obeys length limit

summary(x) is grammatical

summary(x) is coherent

Durre6etal.(2016)

Page 88: Lecture 15: Summariza0on - GitHub Pagesaritter.github.io/courses/5525_slides_v2/lec15-summ.pdf · 2020. 9. 25. · Lecture 15: Summariza0on Alan Ri6er (many slides from Greg Durrett)

Constraints

maxx

�w>f(x)

Gramma0calityconstraints:allowcutswithinsentences

Coreferenceconstraints:donotallowpronounsthatwouldrefertonothing

‣ Otherwise,forceitsantecedenttobeincludedinthesummary‣ Ifwe’reconfidentaboutcoreference,rewritethepronoun(itKellogg)

s.t. summary(x) obeys length limit

summary(x) is grammatical

summary(x) is coherent

Durre6etal.(2016)

Page 89: Lecture 15: Summariza0on - GitHub Pagesaritter.github.io/courses/5525_slides_v2/lec15-summ.pdf · 2020. 9. 25. · Lecture 15: Summariza0on Alan Ri6er (many slides from Greg Durrett)

Features

maxx

�w>f(x)

�s.t. summary(x) obeys length limit

summary(x) is grammatical

summary(x) is coherent

‣ Nowusesafeature-basedmodel,wherefeaturesiden0fygoodcontent

Page 90: Lecture 15: Summariza0on - GitHub Pagesaritter.github.io/courses/5525_slides_v2/lec15-summ.pdf · 2020. 9. 25. · Lecture 15: Summariza0on Alan Ri6er (many slides from Greg Durrett)

Features

maxx

�w>f(x)

AndnowKelloggiscancelingitsnewcerealplantf ( )=

s.t. summary(x) obeys length limit

summary(x) is grammatical

summary(x) is coherent

‣ Nowusesafeature-basedmodel,wherefeaturesiden0fygoodcontent

Page 91: Lecture 15: Summariza0on - GitHub Pagesaritter.github.io/courses/5525_slides_v2/lec15-summ.pdf · 2020. 9. 25. · Lecture 15: Summariza0on Alan Ri6er (many slides from Greg Durrett)

Features

maxx

�w>f(x)

AndnowKelloggiscancelingitsnewcerealplantf ( )=

}s.t. summary(x) obeys length limit

summary(x) is grammatical

summary(x) is coherent

‣ Nowusesafeature-basedmodel,wherefeaturesiden0fygoodcontent

Page 92: Lecture 15: Summariza0on - GitHub Pagesaritter.github.io/courses/5525_slides_v2/lec15-summ.pdf · 2020. 9. 25. · Lecture 15: Summariza0on Alan Ri6er (many slides from Greg Durrett)

Features

maxx

�w>f(x)

AndnowKelloggiscancelingitsnewcerealplantf ( )=

(NumContentWords=4)I}s.t. summary(x) obeys length limit

summary(x) is grammatical

summary(x) is coherent

Centrality:‣ Nowusesafeature-basedmodel,wherefeaturesiden0fygoodcontent

Page 93: Lecture 15: Summariza0on - GitHub Pagesaritter.github.io/courses/5525_slides_v2/lec15-summ.pdf · 2020. 9. 25. · Lecture 15: Summariza0on Alan Ri6er (many slides from Greg Durrett)

Features

maxx

�w>f(x)

AndnowKelloggiscancelingitsnewcerealplantf ( )=(SentenceIndex=4)

(NumContentWords=4)I

I

}s.t. summary(x) obeys length limit

summary(x) is grammatical

summary(x) is coherent

Documentposi0on:

Centrality:‣ Nowusesafeature-basedmodel,wherefeaturesiden0fygoodcontent

Page 94: Lecture 15: Summariza0on - GitHub Pagesaritter.github.io/courses/5525_slides_v2/lec15-summ.pdf · 2020. 9. 25. · Lecture 15: Summariza0on Alan Ri6er (many slides from Greg Durrett)

Features

maxx

�w>f(x)

AndnowKelloggiscancelingitsnewcerealplantf ( )=(SentenceIndex=4)

(FirstWord=And)

(NumContentWords=4)I

I

I

}s.t. summary(x) obeys length limit

summary(x) is grammatical

summary(x) is coherent

Documentposi0on:

Lexicalfeatures:

Centrality:‣ Nowusesafeature-basedmodel,wherefeaturesiden0fygoodcontent

Page 95: Lecture 15: Summariza0on - GitHub Pagesaritter.github.io/courses/5525_slides_v2/lec15-summ.pdf · 2020. 9. 25. · Lecture 15: Summariza0on Alan Ri6er (many slides from Greg Durrett)

Learning

maxx

�w>f(x)

�s.t. summary(x) obeys length limit

summary(x) is grammatical

summary(x) is coherent

Berg-Kirkpatricketal.(2011),Durre6etal.(2016)

Page 96: Lecture 15: Summariza0on - GitHub Pagesaritter.github.io/courses/5525_slides_v2/lec15-summ.pdf · 2020. 9. 25. · Lecture 15: Summariza0on Alan Ri6er (many slides from Greg Durrett)

Learning

maxx

�w>f(x)

‣ TrainonalargecorpusofNewYorkTimesdocumentswithsummaries(100,000documents)

s.t. summary(x) obeys length limit

summary(x) is grammatical

summary(x) is coherent

Berg-Kirkpatricketal.(2011),Durre6etal.(2016)

Page 97: Lecture 15: Summariza0on - GitHub Pagesaritter.github.io/courses/5525_slides_v2/lec15-summ.pdf · 2020. 9. 25. · Lecture 15: Summariza0on Alan Ri6er (many slides from Greg Durrett)

Learning

maxx

�w>f(x)

‣ StructuredSVMwithROUGEaslossfunc0on

‣ TrainonalargecorpusofNewYorkTimesdocumentswithsummaries(100,000documents)

s.t. summary(x) obeys length limit

summary(x) is grammatical

summary(x) is coherent

Berg-Kirkpatricketal.(2011),Durre6etal.(2016)

Page 98: Lecture 15: Summariza0on - GitHub Pagesaritter.github.io/courses/5525_slides_v2/lec15-summ.pdf · 2020. 9. 25. · Lecture 15: Summariza0on Alan Ri6er (many slides from Greg Durrett)

Learning

maxx

�w>f(x)

‣ StructuredSVMwithROUGEaslossfunc0on

‣ TrainonalargecorpusofNewYorkTimesdocumentswithsummaries(100,000documents)

s.t. summary(x) obeys length limit

summary(x) is grammatical

summary(x) is coherent

‣ AugmenttheILPtokeeptrackofwhichbigramsareincludedornot,usetheseforloss-augmenteddecode

Berg-Kirkpatricketal.(2011),Durre6etal.(2016)

Page 99: Lecture 15: Summariza0on - GitHub Pagesaritter.github.io/courses/5525_slides_v2/lec15-summ.pdf · 2020. 9. 25. · Lecture 15: Summariza0on Alan Ri6er (many slides from Greg Durrett)

Results:NewYorkTimesCorpus

Page 100: Lecture 15: Summariza0on - GitHub Pagesaritter.github.io/courses/5525_slides_v2/lec15-summ.pdf · 2020. 9. 25. · Lecture 15: Summariza0on Alan Ri6er (many slides from Greg Durrett)

30

35

40

45

50

5 6 7 8 9 10

Results:NewYorkTimesCorpus

Linguis0cQuality(HumanstudyonMechanicalTurk)

Contentfidelity(ROUGE-1:wordoverlapwithreference)

Page 101: Lecture 15: Summariza0on - GitHub Pagesaritter.github.io/courses/5525_slides_v2/lec15-summ.pdf · 2020. 9. 25. · Lecture 15: Summariza0on Alan Ri6er (many slides from Greg Durrett)

30

35

40

45

50

5 6 7 8 9 10

Results:NewYorkTimesCorpus

Linguis0cQuality(HumanstudyonMechanicalTurk)

Contentfidelity(ROUGE-1:wordoverlapwithreference) Firstnwords

Page 102: Lecture 15: Summariza0on - GitHub Pagesaritter.github.io/courses/5525_slides_v2/lec15-summ.pdf · 2020. 9. 25. · Lecture 15: Summariza0on Alan Ri6er (many slides from Greg Durrett)

30

35

40

45

50

5 6 7 8 9 10

Results:NewYorkTimesCorpus

Linguis0cQuality(HumanstudyonMechanicalTurk)

Contentfidelity(ROUGE-1:wordoverlapwithreference) Firstnwords

Yoshidaetal.(2014)

Page 103: Lecture 15: Summariza0on - GitHub Pagesaritter.github.io/courses/5525_slides_v2/lec15-summ.pdf · 2020. 9. 25. · Lecture 15: Summariza0on Alan Ri6er (many slides from Greg Durrett)

30

35

40

45

50

5 6 7 8 9 10

Results:NewYorkTimesCorpus

Linguis0cQuality(HumanstudyonMechanicalTurk)

Contentfidelity(ROUGE-1:wordoverlapwithreference) Firstnwords

Extractsentences

Yoshidaetal.(2014)

Page 104: Lecture 15: Summariza0on - GitHub Pagesaritter.github.io/courses/5525_slides_v2/lec15-summ.pdf · 2020. 9. 25. · Lecture 15: Summariza0on Alan Ri6er (many slides from Greg Durrett)

30

35

40

45

50

5 6 7 8 9 10

Results:NewYorkTimesCorpus

Linguis0cQuality(HumanstudyonMechanicalTurk)

Contentfidelity(ROUGE-1:wordoverlapwithreference) Firstnwords

Extractsentences

Extractclauses

Yoshidaetal.(2014)

Page 105: Lecture 15: Summariza0on - GitHub Pagesaritter.github.io/courses/5525_slides_v2/lec15-summ.pdf · 2020. 9. 25. · Lecture 15: Summariza0on Alan Ri6er (many slides from Greg Durrett)

30

35

40

45

50

5 6 7 8 9 10

Results:NewYorkTimesCorpus

Linguis0cQuality(HumanstudyonMechanicalTurk)

Contentfidelity(ROUGE-1:wordoverlapwithreference) Firstnwords

Extractsentences

Extractclauses Fullsystem

Yoshidaetal.(2014)

Page 106: Lecture 15: Summariza0on - GitHub Pagesaritter.github.io/courses/5525_slides_v2/lec15-summ.pdf · 2020. 9. 25. · Lecture 15: Summariza0on Alan Ri6er (many slides from Greg Durrett)

WhereWeareAt

‣ Extrac0vesystemsformul0-documentsummariza0on

‣ Extrac0ve+compressivesystemsforsingle-documentsummariza0on

‣ Single-documentsummariza0onwithneuralnetworks

Page 107: Lecture 15: Summariza0on - GitHub Pagesaritter.github.io/courses/5525_slides_v2/lec15-summ.pdf · 2020. 9. 25. · Lecture 15: Summariza0on Alan Ri6er (many slides from Greg Durrett)

WhereWeareAt

‣ Extrac0vesystemsformul0-documentsummariza0on

‣ Extrac0ve+compressivesystemsforsingle-documentsummariza0on

‣ Single-documentsummariza0onwithneuralnetworks

Page 108: Lecture 15: Summariza0on - GitHub Pagesaritter.github.io/courses/5525_slides_v2/lec15-summ.pdf · 2020. 9. 25. · Lecture 15: Summariza0on Alan Ri6er (many slides from Greg Durrett)

NeuralSummariza0on

Page 109: Lecture 15: Summariza0on - GitHub Pagesaritter.github.io/courses/5525_slides_v2/lec15-summ.pdf · 2020. 9. 25. · Lecture 15: Summariza0on Alan Ri6er (many slides from Greg Durrett)

Seq2seqSummariza0on

‣ Extrac0veparadigmisn’tallthatflexible,evenwithcompression

Chopraetal.(2016)

Page 110: Lecture 15: Summariza0on - GitHub Pagesaritter.github.io/courses/5525_slides_v2/lec15-summ.pdf · 2020. 9. 25. · Lecture 15: Summariza0on Alan Ri6er (many slides from Greg Durrett)

Seq2seqSummariza0on

‣ Extrac0veparadigmisn’tallthatflexible,evenwithcompression

‣ Trainingishard!ILPsarehard!Maybejustuseseq2seq?

Chopraetal.(2016)

Page 111: Lecture 15: Summariza0on - GitHub Pagesaritter.github.io/courses/5525_slides_v2/lec15-summ.pdf · 2020. 9. 25. · Lecture 15: Summariza0on Alan Ri6er (many slides from Greg Durrett)

Seq2seqSummariza0on

‣ Extrac0veparadigmisn’tallthatflexible,evenwithcompression

‣ Trainingishard!ILPsarehard!Maybejustuseseq2seq?

Itspresidentquitsuddenly

The

<s>

oat bran craze has

… …

Chopraetal.(2016)

‣ Traintoproducesummarybasedondocument

Page 112: Lecture 15: Summariza0on - GitHub Pagesaritter.github.io/courses/5525_slides_v2/lec15-summ.pdf · 2020. 9. 25. · Lecture 15: Summariza0on Alan Ri6er (many slides from Greg Durrett)

Seq2seqSummariza0on

Chopraetal.(2016)

‣ Task:generateheadlinefromfirstsentenceofar0cle(cangetlotsofdata!)

Page 113: Lecture 15: Summariza0on - GitHub Pagesaritter.github.io/courses/5525_slides_v2/lec15-summ.pdf · 2020. 9. 25. · Lecture 15: Summariza0on Alan Ri6er (many slides from Greg Durrett)

Seq2seqSummariza0on

Chopraetal.(2016)

‣ Task:generateheadlinefromfirstsentenceofar0cle(cangetlotsofdata!)

noa6en0onwitha6en0on

reference

sentence

Page 114: Lecture 15: Summariza0on - GitHub Pagesaritter.github.io/courses/5525_slides_v2/lec15-summ.pdf · 2020. 9. 25. · Lecture 15: Summariza0on Alan Ri6er (many slides from Greg Durrett)

Seq2seqSummariza0on

Chopraetal.(2016)

‣ Task:generateheadlinefromfirstsentenceofar0cle(cangetlotsofdata!)

noa6en0onwitha6en0on

reference

sentence

‣Workspre6ywell,thoughthesemodelscangenerateincorrectsummaries(whohasthekneeinjury?)

Page 115: Lecture 15: Summariza0on - GitHub Pagesaritter.github.io/courses/5525_slides_v2/lec15-summ.pdf · 2020. 9. 25. · Lecture 15: Summariza0on Alan Ri6er (many slides from Greg Durrett)

Seq2seqSummariza0on

Chopraetal.(2016)

‣ Task:generateheadlinefromfirstsentenceofar0cle(cangetlotsofdata!)

noa6en0onwitha6en0on

reference

sentence

‣Workspre6ywell,thoughthesemodelscangenerateincorrectsummaries(whohasthekneeinjury?)

‣Whathappensifwetrythisonalongerar0cle?

Page 116: Lecture 15: Summariza0on - GitHub Pagesaritter.github.io/courses/5525_slides_v2/lec15-summ.pdf · 2020. 9. 25. · Lecture 15: Summariza0on Alan Ri6er (many slides from Greg Durrett)

Seq2seqSummariza0on

Seeetal.(2017)

‣What’swrongwiththissummary?

Page 117: Lecture 15: Summariza0on - GitHub Pagesaritter.github.io/courses/5525_slides_v2/lec15-summ.pdf · 2020. 9. 25. · Lecture 15: Summariza0on Alan Ri6er (many slides from Greg Durrett)

Pointer-GeneratorModel

Seeetal.(2017)

‣ CopyingapproachlikeinJia+Liang

Page 118: Lecture 15: Summariza0on - GitHub Pagesaritter.github.io/courses/5525_slides_v2/lec15-summ.pdf · 2020. 9. 25. · Lecture 15: Summariza0on Alan Ri6er (many slides from Greg Durrett)

Seq2seqSummariza0on

Seeetal.(2017)

‣ Solu0ons:copymechanism,coverage,justlikeinMT…

‣ Thingsmights0llgowrong,nowayofpreven0ngthis…

Page 119: Lecture 15: Summariza0on - GitHub Pagesaritter.github.io/courses/5525_slides_v2/lec15-summ.pdf · 2020. 9. 25. · Lecture 15: Summariza0on Alan Ri6er (many slides from Greg Durrett)

NeuralAbstrac0veSystems

Seeetal.(2017)

‣ Howabstrac0veisthis,anyway?

Page 120: Lecture 15: Summariza0on - GitHub Pagesaritter.github.io/courses/5525_slides_v2/lec15-summ.pdf · 2020. 9. 25. · Lecture 15: Summariza0on Alan Ri6er (many slides from Greg Durrett)

NeuralExtrac0veSystems

Nallapa0etal.(2017)

pooling

Page 121: Lecture 15: Summariza0on - GitHub Pagesaritter.github.io/courses/5525_slides_v2/lec15-summ.pdf · 2020. 9. 25. · Lecture 15: Summariza0on Alan Ri6er (many slides from Greg Durrett)

NeuralSystems:Results

Seeetal.(2017)

‣ Abstrac0vesystemsdon’t/barelybeata“lead”baselineonROUGE

‣ Copymechanismandcoveragehelpsubstan0ally

Page 122: Lecture 15: Summariza0on - GitHub Pagesaritter.github.io/courses/5525_slides_v2/lec15-summ.pdf · 2020. 9. 25. · Lecture 15: Summariza0on Alan Ri6er (many slides from Greg Durrett)

ChallengesofSummariza0on

‣ Trueabstrac0on?

summaryar0cle extrac0on

abstrac0on

compressionsyntax

seman0cs??? seman0cs???

syntax

Page 123: Lecture 15: Summariza0on - GitHub Pagesaritter.github.io/courses/5525_slides_v2/lec15-summ.pdf · 2020. 9. 25. · Lecture 15: Summariza0on Alan Ri6er (many slides from Greg Durrett)

ChallengesofSummariza0on

‣ Trueabstrac0on?‣ Notreallynecessaryforar0cles

summaryar0cle extrac0on

abstrac0on

compressionsyntax

seman0cs??? seman0cs???

syntax

Page 124: Lecture 15: Summariza0on - GitHub Pagesaritter.github.io/courses/5525_slides_v2/lec15-summ.pdf · 2020. 9. 25. · Lecture 15: Summariza0on Alan Ri6er (many slides from Greg Durrett)

ChallengesofSummariza0on

‣ Trueabstrac0on?‣ Notreallynecessaryforar0cles‣ Genera0ngfromstructuredinforma0oncanusuallybedonewithtemplates…

summaryar0cle extrac0on

abstrac0on

compressionsyntax

seman0cs??? seman0cs???

syntax

Page 125: Lecture 15: Summariza0on - GitHub Pagesaritter.github.io/courses/5525_slides_v2/lec15-summ.pdf · 2020. 9. 25. · Lecture 15: Summariza0on Alan Ri6er (many slides from Greg Durrett)

Takeaways

‣ Extrac0vesystemsbuiltonheuris0cs/ILPsworkpre6ywell

‣ Compressioncanmakethingsbe6er,especiallyinthesingle-documentse}ng

‣ Neuralsystems(likeMTmodels)candoabstrac0vesummariza0on,buttheyoUenjustcopyinputs(ordeviatefrominputsinbadways)