当前位置:网站首页>Li Hongyi 2020 deep learning and human language processing dlhlp core resolution-p21
Li Hongyi 2020 deep learning and human language processing dlhlp core resolution-p21
2022-07-27 06:52:00 【Haulyn5】
Preface
This article is Li Hongyi 2020 Deep learning and human language processing DLHLP In the course Coreference Resolution Notes referring to the digestion part .
https://speech.ee.ntu.edu.tw/~hylee/dlhlp/2020-spring.html Course website
Mr. Li Hongyi 2020 New course deep learning and human language processing _ Bili, Bili _bilibili -p21 Bili Bili handling
The content needs to be sorted out and improved .
Text

Picture source : Li Hongyi Deep learning and human language processing
Coreference Resolution Compared with the classification introduced in the previous course, it belongs to a special task .
https://web.stanford.edu/~jurafsky/slp3/ Speech and Language Processing (3rd ed. draft)
Anaphora digestion : Zhang San stared at Li Si, raised his fist and said :“ It doesn't hammer down the high wall today , He doesn't put it down .”, What does he and it mean respectively ?
In the above example , Zhang San , Li Si , He belongs to Mention, Zhang San and he refer to the same object , be called corefer, Li Si only refers to once , be called singleton,“ Zhang San ” Appear first , be called antecedent( Antecedent ),“ He ” Later , be called anaphor.
More detailed task description :
1. All the mentions are labeled. (Sometimes singletons are ignored).
2. All mentions are grouped into clusters.
such as :Cluster1:{ Zhang San , He } Cluster2:{ His fist , it , it }
Model framework :
step1:Mention Detection: Put one span Into the model , Two classification , Whether it is Mention. If a sequence is long N individual token, Then there are N(N-1)/2 A possibility span.
step2: Mention Pair Detection: Put what you got in front Mention Two by two into the model , Classify and judge whether it is a pair .
End to End Methods : Two span Scan input , Then judge two span Is it all mention, And it's a pair . Complexity is N^4 .
If you want to Coreference Resolution Problem solving , need Mention Ranking Model, See https://web.stanford.edu/~jurafsky/slp3/22.pdf

Picture source : Li Hongyi Deep learning and human language processing
adopt BERT Wait to take it out Embedding, Then two Span Extract features , Judge whether they are Mention, And whether these two are a pair , Combine the three scores ( Usually it's adding , It can also be sent to neural network , But didn't do it ), The result beyond the threshold is a mention pair. Don't worry about one span Can't see the overall situation ,BERT Extracting Embedding It's about the overall situation .
How to extract Span Representation: take Span Each token Of Embedding Into an attention network , Get a weight , Finally, each Embedding To sum by weight , Get a final Embedding, Next this Embedding With the first and last token Of Embedding,3 individual Embedding do Concatenation, The resulting vector is Span Representation.
In practice ,train yes End2End, however Infer When , You may do it first Mention Extraction of ,Mention Score enough to do Pair The calculation of . There are also some technologies, such as restrictions Mention Length etc. , Reduce the amount of computation .
Seq2Seq, One ChatBot Methods , for example : Input : How tall is Messi ? Output : Officially speaking, he is tall 5 feet 7 Inch . Input : He and C Who scored more goals ? At this time, the machine should know “ He ” Who is it? . and Seq2Seq The solution is , Enter three sentences , Output : Messi and C Who scored more goals ? This is a new solution .
Advanced topics :
Global Information: Sometimes the machine handles Mr.Lee Lee She Pairing , But you will know with background knowledge Mr.Lee and She It must not be a Cluster Inside .
Unsupervised: Cover the pronouns in the sentence , Give Way BERT Guess which pronoun is . A lot of problems , such as he It's a token, After digestion 2 individual token The situation of ?
边栏推荐
- NFS简介和配置
- Sunflower: don't worry when you encounter computer vulnerabilities, understand clearly and then judge sunflower: don't worry when you encounter computer vulnerabilities, understand clearly and then ju
- 改善宝宝过敏就吃伊敏舒,azg与Aibeca爱楽倍佳携手守护中国宝宝成长
- About the problem that Druid can't connect to the database
- Some problems about too fast s verification code
- ES6的新特性(2)
- Linux安装Redis操作
- Multimodal database | star ring technology multimode database argodb "one database for multiple purposes", building a high-performance Lake warehouse integrated platform
- FTX US launched FTX stocks, striding forward to the mainstream financial industry
- FTX 基金会资助1500万帮助新冠疫苗临床实验,将影响全球公共卫生
猜你喜欢

What "hard core innovations" does Intel have in the first half of 2022? Just look at this picture!

Linux安装Redis操作

Keras OCR instance test

EasyCVR设备管理列表页面搜索时,分页数据不显示的问题修复

PXE高效批量网络装机

FTX Foundation funded 15million to help covid-19 clinical trials, which will affect global public health

Pruning - quantification - turn to onnx Chinese series tutorials

FTP service introduction and configuration

MySql数据库

NFS introduction and configuration
随机推荐
DNS domain name resolution service
关于过快S验证码的一些问题
2021-06-26
Tips - completely delete the files on the USB flash drive
Linux安装与卸载MySql
Socket programming II: using Select
Cesium tutorial (1) interface introduction -3dfiles loading - change mouse operation settings
磁盘管理与文件系统
Shell -- custom variables and assignments
Project training experience 1
Shell sentence judgment exercise
Decorator functions and the use of class decorators
PSI|CSI和ROC|AUC和KS -备忘录
Sunflower: don't worry when you encounter computer vulnerabilities, understand clearly and then judge sunflower: don't worry when you encounter computer vulnerabilities, understand clearly and then ju
Some applications of std:: bind and std:: function
FTP service introduction and configuration
PSI | CSI and ROC | AUC and KS - memorandum
项目实训经历1
Is it feasible to fix the vulnerability with one click? Sunflower to tell you that one click fix vulnerability is feasible? Sunflower to tell you that one click fix vulnerability is feasible? Sunflowe
Redis' idea under windows is not connected