Add Batch acc772bc-3906-4564-b984-dbf69420805b data
Browse filesThis view is limited to 50 files because it contains too many changes. See raw diff
- .gitattributes +64 -0
- 2023/Dense Retrieval as Indirect Supervision for Large-space Decision Making/6485a745-f89c-470f-a30b-5390c646537c_content_list.json +1524 -0
- 2023/Dense Retrieval as Indirect Supervision for Large-space Decision Making/6485a745-f89c-470f-a30b-5390c646537c_model.json +0 -0
- 2023/Dense Retrieval as Indirect Supervision for Large-space Decision Making/6485a745-f89c-470f-a30b-5390c646537c_origin.pdf +3 -0
- 2023/Dense Retrieval as Indirect Supervision for Large-space Decision Making/full.md +264 -0
- 2023/Dense Retrieval as Indirect Supervision for Large-space Decision Making/images.zip +3 -0
- 2023/Dense Retrieval as Indirect Supervision for Large-space Decision Making/layout.json +0 -0
- 2023/Density-Aware Prototypical Network for Few-Shot Relation Classification/3cc00c50-e0b4-4c6e-9a21-2f4635fbe6e7_content_list.json +2216 -0
- 2023/Density-Aware Prototypical Network for Few-Shot Relation Classification/3cc00c50-e0b4-4c6e-9a21-2f4635fbe6e7_model.json +0 -0
- 2023/Density-Aware Prototypical Network for Few-Shot Relation Classification/3cc00c50-e0b4-4c6e-9a21-2f4635fbe6e7_origin.pdf +3 -0
- 2023/Density-Aware Prototypical Network for Few-Shot Relation Classification/full.md +419 -0
- 2023/Density-Aware Prototypical Network for Few-Shot Relation Classification/images.zip +3 -0
- 2023/Density-Aware Prototypical Network for Few-Shot Relation Classification/layout.json +0 -0
- 2023/DepNeCTI_ Dependency-based Nested Compound Type Identification for Sanskrit/9cf22d4e-25cc-4736-8b7f-6f6bea41e671_content_list.json +1669 -0
- 2023/DepNeCTI_ Dependency-based Nested Compound Type Identification for Sanskrit/9cf22d4e-25cc-4736-8b7f-6f6bea41e671_model.json +0 -0
- 2023/DepNeCTI_ Dependency-based Nested Compound Type Identification for Sanskrit/9cf22d4e-25cc-4736-8b7f-6f6bea41e671_origin.pdf +3 -0
- 2023/DepNeCTI_ Dependency-based Nested Compound Type Identification for Sanskrit/full.md +303 -0
- 2023/DepNeCTI_ Dependency-based Nested Compound Type Identification for Sanskrit/images.zip +3 -0
- 2023/DepNeCTI_ Dependency-based Nested Compound Type Identification for Sanskrit/layout.json +0 -0
- 2023/DepWiGNN_ A Depth-wise Graph Neural Network for Multi-hop Spatial Reasoning in Text/82978807-d92d-4dd8-83a8-263f59cfaa61_content_list.json +1753 -0
- 2023/DepWiGNN_ A Depth-wise Graph Neural Network for Multi-hop Spatial Reasoning in Text/82978807-d92d-4dd8-83a8-263f59cfaa61_model.json +0 -0
- 2023/DepWiGNN_ A Depth-wise Graph Neural Network for Multi-hop Spatial Reasoning in Text/82978807-d92d-4dd8-83a8-263f59cfaa61_origin.pdf +3 -0
- 2023/DepWiGNN_ A Depth-wise Graph Neural Network for Multi-hop Spatial Reasoning in Text/full.md +343 -0
- 2023/DepWiGNN_ A Depth-wise Graph Neural Network for Multi-hop Spatial Reasoning in Text/images.zip +3 -0
- 2023/DepWiGNN_ A Depth-wise Graph Neural Network for Multi-hop Spatial Reasoning in Text/layout.json +0 -0
- 2023/Descriptive Prompt Paraphrasing for Target-Oriented Multimodal Sentiment Classification/9ad0a505-4aa3-4e82-936d-bde5e9f488e4_content_list.json +1938 -0
- 2023/Descriptive Prompt Paraphrasing for Target-Oriented Multimodal Sentiment Classification/9ad0a505-4aa3-4e82-936d-bde5e9f488e4_model.json +0 -0
- 2023/Descriptive Prompt Paraphrasing for Target-Oriented Multimodal Sentiment Classification/9ad0a505-4aa3-4e82-936d-bde5e9f488e4_origin.pdf +3 -0
- 2023/Descriptive Prompt Paraphrasing for Target-Oriented Multimodal Sentiment Classification/full.md +378 -0
- 2023/Descriptive Prompt Paraphrasing for Target-Oriented Multimodal Sentiment Classification/images.zip +3 -0
- 2023/Descriptive Prompt Paraphrasing for Target-Oriented Multimodal Sentiment Classification/layout.json +0 -0
- 2023/DetectLLM_ Leveraging Log Rank Information for Zero-Shot Detection of Machine-Generated Text/b6e08278-e610-46f1-92c0-6af873c348c2_content_list.json +0 -0
- 2023/DetectLLM_ Leveraging Log Rank Information for Zero-Shot Detection of Machine-Generated Text/b6e08278-e610-46f1-92c0-6af873c348c2_model.json +0 -0
- 2023/DetectLLM_ Leveraging Log Rank Information for Zero-Shot Detection of Machine-Generated Text/b6e08278-e610-46f1-92c0-6af873c348c2_origin.pdf +3 -0
- 2023/DetectLLM_ Leveraging Log Rank Information for Zero-Shot Detection of Machine-Generated Text/full.md +381 -0
- 2023/DetectLLM_ Leveraging Log Rank Information for Zero-Shot Detection of Machine-Generated Text/images.zip +3 -0
- 2023/DetectLLM_ Leveraging Log Rank Information for Zero-Shot Detection of Machine-Generated Text/layout.json +0 -0
- 2023/Detecting Erroneously Recognized Handwritten Byzantine Text/e23fb75f-6ceb-4c26-9972-d5c23aa51bcb_content_list.json +1752 -0
- 2023/Detecting Erroneously Recognized Handwritten Byzantine Text/e23fb75f-6ceb-4c26-9972-d5c23aa51bcb_model.json +2191 -0
- 2023/Detecting Erroneously Recognized Handwritten Byzantine Text/e23fb75f-6ceb-4c26-9972-d5c23aa51bcb_origin.pdf +3 -0
- 2023/Detecting Erroneously Recognized Handwritten Byzantine Text/full.md +275 -0
- 2023/Detecting Erroneously Recognized Handwritten Byzantine Text/images.zip +3 -0
- 2023/Detecting Erroneously Recognized Handwritten Byzantine Text/layout.json +0 -0
- 2023/Detecting Syntactic Change with Pre-trained Transformer Models/5f1aa19b-edb6-4425-a7bb-8580ef6a41b6_content_list.json +1539 -0
- 2023/Detecting Syntactic Change with Pre-trained Transformer Models/5f1aa19b-edb6-4425-a7bb-8580ef6a41b6_model.json +1839 -0
- 2023/Detecting Syntactic Change with Pre-trained Transformer Models/5f1aa19b-edb6-4425-a7bb-8580ef6a41b6_origin.pdf +3 -0
- 2023/Detecting Syntactic Change with Pre-trained Transformer Models/full.md +278 -0
- 2023/Detecting Syntactic Change with Pre-trained Transformer Models/images.zip +3 -0
- 2023/Detecting Syntactic Change with Pre-trained Transformer Models/layout.json +0 -0
- 2023/Detrimental Contexts in Open-Domain Question Answering/1aae5c2b-0c07-4ccb-ad79-139133468d78_content_list.json +0 -0
.gitattributes
CHANGED
|
@@ -5785,3 +5785,67 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
| 5785 |
2023/DemoSG_[[:space:]]Demonstration-enhanced[[:space:]]Schema-guided[[:space:]]Generation[[:space:]]for[[:space:]]Low-resource[[:space:]]Event[[:space:]]Extraction/aeee44ed-001c-4372-8524-70dccc8b0406_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 5786 |
2023/Democratizing[[:space:]]LLMs_[[:space:]]An[[:space:]]Exploration[[:space:]]of[[:space:]]Cost-Performance[[:space:]]Trade-offs[[:space:]]in[[:space:]]Self-Refined[[:space:]]Open-Source[[:space:]]Models/4770b9fd-de77-4b56-899d-c982de9ae291_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 5787 |
2023/Demystifying[[:space:]]Prompts[[:space:]]in[[:space:]]Language[[:space:]]Models[[:space:]]via[[:space:]]Perplexity[[:space:]]Estimation/375ed177-07a2-4de2-b0ce-c697ad94dc04_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 5785 |
2023/DemoSG_[[:space:]]Demonstration-enhanced[[:space:]]Schema-guided[[:space:]]Generation[[:space:]]for[[:space:]]Low-resource[[:space:]]Event[[:space:]]Extraction/aeee44ed-001c-4372-8524-70dccc8b0406_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 5786 |
2023/Democratizing[[:space:]]LLMs_[[:space:]]An[[:space:]]Exploration[[:space:]]of[[:space:]]Cost-Performance[[:space:]]Trade-offs[[:space:]]in[[:space:]]Self-Refined[[:space:]]Open-Source[[:space:]]Models/4770b9fd-de77-4b56-899d-c982de9ae291_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 5787 |
2023/Demystifying[[:space:]]Prompts[[:space:]]in[[:space:]]Language[[:space:]]Models[[:space:]]via[[:space:]]Perplexity[[:space:]]Estimation/375ed177-07a2-4de2-b0ce-c697ad94dc04_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 5788 |
+
2023/Dense[[:space:]]Retrieval[[:space:]]as[[:space:]]Indirect[[:space:]]Supervision[[:space:]]for[[:space:]]Large-space[[:space:]]Decision[[:space:]]Making/6485a745-f89c-470f-a30b-5390c646537c_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 5789 |
+
2023/Density-Aware[[:space:]]Prototypical[[:space:]]Network[[:space:]]for[[:space:]]Few-Shot[[:space:]]Relation[[:space:]]Classification/3cc00c50-e0b4-4c6e-9a21-2f4635fbe6e7_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 5790 |
+
2023/DepNeCTI_[[:space:]]Dependency-based[[:space:]]Nested[[:space:]]Compound[[:space:]]Type[[:space:]]Identification[[:space:]]for[[:space:]]Sanskrit/9cf22d4e-25cc-4736-8b7f-6f6bea41e671_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 5791 |
+
2023/DepWiGNN_[[:space:]]A[[:space:]]Depth-wise[[:space:]]Graph[[:space:]]Neural[[:space:]]Network[[:space:]]for[[:space:]]Multi-hop[[:space:]]Spatial[[:space:]]Reasoning[[:space:]]in[[:space:]]Text/82978807-d92d-4dd8-83a8-263f59cfaa61_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 5792 |
+
2023/Descriptive[[:space:]]Prompt[[:space:]]Paraphrasing[[:space:]]for[[:space:]]Target-Oriented[[:space:]]Multimodal[[:space:]]Sentiment[[:space:]]Classification/9ad0a505-4aa3-4e82-936d-bde5e9f488e4_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 5793 |
+
2023/DetectLLM_[[:space:]]Leveraging[[:space:]]Log[[:space:]]Rank[[:space:]]Information[[:space:]]for[[:space:]]Zero-Shot[[:space:]]Detection[[:space:]]of[[:space:]]Machine-Generated[[:space:]]Text/b6e08278-e610-46f1-92c0-6af873c348c2_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 5794 |
+
2023/Detecting[[:space:]]Erroneously[[:space:]]Recognized[[:space:]]Handwritten[[:space:]]Byzantine[[:space:]]Text/e23fb75f-6ceb-4c26-9972-d5c23aa51bcb_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 5795 |
+
2023/Detecting[[:space:]]Syntactic[[:space:]]Change[[:space:]]with[[:space:]]Pre-trained[[:space:]]Transformer[[:space:]]Models/5f1aa19b-edb6-4425-a7bb-8580ef6a41b6_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 5796 |
+
2023/Detrimental[[:space:]]Contexts[[:space:]]in[[:space:]]Open-Domain[[:space:]]Question[[:space:]]Answering/1aae5c2b-0c07-4ccb-ad79-139133468d78_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 5797 |
+
2023/DiFair_[[:space:]]A[[:space:]]Benchmark[[:space:]]for[[:space:]]Disentangled[[:space:]]Assessment[[:space:]]of[[:space:]]Gender[[:space:]]Knowledge[[:space:]]and[[:space:]]Bias/933134df-cd8a-4a72-9de3-e519ab59c119_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 5798 |
+
2023/DiQAD_[[:space:]]A[[:space:]]Benchmark[[:space:]]Dataset[[:space:]]for[[:space:]]Open-domain[[:space:]]Dialogue[[:space:]]Quality[[:space:]]Assessment/1399a40f-bbbe-4231-8d56-69d6243a85d8_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 5799 |
+
2023/DialGuide_[[:space:]]Aligning[[:space:]]Dialogue[[:space:]]Model[[:space:]]Behavior[[:space:]]with[[:space:]]Developer[[:space:]]Guidelines/612d8c57-e446-486e-b87e-57f59d7a8f9b_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 5800 |
+
2023/Dialect[[:space:]]Transfer[[:space:]]for[[:space:]]Swiss[[:space:]]German[[:space:]]Speech[[:space:]]Translation/597e5e5e-8508-4783-b929-57c76fc7e604_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 5801 |
+
2023/Dialect-to-Standard[[:space:]]Normalization_[[:space:]]A[[:space:]]Large-Scale[[:space:]]Multilingual[[:space:]]Evaluation/4a1c12bb-c5a5-4d3f-b0e9-22019cf29318_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 5802 |
+
2023/DialogQAE_[[:space:]]N-to-N[[:space:]]Question[[:space:]]Answer[[:space:]]Pair[[:space:]]Extraction[[:space:]]from[[:space:]]Customer[[:space:]]Service[[:space:]]Chatlog/22e5a4fb-fc61-41f3-81ea-a8dbdfc15a42_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 5803 |
+
2023/Dialogue[[:space:]]Act-Aided[[:space:]]Backchannel[[:space:]]Prediction[[:space:]]Using[[:space:]]Multi-Task[[:space:]]Learning/5d014702-ac80-4c48-a145-be9fc63baa8f_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 5804 |
+
2023/Dialogue[[:space:]]Medical[[:space:]]Information[[:space:]]Extraction[[:space:]]with[[:space:]]Medical-Item[[:space:]]Graph[[:space:]]and[[:space:]]Dialogue-Status[[:space:]]Enriched[[:space:]]Representation/a22fbec1-6742-410d-847b-ac7f3fa21983_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 5805 |
+
2023/Difference-Masking_[[:space:]]Choosing[[:space:]]What[[:space:]]to[[:space:]]Mask[[:space:]]in[[:space:]]Continued[[:space:]]Pretraining/2c3fe2b1-076b-4b1b-b362-ac94b7f2fd76_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 5806 |
+
2023/DiffuSeq-v2_[[:space:]]Bridging[[:space:]]Discrete[[:space:]]and[[:space:]]Continuous[[:space:]]Text[[:space:]]Spaces[[:space:]]for[[:space:]]Accelerated[[:space:]]Seq2Seq[[:space:]]Diffusion[[:space:]]Models/5b9ffd86-8df0-428f-b1af-07797b37210d_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 5807 |
+
2023/DiffuVST_[[:space:]]Narrating[[:space:]]Fictional[[:space:]]Scenes[[:space:]]with[[:space:]]Global-History-Guided[[:space:]]Denoising[[:space:]]Models/7cd9450a-86e5-4b15-8890-ed82b603301d_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 5808 |
+
2023/Diffusion[[:space:]]Language[[:space:]]Model[[:space:]]with[[:space:]]Query-Document[[:space:]]Relevance[[:space:]]for[[:space:]]Query-Focused[[:space:]]Summarization/ef792535-71bf-454f-8642-63dbe13fb39b_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 5809 |
+
2023/DiffusionRet_[[:space:]]Diffusion-Enhanced[[:space:]]Generative[[:space:]]Retriever[[:space:]]using[[:space:]]Constrained[[:space:]]Decoding/bed838a2-75ec-4c0b-afad-166110b7bd92_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 5810 |
+
2023/DiffusionSL_[[:space:]]Sequence[[:space:]]Labeling[[:space:]]via[[:space:]]Tag[[:space:]]Diffusion[[:space:]]Process/8b7817c2-0523-4fff-b2e6-8815f54b1cbe_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 5811 |
+
2023/Dimensions[[:space:]]of[[:space:]]Online[[:space:]]Conflict_[[:space:]]Towards[[:space:]]Modeling[[:space:]]Agonism/056ddabc-8aa8-47a9-93b8-8f7b2e69353d_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 5812 |
+
2023/Dior-CVAE_[[:space:]]Pre-trained[[:space:]]Language[[:space:]]Models[[:space:]]and[[:space:]]Diffusion[[:space:]]Priors[[:space:]]for[[:space:]]Variational[[:space:]]Dialog[[:space:]]Generation/a3821ddd-9397-40c0-86b2-705a60919607_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 5813 |
+
2023/Discourse[[:space:]]Sense[[:space:]]Flows_[[:space:]]Modelling[[:space:]]the[[:space:]]Rhetorical[[:space:]]Style[[:space:]]of[[:space:]]Documents[[:space:]]across[[:space:]]Various[[:space:]]Domains/d897d0a8-37c1-42c0-8a25-96e6fbe21a3e_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 5814 |
+
2023/Discovering[[:space:]]Highly[[:space:]]Influential[[:space:]]Shortcut[[:space:]]Reasoning_[[:space:]]An[[:space:]]Automated[[:space:]]Template-Free[[:space:]]Approach/1563fae4-370d-46b9-8c0e-999b6163381f_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 5815 |
+
2023/Disentangling[[:space:]]Extraction[[:space:]]and[[:space:]]Reasoning[[:space:]]in[[:space:]]Multi-hop[[:space:]]Spatial[[:space:]]Reasoning/65578046-bebb-4564-a9a4-26371aaa5db0_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 5816 |
+
2023/Disentangling[[:space:]]Structure[[:space:]]and[[:space:]]Style_[[:space:]]Political[[:space:]]Bias[[:space:]]Detection[[:space:]]in[[:space:]]News[[:space:]]by[[:space:]]Inducing[[:space:]]Document[[:space:]]Hierarchy/ef86f313-91c3-4564-a0c5-bd98a83311e3_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 5817 |
+
2023/Disfluent[[:space:]]Cues[[:space:]]for[[:space:]]Enhanced[[:space:]]Speech[[:space:]]Understanding[[:space:]]in[[:space:]]Large[[:space:]]Language[[:space:]]Models/34df72a7-369e-401e-9d76-bc58d87b574c_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 5818 |
+
2023/Dissecting[[:space:]]In-Context[[:space:]]Learning[[:space:]]of[[:space:]]Translations[[:space:]]in[[:space:]]GPT-3/353a4934-cd3d-4c42-ae6b-fbb0fbd273cb_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 5819 |
+
2023/DistillCSE_[[:space:]]Distilled[[:space:]]Contrastive[[:space:]]Learning[[:space:]]for[[:space:]]Sentence[[:space:]]Embeddings/c35c9e5b-4287-4b90-901c-3abb957654d9_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 5820 |
+
2023/Distilling[[:space:]]ChatGPT[[:space:]]for[[:space:]]Explainable[[:space:]]Automated[[:space:]]Student[[:space:]]Answer[[:space:]]Assessment/f13e993b-dc90-4229-b463-8136e35f4e22_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 5821 |
+
2023/Diversifying[[:space:]]language[[:space:]]models[[:space:]]for[[:space:]]lesser-studied[[:space:]]languages[[:space:]]and[[:space:]]language-usage[[:space:]]contexts_[[:space:]]A[[:space:]]case[[:space:]]of[[:space:]]second[[:space:]]language[[:space:]]Korean/a46af694-2fd7-4772-beab-57f98ac6242c_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 5822 |
+
2023/Do[[:space:]]Stochastic[[:space:]]Parrots[[:space:]]have[[:space:]]Feelings[[:space:]]Too_[[:space:]]Improving[[:space:]]Neural[[:space:]]Detection[[:space:]]of[[:space:]]Synthetic[[:space:]]Text[[:space:]]via[[:space:]]Emotion[[:space:]]Recognition/6db6c252-f81f-402d-9e5f-f0b9487853ab_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 5823 |
+
2023/Do[[:space:]]“English”[[:space:]]Named[[:space:]]Entity[[:space:]]Recognizers[[:space:]]Work[[:space:]]Well[[:space:]]on[[:space:]]Global[[:space:]]Englishes_/6886174a-78e0-41ed-8d92-ad5085b08003_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 5824 |
+
2023/DocAsRef_[[:space:]]An[[:space:]]Empirical[[:space:]]Study[[:space:]]on[[:space:]]Repurposing[[:space:]]Reference-based[[:space:]]Summary[[:space:]]Quality[[:space:]]Metrics[[:space:]]as[[:space:]]Reference-free[[:space:]]Metrics/330c8365-dee6-4c39-9978-63eb62ae6c67_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 5825 |
+
2023/DocSplit_[[:space:]]Simple[[:space:]]Contrastive[[:space:]]Pretraining[[:space:]]for[[:space:]]Large[[:space:]]Document[[:space:]]Embeddings/61b75f3f-ea1a-485c-b350-0949a8c98210_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 5826 |
+
2023/DocTrack_[[:space:]]A[[:space:]]Visually-Rich[[:space:]]Document[[:space:]]Dataset[[:space:]]Really[[:space:]]Aligned[[:space:]]with[[:space:]]Human[[:space:]]Eye[[:space:]]Movement[[:space:]]for[[:space:]]Machine[[:space:]]Reading/9a8a902c-4029-426d-a9f4-e29aca0f06d2_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 5827 |
+
2023/Does[[:space:]]Listener[[:space:]]Gaze[[:space:]]in[[:space:]]Face-to-Face[[:space:]]Interaction[[:space:]]Follow[[:space:]]the[[:space:]]Entropy[[:space:]]Rate[[:space:]]Constancy[[:space:]]Principle_[[:space:]]An[[:space:]]Empirical[[:space:]]Study/51706ed8-173a-49d4-be08-38179f4f864b_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 5828 |
+
2023/Dolphin_[[:space:]]A[[:space:]]Challenging[[:space:]]and[[:space:]]Diverse[[:space:]]Benchmark[[:space:]]for[[:space:]]Arabic[[:space:]]NLG/b0ee8c30-c5ca-491d-9b9d-c5aec88d1f56_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 5829 |
+
2023/Domain[[:space:]]Adaptation[[:space:]]for[[:space:]]Conversational[[:space:]]Query[[:space:]]Production[[:space:]]with[[:space:]]the[[:space:]]RAG[[:space:]]Model[[:space:]]Feedback/8d54abbc-68dc-4e40-95aa-d992b85b7587_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 5830 |
+
2023/Domain[[:space:]]Adaptation[[:space:]]for[[:space:]]Sentiment[[:space:]]Analysis[[:space:]]Using[[:space:]]Robust[[:space:]]Internal[[:space:]]Representations/3cc7c212-88a3-420c-8615-4e9593c75e5c_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 5831 |
+
2023/Domain[[:space:]]Private[[:space:]]Transformers[[:space:]]for[[:space:]]Multi-Domain[[:space:]]Dialog[[:space:]]Systems/60a49d4f-3c64-4b58-8435-dad9146e351c_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 5832 |
+
2023/Don’t[[:space:]]Add,[[:space:]]don’t[[:space:]]Miss_[[:space:]]Effective[[:space:]]Content[[:space:]]Preserving[[:space:]]Generation[[:space:]]from[[:space:]]Pre-Selected[[:space:]]Text[[:space:]]Spans/6b92295f-064d-4669-b32c-0096d671b3e2_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 5833 |
+
2023/Don’t[[:space:]]waste[[:space:]]a[[:space:]]single[[:space:]]annotation_[[:space:]]improving[[:space:]]single-label[[:space:]]classifiers[[:space:]]through[[:space:]]soft[[:space:]]labels/ef707eab-c929-48c8-a6a7-7a082d846c48_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 5834 |
+
2023/Drilling[[:space:]]Down[[:space:]]into[[:space:]]the[[:space:]]Discourse[[:space:]]Structure[[:space:]]with[[:space:]]LLMs[[:space:]]for[[:space:]]Long[[:space:]]Document[[:space:]]Question[[:space:]]Answering/e6a179fa-0154-425a-899d-39a5515a260d_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 5835 |
+
2023/Dual[[:space:]]Contrastive[[:space:]]Learning[[:space:]]Framework[[:space:]]for[[:space:]]Incremental[[:space:]]Text[[:space:]]Classification/0c23ce14-067b-49e9-84ad-4f865c1c158a_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 5836 |
+
2023/Dynamic[[:space:]]Low-rank[[:space:]]Estimation[[:space:]]for[[:space:]]Transformer-based[[:space:]]Language[[:space:]]Models/2d886487-9fbc-4061-b000-ac113eadac0a_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 5837 |
+
2023/Dynamic[[:space:]]Open-book[[:space:]]Prompt[[:space:]]for[[:space:]]Conversational[[:space:]]Recommender[[:space:]]System/52051efe-c786-4f37-902c-51b2ae67eece_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 5838 |
+
2023/Dynamic[[:space:]]Stance_[[:space:]]Modeling[[:space:]]Discussions[[:space:]]by[[:space:]]Labeling[[:space:]]the[[:space:]]Interactions/8c80450d-ff06-4e44-9bcf-79db3276f612_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 5839 |
+
2023/Dynamic[[:space:]]Stashing[[:space:]]Quantization[[:space:]]for[[:space:]]Efficient[[:space:]]Transformer[[:space:]]Training/744ba489-38b0-471f-85a6-5c5b8dddb190_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 5840 |
+
2023/Dynamic[[:space:]]Voting[[:space:]]for[[:space:]]Efficient[[:space:]]Reasoning[[:space:]]in[[:space:]]Large[[:space:]]Language[[:space:]]Models/b997df11-b086-4887-ad48-44d42a49401b_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 5841 |
+
2023/EARA_[[:space:]]Improving[[:space:]]Biomedical[[:space:]]Semantic[[:space:]]Textual[[:space:]]Similarity[[:space:]]with[[:space:]]Entity-Aligned[[:space:]]Attention[[:space:]]and[[:space:]]Retrieval[[:space:]]Augmentation/bda4dd44-0832-44b5-b59b-f09d846b7beb_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 5842 |
+
2023/ECHo_[[:space:]]A[[:space:]]Visio-Linguistic[[:space:]]Dataset[[:space:]]for[[:space:]]Event[[:space:]]Causality[[:space:]]Inference[[:space:]]via[[:space:]]Human-Centric[[:space:]]Reasoning/35f5853e-7600-40be-8b8b-554cac00acb4_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 5843 |
+
2023/EMO-KNOW_[[:space:]]A[[:space:]]Large[[:space:]]Scale[[:space:]]Dataset[[:space:]]on[[:space:]]Emotion-Cause/e02f1c19-44c7-47de-8ac9-8ac7f0d72b47_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 5844 |
+
2023/ESPVR_[[:space:]]Entity[[:space:]]Spans[[:space:]]Position[[:space:]]Visual[[:space:]]Regions[[:space:]]for[[:space:]]Multimodal[[:space:]]Named[[:space:]]Entity[[:space:]]Recognition/e7b559e8-9bcf-42db-9917-580c643cef65_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 5845 |
+
2023/Ecologically[[:space:]]Valid[[:space:]]Explanations[[:space:]]for[[:space:]]Label[[:space:]]Variation[[:space:]]in[[:space:]]NLI/c6c81cea-17af-4edb-942a-95ea7aad8d91_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 5846 |
+
2023/EconBERTa_[[:space:]]Towards[[:space:]]Robust[[:space:]]Extraction[[:space:]]of[[:space:]]Named[[:space:]]Entities[[:space:]]in[[:space:]]Economics/e4db376d-9a77-4172-8af6-625f56b777f0_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 5847 |
+
2023/EffEval_[[:space:]]A[[:space:]]Comprehensive[[:space:]]Evaluation[[:space:]]of[[:space:]]Efficiency[[:space:]]for[[:space:]]MT[[:space:]]Evaluation[[:space:]]Metrics/b0753757-2eeb-416b-9a95-0d4aa597e75a_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 5848 |
+
2023/Effects[[:space:]]of[[:space:]]Human[[:space:]]Adversarial[[:space:]]and[[:space:]]Affable[[:space:]]Samples[[:space:]]on[[:space:]]BERT[[:space:]]Generalization/1f2b1b3d-2880-4d3d-9682-5dbb839efd4e_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 5849 |
+
2023/Efficient[[:space:]]Continue[[:space:]]Training[[:space:]]of[[:space:]]Temporal[[:space:]]Language[[:space:]]Model[[:space:]]with[[:space:]]Structural[[:space:]]Information/4e01312d-f9ea-48a2-ac0d-45b87a14409b_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 5850 |
+
2023/Efficient[[:space:]]Cross-Task[[:space:]]Prompt[[:space:]]Tuning[[:space:]]for[[:space:]]Few-Shot[[:space:]]Conversational[[:space:]]Emotion[[:space:]]Recognition/d55c3273-2161-46ae-adc0-b3cf30e5ba4b_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 5851 |
+
2023/Efficient[[:space:]]Data[[:space:]]Learning[[:space:]]for[[:space:]]Open[[:space:]]Information[[:space:]]Extraction[[:space:]]with[[:space:]]Pre-trained[[:space:]]Language[[:space:]]Models/2930ad8d-b924-4379-920e-36da32fb8d1e_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
2023/Dense Retrieval as Indirect Supervision for Large-space Decision Making/6485a745-f89c-470f-a30b-5390c646537c_content_list.json
ADDED
|
@@ -0,0 +1,1524 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[
|
| 2 |
+
{
|
| 3 |
+
"type": "image",
|
| 4 |
+
"img_path": "images/9fe764c8a2ca174d97908e9600f24354e6e2dbc1f477f18d882a5dd37836d839.jpg",
|
| 5 |
+
"image_caption": [],
|
| 6 |
+
"image_footnote": [],
|
| 7 |
+
"bbox": [
|
| 8 |
+
260,
|
| 9 |
+
91,
|
| 10 |
+
292,
|
| 11 |
+
112
|
| 12 |
+
],
|
| 13 |
+
"page_idx": 0
|
| 14 |
+
},
|
| 15 |
+
{
|
| 16 |
+
"type": "text",
|
| 17 |
+
"text": "Dense Retrieval as Indirect Supervision for Large-space Decision Making",
|
| 18 |
+
"text_level": 1,
|
| 19 |
+
"bbox": [
|
| 20 |
+
292,
|
| 21 |
+
102,
|
| 22 |
+
736,
|
| 23 |
+
142
|
| 24 |
+
],
|
| 25 |
+
"page_idx": 0
|
| 26 |
+
},
|
| 27 |
+
{
|
| 28 |
+
"type": "text",
|
| 29 |
+
"text": "Nan Xu Fei Wang Mingtao Dong Muhao Chen",
|
| 30 |
+
"bbox": [
|
| 31 |
+
248,
|
| 32 |
+
158,
|
| 33 |
+
749,
|
| 34 |
+
181
|
| 35 |
+
],
|
| 36 |
+
"page_idx": 0
|
| 37 |
+
},
|
| 38 |
+
{
|
| 39 |
+
"type": "text",
|
| 40 |
+
"text": "University of Southern California University of California, Davis {nanx, fwang598, mingtaod}@usc.edu muhchen@ucdavis.edu",
|
| 41 |
+
"bbox": [
|
| 42 |
+
215,
|
| 43 |
+
183,
|
| 44 |
+
786,
|
| 45 |
+
223
|
| 46 |
+
],
|
| 47 |
+
"page_idx": 0
|
| 48 |
+
},
|
| 49 |
+
{
|
| 50 |
+
"type": "text",
|
| 51 |
+
"text": "Abstract",
|
| 52 |
+
"text_level": 1,
|
| 53 |
+
"bbox": [
|
| 54 |
+
260,
|
| 55 |
+
252,
|
| 56 |
+
339,
|
| 57 |
+
266
|
| 58 |
+
],
|
| 59 |
+
"page_idx": 0
|
| 60 |
+
},
|
| 61 |
+
{
|
| 62 |
+
"type": "text",
|
| 63 |
+
"text": "Many discriminative natural language understanding (NLU) tasks have large label spaces. Learning such a process of large-space decision making is particularly challenging due to the lack of training instances per label and the difficulty of selection among many fine-grained labels. Inspired by dense retrieval methods for passage finding in open-domain QA, we propose a reformulation of large-space discriminative NLU tasks as a learning-to-retrieve task, leading to a novel solution named Dense Decision Retrieval (DDR). Instead of predicting fine-grained decisions as logits, DDR adopts a dual-encoder architecture that learns to predict by retrieving from a decision thesaurus. This approach not only leverages rich indirect supervision signals from easy-to-consume learning resources for dense retrieval, it also leads to enhanced prediction generalizability with a semantically meaningful representation of the large decision space. When evaluated on tasks with decision spaces ranging from hundreds to hundred-thousand scales, DDR outperforms strong baselines greatly by $27.54\\%$ in $P@1$ on two extreme multi-label classification tasks, $1.17\\%$ in F1 score ultra-fine entity typing, and $1.26\\%$ in accuracy on three few-shot intent classification tasks on average.",
|
| 64 |
+
"bbox": [
|
| 65 |
+
141,
|
| 66 |
+
281,
|
| 67 |
+
460,
|
| 68 |
+
682
|
| 69 |
+
],
|
| 70 |
+
"page_idx": 0
|
| 71 |
+
},
|
| 72 |
+
{
|
| 73 |
+
"type": "text",
|
| 74 |
+
"text": "1 Introduction",
|
| 75 |
+
"text_level": 1,
|
| 76 |
+
"bbox": [
|
| 77 |
+
114,
|
| 78 |
+
695,
|
| 79 |
+
258,
|
| 80 |
+
709
|
| 81 |
+
],
|
| 82 |
+
"page_idx": 0
|
| 83 |
+
},
|
| 84 |
+
{
|
| 85 |
+
"type": "text",
|
| 86 |
+
"text": "Many discriminative natural language understanding (NLU) tasks require making fine-grained decisions from a large candidate decision space. For example, a task-oriented dialogue system, when responding to users' requests, needs to frequently detect their intents from hundreds of options (Zhang et al., 2020b; Ham et al., 2020). Description-based recommendation in e-commerce needs to search from millions of products in response to users' descriptions (Gupta et al., 2021; Xiong et al., 2022).",
|
| 87 |
+
"bbox": [
|
| 88 |
+
112,
|
| 89 |
+
721,
|
| 90 |
+
489,
|
| 91 |
+
883
|
| 92 |
+
],
|
| 93 |
+
"page_idx": 0
|
| 94 |
+
},
|
| 95 |
+
{
|
| 96 |
+
"type": "text",
|
| 97 |
+
"text": "Previous studies for such NLU tasks still train classifiers as the solution (Gupta et al., 2021; Yu et al., 2022; Lin et al., 2023a). However, we argue that this straightforward approach is less practical for large-space decision making for several reasons. First, more decision labels naturally lead to data scarcity, since collecting sufficient training data for all labels will need significantly more cost. This issue is also accompanied by the issue of rare labels in the long tail of highly skewed distributions suffering severely from the lack of sufficient training instances (Zhang et al., 2023), leading to overgeneralization bias where frequent labels are more likely to be predicted compared with rare ones (Xu et al., 2022). Second, the non-semantic logit-based representation for decision labels in a classifier also makes the model hard to generalize to rarely seen labels, and not adaptable to unseen ones in training. This issue also impairs the applicability of the decision-making model to real-world scenarios, such as recommendation (Xiong et al., 2022) and task-oriented parsing (Zhao et al., 2022a), where the decision space may expand rapidly and crucial labels may be absent in training.",
|
| 98 |
+
"bbox": [
|
| 99 |
+
507,
|
| 100 |
+
252,
|
| 101 |
+
884,
|
| 102 |
+
639
|
| 103 |
+
],
|
| 104 |
+
"page_idx": 0
|
| 105 |
+
},
|
| 106 |
+
{
|
| 107 |
+
"type": "text",
|
| 108 |
+
"text": "On the contrary, motivated by semantic similarity of examples annotated with identical labels, recent studies propose contrastive learning schemes that leverage Siamese encoding architectures to maximize similarity scores of representation for positive example pairs (Henderson et al., 2020; Zhang et al., 2020a; Dahiya et al., 2021a; Mehri and Eric, 2021; Zhang et al., 2021; Xiong et al., 2022). Meanwhile, inductive bias from NLU tasks such as masked language modeling (Mehri et al., 2020; Dai et al., 2021) and natural language inference (NLI; Li et al. 2022; Du et al. 2022) has shown beneficial for learning on rare and unseen labels via indirect supervision (Yin et al., 2023). However, when dealing with very large decision spaces, existing methods still face critical trade-offs between",
|
| 109 |
+
"bbox": [
|
| 110 |
+
507,
|
| 111 |
+
661,
|
| 112 |
+
884,
|
| 113 |
+
917
|
| 114 |
+
],
|
| 115 |
+
"page_idx": 0
|
| 116 |
+
},
|
| 117 |
+
{
|
| 118 |
+
"type": "page_footnote",
|
| 119 |
+
"text": "$^{1}$ Code and resources are available at https://github.com/luka-group/DDR.",
|
| 120 |
+
"bbox": [
|
| 121 |
+
112,
|
| 122 |
+
891,
|
| 123 |
+
487,
|
| 124 |
+
917
|
| 125 |
+
],
|
| 126 |
+
"page_idx": 0
|
| 127 |
+
},
|
| 128 |
+
{
|
| 129 |
+
"type": "page_number",
|
| 130 |
+
"text": "15021",
|
| 131 |
+
"bbox": [
|
| 132 |
+
475,
|
| 133 |
+
927,
|
| 134 |
+
522,
|
| 135 |
+
940
|
| 136 |
+
],
|
| 137 |
+
"page_idx": 0
|
| 138 |
+
},
|
| 139 |
+
{
|
| 140 |
+
"type": "footer",
|
| 141 |
+
"text": "Findings of the Association for Computational Linguistics: EMNLP 2023, pages 15021-15033 December 6-10, 2023 ©2023 Association for Computational Linguistics",
|
| 142 |
+
"bbox": [
|
| 143 |
+
208,
|
| 144 |
+
945,
|
| 145 |
+
786,
|
| 146 |
+
972
|
| 147 |
+
],
|
| 148 |
+
"page_idx": 0
|
| 149 |
+
},
|
| 150 |
+
{
|
| 151 |
+
"type": "text",
|
| 152 |
+
"text": "generalizability and efficiency of prediction.2",
|
| 153 |
+
"bbox": [
|
| 154 |
+
114,
|
| 155 |
+
84,
|
| 156 |
+
450,
|
| 157 |
+
99
|
| 158 |
+
],
|
| 159 |
+
"page_idx": 1
|
| 160 |
+
},
|
| 161 |
+
{
|
| 162 |
+
"type": "text",
|
| 163 |
+
"text": "Inspired by the recent success of dense retrieval methods that learn to select answer-descriptive passages from millions of candidate documents for open-domain QA (Karpukhin et al., 2020; Lee et al., 2021; Zhan et al., 2021), we propose an indirectly supervised solution named Dense Decision Retrieval (DDR). DDR provides a general reformulation of large-space decision making as learning to retrieve from a semantically meaningful decision thesaurus constructed based on task-relevant resources. The model adopts the dual-encoder architecture from dense retrieval models to embed input texts and label descriptions, and learns to predict by retrieving from the informative decision thesaurus instead of predicting fine-grained decisions as logits. In this way, DDR not only leverages rich indirect supervision signals from other easy-to-consume learning resources for dense retrieval. It also leads to enhanced prediction performance and generalizability with a semantically meaningful representation of the large decision space. We evaluate DDR on large decision spaces ranging from hundreds for few-shot intent detection, ten-thousand for ultra-fine entity typing, to hundred-thousand scales for extreme multi-label classification. DDR obtains state-of-the-art performance on 6 benchmark datasets in multiple few-shot settings, improving the most competitive baselines by $27.54\\%$ in $\\mathbb{P}@\\mathbb{1}$ for extreme classification, $1.17\\%$ in F1 for entity typing and $1.26\\%$ in accuracy for intent detection on average. Ablation studies show that both the constructed informative label thesaurus and indirect supervision from dense retrieval contribute to performance gain.",
|
| 164 |
+
"bbox": [
|
| 165 |
+
115,
|
| 166 |
+
105,
|
| 167 |
+
490,
|
| 168 |
+
653
|
| 169 |
+
],
|
| 170 |
+
"page_idx": 1
|
| 171 |
+
},
|
| 172 |
+
{
|
| 173 |
+
"type": "text",
|
| 174 |
+
"text": "The technical contributions of this work are three-fold. First, we present a novel and strong solution, $DDR$ , for NLU tasks with large-space decision making that leverages indirect supervision from dense retrieval. Second, we provide semantically meaningful decision thesaurus construction that further improves the decision-making ability of $DDR$ . Third, we comprehensively verify the effectiveness of $DDR$ on tasks of fine-grained text classification, semantic typing and intent detection where the size of decision spaces range from hundreds to hundreds of thousands.",
|
| 175 |
+
"bbox": [
|
| 176 |
+
112,
|
| 177 |
+
659,
|
| 178 |
+
489,
|
| 179 |
+
851
|
| 180 |
+
],
|
| 181 |
+
"page_idx": 1
|
| 182 |
+
},
|
| 183 |
+
{
|
| 184 |
+
"type": "text",
|
| 185 |
+
"text": "2 Related Work",
|
| 186 |
+
"text_level": 1,
|
| 187 |
+
"bbox": [
|
| 188 |
+
509,
|
| 189 |
+
83,
|
| 190 |
+
665,
|
| 191 |
+
98
|
| 192 |
+
],
|
| 193 |
+
"page_idx": 1
|
| 194 |
+
},
|
| 195 |
+
{
|
| 196 |
+
"type": "text",
|
| 197 |
+
"text": "Indirect Supervision Indirectly supervised methods (Roth, 2017; He et al., 2021; Yin et al., 2023) seek to transfer supervision signals from a more resource-rich task to enhance a specific more resource-limited task. A method of this kind often involves reformulation of the target task to the source task. Previous studies have investigated using source tasks such as NLI (Li et al., 2022; Yin et al., 2019; Lyu et al., 2021, inter alia), extractive QA (Wu et al., 2020; FitzGerald et al., 2018; Li et al., 2020, inter alia), abstractive QA (Zhao et al., 2022a; Du and Ji, 2022) and conditioned generation (Lu et al., 2022; Huang et al., 2022b; Hsu et al., 2022, inter alia) to enhance more expensive information extraction or semantic parsing tasks. Recent studies also transformed these technologies to specialized domains such as medicine (Xu et al., 2023) and software engineering (Zhao et al., 2022b) where model generalization and lack of annotations are more significant challenges. There has also been foundational work which studies the informativeness of supervision signals in such settings (He et al., 2021).",
|
| 198 |
+
"bbox": [
|
| 199 |
+
507,
|
| 200 |
+
129,
|
| 201 |
+
885,
|
| 202 |
+
500
|
| 203 |
+
],
|
| 204 |
+
"page_idx": 1
|
| 205 |
+
},
|
| 206 |
+
{
|
| 207 |
+
"type": "text",
|
| 208 |
+
"text": "However, the aforementioned studies are not designed for discriminative tasks with very large decision spaces, and do not apply directly due to issues such as high inference costs (NLI) and requiring decisions to be inclusive to the input (QA). We instead propose dense retriever that naturally serves as a proper and efficient form of indirect supervision for large-space decision making.",
|
| 209 |
+
"bbox": [
|
| 210 |
+
507,
|
| 211 |
+
506,
|
| 212 |
+
885,
|
| 213 |
+
636
|
| 214 |
+
],
|
| 215 |
+
"page_idx": 1
|
| 216 |
+
},
|
| 217 |
+
{
|
| 218 |
+
"type": "text",
|
| 219 |
+
"text": "NLU with Large Decision Spaces Many concrete NLU tasks deal with large decision spaces, including description-based recommendation in e-commerce (Gupta et al., 2021; Xiong et al., 2022) and Web search (Gupta et al., 2021), user intent detection in task-oriented dialog systems (Zhang et al., 2020b; Ham et al., 2020), and fine-grained semantic typing (Choi et al., 2018; Chen et al., 2020), etc. Previous studies for such tasks either train classifiers (Yu et al., 2022; Lin et al., 2023a) or rely on contrastive learning from scratch (Zhang et al., 2021; Xiong et al., 2022), which are generally impaired by insufficiency of training data and hard to generalize to rarely seen and unseen labels. These challenges motivate us to explore a practical solution with indirect supervision from a dense retriever.",
|
| 220 |
+
"bbox": [
|
| 221 |
+
507,
|
| 222 |
+
645,
|
| 223 |
+
885,
|
| 224 |
+
917
|
| 225 |
+
],
|
| 226 |
+
"page_idx": 1
|
| 227 |
+
},
|
| 228 |
+
{
|
| 229 |
+
"type": "page_footnote",
|
| 230 |
+
"text": "For example, NLI-based inference leads to $k$ times more inference cost where $k$ being the size of the decision space, which is prohibitive for large-space decision making tasks.",
|
| 231 |
+
"bbox": [
|
| 232 |
+
112,
|
| 233 |
+
879,
|
| 234 |
+
487,
|
| 235 |
+
917
|
| 236 |
+
],
|
| 237 |
+
"page_idx": 1
|
| 238 |
+
},
|
| 239 |
+
{
|
| 240 |
+
"type": "page_number",
|
| 241 |
+
"text": "15022",
|
| 242 |
+
"bbox": [
|
| 243 |
+
477,
|
| 244 |
+
927,
|
| 245 |
+
524,
|
| 246 |
+
940
|
| 247 |
+
],
|
| 248 |
+
"page_idx": 1
|
| 249 |
+
},
|
| 250 |
+
{
|
| 251 |
+
"type": "image",
|
| 252 |
+
"img_path": "images/6d21e79feccc28c3d1f6d52726dfd7f12363d46193d3f14c57384969389b2300.jpg",
|
| 253 |
+
"image_caption": [
|
| 254 |
+
"Figure 1: Overview of DDR that reformulates general large-space decision making tasks as dense retrieval. Label thesaurus is constructed with detailed descriptions from publicly available resources and the dual-encoder learns to maximize similarity between embeddings of input and label thesaurus entry with indirect supervision from a pre-trained dense retriever."
|
| 255 |
+
],
|
| 256 |
+
"image_footnote": [],
|
| 257 |
+
"bbox": [
|
| 258 |
+
115,
|
| 259 |
+
84,
|
| 260 |
+
884,
|
| 261 |
+
284
|
| 262 |
+
],
|
| 263 |
+
"page_idx": 2
|
| 264 |
+
},
|
| 265 |
+
{
|
| 266 |
+
"type": "text",
|
| 267 |
+
"text": "3 Method",
|
| 268 |
+
"text_level": 1,
|
| 269 |
+
"bbox": [
|
| 270 |
+
112,
|
| 271 |
+
376,
|
| 272 |
+
216,
|
| 273 |
+
390
|
| 274 |
+
],
|
| 275 |
+
"page_idx": 2
|
| 276 |
+
},
|
| 277 |
+
{
|
| 278 |
+
"type": "text",
|
| 279 |
+
"text": "We first describe the reformulation of large-space decision making task as dense retrieval (§3.1). We then introduce several automatic ways to construct label thesaurus of high quality (§3.2). Lastly, we demonstrate the dual-encoder architecture of DDR (illustrated in Fig. 1) to retrieve decisions (§3.3).",
|
| 280 |
+
"bbox": [
|
| 281 |
+
112,
|
| 282 |
+
403,
|
| 283 |
+
487,
|
| 284 |
+
500
|
| 285 |
+
],
|
| 286 |
+
"page_idx": 2
|
| 287 |
+
},
|
| 288 |
+
{
|
| 289 |
+
"type": "text",
|
| 290 |
+
"text": "3.1 Preliminary",
|
| 291 |
+
"text_level": 1,
|
| 292 |
+
"bbox": [
|
| 293 |
+
112,
|
| 294 |
+
513,
|
| 295 |
+
253,
|
| 296 |
+
527
|
| 297 |
+
],
|
| 298 |
+
"page_idx": 2
|
| 299 |
+
},
|
| 300 |
+
{
|
| 301 |
+
"type": "text",
|
| 302 |
+
"text": "The mechanism of dense retrieval for general decision-making in large spaces can be formalized as follows. Given a textual input, such as \"Illy Ground Espresso Classico Coffee: Classico, classic roast coffee has a lingering sweetness and delicate...\" for description-based product recommendation, a model learns to infer their corresponding labels by mapping input to textual descriptions in a large label thesaurus (such as names, brands, component, etc.), instead of simply predicting the label index.",
|
| 303 |
+
"bbox": [
|
| 304 |
+
110,
|
| 305 |
+
535,
|
| 306 |
+
487,
|
| 307 |
+
709
|
| 308 |
+
],
|
| 309 |
+
"page_idx": 2
|
| 310 |
+
},
|
| 311 |
+
{
|
| 312 |
+
"type": "text",
|
| 313 |
+
"text": "Formally speaking, given a textual input $x$ , a decision space covering $L$ labels and a label thesaurus that contains corresponding entries (label descriptions) $D = \\{d_{1}, d_{2}, \\ldots, d_{L}\\}$ . We first split every entry into text passages of a maximum length (e.g., 100 words) as the basic retrieval units and get $M$ total passages $P = \\{p_{1}, p_{2}, \\ldots, p_{M}\\}^{3}$ . A retriever $R: (x, P) \\to P_{R}$ is a function that takes as input a text sequence $x$ and the label thesaurus $P$ and",
|
| 314 |
+
"bbox": [
|
| 315 |
+
112,
|
| 316 |
+
713,
|
| 317 |
+
487,
|
| 318 |
+
857
|
| 319 |
+
],
|
| 320 |
+
"page_idx": 2
|
| 321 |
+
},
|
| 322 |
+
{
|
| 323 |
+
"type": "text",
|
| 324 |
+
"text": "returns a ranking list of passages $P_R$ , where labels represented by higher ranked passages are more likely to be relevant to the input. As demonstrated in Fig. 1, DDR also leverages indirect supervision from open-domain QA by initializing parameters of retriever $R$ with those from DPR.",
|
| 325 |
+
"bbox": [
|
| 326 |
+
507,
|
| 327 |
+
376,
|
| 328 |
+
882,
|
| 329 |
+
472
|
| 330 |
+
],
|
| 331 |
+
"page_idx": 2
|
| 332 |
+
},
|
| 333 |
+
{
|
| 334 |
+
"type": "text",
|
| 335 |
+
"text": "3.2 Thesaurus Construction",
|
| 336 |
+
"text_level": 1,
|
| 337 |
+
"bbox": [
|
| 338 |
+
507,
|
| 339 |
+
491,
|
| 340 |
+
746,
|
| 341 |
+
505
|
| 342 |
+
],
|
| 343 |
+
"page_idx": 2
|
| 344 |
+
},
|
| 345 |
+
{
|
| 346 |
+
"type": "text",
|
| 347 |
+
"text": "Depending on the target task, the decision thesaurus can provide knowledge about the decision space from various perspectives. Given label names, we create informative descriptions for each label automatically without extra expenses. We can refer to publicly available resources for constructing thesaurus of high quality. To name a few:",
|
| 348 |
+
"bbox": [
|
| 349 |
+
507,
|
| 350 |
+
514,
|
| 351 |
+
882,
|
| 352 |
+
627
|
| 353 |
+
],
|
| 354 |
+
"page_idx": 2
|
| 355 |
+
},
|
| 356 |
+
{
|
| 357 |
+
"type": "list",
|
| 358 |
+
"sub_type": "text",
|
| 359 |
+
"list_items": [
|
| 360 |
+
"1) Lexicographical knowledge bases: dictionaries such as WordNet (Miller, 1995) and Wiktionary<sup>4</sup> provide accurate definitions as well as plentiful use cases to help understand words and phrases.",
|
| 361 |
+
"2) Large Language Models: LLMs trained on instructions like ChatGPT and Vicuna-13B (Chiang et al., 2023) are able to generate comprehensive and reasonable descriptions of terms when they are prompted for explanation.",
|
| 362 |
+
"3) Training examples: directly adopting input text when labels with detailed information also appear as example input, or aggregating input texts from multiple examples assigned with the same label if they share very high-level semantic similarities."
|
| 363 |
+
],
|
| 364 |
+
"bbox": [
|
| 365 |
+
507,
|
| 366 |
+
629,
|
| 367 |
+
882,
|
| 368 |
+
853
|
| 369 |
+
],
|
| 370 |
+
"page_idx": 2
|
| 371 |
+
},
|
| 372 |
+
{
|
| 373 |
+
"type": "text",
|
| 374 |
+
"text": "We describe thesaurus construction in practice for each investigated downstream task in $\\S 4$ .",
|
| 375 |
+
"bbox": [
|
| 376 |
+
507,
|
| 377 |
+
856,
|
| 378 |
+
880,
|
| 379 |
+
887
|
| 380 |
+
],
|
| 381 |
+
"page_idx": 2
|
| 382 |
+
},
|
| 383 |
+
{
|
| 384 |
+
"type": "page_footnote",
|
| 385 |
+
"text": "<sup>3</sup>Since a label-descriptive entry, such as those in XMC tasks, is sometimes too long to encode with a Transformer encoder, we break it down into multiple passages to avoid the quadratic dependency w.r.t input length.",
|
| 386 |
+
"bbox": [
|
| 387 |
+
112,
|
| 388 |
+
868,
|
| 389 |
+
487,
|
| 390 |
+
917
|
| 391 |
+
],
|
| 392 |
+
"page_idx": 2
|
| 393 |
+
},
|
| 394 |
+
{
|
| 395 |
+
"type": "page_footnote",
|
| 396 |
+
"text": "<sup>4</sup>https://en.wikipedia.org/",
|
| 397 |
+
"bbox": [
|
| 398 |
+
536,
|
| 399 |
+
903,
|
| 400 |
+
742,
|
| 401 |
+
917
|
| 402 |
+
],
|
| 403 |
+
"page_idx": 2
|
| 404 |
+
},
|
| 405 |
+
{
|
| 406 |
+
"type": "page_number",
|
| 407 |
+
"text": "15023",
|
| 408 |
+
"bbox": [
|
| 409 |
+
477,
|
| 410 |
+
927,
|
| 411 |
+
524,
|
| 412 |
+
940
|
| 413 |
+
],
|
| 414 |
+
"page_idx": 2
|
| 415 |
+
},
|
| 416 |
+
{
|
| 417 |
+
"type": "text",
|
| 418 |
+
"text": "3.3 Learning to Retrieve Decisions",
|
| 419 |
+
"text_level": 1,
|
| 420 |
+
"bbox": [
|
| 421 |
+
112,
|
| 422 |
+
84,
|
| 423 |
+
401,
|
| 424 |
+
99
|
| 425 |
+
],
|
| 426 |
+
"page_idx": 3
|
| 427 |
+
},
|
| 428 |
+
{
|
| 429 |
+
"type": "text",
|
| 430 |
+
"text": "Encoders Since a key motivation of $DDR$ is to leverage indirect supervision from retrieval tasks, we adopt the dual-encoder architecture similar to a dense retriever such as DPR (Karpukhin et al., 2020), where two sentence encoders with special tokens (BERT (Devlin et al., 2019) by default), $E_{x}$ and $E_{p}$ , are leveraged to represent input text $x$ and passage $p$ individually. The similarity between input and passage is computed using dot product of their vectors denoted by $\\operatorname{sim}(x,p)$ .",
|
| 431 |
+
"bbox": [
|
| 432 |
+
112,
|
| 433 |
+
109,
|
| 434 |
+
487,
|
| 435 |
+
269
|
| 436 |
+
],
|
| 437 |
+
"page_idx": 3
|
| 438 |
+
},
|
| 439 |
+
{
|
| 440 |
+
"type": "text",
|
| 441 |
+
"text": "Training The objective of the reformulated large-space decision making problem is to optimize the dual encoders such that relevant pairs of input text and label description (thesaurus entry) should have higher similarity than irrelevant pairs in the embedding space. Hence, the overall learning objective is a process of contrastive learning.",
|
| 442 |
+
"bbox": [
|
| 443 |
+
112,
|
| 444 |
+
274,
|
| 445 |
+
487,
|
| 446 |
+
385
|
| 447 |
+
],
|
| 448 |
+
"page_idx": 3
|
| 449 |
+
},
|
| 450 |
+
{
|
| 451 |
+
"type": "text",
|
| 452 |
+
"text": "To tackle single-label classification where each instance contains one input $x_{i}$ , one relevant (positive) passage $x_{i}^{+}$ , along with $n$ irrelevant (negative) passages $p_{i,j}^{-}$ , we minimize the negative log likelihood of the positive label description",
|
| 453 |
+
"bbox": [
|
| 454 |
+
112,
|
| 455 |
+
387,
|
| 456 |
+
489,
|
| 457 |
+
467
|
| 458 |
+
],
|
| 459 |
+
"page_idx": 3
|
| 460 |
+
},
|
| 461 |
+
{
|
| 462 |
+
"type": "equation",
|
| 463 |
+
"text": "\n$$\n\\begin{array}{l} L \\left(x _ {i}, p _ {i} ^ {+}, p _ {i, 1} ^ {-}, \\dots , p _ {i, n} ^ {-}\\right) \\tag {1} \\\\ = - \\log \\frac {e ^ {\\operatorname {s i m} \\left(x _ {i} , p _ {i} ^ {+}\\right)}}{e ^ {\\operatorname {s i m} \\left(x _ {i} , p _ {i} ^ {+}\\right)} + \\sum_ {j = 1} ^ {n} e ^ {\\operatorname {s i m} \\left(x _ {i} , p _ {i , j} ^ {-}\\right)}}. \\\\ \\end{array}\n$$\n",
|
| 464 |
+
"text_format": "latex",
|
| 465 |
+
"bbox": [
|
| 466 |
+
147,
|
| 467 |
+
480,
|
| 468 |
+
487,
|
| 469 |
+
546
|
| 470 |
+
],
|
| 471 |
+
"page_idx": 3
|
| 472 |
+
},
|
| 473 |
+
{
|
| 474 |
+
"type": "text",
|
| 475 |
+
"text": "We extend to multi-label classification tasks where each input has multiple positive passages and more than one of them participates in model update simultaneously. Accordingly, the cross entropy loss is minimized to encourage similarity between $m$ positive pairs instead:",
|
| 476 |
+
"bbox": [
|
| 477 |
+
112,
|
| 478 |
+
556,
|
| 479 |
+
487,
|
| 480 |
+
651
|
| 481 |
+
],
|
| 482 |
+
"page_idx": 3
|
| 483 |
+
},
|
| 484 |
+
{
|
| 485 |
+
"type": "equation",
|
| 486 |
+
"text": "\n$$\n\\begin{array}{l} L \\left(x _ {i}, p _ {i, 1} ^ {+}, \\dots , p _ {i, m} ^ {+}, p _ {i, 1} ^ {-}, \\dots , p _ {i, n} ^ {-}\\right) \\tag {2} \\\\ = - \\sum_ {k = 1} ^ {m} \\log \\frac {e ^ {\\mathrm {s i m} (x _ {i} , p _ {i , k} ^ {+})}}{\\sum_ {j = 1} ^ {m} e ^ {\\mathrm {s i m} (x _ {i} , p _ {i , j} ^ {+})} + \\sum_ {j = 1} ^ {n} e ^ {\\mathrm {s i m} (x _ {i} , p _ {i , j} ^ {-})}}. \\\\ \\end{array}\n$$\n",
|
| 487 |
+
"text_format": "latex",
|
| 488 |
+
"bbox": [
|
| 489 |
+
114,
|
| 490 |
+
664,
|
| 491 |
+
500,
|
| 492 |
+
733
|
| 493 |
+
],
|
| 494 |
+
"page_idx": 3
|
| 495 |
+
},
|
| 496 |
+
{
|
| 497 |
+
"type": "text",
|
| 498 |
+
"text": "Positive, negative and hard negative passages: the decision thesaurus entries that describe true labels in thesaurus for each input are deemed as positive. In-batch negatives are positive entries for other input in the same mini-batch, making the computation more efficient while achieving better performance compared with random passages or other negative entries (Gillick et al., 2019;",
|
| 499 |
+
"bbox": [
|
| 500 |
+
112,
|
| 501 |
+
743,
|
| 502 |
+
487,
|
| 503 |
+
871
|
| 504 |
+
],
|
| 505 |
+
"page_idx": 3
|
| 506 |
+
},
|
| 507 |
+
{
|
| 508 |
+
"type": "text",
|
| 509 |
+
"text": "Karpukhin et al., 2020). If not otherwise specified, we train with positive and in-batch negatives to obtain a weak $DDR$ model firstly; we then retrieve label thesaurus with the weak model for training examples and leverage wrongly predicted label description as hard negatives, which are augmented to training data to obtain a stronger $DDR$ .",
|
| 510 |
+
"bbox": [
|
| 511 |
+
507,
|
| 512 |
+
84,
|
| 513 |
+
882,
|
| 514 |
+
197
|
| 515 |
+
],
|
| 516 |
+
"page_idx": 3
|
| 517 |
+
},
|
| 518 |
+
{
|
| 519 |
+
"type": "text",
|
| 520 |
+
"text": "We note that, different from open-domain QA where one positive pair can be considered per time with Eq. 1, considering multiple positive pairs is very important for tasks where the decision space though large but follows highly skewed distributions, when in-batch negatives are adopted for model update. In the mini-batch, multiple inputs may share same labels that are popular in the head of long-tail label distribution. In this case, these input instances have multiple positive passages: one randomly sampled from label passages as normal and some from positives of other in-batch inputs.",
|
| 521 |
+
"bbox": [
|
| 522 |
+
507,
|
| 523 |
+
198,
|
| 524 |
+
882,
|
| 525 |
+
391
|
| 526 |
+
],
|
| 527 |
+
"page_idx": 3
|
| 528 |
+
},
|
| 529 |
+
{
|
| 530 |
+
"type": "text",
|
| 531 |
+
"text": "Inference After training is completed, we encode all passages in label thesaurus once with $E_{p}$ and index them using FAISS offline (Johnson et al., 2019). Given a new input, we obtain its embedding with $E_{x}$ and retrieve the top- $k$ passages with embeddings closest to that of input.",
|
| 532 |
+
"bbox": [
|
| 533 |
+
507,
|
| 534 |
+
394,
|
| 535 |
+
882,
|
| 536 |
+
491
|
| 537 |
+
],
|
| 538 |
+
"page_idx": 3
|
| 539 |
+
},
|
| 540 |
+
{
|
| 541 |
+
"type": "text",
|
| 542 |
+
"text": "4 Experiments",
|
| 543 |
+
"text_level": 1,
|
| 544 |
+
"bbox": [
|
| 545 |
+
507,
|
| 546 |
+
504,
|
| 547 |
+
653,
|
| 548 |
+
520
|
| 549 |
+
],
|
| 550 |
+
"page_idx": 3
|
| 551 |
+
},
|
| 552 |
+
{
|
| 553 |
+
"type": "text",
|
| 554 |
+
"text": "We evaluate DDR on three NLU tasks with large deiction spaces in two criteria, 1) a minority of label space is observed during training: Extreme Multi-label Classification (§4.1) and Entity Typing (§4.2), or 2) limited amounts of examples are available per label: Intent Classification (§4.3). We investigate decision spaces of up to hundreds of thousands. Dataset statistics are shown in Appx. Tab. 1.",
|
| 555 |
+
"bbox": [
|
| 556 |
+
507,
|
| 557 |
+
530,
|
| 558 |
+
882,
|
| 559 |
+
675
|
| 560 |
+
],
|
| 561 |
+
"page_idx": 3
|
| 562 |
+
},
|
| 563 |
+
{
|
| 564 |
+
"type": "text",
|
| 565 |
+
"text": "4.1 Extreme Multi-label Classification",
|
| 566 |
+
"text_level": 1,
|
| 567 |
+
"bbox": [
|
| 568 |
+
507,
|
| 569 |
+
687,
|
| 570 |
+
823,
|
| 571 |
+
702
|
| 572 |
+
],
|
| 573 |
+
"page_idx": 3
|
| 574 |
+
},
|
| 575 |
+
{
|
| 576 |
+
"type": "text",
|
| 577 |
+
"text": "Task Many real-world applications can be formulated as eXtreme Multi-label Classification (XMC) problems, where relevant labels from the set of an extremely large size are expected to be predicted given text input. Considering the ever-growing label set with newly added products or websites and the time-consuming example-label pairs collection, we follow the few-shot XMC setting (Gupta et al., 2021; Xiong et al., 2022) to choose relevant labels from all available seen and unseen labels. $^6$",
|
| 578 |
+
"bbox": [
|
| 579 |
+
507,
|
| 580 |
+
712,
|
| 581 |
+
882,
|
| 582 |
+
872
|
| 583 |
+
],
|
| 584 |
+
"page_idx": 3
|
| 585 |
+
},
|
| 586 |
+
{
|
| 587 |
+
"type": "page_footnote",
|
| 588 |
+
"text": "<sup>6</sup>By randomly sampling $1\\%$ and $5\\%$ labels from the large decision space, we only use their instances for model training and predict on the test set covering the whole label space.",
|
| 589 |
+
"bbox": [
|
| 590 |
+
507,
|
| 591 |
+
879,
|
| 592 |
+
882,
|
| 593 |
+
917
|
| 594 |
+
],
|
| 595 |
+
"page_idx": 3
|
| 596 |
+
},
|
| 597 |
+
{
|
| 598 |
+
"type": "page_footnote",
|
| 599 |
+
"text": "For example, in cases where a BERT model is used, the [CLS] token is used for representation of input text and the decision thesaurus entries",
|
| 600 |
+
"bbox": [
|
| 601 |
+
112,
|
| 602 |
+
879,
|
| 603 |
+
487,
|
| 604 |
+
917
|
| 605 |
+
],
|
| 606 |
+
"page_idx": 3
|
| 607 |
+
},
|
| 608 |
+
{
|
| 609 |
+
"type": "page_number",
|
| 610 |
+
"text": "15024",
|
| 611 |
+
"bbox": [
|
| 612 |
+
477,
|
| 613 |
+
927,
|
| 614 |
+
524,
|
| 615 |
+
940
|
| 616 |
+
],
|
| 617 |
+
"page_idx": 3
|
| 618 |
+
},
|
| 619 |
+
{
|
| 620 |
+
"type": "table",
|
| 621 |
+
"img_path": "images/abc78cd58aa2bf73599e6b9ad822dc843aa509eed166241c302c42534fea7ebf.jpg",
|
| 622 |
+
"table_caption": [],
|
| 623 |
+
"table_footnote": [],
|
| 624 |
+
"table_body": "<table><tr><td>Dataset</td><td>Setting</td><td>Train</td><td>Dev</td><td>Test</td><td>Labels</td></tr><tr><td colspan=\"6\">Extreme Multi-label Classification</td></tr><tr><td rowspan=\"2\">LF-Amazon-131K</td><td>1%</td><td>6227</td><td>-</td><td rowspan=\"2\">134,835</td><td rowspan=\"2\">131,073</td></tr><tr><td>5%</td><td>29,719</td><td>-</td></tr><tr><td rowspan=\"2\">LF-WikiSeeAlso-320K</td><td>1%</td><td>13,920</td><td>-</td><td rowspan=\"2\">177,515</td><td rowspan=\"2\">312,330</td></tr><tr><td>5%</td><td>62,704</td><td>-</td></tr><tr><td colspan=\"6\">Ultra-fine Entity Typing</td></tr><tr><td>UFET</td><td>Crowd</td><td>1998</td><td>1998</td><td>1998</td><td>10,331</td></tr><tr><td colspan=\"6\">Intent Classification</td></tr><tr><td rowspan=\"2\">BANKING</td><td>5-shot</td><td>385</td><td rowspan=\"2\">1540</td><td rowspan=\"2\">3080</td><td rowspan=\"2\">77</td></tr><tr><td>10-shot</td><td>770</td></tr><tr><td rowspan=\"2\">HWU</td><td>5-shot</td><td>320</td><td rowspan=\"2\">1076</td><td rowspan=\"2\">1076</td><td rowspan=\"2\">64</td></tr><tr><td>10-shot</td><td>640</td></tr><tr><td rowspan=\"2\">CLINC</td><td>5-shot</td><td>750</td><td rowspan=\"2\">3000</td><td rowspan=\"2\">4500</td><td rowspan=\"2\">150</td></tr><tr><td>10-shot</td><td>1500</td></tr></table>",
|
| 625 |
+
"bbox": [
|
| 626 |
+
114,
|
| 627 |
+
80,
|
| 628 |
+
495,
|
| 629 |
+
331
|
| 630 |
+
],
|
| 631 |
+
"page_idx": 4
|
| 632 |
+
},
|
| 633 |
+
{
|
| 634 |
+
"type": "text",
|
| 635 |
+
"text": "Table 1: Statistics and experimental settings on datasets with label spaces ranging from 64 to ${320}\\mathrm{\\;K}$ .",
|
| 636 |
+
"bbox": [
|
| 637 |
+
112,
|
| 638 |
+
338,
|
| 639 |
+
487,
|
| 640 |
+
369
|
| 641 |
+
],
|
| 642 |
+
"page_idx": 4
|
| 643 |
+
},
|
| 644 |
+
{
|
| 645 |
+
"type": "text",
|
| 646 |
+
"text": "Datasets and Metrics The public benchmark dataset LF-Amazon-131K collects pairs of relevant products with textual descriptions for commercial recommendation, while LF-WikiSeeAlso-320K<sup>7</sup> aims to link relevant Wikipedia passages for reference (Bhatia et al., 2016; Gupta et al., 2021).",
|
| 647 |
+
"bbox": [
|
| 648 |
+
112,
|
| 649 |
+
397,
|
| 650 |
+
489,
|
| 651 |
+
493
|
| 652 |
+
],
|
| 653 |
+
"page_idx": 4
|
| 654 |
+
},
|
| 655 |
+
{
|
| 656 |
+
"type": "text",
|
| 657 |
+
"text": "We use metrics widely adopted by XMC (Chien et al., 2023) and IR (Thakur et al., 2021) literature: precision@k for the proportion of the top- $k$ predicted labels to be true labels, and recall@k for the proportion of true labels found in the top- $k$ predictions.",
|
| 658 |
+
"bbox": [
|
| 659 |
+
112,
|
| 660 |
+
495,
|
| 661 |
+
489,
|
| 662 |
+
592
|
| 663 |
+
],
|
| 664 |
+
"page_idx": 4
|
| 665 |
+
},
|
| 666 |
+
{
|
| 667 |
+
"type": "text",
|
| 668 |
+
"text": "Baselines We compare DDR with strong XMC baselines in three categories: 1) Transformer-based models that learn semantically meaningful sentence embeddings with siamese or triplet network structures, including Sentence-BERT (Reimers and Gurevych, 2019) and MPNet (Song et al., 2020); 2) competitive methods originally proposed for scalable and accurate predictions over extremely large label spaces, including XR-Linear (Yu et al., 2022) that recursively learns to traverse an input from the root of a hierarchical label tree to a few leaf node clusters, Astec (Dahiya et al., 2021b) with four sub-tasks for varying trade-offs between accuracy",
|
| 669 |
+
"bbox": [
|
| 670 |
+
112,
|
| 671 |
+
596,
|
| 672 |
+
489,
|
| 673 |
+
806
|
| 674 |
+
],
|
| 675 |
+
"page_idx": 4
|
| 676 |
+
},
|
| 677 |
+
{
|
| 678 |
+
"type": "text",
|
| 679 |
+
"text": "and scalability, and SiameseXML (Dahiya et al., 2021a) based on a novel probabilistic model to meld Siamese architectures with high-capacity extreme classifiers; 3) methods specifically designed to improve performance with few-shot labels available, including ZestXML (Gupta et al., 2021) that learns to project a data point's features close to the features of its relevant labels through a highly sparsified linear transform, and MACLR (Xiong et al., 2022) that pre-trains Transformer-based encoders with a self-supervised contrastive loss.",
|
| 680 |
+
"bbox": [
|
| 681 |
+
507,
|
| 682 |
+
84,
|
| 683 |
+
884,
|
| 684 |
+
261
|
| 685 |
+
],
|
| 686 |
+
"page_idx": 4
|
| 687 |
+
},
|
| 688 |
+
{
|
| 689 |
+
"type": "text",
|
| 690 |
+
"text": "Implementation Details The label space of LF-WikiSeeAlso-320K is composed of relevant passage titles, hence the corresponding full content should be available in Wikipedia and we use them as the label thesaurus. For relevant product advertisement and recommendation, concrete product description provides sufficient information as the label thesaurus for LF-Amazon-131K. We extract product textual descriptions mainly from Amazon data in XMC benchmark (Bhatia et al., 2016) and public Amazon product meta datasets (Ni et al., 2019), leading to $95.67\\%$ of labels well documented. As introduced in $\\S 3.2$ , we then use ChatGPT to obtain relevant information for remaining undocumented labels.",
|
| 691 |
+
"bbox": [
|
| 692 |
+
507,
|
| 693 |
+
266,
|
| 694 |
+
884,
|
| 695 |
+
507
|
| 696 |
+
],
|
| 697 |
+
"page_idx": 4
|
| 698 |
+
},
|
| 699 |
+
{
|
| 700 |
+
"type": "text",
|
| 701 |
+
"text": "We perform label thesaurus construction on Intel(R) Xeon(R) Gold 5217 CPU @ 3.00GHz with 32 CPUs and 8 cores per CPU. It takes 59.12 minutes to construct label thesaurus for LF-WikiSeeAlso-320K, while 28.24 minutes for LF-Amazon-131K. We leverage the same infrastructure to prepare label thesaurus in following tasks unless otherwise specified.",
|
| 702 |
+
"bbox": [
|
| 703 |
+
507,
|
| 704 |
+
508,
|
| 705 |
+
885,
|
| 706 |
+
638
|
| 707 |
+
],
|
| 708 |
+
"page_idx": 4
|
| 709 |
+
},
|
| 710 |
+
{
|
| 711 |
+
"type": "text",
|
| 712 |
+
"text": "Due to a lack of explicit knowledge about the connection between the majority of labels and their examples for training, DDR only learns to distinguish positive example-label pairs from in-batch negatives without further negative mining. For inference, with the constructed label thesaurus, we first retrieve the large label space with a test example based on Sentence-BERT embeddings of the title and the first sentence in an unsupervised way. After training DDR with few-shot labels, we mimic the practice of DPR+BM25 for open-",
|
| 713 |
+
"bbox": [
|
| 714 |
+
507,
|
| 715 |
+
640,
|
| 716 |
+
885,
|
| 717 |
+
816
|
| 718 |
+
],
|
| 719 |
+
"page_idx": 4
|
| 720 |
+
},
|
| 721 |
+
{
|
| 722 |
+
"type": "page_footnote",
|
| 723 |
+
"text": "${}^{7}$ DPR was trained on the clean, text-partition of articles from the Wikipedia dump for question answering. Lists such as the \"See also\" section have been removed during preprocessing. Hence example-label pairs in LF-WikiSeeAlso-320K are unseen during DPR training and it is fair to fine-tune DPR on this task.",
|
| 724 |
+
"bbox": [
|
| 725 |
+
112,
|
| 726 |
+
820,
|
| 727 |
+
487,
|
| 728 |
+
891
|
| 729 |
+
],
|
| 730 |
+
"page_idx": 4
|
| 731 |
+
},
|
| 732 |
+
{
|
| 733 |
+
"type": "page_footnote",
|
| 734 |
+
"text": "8Following (Xiong et al., 2022), we use $k = \\{1,3,5\\}$ for precision@k and $k = \\{1,3,5,10,100\\}$ for recall@k.",
|
| 735 |
+
"bbox": [
|
| 736 |
+
112,
|
| 737 |
+
892,
|
| 738 |
+
487,
|
| 739 |
+
917
|
| 740 |
+
],
|
| 741 |
+
"page_idx": 4
|
| 742 |
+
},
|
| 743 |
+
{
|
| 744 |
+
"type": "page_footnote",
|
| 745 |
+
"text": "<sup>9</sup>Since the specific dump version is unclear, we look for different resources (e.g., latest dump, train and test passages, Wikipedia API search) and cover 99.95% of labels in the end.",
|
| 746 |
+
"bbox": [
|
| 747 |
+
507,
|
| 748 |
+
831,
|
| 749 |
+
882,
|
| 750 |
+
866
|
| 751 |
+
],
|
| 752 |
+
"page_idx": 4
|
| 753 |
+
},
|
| 754 |
+
{
|
| 755 |
+
"type": "page_footnote",
|
| 756 |
+
"text": "$^{10}$ https://chat.openai.com/",
|
| 757 |
+
"bbox": [
|
| 758 |
+
532,
|
| 759 |
+
866,
|
| 760 |
+
729,
|
| 761 |
+
881
|
| 762 |
+
],
|
| 763 |
+
"page_idx": 4
|
| 764 |
+
},
|
| 765 |
+
{
|
| 766 |
+
"type": "page_footnote",
|
| 767 |
+
"text": "11 Similarly, for following tasks, we obtain label information by prompting LLMs if the label definition or description is unavailable from existing resources.",
|
| 768 |
+
"bbox": [
|
| 769 |
+
507,
|
| 770 |
+
881,
|
| 771 |
+
882,
|
| 772 |
+
917
|
| 773 |
+
],
|
| 774 |
+
"page_idx": 4
|
| 775 |
+
},
|
| 776 |
+
{
|
| 777 |
+
"type": "page_number",
|
| 778 |
+
"text": "15025",
|
| 779 |
+
"bbox": [
|
| 780 |
+
477,
|
| 781 |
+
927,
|
| 782 |
+
524,
|
| 783 |
+
940
|
| 784 |
+
],
|
| 785 |
+
"page_idx": 4
|
| 786 |
+
},
|
| 787 |
+
{
|
| 788 |
+
"type": "table",
|
| 789 |
+
"img_path": "images/e42e56058994447c9c6ae8a4d38009457238b24e3b987ce2997a25ed5c42fc19.jpg",
|
| 790 |
+
"table_caption": [],
|
| 791 |
+
"table_footnote": [],
|
| 792 |
+
"table_body": "<table><tr><td rowspan=\"2\">Method</td><td colspan=\"8\">1% Labels</td><td colspan=\"7\">5% Labels</td><td></td></tr><tr><td>Precision@1</td><td>@3</td><td>@5</td><td>Recall@1</td><td>@3</td><td>@5</td><td>@10</td><td>@100</td><td>Precision@1</td><td>@3</td><td>@5</td><td>@1</td><td>@3</td><td>@5</td><td>@10</td><td>@100</td></tr><tr><td colspan=\"16\">LF-Amazon-131K</td><td></td></tr><tr><td>XR-Linear</td><td>1.53</td><td>0.57</td><td>0.36</td><td>0.67</td><td>0.75</td><td>0.78</td><td>0.81</td><td>0.92</td><td>5.09</td><td>2.09</td><td>1.32</td><td>2.36</td><td>2.86</td><td>3.02</td><td>3.18</td><td>3.74</td></tr><tr><td>Astec</td><td>0.94</td><td>0.44</td><td>0.29</td><td>0.55</td><td>0.78</td><td>0.84</td><td>0.91</td><td>1.13</td><td>3.94</td><td>1.92</td><td>1.26</td><td>2.31</td><td>2.34</td><td>3.66</td><td>4.00</td><td>4.96</td></tr><tr><td>SiameseXML</td><td>1.45</td><td>0.56</td><td>0.35</td><td>0.84</td><td>0.96</td><td>1.00</td><td>1.03</td><td>1.16</td><td>5.36</td><td>2.23</td><td>1.41</td><td>3.15</td><td>3.89</td><td>4.08</td><td>4.27</td><td>4.82</td></tr><tr><td>ZestXML</td><td>10.10</td><td>9.19</td><td>7.34</td><td>5.63</td><td>14.46</td><td>18.61</td><td>23.73</td><td>32.69</td><td>12.33</td><td>10.00</td><td>8.71</td><td>6.84</td><td>17.19</td><td>21.97</td><td>28.19</td><td>46.49</td></tr><tr><td>Sentence-BERT</td><td>12.64</td><td>9.82</td><td>7.80</td><td>6.97</td><td>15.34</td><td>19.74</td><td>25.33</td><td>43.53</td><td>15.47</td><td>12.24</td><td>9.64</td><td>8.63</td><td>19.23</td><td>24.40</td><td>30.82</td><td>49.22</td></tr><tr><td>MPNet</td><td>14.78</td><td>11.55</td><td>8.97</td><td>8.28</td><td>18.24</td><td>22.84</td><td>28.54</td><td>45.89</td><td>15.03</td><td>11.88</td><td>9.28</td><td>8.47</td><td>18.74</td><td>23.69</td><td>29.93</td><td>48.84</td></tr><tr><td>MACLR</td><td>18.74</td><td>16.07</td><td>12.52</td><td>10.73</td><td>25.44</td><td>31.89</td><td>39.17</td><td>57.55</td><td>19.56</td><td>16.19</td><td>12.64</td><td>11.15</td><td>25.65</td><td>32.18</td><td>39.63</td><td>58.45</td></tr><tr><td>DDR (w/o thesaurus)</td><td>15.39</td><td>10.92</td><td>7.87</td><td>8.25</td><td>19.15</td><td>24.10</td><td>31.51</td><td>54.32</td><td>21.21</td><td>13.77</td><td>10.23</td><td>12.02</td><td>24.18</td><td>30.29</td><td>38.19</td><td>58.75</td></tr><tr><td>DDR (scratch)</td><td>19.55</td><td>14.48</td><td>11.50</td><td>10.87</td><td>22.50</td><td>29.00</td><td>37.80</td><td>56.53</td><td>23.77</td><td>16.48</td><td>12.75</td><td>13.31</td><td>25.54</td><td>31.85</td><td>40.46</td><td>60.30</td></tr><tr><td>DDR (full)</td><td>22.39</td><td>16.38</td><td>12.40</td><td>12.57</td><td>25.64</td><td>31.44</td><td>38.44</td><td>57.72</td><td>25.22</td><td>17.96</td><td>13.63</td><td>14.18</td><td>27.94</td><td>34.40</td><td>41.72</td><td>61.17</td></tr><tr><td colspan=\"16\">LF-WikiSeeAlso-320K</td><td></td></tr><tr><td>XR-Linear</td><td>1.24</td><td>0.57</td><td>0.37</td><td>0.42</td><td>0.58</td><td>0.63</td><td>0.68</td><td>0.76</td><td>4.69</td><td>2.20</td><td>1.46</td><td>1.82</td><td>2.41</td><td>2.63</td><td>2.82</td><td>3.42</td></tr><tr><td>Astec</td><td>1.25</td><td>0.60</td><td>0.41</td><td>0.69</td><td>0.98</td><td>1.11</td><td>1.27</td><td>1.56</td><td>5.90</td><td>2.80</td><td>1.86</td><td>3.26</td><td>4.49</td><td>4.95</td><td>5.49</td><td>6.83</td></tr><tr><td>SiameseXML</td><td>1.81</td><td>0.75</td><td>0.48</td><td>1.03</td><td>1.26</td><td>1.33</td><td>1.41</td><td>1.67</td><td>6.83</td><td>3.15</td><td>2.06</td><td>3.88</td><td>5.15</td><td>5.56</td><td>6.02</td><td>7.09</td></tr><tr><td>ZestXML</td><td>8.74</td><td>6.78</td><td>5.41</td><td>4.68</td><td>9.70</td><td>12.21</td><td>15.73</td><td>24.98</td><td>10.06</td><td>8.11</td><td>6.60</td><td>5.33</td><td>11.49</td><td>14.74</td><td>19.57</td><td>40.46</td></tr><tr><td>Sentence-BERT</td><td>16.30</td><td>12.62</td><td>10.08</td><td>9.30</td><td>18.92</td><td>23.78</td><td>30.40</td><td>52.92</td><td>18.47</td><td>14.19</td><td>11.29</td><td>10.82</td><td>21.55</td><td>26.77</td><td>33.92</td><td>57.02</td></tr><tr><td>MPNet</td><td>17.14</td><td>12.64</td><td>9.96</td><td>9.98</td><td>18.98</td><td>23.45</td><td>29.67</td><td>50.75</td><td>18.59</td><td>13.99</td><td>11.08</td><td>10.89</td><td>21.12</td><td>26.10</td><td>32.82</td><td>54.70</td></tr><tr><td>MACLR</td><td>19.09</td><td>14.57</td><td>11.53</td><td>11.39</td><td>22.34</td><td>27.63</td><td>34.81</td><td>57.92</td><td>20.99</td><td>15.57</td><td>12.26</td><td>12.59</td><td>23.94</td><td>29.41</td><td>36.78</td><td>59.81</td></tr><tr><td>DDR (w/o thesaurus)</td><td>17.52</td><td>15.93</td><td>14.23</td><td>4.89</td><td>13.11</td><td>18.88</td><td>25.93</td><td>46.93</td><td>18.14</td><td>16.65</td><td>15.39</td><td>5.12</td><td>14.10</td><td>21.81</td><td>30.00</td><td>52.54</td></tr><tr><td>DDR (scratch)</td><td>21.26</td><td>15.81</td><td>13.08</td><td>11.16</td><td>22.52</td><td>29.55</td><td>40.14</td><td>64.94</td><td>25.04</td><td>18.95</td><td>15.05</td><td>12.46</td><td>25.70</td><td>32.18</td><td>40.24</td><td>66.22</td></tr><tr><td>DDR (full)</td><td>24.70</td><td>18.45</td><td>14.69</td><td>13.04</td><td>26.31</td><td>32.99</td><td>41.08</td><td>65.39</td><td>27.78</td><td>19.98</td><td>15.66</td><td>15.03</td><td>28.87</td><td>35.47</td><td>43.35</td><td>68.66</td></tr></table>",
|
| 793 |
+
"bbox": [
|
| 794 |
+
112,
|
| 795 |
+
80,
|
| 796 |
+
884,
|
| 797 |
+
422
|
| 798 |
+
],
|
| 799 |
+
"page_idx": 5
|
| 800 |
+
},
|
| 801 |
+
{
|
| 802 |
+
"type": "text",
|
| 803 |
+
"text": "Table 2: Results of few-shot XMC where the training subset covers $1\\%$ (left) and $5\\%$ (right) labels from the whole set. DDR outperforms the second best MACLR in both settings of two datasets. Indirect supervision from DPR boosts performance against training from scratch (the second row from the bottom), while label thesaurus construction improves accuracy over those using textual label names (the third row from the bottom).",
|
| 804 |
+
"bbox": [
|
| 805 |
+
112,
|
| 806 |
+
431,
|
| 807 |
+
882,
|
| 808 |
+
491
|
| 809 |
+
],
|
| 810 |
+
"page_idx": 5
|
| 811 |
+
},
|
| 812 |
+
{
|
| 813 |
+
"type": "text",
|
| 814 |
+
"text": "domain QA (Karpukhin et al., 2020) for reranking, where prediction scores on test set from $DDR$ and Sentence-BERT are linearly combined as the final ranking score.",
|
| 815 |
+
"bbox": [
|
| 816 |
+
112,
|
| 817 |
+
514,
|
| 818 |
+
487,
|
| 819 |
+
579
|
| 820 |
+
],
|
| 821 |
+
"page_idx": 5
|
| 822 |
+
},
|
| 823 |
+
{
|
| 824 |
+
"type": "text",
|
| 825 |
+
"text": "Results We report performance of DDR with(out) indirect supervision from dense retrieval for open-domain QA in Tab. 2. On average, DDR boosts performance on LF-Amazon-131K by $8.50\\%$ and LF-WikiSeeAlso-320K by $21.73\\%$ compared with the second best baseline MACLR. When only $1\\%$ labels are seen during training, we observe that DDR shows much better transferability than other pre-trained models, e.g., average performance improved by $12.59\\%$ over MACLR and $39.80\\%$ over MPNet. As more labels are available for fine-tuning the model, the performance gain from DDR over others becomes even more significant: $17.64\\%$ over MACLR and $43.38\\%$ over MPNet under $5\\%$ labels setting.",
|
| 826 |
+
"bbox": [
|
| 827 |
+
112,
|
| 828 |
+
583,
|
| 829 |
+
489,
|
| 830 |
+
828
|
| 831 |
+
],
|
| 832 |
+
"page_idx": 5
|
| 833 |
+
},
|
| 834 |
+
{
|
| 835 |
+
"type": "text",
|
| 836 |
+
"text": "4.2 Ultra-fine Entity Typing",
|
| 837 |
+
"text_level": 1,
|
| 838 |
+
"bbox": [
|
| 839 |
+
112,
|
| 840 |
+
843,
|
| 841 |
+
352,
|
| 842 |
+
859
|
| 843 |
+
],
|
| 844 |
+
"page_idx": 5
|
| 845 |
+
},
|
| 846 |
+
{
|
| 847 |
+
"type": "text",
|
| 848 |
+
"text": "Task Entities can often be described by very fine grained-types (Choi et al., 2018) and the ultra-fine entity typing task aims at predicting one or more",
|
| 849 |
+
"bbox": [
|
| 850 |
+
112,
|
| 851 |
+
870,
|
| 852 |
+
487,
|
| 853 |
+
919
|
| 854 |
+
],
|
| 855 |
+
"page_idx": 5
|
| 856 |
+
},
|
| 857 |
+
{
|
| 858 |
+
"type": "text",
|
| 859 |
+
"text": "fine-grained words or phrases that describe the type(s) of that specific mention (Xu et al., 2022). Consider the sentence \"He had blamed Israel for failing to implement its agreements.\" Besides person and male, the mention \"He\" has other very specific types that can be inferred from the context, such as leader or official for the \"blamed\" behavior and \"implement its agreements\" affair. Ultra-fine entity typing has a broad impact on various NLP tasks that depend on type understanding, including coreference resolution (Onoe and Durrett, 2020), event detection (Le and Nguyen, 2021) and relation extraction (Zhou and Chen, 2022).",
|
| 860 |
+
"bbox": [
|
| 861 |
+
507,
|
| 862 |
+
514,
|
| 863 |
+
884,
|
| 864 |
+
724
|
| 865 |
+
],
|
| 866 |
+
"page_idx": 5
|
| 867 |
+
},
|
| 868 |
+
{
|
| 869 |
+
"type": "text",
|
| 870 |
+
"text": "Datasets and Metrics We leverage the UFET dataset (Choi et al., 2018) to evaluate benefits of DDR with indirect supervision from dense retrieval. Among 10,331 entity types, accurately selecting finer labels (121 labels such as engineer) was more challenging to predict than coarse-grained labels (9 labels such as person), and this issue is exacerbated when dealing with ultra-fine types (10,201 labels such as flight engineer). Following recent entity typing literature (Li et al., 2022; Du et al., 2022), we train DDR on (originally provided) limited",
|
| 871 |
+
"bbox": [
|
| 872 |
+
507,
|
| 873 |
+
741,
|
| 874 |
+
884,
|
| 875 |
+
919
|
| 876 |
+
],
|
| 877 |
+
"page_idx": 5
|
| 878 |
+
},
|
| 879 |
+
{
|
| 880 |
+
"type": "page_number",
|
| 881 |
+
"text": "15026",
|
| 882 |
+
"bbox": [
|
| 883 |
+
477,
|
| 884 |
+
927,
|
| 885 |
+
524,
|
| 886 |
+
940
|
| 887 |
+
],
|
| 888 |
+
"page_idx": 5
|
| 889 |
+
},
|
| 890 |
+
{
|
| 891 |
+
"type": "table",
|
| 892 |
+
"img_path": "images/c5eee48e820b5eb42cee7a84f12c02290df1960b17be5d59dd684da70bd171ab.jpg",
|
| 893 |
+
"table_caption": [],
|
| 894 |
+
"table_footnote": [],
|
| 895 |
+
"table_body": "<table><tr><td>Method</td><td>Precision</td><td>Recall</td><td>F1</td></tr><tr><td>BiLSTM</td><td>48.1</td><td>23.2</td><td>31.3</td></tr><tr><td>LabelGCN</td><td>50.3</td><td>29.2</td><td>36.9</td></tr><tr><td>LDET</td><td>51.5</td><td>33.0</td><td>40.1</td></tr><tr><td>Box4Types</td><td>52.8</td><td>38.8</td><td>44.8</td></tr><tr><td>LRN</td><td>54.5</td><td>38.9</td><td>45.4</td></tr><tr><td>UniST</td><td>50.2</td><td>49.6</td><td>49.9</td></tr><tr><td>MLMET</td><td>53.6</td><td>45.3</td><td>49.1</td></tr><tr><td>LITE</td><td>52.4</td><td>48.9</td><td>50.6</td></tr><tr><td>Context-TE</td><td>53.7</td><td>49.4</td><td>51.5</td></tr><tr><td>DDR (w/o thesaurus)</td><td>51.6</td><td>46.0</td><td>48.6</td></tr><tr><td>DDR (scratch)</td><td>53.0</td><td>50.5</td><td>51.7</td></tr><tr><td>DDR (full)</td><td>51.9</td><td>52.3</td><td>52.1</td></tr></table>",
|
| 896 |
+
"bbox": [
|
| 897 |
+
117,
|
| 898 |
+
80,
|
| 899 |
+
482,
|
| 900 |
+
259
|
| 901 |
+
],
|
| 902 |
+
"page_idx": 6
|
| 903 |
+
},
|
| 904 |
+
{
|
| 905 |
+
"type": "text",
|
| 906 |
+
"text": "Table 3: Results of UFET task. DDR outperforms competitive baselines with (upper 5 methods) or without (lower 3 methods) inductive bias from task pre-training.",
|
| 907 |
+
"bbox": [
|
| 908 |
+
112,
|
| 909 |
+
269,
|
| 910 |
+
487,
|
| 911 |
+
313
|
| 912 |
+
],
|
| 913 |
+
"page_idx": 6
|
| 914 |
+
},
|
| 915 |
+
{
|
| 916 |
+
"type": "text",
|
| 917 |
+
"text": "crowd-sourced examples without relying on distant resources such as knowledge bases or head words from the Gigaword corpus. We follow prior studies (Choi et al., 2018) to evaluate macro-averaged precision, recall and F1.",
|
| 918 |
+
"bbox": [
|
| 919 |
+
112,
|
| 920 |
+
343,
|
| 921 |
+
487,
|
| 922 |
+
423
|
| 923 |
+
],
|
| 924 |
+
"page_idx": 6
|
| 925 |
+
},
|
| 926 |
+
{
|
| 927 |
+
"type": "text",
|
| 928 |
+
"text": "Baselines We consider two categories of competitive entity typing models as baselines: 1) methods capturing the example-label and label-label relations, e.g., BiLSTM (Choi et al., 2018) that concatenates the context representation learned by a bidirectional LSTM and the mention representation learned by a CNN, LabelGCN (Xiong et al., 2019) that learns to encode global label co-occurrence statistics and their word-level similarities, LRN (Liu et al., 2021a) that models the coarse-to-fine label dependency as causal chains, Box4Types (Onoe et al., 2021) that captures hierarchies of types as topological relations of boxes, and UniST (Huang et al., 2022a) that conduct name-based label ranking; 2) methods leveraging inductive bias from pre-trained models for entity typing, e.g., MLMET (Dai et al., 2021) that utilizes the pretrained BERT to predict the most probable words for “[MASK]” earlier incorporated around the mention as type labels, LITE (Li et al., 2022) and Context-TE (Du et al., 2022) that both leverage indirect supervision from pre-trained natural language inference.",
|
| 929 |
+
"bbox": [
|
| 930 |
+
115,
|
| 931 |
+
430,
|
| 932 |
+
489,
|
| 933 |
+
800
|
| 934 |
+
],
|
| 935 |
+
"page_idx": 6
|
| 936 |
+
},
|
| 937 |
+
{
|
| 938 |
+
"type": "text",
|
| 939 |
+
"text": "Implementation Details The dataset UFET first asked crowd workers to annotate entity's types and then used WordNet (Miller, 1995) to expand these types automatically by generating all their synonyms and hypernyms based on the most common sense. Therefore, we automatically obtain label thesaurus entries from definitions and examples in",
|
| 940 |
+
"bbox": [
|
| 941 |
+
112,
|
| 942 |
+
806,
|
| 943 |
+
489,
|
| 944 |
+
919
|
| 945 |
+
],
|
| 946 |
+
"page_idx": 6
|
| 947 |
+
},
|
| 948 |
+
{
|
| 949 |
+
"type": "text",
|
| 950 |
+
"text": "WordNet and Wiktionary, which covers $99.99\\%$ of the whole label set. The time cost for prior label thesaurus construction is around 2.07 minutes.",
|
| 951 |
+
"bbox": [
|
| 952 |
+
507,
|
| 953 |
+
84,
|
| 954 |
+
882,
|
| 955 |
+
131
|
| 956 |
+
],
|
| 957 |
+
"page_idx": 6
|
| 958 |
+
},
|
| 959 |
+
{
|
| 960 |
+
"type": "text",
|
| 961 |
+
"text": "initialized with the original DPR checkpoint pretrained on open-domain QA datasets, DDR firstly optimizes the model given positive example-label pairs and in-batch negatives. With the fine-tuned model, we then perform dense retrieval on the label set for each training example, keeping label documents with high scores but not in the true label set as hard negatives. DDR further updates the model with these additional hard negatives. For inference of multi-label entity type classification, we adopt labels with retrieval scores higher than a threshold that leads to the best F1 score on the development set.",
|
| 962 |
+
"bbox": [
|
| 963 |
+
507,
|
| 964 |
+
133,
|
| 965 |
+
884,
|
| 966 |
+
341
|
| 967 |
+
],
|
| 968 |
+
"page_idx": 6
|
| 969 |
+
},
|
| 970 |
+
{
|
| 971 |
+
"type": "text",
|
| 972 |
+
"text": "Results In Tab. 3, we show performance of DDR and other entity typing methods. DDR obtains the state-of-the-art F1 score over the best baseline training from scratch (LRN) by 6.7 and the best baseline with inductive bias from the language model (Context-TE) by 0.6.",
|
| 973 |
+
"bbox": [
|
| 974 |
+
507,
|
| 975 |
+
346,
|
| 976 |
+
882,
|
| 977 |
+
443
|
| 978 |
+
],
|
| 979 |
+
"page_idx": 6
|
| 980 |
+
},
|
| 981 |
+
{
|
| 982 |
+
"type": "text",
|
| 983 |
+
"text": "4.3 Few-shot Intent Classification",
|
| 984 |
+
"text_level": 1,
|
| 985 |
+
"bbox": [
|
| 986 |
+
507,
|
| 987 |
+
455,
|
| 988 |
+
791,
|
| 989 |
+
469
|
| 990 |
+
],
|
| 991 |
+
"page_idx": 6
|
| 992 |
+
},
|
| 993 |
+
{
|
| 994 |
+
"type": "text",
|
| 995 |
+
"text": "Task As a fundamental element in task-oriented dialog systems, intent detection is normally conducted in the NLU component for identifying a user's intent given an utterance (Ham et al., 2020). Recently, accurately identifying intents in the few-shot setting has attracted much attention due to data scarcity issues resulted from the cost of data collection as well as privacy and ethical concerns (Lin et al., 2023b). Following the few-shot intent detection benchmark (Zhang et al., 2022), we focus on the challenging 5-shot and 10-shot settings.",
|
| 996 |
+
"bbox": [
|
| 997 |
+
507,
|
| 998 |
+
480,
|
| 999 |
+
882,
|
| 1000 |
+
656
|
| 1001 |
+
],
|
| 1002 |
+
"page_idx": 6
|
| 1003 |
+
},
|
| 1004 |
+
{
|
| 1005 |
+
"type": "text",
|
| 1006 |
+
"text": "Datasets and Metrics To evaluate the effectiveness of DDR for NLU with large decision spaces, we pick three challenging intent datasets with a relatively large number of semantically similar intent labels. Banking77 (Casanueva et al., 2020) is a single-domain dataset that provides very fine-grained 77 intents in a Banking domain. HWU64 (Liu et al., 2021b) is a multi-domain (21 domains) dataset recorded by a home assistant robot including 64 intents ranging from setting alarms, playing music, search, to movie recommendation. CLINC150 (Larson et al., 2019) prompts crowd workers to provide questions or commands in the manner they would interact with an artificially intelligent assistant covering 150 intent classes over 10 domains. We report accuracy",
|
| 1007 |
+
"bbox": [
|
| 1008 |
+
507,
|
| 1009 |
+
661,
|
| 1010 |
+
884,
|
| 1011 |
+
919
|
| 1012 |
+
],
|
| 1013 |
+
"page_idx": 6
|
| 1014 |
+
},
|
| 1015 |
+
{
|
| 1016 |
+
"type": "page_number",
|
| 1017 |
+
"text": "15027",
|
| 1018 |
+
"bbox": [
|
| 1019 |
+
477,
|
| 1020 |
+
927,
|
| 1021 |
+
524,
|
| 1022 |
+
940
|
| 1023 |
+
],
|
| 1024 |
+
"page_idx": 6
|
| 1025 |
+
},
|
| 1026 |
+
{
|
| 1027 |
+
"type": "table",
|
| 1028 |
+
"img_path": "images/c1cbe7cd96f4871c60d27fdcbffdba4297b9a14eaa995fb06ad3d0749871faed.jpg",
|
| 1029 |
+
"table_caption": [],
|
| 1030 |
+
"table_footnote": [],
|
| 1031 |
+
"table_body": "<table><tr><td rowspan=\"2\">Method</td><td colspan=\"2\">Banking77</td><td colspan=\"2\">HWU64</td><td colspan=\"2\">CLINC150</td></tr><tr><td>5-shot</td><td>10-shot</td><td>5-shot</td><td>10-shot</td><td>5-shot</td><td>10-shot</td></tr><tr><td colspan=\"7\">w/ Data Augmentation</td></tr><tr><td>ICDA-X S (+1x)</td><td>80.29</td><td>86.72</td><td>81.32</td><td>85.59</td><td>91.16</td><td>93.71</td></tr><tr><td>ICDA-S (+4x)</td><td>81.95</td><td>87.37</td><td>81.97</td><td>86.25</td><td>91.22</td><td>93.98</td></tr><tr><td>ICDA-M (+16x)</td><td>84.01</td><td>88.64</td><td>81.84</td><td>87.36</td><td>91.93</td><td>94.71</td></tr><tr><td>ICDA-L (+64x)</td><td>83.90</td><td>89.12</td><td>81.97</td><td>86.94</td><td>92.41</td><td>94.73</td></tr><tr><td>ICDA-X L (+128x)</td><td>83.90</td><td>89.79</td><td>82.45</td><td>87.41</td><td>92.62</td><td>94.84</td></tr><tr><td colspan=\"7\">w/o Data Augmentation</td></tr><tr><td>USE</td><td>76.29</td><td>84.23</td><td>77.79</td><td>83.75</td><td>87.82</td><td>90.85</td></tr><tr><td>ConveRT</td><td>75.32</td><td>83.32</td><td>76.95</td><td>82.65</td><td>89.22</td><td>92.62</td></tr><tr><td>USE+ConveRT</td><td>77.75</td><td>85.19</td><td>80.01</td><td>85.83</td><td>90.49</td><td>93.26</td></tr><tr><td>ConvBERT</td><td>-</td><td>83.63</td><td>-</td><td>83.77</td><td>-</td><td>92.10</td></tr><tr><td>+ MLM</td><td>-</td><td>83.99</td><td>-</td><td>84.52</td><td>-</td><td>92.75</td></tr><tr><td>+ MLM + Example</td><td>-</td><td>84.09</td><td>-</td><td>83.44</td><td>-</td><td>92.35</td></tr><tr><td>+ Combined</td><td>-</td><td>85.95</td><td>-</td><td>86.28</td><td>-</td><td>93.97</td></tr><tr><td>DNNC</td><td>80.40</td><td>86.71</td><td>80.46</td><td>84.72</td><td>91.02</td><td>93.76</td></tr><tr><td>CPFT</td><td>80.86</td><td>87.20</td><td>82.03</td><td>87.13</td><td>92.34</td><td>94.18</td></tr><tr><td>- Pretraining</td><td>76.75</td><td>84.83</td><td>76.02</td><td>82.96</td><td>88.19</td><td>91.55</td></tr><tr><td>Context-TE</td><td>80.76</td><td>85.53</td><td>-</td><td>-</td><td>-</td><td>-</td></tr><tr><td>DDR (w/o thesaurus)</td><td>78.86</td><td>84.16</td><td>80.30</td><td>83.74</td><td>88.86</td><td>91.58</td></tr><tr><td>DDR (scratch)</td><td>82.11</td><td>85.97</td><td>80.76</td><td>84.71</td><td>88.58</td><td>91.16</td></tr><tr><td>DDR (full)</td><td>83.86 (XL)</td><td>88.25 (M)</td><td>84.29 (XL)</td><td>86.34 (S)</td><td>92.71 (XL)</td><td>94.58 (M)</td></tr></table>",
|
| 1032 |
+
"bbox": [
|
| 1033 |
+
166,
|
| 1034 |
+
80,
|
| 1035 |
+
828,
|
| 1036 |
+
391
|
| 1037 |
+
],
|
| 1038 |
+
"page_idx": 7
|
| 1039 |
+
},
|
| 1040 |
+
{
|
| 1041 |
+
"type": "text",
|
| 1042 |
+
"text": "Table 4: Few-shot Intent Detection Accuracy on three benchmark datasets. DDR achieves much higher accuracy than existing strong learning baselines without data augmentation, while competitive with ICDA requiring a considerable amount of augmented data. ICDA prepares additional synthetic data with the scale ranging from the same amount (ICDA- $XS$ ) to 128 times (ICDA- $XL$ ) of the original few-shot train size. In the bottom row, we also mark performance of DDR with the most comparable ICDA variant. Results not available in original papers are marked as $-$ .",
|
| 1043 |
+
"bbox": [
|
| 1044 |
+
112,
|
| 1045 |
+
401,
|
| 1046 |
+
882,
|
| 1047 |
+
488
|
| 1048 |
+
],
|
| 1049 |
+
"page_idx": 7
|
| 1050 |
+
},
|
| 1051 |
+
{
|
| 1052 |
+
"type": "text",
|
| 1053 |
+
"text": "for this single-label classification task.",
|
| 1054 |
+
"bbox": [
|
| 1055 |
+
112,
|
| 1056 |
+
512,
|
| 1057 |
+
401,
|
| 1058 |
+
527
|
| 1059 |
+
],
|
| 1060 |
+
"page_idx": 7
|
| 1061 |
+
},
|
| 1062 |
+
{
|
| 1063 |
+
"type": "text",
|
| 1064 |
+
"text": "Baselines There are two families of intent learning algorithms to cope with limited amounts of example-label pairs: 1) Classifiers based on sentence embeddings from PLMs, including USE (Yang et al., 2020) embed sentences from 16 languages into a single semantic space using a multi-task trained dual-encoder, ConvBERT (Henderson et al., 2020) that pretrains a dual-encoder model on Reddit Data by maximizing the similarity score of embeddings of positive input-response pairs; ConvBERT (Mehri et al., 2020) that adopts a BERT-base model pre-trained on a large open-domain dialogue corpus; 2) methods leverage semantic similarity between utterances from different users, e.g. ConvBERT+Combined (Mehri and Eric, 2021) that extends the ConvBERT model with task-adaptive masked language modelling (MLM) and infers the intent of the utterance based on the similarity to the examples corresponding to each intent, DNNC (Zhang et al., 2020a) that leverages BERT-style pairwise encoding to train a binary classifier that estimates the best matched training example for a user input, CPFT (Zhang et al., 2021) that conducts contrastive pre-training on example sentences",
|
| 1065 |
+
"bbox": [
|
| 1066 |
+
112,
|
| 1067 |
+
533,
|
| 1068 |
+
489,
|
| 1069 |
+
917
|
| 1070 |
+
],
|
| 1071 |
+
"page_idx": 7
|
| 1072 |
+
},
|
| 1073 |
+
{
|
| 1074 |
+
"type": "text",
|
| 1075 |
+
"text": "from six public intent datasets to discriminate semantically similar utterances.",
|
| 1076 |
+
"bbox": [
|
| 1077 |
+
507,
|
| 1078 |
+
512,
|
| 1079 |
+
884,
|
| 1080 |
+
543
|
| 1081 |
+
],
|
| 1082 |
+
"page_idx": 7
|
| 1083 |
+
},
|
| 1084 |
+
{
|
| 1085 |
+
"type": "text",
|
| 1086 |
+
"text": "Different from DDR and prior baselines, ICDA (Lin et al., 2023a), a most recent work tackles the challenge of limited data for intent detection by generating high-quality synthetic training data. It first fine-tunes a PLM on a small seed of training data for new data point synthesisation, and then employs pointwise V-information (PVI) based filtering to remove unhelpful ones.[12]",
|
| 1087 |
+
"bbox": [
|
| 1088 |
+
507,
|
| 1089 |
+
546,
|
| 1090 |
+
884,
|
| 1091 |
+
675
|
| 1092 |
+
],
|
| 1093 |
+
"page_idx": 7
|
| 1094 |
+
},
|
| 1095 |
+
{
|
| 1096 |
+
"type": "text",
|
| 1097 |
+
"text": "Implementation Details Based on the observation that utterances labeled by identical intents share very similar sentence-level semantic meanings, we first utilize the whole set of unlabeled training examples to represent their corresponding pseudo labels predicted by Sentence-BERT (Reimers and Gurevych, 2019). We perform prediction on a single NVIDIA RTX A5000 GPU and it takes 4.17 minutes to complete label thesaurus construction for Banking77, 6.45 minutes for HWU64 and 7.61",
|
| 1098 |
+
"bbox": [
|
| 1099 |
+
507,
|
| 1100 |
+
681,
|
| 1101 |
+
884,
|
| 1102 |
+
841
|
| 1103 |
+
],
|
| 1104 |
+
"page_idx": 7
|
| 1105 |
+
},
|
| 1106 |
+
{
|
| 1107 |
+
"type": "page_footnote",
|
| 1108 |
+
"text": "12 Although the learning and augmentation direction are orthogonal hence incommensurable, we display results with augmented training data as well to reflect the advantage of DDR over ICDA in terms of their required scale of augmented synthetic data to achieve similar good performance.",
|
| 1109 |
+
"bbox": [
|
| 1110 |
+
507,
|
| 1111 |
+
857,
|
| 1112 |
+
882,
|
| 1113 |
+
917
|
| 1114 |
+
],
|
| 1115 |
+
"page_idx": 7
|
| 1116 |
+
},
|
| 1117 |
+
{
|
| 1118 |
+
"type": "page_number",
|
| 1119 |
+
"text": "15028",
|
| 1120 |
+
"bbox": [
|
| 1121 |
+
477,
|
| 1122 |
+
927,
|
| 1123 |
+
524,
|
| 1124 |
+
940
|
| 1125 |
+
],
|
| 1126 |
+
"page_idx": 7
|
| 1127 |
+
},
|
| 1128 |
+
{
|
| 1129 |
+
"type": "table",
|
| 1130 |
+
"img_path": "images/6c49bb824f9dadce8dc07a70685a3df96e4d0b259171e5f11316bed226fd6620.jpg",
|
| 1131 |
+
"table_caption": [],
|
| 1132 |
+
"table_footnote": [],
|
| 1133 |
+
"table_body": "<table><tr><td>Dataset</td><td>Setting</td><td>Sentence-BERT (1st round)</td><td>DDR (2nd round)</td></tr><tr><td rowspan=\"2\">Banking77</td><td>5-shot</td><td>84.29</td><td>83.86</td></tr><tr><td>10-shot</td><td>88.02</td><td>88.25</td></tr><tr><td rowspan=\"2\">HWU64</td><td>5-shot</td><td>82.81</td><td>84.29</td></tr><tr><td>10-shot</td><td>85.69</td><td>86.34</td></tr><tr><td rowspan=\"2\">CLINC150</td><td>5-shot</td><td>91.82</td><td>92.71</td></tr><tr><td>10-shot</td><td>94.07</td><td>94.58</td></tr></table>",
|
| 1134 |
+
"bbox": [
|
| 1135 |
+
136,
|
| 1136 |
+
80,
|
| 1137 |
+
463,
|
| 1138 |
+
206
|
| 1139 |
+
],
|
| 1140 |
+
"page_idx": 8
|
| 1141 |
+
},
|
| 1142 |
+
{
|
| 1143 |
+
"type": "text",
|
| 1144 |
+
"text": "Table 5: Impact on intent detection from label thesaurus constructed with predictions from Sentence-BERT and DDR for the unlabeled whole set of the training set.",
|
| 1145 |
+
"bbox": [
|
| 1146 |
+
112,
|
| 1147 |
+
217,
|
| 1148 |
+
487,
|
| 1149 |
+
260
|
| 1150 |
+
],
|
| 1151 |
+
"page_idx": 8
|
| 1152 |
+
},
|
| 1153 |
+
{
|
| 1154 |
+
"type": "text",
|
| 1155 |
+
"text": "minutes for CLINC150. After training DDR with this first version of label thesaurus, we then update pseudo labels for each training example with predictions from DDR for the second-round training.",
|
| 1156 |
+
"bbox": [
|
| 1157 |
+
112,
|
| 1158 |
+
288,
|
| 1159 |
+
487,
|
| 1160 |
+
351
|
| 1161 |
+
],
|
| 1162 |
+
"page_idx": 8
|
| 1163 |
+
},
|
| 1164 |
+
{
|
| 1165 |
+
"type": "text",
|
| 1166 |
+
"text": "Regardless of the basis for label thesaurus construction, DDR is trained for two phases in each round: only few-shot positive example-label pairs and in-batch negatives are used in the first phase, while labels wrongly predicted for training examples from the prior phase are used as additional hard negatives in the second phase. After the second round of training, the latest DDR makes predictions on the whole set of training examples for the final label thesaurus construction, from which DDR retrieves the label with the highest score as the prediction.",
|
| 1167 |
+
"bbox": [
|
| 1168 |
+
115,
|
| 1169 |
+
354,
|
| 1170 |
+
489,
|
| 1171 |
+
546
|
| 1172 |
+
],
|
| 1173 |
+
"page_idx": 8
|
| 1174 |
+
},
|
| 1175 |
+
{
|
| 1176 |
+
"type": "text",
|
| 1177 |
+
"text": "Results Tab. 4 presents performance of different intent detection methods on 5- and 10-shot setting. Without extra training data synthesis, we observe significant performance gain from the proposed DDR over existing baselines. Although ICDA obtains enhanced accuracy by increasing data augmentation scale, DDR is able to achieve comparable performance without crafting 4x even 128x synthetic instances. In Tab. 5, we additionally study the quality of constructed label thesaurus in accordance with the prediction on the unlabeled whole training set from Sentence-BERT and DDR after the first round of training. We find that with a more accurate pseudo connection between example and label leads to a higher quality of label thesaurus construction, and finally benefits intent detection.",
|
| 1178 |
+
"bbox": [
|
| 1179 |
+
112,
|
| 1180 |
+
552,
|
| 1181 |
+
489,
|
| 1182 |
+
810
|
| 1183 |
+
],
|
| 1184 |
+
"page_idx": 8
|
| 1185 |
+
},
|
| 1186 |
+
{
|
| 1187 |
+
"type": "text",
|
| 1188 |
+
"text": "5 Conclusions",
|
| 1189 |
+
"text_level": 1,
|
| 1190 |
+
"bbox": [
|
| 1191 |
+
112,
|
| 1192 |
+
826,
|
| 1193 |
+
253,
|
| 1194 |
+
841
|
| 1195 |
+
],
|
| 1196 |
+
"page_idx": 8
|
| 1197 |
+
},
|
| 1198 |
+
{
|
| 1199 |
+
"type": "text",
|
| 1200 |
+
"text": "In this paper, we focus on discriminative NLU tasks with large decision spaces. By reformulating these tasks as learning-to-retrieve tasks, we are able to leverage rich indirect supervision signals",
|
| 1201 |
+
"bbox": [
|
| 1202 |
+
112,
|
| 1203 |
+
854,
|
| 1204 |
+
487,
|
| 1205 |
+
917
|
| 1206 |
+
],
|
| 1207 |
+
"page_idx": 8
|
| 1208 |
+
},
|
| 1209 |
+
{
|
| 1210 |
+
"type": "text",
|
| 1211 |
+
"text": "from dense retrieval. Moreover, by representing decision spaces with thesaurus, we provide rich semantic knowledge of each label to improve the understanding of labels for dense decision retrievers. Experiments on 6 benchmark datasets show the effectiveness of our method on decision spaces scaling from hundreds of candidates to hundreds of thousands of candidates. Future work can extend our method to more large-space decision making tasks, especially in the low-resource setting.",
|
| 1212 |
+
"bbox": [
|
| 1213 |
+
507,
|
| 1214 |
+
84,
|
| 1215 |
+
884,
|
| 1216 |
+
244
|
| 1217 |
+
],
|
| 1218 |
+
"page_idx": 8
|
| 1219 |
+
},
|
| 1220 |
+
{
|
| 1221 |
+
"type": "text",
|
| 1222 |
+
"text": "Acknowledgement",
|
| 1223 |
+
"text_level": 1,
|
| 1224 |
+
"bbox": [
|
| 1225 |
+
509,
|
| 1226 |
+
256,
|
| 1227 |
+
672,
|
| 1228 |
+
273
|
| 1229 |
+
],
|
| 1230 |
+
"page_idx": 8
|
| 1231 |
+
},
|
| 1232 |
+
{
|
| 1233 |
+
"type": "text",
|
| 1234 |
+
"text": "We appreciate the reviewers for their insightful comments and suggestions. The logo for $DDR$ used in this paper is sourced from the Wikipedia page $^{13}$ under CC BY-SA 3.0, for which we appreciate the contribution of the Wikipedia community.",
|
| 1235 |
+
"bbox": [
|
| 1236 |
+
507,
|
| 1237 |
+
282,
|
| 1238 |
+
882,
|
| 1239 |
+
363
|
| 1240 |
+
],
|
| 1241 |
+
"page_idx": 8
|
| 1242 |
+
},
|
| 1243 |
+
{
|
| 1244 |
+
"type": "text",
|
| 1245 |
+
"text": "Nan Xu is supported by the USC PhD Fellowship. Fei Wang is supported by the Annenberg Fellowship and the Amazon ML Fellowship. Mingtao Dong is supported by the Provost's Research Fellowship. Muhao Chen is supported by the NSF Grant IIS 2105329, the NSF Grant ITE 2333736, the DARPA MCS program under Contract No. N660011924033 with the United States Office Of Naval Research, a Cisco Research Award, two Amazon Research Awards, and a Keston Research Award. The computing of this work has been partly supported by a subaward of NSF Cloudbank 1925001 through UCSD.",
|
| 1246 |
+
"bbox": [
|
| 1247 |
+
507,
|
| 1248 |
+
363,
|
| 1249 |
+
884,
|
| 1250 |
+
574
|
| 1251 |
+
],
|
| 1252 |
+
"page_idx": 8
|
| 1253 |
+
},
|
| 1254 |
+
{
|
| 1255 |
+
"type": "text",
|
| 1256 |
+
"text": "Limitations",
|
| 1257 |
+
"text_level": 1,
|
| 1258 |
+
"bbox": [
|
| 1259 |
+
509,
|
| 1260 |
+
586,
|
| 1261 |
+
613,
|
| 1262 |
+
602
|
| 1263 |
+
],
|
| 1264 |
+
"page_idx": 8
|
| 1265 |
+
},
|
| 1266 |
+
{
|
| 1267 |
+
"type": "text",
|
| 1268 |
+
"text": "The proposed DDR leverages the dual-encoder architecture with the inner dot product to compute embedding similarity, obtaining state-of-the-art performance on three investigated challenging large-space decision making tasks. More expressive models for embedding input and label thesaurus, such as joint encoding by a cross-encoder is not discussed. Moreover, other ways to model the connection between input and label thesaurus entry, such as using a sequence-to-sequence language model to generate the label name given input text and label thesaurus entry, is not explored yet. We believe adopting more advanced dense retrieval algorithms can further promote performance for large-space decision making. We leave this as an exciting future direction.",
|
| 1269 |
+
"bbox": [
|
| 1270 |
+
507,
|
| 1271 |
+
612,
|
| 1272 |
+
882,
|
| 1273 |
+
869
|
| 1274 |
+
],
|
| 1275 |
+
"page_idx": 8
|
| 1276 |
+
},
|
| 1277 |
+
{
|
| 1278 |
+
"type": "page_footnote",
|
| 1279 |
+
"text": "13https://en.wikipedia.org/wiki/File: Dance_Dance_Revolution_dance_pad Icon.png",
|
| 1280 |
+
"bbox": [
|
| 1281 |
+
507,
|
| 1282 |
+
891,
|
| 1283 |
+
823,
|
| 1284 |
+
917
|
| 1285 |
+
],
|
| 1286 |
+
"page_idx": 8
|
| 1287 |
+
},
|
| 1288 |
+
{
|
| 1289 |
+
"type": "page_number",
|
| 1290 |
+
"text": "15029",
|
| 1291 |
+
"bbox": [
|
| 1292 |
+
477,
|
| 1293 |
+
927,
|
| 1294 |
+
524,
|
| 1295 |
+
940
|
| 1296 |
+
],
|
| 1297 |
+
"page_idx": 8
|
| 1298 |
+
},
|
| 1299 |
+
{
|
| 1300 |
+
"type": "text",
|
| 1301 |
+
"text": "References",
|
| 1302 |
+
"text_level": 1,
|
| 1303 |
+
"bbox": [
|
| 1304 |
+
115,
|
| 1305 |
+
84,
|
| 1306 |
+
213,
|
| 1307 |
+
98
|
| 1308 |
+
],
|
| 1309 |
+
"page_idx": 9
|
| 1310 |
+
},
|
| 1311 |
+
{
|
| 1312 |
+
"type": "list",
|
| 1313 |
+
"sub_type": "ref_text",
|
| 1314 |
+
"list_items": [
|
| 1315 |
+
"K. Bhatia, K. Dahiya, H. Jain, P. Kar, A. Mittal, Y. Prabhu, and M. Varma. 2016. The extreme classification repository: Multi-label datasets and code.",
|
| 1316 |
+
"Inigo Casanueva, Tadas Temčinas, Daniela Gerz, Matthew Henderson, and Ivan Vulić. 2020. Efficient intent detection with dual sentence encoders. In Proceedings of the 2nd Workshop on Natural Language Processing for Conversational AI, pages 38-45, Online. Association for Computational Linguistics.",
|
| 1317 |
+
"Muhao Chen, Hongming Zhang, Haoyu Wang, and Dan Roth. 2020. What are you trying to do? semantic typing of event processes. In Proceedings of the 24th Conference on Computational Natural Language Learning, pages 531-542, Online. Association for Computational Linguistics.",
|
| 1318 |
+
"Wei-Lin Chiang, Zhuohan Li, Zi Lin, Ying Sheng, Zhanghao Wu, Hao Zhang, Lianmin Zheng, Siyuan Zhuang, Yonghao Zhuang, Joseph E. Gonzalez, Ion Stoica, and Eric P. Xing. 2023. Vicuna: An opensource chatbot impressing gpt-4 with $90\\%$ * chatgpt quality.",
|
| 1319 |
+
"Eli Chien, Jiong Zhang, Cho-Jui Hsieh, Jyun-Yu Jiang, Wei-Cheng Chang, Olgica Milenkovic, and Hsiang-Fu Yu. 2023. Pina: Leveraging side information in extreme multi-label classification via predicted instance neighborhood aggregation. arXiv preprint arXiv:2305.12349.",
|
| 1320 |
+
"Eunsol Choi, Omer Levy, Yejin Choi, and Luke Zettlemoyer. 2018. Ultra-fine entity typing. In Proceedings of the 56th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pages 87-96, Melbourne, Australia. Association for Computational Linguistics.",
|
| 1321 |
+
"Kunal Dahiya, Ananye Agarwal, Deepak Saini, K Gururaj, Jian Jiao, Amit Singh, Sumeet Agarwal, Purushottam Kar, and Manik Varma. 2021a. SiameseXML: Siamese networks meet extreme classifiers with 100m labels. In International Conference on Machine Learning, pages 2330-2340. PMLR.",
|
| 1322 |
+
"Kunal Dahiya, Deepak Saini, Anshul Mittal, Ankush Shaw, Kushal Dave, Akshay Soni, Himanshu Jain, Sumeet Agarwal, and Manik Varma. 2021b. Deepxml: A deep extreme multi-label learning framework applied to short text documents. In Proceedings of the 14th ACM International Conference on Web Search and Data Mining, pages 31-39.",
|
| 1323 |
+
"Hongliang Dai, Yangqiu Song, and Haixun Wang. 2021. Ultra-fine entity typing with weak supervision from a masked language model. In Proceedings of the 59th Annual Meeting of the Association for Computational Linguistics and the 11th International Joint Conference on Natural Language Processing (Volume 1: Long Papers), pages 1790-1799, Online. Association for Computational Linguistics."
|
| 1324 |
+
],
|
| 1325 |
+
"bbox": [
|
| 1326 |
+
115,
|
| 1327 |
+
108,
|
| 1328 |
+
487,
|
| 1329 |
+
917
|
| 1330 |
+
],
|
| 1331 |
+
"page_idx": 9
|
| 1332 |
+
},
|
| 1333 |
+
{
|
| 1334 |
+
"type": "list",
|
| 1335 |
+
"sub_type": "ref_text",
|
| 1336 |
+
"list_items": [
|
| 1337 |
+
"Jacob Devlin, Ming-Wei Chang, Kenton Lee, and Kristina Toutanova. 2019. BERT: Pre-training of deep bidirectional transformers for language understanding. In Proceedings of the 2019 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, Volume 1 (Long and Short Papers), pages 4171-4186, Minneapolis, Minnesota. Association for Computational Linguistics.",
|
| 1338 |
+
"Jiangshu Du, Wenpeng Yin, Congying Xia, and Philip S Yu. 2022. Learning to select from multiple options. arXiv preprint arXiv:2212.00301.",
|
| 1339 |
+
"Xinya Du and Heng Ji. 2022. Retrieval-augmented generative question answering for event argument extraction. In Proceedings of the 2022 Conference on Empirical Methods in Natural Language Processing, pages 4649-4666, Abu Dhabi, United Arab Emirates. Association for Computational Linguistics.",
|
| 1340 |
+
"Nicholas FitzGerald, Julian Michael, Luheng He, and Luke Zettlemoyer. 2018. Large-scale QA-SRL parsing. In Proceedings of the 56th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pages 2051-2060, Melbourne, Australia. Association for Computational Linguistics.",
|
| 1341 |
+
"Daniel Gillick, Sayali Kulkarni, Larry Lansing, Alessandro Presta, Jason Baldridge, Eugene Ie, and Diego Garcia-Olano. 2019. Learning dense representations for entity retrieval. In Proceedings of the 23rd Conference on Computational Natural Language Learning (CoNLL), pages 528-537, Hong Kong, China. Association for Computational Linguistics.",
|
| 1342 |
+
"Nilesh Gupta, Sakina Bohra, Yashoteja Prabhu, Saurabh Purohit, and Manik Varma. 2021. Generalized zero-shot extreme multi-label learning. In Proceedings of the 27th ACM SIGKDD Conference on Knowledge Discovery & Data Mining, pages 527-535.",
|
| 1343 |
+
"Donghoon Ham, Jeong-Gwan Lee, Youngsoo Jang, and Kee-Eung Kim. 2020. End-to-end neural pipeline for goal-oriented dialogue systems using GPT-2. In Proceedings of the 58th Annual Meeting of the Association for Computational Linguistics, pages 583-592, Online. Association for Computational Linguistics.",
|
| 1344 |
+
"Hangfeng He, Mingyuan Zhang, Qiang Ning, and Dan Roth. 2021. Foreseeing the benefits of incidental supervision. In Proceedings of the 2021 Conference on Empirical Methods in Natural Language Processing, pages 1782-1800, Online and Punta Cana, Dominican Republic. Association for Computational Linguistics.",
|
| 1345 |
+
"Matthew Henderson, Iñigo Casanueva, Nikola Mrkšić, Pei-Hao Su, Tsung-Hsien Wen, and Ivan Vulić. 2020. ConveRT: Efficient and accurate conversational representations from transformers. In Findings of the Association for Computational Linguistics: EMNLP 2020, pages 2161-2174, Online. Association for Computational Linguistics."
|
| 1346 |
+
],
|
| 1347 |
+
"bbox": [
|
| 1348 |
+
510,
|
| 1349 |
+
85,
|
| 1350 |
+
884,
|
| 1351 |
+
917
|
| 1352 |
+
],
|
| 1353 |
+
"page_idx": 9
|
| 1354 |
+
},
|
| 1355 |
+
{
|
| 1356 |
+
"type": "page_number",
|
| 1357 |
+
"text": "15030",
|
| 1358 |
+
"bbox": [
|
| 1359 |
+
477,
|
| 1360 |
+
927,
|
| 1361 |
+
524,
|
| 1362 |
+
940
|
| 1363 |
+
],
|
| 1364 |
+
"page_idx": 9
|
| 1365 |
+
},
|
| 1366 |
+
{
|
| 1367 |
+
"type": "list",
|
| 1368 |
+
"sub_type": "ref_text",
|
| 1369 |
+
"list_items": [
|
| 1370 |
+
"I-Hung Hsu, Kuan-Hao Huang, Elizabeth Boschee, Scott Miller, Prem Natarajan, Kai-Wei Chang, and Nanyun Peng. 2022. DEGREE: A data-efficient generation-based event extraction model. In Proceedings of the 2022 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, pages 1890-1908, Seattle, United States. Association for Computational Linguistics.",
|
| 1371 |
+
"James Y. Huang, Bangzheng Li, Jiashu Xu, and Muhao Chen. 2022a. Unified semantic typing with meaningful label inference. In Proceedings of the 2022 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, pages 2642-2654, Seattle, United States. Association for Computational Linguistics.",
|
| 1372 |
+
"Kuan-Hao Huang, I-Hung Hsu, Prem Natarajan, Kai-Wei Chang, and Nanyun Peng. 2022b. Multilingual generative language models for zero-shot crosslingual event argument extraction. In Proceedings of the 60th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pages 4633–4646, Dublin, Ireland. Association for Computational Linguistics.",
|
| 1373 |
+
"Jeff Johnson, Matthijs Douze, and Herve Jégou. 2019. Billion-scale similarity search with gpus. IEEE Transactions on Big Data, 7(3):535-547.",
|
| 1374 |
+
"Vladimir Karpukhin, Barlas Oguz, Sewon Min, Patrick Lewis, Ledell Wu, Sergey Edunov, Danqi Chen, and Wen-tau Yih. 2020. Dense passage retrieval for open-domain question answering. In Proceedings of the 2020 Conference on Empirical Methods in Natural Language Processing (EMNLP), pages 6769-6781, Online. Association for Computational Linguistics.",
|
| 1375 |
+
"Stefan Larson, Anish Mahendran, Joseph J. Peper, Christopher Clarke, Andrew Lee, Parker Hill, Jonathan K. Kummerfeld, Kevin Leach, Michael A. Laurenzano, Lingjia Tang, and Jason Mars. 2019. An evaluation dataset for intent classification and out-of-scope prediction. In Proceedings of the 2019 Conference on Empirical Methods in Natural Language Processing and the 9th International Joint Conference on Natural Language Processing (EMNLP-IJCNLP), pages 1311-1316, Hong Kong, China. Association for Computational Linguistics.",
|
| 1376 |
+
"Duong Le and Thien Huu Nguyen. 2021. Fine-grained event trigger detection. In Proceedings of the 16th Conference of the European Chapter of the Association for Computational Linguistics: Main Volume, pages 2745-2752, Online. Association for Computational Linguistics.",
|
| 1377 |
+
"Jinhyuk Lee, Mujeen Sung, Jaewoo Kang, and Danqi Chen. 2021. Learning dense representations of phrases at scale. In Proceedings of the 59th Annual Meeting of the Association for Computational Linguistics and the 11th International Joint Conference on Natural Language Processing (Volume 1: Long"
|
| 1378 |
+
],
|
| 1379 |
+
"bbox": [
|
| 1380 |
+
115,
|
| 1381 |
+
85,
|
| 1382 |
+
489,
|
| 1383 |
+
917
|
| 1384 |
+
],
|
| 1385 |
+
"page_idx": 10
|
| 1386 |
+
},
|
| 1387 |
+
{
|
| 1388 |
+
"type": "list",
|
| 1389 |
+
"sub_type": "ref_text",
|
| 1390 |
+
"list_items": [
|
| 1391 |
+
"Papers), pages 6634-6647, Online. Association for Computational Linguistics.",
|
| 1392 |
+
"Bangzheng Li, Wenpeng Yin, and Muhao Chen. 2022. Ultra-fine entity typing with indirect supervision from natural language inference. Transactions of the Association for Computational Linguistics, 10:607-622.",
|
| 1393 |
+
"Xiaoya Li, Jingrong Feng, Yuxian Meng, Qinghong Han, Fei Wu, and Jiwei Li. 2020. A unified MRC framework for named entity recognition. In Proceedings of the 58th Annual Meeting of the Association for Computational Linguistics, pages 5849-5859, Online. Association for Computational Linguistics.",
|
| 1394 |
+
"Yen-Ting Lin, Alexandros Papangelis, Seokhwan Kim, Sungjin Lee, Devamanyu Hazarika, Mahdi Namazifar, Di Jin, Yang Liu, and Dilek Hakkani-Tur. 2023a. Selective in-context data augmentation for intent detection using pointwise v-information. arXiv preprint arXiv:2302.05096.",
|
| 1395 |
+
"Yen-Ting Lin, Alexandros Papangelis, Seokhwan Kim, Sungjin Lee, Devamanyu Hazarika, Mahdi Namazifar, Di Jin, Yang Liu, and Dilek Hakkani-Tur. 2023b. Selective in-context data augmentation for intent detection using pointwise V-information. In Proceedings of the 17th Conference of the European Chapter of the Association for Computational Linguistics, pages 1463-1476, Dubrovnik, Croatia. Association for Computational Linguistics.",
|
| 1396 |
+
"Qing Liu, Hongyu Lin, Xinyan Xiao, Xianpei Han, Le Sun, and Hua Wu. 2021a. Fine-grained entity typing via label reasoning. In Proceedings of the 2021 Conference on Empirical Methods in Natural Language Processing, pages 4611-4622, Online and Punta Cana, Dominican Republic. Association for Computational Linguistics.",
|
| 1397 |
+
"Xingkun Liu, Arash Eshghi, Pawel Swietojanski, and Verena Rieser. 2021b. Benchmarking natural language understanding services for building conversational agents. In Increasing Naturalness and Flexibility in Spoken Dialogue Interaction: 10th International Workshop on Spoken Dialogue Systems, pages 165-183. Springer.",
|
| 1398 |
+
"Keming Lu, I-Hung Hsu, Wenxuan Zhou, Mingyu Derek Ma, and Muhao Chen. 2022. Summarization as indirect supervision for relation extraction. In *Findings of the Association for Computational Linguistics: EMNLP* 2022, pages 6575-6594, Abu Dhabi, United Arab Emirates. Association for Computational Linguistics.",
|
| 1399 |
+
"Qing Lyu, Hongming Zhang, Elior Sulem, and Dan Roth. 2021. Zero-shot event extraction via transfer learning: Challenges and insights. In Proceedings of the 59th Annual Meeting of the Association for Computational Linguistics and the 11th International Joint Conference on Natural Language Processing (Volume 2: Short Papers), pages 322-332, Online. Association for Computational Linguistics."
|
| 1400 |
+
],
|
| 1401 |
+
"bbox": [
|
| 1402 |
+
510,
|
| 1403 |
+
85,
|
| 1404 |
+
884,
|
| 1405 |
+
917
|
| 1406 |
+
],
|
| 1407 |
+
"page_idx": 10
|
| 1408 |
+
},
|
| 1409 |
+
{
|
| 1410 |
+
"type": "page_number",
|
| 1411 |
+
"text": "15031",
|
| 1412 |
+
"bbox": [
|
| 1413 |
+
477,
|
| 1414 |
+
928,
|
| 1415 |
+
522,
|
| 1416 |
+
940
|
| 1417 |
+
],
|
| 1418 |
+
"page_idx": 10
|
| 1419 |
+
},
|
| 1420 |
+
{
|
| 1421 |
+
"type": "list",
|
| 1422 |
+
"sub_type": "ref_text",
|
| 1423 |
+
"list_items": [
|
| 1424 |
+
"Shikib Mehri and Mihail Eric. 2021. Example-driven intent prediction with observers. In Proceedings of the 2021 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, pages 2979-2992, Online. Association for Computational Linguistics.",
|
| 1425 |
+
"Shikib Mehri, Mihail Eric, and Dilek Hakkani-Tur. 2020. Dialogue: A natural language understanding benchmark for task-oriented dialogue. arXiv preprint arXiv:2009.13570.",
|
| 1426 |
+
"George A Miller. 1995. Wordnet: a lexical database for english. Communications of the ACM, 38(11):39-41.",
|
| 1427 |
+
"Jianmo Ni, Jiacheng Li, and Julian McAuley. 2019. Justifying recommendations using distantly-labeled reviews and fine-grained aspects. In Proceedings of the 2019 Conference on Empirical Methods in Natural Language Processing and the 9th International Joint Conference on Natural Language Processing (EMNLP-IJCNLP), pages 188-197, Hong Kong, China. Association for Computational Linguistics.",
|
| 1428 |
+
"Yasumasa Onoe, Michael Boratko, Andrew McCallum, and Greg Durrett. 2021. Modeling fine-grained entity types with box embeddings. In Proceedings of the 59th Annual Meeting of the Association for Computational Linguistics and the 11th International Joint Conference on Natural Language Processing (Volume 1: Long Papers), pages 2051-2064, Online. Association for Computational Linguistics.",
|
| 1429 |
+
"Yasumasa Onoe and Greg Durrett. 2020. Interpretable entity representations through large-scale typing. In *Findings of the Association for Computational Linguistics: EMNLP* 2020, pages 612-624, Online. Association for Computational Linguistics.",
|
| 1430 |
+
"Nils Reimers and Iryna Gurevych. 2019. SentenceBERT: Sentence embeddings using Siamese BERTnetworks. In Proceedings of the 2019 Conference on Empirical Methods in Natural Language Processing and the 9th International Joint Conference on Natural Language Processing (EMNLP-IJCNLP), pages 3982-3992, Hong Kong, China. Association for Computational Linguistics.",
|
| 1431 |
+
"Dan Roth. 2017. Incidental supervision: Moving beyond supervised learning. In Proceedings of the Thirty-First AAAI Conference on Artificial Intelligence, February 4-9, 2017, San Francisco, California, USA, pages 4885-4890.",
|
| 1432 |
+
"Kaitao Song, Xu Tan, Tao Qin, Jianfeng Lu, and TieYan Liu. 2020. Mpnet: Masked and permuted pretraining for language understanding. Advances in Neural Information Processing Systems, 33:16857-16867.",
|
| 1433 |
+
"Nandan Thakur, Nils Reimers, Andreas Rückle, Abhishek Srivastava, and Iryna Gurevych. 2021. BEIR: A heterogeneous benchmark for zero-shot evaluation"
|
| 1434 |
+
],
|
| 1435 |
+
"bbox": [
|
| 1436 |
+
115,
|
| 1437 |
+
85,
|
| 1438 |
+
489,
|
| 1439 |
+
917
|
| 1440 |
+
],
|
| 1441 |
+
"page_idx": 11
|
| 1442 |
+
},
|
| 1443 |
+
{
|
| 1444 |
+
"type": "list",
|
| 1445 |
+
"sub_type": "ref_text",
|
| 1446 |
+
"list_items": [
|
| 1447 |
+
"of information retrieval models. In Thirty-fifth Conference on Neural Information Processing Systems Datasets and Benchmarks Track (Round 2).",
|
| 1448 |
+
"Wei Wu, Fei Wang, Arianna Yuan, Fei Wu, and Jiwei Li. 2020. CorefQA: Coreference resolution as query-based span prediction. In Proceedings of the 58th Annual Meeting of the Association for Computational Linguistics, pages 6953-6963, Online. Association for Computational Linguistics.",
|
| 1449 |
+
"Wenhan Xiong, Jiawei Wu, Deren Lei, Mo Yu, Shiyu Chang, Xiaoxiao Guo, and William Yang Wang. 2019. Imposing label-relational inductive bias for extremely fine-grained entity typing. In Proceedings of the 2019 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, Volume 1 (Long and Short Papers), pages 773-784, Minneapolis, Minnesota. Association for Computational Linguistics.",
|
| 1450 |
+
"Yuanhao Xiong, Wei-Cheng Chang, Cho-Jui Hsieh, Hsiang-Fu Yu, and Inderjit Dhillon. 2022. Extreme Zero-Shot learning for extreme text classification. In Proceedings of the 2022 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, pages 5455-5468, Seattle, United States. Association for Computational Linguistics.",
|
| 1451 |
+
"Jiashu Xu, Mingyu Derek Ma, and Muhao Chen. 2023. Can nli provide proper indirect supervision for low-resource biomedical relation extraction? In Proceedings of the 2023 Conference of the Association for Computational Linguistics: Human Language Technologies.",
|
| 1452 |
+
"Nan Xu, Fei Wang, Bangzheng Li, Mingtao Dong, and Muhao Chen. 2022. Does your model classify entities reasonably? diagnosing and mitigating spurious correlations in entity typing. In Proceedings of the 2022 Conference on Empirical Methods in Natural Language Processing, pages 8642-8658, Abu Dhabi, United Arab Emirates. Association for Computational Linguistics.",
|
| 1453 |
+
"Yinfei Yang, Daniel Cer, Amin Ahmad, Mandy Guo, Jax Law, Noah Constant, Gustavo Hernandez Abrego, Steve Yuan, Chris Tar, Yun-hsuan Sung, Brian Strope, and Ray Kurzweil. 2020. Multilingual universal sentence encoder for semantic retrieval. In Proceedings of the 58th Annual Meeting of the Association for Computational Linguistics: System Demonstrations, pages 87-94, Online. Association for Computational Linguistics.",
|
| 1454 |
+
"Wenpeng Yin, Muhao Chen, Ben Zhou, Qiang Ning, Kai-Wei Chang, and Dan Roth. 2023. Indirectly supervised natural language processing. In Proceedings of the 61st Annual Meeting of the Association for Computational Linguistics (Volume 6: Tutorial Abstracts), pages 32–40, Toronto, Canada. Association for Computational Linguistics."
|
| 1455 |
+
],
|
| 1456 |
+
"bbox": [
|
| 1457 |
+
510,
|
| 1458 |
+
85,
|
| 1459 |
+
880,
|
| 1460 |
+
917
|
| 1461 |
+
],
|
| 1462 |
+
"page_idx": 11
|
| 1463 |
+
},
|
| 1464 |
+
{
|
| 1465 |
+
"type": "page_number",
|
| 1466 |
+
"text": "15032",
|
| 1467 |
+
"bbox": [
|
| 1468 |
+
477,
|
| 1469 |
+
928,
|
| 1470 |
+
524,
|
| 1471 |
+
940
|
| 1472 |
+
],
|
| 1473 |
+
"page_idx": 11
|
| 1474 |
+
},
|
| 1475 |
+
{
|
| 1476 |
+
"type": "list",
|
| 1477 |
+
"sub_type": "ref_text",
|
| 1478 |
+
"list_items": [
|
| 1479 |
+
"Wenpeng Yin, Jamaal Hay, and Dan Roth. 2019. Benchmarking zero-shot text classification: Datasets, evaluation and entailment approach. In Proceedings of the 2019 Conference on Empirical Methods in Natural Language Processing and the 9th International Joint Conference on Natural Language Processing (EMNLP-IJCNLP), pages 3914-3923, Hong Kong, China. Association for Computational Linguistics.",
|
| 1480 |
+
"Hsiang-Fu Yu, Jiong Zhang, Wei-Cheng Chang, Jyun-Yu Jiang, Wei Li, and Cho-Jui Hsieh. 2022. Pecos: Prediction for enormous and correlated output spaces. In Proceedings of the 28th ACM SIGKDD Conference on Knowledge Discovery and Data Mining, pages 4848-4849.",
|
| 1481 |
+
"Jingtao Zhan, Jiaxin Mao, Yiqun Liu, Jiafeng Guo, Min Zhang, and Shaoping Ma. 2021. Optimizing dense retrieval model training with hard negatives. In Proceedings of the 44th International ACM SIGIR Conference on Research and Development in Information Retrieval, pages 1503-1512.",
|
| 1482 |
+
"Jianguo Zhang, Trung Bui, Seunghyun Yoon, Xiang Chen, Zhiwei Liu, Congying Xia, Quan Hung Tran, Walter Chang, and Philip Yu. 2021. Few-shot intent detection via contrastive pre-training and fine-tuning. In Proceedings of the 2021 Conference on Empirical Methods in Natural Language Processing, pages 1906-1912, Online and Punta Cana, Dominican Republic. Association for Computational Linguistics.",
|
| 1483 |
+
"Jianguo Zhang, Kazuma Hashimoto, Wenhao Liu, Chien-Sheng Wu, Yao Wan, Philip Yu, Richard Socher, and Caiming Xiong. 2020a. Discriminative nearest neighbor few-shot intent detection by transferring natural language inference. In Proceedings of the 2020 Conference on Empirical Methods in Natural Language Processing (EMNLP), pages 5064-5082, Online. Association for Computational Linguistics.",
|
| 1484 |
+
"Jianguo Zhang, Kazuma Hashimoto, Yao Wan, Zhiwei Liu, Ye Liu, Caiming Xiong, and Philip Yu. 2022. Are pre-trained transformers robust in intent classification? a missing ingredient in evaluation of out-of-scope intent detection. In Proceedings of the 4th Workshop on NLP for Conversational AI, pages 12-20, Dublin, Ireland. Association for Computational Linguistics.",
|
| 1485 |
+
"Jianguo Zhang, Kazuma Hashimoto, Chien-Sheng Wu, Yao Wang, Philip Yu, Richard Socher, and Caiming Xiong. 2020b. Find or classify? dual strategy for slot-value predictions on multi-domain dialog state tracking. In Proceedings of the Ninth Joint Conference on Lexical and Computational Semantics, pages 154-167, Barcelona, Spain (Online). Association for Computational Linguistics.",
|
| 1486 |
+
"Ruohong Zhang, Yau-Shian Wang, Yiming Yang, Donghan Yu, Tom Vu, and Likun Lei. 2023. Long-tailed extreme multi-label text classification by the retrieval of generated pseudo label descriptions. In Findings of the Association for Computational Linguistics:"
|
| 1487 |
+
],
|
| 1488 |
+
"bbox": [
|
| 1489 |
+
115,
|
| 1490 |
+
85,
|
| 1491 |
+
489,
|
| 1492 |
+
917
|
| 1493 |
+
],
|
| 1494 |
+
"page_idx": 12
|
| 1495 |
+
},
|
| 1496 |
+
{
|
| 1497 |
+
"type": "list",
|
| 1498 |
+
"sub_type": "ref_text",
|
| 1499 |
+
"list_items": [
|
| 1500 |
+
"EACL 2023, pages 1092-1106, Dubrovnik, Croatia. \nAssociation for Computational Linguistics.",
|
| 1501 |
+
"Wenting Zhao, Konstantine Arkoudas, Weiqi Sun, and Claire Cardie. 2022a. Compositional task-oriented parsing as abstractive question answering. In Proceedings of the 2022 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, pages 4418-4427, Seattle, United States. Association for Computational Linguistics.",
|
| 1502 |
+
"Zhongkai Zhao, Bonan Kou, Mohamed Yilmaz Ibrahim, Muhao Chen, and Tianyi Zhang. 2022b. Knowledge-based version incompatibility detection for deep learning. In Proceedings of the 19th International Conference on Mining Software Repositories, pages 247-251.",
|
| 1503 |
+
"Wenxuan Zhou and Muhao Chen. 2022. An improved baseline for sentence-level relation extraction. In Proceedings of the 2nd Conference of the Asia-Pacific Chapter of the Association for Computational Linguistics and the 12th International Joint Conference on Natural Language Processing (Volume 2: Short Papers), pages 161-168, Online only. Association for Computational Linguistics."
|
| 1504 |
+
],
|
| 1505 |
+
"bbox": [
|
| 1506 |
+
510,
|
| 1507 |
+
85,
|
| 1508 |
+
880,
|
| 1509 |
+
430
|
| 1510 |
+
],
|
| 1511 |
+
"page_idx": 12
|
| 1512 |
+
},
|
| 1513 |
+
{
|
| 1514 |
+
"type": "page_number",
|
| 1515 |
+
"text": "15033",
|
| 1516 |
+
"bbox": [
|
| 1517 |
+
477,
|
| 1518 |
+
928,
|
| 1519 |
+
524,
|
| 1520 |
+
940
|
| 1521 |
+
],
|
| 1522 |
+
"page_idx": 12
|
| 1523 |
+
}
|
| 1524 |
+
]
|
2023/Dense Retrieval as Indirect Supervision for Large-space Decision Making/6485a745-f89c-470f-a30b-5390c646537c_model.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
2023/Dense Retrieval as Indirect Supervision for Large-space Decision Making/6485a745-f89c-470f-a30b-5390c646537c_origin.pdf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:d168899f19d87314479373ae0ea2a66a6f6ad8bf388d56d189b37f048105d591
|
| 3 |
+
size 756895
|
2023/Dense Retrieval as Indirect Supervision for Large-space Decision Making/full.md
ADDED
|
@@ -0,0 +1,264 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+

|
| 2 |
+
|
| 3 |
+
# Dense Retrieval as Indirect Supervision for Large-space Decision Making
|
| 4 |
+
|
| 5 |
+
Nan Xu Fei Wang Mingtao Dong Muhao Chen
|
| 6 |
+
|
| 7 |
+
University of Southern California University of California, Davis {nanx, fwang598, mingtaod}@usc.edu muhchen@ucdavis.edu
|
| 8 |
+
|
| 9 |
+
# Abstract
|
| 10 |
+
|
| 11 |
+
Many discriminative natural language understanding (NLU) tasks have large label spaces. Learning such a process of large-space decision making is particularly challenging due to the lack of training instances per label and the difficulty of selection among many fine-grained labels. Inspired by dense retrieval methods for passage finding in open-domain QA, we propose a reformulation of large-space discriminative NLU tasks as a learning-to-retrieve task, leading to a novel solution named Dense Decision Retrieval (DDR). Instead of predicting fine-grained decisions as logits, DDR adopts a dual-encoder architecture that learns to predict by retrieving from a decision thesaurus. This approach not only leverages rich indirect supervision signals from easy-to-consume learning resources for dense retrieval, it also leads to enhanced prediction generalizability with a semantically meaningful representation of the large decision space. When evaluated on tasks with decision spaces ranging from hundreds to hundred-thousand scales, DDR outperforms strong baselines greatly by $27.54\%$ in $P@1$ on two extreme multi-label classification tasks, $1.17\%$ in F1 score ultra-fine entity typing, and $1.26\%$ in accuracy on three few-shot intent classification tasks on average.
|
| 12 |
+
|
| 13 |
+
# 1 Introduction
|
| 14 |
+
|
| 15 |
+
Many discriminative natural language understanding (NLU) tasks require making fine-grained decisions from a large candidate decision space. For example, a task-oriented dialogue system, when responding to users' requests, needs to frequently detect their intents from hundreds of options (Zhang et al., 2020b; Ham et al., 2020). Description-based recommendation in e-commerce needs to search from millions of products in response to users' descriptions (Gupta et al., 2021; Xiong et al., 2022).
|
| 16 |
+
|
| 17 |
+
Previous studies for such NLU tasks still train classifiers as the solution (Gupta et al., 2021; Yu et al., 2022; Lin et al., 2023a). However, we argue that this straightforward approach is less practical for large-space decision making for several reasons. First, more decision labels naturally lead to data scarcity, since collecting sufficient training data for all labels will need significantly more cost. This issue is also accompanied by the issue of rare labels in the long tail of highly skewed distributions suffering severely from the lack of sufficient training instances (Zhang et al., 2023), leading to overgeneralization bias where frequent labels are more likely to be predicted compared with rare ones (Xu et al., 2022). Second, the non-semantic logit-based representation for decision labels in a classifier also makes the model hard to generalize to rarely seen labels, and not adaptable to unseen ones in training. This issue also impairs the applicability of the decision-making model to real-world scenarios, such as recommendation (Xiong et al., 2022) and task-oriented parsing (Zhao et al., 2022a), where the decision space may expand rapidly and crucial labels may be absent in training.
|
| 18 |
+
|
| 19 |
+
On the contrary, motivated by semantic similarity of examples annotated with identical labels, recent studies propose contrastive learning schemes that leverage Siamese encoding architectures to maximize similarity scores of representation for positive example pairs (Henderson et al., 2020; Zhang et al., 2020a; Dahiya et al., 2021a; Mehri and Eric, 2021; Zhang et al., 2021; Xiong et al., 2022). Meanwhile, inductive bias from NLU tasks such as masked language modeling (Mehri et al., 2020; Dai et al., 2021) and natural language inference (NLI; Li et al. 2022; Du et al. 2022) has shown beneficial for learning on rare and unseen labels via indirect supervision (Yin et al., 2023). However, when dealing with very large decision spaces, existing methods still face critical trade-offs between
|
| 20 |
+
|
| 21 |
+
generalizability and efficiency of prediction.2
|
| 22 |
+
|
| 23 |
+
Inspired by the recent success of dense retrieval methods that learn to select answer-descriptive passages from millions of candidate documents for open-domain QA (Karpukhin et al., 2020; Lee et al., 2021; Zhan et al., 2021), we propose an indirectly supervised solution named Dense Decision Retrieval (DDR). DDR provides a general reformulation of large-space decision making as learning to retrieve from a semantically meaningful decision thesaurus constructed based on task-relevant resources. The model adopts the dual-encoder architecture from dense retrieval models to embed input texts and label descriptions, and learns to predict by retrieving from the informative decision thesaurus instead of predicting fine-grained decisions as logits. In this way, DDR not only leverages rich indirect supervision signals from other easy-to-consume learning resources for dense retrieval. It also leads to enhanced prediction performance and generalizability with a semantically meaningful representation of the large decision space. We evaluate DDR on large decision spaces ranging from hundreds for few-shot intent detection, ten-thousand for ultra-fine entity typing, to hundred-thousand scales for extreme multi-label classification. DDR obtains state-of-the-art performance on 6 benchmark datasets in multiple few-shot settings, improving the most competitive baselines by $27.54\%$ in $\mathbb{P}@\mathbb{1}$ for extreme classification, $1.17\%$ in F1 for entity typing and $1.26\%$ in accuracy for intent detection on average. Ablation studies show that both the constructed informative label thesaurus and indirect supervision from dense retrieval contribute to performance gain.
|
| 24 |
+
|
| 25 |
+
The technical contributions of this work are three-fold. First, we present a novel and strong solution, $DDR$ , for NLU tasks with large-space decision making that leverages indirect supervision from dense retrieval. Second, we provide semantically meaningful decision thesaurus construction that further improves the decision-making ability of $DDR$ . Third, we comprehensively verify the effectiveness of $DDR$ on tasks of fine-grained text classification, semantic typing and intent detection where the size of decision spaces range from hundreds to hundreds of thousands.
|
| 26 |
+
|
| 27 |
+
# 2 Related Work
|
| 28 |
+
|
| 29 |
+
Indirect Supervision Indirectly supervised methods (Roth, 2017; He et al., 2021; Yin et al., 2023) seek to transfer supervision signals from a more resource-rich task to enhance a specific more resource-limited task. A method of this kind often involves reformulation of the target task to the source task. Previous studies have investigated using source tasks such as NLI (Li et al., 2022; Yin et al., 2019; Lyu et al., 2021, inter alia), extractive QA (Wu et al., 2020; FitzGerald et al., 2018; Li et al., 2020, inter alia), abstractive QA (Zhao et al., 2022a; Du and Ji, 2022) and conditioned generation (Lu et al., 2022; Huang et al., 2022b; Hsu et al., 2022, inter alia) to enhance more expensive information extraction or semantic parsing tasks. Recent studies also transformed these technologies to specialized domains such as medicine (Xu et al., 2023) and software engineering (Zhao et al., 2022b) where model generalization and lack of annotations are more significant challenges. There has also been foundational work which studies the informativeness of supervision signals in such settings (He et al., 2021).
|
| 30 |
+
|
| 31 |
+
However, the aforementioned studies are not designed for discriminative tasks with very large decision spaces, and do not apply directly due to issues such as high inference costs (NLI) and requiring decisions to be inclusive to the input (QA). We instead propose dense retriever that naturally serves as a proper and efficient form of indirect supervision for large-space decision making.
|
| 32 |
+
|
| 33 |
+
NLU with Large Decision Spaces Many concrete NLU tasks deal with large decision spaces, including description-based recommendation in e-commerce (Gupta et al., 2021; Xiong et al., 2022) and Web search (Gupta et al., 2021), user intent detection in task-oriented dialog systems (Zhang et al., 2020b; Ham et al., 2020), and fine-grained semantic typing (Choi et al., 2018; Chen et al., 2020), etc. Previous studies for such tasks either train classifiers (Yu et al., 2022; Lin et al., 2023a) or rely on contrastive learning from scratch (Zhang et al., 2021; Xiong et al., 2022), which are generally impaired by insufficiency of training data and hard to generalize to rarely seen and unseen labels. These challenges motivate us to explore a practical solution with indirect supervision from a dense retriever.
|
| 34 |
+
|
| 35 |
+

|
| 36 |
+
Figure 1: Overview of DDR that reformulates general large-space decision making tasks as dense retrieval. Label thesaurus is constructed with detailed descriptions from publicly available resources and the dual-encoder learns to maximize similarity between embeddings of input and label thesaurus entry with indirect supervision from a pre-trained dense retriever.
|
| 37 |
+
|
| 38 |
+
# 3 Method
|
| 39 |
+
|
| 40 |
+
We first describe the reformulation of large-space decision making task as dense retrieval (§3.1). We then introduce several automatic ways to construct label thesaurus of high quality (§3.2). Lastly, we demonstrate the dual-encoder architecture of DDR (illustrated in Fig. 1) to retrieve decisions (§3.3).
|
| 41 |
+
|
| 42 |
+
# 3.1 Preliminary
|
| 43 |
+
|
| 44 |
+
The mechanism of dense retrieval for general decision-making in large spaces can be formalized as follows. Given a textual input, such as "Illy Ground Espresso Classico Coffee: Classico, classic roast coffee has a lingering sweetness and delicate..." for description-based product recommendation, a model learns to infer their corresponding labels by mapping input to textual descriptions in a large label thesaurus (such as names, brands, component, etc.), instead of simply predicting the label index.
|
| 45 |
+
|
| 46 |
+
Formally speaking, given a textual input $x$ , a decision space covering $L$ labels and a label thesaurus that contains corresponding entries (label descriptions) $D = \{d_{1}, d_{2}, \ldots, d_{L}\}$ . We first split every entry into text passages of a maximum length (e.g., 100 words) as the basic retrieval units and get $M$ total passages $P = \{p_{1}, p_{2}, \ldots, p_{M}\}^{3}$ . A retriever $R: (x, P) \to P_{R}$ is a function that takes as input a text sequence $x$ and the label thesaurus $P$ and
|
| 47 |
+
|
| 48 |
+
returns a ranking list of passages $P_R$ , where labels represented by higher ranked passages are more likely to be relevant to the input. As demonstrated in Fig. 1, DDR also leverages indirect supervision from open-domain QA by initializing parameters of retriever $R$ with those from DPR.
|
| 49 |
+
|
| 50 |
+
# 3.2 Thesaurus Construction
|
| 51 |
+
|
| 52 |
+
Depending on the target task, the decision thesaurus can provide knowledge about the decision space from various perspectives. Given label names, we create informative descriptions for each label automatically without extra expenses. We can refer to publicly available resources for constructing thesaurus of high quality. To name a few:
|
| 53 |
+
|
| 54 |
+
1) Lexicographical knowledge bases: dictionaries such as WordNet (Miller, 1995) and Wiktionary<sup>4</sup> provide accurate definitions as well as plentiful use cases to help understand words and phrases.
|
| 55 |
+
2) Large Language Models: LLMs trained on instructions like ChatGPT and Vicuna-13B (Chiang et al., 2023) are able to generate comprehensive and reasonable descriptions of terms when they are prompted for explanation.
|
| 56 |
+
3) Training examples: directly adopting input text when labels with detailed information also appear as example input, or aggregating input texts from multiple examples assigned with the same label if they share very high-level semantic similarities.
|
| 57 |
+
|
| 58 |
+
We describe thesaurus construction in practice for each investigated downstream task in $\S 4$ .
|
| 59 |
+
|
| 60 |
+
# 3.3 Learning to Retrieve Decisions
|
| 61 |
+
|
| 62 |
+
Encoders Since a key motivation of $DDR$ is to leverage indirect supervision from retrieval tasks, we adopt the dual-encoder architecture similar to a dense retriever such as DPR (Karpukhin et al., 2020), where two sentence encoders with special tokens (BERT (Devlin et al., 2019) by default), $E_{x}$ and $E_{p}$ , are leveraged to represent input text $x$ and passage $p$ individually. The similarity between input and passage is computed using dot product of their vectors denoted by $\operatorname{sim}(x,p)$ .
|
| 63 |
+
|
| 64 |
+
Training The objective of the reformulated large-space decision making problem is to optimize the dual encoders such that relevant pairs of input text and label description (thesaurus entry) should have higher similarity than irrelevant pairs in the embedding space. Hence, the overall learning objective is a process of contrastive learning.
|
| 65 |
+
|
| 66 |
+
To tackle single-label classification where each instance contains one input $x_{i}$ , one relevant (positive) passage $x_{i}^{+}$ , along with $n$ irrelevant (negative) passages $p_{i,j}^{-}$ , we minimize the negative log likelihood of the positive label description
|
| 67 |
+
|
| 68 |
+
$$
|
| 69 |
+
\begin{array}{l} L \left(x _ {i}, p _ {i} ^ {+}, p _ {i, 1} ^ {-}, \dots , p _ {i, n} ^ {-}\right) \tag {1} \\ = - \log \frac {e ^ {\operatorname {s i m} \left(x _ {i} , p _ {i} ^ {+}\right)}}{e ^ {\operatorname {s i m} \left(x _ {i} , p _ {i} ^ {+}\right)} + \sum_ {j = 1} ^ {n} e ^ {\operatorname {s i m} \left(x _ {i} , p _ {i , j} ^ {-}\right)}}. \\ \end{array}
|
| 70 |
+
$$
|
| 71 |
+
|
| 72 |
+
We extend to multi-label classification tasks where each input has multiple positive passages and more than one of them participates in model update simultaneously. Accordingly, the cross entropy loss is minimized to encourage similarity between $m$ positive pairs instead:
|
| 73 |
+
|
| 74 |
+
$$
|
| 75 |
+
\begin{array}{l} L \left(x _ {i}, p _ {i, 1} ^ {+}, \dots , p _ {i, m} ^ {+}, p _ {i, 1} ^ {-}, \dots , p _ {i, n} ^ {-}\right) \tag {2} \\ = - \sum_ {k = 1} ^ {m} \log \frac {e ^ {\mathrm {s i m} (x _ {i} , p _ {i , k} ^ {+})}}{\sum_ {j = 1} ^ {m} e ^ {\mathrm {s i m} (x _ {i} , p _ {i , j} ^ {+})} + \sum_ {j = 1} ^ {n} e ^ {\mathrm {s i m} (x _ {i} , p _ {i , j} ^ {-})}}. \\ \end{array}
|
| 76 |
+
$$
|
| 77 |
+
|
| 78 |
+
Positive, negative and hard negative passages: the decision thesaurus entries that describe true labels in thesaurus for each input are deemed as positive. In-batch negatives are positive entries for other input in the same mini-batch, making the computation more efficient while achieving better performance compared with random passages or other negative entries (Gillick et al., 2019;
|
| 79 |
+
|
| 80 |
+
Karpukhin et al., 2020). If not otherwise specified, we train with positive and in-batch negatives to obtain a weak $DDR$ model firstly; we then retrieve label thesaurus with the weak model for training examples and leverage wrongly predicted label description as hard negatives, which are augmented to training data to obtain a stronger $DDR$ .
|
| 81 |
+
|
| 82 |
+
We note that, different from open-domain QA where one positive pair can be considered per time with Eq. 1, considering multiple positive pairs is very important for tasks where the decision space though large but follows highly skewed distributions, when in-batch negatives are adopted for model update. In the mini-batch, multiple inputs may share same labels that are popular in the head of long-tail label distribution. In this case, these input instances have multiple positive passages: one randomly sampled from label passages as normal and some from positives of other in-batch inputs.
|
| 83 |
+
|
| 84 |
+
Inference After training is completed, we encode all passages in label thesaurus once with $E_{p}$ and index them using FAISS offline (Johnson et al., 2019). Given a new input, we obtain its embedding with $E_{x}$ and retrieve the top- $k$ passages with embeddings closest to that of input.
|
| 85 |
+
|
| 86 |
+
# 4 Experiments
|
| 87 |
+
|
| 88 |
+
We evaluate DDR on three NLU tasks with large deiction spaces in two criteria, 1) a minority of label space is observed during training: Extreme Multi-label Classification (§4.1) and Entity Typing (§4.2), or 2) limited amounts of examples are available per label: Intent Classification (§4.3). We investigate decision spaces of up to hundreds of thousands. Dataset statistics are shown in Appx. Tab. 1.
|
| 89 |
+
|
| 90 |
+
# 4.1 Extreme Multi-label Classification
|
| 91 |
+
|
| 92 |
+
Task Many real-world applications can be formulated as eXtreme Multi-label Classification (XMC) problems, where relevant labels from the set of an extremely large size are expected to be predicted given text input. Considering the ever-growing label set with newly added products or websites and the time-consuming example-label pairs collection, we follow the few-shot XMC setting (Gupta et al., 2021; Xiong et al., 2022) to choose relevant labels from all available seen and unseen labels. $^6$
|
| 93 |
+
|
| 94 |
+
<table><tr><td>Dataset</td><td>Setting</td><td>Train</td><td>Dev</td><td>Test</td><td>Labels</td></tr><tr><td colspan="6">Extreme Multi-label Classification</td></tr><tr><td rowspan="2">LF-Amazon-131K</td><td>1%</td><td>6227</td><td>-</td><td rowspan="2">134,835</td><td rowspan="2">131,073</td></tr><tr><td>5%</td><td>29,719</td><td>-</td></tr><tr><td rowspan="2">LF-WikiSeeAlso-320K</td><td>1%</td><td>13,920</td><td>-</td><td rowspan="2">177,515</td><td rowspan="2">312,330</td></tr><tr><td>5%</td><td>62,704</td><td>-</td></tr><tr><td colspan="6">Ultra-fine Entity Typing</td></tr><tr><td>UFET</td><td>Crowd</td><td>1998</td><td>1998</td><td>1998</td><td>10,331</td></tr><tr><td colspan="6">Intent Classification</td></tr><tr><td rowspan="2">BANKING</td><td>5-shot</td><td>385</td><td rowspan="2">1540</td><td rowspan="2">3080</td><td rowspan="2">77</td></tr><tr><td>10-shot</td><td>770</td></tr><tr><td rowspan="2">HWU</td><td>5-shot</td><td>320</td><td rowspan="2">1076</td><td rowspan="2">1076</td><td rowspan="2">64</td></tr><tr><td>10-shot</td><td>640</td></tr><tr><td rowspan="2">CLINC</td><td>5-shot</td><td>750</td><td rowspan="2">3000</td><td rowspan="2">4500</td><td rowspan="2">150</td></tr><tr><td>10-shot</td><td>1500</td></tr></table>
|
| 95 |
+
|
| 96 |
+
Table 1: Statistics and experimental settings on datasets with label spaces ranging from 64 to ${320}\mathrm{\;K}$ .
|
| 97 |
+
|
| 98 |
+
Datasets and Metrics The public benchmark dataset LF-Amazon-131K collects pairs of relevant products with textual descriptions for commercial recommendation, while LF-WikiSeeAlso-320K<sup>7</sup> aims to link relevant Wikipedia passages for reference (Bhatia et al., 2016; Gupta et al., 2021).
|
| 99 |
+
|
| 100 |
+
We use metrics widely adopted by XMC (Chien et al., 2023) and IR (Thakur et al., 2021) literature: precision@k for the proportion of the top- $k$ predicted labels to be true labels, and recall@k for the proportion of true labels found in the top- $k$ predictions.
|
| 101 |
+
|
| 102 |
+
Baselines We compare DDR with strong XMC baselines in three categories: 1) Transformer-based models that learn semantically meaningful sentence embeddings with siamese or triplet network structures, including Sentence-BERT (Reimers and Gurevych, 2019) and MPNet (Song et al., 2020); 2) competitive methods originally proposed for scalable and accurate predictions over extremely large label spaces, including XR-Linear (Yu et al., 2022) that recursively learns to traverse an input from the root of a hierarchical label tree to a few leaf node clusters, Astec (Dahiya et al., 2021b) with four sub-tasks for varying trade-offs between accuracy
|
| 103 |
+
|
| 104 |
+
and scalability, and SiameseXML (Dahiya et al., 2021a) based on a novel probabilistic model to meld Siamese architectures with high-capacity extreme classifiers; 3) methods specifically designed to improve performance with few-shot labels available, including ZestXML (Gupta et al., 2021) that learns to project a data point's features close to the features of its relevant labels through a highly sparsified linear transform, and MACLR (Xiong et al., 2022) that pre-trains Transformer-based encoders with a self-supervised contrastive loss.
|
| 105 |
+
|
| 106 |
+
Implementation Details The label space of LF-WikiSeeAlso-320K is composed of relevant passage titles, hence the corresponding full content should be available in Wikipedia and we use them as the label thesaurus. For relevant product advertisement and recommendation, concrete product description provides sufficient information as the label thesaurus for LF-Amazon-131K. We extract product textual descriptions mainly from Amazon data in XMC benchmark (Bhatia et al., 2016) and public Amazon product meta datasets (Ni et al., 2019), leading to $95.67\%$ of labels well documented. As introduced in $\S 3.2$ , we then use ChatGPT to obtain relevant information for remaining undocumented labels.
|
| 107 |
+
|
| 108 |
+
We perform label thesaurus construction on Intel(R) Xeon(R) Gold 5217 CPU @ 3.00GHz with 32 CPUs and 8 cores per CPU. It takes 59.12 minutes to construct label thesaurus for LF-WikiSeeAlso-320K, while 28.24 minutes for LF-Amazon-131K. We leverage the same infrastructure to prepare label thesaurus in following tasks unless otherwise specified.
|
| 109 |
+
|
| 110 |
+
Due to a lack of explicit knowledge about the connection between the majority of labels and their examples for training, DDR only learns to distinguish positive example-label pairs from in-batch negatives without further negative mining. For inference, with the constructed label thesaurus, we first retrieve the large label space with a test example based on Sentence-BERT embeddings of the title and the first sentence in an unsupervised way. After training DDR with few-shot labels, we mimic the practice of DPR+BM25 for open-
|
| 111 |
+
|
| 112 |
+
<table><tr><td rowspan="2">Method</td><td colspan="8">1% Labels</td><td colspan="7">5% Labels</td><td></td></tr><tr><td>Precision@1</td><td>@3</td><td>@5</td><td>Recall@1</td><td>@3</td><td>@5</td><td>@10</td><td>@100</td><td>Precision@1</td><td>@3</td><td>@5</td><td>@1</td><td>@3</td><td>@5</td><td>@10</td><td>@100</td></tr><tr><td colspan="16">LF-Amazon-131K</td><td></td></tr><tr><td>XR-Linear</td><td>1.53</td><td>0.57</td><td>0.36</td><td>0.67</td><td>0.75</td><td>0.78</td><td>0.81</td><td>0.92</td><td>5.09</td><td>2.09</td><td>1.32</td><td>2.36</td><td>2.86</td><td>3.02</td><td>3.18</td><td>3.74</td></tr><tr><td>Astec</td><td>0.94</td><td>0.44</td><td>0.29</td><td>0.55</td><td>0.78</td><td>0.84</td><td>0.91</td><td>1.13</td><td>3.94</td><td>1.92</td><td>1.26</td><td>2.31</td><td>2.34</td><td>3.66</td><td>4.00</td><td>4.96</td></tr><tr><td>SiameseXML</td><td>1.45</td><td>0.56</td><td>0.35</td><td>0.84</td><td>0.96</td><td>1.00</td><td>1.03</td><td>1.16</td><td>5.36</td><td>2.23</td><td>1.41</td><td>3.15</td><td>3.89</td><td>4.08</td><td>4.27</td><td>4.82</td></tr><tr><td>ZestXML</td><td>10.10</td><td>9.19</td><td>7.34</td><td>5.63</td><td>14.46</td><td>18.61</td><td>23.73</td><td>32.69</td><td>12.33</td><td>10.00</td><td>8.71</td><td>6.84</td><td>17.19</td><td>21.97</td><td>28.19</td><td>46.49</td></tr><tr><td>Sentence-BERT</td><td>12.64</td><td>9.82</td><td>7.80</td><td>6.97</td><td>15.34</td><td>19.74</td><td>25.33</td><td>43.53</td><td>15.47</td><td>12.24</td><td>9.64</td><td>8.63</td><td>19.23</td><td>24.40</td><td>30.82</td><td>49.22</td></tr><tr><td>MPNet</td><td>14.78</td><td>11.55</td><td>8.97</td><td>8.28</td><td>18.24</td><td>22.84</td><td>28.54</td><td>45.89</td><td>15.03</td><td>11.88</td><td>9.28</td><td>8.47</td><td>18.74</td><td>23.69</td><td>29.93</td><td>48.84</td></tr><tr><td>MACLR</td><td>18.74</td><td>16.07</td><td>12.52</td><td>10.73</td><td>25.44</td><td>31.89</td><td>39.17</td><td>57.55</td><td>19.56</td><td>16.19</td><td>12.64</td><td>11.15</td><td>25.65</td><td>32.18</td><td>39.63</td><td>58.45</td></tr><tr><td>DDR (w/o thesaurus)</td><td>15.39</td><td>10.92</td><td>7.87</td><td>8.25</td><td>19.15</td><td>24.10</td><td>31.51</td><td>54.32</td><td>21.21</td><td>13.77</td><td>10.23</td><td>12.02</td><td>24.18</td><td>30.29</td><td>38.19</td><td>58.75</td></tr><tr><td>DDR (scratch)</td><td>19.55</td><td>14.48</td><td>11.50</td><td>10.87</td><td>22.50</td><td>29.00</td><td>37.80</td><td>56.53</td><td>23.77</td><td>16.48</td><td>12.75</td><td>13.31</td><td>25.54</td><td>31.85</td><td>40.46</td><td>60.30</td></tr><tr><td>DDR (full)</td><td>22.39</td><td>16.38</td><td>12.40</td><td>12.57</td><td>25.64</td><td>31.44</td><td>38.44</td><td>57.72</td><td>25.22</td><td>17.96</td><td>13.63</td><td>14.18</td><td>27.94</td><td>34.40</td><td>41.72</td><td>61.17</td></tr><tr><td colspan="16">LF-WikiSeeAlso-320K</td><td></td></tr><tr><td>XR-Linear</td><td>1.24</td><td>0.57</td><td>0.37</td><td>0.42</td><td>0.58</td><td>0.63</td><td>0.68</td><td>0.76</td><td>4.69</td><td>2.20</td><td>1.46</td><td>1.82</td><td>2.41</td><td>2.63</td><td>2.82</td><td>3.42</td></tr><tr><td>Astec</td><td>1.25</td><td>0.60</td><td>0.41</td><td>0.69</td><td>0.98</td><td>1.11</td><td>1.27</td><td>1.56</td><td>5.90</td><td>2.80</td><td>1.86</td><td>3.26</td><td>4.49</td><td>4.95</td><td>5.49</td><td>6.83</td></tr><tr><td>SiameseXML</td><td>1.81</td><td>0.75</td><td>0.48</td><td>1.03</td><td>1.26</td><td>1.33</td><td>1.41</td><td>1.67</td><td>6.83</td><td>3.15</td><td>2.06</td><td>3.88</td><td>5.15</td><td>5.56</td><td>6.02</td><td>7.09</td></tr><tr><td>ZestXML</td><td>8.74</td><td>6.78</td><td>5.41</td><td>4.68</td><td>9.70</td><td>12.21</td><td>15.73</td><td>24.98</td><td>10.06</td><td>8.11</td><td>6.60</td><td>5.33</td><td>11.49</td><td>14.74</td><td>19.57</td><td>40.46</td></tr><tr><td>Sentence-BERT</td><td>16.30</td><td>12.62</td><td>10.08</td><td>9.30</td><td>18.92</td><td>23.78</td><td>30.40</td><td>52.92</td><td>18.47</td><td>14.19</td><td>11.29</td><td>10.82</td><td>21.55</td><td>26.77</td><td>33.92</td><td>57.02</td></tr><tr><td>MPNet</td><td>17.14</td><td>12.64</td><td>9.96</td><td>9.98</td><td>18.98</td><td>23.45</td><td>29.67</td><td>50.75</td><td>18.59</td><td>13.99</td><td>11.08</td><td>10.89</td><td>21.12</td><td>26.10</td><td>32.82</td><td>54.70</td></tr><tr><td>MACLR</td><td>19.09</td><td>14.57</td><td>11.53</td><td>11.39</td><td>22.34</td><td>27.63</td><td>34.81</td><td>57.92</td><td>20.99</td><td>15.57</td><td>12.26</td><td>12.59</td><td>23.94</td><td>29.41</td><td>36.78</td><td>59.81</td></tr><tr><td>DDR (w/o thesaurus)</td><td>17.52</td><td>15.93</td><td>14.23</td><td>4.89</td><td>13.11</td><td>18.88</td><td>25.93</td><td>46.93</td><td>18.14</td><td>16.65</td><td>15.39</td><td>5.12</td><td>14.10</td><td>21.81</td><td>30.00</td><td>52.54</td></tr><tr><td>DDR (scratch)</td><td>21.26</td><td>15.81</td><td>13.08</td><td>11.16</td><td>22.52</td><td>29.55</td><td>40.14</td><td>64.94</td><td>25.04</td><td>18.95</td><td>15.05</td><td>12.46</td><td>25.70</td><td>32.18</td><td>40.24</td><td>66.22</td></tr><tr><td>DDR (full)</td><td>24.70</td><td>18.45</td><td>14.69</td><td>13.04</td><td>26.31</td><td>32.99</td><td>41.08</td><td>65.39</td><td>27.78</td><td>19.98</td><td>15.66</td><td>15.03</td><td>28.87</td><td>35.47</td><td>43.35</td><td>68.66</td></tr></table>
|
| 113 |
+
|
| 114 |
+
Table 2: Results of few-shot XMC where the training subset covers $1\%$ (left) and $5\%$ (right) labels from the whole set. DDR outperforms the second best MACLR in both settings of two datasets. Indirect supervision from DPR boosts performance against training from scratch (the second row from the bottom), while label thesaurus construction improves accuracy over those using textual label names (the third row from the bottom).
|
| 115 |
+
|
| 116 |
+
domain QA (Karpukhin et al., 2020) for reranking, where prediction scores on test set from $DDR$ and Sentence-BERT are linearly combined as the final ranking score.
|
| 117 |
+
|
| 118 |
+
Results We report performance of DDR with(out) indirect supervision from dense retrieval for open-domain QA in Tab. 2. On average, DDR boosts performance on LF-Amazon-131K by $8.50\%$ and LF-WikiSeeAlso-320K by $21.73\%$ compared with the second best baseline MACLR. When only $1\%$ labels are seen during training, we observe that DDR shows much better transferability than other pre-trained models, e.g., average performance improved by $12.59\%$ over MACLR and $39.80\%$ over MPNet. As more labels are available for fine-tuning the model, the performance gain from DDR over others becomes even more significant: $17.64\%$ over MACLR and $43.38\%$ over MPNet under $5\%$ labels setting.
|
| 119 |
+
|
| 120 |
+
# 4.2 Ultra-fine Entity Typing
|
| 121 |
+
|
| 122 |
+
Task Entities can often be described by very fine grained-types (Choi et al., 2018) and the ultra-fine entity typing task aims at predicting one or more
|
| 123 |
+
|
| 124 |
+
fine-grained words or phrases that describe the type(s) of that specific mention (Xu et al., 2022). Consider the sentence "He had blamed Israel for failing to implement its agreements." Besides person and male, the mention "He" has other very specific types that can be inferred from the context, such as leader or official for the "blamed" behavior and "implement its agreements" affair. Ultra-fine entity typing has a broad impact on various NLP tasks that depend on type understanding, including coreference resolution (Onoe and Durrett, 2020), event detection (Le and Nguyen, 2021) and relation extraction (Zhou and Chen, 2022).
|
| 125 |
+
|
| 126 |
+
Datasets and Metrics We leverage the UFET dataset (Choi et al., 2018) to evaluate benefits of DDR with indirect supervision from dense retrieval. Among 10,331 entity types, accurately selecting finer labels (121 labels such as engineer) was more challenging to predict than coarse-grained labels (9 labels such as person), and this issue is exacerbated when dealing with ultra-fine types (10,201 labels such as flight engineer). Following recent entity typing literature (Li et al., 2022; Du et al., 2022), we train DDR on (originally provided) limited
|
| 127 |
+
|
| 128 |
+
<table><tr><td>Method</td><td>Precision</td><td>Recall</td><td>F1</td></tr><tr><td>BiLSTM</td><td>48.1</td><td>23.2</td><td>31.3</td></tr><tr><td>LabelGCN</td><td>50.3</td><td>29.2</td><td>36.9</td></tr><tr><td>LDET</td><td>51.5</td><td>33.0</td><td>40.1</td></tr><tr><td>Box4Types</td><td>52.8</td><td>38.8</td><td>44.8</td></tr><tr><td>LRN</td><td>54.5</td><td>38.9</td><td>45.4</td></tr><tr><td>UniST</td><td>50.2</td><td>49.6</td><td>49.9</td></tr><tr><td>MLMET</td><td>53.6</td><td>45.3</td><td>49.1</td></tr><tr><td>LITE</td><td>52.4</td><td>48.9</td><td>50.6</td></tr><tr><td>Context-TE</td><td>53.7</td><td>49.4</td><td>51.5</td></tr><tr><td>DDR (w/o thesaurus)</td><td>51.6</td><td>46.0</td><td>48.6</td></tr><tr><td>DDR (scratch)</td><td>53.0</td><td>50.5</td><td>51.7</td></tr><tr><td>DDR (full)</td><td>51.9</td><td>52.3</td><td>52.1</td></tr></table>
|
| 129 |
+
|
| 130 |
+
Table 3: Results of UFET task. DDR outperforms competitive baselines with (upper 5 methods) or without (lower 3 methods) inductive bias from task pre-training.
|
| 131 |
+
|
| 132 |
+
crowd-sourced examples without relying on distant resources such as knowledge bases or head words from the Gigaword corpus. We follow prior studies (Choi et al., 2018) to evaluate macro-averaged precision, recall and F1.
|
| 133 |
+
|
| 134 |
+
Baselines We consider two categories of competitive entity typing models as baselines: 1) methods capturing the example-label and label-label relations, e.g., BiLSTM (Choi et al., 2018) that concatenates the context representation learned by a bidirectional LSTM and the mention representation learned by a CNN, LabelGCN (Xiong et al., 2019) that learns to encode global label co-occurrence statistics and their word-level similarities, LRN (Liu et al., 2021a) that models the coarse-to-fine label dependency as causal chains, Box4Types (Onoe et al., 2021) that captures hierarchies of types as topological relations of boxes, and UniST (Huang et al., 2022a) that conduct name-based label ranking; 2) methods leveraging inductive bias from pre-trained models for entity typing, e.g., MLMET (Dai et al., 2021) that utilizes the pretrained BERT to predict the most probable words for “[MASK]” earlier incorporated around the mention as type labels, LITE (Li et al., 2022) and Context-TE (Du et al., 2022) that both leverage indirect supervision from pre-trained natural language inference.
|
| 135 |
+
|
| 136 |
+
Implementation Details The dataset UFET first asked crowd workers to annotate entity's types and then used WordNet (Miller, 1995) to expand these types automatically by generating all their synonyms and hypernyms based on the most common sense. Therefore, we automatically obtain label thesaurus entries from definitions and examples in
|
| 137 |
+
|
| 138 |
+
WordNet and Wiktionary, which covers $99.99\%$ of the whole label set. The time cost for prior label thesaurus construction is around 2.07 minutes.
|
| 139 |
+
|
| 140 |
+
initialized with the original DPR checkpoint pretrained on open-domain QA datasets, DDR firstly optimizes the model given positive example-label pairs and in-batch negatives. With the fine-tuned model, we then perform dense retrieval on the label set for each training example, keeping label documents with high scores but not in the true label set as hard negatives. DDR further updates the model with these additional hard negatives. For inference of multi-label entity type classification, we adopt labels with retrieval scores higher than a threshold that leads to the best F1 score on the development set.
|
| 141 |
+
|
| 142 |
+
Results In Tab. 3, we show performance of DDR and other entity typing methods. DDR obtains the state-of-the-art F1 score over the best baseline training from scratch (LRN) by 6.7 and the best baseline with inductive bias from the language model (Context-TE) by 0.6.
|
| 143 |
+
|
| 144 |
+
# 4.3 Few-shot Intent Classification
|
| 145 |
+
|
| 146 |
+
Task As a fundamental element in task-oriented dialog systems, intent detection is normally conducted in the NLU component for identifying a user's intent given an utterance (Ham et al., 2020). Recently, accurately identifying intents in the few-shot setting has attracted much attention due to data scarcity issues resulted from the cost of data collection as well as privacy and ethical concerns (Lin et al., 2023b). Following the few-shot intent detection benchmark (Zhang et al., 2022), we focus on the challenging 5-shot and 10-shot settings.
|
| 147 |
+
|
| 148 |
+
Datasets and Metrics To evaluate the effectiveness of DDR for NLU with large decision spaces, we pick three challenging intent datasets with a relatively large number of semantically similar intent labels. Banking77 (Casanueva et al., 2020) is a single-domain dataset that provides very fine-grained 77 intents in a Banking domain. HWU64 (Liu et al., 2021b) is a multi-domain (21 domains) dataset recorded by a home assistant robot including 64 intents ranging from setting alarms, playing music, search, to movie recommendation. CLINC150 (Larson et al., 2019) prompts crowd workers to provide questions or commands in the manner they would interact with an artificially intelligent assistant covering 150 intent classes over 10 domains. We report accuracy
|
| 149 |
+
|
| 150 |
+
<table><tr><td rowspan="2">Method</td><td colspan="2">Banking77</td><td colspan="2">HWU64</td><td colspan="2">CLINC150</td></tr><tr><td>5-shot</td><td>10-shot</td><td>5-shot</td><td>10-shot</td><td>5-shot</td><td>10-shot</td></tr><tr><td colspan="7">w/ Data Augmentation</td></tr><tr><td>ICDA-X S (+1x)</td><td>80.29</td><td>86.72</td><td>81.32</td><td>85.59</td><td>91.16</td><td>93.71</td></tr><tr><td>ICDA-S (+4x)</td><td>81.95</td><td>87.37</td><td>81.97</td><td>86.25</td><td>91.22</td><td>93.98</td></tr><tr><td>ICDA-M (+16x)</td><td>84.01</td><td>88.64</td><td>81.84</td><td>87.36</td><td>91.93</td><td>94.71</td></tr><tr><td>ICDA-L (+64x)</td><td>83.90</td><td>89.12</td><td>81.97</td><td>86.94</td><td>92.41</td><td>94.73</td></tr><tr><td>ICDA-X L (+128x)</td><td>83.90</td><td>89.79</td><td>82.45</td><td>87.41</td><td>92.62</td><td>94.84</td></tr><tr><td colspan="7">w/o Data Augmentation</td></tr><tr><td>USE</td><td>76.29</td><td>84.23</td><td>77.79</td><td>83.75</td><td>87.82</td><td>90.85</td></tr><tr><td>ConveRT</td><td>75.32</td><td>83.32</td><td>76.95</td><td>82.65</td><td>89.22</td><td>92.62</td></tr><tr><td>USE+ConveRT</td><td>77.75</td><td>85.19</td><td>80.01</td><td>85.83</td><td>90.49</td><td>93.26</td></tr><tr><td>ConvBERT</td><td>-</td><td>83.63</td><td>-</td><td>83.77</td><td>-</td><td>92.10</td></tr><tr><td>+ MLM</td><td>-</td><td>83.99</td><td>-</td><td>84.52</td><td>-</td><td>92.75</td></tr><tr><td>+ MLM + Example</td><td>-</td><td>84.09</td><td>-</td><td>83.44</td><td>-</td><td>92.35</td></tr><tr><td>+ Combined</td><td>-</td><td>85.95</td><td>-</td><td>86.28</td><td>-</td><td>93.97</td></tr><tr><td>DNNC</td><td>80.40</td><td>86.71</td><td>80.46</td><td>84.72</td><td>91.02</td><td>93.76</td></tr><tr><td>CPFT</td><td>80.86</td><td>87.20</td><td>82.03</td><td>87.13</td><td>92.34</td><td>94.18</td></tr><tr><td>- Pretraining</td><td>76.75</td><td>84.83</td><td>76.02</td><td>82.96</td><td>88.19</td><td>91.55</td></tr><tr><td>Context-TE</td><td>80.76</td><td>85.53</td><td>-</td><td>-</td><td>-</td><td>-</td></tr><tr><td>DDR (w/o thesaurus)</td><td>78.86</td><td>84.16</td><td>80.30</td><td>83.74</td><td>88.86</td><td>91.58</td></tr><tr><td>DDR (scratch)</td><td>82.11</td><td>85.97</td><td>80.76</td><td>84.71</td><td>88.58</td><td>91.16</td></tr><tr><td>DDR (full)</td><td>83.86 (XL)</td><td>88.25 (M)</td><td>84.29 (XL)</td><td>86.34 (S)</td><td>92.71 (XL)</td><td>94.58 (M)</td></tr></table>
|
| 151 |
+
|
| 152 |
+
Table 4: Few-shot Intent Detection Accuracy on three benchmark datasets. DDR achieves much higher accuracy than existing strong learning baselines without data augmentation, while competitive with ICDA requiring a considerable amount of augmented data. ICDA prepares additional synthetic data with the scale ranging from the same amount (ICDA- $XS$ ) to 128 times (ICDA- $XL$ ) of the original few-shot train size. In the bottom row, we also mark performance of DDR with the most comparable ICDA variant. Results not available in original papers are marked as $-$ .
|
| 153 |
+
|
| 154 |
+
for this single-label classification task.
|
| 155 |
+
|
| 156 |
+
Baselines There are two families of intent learning algorithms to cope with limited amounts of example-label pairs: 1) Classifiers based on sentence embeddings from PLMs, including USE (Yang et al., 2020) embed sentences from 16 languages into a single semantic space using a multi-task trained dual-encoder, ConvBERT (Henderson et al., 2020) that pretrains a dual-encoder model on Reddit Data by maximizing the similarity score of embeddings of positive input-response pairs; ConvBERT (Mehri et al., 2020) that adopts a BERT-base model pre-trained on a large open-domain dialogue corpus; 2) methods leverage semantic similarity between utterances from different users, e.g. ConvBERT+Combined (Mehri and Eric, 2021) that extends the ConvBERT model with task-adaptive masked language modelling (MLM) and infers the intent of the utterance based on the similarity to the examples corresponding to each intent, DNNC (Zhang et al., 2020a) that leverages BERT-style pairwise encoding to train a binary classifier that estimates the best matched training example for a user input, CPFT (Zhang et al., 2021) that conducts contrastive pre-training on example sentences
|
| 157 |
+
|
| 158 |
+
from six public intent datasets to discriminate semantically similar utterances.
|
| 159 |
+
|
| 160 |
+
Different from DDR and prior baselines, ICDA (Lin et al., 2023a), a most recent work tackles the challenge of limited data for intent detection by generating high-quality synthetic training data. It first fine-tunes a PLM on a small seed of training data for new data point synthesisation, and then employs pointwise V-information (PVI) based filtering to remove unhelpful ones.[12]
|
| 161 |
+
|
| 162 |
+
Implementation Details Based on the observation that utterances labeled by identical intents share very similar sentence-level semantic meanings, we first utilize the whole set of unlabeled training examples to represent their corresponding pseudo labels predicted by Sentence-BERT (Reimers and Gurevych, 2019). We perform prediction on a single NVIDIA RTX A5000 GPU and it takes 4.17 minutes to complete label thesaurus construction for Banking77, 6.45 minutes for HWU64 and 7.61
|
| 163 |
+
|
| 164 |
+
<table><tr><td>Dataset</td><td>Setting</td><td>Sentence-BERT (1st round)</td><td>DDR (2nd round)</td></tr><tr><td rowspan="2">Banking77</td><td>5-shot</td><td>84.29</td><td>83.86</td></tr><tr><td>10-shot</td><td>88.02</td><td>88.25</td></tr><tr><td rowspan="2">HWU64</td><td>5-shot</td><td>82.81</td><td>84.29</td></tr><tr><td>10-shot</td><td>85.69</td><td>86.34</td></tr><tr><td rowspan="2">CLINC150</td><td>5-shot</td><td>91.82</td><td>92.71</td></tr><tr><td>10-shot</td><td>94.07</td><td>94.58</td></tr></table>
|
| 165 |
+
|
| 166 |
+
Table 5: Impact on intent detection from label thesaurus constructed with predictions from Sentence-BERT and DDR for the unlabeled whole set of the training set.
|
| 167 |
+
|
| 168 |
+
minutes for CLINC150. After training DDR with this first version of label thesaurus, we then update pseudo labels for each training example with predictions from DDR for the second-round training.
|
| 169 |
+
|
| 170 |
+
Regardless of the basis for label thesaurus construction, DDR is trained for two phases in each round: only few-shot positive example-label pairs and in-batch negatives are used in the first phase, while labels wrongly predicted for training examples from the prior phase are used as additional hard negatives in the second phase. After the second round of training, the latest DDR makes predictions on the whole set of training examples for the final label thesaurus construction, from which DDR retrieves the label with the highest score as the prediction.
|
| 171 |
+
|
| 172 |
+
Results Tab. 4 presents performance of different intent detection methods on 5- and 10-shot setting. Without extra training data synthesis, we observe significant performance gain from the proposed DDR over existing baselines. Although ICDA obtains enhanced accuracy by increasing data augmentation scale, DDR is able to achieve comparable performance without crafting 4x even 128x synthetic instances. In Tab. 5, we additionally study the quality of constructed label thesaurus in accordance with the prediction on the unlabeled whole training set from Sentence-BERT and DDR after the first round of training. We find that with a more accurate pseudo connection between example and label leads to a higher quality of label thesaurus construction, and finally benefits intent detection.
|
| 173 |
+
|
| 174 |
+
# 5 Conclusions
|
| 175 |
+
|
| 176 |
+
In this paper, we focus on discriminative NLU tasks with large decision spaces. By reformulating these tasks as learning-to-retrieve tasks, we are able to leverage rich indirect supervision signals
|
| 177 |
+
|
| 178 |
+
from dense retrieval. Moreover, by representing decision spaces with thesaurus, we provide rich semantic knowledge of each label to improve the understanding of labels for dense decision retrievers. Experiments on 6 benchmark datasets show the effectiveness of our method on decision spaces scaling from hundreds of candidates to hundreds of thousands of candidates. Future work can extend our method to more large-space decision making tasks, especially in the low-resource setting.
|
| 179 |
+
|
| 180 |
+
# Acknowledgement
|
| 181 |
+
|
| 182 |
+
We appreciate the reviewers for their insightful comments and suggestions. The logo for $DDR$ used in this paper is sourced from the Wikipedia page $^{13}$ under CC BY-SA 3.0, for which we appreciate the contribution of the Wikipedia community.
|
| 183 |
+
|
| 184 |
+
Nan Xu is supported by the USC PhD Fellowship. Fei Wang is supported by the Annenberg Fellowship and the Amazon ML Fellowship. Mingtao Dong is supported by the Provost's Research Fellowship. Muhao Chen is supported by the NSF Grant IIS 2105329, the NSF Grant ITE 2333736, the DARPA MCS program under Contract No. N660011924033 with the United States Office Of Naval Research, a Cisco Research Award, two Amazon Research Awards, and a Keston Research Award. The computing of this work has been partly supported by a subaward of NSF Cloudbank 1925001 through UCSD.
|
| 185 |
+
|
| 186 |
+
# Limitations
|
| 187 |
+
|
| 188 |
+
The proposed DDR leverages the dual-encoder architecture with the inner dot product to compute embedding similarity, obtaining state-of-the-art performance on three investigated challenging large-space decision making tasks. More expressive models for embedding input and label thesaurus, such as joint encoding by a cross-encoder is not discussed. Moreover, other ways to model the connection between input and label thesaurus entry, such as using a sequence-to-sequence language model to generate the label name given input text and label thesaurus entry, is not explored yet. We believe adopting more advanced dense retrieval algorithms can further promote performance for large-space decision making. We leave this as an exciting future direction.
|
| 189 |
+
|
| 190 |
+
# References
|
| 191 |
+
|
| 192 |
+
K. Bhatia, K. Dahiya, H. Jain, P. Kar, A. Mittal, Y. Prabhu, and M. Varma. 2016. The extreme classification repository: Multi-label datasets and code.
|
| 193 |
+
Inigo Casanueva, Tadas Temčinas, Daniela Gerz, Matthew Henderson, and Ivan Vulić. 2020. Efficient intent detection with dual sentence encoders. In Proceedings of the 2nd Workshop on Natural Language Processing for Conversational AI, pages 38-45, Online. Association for Computational Linguistics.
|
| 194 |
+
Muhao Chen, Hongming Zhang, Haoyu Wang, and Dan Roth. 2020. What are you trying to do? semantic typing of event processes. In Proceedings of the 24th Conference on Computational Natural Language Learning, pages 531-542, Online. Association for Computational Linguistics.
|
| 195 |
+
Wei-Lin Chiang, Zhuohan Li, Zi Lin, Ying Sheng, Zhanghao Wu, Hao Zhang, Lianmin Zheng, Siyuan Zhuang, Yonghao Zhuang, Joseph E. Gonzalez, Ion Stoica, and Eric P. Xing. 2023. Vicuna: An opensource chatbot impressing gpt-4 with $90\%$ * chatgpt quality.
|
| 196 |
+
Eli Chien, Jiong Zhang, Cho-Jui Hsieh, Jyun-Yu Jiang, Wei-Cheng Chang, Olgica Milenkovic, and Hsiang-Fu Yu. 2023. Pina: Leveraging side information in extreme multi-label classification via predicted instance neighborhood aggregation. arXiv preprint arXiv:2305.12349.
|
| 197 |
+
Eunsol Choi, Omer Levy, Yejin Choi, and Luke Zettlemoyer. 2018. Ultra-fine entity typing. In Proceedings of the 56th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pages 87-96, Melbourne, Australia. Association for Computational Linguistics.
|
| 198 |
+
Kunal Dahiya, Ananye Agarwal, Deepak Saini, K Gururaj, Jian Jiao, Amit Singh, Sumeet Agarwal, Purushottam Kar, and Manik Varma. 2021a. SiameseXML: Siamese networks meet extreme classifiers with 100m labels. In International Conference on Machine Learning, pages 2330-2340. PMLR.
|
| 199 |
+
Kunal Dahiya, Deepak Saini, Anshul Mittal, Ankush Shaw, Kushal Dave, Akshay Soni, Himanshu Jain, Sumeet Agarwal, and Manik Varma. 2021b. Deepxml: A deep extreme multi-label learning framework applied to short text documents. In Proceedings of the 14th ACM International Conference on Web Search and Data Mining, pages 31-39.
|
| 200 |
+
Hongliang Dai, Yangqiu Song, and Haixun Wang. 2021. Ultra-fine entity typing with weak supervision from a masked language model. In Proceedings of the 59th Annual Meeting of the Association for Computational Linguistics and the 11th International Joint Conference on Natural Language Processing (Volume 1: Long Papers), pages 1790-1799, Online. Association for Computational Linguistics.
|
| 201 |
+
|
| 202 |
+
Jacob Devlin, Ming-Wei Chang, Kenton Lee, and Kristina Toutanova. 2019. BERT: Pre-training of deep bidirectional transformers for language understanding. In Proceedings of the 2019 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, Volume 1 (Long and Short Papers), pages 4171-4186, Minneapolis, Minnesota. Association for Computational Linguistics.
|
| 203 |
+
Jiangshu Du, Wenpeng Yin, Congying Xia, and Philip S Yu. 2022. Learning to select from multiple options. arXiv preprint arXiv:2212.00301.
|
| 204 |
+
Xinya Du and Heng Ji. 2022. Retrieval-augmented generative question answering for event argument extraction. In Proceedings of the 2022 Conference on Empirical Methods in Natural Language Processing, pages 4649-4666, Abu Dhabi, United Arab Emirates. Association for Computational Linguistics.
|
| 205 |
+
Nicholas FitzGerald, Julian Michael, Luheng He, and Luke Zettlemoyer. 2018. Large-scale QA-SRL parsing. In Proceedings of the 56th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pages 2051-2060, Melbourne, Australia. Association for Computational Linguistics.
|
| 206 |
+
Daniel Gillick, Sayali Kulkarni, Larry Lansing, Alessandro Presta, Jason Baldridge, Eugene Ie, and Diego Garcia-Olano. 2019. Learning dense representations for entity retrieval. In Proceedings of the 23rd Conference on Computational Natural Language Learning (CoNLL), pages 528-537, Hong Kong, China. Association for Computational Linguistics.
|
| 207 |
+
Nilesh Gupta, Sakina Bohra, Yashoteja Prabhu, Saurabh Purohit, and Manik Varma. 2021. Generalized zero-shot extreme multi-label learning. In Proceedings of the 27th ACM SIGKDD Conference on Knowledge Discovery & Data Mining, pages 527-535.
|
| 208 |
+
Donghoon Ham, Jeong-Gwan Lee, Youngsoo Jang, and Kee-Eung Kim. 2020. End-to-end neural pipeline for goal-oriented dialogue systems using GPT-2. In Proceedings of the 58th Annual Meeting of the Association for Computational Linguistics, pages 583-592, Online. Association for Computational Linguistics.
|
| 209 |
+
Hangfeng He, Mingyuan Zhang, Qiang Ning, and Dan Roth. 2021. Foreseeing the benefits of incidental supervision. In Proceedings of the 2021 Conference on Empirical Methods in Natural Language Processing, pages 1782-1800, Online and Punta Cana, Dominican Republic. Association for Computational Linguistics.
|
| 210 |
+
Matthew Henderson, Iñigo Casanueva, Nikola Mrkšić, Pei-Hao Su, Tsung-Hsien Wen, and Ivan Vulić. 2020. ConveRT: Efficient and accurate conversational representations from transformers. In Findings of the Association for Computational Linguistics: EMNLP 2020, pages 2161-2174, Online. Association for Computational Linguistics.
|
| 211 |
+
|
| 212 |
+
I-Hung Hsu, Kuan-Hao Huang, Elizabeth Boschee, Scott Miller, Prem Natarajan, Kai-Wei Chang, and Nanyun Peng. 2022. DEGREE: A data-efficient generation-based event extraction model. In Proceedings of the 2022 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, pages 1890-1908, Seattle, United States. Association for Computational Linguistics.
|
| 213 |
+
James Y. Huang, Bangzheng Li, Jiashu Xu, and Muhao Chen. 2022a. Unified semantic typing with meaningful label inference. In Proceedings of the 2022 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, pages 2642-2654, Seattle, United States. Association for Computational Linguistics.
|
| 214 |
+
Kuan-Hao Huang, I-Hung Hsu, Prem Natarajan, Kai-Wei Chang, and Nanyun Peng. 2022b. Multilingual generative language models for zero-shot crosslingual event argument extraction. In Proceedings of the 60th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pages 4633–4646, Dublin, Ireland. Association for Computational Linguistics.
|
| 215 |
+
Jeff Johnson, Matthijs Douze, and Herve Jégou. 2019. Billion-scale similarity search with gpus. IEEE Transactions on Big Data, 7(3):535-547.
|
| 216 |
+
Vladimir Karpukhin, Barlas Oguz, Sewon Min, Patrick Lewis, Ledell Wu, Sergey Edunov, Danqi Chen, and Wen-tau Yih. 2020. Dense passage retrieval for open-domain question answering. In Proceedings of the 2020 Conference on Empirical Methods in Natural Language Processing (EMNLP), pages 6769-6781, Online. Association for Computational Linguistics.
|
| 217 |
+
Stefan Larson, Anish Mahendran, Joseph J. Peper, Christopher Clarke, Andrew Lee, Parker Hill, Jonathan K. Kummerfeld, Kevin Leach, Michael A. Laurenzano, Lingjia Tang, and Jason Mars. 2019. An evaluation dataset for intent classification and out-of-scope prediction. In Proceedings of the 2019 Conference on Empirical Methods in Natural Language Processing and the 9th International Joint Conference on Natural Language Processing (EMNLP-IJCNLP), pages 1311-1316, Hong Kong, China. Association for Computational Linguistics.
|
| 218 |
+
Duong Le and Thien Huu Nguyen. 2021. Fine-grained event trigger detection. In Proceedings of the 16th Conference of the European Chapter of the Association for Computational Linguistics: Main Volume, pages 2745-2752, Online. Association for Computational Linguistics.
|
| 219 |
+
Jinhyuk Lee, Mujeen Sung, Jaewoo Kang, and Danqi Chen. 2021. Learning dense representations of phrases at scale. In Proceedings of the 59th Annual Meeting of the Association for Computational Linguistics and the 11th International Joint Conference on Natural Language Processing (Volume 1: Long
|
| 220 |
+
|
| 221 |
+
Papers), pages 6634-6647, Online. Association for Computational Linguistics.
|
| 222 |
+
Bangzheng Li, Wenpeng Yin, and Muhao Chen. 2022. Ultra-fine entity typing with indirect supervision from natural language inference. Transactions of the Association for Computational Linguistics, 10:607-622.
|
| 223 |
+
Xiaoya Li, Jingrong Feng, Yuxian Meng, Qinghong Han, Fei Wu, and Jiwei Li. 2020. A unified MRC framework for named entity recognition. In Proceedings of the 58th Annual Meeting of the Association for Computational Linguistics, pages 5849-5859, Online. Association for Computational Linguistics.
|
| 224 |
+
Yen-Ting Lin, Alexandros Papangelis, Seokhwan Kim, Sungjin Lee, Devamanyu Hazarika, Mahdi Namazifar, Di Jin, Yang Liu, and Dilek Hakkani-Tur. 2023a. Selective in-context data augmentation for intent detection using pointwise v-information. arXiv preprint arXiv:2302.05096.
|
| 225 |
+
Yen-Ting Lin, Alexandros Papangelis, Seokhwan Kim, Sungjin Lee, Devamanyu Hazarika, Mahdi Namazifar, Di Jin, Yang Liu, and Dilek Hakkani-Tur. 2023b. Selective in-context data augmentation for intent detection using pointwise V-information. In Proceedings of the 17th Conference of the European Chapter of the Association for Computational Linguistics, pages 1463-1476, Dubrovnik, Croatia. Association for Computational Linguistics.
|
| 226 |
+
Qing Liu, Hongyu Lin, Xinyan Xiao, Xianpei Han, Le Sun, and Hua Wu. 2021a. Fine-grained entity typing via label reasoning. In Proceedings of the 2021 Conference on Empirical Methods in Natural Language Processing, pages 4611-4622, Online and Punta Cana, Dominican Republic. Association for Computational Linguistics.
|
| 227 |
+
Xingkun Liu, Arash Eshghi, Pawel Swietojanski, and Verena Rieser. 2021b. Benchmarking natural language understanding services for building conversational agents. In Increasing Naturalness and Flexibility in Spoken Dialogue Interaction: 10th International Workshop on Spoken Dialogue Systems, pages 165-183. Springer.
|
| 228 |
+
Keming Lu, I-Hung Hsu, Wenxuan Zhou, Mingyu Derek Ma, and Muhao Chen. 2022. Summarization as indirect supervision for relation extraction. In *Findings of the Association for Computational Linguistics: EMNLP* 2022, pages 6575-6594, Abu Dhabi, United Arab Emirates. Association for Computational Linguistics.
|
| 229 |
+
Qing Lyu, Hongming Zhang, Elior Sulem, and Dan Roth. 2021. Zero-shot event extraction via transfer learning: Challenges and insights. In Proceedings of the 59th Annual Meeting of the Association for Computational Linguistics and the 11th International Joint Conference on Natural Language Processing (Volume 2: Short Papers), pages 322-332, Online. Association for Computational Linguistics.
|
| 230 |
+
|
| 231 |
+
Shikib Mehri and Mihail Eric. 2021. Example-driven intent prediction with observers. In Proceedings of the 2021 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, pages 2979-2992, Online. Association for Computational Linguistics.
|
| 232 |
+
Shikib Mehri, Mihail Eric, and Dilek Hakkani-Tur. 2020. Dialogue: A natural language understanding benchmark for task-oriented dialogue. arXiv preprint arXiv:2009.13570.
|
| 233 |
+
George A Miller. 1995. Wordnet: a lexical database for english. Communications of the ACM, 38(11):39-41.
|
| 234 |
+
Jianmo Ni, Jiacheng Li, and Julian McAuley. 2019. Justifying recommendations using distantly-labeled reviews and fine-grained aspects. In Proceedings of the 2019 Conference on Empirical Methods in Natural Language Processing and the 9th International Joint Conference on Natural Language Processing (EMNLP-IJCNLP), pages 188-197, Hong Kong, China. Association for Computational Linguistics.
|
| 235 |
+
Yasumasa Onoe, Michael Boratko, Andrew McCallum, and Greg Durrett. 2021. Modeling fine-grained entity types with box embeddings. In Proceedings of the 59th Annual Meeting of the Association for Computational Linguistics and the 11th International Joint Conference on Natural Language Processing (Volume 1: Long Papers), pages 2051-2064, Online. Association for Computational Linguistics.
|
| 236 |
+
Yasumasa Onoe and Greg Durrett. 2020. Interpretable entity representations through large-scale typing. In *Findings of the Association for Computational Linguistics: EMNLP* 2020, pages 612-624, Online. Association for Computational Linguistics.
|
| 237 |
+
Nils Reimers and Iryna Gurevych. 2019. SentenceBERT: Sentence embeddings using Siamese BERTnetworks. In Proceedings of the 2019 Conference on Empirical Methods in Natural Language Processing and the 9th International Joint Conference on Natural Language Processing (EMNLP-IJCNLP), pages 3982-3992, Hong Kong, China. Association for Computational Linguistics.
|
| 238 |
+
Dan Roth. 2017. Incidental supervision: Moving beyond supervised learning. In Proceedings of the Thirty-First AAAI Conference on Artificial Intelligence, February 4-9, 2017, San Francisco, California, USA, pages 4885-4890.
|
| 239 |
+
Kaitao Song, Xu Tan, Tao Qin, Jianfeng Lu, and TieYan Liu. 2020. Mpnet: Masked and permuted pretraining for language understanding. Advances in Neural Information Processing Systems, 33:16857-16867.
|
| 240 |
+
Nandan Thakur, Nils Reimers, Andreas Rückle, Abhishek Srivastava, and Iryna Gurevych. 2021. BEIR: A heterogeneous benchmark for zero-shot evaluation
|
| 241 |
+
|
| 242 |
+
of information retrieval models. In Thirty-fifth Conference on Neural Information Processing Systems Datasets and Benchmarks Track (Round 2).
|
| 243 |
+
Wei Wu, Fei Wang, Arianna Yuan, Fei Wu, and Jiwei Li. 2020. CorefQA: Coreference resolution as query-based span prediction. In Proceedings of the 58th Annual Meeting of the Association for Computational Linguistics, pages 6953-6963, Online. Association for Computational Linguistics.
|
| 244 |
+
Wenhan Xiong, Jiawei Wu, Deren Lei, Mo Yu, Shiyu Chang, Xiaoxiao Guo, and William Yang Wang. 2019. Imposing label-relational inductive bias for extremely fine-grained entity typing. In Proceedings of the 2019 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, Volume 1 (Long and Short Papers), pages 773-784, Minneapolis, Minnesota. Association for Computational Linguistics.
|
| 245 |
+
Yuanhao Xiong, Wei-Cheng Chang, Cho-Jui Hsieh, Hsiang-Fu Yu, and Inderjit Dhillon. 2022. Extreme Zero-Shot learning for extreme text classification. In Proceedings of the 2022 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, pages 5455-5468, Seattle, United States. Association for Computational Linguistics.
|
| 246 |
+
Jiashu Xu, Mingyu Derek Ma, and Muhao Chen. 2023. Can nli provide proper indirect supervision for low-resource biomedical relation extraction? In Proceedings of the 2023 Conference of the Association for Computational Linguistics: Human Language Technologies.
|
| 247 |
+
Nan Xu, Fei Wang, Bangzheng Li, Mingtao Dong, and Muhao Chen. 2022. Does your model classify entities reasonably? diagnosing and mitigating spurious correlations in entity typing. In Proceedings of the 2022 Conference on Empirical Methods in Natural Language Processing, pages 8642-8658, Abu Dhabi, United Arab Emirates. Association for Computational Linguistics.
|
| 248 |
+
Yinfei Yang, Daniel Cer, Amin Ahmad, Mandy Guo, Jax Law, Noah Constant, Gustavo Hernandez Abrego, Steve Yuan, Chris Tar, Yun-hsuan Sung, Brian Strope, and Ray Kurzweil. 2020. Multilingual universal sentence encoder for semantic retrieval. In Proceedings of the 58th Annual Meeting of the Association for Computational Linguistics: System Demonstrations, pages 87-94, Online. Association for Computational Linguistics.
|
| 249 |
+
Wenpeng Yin, Muhao Chen, Ben Zhou, Qiang Ning, Kai-Wei Chang, and Dan Roth. 2023. Indirectly supervised natural language processing. In Proceedings of the 61st Annual Meeting of the Association for Computational Linguistics (Volume 6: Tutorial Abstracts), pages 32–40, Toronto, Canada. Association for Computational Linguistics.
|
| 250 |
+
|
| 251 |
+
Wenpeng Yin, Jamaal Hay, and Dan Roth. 2019. Benchmarking zero-shot text classification: Datasets, evaluation and entailment approach. In Proceedings of the 2019 Conference on Empirical Methods in Natural Language Processing and the 9th International Joint Conference on Natural Language Processing (EMNLP-IJCNLP), pages 3914-3923, Hong Kong, China. Association for Computational Linguistics.
|
| 252 |
+
Hsiang-Fu Yu, Jiong Zhang, Wei-Cheng Chang, Jyun-Yu Jiang, Wei Li, and Cho-Jui Hsieh. 2022. Pecos: Prediction for enormous and correlated output spaces. In Proceedings of the 28th ACM SIGKDD Conference on Knowledge Discovery and Data Mining, pages 4848-4849.
|
| 253 |
+
Jingtao Zhan, Jiaxin Mao, Yiqun Liu, Jiafeng Guo, Min Zhang, and Shaoping Ma. 2021. Optimizing dense retrieval model training with hard negatives. In Proceedings of the 44th International ACM SIGIR Conference on Research and Development in Information Retrieval, pages 1503-1512.
|
| 254 |
+
Jianguo Zhang, Trung Bui, Seunghyun Yoon, Xiang Chen, Zhiwei Liu, Congying Xia, Quan Hung Tran, Walter Chang, and Philip Yu. 2021. Few-shot intent detection via contrastive pre-training and fine-tuning. In Proceedings of the 2021 Conference on Empirical Methods in Natural Language Processing, pages 1906-1912, Online and Punta Cana, Dominican Republic. Association for Computational Linguistics.
|
| 255 |
+
Jianguo Zhang, Kazuma Hashimoto, Wenhao Liu, Chien-Sheng Wu, Yao Wan, Philip Yu, Richard Socher, and Caiming Xiong. 2020a. Discriminative nearest neighbor few-shot intent detection by transferring natural language inference. In Proceedings of the 2020 Conference on Empirical Methods in Natural Language Processing (EMNLP), pages 5064-5082, Online. Association for Computational Linguistics.
|
| 256 |
+
Jianguo Zhang, Kazuma Hashimoto, Yao Wan, Zhiwei Liu, Ye Liu, Caiming Xiong, and Philip Yu. 2022. Are pre-trained transformers robust in intent classification? a missing ingredient in evaluation of out-of-scope intent detection. In Proceedings of the 4th Workshop on NLP for Conversational AI, pages 12-20, Dublin, Ireland. Association for Computational Linguistics.
|
| 257 |
+
Jianguo Zhang, Kazuma Hashimoto, Chien-Sheng Wu, Yao Wang, Philip Yu, Richard Socher, and Caiming Xiong. 2020b. Find or classify? dual strategy for slot-value predictions on multi-domain dialog state tracking. In Proceedings of the Ninth Joint Conference on Lexical and Computational Semantics, pages 154-167, Barcelona, Spain (Online). Association for Computational Linguistics.
|
| 258 |
+
Ruohong Zhang, Yau-Shian Wang, Yiming Yang, Donghan Yu, Tom Vu, and Likun Lei. 2023. Long-tailed extreme multi-label text classification by the retrieval of generated pseudo label descriptions. In Findings of the Association for Computational Linguistics:
|
| 259 |
+
|
| 260 |
+
EACL 2023, pages 1092-1106, Dubrovnik, Croatia.
|
| 261 |
+
Association for Computational Linguistics.
|
| 262 |
+
Wenting Zhao, Konstantine Arkoudas, Weiqi Sun, and Claire Cardie. 2022a. Compositional task-oriented parsing as abstractive question answering. In Proceedings of the 2022 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, pages 4418-4427, Seattle, United States. Association for Computational Linguistics.
|
| 263 |
+
Zhongkai Zhao, Bonan Kou, Mohamed Yilmaz Ibrahim, Muhao Chen, and Tianyi Zhang. 2022b. Knowledge-based version incompatibility detection for deep learning. In Proceedings of the 19th International Conference on Mining Software Repositories, pages 247-251.
|
| 264 |
+
Wenxuan Zhou and Muhao Chen. 2022. An improved baseline for sentence-level relation extraction. In Proceedings of the 2nd Conference of the Asia-Pacific Chapter of the Association for Computational Linguistics and the 12th International Joint Conference on Natural Language Processing (Volume 2: Short Papers), pages 161-168, Online only. Association for Computational Linguistics.
|
2023/Dense Retrieval as Indirect Supervision for Large-space Decision Making/images.zip
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:1eb0ce5dd0075355407f138aa03e6e5e6cb8d1df65da5c02cc6fee8ec79b7cf7
|
| 3 |
+
size 548794
|
2023/Dense Retrieval as Indirect Supervision for Large-space Decision Making/layout.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
2023/Density-Aware Prototypical Network for Few-Shot Relation Classification/3cc00c50-e0b4-4c6e-9a21-2f4635fbe6e7_content_list.json
ADDED
|
@@ -0,0 +1,2216 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[
|
| 2 |
+
{
|
| 3 |
+
"type": "text",
|
| 4 |
+
"text": "Density-Aware Prototypical Network for Few-Shot Relation Classification",
|
| 5 |
+
"text_level": 1,
|
| 6 |
+
"bbox": [
|
| 7 |
+
117,
|
| 8 |
+
89,
|
| 9 |
+
878,
|
| 10 |
+
111
|
| 11 |
+
],
|
| 12 |
+
"page_idx": 0
|
| 13 |
+
},
|
| 14 |
+
{
|
| 15 |
+
"type": "text",
|
| 16 |
+
"text": "Jianfeng Wu $^{1}$ Mengting Hu $^{2*}$ Yike Wu $^{3}$ Bingzhe Wu $^{4}$ Yalan Xie $^{1}$ Mingming Liu $^{2}$ Renhong Cheng $^{1}$",
|
| 17 |
+
"bbox": [
|
| 18 |
+
242,
|
| 19 |
+
129,
|
| 20 |
+
757,
|
| 21 |
+
165
|
| 22 |
+
],
|
| 23 |
+
"page_idx": 0
|
| 24 |
+
},
|
| 25 |
+
{
|
| 26 |
+
"type": "text",
|
| 27 |
+
"text": "<sup>1</sup> College of Computer Science, Nankai University, <sup>2</sup> College of Software, Nankai University \n<sup>3</sup> School of Journalism and Communication, Nankai University, <sup>4</sup> Tencent AI Lab \nwjf@mail.nankai.edu.cn, mthu@nankai.edu.cn",
|
| 28 |
+
"bbox": [
|
| 29 |
+
124,
|
| 30 |
+
164,
|
| 31 |
+
875,
|
| 32 |
+
214
|
| 33 |
+
],
|
| 34 |
+
"page_idx": 0
|
| 35 |
+
},
|
| 36 |
+
{
|
| 37 |
+
"type": "text",
|
| 38 |
+
"text": "Abstract",
|
| 39 |
+
"text_level": 1,
|
| 40 |
+
"bbox": [
|
| 41 |
+
260,
|
| 42 |
+
252,
|
| 43 |
+
339,
|
| 44 |
+
266
|
| 45 |
+
],
|
| 46 |
+
"page_idx": 0
|
| 47 |
+
},
|
| 48 |
+
{
|
| 49 |
+
"type": "text",
|
| 50 |
+
"text": "In recent years, few-shot relation classification has evoked many research interests. Yet a more challenging problem, i.e. none-of-the-above (NOTA), is under-explored. Existing works mainly regard NOTA as an extra class and treat it the same as known relations. However, such a solution ignores the overall instance distribution, where NOTA instances are actually outliers and distributed unnaturally compared with known ones. In this paper, we propose a density-aware prototypical network (D-Proto) to treat various instances distinctly. Specifically, we design unique training objectives to separate known instances and isolate NOTA instances, respectively. This produces an ideal instance distribution, where known instances are dense yet NOTAs have a small density. Moreover, we propose a NOTA detection module to further enlarge the density of known samples, and discriminate NOTA and known samples accurately. Experimental results demonstrate that the proposed method outperforms strong baselines with robustness towards various NOTA rates. $^{1}$",
|
| 51 |
+
"bbox": [
|
| 52 |
+
141,
|
| 53 |
+
275,
|
| 54 |
+
460,
|
| 55 |
+
615
|
| 56 |
+
],
|
| 57 |
+
"page_idx": 0
|
| 58 |
+
},
|
| 59 |
+
{
|
| 60 |
+
"type": "text",
|
| 61 |
+
"text": "1 Introduction",
|
| 62 |
+
"text_level": 1,
|
| 63 |
+
"bbox": [
|
| 64 |
+
114,
|
| 65 |
+
624,
|
| 66 |
+
258,
|
| 67 |
+
640
|
| 68 |
+
],
|
| 69 |
+
"page_idx": 0
|
| 70 |
+
},
|
| 71 |
+
{
|
| 72 |
+
"type": "text",
|
| 73 |
+
"text": "Relation classification is a fundamental task in natural language processing field, aiming to recognize the relation between two entities in a given sentence. Recently, many works formulate this task in the few-shot learning scenario (Dong et al., 2020; Qu et al., 2020; Han et al., 2021; Brody et al., 2021). They focus on obtaining fast adaptation with a few samples by learning multiple episodes. Usually, each episode is composed of a support set and a query set, where the support set has $N$ -way $K$ -shot instances. As an example shown in Table 1, the support set provides two known relations, i.e. \"contains\" and \"founded by\". The first query instance has \"founded by\" relation, which can be",
|
| 74 |
+
"bbox": [
|
| 75 |
+
110,
|
| 76 |
+
649,
|
| 77 |
+
489,
|
| 78 |
+
873
|
| 79 |
+
],
|
| 80 |
+
"page_idx": 0
|
| 81 |
+
},
|
| 82 |
+
{
|
| 83 |
+
"type": "table",
|
| 84 |
+
"img_path": "images/4c03e3f1acfb2adbcb64c0b0a078f9ac72255fea658098bf6ed327bafefe0def.jpg",
|
| 85 |
+
"table_caption": [],
|
| 86 |
+
"table_footnote": [],
|
| 87 |
+
"table_body": "<table><tr><td colspan=\"2\">Support Set</td></tr><tr><td>(1) contains</td><td>California is a state in the United States.</td></tr><tr><td>(2) founded by</td><td>Steve Jobs was one of the founders of Apple.</td></tr><tr><td colspan=\"2\">Query Set</td></tr><tr><td>(2)</td><td>Bill Gates founded Microsoft in 1975</td></tr><tr><td>NOTA</td><td>Einstein was born in 1879.</td></tr></table>",
|
| 88 |
+
"bbox": [
|
| 89 |
+
532,
|
| 90 |
+
249,
|
| 91 |
+
860,
|
| 92 |
+
404
|
| 93 |
+
],
|
| 94 |
+
"page_idx": 0
|
| 95 |
+
},
|
| 96 |
+
{
|
| 97 |
+
"type": "text",
|
| 98 |
+
"text": "Table 1: An example for a 2-way 1-shot episode with $50\\%$ NOTA rate, where 2 indicates the number of classes and each class has one instance. The head entity is marked in red, and the tail entity is marked in blue.",
|
| 99 |
+
"bbox": [
|
| 100 |
+
507,
|
| 101 |
+
414,
|
| 102 |
+
882,
|
| 103 |
+
470
|
| 104 |
+
],
|
| 105 |
+
"page_idx": 0
|
| 106 |
+
},
|
| 107 |
+
{
|
| 108 |
+
"type": "text",
|
| 109 |
+
"text": "recognized by reference to this support set. But for the second query instance, the relation between \"Einstein\" and \"1879\" is \"born in\". It cannot find a reference from the support set.",
|
| 110 |
+
"bbox": [
|
| 111 |
+
504,
|
| 112 |
+
498,
|
| 113 |
+
882,
|
| 114 |
+
562
|
| 115 |
+
],
|
| 116 |
+
"page_idx": 0
|
| 117 |
+
},
|
| 118 |
+
{
|
| 119 |
+
"type": "text",
|
| 120 |
+
"text": "Gao et al. (2019b) define such relation as none-of-the-above (NOTA) and propose a new task setting. Its challenge relies on the accurate detection of both the known instances and NOTA ones. Previous works extend $N$ -way to $(N + 1)$ -way, regarding NOTA relation as an extra class. Then the problem is further solved by classification (Gao et al., 2019b), or computing distance with pre-defined learnable vectors (Sabo et al., 2021), or multiple choice (Liu et al., 2022). Despite their popularity and superiority, they only focus on detecting NOTA effectively rather than refining the distribution of NOTA instances, leaving the overall distribution of all instances ignored. However, NOTA is not a simple $(N + 1)$ -th class, which tends to be outliers for the known $N$ relations. As an illustration, MNAV may lead some NOTA instances to cluster around a particular vector. However, the clustering of these instances from different categories together is unnatural. Therefore, motivated by this, we study from the view of instance distribution.",
|
| 121 |
+
"bbox": [
|
| 122 |
+
507,
|
| 123 |
+
564,
|
| 124 |
+
884,
|
| 125 |
+
901
|
| 126 |
+
],
|
| 127 |
+
"page_idx": 0
|
| 128 |
+
},
|
| 129 |
+
{
|
| 130 |
+
"type": "text",
|
| 131 |
+
"text": "In this paper, our initial research question is what",
|
| 132 |
+
"bbox": [
|
| 133 |
+
526,
|
| 134 |
+
903,
|
| 135 |
+
880,
|
| 136 |
+
917
|
| 137 |
+
],
|
| 138 |
+
"page_idx": 0
|
| 139 |
+
},
|
| 140 |
+
{
|
| 141 |
+
"type": "page_footnote",
|
| 142 |
+
"text": "*Mengting Hu is the corresponding author.",
|
| 143 |
+
"bbox": [
|
| 144 |
+
139,
|
| 145 |
+
879,
|
| 146 |
+
406,
|
| 147 |
+
892
|
| 148 |
+
],
|
| 149 |
+
"page_idx": 0
|
| 150 |
+
},
|
| 151 |
+
{
|
| 152 |
+
"type": "page_footnote",
|
| 153 |
+
"text": "<sup>1</sup>The code is released on GitHub at https://github. com/Pisces-29/DProto.",
|
| 154 |
+
"bbox": [
|
| 155 |
+
115,
|
| 156 |
+
892,
|
| 157 |
+
487,
|
| 158 |
+
917
|
| 159 |
+
],
|
| 160 |
+
"page_idx": 0
|
| 161 |
+
},
|
| 162 |
+
{
|
| 163 |
+
"type": "page_number",
|
| 164 |
+
"text": "2477",
|
| 165 |
+
"bbox": [
|
| 166 |
+
478,
|
| 167 |
+
927,
|
| 168 |
+
519,
|
| 169 |
+
940
|
| 170 |
+
],
|
| 171 |
+
"page_idx": 0
|
| 172 |
+
},
|
| 173 |
+
{
|
| 174 |
+
"type": "footer",
|
| 175 |
+
"text": "Findings of the Association for Computational Linguistics: EMNLP 2023, pages 2477-2489 December 6-10, 2023 ©2023 Association for Computational Linguistics",
|
| 176 |
+
"bbox": [
|
| 177 |
+
216,
|
| 178 |
+
945,
|
| 179 |
+
779,
|
| 180 |
+
972
|
| 181 |
+
],
|
| 182 |
+
"page_idx": 0
|
| 183 |
+
},
|
| 184 |
+
{
|
| 185 |
+
"type": "text",
|
| 186 |
+
"text": "instances distribution is ideal. For known samples, intra-class needs to be well clustered and interclass is clearly separated. And NOTA samples, without gathering, should be distributed away from all known instances. In light of these properties, we propose a density-aware prototypical network (D-Proto) that takes into account the density of different types of instances. Specifically, to guarantee the ideal instance distribution of known instances, we introduce neighborhood component analysis (NCA) (Laenen and Bertinetto, 2021), which involves all sample pairs out of the support and query sets. For NOTA instances, we propose a NOTA loss, which aims at pushing them away from all non-NOTA ones. By making NOTA instances isolated, both of them become more distinguishable in the embedding space.",
|
| 187 |
+
"bbox": [
|
| 188 |
+
112,
|
| 189 |
+
84,
|
| 190 |
+
489,
|
| 191 |
+
357
|
| 192 |
+
],
|
| 193 |
+
"page_idx": 1
|
| 194 |
+
},
|
| 195 |
+
{
|
| 196 |
+
"type": "text",
|
| 197 |
+
"text": "Moreover, the ideal distribution will lead to distinct densities for NOTA and known samples. That is to say, known instances are distributed densely since the intra-class is clustered together. NOTA's density is small as it is isolated from others. Therefore, we propose a NOTA detection module by fully enhancing the density properties. Concretely, to promote the density of known instances, we design intra-class prototype enhancement. By adding prototypes and degenerative prototypes, their densities could be further enlarged. Based on this, we propose a prototype enhanced local outlier factor (PLOF) to calculate the outlier extent of an instance through distances with its neighbors. Finally, we propose a base score that uses the extremal distance ratio between query samples and $N$ prototypes. By fusing PLOF and base score, the final NOTA score is obtained to accurately discriminate between NOTA instances and known ones.",
|
| 198 |
+
"bbox": [
|
| 199 |
+
115,
|
| 200 |
+
357,
|
| 201 |
+
489,
|
| 202 |
+
662
|
| 203 |
+
],
|
| 204 |
+
"page_idx": 1
|
| 205 |
+
},
|
| 206 |
+
{
|
| 207 |
+
"type": "text",
|
| 208 |
+
"text": "In summary, the main contributions of our work are as follows:",
|
| 209 |
+
"bbox": [
|
| 210 |
+
112,
|
| 211 |
+
664,
|
| 212 |
+
487,
|
| 213 |
+
694
|
| 214 |
+
],
|
| 215 |
+
"page_idx": 1
|
| 216 |
+
},
|
| 217 |
+
{
|
| 218 |
+
"type": "list",
|
| 219 |
+
"sub_type": "text",
|
| 220 |
+
"list_items": [
|
| 221 |
+
"- We propose D-Proto to address the more challenging few-shot relation classification task. To the best of our knowledge, this work is the first to model the overall instance distribution in an episode.",
|
| 222 |
+
"- We introduce the NCA objective and propose a NOTA loss to achieve ideal instance distribution. Based on its ideality, we further propose a prototype enhanced local outlier factor (PLOF) and a base score to fully leverage the density properties.",
|
| 223 |
+
"- Extensive experimental results demonstrated"
|
| 224 |
+
],
|
| 225 |
+
"bbox": [
|
| 226 |
+
136,
|
| 227 |
+
705,
|
| 228 |
+
487,
|
| 229 |
+
917
|
| 230 |
+
],
|
| 231 |
+
"page_idx": 1
|
| 232 |
+
},
|
| 233 |
+
{
|
| 234 |
+
"type": "image",
|
| 235 |
+
"img_path": "images/ef8051553521c3146c5f387142b35ca933f9c7bd08475946c581640ac554e461.jpg",
|
| 236 |
+
"image_caption": [
|
| 237 |
+
"Figure 1: The framework overview of D-Proto. In this example, the support set is 2-way 3-shot. During training, two different query samples are for class 1 and NOTA, respectively. During testing, queries are first predicted via distances with prototypes and further revised with a NOTA detection module."
|
| 238 |
+
],
|
| 239 |
+
"image_footnote": [],
|
| 240 |
+
"bbox": [
|
| 241 |
+
514,
|
| 242 |
+
80,
|
| 243 |
+
882,
|
| 244 |
+
219
|
| 245 |
+
],
|
| 246 |
+
"page_idx": 1
|
| 247 |
+
},
|
| 248 |
+
{
|
| 249 |
+
"type": "text",
|
| 250 |
+
"text": "the effectiveness and robustness of our approach on both fixed and random episode sampling with various NOTA rates.",
|
| 251 |
+
"bbox": [
|
| 252 |
+
544,
|
| 253 |
+
338,
|
| 254 |
+
884,
|
| 255 |
+
387
|
| 256 |
+
],
|
| 257 |
+
"page_idx": 1
|
| 258 |
+
},
|
| 259 |
+
{
|
| 260 |
+
"type": "text",
|
| 261 |
+
"text": "2 Methodology",
|
| 262 |
+
"text_level": 1,
|
| 263 |
+
"bbox": [
|
| 264 |
+
507,
|
| 265 |
+
399,
|
| 266 |
+
658,
|
| 267 |
+
416
|
| 268 |
+
],
|
| 269 |
+
"page_idx": 1
|
| 270 |
+
},
|
| 271 |
+
{
|
| 272 |
+
"type": "text",
|
| 273 |
+
"text": "2.1 Formulation and Method Overview",
|
| 274 |
+
"text_level": 1,
|
| 275 |
+
"bbox": [
|
| 276 |
+
507,
|
| 277 |
+
425,
|
| 278 |
+
835,
|
| 279 |
+
439
|
| 280 |
+
],
|
| 281 |
+
"page_idx": 1
|
| 282 |
+
},
|
| 283 |
+
{
|
| 284 |
+
"type": "text",
|
| 285 |
+
"text": "Given the training set $\\mathcal{D}_{train}$ , we sample multiple episodes, where each of them is composed of $\\{\\mathcal{S},\\mathcal{Q},\\mathcal{R}\\}$ . The relation set $\\mathcal{R} = \\{r^1,r^2,\\dots,r^N\\}$ mentions $N$ relations. The support set $\\mathcal{S}$ follows $N$ -way $K$ -shot setting, which contains $N$ relations, and each relation $r^i$ has $K$ instances.",
|
| 286 |
+
"bbox": [
|
| 287 |
+
507,
|
| 288 |
+
445,
|
| 289 |
+
884,
|
| 290 |
+
542
|
| 291 |
+
],
|
| 292 |
+
"page_idx": 1
|
| 293 |
+
},
|
| 294 |
+
{
|
| 295 |
+
"type": "equation",
|
| 296 |
+
"text": "\n$$\n\\mathcal {S} = \\left\\{\\left(s _ {j} ^ {i}, r _ {j} ^ {i}\\right) \\right\\}, 1 \\leq i \\leq N, 1 \\leq j \\leq K\n$$\n",
|
| 297 |
+
"text_format": "latex",
|
| 298 |
+
"bbox": [
|
| 299 |
+
547,
|
| 300 |
+
554,
|
| 301 |
+
843,
|
| 302 |
+
574
|
| 303 |
+
],
|
| 304 |
+
"page_idx": 1
|
| 305 |
+
},
|
| 306 |
+
{
|
| 307 |
+
"type": "text",
|
| 308 |
+
"text": "where $s_j^i$ denotes the $j$ -th sample belonging to the relation $r^i$ . The query set $\\mathcal{Q}$ is composed of two kinds of instances: known instances, which belongs to the relation set $\\mathcal{R}$ of the support set; NOTA instances, without references from the support set.",
|
| 309 |
+
"bbox": [
|
| 310 |
+
507,
|
| 311 |
+
583,
|
| 312 |
+
882,
|
| 313 |
+
668
|
| 314 |
+
],
|
| 315 |
+
"page_idx": 1
|
| 316 |
+
},
|
| 317 |
+
{
|
| 318 |
+
"type": "equation",
|
| 319 |
+
"text": "\n$$\n\\mathcal {Q} = \\{(q _ {1}, r _ {1}), \\dots , (q _ {n}, r _ {n}), (\\overline {{q}} _ {1}, \\overline {{r}}), \\dots , (\\overline {{q}} _ {m}, \\overline {{r}}) \\}\n$$\n",
|
| 320 |
+
"text_format": "latex",
|
| 321 |
+
"bbox": [
|
| 322 |
+
521,
|
| 323 |
+
680,
|
| 324 |
+
870,
|
| 325 |
+
697
|
| 326 |
+
],
|
| 327 |
+
"page_idx": 1
|
| 328 |
+
},
|
| 329 |
+
{
|
| 330 |
+
"type": "text",
|
| 331 |
+
"text": "where $\\{(q_j,r_j)\\}_{j = 1}^n$ are the known instances and $\\{(\\overline{q}_j,\\overline{r})\\}_{j = 1}^m$ are the NOTA instances. Here $\\overline{r}$ denotes the NOTA relation. The query set $\\mathcal{Q}$ is predicted with the help of support set $S$ . Our goal is to recognize all samples in $\\mathcal{Q}$ accurately.",
|
| 332 |
+
"bbox": [
|
| 333 |
+
507,
|
| 334 |
+
709,
|
| 335 |
+
884,
|
| 336 |
+
789
|
| 337 |
+
],
|
| 338 |
+
"page_idx": 1
|
| 339 |
+
},
|
| 340 |
+
{
|
| 341 |
+
"type": "text",
|
| 342 |
+
"text": "The proposed approach is depicted in Figure 1. A sample is encoded with BERT $E(\\cdot)$ (Devlin et al., 2019), yielding the vector representation of [CLS]. In the embedding space, we design two training objectives: 1) known sample separation $\\mathcal{L}_{nca}$ aims to increase the separability of known samples by reducing intra-class distances and enlarging inter-class distances; 2) NOTA sample isolation $\\mathcal{L}_{nota}$",
|
| 343 |
+
"bbox": [
|
| 344 |
+
505,
|
| 345 |
+
791,
|
| 346 |
+
884,
|
| 347 |
+
919
|
| 348 |
+
],
|
| 349 |
+
"page_idx": 1
|
| 350 |
+
},
|
| 351 |
+
{
|
| 352 |
+
"type": "page_number",
|
| 353 |
+
"text": "2478",
|
| 354 |
+
"bbox": [
|
| 355 |
+
480,
|
| 356 |
+
927,
|
| 357 |
+
519,
|
| 358 |
+
940
|
| 359 |
+
],
|
| 360 |
+
"page_idx": 1
|
| 361 |
+
},
|
| 362 |
+
{
|
| 363 |
+
"type": "text",
|
| 364 |
+
"text": "push NOTA samples to be distinct from known ones, making them more easily identifiable as outliers. Ultimately, our model is optimized by the combination of two training objectives.",
|
| 365 |
+
"bbox": [
|
| 366 |
+
112,
|
| 367 |
+
84,
|
| 368 |
+
489,
|
| 369 |
+
149
|
| 370 |
+
],
|
| 371 |
+
"page_idx": 2
|
| 372 |
+
},
|
| 373 |
+
{
|
| 374 |
+
"type": "equation",
|
| 375 |
+
"text": "\n$$\n\\mathcal {L} = \\mathcal {L} _ {n c a} - \\alpha \\mathcal {L} _ {n o t a} \\tag {1}\n$$\n",
|
| 376 |
+
"text_format": "latex",
|
| 377 |
+
"bbox": [
|
| 378 |
+
223,
|
| 379 |
+
167,
|
| 380 |
+
487,
|
| 381 |
+
183
|
| 382 |
+
],
|
| 383 |
+
"page_idx": 2
|
| 384 |
+
},
|
| 385 |
+
{
|
| 386 |
+
"type": "text",
|
| 387 |
+
"text": "where $\\alpha$ is a hyper-parameter to balance the contribution of NOTA loss.",
|
| 388 |
+
"bbox": [
|
| 389 |
+
112,
|
| 390 |
+
200,
|
| 391 |
+
489,
|
| 392 |
+
231
|
| 393 |
+
],
|
| 394 |
+
"page_idx": 2
|
| 395 |
+
},
|
| 396 |
+
{
|
| 397 |
+
"type": "text",
|
| 398 |
+
"text": "In the testing phase, we propose NOTA detection module, fusing PLOF and base score into NOTA score. Each sample's NOTA score then reveals its outlier extent. NOTA samples will be easily discriminated from known samples. Next, we will introduce each module in detail.",
|
| 399 |
+
"bbox": [
|
| 400 |
+
112,
|
| 401 |
+
234,
|
| 402 |
+
489,
|
| 403 |
+
330
|
| 404 |
+
],
|
| 405 |
+
"page_idx": 2
|
| 406 |
+
},
|
| 407 |
+
{
|
| 408 |
+
"type": "text",
|
| 409 |
+
"text": "2.2 Known Sample Separation",
|
| 410 |
+
"text_level": 1,
|
| 411 |
+
"bbox": [
|
| 412 |
+
112,
|
| 413 |
+
347,
|
| 414 |
+
371,
|
| 415 |
+
363
|
| 416 |
+
],
|
| 417 |
+
"page_idx": 2
|
| 418 |
+
},
|
| 419 |
+
{
|
| 420 |
+
"type": "text",
|
| 421 |
+
"text": "Although considering the overall instance distribution is intuitive, its ideal is not easy to attain in the few-shot scenario. Due to the limitation of samples, a sample and its neighbors are all important for quantifying density. Therefore, we introduce neighborhood component analysis (NCA) loss (Laenen and Bertinetto, 2021). It considers the distances between all sample pairs from both the support set and the query set. In other words, $K$ samples of some relation are pulled together interactively and away from all other $K \\times (N - 1)$ samples.",
|
| 422 |
+
"bbox": [
|
| 423 |
+
112,
|
| 424 |
+
370,
|
| 425 |
+
489,
|
| 426 |
+
548
|
| 427 |
+
],
|
| 428 |
+
"page_idx": 2
|
| 429 |
+
},
|
| 430 |
+
{
|
| 431 |
+
"type": "text",
|
| 432 |
+
"text": "Assume all instances in an episode are $\\mathcal{B} = \\{(x_i,r_i)|(x_i,r_i)\\in \\{\\mathcal{S}\\cup \\mathcal{Q}\\} ,1\\leq i\\leq b\\}$ then all the known instances are defined as $\\mathcal{B}_k = \\{(x_i,r_i)|(x_i,r_i)\\in \\mathcal{B},r_i\\neq \\overline{r}\\}$ where $x_{i}$ is a instance, $r_i$ is its relation, $\\overline{r}$ represents the NOTA relation. NCA loss is formulated as below.",
|
| 433 |
+
"bbox": [
|
| 434 |
+
112,
|
| 435 |
+
550,
|
| 436 |
+
489,
|
| 437 |
+
646
|
| 438 |
+
],
|
| 439 |
+
"page_idx": 2
|
| 440 |
+
},
|
| 441 |
+
{
|
| 442 |
+
"type": "equation",
|
| 443 |
+
"text": "\n$$\n\\begin{array}{l} \\mathcal{L}_{nca} = \\frac{-1}{|\\mathcal{B}_{k}|}\\sum_{\\substack{i\\in 1,\\ldots b\\\\ r_{i}\\neq \\overline{r}}}\\log \\\\ \\left( \\begin{array}{l} \\sum_ {j \\in 1,.., b} \\exp (- d ^ {2} (\\boldsymbol {x} _ {i}, \\boldsymbol {x} _ {j})) \\\\ \\frac {\\sum_ {k \\in 1 , . . . , b} \\exp (- d ^ {2} (\\boldsymbol {x} _ {i} , \\boldsymbol {x} _ {k}))}{r _ {k} \\neq \\bar {r}} \\end{array} \\right) \\tag {2} \\\\ \\end{array}\n$$\n",
|
| 444 |
+
"text_format": "latex",
|
| 445 |
+
"bbox": [
|
| 446 |
+
163,
|
| 447 |
+
658,
|
| 448 |
+
487,
|
| 449 |
+
808
|
| 450 |
+
],
|
| 451 |
+
"page_idx": 2
|
| 452 |
+
},
|
| 453 |
+
{
|
| 454 |
+
"type": "text",
|
| 455 |
+
"text": "where $\\boldsymbol{x}_i = E(\\boldsymbol{x}_i)$ is the vector representation for the instance $x_i$ . $d(\\cdot, \\cdot)$ represents the Euclidean distance. $|\\mathcal{B}_k|$ indicates the number of samples in $\\mathcal{B}_k$ . With $\\mathcal{L}_{nca}$ , the intra-class is clustered together and the inter-class is away from each other, making a good distribution for the density of known samples.",
|
| 456 |
+
"bbox": [
|
| 457 |
+
112,
|
| 458 |
+
822,
|
| 459 |
+
490,
|
| 460 |
+
919
|
| 461 |
+
],
|
| 462 |
+
"page_idx": 2
|
| 463 |
+
},
|
| 464 |
+
{
|
| 465 |
+
"type": "image",
|
| 466 |
+
"img_path": "images/ee4be0a89719bd16639b8a40bfe4df0c95628a94be7570f289031076d76c5fb8.jpg",
|
| 467 |
+
"image_caption": [
|
| 468 |
+
"Figure 2: Illustration of expanding instance sets for each relation in PLOF. We specifically augment with prototypes and degenerative prototypes."
|
| 469 |
+
],
|
| 470 |
+
"image_footnote": [],
|
| 471 |
+
"bbox": [
|
| 472 |
+
531,
|
| 473 |
+
80,
|
| 474 |
+
867,
|
| 475 |
+
305
|
| 476 |
+
],
|
| 477 |
+
"page_idx": 2
|
| 478 |
+
},
|
| 479 |
+
{
|
| 480 |
+
"type": "text",
|
| 481 |
+
"text": "2.3 NOTA Sample Isolation",
|
| 482 |
+
"text_level": 1,
|
| 483 |
+
"bbox": [
|
| 484 |
+
507,
|
| 485 |
+
384,
|
| 486 |
+
742,
|
| 487 |
+
400
|
| 488 |
+
],
|
| 489 |
+
"page_idx": 2
|
| 490 |
+
},
|
| 491 |
+
{
|
| 492 |
+
"type": "text",
|
| 493 |
+
"text": "Since NOTA samples are outliers for $N$ known relation clusters, they should be isolated from known ones. Meanwhile, if a query set has multiple NOTAs, they might belong to different relations like the second query instance of Table 1. Aggregating NOTA samples into the $(N + 1)$ -th class may cause a negative impact on distinguishing relations. Therefore, we propose NOTA loss to push each NOTA instance away from all the known samples. The NOTA instances are denoted as $\\mathcal{B}_{\\text{nota}} = \\{(x_i, r_i) | (x_i, r_i) \\in \\mathcal{B}, r_i = \\overline{r}\\}$ . $\\mathcal{L}_{\\text{nota}}$ is defined as below.",
|
| 494 |
+
"bbox": [
|
| 495 |
+
507,
|
| 496 |
+
406,
|
| 497 |
+
884,
|
| 498 |
+
599
|
| 499 |
+
],
|
| 500 |
+
"page_idx": 2
|
| 501 |
+
},
|
| 502 |
+
{
|
| 503 |
+
"type": "equation",
|
| 504 |
+
"text": "\n$$\n\\begin{array}{l} \\mathcal{L}_{nota} = \\frac{-1}{|\\mathcal{B}_{nota}|}\\sum_{\\substack{i\\in 1,\\ldots ,b\\\\ r_{i} = \\overline{r}}}\\log \\\\ \\left(\\sum_ {\\substack {j \\in 1, \\dots , b \\\\ r _ {j} \\neq \\bar {r}}} \\exp (- d ^ {2} (\\boldsymbol {x} _ {i}, \\boldsymbol {x} _ {j}))\\right) \\tag{3} \\\\ \\end{array}\n$$\n",
|
| 505 |
+
"text_format": "latex",
|
| 506 |
+
"bbox": [
|
| 507 |
+
559,
|
| 508 |
+
609,
|
| 509 |
+
882,
|
| 510 |
+
728
|
| 511 |
+
],
|
| 512 |
+
"page_idx": 2
|
| 513 |
+
},
|
| 514 |
+
{
|
| 515 |
+
"type": "text",
|
| 516 |
+
"text": "In this way, each NOTA sample is isolated from all others, which is beneficial for detecting known relations and NOTA via density.",
|
| 517 |
+
"bbox": [
|
| 518 |
+
507,
|
| 519 |
+
739,
|
| 520 |
+
882,
|
| 521 |
+
788
|
| 522 |
+
],
|
| 523 |
+
"page_idx": 2
|
| 524 |
+
},
|
| 525 |
+
{
|
| 526 |
+
"type": "text",
|
| 527 |
+
"text": "2.4 NOTA Detection",
|
| 528 |
+
"text_level": 1,
|
| 529 |
+
"bbox": [
|
| 530 |
+
507,
|
| 531 |
+
800,
|
| 532 |
+
687,
|
| 533 |
+
814
|
| 534 |
+
],
|
| 535 |
+
"page_idx": 2
|
| 536 |
+
},
|
| 537 |
+
{
|
| 538 |
+
"type": "text",
|
| 539 |
+
"text": "To further quantify densities accurately for few-shot samples, we promote the testing phase with PLOF and base score. They are aggregated into the final NOTA score, which indicates an instance's outlier degree through its nearest instances and prototypes. Next, we will introduce them individually.",
|
| 540 |
+
"bbox": [
|
| 541 |
+
507,
|
| 542 |
+
822,
|
| 543 |
+
884,
|
| 544 |
+
919
|
| 545 |
+
],
|
| 546 |
+
"page_idx": 2
|
| 547 |
+
},
|
| 548 |
+
{
|
| 549 |
+
"type": "page_number",
|
| 550 |
+
"text": "2479",
|
| 551 |
+
"bbox": [
|
| 552 |
+
480,
|
| 553 |
+
927,
|
| 554 |
+
519,
|
| 555 |
+
940
|
| 556 |
+
],
|
| 557 |
+
"page_idx": 2
|
| 558 |
+
},
|
| 559 |
+
{
|
| 560 |
+
"type": "image",
|
| 561 |
+
"img_path": "images/dbea161bd948359c2c1f58502fde5ed528b17a5b08513a22adcd67b509be60ec.jpg",
|
| 562 |
+
"image_caption": [
|
| 563 |
+
"Figure 3: A 3-neighborhood example. The radius of each circle represents 3-distance."
|
| 564 |
+
],
|
| 565 |
+
"image_footnote": [],
|
| 566 |
+
"bbox": [
|
| 567 |
+
189,
|
| 568 |
+
80,
|
| 569 |
+
415,
|
| 570 |
+
227
|
| 571 |
+
],
|
| 572 |
+
"page_idx": 3
|
| 573 |
+
},
|
| 574 |
+
{
|
| 575 |
+
"type": "text",
|
| 576 |
+
"text": "Prototype Enhanced Local Outlier Factor (PLOF) Different from the naive prototypical network (Snell et al., 2017), we compute the sample pair distances as Eq. (2). However, during inference, we argue that the prototypes can be leveraged to enlarge the density. Therefore, as depicted in Figure 2, we first calculate the prototype for each relation as below and expand the relation's vector set with its prototype.",
|
| 577 |
+
"bbox": [
|
| 578 |
+
112,
|
| 579 |
+
291,
|
| 580 |
+
489,
|
| 581 |
+
436
|
| 582 |
+
],
|
| 583 |
+
"page_idx": 3
|
| 584 |
+
},
|
| 585 |
+
{
|
| 586 |
+
"type": "equation",
|
| 587 |
+
"text": "\n$$\n\\boldsymbol {c} ^ {\\boldsymbol {r} ^ {i}} = \\frac {1}{K} \\sum_ {j = 1} ^ {K} E \\left(s _ {j} ^ {i}\\right) \\tag {4}\n$$\n",
|
| 588 |
+
"text_format": "latex",
|
| 589 |
+
"bbox": [
|
| 590 |
+
221,
|
| 591 |
+
445,
|
| 592 |
+
487,
|
| 593 |
+
491
|
| 594 |
+
],
|
| 595 |
+
"page_idx": 3
|
| 596 |
+
},
|
| 597 |
+
{
|
| 598 |
+
"type": "text",
|
| 599 |
+
"text": "To further boost the density and improve the identification of NOTA samples, we propose a special type of prototype, referred to as a \"degenerative prototype\", which is computed with a degenerative set of instances.",
|
| 600 |
+
"bbox": [
|
| 601 |
+
112,
|
| 602 |
+
500,
|
| 603 |
+
487,
|
| 604 |
+
579
|
| 605 |
+
],
|
| 606 |
+
"page_idx": 3
|
| 607 |
+
},
|
| 608 |
+
{
|
| 609 |
+
"type": "equation",
|
| 610 |
+
"text": "\n$$\n\\boldsymbol{c}_{m}^{r^{i}} = \\frac{1}{K - 1}\\sum_{\\substack{j = 1,\\ldots ,K\\\\ j\\neq m}}E(s_{j}^{i}),1\\leq m\\leq K \\quad (5)\n$$\n",
|
| 611 |
+
"text_format": "latex",
|
| 612 |
+
"bbox": [
|
| 613 |
+
132,
|
| 614 |
+
587,
|
| 615 |
+
487,
|
| 616 |
+
636
|
| 617 |
+
],
|
| 618 |
+
"page_idx": 3
|
| 619 |
+
},
|
| 620 |
+
{
|
| 621 |
+
"type": "text",
|
| 622 |
+
"text": "Intuitively, each degenerative prototype $c_{m}^{r^i}$ is a vector obtained by averaging $(K - 1)$ support embeddings belonging to its relation $r^i$ after removing a support instance $s_m^i$ . As shown in Figure 2, the augmentation of prototypes and degenerative prototypes significantly increases the density of known instances and the outlier status of NOTAs, thus improving the detection.",
|
| 623 |
+
"bbox": [
|
| 624 |
+
112,
|
| 625 |
+
646,
|
| 626 |
+
487,
|
| 627 |
+
778
|
| 628 |
+
],
|
| 629 |
+
"page_idx": 3
|
| 630 |
+
},
|
| 631 |
+
{
|
| 632 |
+
"type": "text",
|
| 633 |
+
"text": "Before calculating the PLOF of each instance, the original instance set $\\mathcal{B}$ is expanded to $\\mathcal{B}_{plof} = \\mathcal{B} \\cup \\mathcal{P} \\cup \\mathcal{D}\\mathcal{P}$ .",
|
| 634 |
+
"bbox": [
|
| 635 |
+
112,
|
| 636 |
+
778,
|
| 637 |
+
487,
|
| 638 |
+
825
|
| 639 |
+
],
|
| 640 |
+
"page_idx": 3
|
| 641 |
+
},
|
| 642 |
+
{
|
| 643 |
+
"type": "equation",
|
| 644 |
+
"text": "\n$$\n\\mathcal {P} = \\left\\{\\boldsymbol {c} ^ {r ^ {i}} \\right\\}, 1 \\leq i \\leq N\n$$\n",
|
| 645 |
+
"text_format": "latex",
|
| 646 |
+
"bbox": [
|
| 647 |
+
169,
|
| 648 |
+
834,
|
| 649 |
+
344,
|
| 650 |
+
853
|
| 651 |
+
],
|
| 652 |
+
"page_idx": 3
|
| 653 |
+
},
|
| 654 |
+
{
|
| 655 |
+
"type": "equation",
|
| 656 |
+
"text": "\n$$\n\\mathcal {D P} = \\{c _ {m} ^ {r ^ {i}} \\}, 1 \\leq i \\leq N, 1 \\leq m \\leq K\n$$\n",
|
| 657 |
+
"text_format": "latex",
|
| 658 |
+
"bbox": [
|
| 659 |
+
157,
|
| 660 |
+
858,
|
| 661 |
+
443,
|
| 662 |
+
877
|
| 663 |
+
],
|
| 664 |
+
"page_idx": 3
|
| 665 |
+
},
|
| 666 |
+
{
|
| 667 |
+
"type": "text",
|
| 668 |
+
"text": "where $\\mathcal{P}$ is the prototype set and $\\mathcal{D}\\mathcal{P}$ is the degenerative prototype set.",
|
| 669 |
+
"bbox": [
|
| 670 |
+
112,
|
| 671 |
+
887,
|
| 672 |
+
487,
|
| 673 |
+
919
|
| 674 |
+
],
|
| 675 |
+
"page_idx": 3
|
| 676 |
+
},
|
| 677 |
+
{
|
| 678 |
+
"type": "image",
|
| 679 |
+
"img_path": "images/53949cb9b4b54bcb696b4afd9eb057005bab2bb14142fb8b18800c2ef0a58130.jpg",
|
| 680 |
+
"image_caption": [
|
| 681 |
+
"Figure 4: An example of a 2-way 3-shot scenario. For a known query, its base score is much smaller than that of a NOTA query."
|
| 682 |
+
],
|
| 683 |
+
"image_footnote": [],
|
| 684 |
+
"bbox": [
|
| 685 |
+
564,
|
| 686 |
+
80,
|
| 687 |
+
830,
|
| 688 |
+
231
|
| 689 |
+
],
|
| 690 |
+
"page_idx": 3
|
| 691 |
+
},
|
| 692 |
+
{
|
| 693 |
+
"type": "text",
|
| 694 |
+
"text": "Then given a positive integer $k$ ( $k < |\\mathcal{B}_{plof}|$ ), the $k$ -distance $d_{k}(\\boldsymbol{q})$ of an vector $\\boldsymbol{q}$ , is defined as that for an instance $\\boldsymbol{o} \\in \\mathcal{B}_{plof} \\backslash \\{\\boldsymbol{q}\\}$ , there are at least $(k - 1)$ instances $\\boldsymbol{v}$ of which holds that $d(\\boldsymbol{q}, \\boldsymbol{v}) < d(\\boldsymbol{q}, \\boldsymbol{o})$ , where $\\boldsymbol{v} \\in \\mathcal{B}_{plof} \\backslash \\{\\boldsymbol{q}, \\boldsymbol{o}\\}$ . Here the symbol $\\backslash$ indicates except. After finding such instance $\\boldsymbol{o}$ , $d_{k}(\\boldsymbol{q}) = d(\\boldsymbol{q}, \\boldsymbol{o})$ . The Euclidean distance between $\\boldsymbol{q}$ and all the chosen instances are less than or equal to $d_{k}(\\boldsymbol{q})$ . As shown in Figure 3, dashed circles surround the chosen instances for each target $\\boldsymbol{q}$ . These instances are called the $k$ -neighborhood set of $\\boldsymbol{q}$ , denoted as $N_{k}(\\boldsymbol{q}) = \\{\\boldsymbol{v} \\in \\mathcal{B}_{plof} \\backslash \\{\\boldsymbol{q}\\} | d(\\boldsymbol{q}, \\boldsymbol{v}) \\leq d_{k}(\\boldsymbol{q})\\}$ . Based on $k$ -neighborhood, the local reachability distance $lrd$ is defined as follows:",
|
| 695 |
+
"bbox": [
|
| 696 |
+
507,
|
| 697 |
+
306,
|
| 698 |
+
884,
|
| 699 |
+
546
|
| 700 |
+
],
|
| 701 |
+
"page_idx": 3
|
| 702 |
+
},
|
| 703 |
+
{
|
| 704 |
+
"type": "equation",
|
| 705 |
+
"text": "\n$$\nl r d (\\boldsymbol {q}) = \\frac {\\left| N _ {k} (\\boldsymbol {q}) \\right|}{\\sum_ {\\boldsymbol {o} \\in N _ {k} (\\boldsymbol {q})} \\max \\left\\{d _ {k} (\\boldsymbol {o}) , d (\\boldsymbol {q} , \\boldsymbol {o}) \\right\\}} \\tag {6}\n$$\n",
|
| 706 |
+
"text_format": "latex",
|
| 707 |
+
"bbox": [
|
| 708 |
+
524,
|
| 709 |
+
552,
|
| 710 |
+
882,
|
| 711 |
+
590
|
| 712 |
+
],
|
| 713 |
+
"page_idx": 3
|
| 714 |
+
},
|
| 715 |
+
{
|
| 716 |
+
"type": "text",
|
| 717 |
+
"text": "Obviously, $lrd(\\pmb{q})$ is the inverse of the average reachability distance based on the $k$ -neighborhood of $\\pmb{q}$ . Based on it, we further define PLOF as the average of the ratio of the local reachability density of $\\pmb{q}$ and those of $\\pmb{q}$ 's $k$ -neighborhood.",
|
| 718 |
+
"bbox": [
|
| 719 |
+
507,
|
| 720 |
+
599,
|
| 721 |
+
882,
|
| 722 |
+
678
|
| 723 |
+
],
|
| 724 |
+
"page_idx": 3
|
| 725 |
+
},
|
| 726 |
+
{
|
| 727 |
+
"type": "equation",
|
| 728 |
+
"text": "\n$$\nP L O F (\\boldsymbol {q}) = \\frac {\\sum_ {\\boldsymbol {v} \\in N _ {k} (\\boldsymbol {q})} \\frac {l r d (\\boldsymbol {v})}{l r d (\\boldsymbol {q})}}{| N _ {k} (\\boldsymbol {q}) |} \\tag {7}\n$$\n",
|
| 729 |
+
"text_format": "latex",
|
| 730 |
+
"bbox": [
|
| 731 |
+
576,
|
| 732 |
+
688,
|
| 733 |
+
882,
|
| 734 |
+
730
|
| 735 |
+
],
|
| 736 |
+
"page_idx": 3
|
| 737 |
+
},
|
| 738 |
+
{
|
| 739 |
+
"type": "text",
|
| 740 |
+
"text": "By considering the neighbors, PLOF better reflects the density. Meanwhile, the higher the PLOF value of $\\pmb{q}$ , the more probable that $\\pmb{q}$ is an outlier (e.g. a NOTA sample).",
|
| 741 |
+
"bbox": [
|
| 742 |
+
507,
|
| 743 |
+
737,
|
| 744 |
+
882,
|
| 745 |
+
802
|
| 746 |
+
],
|
| 747 |
+
"page_idx": 3
|
| 748 |
+
},
|
| 749 |
+
{
|
| 750 |
+
"type": "text",
|
| 751 |
+
"text": "Base Score Query instances are recognized with the help of support prototypes. We observe an interesting property on the distances between the query instances and support prototypes. As depicted in Figure 4, the non-NOTA query is close to its own prototype but far away from the other prototypes. Yet the phenomenon is different for the",
|
| 752 |
+
"bbox": [
|
| 753 |
+
507,
|
| 754 |
+
806,
|
| 755 |
+
882,
|
| 756 |
+
917
|
| 757 |
+
],
|
| 758 |
+
"page_idx": 3
|
| 759 |
+
},
|
| 760 |
+
{
|
| 761 |
+
"type": "page_number",
|
| 762 |
+
"text": "2480",
|
| 763 |
+
"bbox": [
|
| 764 |
+
480,
|
| 765 |
+
927,
|
| 766 |
+
519,
|
| 767 |
+
940
|
| 768 |
+
],
|
| 769 |
+
"page_idx": 3
|
| 770 |
+
},
|
| 771 |
+
{
|
| 772 |
+
"type": "text",
|
| 773 |
+
"text": "NOTA query, which is far away from all prototypes. This occurs because the proposed NOTA loss $\\mathcal{L}_{\\text{nota}}$ pushes NOTA instances away from those known instances. Based upon this distance property, we propose a base score, which calculates the ratio of extremal distance to prototypes.",
|
| 774 |
+
"bbox": [
|
| 775 |
+
112,
|
| 776 |
+
84,
|
| 777 |
+
489,
|
| 778 |
+
181
|
| 779 |
+
],
|
| 780 |
+
"page_idx": 4
|
| 781 |
+
},
|
| 782 |
+
{
|
| 783 |
+
"type": "equation",
|
| 784 |
+
"text": "\n$$\nS c o r e _ {b a s e} (\\boldsymbol {q}) = \\frac {\\underset {i = 1 , \\dots , N} {\\min} d ^ {2} (\\boldsymbol {q} , \\boldsymbol {c} ^ {\\boldsymbol {r} ^ {i}})}{\\underset {i = 1 , \\dots , N} {\\max} d ^ {2} (\\boldsymbol {q} , \\boldsymbol {c} ^ {\\boldsymbol {r} ^ {i}})} \\tag {8}\n$$\n",
|
| 785 |
+
"text_format": "latex",
|
| 786 |
+
"bbox": [
|
| 787 |
+
166,
|
| 788 |
+
186,
|
| 789 |
+
487,
|
| 790 |
+
240
|
| 791 |
+
],
|
| 792 |
+
"page_idx": 4
|
| 793 |
+
},
|
| 794 |
+
{
|
| 795 |
+
"type": "text",
|
| 796 |
+
"text": "This definition could also help to distinguish non-NOTA and NOTA samples. The base score of a known query is smaller, while it is larger for a NOTA query.",
|
| 797 |
+
"bbox": [
|
| 798 |
+
112,
|
| 799 |
+
244,
|
| 800 |
+
489,
|
| 801 |
+
309
|
| 802 |
+
],
|
| 803 |
+
"page_idx": 4
|
| 804 |
+
},
|
| 805 |
+
{
|
| 806 |
+
"type": "text",
|
| 807 |
+
"text": "NOTA Score Finally, the NOTA score is the combination of PLOF and base score.",
|
| 808 |
+
"bbox": [
|
| 809 |
+
112,
|
| 810 |
+
313,
|
| 811 |
+
489,
|
| 812 |
+
346
|
| 813 |
+
],
|
| 814 |
+
"page_idx": 4
|
| 815 |
+
},
|
| 816 |
+
{
|
| 817 |
+
"type": "equation",
|
| 818 |
+
"text": "\n$$\n\\operatorname {S c o r e} _ {\\text {n o t a}} (\\boldsymbol {q}) = \\operatorname {P L O F} (\\boldsymbol {q}) \\cdot \\operatorname {S c o r e} _ {\\text {b a s e}} (\\boldsymbol {q}) \\tag {9}\n$$\n",
|
| 819 |
+
"text_format": "latex",
|
| 820 |
+
"bbox": [
|
| 821 |
+
129,
|
| 822 |
+
353,
|
| 823 |
+
487,
|
| 824 |
+
370
|
| 825 |
+
],
|
| 826 |
+
"page_idx": 4
|
| 827 |
+
},
|
| 828 |
+
{
|
| 829 |
+
"type": "text",
|
| 830 |
+
"text": "During inference, a query instance can be detected by comparing its NOTA score with a threshold $\\tau$ . Since the proposed NOTA score is well-designed, using this score can more effectively recognize instances. In the real application, the threshold can be estimated with k-fold validation. In our experiments, we choose a fixed threshold for simplification.",
|
| 831 |
+
"bbox": [
|
| 832 |
+
112,
|
| 833 |
+
376,
|
| 834 |
+
489,
|
| 835 |
+
505
|
| 836 |
+
],
|
| 837 |
+
"page_idx": 4
|
| 838 |
+
},
|
| 839 |
+
{
|
| 840 |
+
"type": "text",
|
| 841 |
+
"text": "3 Experiments",
|
| 842 |
+
"text_level": 1,
|
| 843 |
+
"bbox": [
|
| 844 |
+
112,
|
| 845 |
+
516,
|
| 846 |
+
260,
|
| 847 |
+
532
|
| 848 |
+
],
|
| 849 |
+
"page_idx": 4
|
| 850 |
+
},
|
| 851 |
+
{
|
| 852 |
+
"type": "text",
|
| 853 |
+
"text": "3.1 Datasets",
|
| 854 |
+
"text_level": 1,
|
| 855 |
+
"bbox": [
|
| 856 |
+
112,
|
| 857 |
+
539,
|
| 858 |
+
228,
|
| 859 |
+
554
|
| 860 |
+
],
|
| 861 |
+
"page_idx": 4
|
| 862 |
+
},
|
| 863 |
+
{
|
| 864 |
+
"type": "text",
|
| 865 |
+
"text": "FewRel 1.0 (Han et al., 2018) is a relation classification dataset containing 100 relations extracted from Wikipedia. Gao et al. (2019b) update it to FewRel 2.0 and propose the NOTA detection challenge. Our experiments follow the splits used in official FewRel benchmarks, which split the dataset into 64 classes for training, 16 for validation, and 20 for testing.",
|
| 866 |
+
"bbox": [
|
| 867 |
+
112,
|
| 868 |
+
561,
|
| 869 |
+
489,
|
| 870 |
+
689
|
| 871 |
+
],
|
| 872 |
+
"page_idx": 4
|
| 873 |
+
},
|
| 874 |
+
{
|
| 875 |
+
"type": "text",
|
| 876 |
+
"text": "3.2 Episode Sampling",
|
| 877 |
+
"text_level": 1,
|
| 878 |
+
"bbox": [
|
| 879 |
+
112,
|
| 880 |
+
699,
|
| 881 |
+
302,
|
| 882 |
+
715
|
| 883 |
+
],
|
| 884 |
+
"page_idx": 4
|
| 885 |
+
},
|
| 886 |
+
{
|
| 887 |
+
"type": "text",
|
| 888 |
+
"text": "In §2.1 we introduce the $N$ -way $K$ -shot setting. Each episode sampling support set follows the $N$ -way $K$ -shot setting. But there are two ways to sample a query set.",
|
| 889 |
+
"bbox": [
|
| 890 |
+
112,
|
| 891 |
+
720,
|
| 892 |
+
489,
|
| 893 |
+
785
|
| 894 |
+
],
|
| 895 |
+
"page_idx": 4
|
| 896 |
+
},
|
| 897 |
+
{
|
| 898 |
+
"type": "text",
|
| 899 |
+
"text": "- Fixed Sampling Gao et al. (2019b) propose fixing the NOTA rate of a query set to some specific value. For example, if a query set has 5 known queries and 5 NOTA ones, the NOTA rate of the query set would be calculated as $5 / (5 + 5) \\times 100\\% = 50\\%$ . Then the total number of instances in that query set will be adjusted based on the NOTA rate.",
|
| 900 |
+
"bbox": [
|
| 901 |
+
112,
|
| 902 |
+
790,
|
| 903 |
+
489,
|
| 904 |
+
917
|
| 905 |
+
],
|
| 906 |
+
"page_idx": 4
|
| 907 |
+
},
|
| 908 |
+
{
|
| 909 |
+
"type": "text",
|
| 910 |
+
"text": "- Random Sampling Sabo et al. (2021) propose to fix the number of instances in the query set and assign a probability $p$ to each instance for sampling. If $p$ is less than a threshold $\\tau_{na}$ , the instance is sampled as a known query. Otherwise, it is sampled as a NOTA. As such, the value of $\\tau_{na}$ determines the NOTA rate. This sampling strategy results in a dynamic NOTA rate for each episode. For example, some episodes may have a NOTA rate of $100\\%$ , while others may not have any NOTA instances, resulting in a more realistic simulation of real-world scenarios.",
|
| 911 |
+
"bbox": [
|
| 912 |
+
509,
|
| 913 |
+
84,
|
| 914 |
+
884,
|
| 915 |
+
275
|
| 916 |
+
],
|
| 917 |
+
"page_idx": 4
|
| 918 |
+
},
|
| 919 |
+
{
|
| 920 |
+
"type": "text",
|
| 921 |
+
"text": "3.3 Baseline Methods",
|
| 922 |
+
"text_level": 1,
|
| 923 |
+
"bbox": [
|
| 924 |
+
507,
|
| 925 |
+
299,
|
| 926 |
+
695,
|
| 927 |
+
313
|
| 928 |
+
],
|
| 929 |
+
"page_idx": 4
|
| 930 |
+
},
|
| 931 |
+
{
|
| 932 |
+
"type": "text",
|
| 933 |
+
"text": "The following baseline methods are chosen for comparison. O-Proto (Tan et al., 2019) aims to solve few-shot out-of-domain detection. It is based on the prototypical network, which detects NOTA by cosine similarity. BERT-Pair (Gao et al., 2019b) adopts BERT to match a query instance and a support instance, which then yields a score indicating whether they share the same relation. MNAV (Sabo et al., 2021) is also based on the prototypical network. NOTA class is represented by some learnable vectors. A query instance is evaluated by its similarity with the NOTA vectors in the embedding space. MCMN (Liu et al., 2022) uses a pre-training and fine-tuning paradigm that converts all candidate relation descriptions into multiple-choice prompts.",
|
| 934 |
+
"bbox": [
|
| 935 |
+
507,
|
| 936 |
+
319,
|
| 937 |
+
884,
|
| 938 |
+
577
|
| 939 |
+
],
|
| 940 |
+
"page_idx": 4
|
| 941 |
+
},
|
| 942 |
+
{
|
| 943 |
+
"type": "text",
|
| 944 |
+
"text": "3.4 Experimental Results",
|
| 945 |
+
"text_level": 1,
|
| 946 |
+
"bbox": [
|
| 947 |
+
507,
|
| 948 |
+
589,
|
| 949 |
+
724,
|
| 950 |
+
604
|
| 951 |
+
],
|
| 952 |
+
"page_idx": 4
|
| 953 |
+
},
|
| 954 |
+
{
|
| 955 |
+
"type": "text",
|
| 956 |
+
"text": "3.4.1 Overall Results",
|
| 957 |
+
"text_level": 1,
|
| 958 |
+
"bbox": [
|
| 959 |
+
507,
|
| 960 |
+
609,
|
| 961 |
+
690,
|
| 962 |
+
624
|
| 963 |
+
],
|
| 964 |
+
"page_idx": 4
|
| 965 |
+
},
|
| 966 |
+
{
|
| 967 |
+
"type": "text",
|
| 968 |
+
"text": "The results of two sampling strategies are presented in Table 2. It can be observed that D-Proto outperforms strong baselines and achieves the best average results on both sampling strategies. Especially, D-Proto significantly outperforms MCMN by $+2.75\\%$ on accuracy and $+2.66\\%$ on F1 under random sampling. The results indicate the effectiveness of D-Proto, with great stability and robustness. As mentioned in §3.2, random sampling better reflects practical applications. It can be seen that under fixed sampling, the proposed D-Proto achieves competitive results. And under random sampling, the improvements are more significant. This implies that D-Proto is more robust in real-world situations.",
|
| 969 |
+
"bbox": [
|
| 970 |
+
507,
|
| 971 |
+
629,
|
| 972 |
+
884,
|
| 973 |
+
869
|
| 974 |
+
],
|
| 975 |
+
"page_idx": 4
|
| 976 |
+
},
|
| 977 |
+
{
|
| 978 |
+
"type": "text",
|
| 979 |
+
"text": "Moreover, under random sampling, we see that the accuracy and F1 of MCMN decrease by $13.36\\%$ and $16.05\\%$ , respectively when the NOTA rate is",
|
| 980 |
+
"bbox": [
|
| 981 |
+
507,
|
| 982 |
+
871,
|
| 983 |
+
882,
|
| 984 |
+
917
|
| 985 |
+
],
|
| 986 |
+
"page_idx": 4
|
| 987 |
+
},
|
| 988 |
+
{
|
| 989 |
+
"type": "page_number",
|
| 990 |
+
"text": "2481",
|
| 991 |
+
"bbox": [
|
| 992 |
+
480,
|
| 993 |
+
928,
|
| 994 |
+
517,
|
| 995 |
+
940
|
| 996 |
+
],
|
| 997 |
+
"page_idx": 4
|
| 998 |
+
},
|
| 999 |
+
{
|
| 1000 |
+
"type": "table",
|
| 1001 |
+
"img_path": "images/8c11736ab147532d05df14488e7ab6b17dfccb358ce4168bd34f7842d6357ef5.jpg",
|
| 1002 |
+
"table_caption": [],
|
| 1003 |
+
"table_footnote": [],
|
| 1004 |
+
"table_body": "<table><tr><td colspan=\"9\">Random Sampling</td></tr><tr><td rowspan=\"2\">Methods</td><td colspan=\"2\">15%NOTA</td><td colspan=\"2\">30%NOTA</td><td colspan=\"2\">50%NOTA</td><td colspan=\"2\">Average</td></tr><tr><td>Acc</td><td>F1</td><td>Acc</td><td>F1</td><td>Acc</td><td>F1</td><td>Acc</td><td>F1</td></tr><tr><td>O-Proto (Tan et al., 2019)</td><td>80.02</td><td>72.84</td><td>80.55</td><td>73.73</td><td>81.16</td><td>72.41</td><td>80.58</td><td>72.99</td></tr><tr><td>BERT-Pair (Gao et al., 2019b)</td><td>80.77</td><td>73.99</td><td>81.53</td><td>75.06</td><td>83.24</td><td>75.14</td><td>81.85</td><td>74.73</td></tr><tr><td>MNAV (Sabo et al., 2021)</td><td>85.02</td><td>78.81</td><td>83.67</td><td>77.78</td><td>81.59</td><td>73.94</td><td>83.42</td><td>76.84</td></tr><tr><td>MCMN (Liu et al., 2022)</td><td>88.24</td><td>83.54</td><td>82.50</td><td>76.39</td><td>74.88</td><td>67.49</td><td>81.87</td><td>75.80</td></tr><tr><td>ChatGPT</td><td>64.57</td><td>56.63</td><td>63.30</td><td>55.81</td><td>61.66</td><td>54.16</td><td>63.18</td><td>55.54</td></tr><tr><td>D-Proto (Ours)</td><td>85.76</td><td>79.79</td><td>84.80</td><td>79.27</td><td>83.30</td><td>76.32</td><td>84.62</td><td>78.46</td></tr><tr><td colspan=\"9\">Fixed Sampling</td></tr><tr><td rowspan=\"2\">Methods</td><td colspan=\"2\">15%NOTA</td><td colspan=\"2\">30%NOTA</td><td colspan=\"2\">50%NOTA</td><td colspan=\"2\">Average</td></tr><tr><td>Acc</td><td>F1</td><td>Acc</td><td>F1</td><td>Acc</td><td>F1</td><td>Acc</td><td>F1</td></tr><tr><td>O-Proto (Tan et al., 2019)</td><td>81.38</td><td>80.45</td><td>81.42</td><td>81.04</td><td>81.38</td><td>79.39</td><td>81.38</td><td>80.29</td></tr><tr><td>BERT-Pair (Gao et al., 2019b)</td><td>82.83</td><td>81.98</td><td>83.76</td><td>83.00</td><td>85.49</td><td>82.62</td><td>84.02</td><td>82.53</td></tr><tr><td>MNAV (Sabo et al., 2021)</td><td>85.05</td><td>84.22</td><td>84.36</td><td>84.45</td><td>82.91</td><td>82.15</td><td>84.10</td><td>83.60</td></tr><tr><td>MCMN (Liu et al., 2022)</td><td>87.56</td><td>84.04</td><td>83.16</td><td>83.40</td><td>75.07</td><td>79.14</td><td>81.93</td><td>82.19</td></tr><tr><td>ChatGPT</td><td>63.59</td><td>56.26</td><td>61.83</td><td>54.46</td><td>58.41</td><td>51.14</td><td>61.28</td><td>53.95</td></tr><tr><td>D-Proto (Ours)</td><td>85.37</td><td>84.67</td><td>84.87</td><td>84.90</td><td>83.05</td><td>82.66</td><td>84.43</td><td>84.08</td></tr></table>",
|
| 1005 |
+
"bbox": [
|
| 1006 |
+
181,
|
| 1007 |
+
80,
|
| 1008 |
+
816,
|
| 1009 |
+
351
|
| 1010 |
+
],
|
| 1011 |
+
"page_idx": 5
|
| 1012 |
+
},
|
| 1013 |
+
{
|
| 1014 |
+
"type": "text",
|
| 1015 |
+
"text": "Table 2: Evaluation results of baseline methods and the proposed D-Proto, in terms of accuracy $(\\%)$ and F1 $(\\%)$ , on the FewRel dataset. The setting is 5-way 5-shot.",
|
| 1016 |
+
"bbox": [
|
| 1017 |
+
112,
|
| 1018 |
+
360,
|
| 1019 |
+
882,
|
| 1020 |
+
390
|
| 1021 |
+
],
|
| 1022 |
+
"page_idx": 5
|
| 1023 |
+
},
|
| 1024 |
+
{
|
| 1025 |
+
"type": "text",
|
| 1026 |
+
"text": "set from $15\\%$ to $50\\%$ . On the contrary, D-Proto only sees decreases of $2.46\\%$ and $2.01\\%$ , respectively. A possible reason is that MCMN needs to meta-adapt with the support set. Yet a support set only has $N$ -way $K$ -shot samples, while NOTA exists in the query set. This tends to cause overfitting on the known instances but fails to detect NOTA. This further demonstrates the effectiveness and robustness of the proposed D-Proto model toward various NOTA rates.",
|
| 1027 |
+
"bbox": [
|
| 1028 |
+
110,
|
| 1029 |
+
414,
|
| 1030 |
+
489,
|
| 1031 |
+
574
|
| 1032 |
+
],
|
| 1033 |
+
"page_idx": 5
|
| 1034 |
+
},
|
| 1035 |
+
{
|
| 1036 |
+
"type": "text",
|
| 1037 |
+
"text": "Furthermore, we evaluate the performance of the ChatGPT $^2$ dialog system in the NOTA challenge. As demonstrated in Table 2, ChatGPT's performance on the NOTA task is far below other models. Therefore, we conclude that the model targeting the NOTA challenge in few-shot relation classification is still necessary. More details can be found in Appendix A.9.",
|
| 1038 |
+
"bbox": [
|
| 1039 |
+
112,
|
| 1040 |
+
577,
|
| 1041 |
+
489,
|
| 1042 |
+
706
|
| 1043 |
+
],
|
| 1044 |
+
"page_idx": 5
|
| 1045 |
+
},
|
| 1046 |
+
{
|
| 1047 |
+
"type": "text",
|
| 1048 |
+
"text": "3.4.2 NOTA Score Analysis",
|
| 1049 |
+
"text_level": 1,
|
| 1050 |
+
"bbox": [
|
| 1051 |
+
112,
|
| 1052 |
+
718,
|
| 1053 |
+
344,
|
| 1054 |
+
734
|
| 1055 |
+
],
|
| 1056 |
+
"page_idx": 5
|
| 1057 |
+
},
|
| 1058 |
+
{
|
| 1059 |
+
"type": "text",
|
| 1060 |
+
"text": "We further investigate the scores computed by DProto, which are depicted through box line diagrams in Figure 5. We first observe that the base scores alone are able to distinguish between known instances and NOTA ones, but the numerical values for the two classes are close. Specifically, the base scores of NOTA instances are generally greater than 0.4, while those of non-NOTA samples<sup>3</sup> are",
|
| 1061 |
+
"bbox": [
|
| 1062 |
+
112,
|
| 1063 |
+
738,
|
| 1064 |
+
489,
|
| 1065 |
+
866
|
| 1066 |
+
],
|
| 1067 |
+
"page_idx": 5
|
| 1068 |
+
},
|
| 1069 |
+
{
|
| 1070 |
+
"type": "text",
|
| 1071 |
+
"text": "around 0.1. This leads to difficulty in choosing a good threshold since the range of proper thresholds is small. Thus, base scores alone may not be sufficient to distinguish between the two classes accurately.",
|
| 1072 |
+
"bbox": [
|
| 1073 |
+
507,
|
| 1074 |
+
414,
|
| 1075 |
+
884,
|
| 1076 |
+
495
|
| 1077 |
+
],
|
| 1078 |
+
"page_idx": 5
|
| 1079 |
+
},
|
| 1080 |
+
{
|
| 1081 |
+
"type": "text",
|
| 1082 |
+
"text": "Secondly, without adding prototypes and degenerative prototypes, we have the naive local outlier factor (LOF). It can be seen that both LOF and PLOF show numerical overlap for both non-NOTA and NOTA instances. However, in LOF, the scores for non-NOTA instances are centered around 0.9, while the scores for NOTA instances range from 1.0 to 1.2. The available range of threshold is limited. Contrarily, in PLOF, the scores for non-NOTA samples are in the range of 2 to 3, while the scores for NOTA instances are significantly larger than 4.",
|
| 1083 |
+
"bbox": [
|
| 1084 |
+
507,
|
| 1085 |
+
497,
|
| 1086 |
+
885,
|
| 1087 |
+
673
|
| 1088 |
+
],
|
| 1089 |
+
"page_idx": 5
|
| 1090 |
+
},
|
| 1091 |
+
{
|
| 1092 |
+
"type": "text",
|
| 1093 |
+
"text": "Finally, combining PLOF and base NOTA score forms our final NOTA score. It is found that the NOTA score can make two types of instances have a clear difference. The gap between medians becomes more obvious, and the NOTA score for the NOTA instance becomes larger. These all contribute to the detection of NOTA instances, showing the effectiveness of our proposed NOTA score.",
|
| 1094 |
+
"bbox": [
|
| 1095 |
+
507,
|
| 1096 |
+
675,
|
| 1097 |
+
885,
|
| 1098 |
+
803
|
| 1099 |
+
],
|
| 1100 |
+
"page_idx": 5
|
| 1101 |
+
},
|
| 1102 |
+
{
|
| 1103 |
+
"type": "text",
|
| 1104 |
+
"text": "3.4.3 Ablation Study",
|
| 1105 |
+
"text_level": 1,
|
| 1106 |
+
"bbox": [
|
| 1107 |
+
507,
|
| 1108 |
+
816,
|
| 1109 |
+
690,
|
| 1110 |
+
832
|
| 1111 |
+
],
|
| 1112 |
+
"page_idx": 5
|
| 1113 |
+
},
|
| 1114 |
+
{
|
| 1115 |
+
"type": "text",
|
| 1116 |
+
"text": "To explore the impact of individual training objectives, we perform an ablation study. The results are reported in Table 3. It can be seen that removing $\\mathcal{L}_{\\text {nota }}$ causes significant decreases in all evaluation metrics. This verifies that NOTA loss effectively",
|
| 1117 |
+
"bbox": [
|
| 1118 |
+
507,
|
| 1119 |
+
839,
|
| 1120 |
+
884,
|
| 1121 |
+
917
|
| 1122 |
+
],
|
| 1123 |
+
"page_idx": 5
|
| 1124 |
+
},
|
| 1125 |
+
{
|
| 1126 |
+
"type": "page_footnote",
|
| 1127 |
+
"text": "2https://chat.openai.com",
|
| 1128 |
+
"bbox": [
|
| 1129 |
+
134,
|
| 1130 |
+
879,
|
| 1131 |
+
319,
|
| 1132 |
+
891
|
| 1133 |
+
],
|
| 1134 |
+
"page_idx": 5
|
| 1135 |
+
},
|
| 1136 |
+
{
|
| 1137 |
+
"type": "page_footnote",
|
| 1138 |
+
"text": "3In the context of the section, non-NOTA samples can be considered equivalent to known ones.",
|
| 1139 |
+
"bbox": [
|
| 1140 |
+
115,
|
| 1141 |
+
892,
|
| 1142 |
+
485,
|
| 1143 |
+
917
|
| 1144 |
+
],
|
| 1145 |
+
"page_idx": 5
|
| 1146 |
+
},
|
| 1147 |
+
{
|
| 1148 |
+
"type": "page_number",
|
| 1149 |
+
"text": "2482",
|
| 1150 |
+
"bbox": [
|
| 1151 |
+
480,
|
| 1152 |
+
928,
|
| 1153 |
+
519,
|
| 1154 |
+
940
|
| 1155 |
+
],
|
| 1156 |
+
"page_idx": 5
|
| 1157 |
+
},
|
| 1158 |
+
{
|
| 1159 |
+
"type": "table",
|
| 1160 |
+
"img_path": "images/7dc9685c08e53eee1bd64182fb55849b421db44a43532ffc378a823ea522778a.jpg",
|
| 1161 |
+
"table_caption": [],
|
| 1162 |
+
"table_footnote": [],
|
| 1163 |
+
"table_body": "<table><tr><td rowspan=\"2\">Methods</td><td colspan=\"2\">15%NOTA</td><td colspan=\"2\">30%NOTA</td><td colspan=\"2\">50%NOTA</td><td colspan=\"2\">Average</td></tr><tr><td>Acc</td><td>F1</td><td>Acc</td><td>F1</td><td>Acc</td><td>F1</td><td>Acc</td><td>F1</td></tr><tr><td>D-Proto w/o Lnota</td><td>84.95</td><td>78.73</td><td>84.04</td><td>78.27</td><td>82.72</td><td>75.41</td><td>83.90</td><td>77.47</td></tr><tr><td>D-Proto w/o Scorebase</td><td>78.44</td><td>70.95</td><td>78.23</td><td>71.39</td><td>77.52</td><td>68.99</td><td>78.06</td><td>70.44</td></tr><tr><td>D-Proto w/o P</td><td>84.24</td><td>78.00</td><td>83.93</td><td>78.27</td><td>83.48</td><td>76.13</td><td>83.88</td><td>77.47</td></tr><tr><td>D-Proto w/o DP</td><td>85.40</td><td>79.20</td><td>83.39</td><td>77.55</td><td>80.32</td><td>73.01</td><td>83.03</td><td>76.58</td></tr><tr><td>D-Proto w/o {P ∪ DP}</td><td>83.27</td><td>76.83</td><td>83.04</td><td>77.10</td><td>82.37</td><td>74.73</td><td>82.89</td><td>76.22</td></tr><tr><td>D-Proto w. 20%DPK-2</td><td>84.04</td><td>77.76</td><td>83.80</td><td>78.10</td><td>83.46</td><td>76.10</td><td>83.77</td><td>77.32</td></tr><tr><td>D-Proto w. 40%DPK-2</td><td>83.60</td><td>77.29</td><td>83.49</td><td>77.47</td><td>83.75</td><td>76.36</td><td>83.61</td><td>77.04</td></tr><tr><td>D-Proto w. 60%DPK-2</td><td>83.35</td><td>76.99</td><td>83.63</td><td>77.88</td><td>83.88</td><td>76.49</td><td>83.62</td><td>77.12</td></tr><tr><td>D-Proto w. 80%DPK-2</td><td>83.19</td><td>76.81</td><td>83.58</td><td>77.83</td><td>84.01</td><td>76.62</td><td>83.59</td><td>77.08</td></tr><tr><td>D-Proto w. 100%DPK-2</td><td>83.70</td><td>77.37</td><td>83.74</td><td>78.02</td><td>83.72</td><td>76.37</td><td>83.72</td><td>77.25</td></tr><tr><td>D-Proto(Ours)</td><td>85.76</td><td>79.79</td><td>84.80</td><td>79.27</td><td>83.30</td><td>76.32</td><td>84.62</td><td>78.46</td></tr></table>",
|
| 1164 |
+
"bbox": [
|
| 1165 |
+
194,
|
| 1166 |
+
80,
|
| 1167 |
+
803,
|
| 1168 |
+
266
|
| 1169 |
+
],
|
| 1170 |
+
"page_idx": 6
|
| 1171 |
+
},
|
| 1172 |
+
{
|
| 1173 |
+
"type": "text",
|
| 1174 |
+
"text": "Table 3: Ablation study results and degenerative prototypes study (%) of D-Proto on FewRel benchmark.",
|
| 1175 |
+
"bbox": [
|
| 1176 |
+
142,
|
| 1177 |
+
275,
|
| 1178 |
+
850,
|
| 1179 |
+
291
|
| 1180 |
+
],
|
| 1181 |
+
"page_idx": 6
|
| 1182 |
+
},
|
| 1183 |
+
{
|
| 1184 |
+
"type": "image",
|
| 1185 |
+
"img_path": "images/a7a87b5dcdbbb225a9964aa2f828eeadbebfc721f747299148b6c77388be56f7.jpg",
|
| 1186 |
+
"image_caption": [
|
| 1187 |
+
"Figure 5: Comparison of all scores presented in this paper under $50\\%$ NOTA rate on the FewRel dataset. The dash-dotted line indicates the median of each score."
|
| 1188 |
+
],
|
| 1189 |
+
"image_footnote": [],
|
| 1190 |
+
"bbox": [
|
| 1191 |
+
144,
|
| 1192 |
+
313,
|
| 1193 |
+
458,
|
| 1194 |
+
536
|
| 1195 |
+
],
|
| 1196 |
+
"page_idx": 6
|
| 1197 |
+
},
|
| 1198 |
+
{
|
| 1199 |
+
"type": "text",
|
| 1200 |
+
"text": "makes NOTA isolated, helping to recognize relations with densities.",
|
| 1201 |
+
"bbox": [
|
| 1202 |
+
112,
|
| 1203 |
+
615,
|
| 1204 |
+
487,
|
| 1205 |
+
646
|
| 1206 |
+
],
|
| 1207 |
+
"page_idx": 6
|
| 1208 |
+
},
|
| 1209 |
+
{
|
| 1210 |
+
"type": "text",
|
| 1211 |
+
"text": "Then removing the Base Score significantly impacts the model's performance. The Base Score is essential as it serves as the basis of PLOF. It can also be observed that the removal of either the prototype set $\\mathcal{P}$ or the degenerative prototype set $\\mathcal{D}\\mathcal{P}$ results in a significant decline in the evaluation metrics across different NOTA rates. Additionally, the removal of both $\\mathcal{P}$ and $\\mathcal{D}\\mathcal{P}$ results in an even more significant drop in the metrics. These findings suggest that both the prototype set and the degenerative prototype set are important components of the PLOF method and contribute significantly to its performance.",
|
| 1212 |
+
"bbox": [
|
| 1213 |
+
112,
|
| 1214 |
+
649,
|
| 1215 |
+
487,
|
| 1216 |
+
857
|
| 1217 |
+
],
|
| 1218 |
+
"page_idx": 6
|
| 1219 |
+
},
|
| 1220 |
+
{
|
| 1221 |
+
"type": "text",
|
| 1222 |
+
"text": "3.4.4 Degenerative Prototypes Analysis",
|
| 1223 |
+
"text_level": 1,
|
| 1224 |
+
"bbox": [
|
| 1225 |
+
112,
|
| 1226 |
+
868,
|
| 1227 |
+
438,
|
| 1228 |
+
883
|
| 1229 |
+
],
|
| 1230 |
+
"page_idx": 6
|
| 1231 |
+
},
|
| 1232 |
+
{
|
| 1233 |
+
"type": "text",
|
| 1234 |
+
"text": "We have a research question: does adding more degenerative prototypes also increase the perfor",
|
| 1235 |
+
"bbox": [
|
| 1236 |
+
112,
|
| 1237 |
+
887,
|
| 1238 |
+
489,
|
| 1239 |
+
917
|
| 1240 |
+
],
|
| 1241 |
+
"page_idx": 6
|
| 1242 |
+
},
|
| 1243 |
+
{
|
| 1244 |
+
"type": "text",
|
| 1245 |
+
"text": "mance of the model? To answer this question, we design the $K - 2$ degenerative prototype set $\\mathcal{D}\\mathcal{P}_{K - 2}$ . $\\mathcal{D}\\mathcal{P}_{K - 2}$ consists of all $K - 2$ degenerative prototypes, where each one is computed by averaging the embeddings of the $K - 2$ support instances belonging to its relation $r^i$ after excluding two support instances. It is worth noting that D-Proto only adds the degenerative prototypes $\\mathcal{D}\\mathcal{P}_{K - 1}$ . Will including $\\mathcal{D}\\mathcal{P}_{K - 2}$ bring further gains?",
|
| 1246 |
+
"bbox": [
|
| 1247 |
+
507,
|
| 1248 |
+
316,
|
| 1249 |
+
884,
|
| 1250 |
+
476
|
| 1251 |
+
],
|
| 1252 |
+
"page_idx": 6
|
| 1253 |
+
},
|
| 1254 |
+
{
|
| 1255 |
+
"type": "text",
|
| 1256 |
+
"text": "In this experiment, we add various proportions of $\\mathcal{D}\\mathcal{P}_{K - 2}$ into the support set. The results are displayed in the second part of Table 3. Our expectation is that $\\mathcal{D}\\mathcal{P}_{K - 2}$ will increase the density of known samples and thus improve the performance. However, the results of this experiment show that while the performance of the D-Proto method does improve when $\\mathcal{D}\\mathcal{P}_{K - 2}$ is added under a NOTA rate of $50\\%$ , the performance decreases for NOTA rates of $15\\%$ and $30\\%$ . This suggests that while the use of $\\mathcal{D}\\mathcal{P}_{K - 2}$ can indeed improve the detection of NOTA instances at higher densities, it also leads to the false detection of known instances as NOTA, particularly at lower NOTA rates.",
|
| 1257 |
+
"bbox": [
|
| 1258 |
+
507,
|
| 1259 |
+
479,
|
| 1260 |
+
884,
|
| 1261 |
+
703
|
| 1262 |
+
],
|
| 1263 |
+
"page_idx": 6
|
| 1264 |
+
},
|
| 1265 |
+
{
|
| 1266 |
+
"type": "text",
|
| 1267 |
+
"text": "3.4.5 Visualization",
|
| 1268 |
+
"text_level": 1,
|
| 1269 |
+
"bbox": [
|
| 1270 |
+
507,
|
| 1271 |
+
719,
|
| 1272 |
+
672,
|
| 1273 |
+
734
|
| 1274 |
+
],
|
| 1275 |
+
"page_idx": 6
|
| 1276 |
+
},
|
| 1277 |
+
{
|
| 1278 |
+
"type": "text",
|
| 1279 |
+
"text": "To further evaluate the representations learned by different models, we visualize the embeddings using the t-SNE algorithm (Van der Maaten and Hinton, 2008) in Figure 6. Under both the $15\\%$ and $30\\%$ NOTA rates, compared with O-Proto and MNAV, our method can make each relation cluster more densely. For instance, in Figure 6 (a), the relation 1 is scattered around in O-Proto and MNAV. However, in our method, this class is well aggregated. This shows that our method can learn more separable representations for known instances.",
|
| 1280 |
+
"bbox": [
|
| 1281 |
+
507,
|
| 1282 |
+
741,
|
| 1283 |
+
884,
|
| 1284 |
+
917
|
| 1285 |
+
],
|
| 1286 |
+
"page_idx": 6
|
| 1287 |
+
},
|
| 1288 |
+
{
|
| 1289 |
+
"type": "page_number",
|
| 1290 |
+
"text": "2483",
|
| 1291 |
+
"bbox": [
|
| 1292 |
+
480,
|
| 1293 |
+
928,
|
| 1294 |
+
519,
|
| 1295 |
+
940
|
| 1296 |
+
],
|
| 1297 |
+
"page_idx": 6
|
| 1298 |
+
},
|
| 1299 |
+
{
|
| 1300 |
+
"type": "image",
|
| 1301 |
+
"img_path": "images/631389b77f0f4adeab6e8a51e746b43fe97ef04ea1a1ab1e7b85a3002337b166.jpg",
|
| 1302 |
+
"image_caption": [],
|
| 1303 |
+
"image_footnote": [],
|
| 1304 |
+
"bbox": [
|
| 1305 |
+
126,
|
| 1306 |
+
93,
|
| 1307 |
+
297,
|
| 1308 |
+
192
|
| 1309 |
+
],
|
| 1310 |
+
"page_idx": 7
|
| 1311 |
+
},
|
| 1312 |
+
{
|
| 1313 |
+
"type": "image",
|
| 1314 |
+
"img_path": "images/d969ed3391fca5d0b59812f22c37bea2a3a282d2b913ad272971cd527c638c93.jpg",
|
| 1315 |
+
"image_caption": [],
|
| 1316 |
+
"image_footnote": [],
|
| 1317 |
+
"bbox": [
|
| 1318 |
+
302,
|
| 1319 |
+
93,
|
| 1320 |
+
475,
|
| 1321 |
+
192
|
| 1322 |
+
],
|
| 1323 |
+
"page_idx": 7
|
| 1324 |
+
},
|
| 1325 |
+
{
|
| 1326 |
+
"type": "image",
|
| 1327 |
+
"img_path": "images/4f0de52b7eef148a92fd7ad42ec45476ad51e9cfc006ed5fb5c918c7e04eed88.jpg",
|
| 1328 |
+
"image_caption": [],
|
| 1329 |
+
"image_footnote": [],
|
| 1330 |
+
"bbox": [
|
| 1331 |
+
124,
|
| 1332 |
+
196,
|
| 1333 |
+
295,
|
| 1334 |
+
294
|
| 1335 |
+
],
|
| 1336 |
+
"page_idx": 7
|
| 1337 |
+
},
|
| 1338 |
+
{
|
| 1339 |
+
"type": "image",
|
| 1340 |
+
"img_path": "images/58973ce9ba740ea0bcf43d28eef834e00d5bbc4793fe9e9c07367c1677ad4927.jpg",
|
| 1341 |
+
"image_caption": [],
|
| 1342 |
+
"image_footnote": [],
|
| 1343 |
+
"bbox": [
|
| 1344 |
+
305,
|
| 1345 |
+
197,
|
| 1346 |
+
475,
|
| 1347 |
+
294
|
| 1348 |
+
],
|
| 1349 |
+
"page_idx": 7
|
| 1350 |
+
},
|
| 1351 |
+
{
|
| 1352 |
+
"type": "image",
|
| 1353 |
+
"img_path": "images/66b539df6d72c462de3454128976d19719f0dbf7d44ab0afb77de0b6dbe3a9c6.jpg",
|
| 1354 |
+
"image_caption": [
|
| 1355 |
+
"(a) $15\\%$ NOTA rate"
|
| 1356 |
+
],
|
| 1357 |
+
"image_footnote": [],
|
| 1358 |
+
"bbox": [
|
| 1359 |
+
124,
|
| 1360 |
+
300,
|
| 1361 |
+
295,
|
| 1362 |
+
399
|
| 1363 |
+
],
|
| 1364 |
+
"page_idx": 7
|
| 1365 |
+
},
|
| 1366 |
+
{
|
| 1367 |
+
"type": "image",
|
| 1368 |
+
"img_path": "images/527207db514d81c6bf455acf3bc1810ee3c181e3e023fcbd131c87601ff03d81.jpg",
|
| 1369 |
+
"image_caption": [
|
| 1370 |
+
"(b) $30\\%$ NOTA rate",
|
| 1371 |
+
"Figure 6: Embedding distributions of different models in the same episode on the FewRel dataset. NOTA rates are $15\\%$ and $30\\%$ , respectively. The numbers 1 to 5 represent the relation. The red inverted triangles are NOTA instances."
|
| 1372 |
+
],
|
| 1373 |
+
"image_footnote": [],
|
| 1374 |
+
"bbox": [
|
| 1375 |
+
305,
|
| 1376 |
+
300,
|
| 1377 |
+
475,
|
| 1378 |
+
399
|
| 1379 |
+
],
|
| 1380 |
+
"page_idx": 7
|
| 1381 |
+
},
|
| 1382 |
+
{
|
| 1383 |
+
"type": "text",
|
| 1384 |
+
"text": "Moreover, in Figure 6 (a), we see that the NOTA instance is far away from known samples in our method. This observation is visible in the plot (b). This shows the validity of the proposed NOTA loss $\\mathcal{L}_{\\text {nota }}$ , making NOTA instances more isolated. In MNAV, the two NOTA instances are close to a known sample. One possible reason is that MNAV makes multiple NOTA instances approach learnable vectors. Different classes may aggregate with each other. This tends to cause negative effects on distinguishing samples, as embeddings are not well separated. In summary, our method learns the best representations. With the well-clustered known samples and the isolated NOTA samples, D-Proto can both recognize them through the density-aware NOTA detection module accurately.",
|
| 1385 |
+
"bbox": [
|
| 1386 |
+
112,
|
| 1387 |
+
525,
|
| 1388 |
+
489,
|
| 1389 |
+
782
|
| 1390 |
+
],
|
| 1391 |
+
"page_idx": 7
|
| 1392 |
+
},
|
| 1393 |
+
{
|
| 1394 |
+
"type": "text",
|
| 1395 |
+
"text": "4 Related Work",
|
| 1396 |
+
"text_level": 1,
|
| 1397 |
+
"bbox": [
|
| 1398 |
+
112,
|
| 1399 |
+
796,
|
| 1400 |
+
268,
|
| 1401 |
+
810
|
| 1402 |
+
],
|
| 1403 |
+
"page_idx": 7
|
| 1404 |
+
},
|
| 1405 |
+
{
|
| 1406 |
+
"type": "text",
|
| 1407 |
+
"text": "Previous works (Zelenko et al., 2003; Mooney and Bunescu, 2005; Zeng et al., 2014; Gormley et al., 2015; Zhou et al., 2016; Kumar, 2017; Zhang et al., 2018) for relation classification usually train models on a labeled dataset with a fixed number of classes, which cannot deal with unseen relations.",
|
| 1408 |
+
"bbox": [
|
| 1409 |
+
112,
|
| 1410 |
+
822,
|
| 1411 |
+
489,
|
| 1412 |
+
917
|
| 1413 |
+
],
|
| 1414 |
+
"page_idx": 7
|
| 1415 |
+
},
|
| 1416 |
+
{
|
| 1417 |
+
"type": "text",
|
| 1418 |
+
"text": "Thus few-shot scenario has drawn much attention recently. By training on multiple episodes, models can learn transferrable knowledge for unseen testing episodes (Hu et al., 2021). Although many efforts (Hendrickx et al., 2010; Zhang et al., 2017; Obamuyide and Vlachos, 2019; Gao et al., 2019a; Baldini Soares et al., 2019; Ye and Ling, 2019; Dong et al., 2020) have been devoted to the few-shot relation classification. However, a real-world issue that has been proposed is the NOTA challenge (Gao et al., 2019b). This issue breaks the assumption of the traditional $N$ -way $K$ -shot setting. Therefore, detecting NOTA instances during inference needs to be explored.",
|
| 1419 |
+
"bbox": [
|
| 1420 |
+
507,
|
| 1421 |
+
84,
|
| 1422 |
+
884,
|
| 1423 |
+
309
|
| 1424 |
+
],
|
| 1425 |
+
"page_idx": 7
|
| 1426 |
+
},
|
| 1427 |
+
{
|
| 1428 |
+
"type": "text",
|
| 1429 |
+
"text": "Promising works have been proposed to detect NOTA instances in few-shot relation classification. One approach that has been widely adopted is the $N + 1$ classification. This approach has been proposed by several works. One work is to use a sentence-pair model for classification, as proposed by Gao et al. (2019b) in their work on few-shot learning. Another work, Sabo et al. (2021) in their work on revisiting NOTA challenge, is to compute the distance between learnable vectors. The third one, proposed by Liu et al. (2022), adopts the pretraining fine-tuning paradigm and selects the correct relation from a set of options that includes NOTA. The above three methods, by considering NOTA instances as an additional class, are able to learn the boundary between the known relations and the NOTA instances, allowing the model to learn a more comprehensive representation of the data.",
|
| 1430 |
+
"bbox": [
|
| 1431 |
+
507,
|
| 1432 |
+
309,
|
| 1433 |
+
884,
|
| 1434 |
+
613
|
| 1435 |
+
],
|
| 1436 |
+
"page_idx": 7
|
| 1437 |
+
},
|
| 1438 |
+
{
|
| 1439 |
+
"type": "text",
|
| 1440 |
+
"text": "5 Conclusion",
|
| 1441 |
+
"text_level": 1,
|
| 1442 |
+
"bbox": [
|
| 1443 |
+
507,
|
| 1444 |
+
636,
|
| 1445 |
+
640,
|
| 1446 |
+
651
|
| 1447 |
+
],
|
| 1448 |
+
"page_idx": 7
|
| 1449 |
+
},
|
| 1450 |
+
{
|
| 1451 |
+
"type": "text",
|
| 1452 |
+
"text": "In this paper, we propose D-Proto, a density-aware prototypical network for few-shot relation classification. We focus on the overall instance distribution and design special training objectives for distinct samples. For the known samples, intraclass becomes well-clustered and inter-class is well-separated. The NOTA ones are isolated as outliers. We further propose a NOTA detection module, which considers the local density and distance property, to distinguish both types of instances. And we use prototypes and degenerative prototypes to enhance the density of known instances to better identify NOTA. Experiments on a popular dataset demonstrate that D-Proto outperforms strong baselines. We also provide score analysis and visualization to verify the effectiveness of our method.",
|
| 1453 |
+
"bbox": [
|
| 1454 |
+
505,
|
| 1455 |
+
661,
|
| 1456 |
+
884,
|
| 1457 |
+
917
|
| 1458 |
+
],
|
| 1459 |
+
"page_idx": 7
|
| 1460 |
+
},
|
| 1461 |
+
{
|
| 1462 |
+
"type": "page_number",
|
| 1463 |
+
"text": "2484",
|
| 1464 |
+
"bbox": [
|
| 1465 |
+
480,
|
| 1466 |
+
928,
|
| 1467 |
+
519,
|
| 1468 |
+
940
|
| 1469 |
+
],
|
| 1470 |
+
"page_idx": 7
|
| 1471 |
+
},
|
| 1472 |
+
{
|
| 1473 |
+
"type": "text",
|
| 1474 |
+
"text": "Limitations",
|
| 1475 |
+
"text_level": 1,
|
| 1476 |
+
"bbox": [
|
| 1477 |
+
114,
|
| 1478 |
+
84,
|
| 1479 |
+
220,
|
| 1480 |
+
99
|
| 1481 |
+
],
|
| 1482 |
+
"page_idx": 8
|
| 1483 |
+
},
|
| 1484 |
+
{
|
| 1485 |
+
"type": "text",
|
| 1486 |
+
"text": "In this work, we study the few-shot relation classification task, which contains NOTA instances. The proposed D-Proto method achieves some gains on this problem. Yet our work still has the following two limitations.",
|
| 1487 |
+
"bbox": [
|
| 1488 |
+
112,
|
| 1489 |
+
110,
|
| 1490 |
+
487,
|
| 1491 |
+
187
|
| 1492 |
+
],
|
| 1493 |
+
"page_idx": 8
|
| 1494 |
+
},
|
| 1495 |
+
{
|
| 1496 |
+
"type": "text",
|
| 1497 |
+
"text": "The first limitation is that NOTA instances are detected with a threshold $\\tau$ . This threshold relies on human experiences or k-fold validation. However, using a threshold in the binary way methods, including O-Proto and ours, is not a big problem. Our viewpoint is that $N + 1$ classification can efficiently accomplish the NOTA detection task by treating the NOTA as an additional class to classify with the known $N$ classes. But the $N + 1$ classification method ignores the distribution of the data. Therefore, despite that we need a threshold, the advantages of our method are also obvious.",
|
| 1498 |
+
"bbox": [
|
| 1499 |
+
115,
|
| 1500 |
+
191,
|
| 1501 |
+
489,
|
| 1502 |
+
382
|
| 1503 |
+
],
|
| 1504 |
+
"page_idx": 8
|
| 1505 |
+
},
|
| 1506 |
+
{
|
| 1507 |
+
"type": "text",
|
| 1508 |
+
"text": "The second limitation is that our experiment is not absolutely fair. The reason is that BERT-Pair (Gao et al., 2019b) requires high GPU memory. In the fixed sampling method of the episode, we used two NVIDIA RTX A6000 with 48G memory each to train BERT-Pair. The other baselines are trained with an NVIDIA TESLA V100-32G. Except for this difference, all other settings are the same.",
|
| 1509 |
+
"bbox": [
|
| 1510 |
+
112,
|
| 1511 |
+
384,
|
| 1512 |
+
487,
|
| 1513 |
+
512
|
| 1514 |
+
],
|
| 1515 |
+
"page_idx": 8
|
| 1516 |
+
},
|
| 1517 |
+
{
|
| 1518 |
+
"type": "text",
|
| 1519 |
+
"text": "Acknowledgment",
|
| 1520 |
+
"text_level": 1,
|
| 1521 |
+
"bbox": [
|
| 1522 |
+
114,
|
| 1523 |
+
526,
|
| 1524 |
+
270,
|
| 1525 |
+
542
|
| 1526 |
+
],
|
| 1527 |
+
"page_idx": 8
|
| 1528 |
+
},
|
| 1529 |
+
{
|
| 1530 |
+
"type": "text",
|
| 1531 |
+
"text": "We sincerely thank all the anonymous reviewers for providing valuable feedback. This work is supported by the National Natural Science Foundation of China (Grant No. 62302245), the Ministry of Education of the People's Republic of China Humanities and Social Sciences Youth Foundation (Grant No. 23YJCZH240), and the youth program of National Science Fund of Tianjin, China (Grant No. 22JCQNJC01340).",
|
| 1532 |
+
"bbox": [
|
| 1533 |
+
112,
|
| 1534 |
+
552,
|
| 1535 |
+
489,
|
| 1536 |
+
697
|
| 1537 |
+
],
|
| 1538 |
+
"page_idx": 8
|
| 1539 |
+
},
|
| 1540 |
+
{
|
| 1541 |
+
"type": "text",
|
| 1542 |
+
"text": "References",
|
| 1543 |
+
"text_level": 1,
|
| 1544 |
+
"bbox": [
|
| 1545 |
+
114,
|
| 1546 |
+
725,
|
| 1547 |
+
213,
|
| 1548 |
+
739
|
| 1549 |
+
],
|
| 1550 |
+
"page_idx": 8
|
| 1551 |
+
},
|
| 1552 |
+
{
|
| 1553 |
+
"type": "list",
|
| 1554 |
+
"sub_type": "ref_text",
|
| 1555 |
+
"list_items": [
|
| 1556 |
+
"Livio Baldini Soares, Nicholas FitzGerald, Jeffrey Ling, and Tom Kwiatkowski. 2019. Matching the blanks: Distributional similarity for relation learning. In Proceedings of the 57th Annual Meeting of the Association for Computational Linguistics (ACL), pages 2895-2905.",
|
| 1557 |
+
"Sam Brody, Sichao Wu, and Adrian Benton. 2021. Towards realistic few-shot relation extraction. In Proceedings of the 2021 Conference on Empirical Methods in Natural Language Processing, pages 5338-5345, Online and Punta Cana, Dominican Republic. Association for Computational Linguistics."
|
| 1558 |
+
],
|
| 1559 |
+
"bbox": [
|
| 1560 |
+
115,
|
| 1561 |
+
747,
|
| 1562 |
+
489,
|
| 1563 |
+
917
|
| 1564 |
+
],
|
| 1565 |
+
"page_idx": 8
|
| 1566 |
+
},
|
| 1567 |
+
{
|
| 1568 |
+
"type": "list",
|
| 1569 |
+
"sub_type": "ref_text",
|
| 1570 |
+
"list_items": [
|
| 1571 |
+
"Jacob Devlin, Ming-Wei Chang, Kenton Lee, and Kristina Toutanova. 2019. BERT: Pre-training of deep bidirectional transformers for language understanding. In Proceedings of the 2019 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, Volume 1 (NAACL-HLT), pages 4171-4186.",
|
| 1572 |
+
"Bowen Dong, Yuan Yao, Ruobing Xie, Tianyu Gao, Xu Han, Zhiyuan Liu, Fen Lin, Leyu Lin, and Maosong Sun. 2020. Meta-information guided meta-learning for few-shot relation classification. In Proceedings of the 28th International Conference on Computational Linguistics (COLING), pages 1594-1605.",
|
| 1573 |
+
"Tianyu Gao, Xu Han, Zhiyuan Liu, and Maosong Sun. 2019a. Hybrid attention-based prototypical networks for noisy few-shot relation classification. In Proceedings of the AAAI Conference on Artificial Intelligence (AAAI), volume 33, pages 6407-6414.",
|
| 1574 |
+
"Tianyu Gao, Xu Han, Hao Zhu, Zhiyuan Liu, Peng Li, Maosong Sun, and Jie Zhou. 2019b. Fewrel 2.0: Towards more challenging few-shot relation classification. In Proceedings of the 2019 Conference on Empirical Methods in Natural Language Processing and the 9th International Joint Conference on Natural Language Processing (EMNLP-IJCNLP), pages 6250-6255.",
|
| 1575 |
+
"Matthew R. Gormley, Mo Yu, and Mark Dredze. 2015. Improved relation extraction with feature-rich compositional embedding models. In Proceedings of the 2015 Conference on Empirical Methods in Natural Language Processing (EMNLP), pages 1774-1784.",
|
| 1576 |
+
"Jiale Han, Bo Cheng, and Wei Lu. 2021. Exploring task difficulty for few-shot relation extraction. In Proceedings of the 2021 Conference on Empirical Methods in Natural Language Processing, pages 2605-2616, Online and Punta Cana, Dominican Republic. Association for Computational Linguistics.",
|
| 1577 |
+
"Xu Han, Hao Zhu, Pengfei Yu, Ziyun Wang, Yuan Yao, Zhiyuan Liu, and Maosong Sun. 2018. Fewrel: A large-scale supervised few-shot relation classification dataset with state-of-the-art evaluation. In Proceedings of the 2018 Conference on Empirical Methods in Natural Language Processing (EMNLP), pages 4803-4809.",
|
| 1578 |
+
"Iris Hendrickx, Su Nam Kim, Zornitsa Kozareva, Preslav Nakov, Diarmuid O Seaghdha, Sebastian Padó, Marco Pennacchiotti, Lorenza Romano, and Stan Szpakowicz. 2010. Semeval-2010 task 8: Multiway classification of semantic relations between pairs of nominals. In Proceedings of the 5th International Workshop on Semantic Evaluation, pages 33-38.",
|
| 1579 |
+
"Mengting Hu, Shiwan Zhao, Honglei Guo, Chao Xue, Hang Gao, Tiegang Gao, Renhong Cheng, and Zhong Su. 2021. Multi-label few-shot learning for aspect category detection. In Proceedings of the 59th"
|
| 1580 |
+
],
|
| 1581 |
+
"bbox": [
|
| 1582 |
+
510,
|
| 1583 |
+
85,
|
| 1584 |
+
885,
|
| 1585 |
+
917
|
| 1586 |
+
],
|
| 1587 |
+
"page_idx": 8
|
| 1588 |
+
},
|
| 1589 |
+
{
|
| 1590 |
+
"type": "page_number",
|
| 1591 |
+
"text": "2485",
|
| 1592 |
+
"bbox": [
|
| 1593 |
+
480,
|
| 1594 |
+
928,
|
| 1595 |
+
519,
|
| 1596 |
+
940
|
| 1597 |
+
],
|
| 1598 |
+
"page_idx": 8
|
| 1599 |
+
},
|
| 1600 |
+
{
|
| 1601 |
+
"type": "list",
|
| 1602 |
+
"sub_type": "ref_text",
|
| 1603 |
+
"list_items": [
|
| 1604 |
+
"Annual Meeting of the Association for Computational Linguistics and the 11th International Joint Conference on Natural Language Processing (ACL-IJCNLP), pages 6330-6340.",
|
| 1605 |
+
"Shantanu Kumar. 2017. A survey of deep learning methods for relation extraction. arXiv preprint arXiv:1705.03645.",
|
| 1606 |
+
"Steinar Laenen and Luca Bertinetto. 2021. On episodes, prototypical networks, and few-shot learning. Advances in Neural Information Processing Systems (NeurIPS), 34.",
|
| 1607 |
+
"Fangchao Liu, Hongyu Lin, Xianpei Han, Boxi Cao, and Le Sun. 2022. Pre-training to match for unified low-shot relation extraction. In Proceedings of the 60th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pages 5785-5795, Dublin, Ireland. Association for Computational Linguistics.",
|
| 1608 |
+
"Raymond Mooney and Razvan Bunescu. 2005. Subsequence kernels for relation extraction. Advances in neural information processing systems (NeurIPS), 18.",
|
| 1609 |
+
"Abiola Obamuyide and Andreas Vlachos. 2019. Model-agnostic meta-learning for relation classification with limited supervision. In Proceedings of the 57th Annual Meeting of the Association for Computational Linguistics (ACL), pages 5873-5879, Florence, Italy. Association for Computational Linguistics.",
|
| 1610 |
+
"Meng Qu, Tianyu Gao, Louis-Pascal Xhonneux, and Jian Tang. 2020. Few-shot relation extraction via bayesian meta-learning on relation graphs. In Proceedings of the 37th International Conference on Machine Learning (ICML), pages 7867-7876.",
|
| 1611 |
+
"Ofer Sabo, Yanai Elazar, Yoav Goldberg, and Ido Dagan. 2021. Revisiting few-shot relation classification: Evaluation data and classification schemes. Transactions of the Association for Computational Linguistics (TACL), 9:691-706.",
|
| 1612 |
+
"Jake Snell, Kevin Swersky, and Richard Zemel. 2017. Prototypical networks for few-shot learning. Advances in neural information processing systems (NeurIPS), 30.",
|
| 1613 |
+
"Ming Tan, Yang Yu, Haoyu Wang, Dakuo Wang, Saloni Potdar, Shiyu Chang, and Mo Yu. 2019. Out-of-domain detection for low-resource text classification tasks. In Proceedings of the 2019 Conference on Empirical Methods in Natural Language Processing and the 9th International Joint Conference on Natural Language Processing (EMNLP-IJCNLP), pages 3566-3572.",
|
| 1614 |
+
"Laurens Van der Maaten and Geoffrey Hinton. 2008. Visualizing data using t-sne. Journal of machine learning research (JMLR), 9(11)."
|
| 1615 |
+
],
|
| 1616 |
+
"bbox": [
|
| 1617 |
+
115,
|
| 1618 |
+
85,
|
| 1619 |
+
489,
|
| 1620 |
+
917
|
| 1621 |
+
],
|
| 1622 |
+
"page_idx": 9
|
| 1623 |
+
},
|
| 1624 |
+
{
|
| 1625 |
+
"type": "list",
|
| 1626 |
+
"sub_type": "ref_text",
|
| 1627 |
+
"list_items": [
|
| 1628 |
+
"Zhi-Xiu Ye and Zhen-Hua Ling. 2019. Multi-level matching and aggregation network for few-shot relation classification. In Proceedings of the 57th Annual Meeting of the Association for Computational Linguistics (ACL), pages 2872-2881.",
|
| 1629 |
+
"Dmitry Zelenko, Chinatsu Aone, and Anthony Richardella. 2003. Kernel methods for relation extraction. Journal of machine learning research (JMLR), 3(Feb):1083-1106.",
|
| 1630 |
+
"Daojian Zeng, Kang Liu, Siwei Lai, Guangyou Zhou, and Jun Zhao. 2014. Relation classification via convolutional deep neural network. In Proceedings of the 28th International Conference on Computational Linguistics (COLING), pages 2335-2344.",
|
| 1631 |
+
"Ningyu Zhang, Shumin Deng, Zhanling Sun, Xi Chen, Wei Zhang, and Huajun Chen. 2018. Attention-based capsule networks with dynamic routing for relation extraction. In Proceedings of the 2018 Conference on Empirical Methods in Natural Language Processing (ACL), pages 986-992.",
|
| 1632 |
+
"Yuhao Zhang, Victor Zhong, Danqi Chen, Gabor Angeli, and Christopher D Manning. 2017. Position-aware attention and supervised data improve slot filling. In Proceedings of the 2017 Conference on Empirical Methods in Natural Language Processing (EMNLP), pages 35-45.",
|
| 1633 |
+
"Peng Zhou, Wei Shi, Jun Tian, Zhenyu Qi, Bingchen Li, Hongwei Hao, and Bo Xu. 2016. Attention-based bidirectional long short-term memory networks for relation classification. In Proceedings of the 54th Annual Meeting of the Association for Computational Linguistics (ACL), pages 207-212."
|
| 1634 |
+
],
|
| 1635 |
+
"bbox": [
|
| 1636 |
+
510,
|
| 1637 |
+
85,
|
| 1638 |
+
880,
|
| 1639 |
+
556
|
| 1640 |
+
],
|
| 1641 |
+
"page_idx": 9
|
| 1642 |
+
},
|
| 1643 |
+
{
|
| 1644 |
+
"type": "page_number",
|
| 1645 |
+
"text": "2486",
|
| 1646 |
+
"bbox": [
|
| 1647 |
+
480,
|
| 1648 |
+
928,
|
| 1649 |
+
519,
|
| 1650 |
+
940
|
| 1651 |
+
],
|
| 1652 |
+
"page_idx": 9
|
| 1653 |
+
},
|
| 1654 |
+
{
|
| 1655 |
+
"type": "table",
|
| 1656 |
+
"img_path": "images/39e78377a37d273e463e1cd2f44ec80b8428d2571b5f6f2149d5eef65dc3f23d.jpg",
|
| 1657 |
+
"table_caption": [],
|
| 1658 |
+
"table_footnote": [],
|
| 1659 |
+
"table_body": "<table><tr><td colspan=\"9\">Random Sampling</td></tr><tr><td rowspan=\"2\">Methods</td><td colspan=\"2\">15%NOTA</td><td colspan=\"2\">30%NOTA</td><td colspan=\"2\">50%NOTA</td><td colspan=\"2\">Average</td></tr><tr><td>Acc</td><td>F1</td><td>Acc</td><td>F1</td><td>Acc</td><td>F1</td><td>Acc</td><td>F1</td></tr><tr><td>O-Proto</td><td>80.02±0.65</td><td>72.84±0.88</td><td>80.55±0.97</td><td>73.73±1.18</td><td>81.16±1.04</td><td>72.41±1.28</td><td>80.58</td><td>72.99</td></tr><tr><td>BERT-Pair</td><td>80.77±2.35</td><td>73.99±2.67</td><td>81.53±1.60</td><td>75.06±1.92</td><td>83.24±0.85</td><td>75.14±1.38</td><td>81.85</td><td>74.73</td></tr><tr><td>MNAV</td><td>85.02±0.39</td><td>78.81±0.47</td><td>83.67±0.66</td><td>77.78±0.90</td><td>81.59±1.02</td><td>73.94±1.18</td><td>83.42</td><td>76.84</td></tr><tr><td>MCMN</td><td>88.24±1.83</td><td>83.54±2.45</td><td>82.50±3.40</td><td>76.39±4.34</td><td>74.88±5.83</td><td>67.49±6.64</td><td>81.87</td><td>75.80</td></tr><tr><td>ChatGPT</td><td>64.57±0.31</td><td>56.63±0.41</td><td>63.30±0.57</td><td>55.81±0.40</td><td>61.66±0.76</td><td>54.16±0.45</td><td>63.18</td><td>55.54</td></tr><tr><td>D-Proto</td><td>85.76±0.72</td><td>79.79±0.96</td><td>84.80±0.92</td><td>79.27±1.12</td><td>83.30±1.29</td><td>76.32±1.48</td><td>84.62</td><td>78.46</td></tr></table>",
|
| 1660 |
+
"bbox": [
|
| 1661 |
+
115,
|
| 1662 |
+
82,
|
| 1663 |
+
884,
|
| 1664 |
+
215
|
| 1665 |
+
],
|
| 1666 |
+
"page_idx": 10
|
| 1667 |
+
},
|
| 1668 |
+
{
|
| 1669 |
+
"type": "table",
|
| 1670 |
+
"img_path": "images/142628a9d1ec856cdc35d9079d7233b3e777babd975ee3addbf4b8ef1c63656a.jpg",
|
| 1671 |
+
"table_caption": [
|
| 1672 |
+
"Fixed Sampling"
|
| 1673 |
+
],
|
| 1674 |
+
"table_footnote": [],
|
| 1675 |
+
"table_body": "<table><tr><td rowspan=\"2\">Methods</td><td colspan=\"2\">15%NOTA</td><td colspan=\"2\">30%NOTA</td><td colspan=\"2\">50%NOTA</td><td colspan=\"2\">Average</td></tr><tr><td>Acc</td><td>F1</td><td>Acc</td><td>F1</td><td>Acc</td><td>F1</td><td>Acc</td><td>F1</td></tr><tr><td>O-Proto</td><td>81.38±1.26</td><td>80.45±1.29</td><td>81.42±1.11</td><td>81.04±1.19</td><td>81.38±0.96</td><td>79.39±1.06</td><td>81.38</td><td>80.29</td></tr><tr><td>BERT-Pair</td><td>82.83±0.62</td><td>81.98±0.62</td><td>83.76±0.46</td><td>83.00±0.54</td><td>85.49±0.29</td><td>82.62±0.45</td><td>84.02</td><td>82.53</td></tr><tr><td>MNAV</td><td>85.05±0.97</td><td>84.22±1.03</td><td>84.36±1.34</td><td>84.45±1.15</td><td>82.91±2.61</td><td>82.15±1.85</td><td>84.10</td><td>83.60</td></tr><tr><td>MCMN</td><td>87.56±1.93</td><td>84.04±2.52</td><td>83.16±3.37</td><td>83.40±3.08</td><td>75.07±5.79</td><td>79.14±3.93</td><td>81.93</td><td>82.19</td></tr><tr><td>ChatGPT</td><td>63.59±0.50</td><td>56.26±0.27</td><td>61.83±0.41</td><td>54.46±0.32</td><td>58.41±0.51</td><td>51.14±0.43</td><td>61.28</td><td>53.95</td></tr><tr><td>D-Proto</td><td>85.37±0.61</td><td>84.67±0.61</td><td>84.87±0.71</td><td>84.90±0.66</td><td>83.05±1.00</td><td>82.66±1.10</td><td>84.43</td><td>84.08</td></tr></table>",
|
| 1676 |
+
"bbox": [
|
| 1677 |
+
115,
|
| 1678 |
+
231,
|
| 1679 |
+
882,
|
| 1680 |
+
351
|
| 1681 |
+
],
|
| 1682 |
+
"page_idx": 10
|
| 1683 |
+
},
|
| 1684 |
+
{
|
| 1685 |
+
"type": "text",
|
| 1686 |
+
"text": "A Reproducibility",
|
| 1687 |
+
"text_level": 1,
|
| 1688 |
+
"bbox": [
|
| 1689 |
+
112,
|
| 1690 |
+
414,
|
| 1691 |
+
290,
|
| 1692 |
+
430
|
| 1693 |
+
],
|
| 1694 |
+
"page_idx": 10
|
| 1695 |
+
},
|
| 1696 |
+
{
|
| 1697 |
+
"type": "text",
|
| 1698 |
+
"text": "A.1 Implementation Details",
|
| 1699 |
+
"text_level": 1,
|
| 1700 |
+
"bbox": [
|
| 1701 |
+
112,
|
| 1702 |
+
442,
|
| 1703 |
+
349,
|
| 1704 |
+
458
|
| 1705 |
+
],
|
| 1706 |
+
"page_idx": 10
|
| 1707 |
+
},
|
| 1708 |
+
{
|
| 1709 |
+
"type": "text",
|
| 1710 |
+
"text": "Following Gao et al. (2019b), we exploit the same hyper-parameters. For a fair comparison, all baselines and our work use the same encoder. We choose BERT-base-uncased (Devlin et al., 2019) as the encoder. It is initialized by the pre-trained parameters and optimized during training. For the FewRel dataset, we set the batch size to 2, which means we feed two episodes into the model per batch. Each model is trained for 30 epochs with 1000 batches per epoch and tested with 10000 batches in the testing. An early stopping strategy is adopted, indicating the model will stop training when the performance on the validation set does not improve for 6 epochs. The best model on the validation set is saved for evaluation.",
|
| 1711 |
+
"bbox": [
|
| 1712 |
+
112,
|
| 1713 |
+
464,
|
| 1714 |
+
487,
|
| 1715 |
+
705
|
| 1716 |
+
],
|
| 1717 |
+
"page_idx": 10
|
| 1718 |
+
},
|
| 1719 |
+
{
|
| 1720 |
+
"type": "text",
|
| 1721 |
+
"text": "In Eq. (1), we set the hyper-parameters $\\alpha$ to 1e-5 on the FewRel. For $k$ of the local outlier factor in Eq. (7), we set it to be $K$ . The reason is that in the $N$ -way $K$ -shot setting, a support instance has other $(K - 1)$ neighbors with the same relation. And each relation has at least one prototype. This is consistent with the definition of $k$ -neighborhood. All the reported results using the FewRel dataset are the average of five runs with fixed seeds [5, 10, 15, 20, 25].",
|
| 1722 |
+
"bbox": [
|
| 1723 |
+
112,
|
| 1724 |
+
708,
|
| 1725 |
+
487,
|
| 1726 |
+
866
|
| 1727 |
+
],
|
| 1728 |
+
"page_idx": 10
|
| 1729 |
+
},
|
| 1730 |
+
{
|
| 1731 |
+
"type": "text",
|
| 1732 |
+
"text": "After the hyperparameter search, the threshold $\\pmb{\\tau}$ is set to 0.9 in the experimental setting of FewRel.",
|
| 1733 |
+
"bbox": [
|
| 1734 |
+
112,
|
| 1735 |
+
870,
|
| 1736 |
+
487,
|
| 1737 |
+
901
|
| 1738 |
+
],
|
| 1739 |
+
"page_idx": 10
|
| 1740 |
+
},
|
| 1741 |
+
{
|
| 1742 |
+
"type": "text",
|
| 1743 |
+
"text": "For MCMN, the sampling method in the pre",
|
| 1744 |
+
"bbox": [
|
| 1745 |
+
131,
|
| 1746 |
+
903,
|
| 1747 |
+
487,
|
| 1748 |
+
917
|
| 1749 |
+
],
|
| 1750 |
+
"page_idx": 10
|
| 1751 |
+
},
|
| 1752 |
+
{
|
| 1753 |
+
"type": "table",
|
| 1754 |
+
"img_path": "images/ee626e2f5875085deffd1d8fe95e50557059d14a6f708db992b22011486b4176.jpg",
|
| 1755 |
+
"table_caption": [
|
| 1756 |
+
"Table 4: Evaluation results of baseline methods and the proposed D-Proto, in terms of accuracy $(\\%)$ and F1 $(\\%)$ , on the FewRel dataset. This table includes the standard deviation of baseline methods and D-Proto."
|
| 1757 |
+
],
|
| 1758 |
+
"table_footnote": [],
|
| 1759 |
+
"table_body": "<table><tr><td>Model</td><td>Number of parameters</td></tr><tr><td>O-Proto</td><td>109482240</td></tr><tr><td>MNAV</td><td>109497600</td></tr><tr><td>BERT-Pair</td><td>109483778</td></tr><tr><td>D-Proto</td><td>109482240</td></tr></table>",
|
| 1760 |
+
"bbox": [
|
| 1761 |
+
552,
|
| 1762 |
+
412,
|
| 1763 |
+
842,
|
| 1764 |
+
511
|
| 1765 |
+
],
|
| 1766 |
+
"page_idx": 10
|
| 1767 |
+
},
|
| 1768 |
+
{
|
| 1769 |
+
"type": "text",
|
| 1770 |
+
"text": "Table 5: The number of hyperparameters for each model.",
|
| 1771 |
+
"bbox": [
|
| 1772 |
+
507,
|
| 1773 |
+
519,
|
| 1774 |
+
882,
|
| 1775 |
+
546
|
| 1776 |
+
],
|
| 1777 |
+
"page_idx": 10
|
| 1778 |
+
},
|
| 1779 |
+
{
|
| 1780 |
+
"type": "text",
|
| 1781 |
+
"text": "training follows Liu et al. (2022), while the sampling method in the testing is fixed sampling or random sampling.",
|
| 1782 |
+
"bbox": [
|
| 1783 |
+
507,
|
| 1784 |
+
577,
|
| 1785 |
+
882,
|
| 1786 |
+
627
|
| 1787 |
+
],
|
| 1788 |
+
"page_idx": 10
|
| 1789 |
+
},
|
| 1790 |
+
{
|
| 1791 |
+
"type": "text",
|
| 1792 |
+
"text": "A.2 Computing Infrastructure",
|
| 1793 |
+
"text_level": 1,
|
| 1794 |
+
"bbox": [
|
| 1795 |
+
507,
|
| 1796 |
+
645,
|
| 1797 |
+
766,
|
| 1798 |
+
661
|
| 1799 |
+
],
|
| 1800 |
+
"page_idx": 10
|
| 1801 |
+
},
|
| 1802 |
+
{
|
| 1803 |
+
"type": "text",
|
| 1804 |
+
"text": "Since BERT-Pair (Gao et al., 2019b) requires high GPU memory in the fixed sampling of 5-way 5-shot setting, we use 2 NVIDIA A6000s with 48G memory each to train the model. The rest of the baselines and our model are trained on a NVIDIA TESLA V100 with 32G of GPU memory.",
|
| 1805 |
+
"bbox": [
|
| 1806 |
+
507,
|
| 1807 |
+
670,
|
| 1808 |
+
882,
|
| 1809 |
+
766
|
| 1810 |
+
],
|
| 1811 |
+
"page_idx": 10
|
| 1812 |
+
},
|
| 1813 |
+
{
|
| 1814 |
+
"type": "text",
|
| 1815 |
+
"text": "A.3 Number of Parameters per Model",
|
| 1816 |
+
"text_level": 1,
|
| 1817 |
+
"bbox": [
|
| 1818 |
+
507,
|
| 1819 |
+
785,
|
| 1820 |
+
826,
|
| 1821 |
+
802
|
| 1822 |
+
],
|
| 1823 |
+
"page_idx": 10
|
| 1824 |
+
},
|
| 1825 |
+
{
|
| 1826 |
+
"type": "text",
|
| 1827 |
+
"text": "Table 5 shows the number of hyperparameters for each model.",
|
| 1828 |
+
"bbox": [
|
| 1829 |
+
507,
|
| 1830 |
+
810,
|
| 1831 |
+
882,
|
| 1832 |
+
841
|
| 1833 |
+
],
|
| 1834 |
+
"page_idx": 10
|
| 1835 |
+
},
|
| 1836 |
+
{
|
| 1837 |
+
"type": "text",
|
| 1838 |
+
"text": "A.4 Evaluation Metrics",
|
| 1839 |
+
"text_level": 1,
|
| 1840 |
+
"bbox": [
|
| 1841 |
+
507,
|
| 1842 |
+
860,
|
| 1843 |
+
710,
|
| 1844 |
+
876
|
| 1845 |
+
],
|
| 1846 |
+
"page_idx": 10
|
| 1847 |
+
},
|
| 1848 |
+
{
|
| 1849 |
+
"type": "text",
|
| 1850 |
+
"text": "We use two primary evaluation metrics, accuracy and macro F1. The basic implementation of accu",
|
| 1851 |
+
"bbox": [
|
| 1852 |
+
507,
|
| 1853 |
+
887,
|
| 1854 |
+
882,
|
| 1855 |
+
917
|
| 1856 |
+
],
|
| 1857 |
+
"page_idx": 10
|
| 1858 |
+
},
|
| 1859 |
+
{
|
| 1860 |
+
"type": "page_number",
|
| 1861 |
+
"text": "2487",
|
| 1862 |
+
"bbox": [
|
| 1863 |
+
480,
|
| 1864 |
+
927,
|
| 1865 |
+
519,
|
| 1866 |
+
940
|
| 1867 |
+
],
|
| 1868 |
+
"page_idx": 10
|
| 1869 |
+
},
|
| 1870 |
+
{
|
| 1871 |
+
"type": "table",
|
| 1872 |
+
"img_path": "images/311b5ed07bb5416c5b115290797dd48bebd4c59688f60d6e3ee53ca6fe611f2e.jpg",
|
| 1873 |
+
"table_caption": [],
|
| 1874 |
+
"table_footnote": [],
|
| 1875 |
+
"table_body": "<table><tr><td>Method</td><td>Number of instances</td></tr><tr><td>D-Proto w/o P</td><td>53</td></tr><tr><td>D-Proto w/o DP</td><td>33</td></tr><tr><td>D-Proto w/o {P ∪ DP}</td><td>28</td></tr><tr><td>D-Proto w. 20%DPK-2</td><td>68</td></tr><tr><td>D-Proto w. 40%DPK-2</td><td>78</td></tr><tr><td>D-Proto w. 60%DPK-2</td><td>88</td></tr><tr><td>D-Proto w. 80%DPK-2</td><td>98</td></tr><tr><td>D-Proto w. 100%DPK-2</td><td>108</td></tr><tr><td>D-Proto(Ours)</td><td>58</td></tr></table>",
|
| 1876 |
+
"bbox": [
|
| 1877 |
+
136,
|
| 1878 |
+
80,
|
| 1879 |
+
467,
|
| 1880 |
+
231
|
| 1881 |
+
],
|
| 1882 |
+
"page_idx": 11
|
| 1883 |
+
},
|
| 1884 |
+
{
|
| 1885 |
+
"type": "text",
|
| 1886 |
+
"text": "Table 6: The number of instances for each method in an episode. The experiment setting is 5-way 5-shot. The number of query instances is 3.",
|
| 1887 |
+
"bbox": [
|
| 1888 |
+
112,
|
| 1889 |
+
240,
|
| 1890 |
+
489,
|
| 1891 |
+
285
|
| 1892 |
+
],
|
| 1893 |
+
"page_idx": 11
|
| 1894 |
+
},
|
| 1895 |
+
{
|
| 1896 |
+
"type": "text",
|
| 1897 |
+
"text": "racy is as follows:",
|
| 1898 |
+
"bbox": [
|
| 1899 |
+
112,
|
| 1900 |
+
311,
|
| 1901 |
+
253,
|
| 1902 |
+
326
|
| 1903 |
+
],
|
| 1904 |
+
"page_idx": 11
|
| 1905 |
+
},
|
| 1906 |
+
{
|
| 1907 |
+
"type": "equation",
|
| 1908 |
+
"text": "\n$$\nA c c u r a c y = \\frac {T P + T N}{T P + F P + T N + F N}\n$$\n",
|
| 1909 |
+
"text_format": "latex",
|
| 1910 |
+
"bbox": [
|
| 1911 |
+
154,
|
| 1912 |
+
338,
|
| 1913 |
+
443,
|
| 1914 |
+
370
|
| 1915 |
+
],
|
| 1916 |
+
"page_idx": 11
|
| 1917 |
+
},
|
| 1918 |
+
{
|
| 1919 |
+
"type": "text",
|
| 1920 |
+
"text": "where $TP$ are true positives, $FP$ are false positives, $TN$ are true negatives, and $FN$ are false negatives. The definition of F1 is as follows:",
|
| 1921 |
+
"bbox": [
|
| 1922 |
+
112,
|
| 1923 |
+
381,
|
| 1924 |
+
489,
|
| 1925 |
+
429
|
| 1926 |
+
],
|
| 1927 |
+
"page_idx": 11
|
| 1928 |
+
},
|
| 1929 |
+
{
|
| 1930 |
+
"type": "equation",
|
| 1931 |
+
"text": "\n$$\nP = \\frac {T P}{T P + F P}\n$$\n",
|
| 1932 |
+
"text_format": "latex",
|
| 1933 |
+
"bbox": [
|
| 1934 |
+
228,
|
| 1935 |
+
439,
|
| 1936 |
+
356,
|
| 1937 |
+
470
|
| 1938 |
+
],
|
| 1939 |
+
"page_idx": 11
|
| 1940 |
+
},
|
| 1941 |
+
{
|
| 1942 |
+
"type": "equation",
|
| 1943 |
+
"text": "\n$$\nR = \\frac {T P}{T P + F N}\n$$\n",
|
| 1944 |
+
"text_format": "latex",
|
| 1945 |
+
"bbox": [
|
| 1946 |
+
231,
|
| 1947 |
+
472,
|
| 1948 |
+
357,
|
| 1949 |
+
502
|
| 1950 |
+
],
|
| 1951 |
+
"page_idx": 11
|
| 1952 |
+
},
|
| 1953 |
+
{
|
| 1954 |
+
"type": "equation",
|
| 1955 |
+
"text": "\n$$\nF 1 = \\frac {2 \\times P \\times R}{P + R}\n$$\n",
|
| 1956 |
+
"text_format": "latex",
|
| 1957 |
+
"bbox": [
|
| 1958 |
+
231,
|
| 1959 |
+
504,
|
| 1960 |
+
369,
|
| 1961 |
+
536
|
| 1962 |
+
],
|
| 1963 |
+
"page_idx": 11
|
| 1964 |
+
},
|
| 1965 |
+
{
|
| 1966 |
+
"type": "text",
|
| 1967 |
+
"text": "Macro F1 calculates F1 for each class and finds their unweighted mean.",
|
| 1968 |
+
"bbox": [
|
| 1969 |
+
112,
|
| 1970 |
+
548,
|
| 1971 |
+
485,
|
| 1972 |
+
580
|
| 1973 |
+
],
|
| 1974 |
+
"page_idx": 11
|
| 1975 |
+
},
|
| 1976 |
+
{
|
| 1977 |
+
"type": "text",
|
| 1978 |
+
"text": "A.5 Hyperparameters",
|
| 1979 |
+
"text_level": 1,
|
| 1980 |
+
"bbox": [
|
| 1981 |
+
114,
|
| 1982 |
+
593,
|
| 1983 |
+
305,
|
| 1984 |
+
609
|
| 1985 |
+
],
|
| 1986 |
+
"page_idx": 11
|
| 1987 |
+
},
|
| 1988 |
+
{
|
| 1989 |
+
"type": "text",
|
| 1990 |
+
"text": "Following Gao et al. (2019b), the hyperparameters not mentioned in Section A.1 are as follows:",
|
| 1991 |
+
"bbox": [
|
| 1992 |
+
112,
|
| 1993 |
+
615,
|
| 1994 |
+
485,
|
| 1995 |
+
646
|
| 1996 |
+
],
|
| 1997 |
+
"page_idx": 11
|
| 1998 |
+
},
|
| 1999 |
+
{
|
| 2000 |
+
"type": "list",
|
| 2001 |
+
"sub_type": "text",
|
| 2002 |
+
"list_items": [
|
| 2003 |
+
"- Learning rate: 2e-5.",
|
| 2004 |
+
"Weight decay: 0.01.",
|
| 2005 |
+
"Warmup steps: 300.",
|
| 2006 |
+
"Gradient accumulation: 1.",
|
| 2007 |
+
"Max length: 128.",
|
| 2008 |
+
"- Hidden size: 768.",
|
| 2009 |
+
"Test batch: 10000."
|
| 2010 |
+
],
|
| 2011 |
+
"bbox": [
|
| 2012 |
+
136,
|
| 2013 |
+
659,
|
| 2014 |
+
347,
|
| 2015 |
+
850
|
| 2016 |
+
],
|
| 2017 |
+
"page_idx": 11
|
| 2018 |
+
},
|
| 2019 |
+
{
|
| 2020 |
+
"type": "text",
|
| 2021 |
+
"text": "A.6 Links to Dataset",
|
| 2022 |
+
"text_level": 1,
|
| 2023 |
+
"bbox": [
|
| 2024 |
+
114,
|
| 2025 |
+
865,
|
| 2026 |
+
294,
|
| 2027 |
+
879
|
| 2028 |
+
],
|
| 2029 |
+
"page_idx": 11
|
| 2030 |
+
},
|
| 2031 |
+
{
|
| 2032 |
+
"type": "text",
|
| 2033 |
+
"text": "FewRel (Han et al., 2018): https://thunlp.github.io/2/fewrel2nota.html.",
|
| 2034 |
+
"bbox": [
|
| 2035 |
+
112,
|
| 2036 |
+
887,
|
| 2037 |
+
489,
|
| 2038 |
+
917
|
| 2039 |
+
],
|
| 2040 |
+
"page_idx": 11
|
| 2041 |
+
},
|
| 2042 |
+
{
|
| 2043 |
+
"type": "text",
|
| 2044 |
+
"text": "A.7 Links to Toolkit",
|
| 2045 |
+
"text_level": 1,
|
| 2046 |
+
"bbox": [
|
| 2047 |
+
509,
|
| 2048 |
+
84,
|
| 2049 |
+
685,
|
| 2050 |
+
98
|
| 2051 |
+
],
|
| 2052 |
+
"page_idx": 11
|
| 2053 |
+
},
|
| 2054 |
+
{
|
| 2055 |
+
"type": "list",
|
| 2056 |
+
"sub_type": "text",
|
| 2057 |
+
"list_items": [
|
| 2058 |
+
"- BERT: https://huggingface.co/ transformers/v4.5.1/model_doc/bert.html#bertmodel",
|
| 2059 |
+
"- BERT Tokenizer: https://huggingface.co/transformers/v4.5.1/model_doc/bert.html#berttokenizer",
|
| 2060 |
+
"- Local Outlier Factor(LOF): https://scikit-learn.org/stable/modules/generated/sklearn.neighbors.\n- LocalOutlierFactor.html",
|
| 2061 |
+
"- Macro F1: https://scikit-learn.org/stable/modules/generated/sklearn.metrics.f1_score.html"
|
| 2062 |
+
],
|
| 2063 |
+
"bbox": [
|
| 2064 |
+
531,
|
| 2065 |
+
108,
|
| 2066 |
+
884,
|
| 2067 |
+
366
|
| 2068 |
+
],
|
| 2069 |
+
"page_idx": 11
|
| 2070 |
+
},
|
| 2071 |
+
{
|
| 2072 |
+
"type": "text",
|
| 2073 |
+
"text": "A.8 Number of Instances per Method",
|
| 2074 |
+
"text_level": 1,
|
| 2075 |
+
"bbox": [
|
| 2076 |
+
509,
|
| 2077 |
+
386,
|
| 2078 |
+
820,
|
| 2079 |
+
401
|
| 2080 |
+
],
|
| 2081 |
+
"page_idx": 11
|
| 2082 |
+
},
|
| 2083 |
+
{
|
| 2084 |
+
"type": "text",
|
| 2085 |
+
"text": "Table 6 shows the number of instances included in an episode for each method in ablation studying. The episode sampling method is random sampling.",
|
| 2086 |
+
"bbox": [
|
| 2087 |
+
507,
|
| 2088 |
+
410,
|
| 2089 |
+
882,
|
| 2090 |
+
458
|
| 2091 |
+
],
|
| 2092 |
+
"page_idx": 11
|
| 2093 |
+
},
|
| 2094 |
+
{
|
| 2095 |
+
"type": "text",
|
| 2096 |
+
"text": "A.9 Prompt of ChatGPT",
|
| 2097 |
+
"text_level": 1,
|
| 2098 |
+
"bbox": [
|
| 2099 |
+
509,
|
| 2100 |
+
474,
|
| 2101 |
+
721,
|
| 2102 |
+
489
|
| 2103 |
+
],
|
| 2104 |
+
"page_idx": 11
|
| 2105 |
+
},
|
| 2106 |
+
{
|
| 2107 |
+
"type": "text",
|
| 2108 |
+
"text": "We demonstrate the prompt for using ChatGPT directly in the NOTA task, as follows:",
|
| 2109 |
+
"bbox": [
|
| 2110 |
+
507,
|
| 2111 |
+
498,
|
| 2112 |
+
880,
|
| 2113 |
+
529
|
| 2114 |
+
],
|
| 2115 |
+
"page_idx": 11
|
| 2116 |
+
},
|
| 2117 |
+
{
|
| 2118 |
+
"type": "text",
|
| 2119 |
+
"text": "Question: The purpose of the relation classification task is to identify the relation between two entities (one is the head entity and the other is the tail entity) in a given sentence. For example, the following sentence \"California is a state in the United States\". Through the derivation of the whole sentence, the relation between the head entity \"California\" and the tail entity the \"United States\" is \"contains\". While the few-shot relation classification task consists of a support set and a query set. The support set generally contains $N$ relations, and each relation contains $K$ instances. This setup is called $N$ -way $K$ -shot. We need to predict the relation between two entities in each sentence given in the query set based on the support set. Now I need you to complete a few-shot relation classification task, which is set to 5-way 5-shot. The five categories in the support set are numbered from 0 to 4, respectively. Five sentences are given after",
|
| 2120 |
+
"bbox": [
|
| 2121 |
+
532,
|
| 2122 |
+
550,
|
| 2123 |
+
858,
|
| 2124 |
+
904
|
| 2125 |
+
],
|
| 2126 |
+
"page_idx": 11
|
| 2127 |
+
},
|
| 2128 |
+
{
|
| 2129 |
+
"type": "page_number",
|
| 2130 |
+
"text": "2488",
|
| 2131 |
+
"bbox": [
|
| 2132 |
+
480,
|
| 2133 |
+
928,
|
| 2134 |
+
519,
|
| 2135 |
+
940
|
| 2136 |
+
],
|
| 2137 |
+
"page_idx": 11
|
| 2138 |
+
},
|
| 2139 |
+
{
|
| 2140 |
+
"type": "text",
|
| 2141 |
+
"text": "each category. The head entity of each sentence is surrounded by two special characters [head] and [/head], and the tail entity is surrounded by two special characters [tail] and [/tail]. You need to predict the relationship between two entities for each sentence in the query set from the support set. That is, if the relation of a query instance is similar to that of all instances of category 0 in the support set, then the category predicted by the query instance is category 0. Notice! If the relation between the two entities of a sentence in the query set cannot be referenced in the support set, the relation between the two entities of the sentence is called NOTA (None-of-the-above). When the NOTA relation is encountered, the category number of the predicted result is 5. Warning! You just need to return the class number for each instance predicted in the query set. For example, the relation of the first instance in the query set is relation 0, and the second instance is relation 5 (NOTA). Then your reply is: [0, 5]. If you get it, then I'll give you support sets and query sets next.",
|
| 2142 |
+
"bbox": [
|
| 2143 |
+
139,
|
| 2144 |
+
91,
|
| 2145 |
+
463,
|
| 2146 |
+
508
|
| 2147 |
+
],
|
| 2148 |
+
"page_idx": 12
|
| 2149 |
+
},
|
| 2150 |
+
{
|
| 2151 |
+
"type": "text",
|
| 2152 |
+
"text": "ChatGPT: Yes, I understand the task. Please provide me with the support set and query set.",
|
| 2153 |
+
"bbox": [
|
| 2154 |
+
139,
|
| 2155 |
+
510,
|
| 2156 |
+
460,
|
| 2157 |
+
558
|
| 2158 |
+
],
|
| 2159 |
+
"page_idx": 12
|
| 2160 |
+
},
|
| 2161 |
+
{
|
| 2162 |
+
"type": "text",
|
| 2163 |
+
"text": "Question: The following is the support set (5-way 5-shot. Instances in each category are separated by a special character [sep].):",
|
| 2164 |
+
"bbox": [
|
| 2165 |
+
139,
|
| 2166 |
+
558,
|
| 2167 |
+
460,
|
| 2168 |
+
609
|
| 2169 |
+
],
|
| 2170 |
+
"page_idx": 12
|
| 2171 |
+
},
|
| 2172 |
+
{
|
| 2173 |
+
"type": "text",
|
| 2174 |
+
"text": "···",
|
| 2175 |
+
"bbox": [
|
| 2176 |
+
139,
|
| 2177 |
+
611,
|
| 2178 |
+
173,
|
| 2179 |
+
621
|
| 2180 |
+
],
|
| 2181 |
+
"page_idx": 12
|
| 2182 |
+
},
|
| 2183 |
+
{
|
| 2184 |
+
"type": "text",
|
| 2185 |
+
"text": "The following is the query set (The query set contains one instance.):",
|
| 2186 |
+
"bbox": [
|
| 2187 |
+
139,
|
| 2188 |
+
623,
|
| 2189 |
+
460,
|
| 2190 |
+
653
|
| 2191 |
+
],
|
| 2192 |
+
"page_idx": 12
|
| 2193 |
+
},
|
| 2194 |
+
{
|
| 2195 |
+
"type": "text",
|
| 2196 |
+
"text": "··",
|
| 2197 |
+
"bbox": [
|
| 2198 |
+
141,
|
| 2199 |
+
659,
|
| 2200 |
+
173,
|
| 2201 |
+
670
|
| 2202 |
+
],
|
| 2203 |
+
"page_idx": 12
|
| 2204 |
+
},
|
| 2205 |
+
{
|
| 2206 |
+
"type": "page_number",
|
| 2207 |
+
"text": "2489",
|
| 2208 |
+
"bbox": [
|
| 2209 |
+
480,
|
| 2210 |
+
928,
|
| 2211 |
+
519,
|
| 2212 |
+
940
|
| 2213 |
+
],
|
| 2214 |
+
"page_idx": 12
|
| 2215 |
+
}
|
| 2216 |
+
]
|
2023/Density-Aware Prototypical Network for Few-Shot Relation Classification/3cc00c50-e0b4-4c6e-9a21-2f4635fbe6e7_model.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
2023/Density-Aware Prototypical Network for Few-Shot Relation Classification/3cc00c50-e0b4-4c6e-9a21-2f4635fbe6e7_origin.pdf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ae987a96340228ca57eda533605cb5677cb5492e22fe6286eb48fd2ca681d22d
|
| 3 |
+
size 549193
|
2023/Density-Aware Prototypical Network for Few-Shot Relation Classification/full.md
ADD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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Density-Aware Prototypical Network for Few-Shot Relation Classification
|
| 2 |
+
|
| 3 |
+
Jianfeng Wu $^{1}$ Mengting Hu $^{2*}$ Yike Wu $^{3}$ Bingzhe Wu $^{4}$ Yalan Xie $^{1}$ Mingming Liu $^{2}$ Renhong Cheng $^{1}$
|
| 4 |
+
|
| 5 |
+
<sup>1</sup> College of Computer Science, Nankai University, <sup>2</sup> College of Software, Nankai University
|
| 6 |
+
<sup>3</sup> School of Journalism and Communication, Nankai University, <sup>4</sup> Tencent AI Lab
|
| 7 |
+
wjf@mail.nankai.edu.cn, mthu@nankai.edu.cn
|
| 8 |
+
|
| 9 |
+
# Abstract
|
| 10 |
+
|
| 11 |
+
In recent years, few-shot relation classification has evoked many research interests. Yet a more challenging problem, i.e. none-of-the-above (NOTA), is under-explored. Existing works mainly regard NOTA as an extra class and treat it the same as known relations. However, such a solution ignores the overall instance distribution, where NOTA instances are actually outliers and distributed unnaturally compared with known ones. In this paper, we propose a density-aware prototypical network (D-Proto) to treat various instances distinctly. Specifically, we design unique training objectives to separate known instances and isolate NOTA instances, respectively. This produces an ideal instance distribution, where known instances are dense yet NOTAs have a small density. Moreover, we propose a NOTA detection module to further enlarge the density of known samples, and discriminate NOTA and known samples accurately. Experimental results demonstrate that the proposed method outperforms strong baselines with robustness towards various NOTA rates. $^{1}$
|
| 12 |
+
|
| 13 |
+
# 1 Introduction
|
| 14 |
+
|
| 15 |
+
Relation classification is a fundamental task in natural language processing field, aiming to recognize the relation between two entities in a given sentence. Recently, many works formulate this task in the few-shot learning scenario (Dong et al., 2020; Qu et al., 2020; Han et al., 2021; Brody et al., 2021). They focus on obtaining fast adaptation with a few samples by learning multiple episodes. Usually, each episode is composed of a support set and a query set, where the support set has $N$ -way $K$ -shot instances. As an example shown in Table 1, the support set provides two known relations, i.e. "contains" and "founded by". The first query instance has "founded by" relation, which can be
|
| 16 |
+
|
| 17 |
+
<table><tr><td colspan="2">Support Set</td></tr><tr><td>(1) contains</td><td>California is a state in the United States.</td></tr><tr><td>(2) founded by</td><td>Steve Jobs was one of the founders of Apple.</td></tr><tr><td colspan="2">Query Set</td></tr><tr><td>(2)</td><td>Bill Gates founded Microsoft in 1975</td></tr><tr><td>NOTA</td><td>Einstein was born in 1879.</td></tr></table>
|
| 18 |
+
|
| 19 |
+
Table 1: An example for a 2-way 1-shot episode with $50\%$ NOTA rate, where 2 indicates the number of classes and each class has one instance. The head entity is marked in red, and the tail entity is marked in blue.
|
| 20 |
+
|
| 21 |
+
recognized by reference to this support set. But for the second query instance, the relation between "Einstein" and "1879" is "born in". It cannot find a reference from the support set.
|
| 22 |
+
|
| 23 |
+
Gao et al. (2019b) define such relation as none-of-the-above (NOTA) and propose a new task setting. Its challenge relies on the accurate detection of both the known instances and NOTA ones. Previous works extend $N$ -way to $(N + 1)$ -way, regarding NOTA relation as an extra class. Then the problem is further solved by classification (Gao et al., 2019b), or computing distance with pre-defined learnable vectors (Sabo et al., 2021), or multiple choice (Liu et al., 2022). Despite their popularity and superiority, they only focus on detecting NOTA effectively rather than refining the distribution of NOTA instances, leaving the overall distribution of all instances ignored. However, NOTA is not a simple $(N + 1)$ -th class, which tends to be outliers for the known $N$ relations. As an illustration, MNAV may lead some NOTA instances to cluster around a particular vector. However, the clustering of these instances from different categories together is unnatural. Therefore, motivated by this, we study from the view of instance distribution.
|
| 24 |
+
|
| 25 |
+
In this paper, our initial research question is what
|
| 26 |
+
|
| 27 |
+
instances distribution is ideal. For known samples, intra-class needs to be well clustered and interclass is clearly separated. And NOTA samples, without gathering, should be distributed away from all known instances. In light of these properties, we propose a density-aware prototypical network (D-Proto) that takes into account the density of different types of instances. Specifically, to guarantee the ideal instance distribution of known instances, we introduce neighborhood component analysis (NCA) (Laenen and Bertinetto, 2021), which involves all sample pairs out of the support and query sets. For NOTA instances, we propose a NOTA loss, which aims at pushing them away from all non-NOTA ones. By making NOTA instances isolated, both of them become more distinguishable in the embedding space.
|
| 28 |
+
|
| 29 |
+
Moreover, the ideal distribution will lead to distinct densities for NOTA and known samples. That is to say, known instances are distributed densely since the intra-class is clustered together. NOTA's density is small as it is isolated from others. Therefore, we propose a NOTA detection module by fully enhancing the density properties. Concretely, to promote the density of known instances, we design intra-class prototype enhancement. By adding prototypes and degenerative prototypes, their densities could be further enlarged. Based on this, we propose a prototype enhanced local outlier factor (PLOF) to calculate the outlier extent of an instance through distances with its neighbors. Finally, we propose a base score that uses the extremal distance ratio between query samples and $N$ prototypes. By fusing PLOF and base score, the final NOTA score is obtained to accurately discriminate between NOTA instances and known ones.
|
| 30 |
+
|
| 31 |
+
In summary, the main contributions of our work are as follows:
|
| 32 |
+
|
| 33 |
+
- We propose D-Proto to address the more challenging few-shot relation classification task. To the best of our knowledge, this work is the first to model the overall instance distribution in an episode.
|
| 34 |
+
- We introduce the NCA objective and propose a NOTA loss to achieve ideal instance distribution. Based on its ideality, we further propose a prototype enhanced local outlier factor (PLOF) and a base score to fully leverage the density properties.
|
| 35 |
+
- Extensive experimental results demonstrated
|
| 36 |
+
|
| 37 |
+

|
| 38 |
+
Figure 1: The framework overview of D-Proto. In this example, the support set is 2-way 3-shot. During training, two different query samples are for class 1 and NOTA, respectively. During testing, queries are first predicted via distances with prototypes and further revised with a NOTA detection module.
|
| 39 |
+
|
| 40 |
+
the effectiveness and robustness of our approach on both fixed and random episode sampling with various NOTA rates.
|
| 41 |
+
|
| 42 |
+
# 2 Methodology
|
| 43 |
+
|
| 44 |
+
# 2.1 Formulation and Method Overview
|
| 45 |
+
|
| 46 |
+
Given the training set $\mathcal{D}_{train}$ , we sample multiple episodes, where each of them is composed of $\{\mathcal{S},\mathcal{Q},\mathcal{R}\}$ . The relation set $\mathcal{R} = \{r^1,r^2,\dots,r^N\}$ mentions $N$ relations. The support set $\mathcal{S}$ follows $N$ -way $K$ -shot setting, which contains $N$ relations, and each relation $r^i$ has $K$ instances.
|
| 47 |
+
|
| 48 |
+
$$
|
| 49 |
+
\mathcal {S} = \left\{\left(s _ {j} ^ {i}, r _ {j} ^ {i}\right) \right\}, 1 \leq i \leq N, 1 \leq j \leq K
|
| 50 |
+
$$
|
| 51 |
+
|
| 52 |
+
where $s_j^i$ denotes the $j$ -th sample belonging to the relation $r^i$ . The query set $\mathcal{Q}$ is composed of two kinds of instances: known instances, which belongs to the relation set $\mathcal{R}$ of the support set; NOTA instances, without references from the support set.
|
| 53 |
+
|
| 54 |
+
$$
|
| 55 |
+
\mathcal {Q} = \{(q _ {1}, r _ {1}), \dots , (q _ {n}, r _ {n}), (\overline {{q}} _ {1}, \overline {{r}}), \dots , (\overline {{q}} _ {m}, \overline {{r}}) \}
|
| 56 |
+
$$
|
| 57 |
+
|
| 58 |
+
where $\{(q_j,r_j)\}_{j = 1}^n$ are the known instances and $\{(\overline{q}_j,\overline{r})\}_{j = 1}^m$ are the NOTA instances. Here $\overline{r}$ denotes the NOTA relation. The query set $\mathcal{Q}$ is predicted with the help of support set $S$ . Our goal is to recognize all samples in $\mathcal{Q}$ accurately.
|
| 59 |
+
|
| 60 |
+
The proposed approach is depicted in Figure 1. A sample is encoded with BERT $E(\cdot)$ (Devlin et al., 2019), yielding the vector representation of [CLS]. In the embedding space, we design two training objectives: 1) known sample separation $\mathcal{L}_{nca}$ aims to increase the separability of known samples by reducing intra-class distances and enlarging inter-class distances; 2) NOTA sample isolation $\mathcal{L}_{nota}$
|
| 61 |
+
|
| 62 |
+
push NOTA samples to be distinct from known ones, making them more easily identifiable as outliers. Ultimately, our model is optimized by the combination of two training objectives.
|
| 63 |
+
|
| 64 |
+
$$
|
| 65 |
+
\mathcal {L} = \mathcal {L} _ {n c a} - \alpha \mathcal {L} _ {n o t a} \tag {1}
|
| 66 |
+
$$
|
| 67 |
+
|
| 68 |
+
where $\alpha$ is a hyper-parameter to balance the contribution of NOTA loss.
|
| 69 |
+
|
| 70 |
+
In the testing phase, we propose NOTA detection module, fusing PLOF and base score into NOTA score. Each sample's NOTA score then reveals its outlier extent. NOTA samples will be easily discriminated from known samples. Next, we will introduce each module in detail.
|
| 71 |
+
|
| 72 |
+
# 2.2 Known Sample Separation
|
| 73 |
+
|
| 74 |
+
Although considering the overall instance distribution is intuitive, its ideal is not easy to attain in the few-shot scenario. Due to the limitation of samples, a sample and its neighbors are all important for quantifying density. Therefore, we introduce neighborhood component analysis (NCA) loss (Laenen and Bertinetto, 2021). It considers the distances between all sample pairs from both the support set and the query set. In other words, $K$ samples of some relation are pulled together interactively and away from all other $K \times (N - 1)$ samples.
|
| 75 |
+
|
| 76 |
+
Assume all instances in an episode are $\mathcal{B} = \{(x_i,r_i)|(x_i,r_i)\in \{\mathcal{S}\cup \mathcal{Q}\} ,1\leq i\leq b\}$ then all the known instances are defined as $\mathcal{B}_k = \{(x_i,r_i)|(x_i,r_i)\in \mathcal{B},r_i\neq \overline{r}\}$ where $x_{i}$ is a instance, $r_i$ is its relation, $\overline{r}$ represents the NOTA relation. NCA loss is formulated as below.
|
| 77 |
+
|
| 78 |
+
$$
|
| 79 |
+
\begin{array}{l} \mathcal{L}_{nca} = \frac{-1}{|\mathcal{B}_{k}|}\sum_{\substack{i\in 1,\ldots b\\ r_{i}\neq \overline{r}}}\log \\ \left( \begin{array}{l} \sum_ {j \in 1,.., b} \exp (- d ^ {2} (\boldsymbol {x} _ {i}, \boldsymbol {x} _ {j})) \\ \frac {\sum_ {k \in 1 , . . . , b} \exp (- d ^ {2} (\boldsymbol {x} _ {i} , \boldsymbol {x} _ {k}))}{r _ {k} \neq \bar {r}} \end{array} \right) \tag {2} \\ \end{array}
|
| 80 |
+
$$
|
| 81 |
+
|
| 82 |
+
where $\boldsymbol{x}_i = E(\boldsymbol{x}_i)$ is the vector representation for the instance $x_i$ . $d(\cdot, \cdot)$ represents the Euclidean distance. $|\mathcal{B}_k|$ indicates the number of samples in $\mathcal{B}_k$ . With $\mathcal{L}_{nca}$ , the intra-class is clustered together and the inter-class is away from each other, making a good distribution for the density of known samples.
|
| 83 |
+
|
| 84 |
+

|
| 85 |
+
Figure 2: Illustration of expanding instance sets for each relation in PLOF. We specifically augment with prototypes and degenerative prototypes.
|
| 86 |
+
|
| 87 |
+
# 2.3 NOTA Sample Isolation
|
| 88 |
+
|
| 89 |
+
Since NOTA samples are outliers for $N$ known relation clusters, they should be isolated from known ones. Meanwhile, if a query set has multiple NOTAs, they might belong to different relations like the second query instance of Table 1. Aggregating NOTA samples into the $(N + 1)$ -th class may cause a negative impact on distinguishing relations. Therefore, we propose NOTA loss to push each NOTA instance away from all the known samples. The NOTA instances are denoted as $\mathcal{B}_{\text{nota}} = \{(x_i, r_i) | (x_i, r_i) \in \mathcal{B}, r_i = \overline{r}\}$ . $\mathcal{L}_{\text{nota}}$ is defined as below.
|
| 90 |
+
|
| 91 |
+
$$
|
| 92 |
+
\begin{array}{l} \mathcal{L}_{nota} = \frac{-1}{|\mathcal{B}_{nota}|}\sum_{\substack{i\in 1,\ldots ,b\\ r_{i} = \overline{r}}}\log \\ \left(\sum_ {\substack {j \in 1, \dots , b \\ r _ {j} \neq \bar {r}}} \exp (- d ^ {2} (\boldsymbol {x} _ {i}, \boldsymbol {x} _ {j}))\right) \tag{3} \\ \end{array}
|
| 93 |
+
$$
|
| 94 |
+
|
| 95 |
+
In this way, each NOTA sample is isolated from all others, which is beneficial for detecting known relations and NOTA via density.
|
| 96 |
+
|
| 97 |
+
# 2.4 NOTA Detection
|
| 98 |
+
|
| 99 |
+
To further quantify densities accurately for few-shot samples, we promote the testing phase with PLOF and base score. They are aggregated into the final NOTA score, which indicates an instance's outlier degree through its nearest instances and prototypes. Next, we will introduce them individually.
|
| 100 |
+
|
| 101 |
+

|
| 102 |
+
Figure 3: A 3-neighborhood example. The radius of each circle represents 3-distance.
|
| 103 |
+
|
| 104 |
+
Prototype Enhanced Local Outlier Factor (PLOF) Different from the naive prototypical network (Snell et al., 2017), we compute the sample pair distances as Eq. (2). However, during inference, we argue that the prototypes can be leveraged to enlarge the density. Therefore, as depicted in Figure 2, we first calculate the prototype for each relation as below and expand the relation's vector set with its prototype.
|
| 105 |
+
|
| 106 |
+
$$
|
| 107 |
+
\boldsymbol {c} ^ {\boldsymbol {r} ^ {i}} = \frac {1}{K} \sum_ {j = 1} ^ {K} E \left(s _ {j} ^ {i}\right) \tag {4}
|
| 108 |
+
$$
|
| 109 |
+
|
| 110 |
+
To further boost the density and improve the identification of NOTA samples, we propose a special type of prototype, referred to as a "degenerative prototype", which is computed with a degenerative set of instances.
|
| 111 |
+
|
| 112 |
+
$$
|
| 113 |
+
\boldsymbol{c}_{m}^{r^{i}} = \frac{1}{K - 1}\sum_{\substack{j = 1,\ldots ,K\\ j\neq m}}E(s_{j}^{i}),1\leq m\leq K \quad (5)
|
| 114 |
+
$$
|
| 115 |
+
|
| 116 |
+
Intuitively, each degenerative prototype $c_{m}^{r^i}$ is a vector obtained by averaging $(K - 1)$ support embeddings belonging to its relation $r^i$ after removing a support instance $s_m^i$ . As shown in Figure 2, the augmentation of prototypes and degenerative prototypes significantly increases the density of known instances and the outlier status of NOTAs, thus improving the detection.
|
| 117 |
+
|
| 118 |
+
Before calculating the PLOF of each instance, the original instance set $\mathcal{B}$ is expanded to $\mathcal{B}_{plof} = \mathcal{B} \cup \mathcal{P} \cup \mathcal{D}\mathcal{P}$ .
|
| 119 |
+
|
| 120 |
+
$$
|
| 121 |
+
\mathcal {P} = \left\{\boldsymbol {c} ^ {r ^ {i}} \right\}, 1 \leq i \leq N
|
| 122 |
+
$$
|
| 123 |
+
|
| 124 |
+
$$
|
| 125 |
+
\mathcal {D P} = \{c _ {m} ^ {r ^ {i}} \}, 1 \leq i \leq N, 1 \leq m \leq K
|
| 126 |
+
$$
|
| 127 |
+
|
| 128 |
+
where $\mathcal{P}$ is the prototype set and $\mathcal{D}\mathcal{P}$ is the degenerative prototype set.
|
| 129 |
+
|
| 130 |
+

|
| 131 |
+
Figure 4: An example of a 2-way 3-shot scenario. For a known query, its base score is much smaller than that of a NOTA query.
|
| 132 |
+
|
| 133 |
+
Then given a positive integer $k$ ( $k < |\mathcal{B}_{plof}|$ ), the $k$ -distance $d_{k}(\boldsymbol{q})$ of an vector $\boldsymbol{q}$ , is defined as that for an instance $\boldsymbol{o} \in \mathcal{B}_{plof} \backslash \{\boldsymbol{q}\}$ , there are at least $(k - 1)$ instances $\boldsymbol{v}$ of which holds that $d(\boldsymbol{q}, \boldsymbol{v}) < d(\boldsymbol{q}, \boldsymbol{o})$ , where $\boldsymbol{v} \in \mathcal{B}_{plof} \backslash \{\boldsymbol{q}, \boldsymbol{o}\}$ . Here the symbol $\backslash$ indicates except. After finding such instance $\boldsymbol{o}$ , $d_{k}(\boldsymbol{q}) = d(\boldsymbol{q}, \boldsymbol{o})$ . The Euclidean distance between $\boldsymbol{q}$ and all the chosen instances are less than or equal to $d_{k}(\boldsymbol{q})$ . As shown in Figure 3, dashed circles surround the chosen instances for each target $\boldsymbol{q}$ . These instances are called the $k$ -neighborhood set of $\boldsymbol{q}$ , denoted as $N_{k}(\boldsymbol{q}) = \{\boldsymbol{v} \in \mathcal{B}_{plof} \backslash \{\boldsymbol{q}\} | d(\boldsymbol{q}, \boldsymbol{v}) \leq d_{k}(\boldsymbol{q})\}$ . Based on $k$ -neighborhood, the local reachability distance $lrd$ is defined as follows:
|
| 134 |
+
|
| 135 |
+
$$
|
| 136 |
+
l r d (\boldsymbol {q}) = \frac {\left| N _ {k} (\boldsymbol {q}) \right|}{\sum_ {\boldsymbol {o} \in N _ {k} (\boldsymbol {q})} \max \left\{d _ {k} (\boldsymbol {o}) , d (\boldsymbol {q} , \boldsymbol {o}) \right\}} \tag {6}
|
| 137 |
+
$$
|
| 138 |
+
|
| 139 |
+
Obviously, $lrd(\pmb{q})$ is the inverse of the average reachability distance based on the $k$ -neighborhood of $\pmb{q}$ . Based on it, we further define PLOF as the average of the ratio of the local reachability density of $\pmb{q}$ and those of $\pmb{q}$ 's $k$ -neighborhood.
|
| 140 |
+
|
| 141 |
+
$$
|
| 142 |
+
P L O F (\boldsymbol {q}) = \frac {\sum_ {\boldsymbol {v} \in N _ {k} (\boldsymbol {q})} \frac {l r d (\boldsymbol {v})}{l r d (\boldsymbol {q})}}{| N _ {k} (\boldsymbol {q}) |} \tag {7}
|
| 143 |
+
$$
|
| 144 |
+
|
| 145 |
+
By considering the neighbors, PLOF better reflects the density. Meanwhile, the higher the PLOF value of $\pmb{q}$ , the more probable that $\pmb{q}$ is an outlier (e.g. a NOTA sample).
|
| 146 |
+
|
| 147 |
+
Base Score Query instances are recognized with the help of support prototypes. We observe an interesting property on the distances between the query instances and support prototypes. As depicted in Figure 4, the non-NOTA query is close to its own prototype but far away from the other prototypes. Yet the phenomenon is different for the
|
| 148 |
+
|
| 149 |
+
NOTA query, which is far away from all prototypes. This occurs because the proposed NOTA loss $\mathcal{L}_{\text{nota}}$ pushes NOTA instances away from those known instances. Based upon this distance property, we propose a base score, which calculates the ratio of extremal distance to prototypes.
|
| 150 |
+
|
| 151 |
+
$$
|
| 152 |
+
S c o r e _ {b a s e} (\boldsymbol {q}) = \frac {\underset {i = 1 , \dots , N} {\min} d ^ {2} (\boldsymbol {q} , \boldsymbol {c} ^ {\boldsymbol {r} ^ {i}})}{\underset {i = 1 , \dots , N} {\max} d ^ {2} (\boldsymbol {q} , \boldsymbol {c} ^ {\boldsymbol {r} ^ {i}})} \tag {8}
|
| 153 |
+
$$
|
| 154 |
+
|
| 155 |
+
This definition could also help to distinguish non-NOTA and NOTA samples. The base score of a known query is smaller, while it is larger for a NOTA query.
|
| 156 |
+
|
| 157 |
+
NOTA Score Finally, the NOTA score is the combination of PLOF and base score.
|
| 158 |
+
|
| 159 |
+
$$
|
| 160 |
+
\operatorname {S c o r e} _ {\text {n o t a}} (\boldsymbol {q}) = \operatorname {P L O F} (\boldsymbol {q}) \cdot \operatorname {S c o r e} _ {\text {b a s e}} (\boldsymbol {q}) \tag {9}
|
| 161 |
+
$$
|
| 162 |
+
|
| 163 |
+
During inference, a query instance can be detected by comparing its NOTA score with a threshold $\tau$ . Since the proposed NOTA score is well-designed, using this score can more effectively recognize instances. In the real application, the threshold can be estimated with k-fold validation. In our experiments, we choose a fixed threshold for simplification.
|
| 164 |
+
|
| 165 |
+
# 3 Experiments
|
| 166 |
+
|
| 167 |
+
# 3.1 Datasets
|
| 168 |
+
|
| 169 |
+
FewRel 1.0 (Han et al., 2018) is a relation classification dataset containing 100 relations extracted from Wikipedia. Gao et al. (2019b) update it to FewRel 2.0 and propose the NOTA detection challenge. Our experiments follow the splits used in official FewRel benchmarks, which split the dataset into 64 classes for training, 16 for validation, and 20 for testing.
|
| 170 |
+
|
| 171 |
+
# 3.2 Episode Sampling
|
| 172 |
+
|
| 173 |
+
In §2.1 we introduce the $N$ -way $K$ -shot setting. Each episode sampling support set follows the $N$ -way $K$ -shot setting. But there are two ways to sample a query set.
|
| 174 |
+
|
| 175 |
+
- Fixed Sampling Gao et al. (2019b) propose fixing the NOTA rate of a query set to some specific value. For example, if a query set has 5 known queries and 5 NOTA ones, the NOTA rate of the query set would be calculated as $5 / (5 + 5) \times 100\% = 50\%$ . Then the total number of instances in that query set will be adjusted based on the NOTA rate.
|
| 176 |
+
|
| 177 |
+
- Random Sampling Sabo et al. (2021) propose to fix the number of instances in the query set and assign a probability $p$ to each instance for sampling. If $p$ is less than a threshold $\tau_{na}$ , the instance is sampled as a known query. Otherwise, it is sampled as a NOTA. As such, the value of $\tau_{na}$ determines the NOTA rate. This sampling strategy results in a dynamic NOTA rate for each episode. For example, some episodes may have a NOTA rate of $100\%$ , while others may not have any NOTA instances, resulting in a more realistic simulation of real-world scenarios.
|
| 178 |
+
|
| 179 |
+
# 3.3 Baseline Methods
|
| 180 |
+
|
| 181 |
+
The following baseline methods are chosen for comparison. O-Proto (Tan et al., 2019) aims to solve few-shot out-of-domain detection. It is based on the prototypical network, which detects NOTA by cosine similarity. BERT-Pair (Gao et al., 2019b) adopts BERT to match a query instance and a support instance, which then yields a score indicating whether they share the same relation. MNAV (Sabo et al., 2021) is also based on the prototypical network. NOTA class is represented by some learnable vectors. A query instance is evaluated by its similarity with the NOTA vectors in the embedding space. MCMN (Liu et al., 2022) uses a pre-training and fine-tuning paradigm that converts all candidate relation descriptions into multiple-choice prompts.
|
| 182 |
+
|
| 183 |
+
# 3.4 Experimental Results
|
| 184 |
+
|
| 185 |
+
# 3.4.1 Overall Results
|
| 186 |
+
|
| 187 |
+
The results of two sampling strategies are presented in Table 2. It can be observed that D-Proto outperforms strong baselines and achieves the best average results on both sampling strategies. Especially, D-Proto significantly outperforms MCMN by $+2.75\%$ on accuracy and $+2.66\%$ on F1 under random sampling. The results indicate the effectiveness of D-Proto, with great stability and robustness. As mentioned in §3.2, random sampling better reflects practical applications. It can be seen that under fixed sampling, the proposed D-Proto achieves competitive results. And under random sampling, the improvements are more significant. This implies that D-Proto is more robust in real-world situations.
|
| 188 |
+
|
| 189 |
+
Moreover, under random sampling, we see that the accuracy and F1 of MCMN decrease by $13.36\%$ and $16.05\%$ , respectively when the NOTA rate is
|
| 190 |
+
|
| 191 |
+
<table><tr><td colspan="9">Random Sampling</td></tr><tr><td rowspan="2">Methods</td><td colspan="2">15%NOTA</td><td colspan="2">30%NOTA</td><td colspan="2">50%NOTA</td><td colspan="2">Average</td></tr><tr><td>Acc</td><td>F1</td><td>Acc</td><td>F1</td><td>Acc</td><td>F1</td><td>Acc</td><td>F1</td></tr><tr><td>O-Proto (Tan et al., 2019)</td><td>80.02</td><td>72.84</td><td>80.55</td><td>73.73</td><td>81.16</td><td>72.41</td><td>80.58</td><td>72.99</td></tr><tr><td>BERT-Pair (Gao et al., 2019b)</td><td>80.77</td><td>73.99</td><td>81.53</td><td>75.06</td><td>83.24</td><td>75.14</td><td>81.85</td><td>74.73</td></tr><tr><td>MNAV (Sabo et al., 2021)</td><td>85.02</td><td>78.81</td><td>83.67</td><td>77.78</td><td>81.59</td><td>73.94</td><td>83.42</td><td>76.84</td></tr><tr><td>MCMN (Liu et al., 2022)</td><td>88.24</td><td>83.54</td><td>82.50</td><td>76.39</td><td>74.88</td><td>67.49</td><td>81.87</td><td>75.80</td></tr><tr><td>ChatGPT</td><td>64.57</td><td>56.63</td><td>63.30</td><td>55.81</td><td>61.66</td><td>54.16</td><td>63.18</td><td>55.54</td></tr><tr><td>D-Proto (Ours)</td><td>85.76</td><td>79.79</td><td>84.80</td><td>79.27</td><td>83.30</td><td>76.32</td><td>84.62</td><td>78.46</td></tr><tr><td colspan="9">Fixed Sampling</td></tr><tr><td rowspan="2">Methods</td><td colspan="2">15%NOTA</td><td colspan="2">30%NOTA</td><td colspan="2">50%NOTA</td><td colspan="2">Average</td></tr><tr><td>Acc</td><td>F1</td><td>Acc</td><td>F1</td><td>Acc</td><td>F1</td><td>Acc</td><td>F1</td></tr><tr><td>O-Proto (Tan et al., 2019)</td><td>81.38</td><td>80.45</td><td>81.42</td><td>81.04</td><td>81.38</td><td>79.39</td><td>81.38</td><td>80.29</td></tr><tr><td>BERT-Pair (Gao et al., 2019b)</td><td>82.83</td><td>81.98</td><td>83.76</td><td>83.00</td><td>85.49</td><td>82.62</td><td>84.02</td><td>82.53</td></tr><tr><td>MNAV (Sabo et al., 2021)</td><td>85.05</td><td>84.22</td><td>84.36</td><td>84.45</td><td>82.91</td><td>82.15</td><td>84.10</td><td>83.60</td></tr><tr><td>MCMN (Liu et al., 2022)</td><td>87.56</td><td>84.04</td><td>83.16</td><td>83.40</td><td>75.07</td><td>79.14</td><td>81.93</td><td>82.19</td></tr><tr><td>ChatGPT</td><td>63.59</td><td>56.26</td><td>61.83</td><td>54.46</td><td>58.41</td><td>51.14</td><td>61.28</td><td>53.95</td></tr><tr><td>D-Proto (Ours)</td><td>85.37</td><td>84.67</td><td>84.87</td><td>84.90</td><td>83.05</td><td>82.66</td><td>84.43</td><td>84.08</td></tr></table>
|
| 192 |
+
|
| 193 |
+
Table 2: Evaluation results of baseline methods and the proposed D-Proto, in terms of accuracy $(\%)$ and F1 $(\%)$ , on the FewRel dataset. The setting is 5-way 5-shot.
|
| 194 |
+
|
| 195 |
+
set from $15\%$ to $50\%$ . On the contrary, D-Proto only sees decreases of $2.46\%$ and $2.01\%$ , respectively. A possible reason is that MCMN needs to meta-adapt with the support set. Yet a support set only has $N$ -way $K$ -shot samples, while NOTA exists in the query set. This tends to cause overfitting on the known instances but fails to detect NOTA. This further demonstrates the effectiveness and robustness of the proposed D-Proto model toward various NOTA rates.
|
| 196 |
+
|
| 197 |
+
Furthermore, we evaluate the performance of the ChatGPT $^2$ dialog system in the NOTA challenge. As demonstrated in Table 2, ChatGPT's performance on the NOTA task is far below other models. Therefore, we conclude that the model targeting the NOTA challenge in few-shot relation classification is still necessary. More details can be found in Appendix A.9.
|
| 198 |
+
|
| 199 |
+
# 3.4.2 NOTA Score Analysis
|
| 200 |
+
|
| 201 |
+
We further investigate the scores computed by DProto, which are depicted through box line diagrams in Figure 5. We first observe that the base scores alone are able to distinguish between known instances and NOTA ones, but the numerical values for the two classes are close. Specifically, the base scores of NOTA instances are generally greater than 0.4, while those of non-NOTA samples<sup>3</sup> are
|
| 202 |
+
|
| 203 |
+
around 0.1. This leads to difficulty in choosing a good threshold since the range of proper thresholds is small. Thus, base scores alone may not be sufficient to distinguish between the two classes accurately.
|
| 204 |
+
|
| 205 |
+
Secondly, without adding prototypes and degenerative prototypes, we have the naive local outlier factor (LOF). It can be seen that both LOF and PLOF show numerical overlap for both non-NOTA and NOTA instances. However, in LOF, the scores for non-NOTA instances are centered around 0.9, while the scores for NOTA instances range from 1.0 to 1.2. The available range of threshold is limited. Contrarily, in PLOF, the scores for non-NOTA samples are in the range of 2 to 3, while the scores for NOTA instances are significantly larger than 4.
|
| 206 |
+
|
| 207 |
+
Finally, combining PLOF and base NOTA score forms our final NOTA score. It is found that the NOTA score can make two types of instances have a clear difference. The gap between medians becomes more obvious, and the NOTA score for the NOTA instance becomes larger. These all contribute to the detection of NOTA instances, showing the effectiveness of our proposed NOTA score.
|
| 208 |
+
|
| 209 |
+
# 3.4.3 Ablation Study
|
| 210 |
+
|
| 211 |
+
To explore the impact of individual training objectives, we perform an ablation study. The results are reported in Table 3. It can be seen that removing $\mathcal{L}_{\text {nota }}$ causes significant decreases in all evaluation metrics. This verifies that NOTA loss effectively
|
| 212 |
+
|
| 213 |
+
<table><tr><td rowspan="2">Methods</td><td colspan="2">15%NOTA</td><td colspan="2">30%NOTA</td><td colspan="2">50%NOTA</td><td colspan="2">Average</td></tr><tr><td>Acc</td><td>F1</td><td>Acc</td><td>F1</td><td>Acc</td><td>F1</td><td>Acc</td><td>F1</td></tr><tr><td>D-Proto w/o Lnota</td><td>84.95</td><td>78.73</td><td>84.04</td><td>78.27</td><td>82.72</td><td>75.41</td><td>83.90</td><td>77.47</td></tr><tr><td>D-Proto w/o Scorebase</td><td>78.44</td><td>70.95</td><td>78.23</td><td>71.39</td><td>77.52</td><td>68.99</td><td>78.06</td><td>70.44</td></tr><tr><td>D-Proto w/o P</td><td>84.24</td><td>78.00</td><td>83.93</td><td>78.27</td><td>83.48</td><td>76.13</td><td>83.88</td><td>77.47</td></tr><tr><td>D-Proto w/o DP</td><td>85.40</td><td>79.20</td><td>83.39</td><td>77.55</td><td>80.32</td><td>73.01</td><td>83.03</td><td>76.58</td></tr><tr><td>D-Proto w/o {P ∪ DP}</td><td>83.27</td><td>76.83</td><td>83.04</td><td>77.10</td><td>82.37</td><td>74.73</td><td>82.89</td><td>76.22</td></tr><tr><td>D-Proto w. 20%DPK-2</td><td>84.04</td><td>77.76</td><td>83.80</td><td>78.10</td><td>83.46</td><td>76.10</td><td>83.77</td><td>77.32</td></tr><tr><td>D-Proto w. 40%DPK-2</td><td>83.60</td><td>77.29</td><td>83.49</td><td>77.47</td><td>83.75</td><td>76.36</td><td>83.61</td><td>77.04</td></tr><tr><td>D-Proto w. 60%DPK-2</td><td>83.35</td><td>76.99</td><td>83.63</td><td>77.88</td><td>83.88</td><td>76.49</td><td>83.62</td><td>77.12</td></tr><tr><td>D-Proto w. 80%DPK-2</td><td>83.19</td><td>76.81</td><td>83.58</td><td>77.83</td><td>84.01</td><td>76.62</td><td>83.59</td><td>77.08</td></tr><tr><td>D-Proto w. 100%DPK-2</td><td>83.70</td><td>77.37</td><td>83.74</td><td>78.02</td><td>83.72</td><td>76.37</td><td>83.72</td><td>77.25</td></tr><tr><td>D-Proto(Ours)</td><td>85.76</td><td>79.79</td><td>84.80</td><td>79.27</td><td>83.30</td><td>76.32</td><td>84.62</td><td>78.46</td></tr></table>
|
| 214 |
+
|
| 215 |
+
Table 3: Ablation study results and degenerative prototypes study (%) of D-Proto on FewRel benchmark.
|
| 216 |
+
|
| 217 |
+

|
| 218 |
+
Figure 5: Comparison of all scores presented in this paper under $50\%$ NOTA rate on the FewRel dataset. The dash-dotted line indicates the median of each score.
|
| 219 |
+
|
| 220 |
+
makes NOTA isolated, helping to recognize relations with densities.
|
| 221 |
+
|
| 222 |
+
Then removing the Base Score significantly impacts the model's performance. The Base Score is essential as it serves as the basis of PLOF. It can also be observed that the removal of either the prototype set $\mathcal{P}$ or the degenerative prototype set $\mathcal{D}\mathcal{P}$ results in a significant decline in the evaluation metrics across different NOTA rates. Additionally, the removal of both $\mathcal{P}$ and $\mathcal{D}\mathcal{P}$ results in an even more significant drop in the metrics. These findings suggest that both the prototype set and the degenerative prototype set are important components of the PLOF method and contribute significantly to its performance.
|
| 223 |
+
|
| 224 |
+
# 3.4.4 Degenerative Prototypes Analysis
|
| 225 |
+
|
| 226 |
+
We have a research question: does adding more degenerative prototypes also increase the perfor
|
| 227 |
+
|
| 228 |
+
mance of the model? To answer this question, we design the $K - 2$ degenerative prototype set $\mathcal{D}\mathcal{P}_{K - 2}$ . $\mathcal{D}\mathcal{P}_{K - 2}$ consists of all $K - 2$ degenerative prototypes, where each one is computed by averaging the embeddings of the $K - 2$ support instances belonging to its relation $r^i$ after excluding two support instances. It is worth noting that D-Proto only adds the degenerative prototypes $\mathcal{D}\mathcal{P}_{K - 1}$ . Will including $\mathcal{D}\mathcal{P}_{K - 2}$ bring further gains?
|
| 229 |
+
|
| 230 |
+
In this experiment, we add various proportions of $\mathcal{D}\mathcal{P}_{K - 2}$ into the support set. The results are displayed in the second part of Table 3. Our expectation is that $\mathcal{D}\mathcal{P}_{K - 2}$ will increase the density of known samples and thus improve the performance. However, the results of this experiment show that while the performance of the D-Proto method does improve when $\mathcal{D}\mathcal{P}_{K - 2}$ is added under a NOTA rate of $50\%$ , the performance decreases for NOTA rates of $15\%$ and $30\%$ . This suggests that while the use of $\mathcal{D}\mathcal{P}_{K - 2}$ can indeed improve the detection of NOTA instances at higher densities, it also leads to the false detection of known instances as NOTA, particularly at lower NOTA rates.
|
| 231 |
+
|
| 232 |
+
# 3.4.5 Visualization
|
| 233 |
+
|
| 234 |
+
To further evaluate the representations learned by different models, we visualize the embeddings using the t-SNE algorithm (Van der Maaten and Hinton, 2008) in Figure 6. Under both the $15\%$ and $30\%$ NOTA rates, compared with O-Proto and MNAV, our method can make each relation cluster more densely. For instance, in Figure 6 (a), the relation 1 is scattered around in O-Proto and MNAV. However, in our method, this class is well aggregated. This shows that our method can learn more separable representations for known instances.
|
| 235 |
+
|
| 236 |
+

|
| 237 |
+
|
| 238 |
+

|
| 239 |
+
|
| 240 |
+

|
| 241 |
+
|
| 242 |
+

|
| 243 |
+
|
| 244 |
+

|
| 245 |
+
(a) $15\%$ NOTA rate
|
| 246 |
+
|
| 247 |
+

|
| 248 |
+
(b) $30\%$ NOTA rate
|
| 249 |
+
Figure 6: Embedding distributions of different models in the same episode on the FewRel dataset. NOTA rates are $15\%$ and $30\%$ , respectively. The numbers 1 to 5 represent the relation. The red inverted triangles are NOTA instances.
|
| 250 |
+
|
| 251 |
+
Moreover, in Figure 6 (a), we see that the NOTA instance is far away from known samples in our method. This observation is visible in the plot (b). This shows the validity of the proposed NOTA loss $\mathcal{L}_{\text {nota }}$ , making NOTA instances more isolated. In MNAV, the two NOTA instances are close to a known sample. One possible reason is that MNAV makes multiple NOTA instances approach learnable vectors. Different classes may aggregate with each other. This tends to cause negative effects on distinguishing samples, as embeddings are not well separated. In summary, our method learns the best representations. With the well-clustered known samples and the isolated NOTA samples, D-Proto can both recognize them through the density-aware NOTA detection module accurately.
|
| 252 |
+
|
| 253 |
+
# 4 Related Work
|
| 254 |
+
|
| 255 |
+
Previous works (Zelenko et al., 2003; Mooney and Bunescu, 2005; Zeng et al., 2014; Gormley et al., 2015; Zhou et al., 2016; Kumar, 2017; Zhang et al., 2018) for relation classification usually train models on a labeled dataset with a fixed number of classes, which cannot deal with unseen relations.
|
| 256 |
+
|
| 257 |
+
Thus few-shot scenario has drawn much attention recently. By training on multiple episodes, models can learn transferrable knowledge for unseen testing episodes (Hu et al., 2021). Although many efforts (Hendrickx et al., 2010; Zhang et al., 2017; Obamuyide and Vlachos, 2019; Gao et al., 2019a; Baldini Soares et al., 2019; Ye and Ling, 2019; Dong et al., 2020) have been devoted to the few-shot relation classification. However, a real-world issue that has been proposed is the NOTA challenge (Gao et al., 2019b). This issue breaks the assumption of the traditional $N$ -way $K$ -shot setting. Therefore, detecting NOTA instances during inference needs to be explored.
|
| 258 |
+
|
| 259 |
+
Promising works have been proposed to detect NOTA instances in few-shot relation classification. One approach that has been widely adopted is the $N + 1$ classification. This approach has been proposed by several works. One work is to use a sentence-pair model for classification, as proposed by Gao et al. (2019b) in their work on few-shot learning. Another work, Sabo et al. (2021) in their work on revisiting NOTA challenge, is to compute the distance between learnable vectors. The third one, proposed by Liu et al. (2022), adopts the pretraining fine-tuning paradigm and selects the correct relation from a set of options that includes NOTA. The above three methods, by considering NOTA instances as an additional class, are able to learn the boundary between the known relations and the NOTA instances, allowing the model to learn a more comprehensive representation of the data.
|
| 260 |
+
|
| 261 |
+
# 5 Conclusion
|
| 262 |
+
|
| 263 |
+
In this paper, we propose D-Proto, a density-aware prototypical network for few-shot relation classification. We focus on the overall instance distribution and design special training objectives for distinct samples. For the known samples, intraclass becomes well-clustered and inter-class is well-separated. The NOTA ones are isolated as outliers. We further propose a NOTA detection module, which considers the local density and distance property, to distinguish both types of instances. And we use prototypes and degenerative prototypes to enhance the density of known instances to better identify NOTA. Experiments on a popular dataset demonstrate that D-Proto outperforms strong baselines. We also provide score analysis and visualization to verify the effectiveness of our method.
|
| 264 |
+
|
| 265 |
+
# Limitations
|
| 266 |
+
|
| 267 |
+
In this work, we study the few-shot relation classification task, which contains NOTA instances. The proposed D-Proto method achieves some gains on this problem. Yet our work still has the following two limitations.
|
| 268 |
+
|
| 269 |
+
The first limitation is that NOTA instances are detected with a threshold $\tau$ . This threshold relies on human experiences or k-fold validation. However, using a threshold in the binary way methods, including O-Proto and ours, is not a big problem. Our viewpoint is that $N + 1$ classification can efficiently accomplish the NOTA detection task by treating the NOTA as an additional class to classify with the known $N$ classes. But the $N + 1$ classification method ignores the distribution of the data. Therefore, despite that we need a threshold, the advantages of our method are also obvious.
|
| 270 |
+
|
| 271 |
+
The second limitation is that our experiment is not absolutely fair. The reason is that BERT-Pair (Gao et al., 2019b) requires high GPU memory. In the fixed sampling method of the episode, we used two NVIDIA RTX A6000 with 48G memory each to train BERT-Pair. The other baselines are trained with an NVIDIA TESLA V100-32G. Except for this difference, all other settings are the same.
|
| 272 |
+
|
| 273 |
+
# Acknowledgment
|
| 274 |
+
|
| 275 |
+
We sincerely thank all the anonymous reviewers for providing valuable feedback. This work is supported by the National Natural Science Foundation of China (Grant No. 62302245), the Ministry of Education of the People's Republic of China Humanities and Social Sciences Youth Foundation (Grant No. 23YJCZH240), and the youth program of National Science Fund of Tianjin, China (Grant No. 22JCQNJC01340).
|
| 276 |
+
|
| 277 |
+
# References
|
| 278 |
+
|
| 279 |
+
Livio Baldini Soares, Nicholas FitzGerald, Jeffrey Ling, and Tom Kwiatkowski. 2019. Matching the blanks: Distributional similarity for relation learning. In Proceedings of the 57th Annual Meeting of the Association for Computational Linguistics (ACL), pages 2895-2905.
|
| 280 |
+
Sam Brody, Sichao Wu, and Adrian Benton. 2021. Towards realistic few-shot relation extraction. In Proceedings of the 2021 Conference on Empirical Methods in Natural Language Processing, pages 5338-5345, Online and Punta Cana, Dominican Republic. Association for Computational Linguistics.
|
| 281 |
+
|
| 282 |
+
Jacob Devlin, Ming-Wei Chang, Kenton Lee, and Kristina Toutanova. 2019. BERT: Pre-training of deep bidirectional transformers for language understanding. In Proceedings of the 2019 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, Volume 1 (NAACL-HLT), pages 4171-4186.
|
| 283 |
+
Bowen Dong, Yuan Yao, Ruobing Xie, Tianyu Gao, Xu Han, Zhiyuan Liu, Fen Lin, Leyu Lin, and Maosong Sun. 2020. Meta-information guided meta-learning for few-shot relation classification. In Proceedings of the 28th International Conference on Computational Linguistics (COLING), pages 1594-1605.
|
| 284 |
+
Tianyu Gao, Xu Han, Zhiyuan Liu, and Maosong Sun. 2019a. Hybrid attention-based prototypical networks for noisy few-shot relation classification. In Proceedings of the AAAI Conference on Artificial Intelligence (AAAI), volume 33, pages 6407-6414.
|
| 285 |
+
Tianyu Gao, Xu Han, Hao Zhu, Zhiyuan Liu, Peng Li, Maosong Sun, and Jie Zhou. 2019b. Fewrel 2.0: Towards more challenging few-shot relation classification. In Proceedings of the 2019 Conference on Empirical Methods in Natural Language Processing and the 9th International Joint Conference on Natural Language Processing (EMNLP-IJCNLP), pages 6250-6255.
|
| 286 |
+
Matthew R. Gormley, Mo Yu, and Mark Dredze. 2015. Improved relation extraction with feature-rich compositional embedding models. In Proceedings of the 2015 Conference on Empirical Methods in Natural Language Processing (EMNLP), pages 1774-1784.
|
| 287 |
+
Jiale Han, Bo Cheng, and Wei Lu. 2021. Exploring task difficulty for few-shot relation extraction. In Proceedings of the 2021 Conference on Empirical Methods in Natural Language Processing, pages 2605-2616, Online and Punta Cana, Dominican Republic. Association for Computational Linguistics.
|
| 288 |
+
Xu Han, Hao Zhu, Pengfei Yu, Ziyun Wang, Yuan Yao, Zhiyuan Liu, and Maosong Sun. 2018. Fewrel: A large-scale supervised few-shot relation classification dataset with state-of-the-art evaluation. In Proceedings of the 2018 Conference on Empirical Methods in Natural Language Processing (EMNLP), pages 4803-4809.
|
| 289 |
+
Iris Hendrickx, Su Nam Kim, Zornitsa Kozareva, Preslav Nakov, Diarmuid O Seaghdha, Sebastian Padó, Marco Pennacchiotti, Lorenza Romano, and Stan Szpakowicz. 2010. Semeval-2010 task 8: Multiway classification of semantic relations between pairs of nominals. In Proceedings of the 5th International Workshop on Semantic Evaluation, pages 33-38.
|
| 290 |
+
Mengting Hu, Shiwan Zhao, Honglei Guo, Chao Xue, Hang Gao, Tiegang Gao, Renhong Cheng, and Zhong Su. 2021. Multi-label few-shot learning for aspect category detection. In Proceedings of the 59th
|
| 291 |
+
|
| 292 |
+
Annual Meeting of the Association for Computational Linguistics and the 11th International Joint Conference on Natural Language Processing (ACL-IJCNLP), pages 6330-6340.
|
| 293 |
+
Shantanu Kumar. 2017. A survey of deep learning methods for relation extraction. arXiv preprint arXiv:1705.03645.
|
| 294 |
+
Steinar Laenen and Luca Bertinetto. 2021. On episodes, prototypical networks, and few-shot learning. Advances in Neural Information Processing Systems (NeurIPS), 34.
|
| 295 |
+
Fangchao Liu, Hongyu Lin, Xianpei Han, Boxi Cao, and Le Sun. 2022. Pre-training to match for unified low-shot relation extraction. In Proceedings of the 60th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pages 5785-5795, Dublin, Ireland. Association for Computational Linguistics.
|
| 296 |
+
Raymond Mooney and Razvan Bunescu. 2005. Subsequence kernels for relation extraction. Advances in neural information processing systems (NeurIPS), 18.
|
| 297 |
+
Abiola Obamuyide and Andreas Vlachos. 2019. Model-agnostic meta-learning for relation classification with limited supervision. In Proceedings of the 57th Annual Meeting of the Association for Computational Linguistics (ACL), pages 5873-5879, Florence, Italy. Association for Computational Linguistics.
|
| 298 |
+
Meng Qu, Tianyu Gao, Louis-Pascal Xhonneux, and Jian Tang. 2020. Few-shot relation extraction via bayesian meta-learning on relation graphs. In Proceedings of the 37th International Conference on Machine Learning (ICML), pages 7867-7876.
|
| 299 |
+
Ofer Sabo, Yanai Elazar, Yoav Goldberg, and Ido Dagan. 2021. Revisiting few-shot relation classification: Evaluation data and classification schemes. Transactions of the Association for Computational Linguistics (TACL), 9:691-706.
|
| 300 |
+
Jake Snell, Kevin Swersky, and Richard Zemel. 2017. Prototypical networks for few-shot learning. Advances in neural information processing systems (NeurIPS), 30.
|
| 301 |
+
Ming Tan, Yang Yu, Haoyu Wang, Dakuo Wang, Saloni Potdar, Shiyu Chang, and Mo Yu. 2019. Out-of-domain detection for low-resource text classification tasks. In Proceedings of the 2019 Conference on Empirical Methods in Natural Language Processing and the 9th International Joint Conference on Natural Language Processing (EMNLP-IJCNLP), pages 3566-3572.
|
| 302 |
+
Laurens Van der Maaten and Geoffrey Hinton. 2008. Visualizing data using t-sne. Journal of machine learning research (JMLR), 9(11).
|
| 303 |
+
|
| 304 |
+
Zhi-Xiu Ye and Zhen-Hua Ling. 2019. Multi-level matching and aggregation network for few-shot relation classification. In Proceedings of the 57th Annual Meeting of the Association for Computational Linguistics (ACL), pages 2872-2881.
|
| 305 |
+
Dmitry Zelenko, Chinatsu Aone, and Anthony Richardella. 2003. Kernel methods for relation extraction. Journal of machine learning research (JMLR), 3(Feb):1083-1106.
|
| 306 |
+
Daojian Zeng, Kang Liu, Siwei Lai, Guangyou Zhou, and Jun Zhao. 2014. Relation classification via convolutional deep neural network. In Proceedings of the 28th International Conference on Computational Linguistics (COLING), pages 2335-2344.
|
| 307 |
+
Ningyu Zhang, Shumin Deng, Zhanling Sun, Xi Chen, Wei Zhang, and Huajun Chen. 2018. Attention-based capsule networks with dynamic routing for relation extraction. In Proceedings of the 2018 Conference on Empirical Methods in Natural Language Processing (ACL), pages 986-992.
|
| 308 |
+
Yuhao Zhang, Victor Zhong, Danqi Chen, Gabor Angeli, and Christopher D Manning. 2017. Position-aware attention and supervised data improve slot filling. In Proceedings of the 2017 Conference on Empirical Methods in Natural Language Processing (EMNLP), pages 35-45.
|
| 309 |
+
Peng Zhou, Wei Shi, Jun Tian, Zhenyu Qi, Bingchen Li, Hongwei Hao, and Bo Xu. 2016. Attention-based bidirectional long short-term memory networks for relation classification. In Proceedings of the 54th Annual Meeting of the Association for Computational Linguistics (ACL), pages 207-212.
|
| 310 |
+
|
| 311 |
+
<table><tr><td colspan="9">Random Sampling</td></tr><tr><td rowspan="2">Methods</td><td colspan="2">15%NOTA</td><td colspan="2">30%NOTA</td><td colspan="2">50%NOTA</td><td colspan="2">Average</td></tr><tr><td>Acc</td><td>F1</td><td>Acc</td><td>F1</td><td>Acc</td><td>F1</td><td>Acc</td><td>F1</td></tr><tr><td>O-Proto</td><td>80.02±0.65</td><td>72.84±0.88</td><td>80.55±0.97</td><td>73.73±1.18</td><td>81.16±1.04</td><td>72.41±1.28</td><td>80.58</td><td>72.99</td></tr><tr><td>BERT-Pair</td><td>80.77±2.35</td><td>73.99±2.67</td><td>81.53±1.60</td><td>75.06±1.92</td><td>83.24±0.85</td><td>75.14±1.38</td><td>81.85</td><td>74.73</td></tr><tr><td>MNAV</td><td>85.02±0.39</td><td>78.81±0.47</td><td>83.67±0.66</td><td>77.78±0.90</td><td>81.59±1.02</td><td>73.94±1.18</td><td>83.42</td><td>76.84</td></tr><tr><td>MCMN</td><td>88.24±1.83</td><td>83.54±2.45</td><td>82.50±3.40</td><td>76.39±4.34</td><td>74.88±5.83</td><td>67.49±6.64</td><td>81.87</td><td>75.80</td></tr><tr><td>ChatGPT</td><td>64.57±0.31</td><td>56.63±0.41</td><td>63.30±0.57</td><td>55.81±0.40</td><td>61.66±0.76</td><td>54.16±0.45</td><td>63.18</td><td>55.54</td></tr><tr><td>D-Proto</td><td>85.76±0.72</td><td>79.79±0.96</td><td>84.80±0.92</td><td>79.27±1.12</td><td>83.30±1.29</td><td>76.32±1.48</td><td>84.62</td><td>78.46</td></tr></table>
|
| 312 |
+
|
| 313 |
+
Fixed Sampling
|
| 314 |
+
|
| 315 |
+
<table><tr><td rowspan="2">Methods</td><td colspan="2">15%NOTA</td><td colspan="2">30%NOTA</td><td colspan="2">50%NOTA</td><td colspan="2">Average</td></tr><tr><td>Acc</td><td>F1</td><td>Acc</td><td>F1</td><td>Acc</td><td>F1</td><td>Acc</td><td>F1</td></tr><tr><td>O-Proto</td><td>81.38±1.26</td><td>80.45±1.29</td><td>81.42±1.11</td><td>81.04±1.19</td><td>81.38±0.96</td><td>79.39±1.06</td><td>81.38</td><td>80.29</td></tr><tr><td>BERT-Pair</td><td>82.83±0.62</td><td>81.98±0.62</td><td>83.76±0.46</td><td>83.00±0.54</td><td>85.49±0.29</td><td>82.62±0.45</td><td>84.02</td><td>82.53</td></tr><tr><td>MNAV</td><td>85.05±0.97</td><td>84.22±1.03</td><td>84.36±1.34</td><td>84.45±1.15</td><td>82.91±2.61</td><td>82.15±1.85</td><td>84.10</td><td>83.60</td></tr><tr><td>MCMN</td><td>87.56±1.93</td><td>84.04±2.52</td><td>83.16±3.37</td><td>83.40±3.08</td><td>75.07±5.79</td><td>79.14±3.93</td><td>81.93</td><td>82.19</td></tr><tr><td>ChatGPT</td><td>63.59±0.50</td><td>56.26±0.27</td><td>61.83±0.41</td><td>54.46±0.32</td><td>58.41±0.51</td><td>51.14±0.43</td><td>61.28</td><td>53.95</td></tr><tr><td>D-Proto</td><td>85.37±0.61</td><td>84.67±0.61</td><td>84.87±0.71</td><td>84.90±0.66</td><td>83.05±1.00</td><td>82.66±1.10</td><td>84.43</td><td>84.08</td></tr></table>
|
| 316 |
+
|
| 317 |
+
# A Reproducibility
|
| 318 |
+
|
| 319 |
+
# A.1 Implementation Details
|
| 320 |
+
|
| 321 |
+
Following Gao et al. (2019b), we exploit the same hyper-parameters. For a fair comparison, all baselines and our work use the same encoder. We choose BERT-base-uncased (Devlin et al., 2019) as the encoder. It is initialized by the pre-trained parameters and optimized during training. For the FewRel dataset, we set the batch size to 2, which means we feed two episodes into the model per batch. Each model is trained for 30 epochs with 1000 batches per epoch and tested with 10000 batches in the testing. An early stopping strategy is adopted, indicating the model will stop training when the performance on the validation set does not improve for 6 epochs. The best model on the validation set is saved for evaluation.
|
| 322 |
+
|
| 323 |
+
In Eq. (1), we set the hyper-parameters $\alpha$ to 1e-5 on the FewRel. For $k$ of the local outlier factor in Eq. (7), we set it to be $K$ . The reason is that in the $N$ -way $K$ -shot setting, a support instance has other $(K - 1)$ neighbors with the same relation. And each relation has at least one prototype. This is consistent with the definition of $k$ -neighborhood. All the reported results using the FewRel dataset are the average of five runs with fixed seeds [5, 10, 15, 20, 25].
|
| 324 |
+
|
| 325 |
+
After the hyperparameter search, the threshold $\pmb{\tau}$ is set to 0.9 in the experimental setting of FewRel.
|
| 326 |
+
|
| 327 |
+
For MCMN, the sampling method in the pre
|
| 328 |
+
|
| 329 |
+
Table 4: Evaluation results of baseline methods and the proposed D-Proto, in terms of accuracy $(\%)$ and F1 $(\%)$ , on the FewRel dataset. This table includes the standard deviation of baseline methods and D-Proto.
|
| 330 |
+
|
| 331 |
+
<table><tr><td>Model</td><td>Number of parameters</td></tr><tr><td>O-Proto</td><td>109482240</td></tr><tr><td>MNAV</td><td>109497600</td></tr><tr><td>BERT-Pair</td><td>109483778</td></tr><tr><td>D-Proto</td><td>109482240</td></tr></table>
|
| 332 |
+
|
| 333 |
+
Table 5: The number of hyperparameters for each model.
|
| 334 |
+
|
| 335 |
+
training follows Liu et al. (2022), while the sampling method in the testing is fixed sampling or random sampling.
|
| 336 |
+
|
| 337 |
+
# A.2 Computing Infrastructure
|
| 338 |
+
|
| 339 |
+
Since BERT-Pair (Gao et al., 2019b) requires high GPU memory in the fixed sampling of 5-way 5-shot setting, we use 2 NVIDIA A6000s with 48G memory each to train the model. The rest of the baselines and our model are trained on a NVIDIA TESLA V100 with 32G of GPU memory.
|
| 340 |
+
|
| 341 |
+
# A.3 Number of Parameters per Model
|
| 342 |
+
|
| 343 |
+
Table 5 shows the number of hyperparameters for each model.
|
| 344 |
+
|
| 345 |
+
# A.4 Evaluation Metrics
|
| 346 |
+
|
| 347 |
+
We use two primary evaluation metrics, accuracy and macro F1. The basic implementation of accu
|
| 348 |
+
|
| 349 |
+
<table><tr><td>Method</td><td>Number of instances</td></tr><tr><td>D-Proto w/o P</td><td>53</td></tr><tr><td>D-Proto w/o DP</td><td>33</td></tr><tr><td>D-Proto w/o {P ∪ DP}</td><td>28</td></tr><tr><td>D-Proto w. 20%DPK-2</td><td>68</td></tr><tr><td>D-Proto w. 40%DPK-2</td><td>78</td></tr><tr><td>D-Proto w. 60%DPK-2</td><td>88</td></tr><tr><td>D-Proto w. 80%DPK-2</td><td>98</td></tr><tr><td>D-Proto w. 100%DPK-2</td><td>108</td></tr><tr><td>D-Proto(Ours)</td><td>58</td></tr></table>
|
| 350 |
+
|
| 351 |
+
Table 6: The number of instances for each method in an episode. The experiment setting is 5-way 5-shot. The number of query instances is 3.
|
| 352 |
+
|
| 353 |
+
racy is as follows:
|
| 354 |
+
|
| 355 |
+
$$
|
| 356 |
+
A c c u r a c y = \frac {T P + T N}{T P + F P + T N + F N}
|
| 357 |
+
$$
|
| 358 |
+
|
| 359 |
+
where $TP$ are true positives, $FP$ are false positives, $TN$ are true negatives, and $FN$ are false negatives. The definition of F1 is as follows:
|
| 360 |
+
|
| 361 |
+
$$
|
| 362 |
+
P = \frac {T P}{T P + F P}
|
| 363 |
+
$$
|
| 364 |
+
|
| 365 |
+
$$
|
| 366 |
+
R = \frac {T P}{T P + F N}
|
| 367 |
+
$$
|
| 368 |
+
|
| 369 |
+
$$
|
| 370 |
+
F 1 = \frac {2 \times P \times R}{P + R}
|
| 371 |
+
$$
|
| 372 |
+
|
| 373 |
+
Macro F1 calculates F1 for each class and finds their unweighted mean.
|
| 374 |
+
|
| 375 |
+
# A.5 Hyperparameters
|
| 376 |
+
|
| 377 |
+
Following Gao et al. (2019b), the hyperparameters not mentioned in Section A.1 are as follows:
|
| 378 |
+
|
| 379 |
+
- Learning rate: 2e-5.
|
| 380 |
+
Weight decay: 0.01.
|
| 381 |
+
Warmup steps: 300.
|
| 382 |
+
Gradient accumulation: 1.
|
| 383 |
+
Max length: 128.
|
| 384 |
+
- Hidden size: 768.
|
| 385 |
+
Test batch: 10000.
|
| 386 |
+
|
| 387 |
+
# A.6 Links to Dataset
|
| 388 |
+
|
| 389 |
+
FewRel (Han et al., 2018): https://thunlp.github.io/2/fewrel2nota.html.
|
| 390 |
+
|
| 391 |
+
# A.7 Links to Toolkit
|
| 392 |
+
|
| 393 |
+
- BERT: https://huggingface.co/ transformers/v4.5.1/model_doc/bert.html#bertmodel
|
| 394 |
+
- BERT Tokenizer: https://huggingface.co/transformers/v4.5.1/model_doc/bert.html#berttokenizer
|
| 395 |
+
- Local Outlier Factor(LOF): https://scikit-learn.org/stable/modules/generated/sklearn.neighbors.
|
| 396 |
+
- LocalOutlierFactor.html
|
| 397 |
+
- Macro F1: https://scikit-learn.org/stable/modules/generated/sklearn.metrics.f1_score.html
|
| 398 |
+
|
| 399 |
+
# A.8 Number of Instances per Method
|
| 400 |
+
|
| 401 |
+
Table 6 shows the number of instances included in an episode for each method in ablation studying. The episode sampling method is random sampling.
|
| 402 |
+
|
| 403 |
+
# A.9 Prompt of ChatGPT
|
| 404 |
+
|
| 405 |
+
We demonstrate the prompt for using ChatGPT directly in the NOTA task, as follows:
|
| 406 |
+
|
| 407 |
+
Question: The purpose of the relation classification task is to identify the relation between two entities (one is the head entity and the other is the tail entity) in a given sentence. For example, the following sentence "California is a state in the United States". Through the derivation of the whole sentence, the relation between the head entity "California" and the tail entity the "United States" is "contains". While the few-shot relation classification task consists of a support set and a query set. The support set generally contains $N$ relations, and each relation contains $K$ instances. This setup is called $N$ -way $K$ -shot. We need to predict the relation between two entities in each sentence given in the query set based on the support set. Now I need you to complete a few-shot relation classification task, which is set to 5-way 5-shot. The five categories in the support set are numbered from 0 to 4, respectively. Five sentences are given after
|
| 408 |
+
|
| 409 |
+
each category. The head entity of each sentence is surrounded by two special characters [head] and [/head], and the tail entity is surrounded by two special characters [tail] and [/tail]. You need to predict the relationship between two entities for each sentence in the query set from the support set. That is, if the relation of a query instance is similar to that of all instances of category 0 in the support set, then the category predicted by the query instance is category 0. Notice! If the relation between the two entities of a sentence in the query set cannot be referenced in the support set, the relation between the two entities of the sentence is called NOTA (None-of-the-above). When the NOTA relation is encountered, the category number of the predicted result is 5. Warning! You just need to return the class number for each instance predicted in the query set. For example, the relation of the first instance in the query set is relation 0, and the second instance is relation 5 (NOTA). Then your reply is: [0, 5]. If you get it, then I'll give you support sets and query sets next.
|
| 410 |
+
|
| 411 |
+
ChatGPT: Yes, I understand the task. Please provide me with the support set and query set.
|
| 412 |
+
|
| 413 |
+
Question: The following is the support set (5-way 5-shot. Instances in each category are separated by a special character [sep].):
|
| 414 |
+
|
| 415 |
+
···
|
| 416 |
+
|
| 417 |
+
The following is the query set (The query set contains one instance.):
|
| 418 |
+
|
| 419 |
+
··
|
2023/Density-Aware Prototypical Network for Few-Shot Relation Classification/images.zip
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:95c23a8bc77588b195c5f14ea9bafdc3c23b9cea0f34f0c5ece095da5297bb7f
|
| 3 |
+
size 661941
|
2023/Density-Aware Prototypical Network for Few-Shot Relation Classification/layout.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
2023/DepNeCTI_ Dependency-based Nested Compound Type Identification for Sanskrit/9cf22d4e-25cc-4736-8b7f-6f6bea41e671_content_list.json
ADDED
|
@@ -0,0 +1,1669 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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identification for Sanskrit",
|
| 5 |
+
"text_level": 1,
|
| 6 |
+
"bbox": [
|
| 7 |
+
119,
|
| 8 |
+
89,
|
| 9 |
+
878,
|
| 10 |
+
129
|
| 11 |
+
],
|
| 12 |
+
"page_idx": 0
|
| 13 |
+
},
|
| 14 |
+
{
|
| 15 |
+
"type": "text",
|
| 16 |
+
"text": "Jivnesh Sandhan†,* Yaswanth Narsupalli‡, Sreevatsa Muppirala‡, Sriram Krishnan§, Pavankumar Satuluri∥, Amba Kulkarni§ and Pawan Goyal‡",
|
| 17 |
+
"bbox": [
|
| 18 |
+
159,
|
| 19 |
+
143,
|
| 20 |
+
840,
|
| 21 |
+
183
|
| 22 |
+
],
|
| 23 |
+
"page_idx": 0
|
| 24 |
+
},
|
| 25 |
+
{
|
| 26 |
+
"type": "text",
|
| 27 |
+
"text": "†UC Berkeley, ‡IIT Kharagpur, §University of Hyderabad and ¶IIT Roorkee",
|
| 28 |
+
"bbox": [
|
| 29 |
+
193,
|
| 30 |
+
185,
|
| 31 |
+
805,
|
| 32 |
+
202
|
| 33 |
+
],
|
| 34 |
+
"page_idx": 0
|
| 35 |
+
},
|
| 36 |
+
{
|
| 37 |
+
"type": "text",
|
| 38 |
+
"text": "jivneshsandhan@gmail.com, yasshu.yaswanth@gmail.com, pawang@cse.iitkgp.ac.in",
|
| 39 |
+
"bbox": [
|
| 40 |
+
115,
|
| 41 |
+
205,
|
| 42 |
+
884,
|
| 43 |
+
223
|
| 44 |
+
],
|
| 45 |
+
"page_idx": 0
|
| 46 |
+
},
|
| 47 |
+
{
|
| 48 |
+
"type": "text",
|
| 49 |
+
"text": "Abstract",
|
| 50 |
+
"text_level": 1,
|
| 51 |
+
"bbox": [
|
| 52 |
+
260,
|
| 53 |
+
252,
|
| 54 |
+
339,
|
| 55 |
+
268
|
| 56 |
+
],
|
| 57 |
+
"page_idx": 0
|
| 58 |
+
},
|
| 59 |
+
{
|
| 60 |
+
"type": "text",
|
| 61 |
+
"text": "Multi-component compounding is a prevalent phenomenon in Sanskrit, and understanding the implicit structure of a compound's components is crucial for deciphering its meaning. Earlier approaches in Sanskrit have focused on binary compounds and neglected the multi-component compound setting. This work introduces the novel task of nested compound type identification (NeCTI), which aims to identify nested spans of a multi-component compound and decode the implicit semantic relations between them. To the best of our knowledge, this is the first attempt in the field of lexical semantics to propose this task.",
|
| 62 |
+
"bbox": [
|
| 63 |
+
141,
|
| 64 |
+
281,
|
| 65 |
+
460,
|
| 66 |
+
480
|
| 67 |
+
],
|
| 68 |
+
"page_idx": 0
|
| 69 |
+
},
|
| 70 |
+
{
|
| 71 |
+
"type": "text",
|
| 72 |
+
"text": "We present 2 newly annotated datasets including an out-of-domain dataset for this task. We also benchmark these datasets by exploring the efficacy of the standard problem formulations such as nested named entity recognition, constituency parsing and seq2seq, etc. We present a novel framework named DepNeCTI: Dependency-based Nested Compound Type Identifier that surpasses the performance of the best baseline with an average absolute improvement of 13.1 points F1-score in terms of Labeled Span Score (LSS) and a 5-fold enhancement in inference efficiency. In line with the previous findings in the binary Sanskrit compound identification task, context provides benefits for the NeCTI task. The codebase and datasets are publicly available at: https://github.com/yaswanth-iitkgp/DepNeCTI",
|
| 73 |
+
"bbox": [
|
| 74 |
+
141,
|
| 75 |
+
486,
|
| 76 |
+
460,
|
| 77 |
+
741
|
| 78 |
+
],
|
| 79 |
+
"page_idx": 0
|
| 80 |
+
},
|
| 81 |
+
{
|
| 82 |
+
"type": "text",
|
| 83 |
+
"text": "1 Introduction",
|
| 84 |
+
"text_level": 1,
|
| 85 |
+
"bbox": [
|
| 86 |
+
114,
|
| 87 |
+
757,
|
| 88 |
+
258,
|
| 89 |
+
772
|
| 90 |
+
],
|
| 91 |
+
"page_idx": 0
|
| 92 |
+
},
|
| 93 |
+
{
|
| 94 |
+
"type": "text",
|
| 95 |
+
"text": "A compound is defined as a group of entities functioning as a single meaningful entity. The process of identifying the implied semantic relationship between the components of a compound in Sanskrit is known as Sanskrit Compound Type Identification (SaCTI) (Sandhan et al., 2022a) or Noun Compound Interpretation (NCI) (Ponkiya et al., 2021,",
|
| 96 |
+
"bbox": [
|
| 97 |
+
112,
|
| 98 |
+
783,
|
| 99 |
+
490,
|
| 100 |
+
896
|
| 101 |
+
],
|
| 102 |
+
"page_idx": 0
|
| 103 |
+
},
|
| 104 |
+
{
|
| 105 |
+
"type": "text",
|
| 106 |
+
"text": "2020). Within the literature, the NCI problem has been approached in two ways, namely, classification (Dima and Hinrichs, 2015; Fares et al., 2018; Ponkiya et al., 2021) and paraphrasing (Lapata and Keller, 2004; Ponkiya et al., 2018, 2020).",
|
| 107 |
+
"bbox": [
|
| 108 |
+
507,
|
| 109 |
+
252,
|
| 110 |
+
884,
|
| 111 |
+
332
|
| 112 |
+
],
|
| 113 |
+
"page_idx": 0
|
| 114 |
+
},
|
| 115 |
+
{
|
| 116 |
+
"type": "text",
|
| 117 |
+
"text": "In Sanskrit literature, particularly in poetry, the use of multi-component compounds is ubiquitous (Kumar, 2012). According to the Digital Corpus of Sanskrit, more than $41\\%$ of compounds contain three or more components (Krishna et al., 2016). However, earlier approaches focus solely on binary compounds and fail to address the complexities inherent in multi-component compounds adequately. Thus, we propose a new task, the Nested Compound Type Identification (NeCTI) Task, which focuses on identifying nested spans within a multicomponent compound and interpreting their implicit semantic relationships. Figure 1 illustrates an example of the NeCTI task, highlighting nested spans and their associated semantic relations using distinct colors.",
|
| 118 |
+
"bbox": [
|
| 119 |
+
507,
|
| 120 |
+
335,
|
| 121 |
+
884,
|
| 122 |
+
592
|
| 123 |
+
],
|
| 124 |
+
"page_idx": 0
|
| 125 |
+
},
|
| 126 |
+
{
|
| 127 |
+
"type": "image",
|
| 128 |
+
"img_path": "images/8fce5a9d9993137775f22da5532a49bcdcb89d81850c7ea5d2f698e76259dd72.jpg",
|
| 129 |
+
"image_caption": [
|
| 130 |
+
"Figure 1: Illustration of the NeCTI task for the multi-component compound sumitra-ananda-vardhanah (Translation: Sumitra-delight-enhancer), highlighting nested spans and their associated semantic relations using distinct colors."
|
| 131 |
+
],
|
| 132 |
+
"image_footnote": [],
|
| 133 |
+
"bbox": [
|
| 134 |
+
551,
|
| 135 |
+
607,
|
| 136 |
+
840,
|
| 137 |
+
700
|
| 138 |
+
],
|
| 139 |
+
"page_idx": 0
|
| 140 |
+
},
|
| 141 |
+
{
|
| 142 |
+
"type": "text",
|
| 143 |
+
"text": "The NeCTI task presents multiple challenges: (1) The number of potential solutions for a multicomponent compound grows exponentially as the number of components increases. (2) It often relies on contextual or world knowledge about the entities involved (Krishna et al., 2016). Even if a multicomponent compound shares the same components",
|
| 144 |
+
"bbox": [
|
| 145 |
+
507,
|
| 146 |
+
806,
|
| 147 |
+
884,
|
| 148 |
+
919
|
| 149 |
+
],
|
| 150 |
+
"page_idx": 0
|
| 151 |
+
},
|
| 152 |
+
{
|
| 153 |
+
"type": "page_footnote",
|
| 154 |
+
"text": "* denotes the first two authors contributed equally.",
|
| 155 |
+
"bbox": [
|
| 156 |
+
139,
|
| 157 |
+
904,
|
| 158 |
+
450,
|
| 159 |
+
919
|
| 160 |
+
],
|
| 161 |
+
"page_idx": 0
|
| 162 |
+
},
|
| 163 |
+
{
|
| 164 |
+
"type": "page_number",
|
| 165 |
+
"text": "13679",
|
| 166 |
+
"bbox": [
|
| 167 |
+
475,
|
| 168 |
+
927,
|
| 169 |
+
524,
|
| 170 |
+
940
|
| 171 |
+
],
|
| 172 |
+
"page_idx": 0
|
| 173 |
+
},
|
| 174 |
+
{
|
| 175 |
+
"type": "footer",
|
| 176 |
+
"text": "Findings of the Association for Computational Linguistics: EMNLP 2023, pages 13679-13692 December 6-10, 2023 ©2023 Association for Computational Linguistics",
|
| 177 |
+
"bbox": [
|
| 178 |
+
208,
|
| 179 |
+
945,
|
| 180 |
+
786,
|
| 181 |
+
972
|
| 182 |
+
],
|
| 183 |
+
"page_idx": 0
|
| 184 |
+
},
|
| 185 |
+
{
|
| 186 |
+
"type": "text",
|
| 187 |
+
"text": "and final form, the implicit relationship between the spans can only be deciphered with the aid of available contextual information (Kulkarni and Kumar, 2013; Krishna et al., 2016). For instance, as de",
|
| 188 |
+
"bbox": [
|
| 189 |
+
112,
|
| 190 |
+
84,
|
| 191 |
+
490,
|
| 192 |
+
149
|
| 193 |
+
],
|
| 194 |
+
"page_idx": 1
|
| 195 |
+
},
|
| 196 |
+
{
|
| 197 |
+
"type": "image",
|
| 198 |
+
"img_path": "images/265320e2dba0b3084032e52044623b15bc76e00e3533e531149e7c7a9ec77023.jpg",
|
| 199 |
+
"image_caption": [
|
| 200 |
+
"Figure 2: Illustration of the multi-component compound sumitra-ananda-vardhanah (Translation: Sumitra-delight-enhancer) with two valid parses depicted in green and red. The two parses correspond to two potential meanings. The green solution represents the correct interpretation within the provided context."
|
| 201 |
+
],
|
| 202 |
+
"image_footnote": [],
|
| 203 |
+
"bbox": [
|
| 204 |
+
117,
|
| 205 |
+
156,
|
| 206 |
+
487,
|
| 207 |
+
225
|
| 208 |
+
],
|
| 209 |
+
"page_idx": 1
|
| 210 |
+
},
|
| 211 |
+
{
|
| 212 |
+
"type": "text",
|
| 213 |
+
"text": "picted in Figure 2, the multi-component compound sumitra-ananda-vardhanah (Translation: Sumitradelight-enhancer) can have two valid but distinct solutions, leading to different meanings. Resolving ambiguity to select the correct solution requires reliance on the provided context. Consequently, downstream Natural Language Processing (NLP) applications for Sanskrit, such as question answering (Terdalkar and Bhattacharya, 2019) and machine translation (Aralikatte et al., 2021), often exhibit sub-optimal performance when encountering compounds. Hence, the NeCTI task serves as a preliminary requirement for developing robust NLP technology for Sanskrit. Moreover, this dependency on contextual information eliminates the possibility of storing and conducting a lookup to identify the semantic types of nested spans.",
|
| 214 |
+
"bbox": [
|
| 215 |
+
115,
|
| 216 |
+
332,
|
| 217 |
+
489,
|
| 218 |
+
606
|
| 219 |
+
],
|
| 220 |
+
"page_idx": 1
|
| 221 |
+
},
|
| 222 |
+
{
|
| 223 |
+
"type": "text",
|
| 224 |
+
"text": "Previous approaches (Kulkarni and Kumar, 2013; Krishna et al., 2016; Sandhan et al., 2019) addressing SaCTI have predominantly focused on binary compounds, neglecting the consideration of multi-component compounds. In multi-component compounds, the components exhibit semantic relationships akin to dependency relations, represented as directed labels within the dependency structure, which also facilitate the identification of the compound's headword through the labels directed towards it. Consequently, dependency formulation enables the simultaneous identification of both the structure or constituency span and the compound types. Thus, we propose a novel framework ( $\\S 4$ ) named DepNeCTI: Dependency-based Nested Compound type Identifier ( $\\S 3$ ). In summary, our contributions can be outlined as follows:",
|
| 225 |
+
"bbox": [
|
| 226 |
+
112,
|
| 227 |
+
607,
|
| 228 |
+
489,
|
| 229 |
+
879
|
| 230 |
+
],
|
| 231 |
+
"page_idx": 1
|
| 232 |
+
},
|
| 233 |
+
{
|
| 234 |
+
"type": "text",
|
| 235 |
+
"text": "- We introduce a novel task called Nested Compound Type Identification (§ 2).",
|
| 236 |
+
"bbox": [
|
| 237 |
+
114,
|
| 238 |
+
887,
|
| 239 |
+
489,
|
| 240 |
+
919
|
| 241 |
+
],
|
| 242 |
+
"page_idx": 1
|
| 243 |
+
},
|
| 244 |
+
{
|
| 245 |
+
"type": "list",
|
| 246 |
+
"sub_type": "text",
|
| 247 |
+
"list_items": [
|
| 248 |
+
"- We present 2 newly annotated datasets and provide benchmarking by exploring the efficacy of various standard formulations for NeCTI (§ 5).",
|
| 249 |
+
"- We propose a novel framework DepNeCTI: Dependency-based Nested Compound type Identifier (§ 4), which reports an average 13.1 points F1-score in terms of LSS absolute gain and 5-fold enhancement in inference efficiency (§ 6) over the best baseline.",
|
| 250 |
+
"- We publicly release the codebase of DepNeCTI and benchmarked baselines, along with newly annotated datasets for the NeCTI task."
|
| 251 |
+
],
|
| 252 |
+
"bbox": [
|
| 253 |
+
509,
|
| 254 |
+
84,
|
| 255 |
+
884,
|
| 256 |
+
297
|
| 257 |
+
],
|
| 258 |
+
"page_idx": 1
|
| 259 |
+
},
|
| 260 |
+
{
|
| 261 |
+
"type": "text",
|
| 262 |
+
"text": "2 Problem Formulation",
|
| 263 |
+
"text_level": 1,
|
| 264 |
+
"bbox": [
|
| 265 |
+
509,
|
| 266 |
+
307,
|
| 267 |
+
732,
|
| 268 |
+
324
|
| 269 |
+
],
|
| 270 |
+
"page_idx": 1
|
| 271 |
+
},
|
| 272 |
+
{
|
| 273 |
+
"type": "text",
|
| 274 |
+
"text": "The objective of the NeCTI task is to detect nested spans within a multi-component compound and decipher the implicit semantic relations among them. Our study focuses exclusively on this task and does not address the compound segmentation problem. It is assumed that the segmented components of the multi-component compound are already available. To obtain the segmentation of a compound, we rely on established resources such as the rule-based shallow parser (Goyal and Huet, 2016) or existing data-driven segmentation systems designed explicitly for Sanskrit (Hellwig and Nehrdich, 2018; Sandhan et al., 2022b).",
|
| 275 |
+
"bbox": [
|
| 276 |
+
507,
|
| 277 |
+
332,
|
| 278 |
+
884,
|
| 279 |
+
542
|
| 280 |
+
],
|
| 281 |
+
"page_idx": 1
|
| 282 |
+
},
|
| 283 |
+
{
|
| 284 |
+
"type": "image",
|
| 285 |
+
"img_path": "images/5f67455afe96c082a3588685841c0ceb83beea3e04841f5ca78b657aebe04ee0.jpg",
|
| 286 |
+
"image_caption": [
|
| 287 |
+
"Figure 3: Illustration of a number of ways (as per Catalan number in log scale) in which a multi-component compound can be parsed. Our dataset contains compounds that have a maximum of 16 components."
|
| 288 |
+
],
|
| 289 |
+
"image_footnote": [],
|
| 290 |
+
"bbox": [
|
| 291 |
+
547,
|
| 292 |
+
570,
|
| 293 |
+
843,
|
| 294 |
+
707
|
| 295 |
+
],
|
| 296 |
+
"page_idx": 1
|
| 297 |
+
},
|
| 298 |
+
{
|
| 299 |
+
"type": "text",
|
| 300 |
+
"text": "Complexity of NeCTI Task: As the number of components in a multi-component compound increases, the number of possible parses grows exponentially. Our dataset encompasses multicomponent compounds ranging from 2 to 16 components. Figure 3 visually depicts the exponential growth of possible parses with increasing component count. The parsing of a compound word with",
|
| 301 |
+
"bbox": [
|
| 302 |
+
507,
|
| 303 |
+
790,
|
| 304 |
+
882,
|
| 305 |
+
917
|
| 306 |
+
],
|
| 307 |
+
"page_idx": 1
|
| 308 |
+
},
|
| 309 |
+
{
|
| 310 |
+
"type": "page_number",
|
| 311 |
+
"text": "13680",
|
| 312 |
+
"bbox": [
|
| 313 |
+
477,
|
| 314 |
+
927,
|
| 315 |
+
524,
|
| 316 |
+
940
|
| 317 |
+
],
|
| 318 |
+
"page_idx": 1
|
| 319 |
+
},
|
| 320 |
+
{
|
| 321 |
+
"type": "text",
|
| 322 |
+
"text": "$n + 1$ components can be likened to the problem of fully parenthesizing $n + 1$ factors in all possible ways (Kulkarni and Kumar, 2011). Thus, the total number of parse-options for a multi-component compound word with $n + 1$ components corresponds to the Catalan Number $C_n$ , where $n \\geq 0$ (Huet, 2009).",
|
| 323 |
+
"bbox": [
|
| 324 |
+
112,
|
| 325 |
+
84,
|
| 326 |
+
489,
|
| 327 |
+
197
|
| 328 |
+
],
|
| 329 |
+
"page_idx": 2
|
| 330 |
+
},
|
| 331 |
+
{
|
| 332 |
+
"type": "equation",
|
| 333 |
+
"text": "\n$$\nC _ {n} = \\frac {1}{n + 1} \\binom {2 n} {n} = \\frac {(2 n) !}{(n + 1) ! n !}\n$$\n",
|
| 334 |
+
"text_format": "latex",
|
| 335 |
+
"bbox": [
|
| 336 |
+
173,
|
| 337 |
+
208,
|
| 338 |
+
428,
|
| 339 |
+
242
|
| 340 |
+
],
|
| 341 |
+
"page_idx": 2
|
| 342 |
+
},
|
| 343 |
+
{
|
| 344 |
+
"type": "text",
|
| 345 |
+
"text": "where $C_n$ represents the $n^{th}$ Catalan number, $\\binom{2n}{n}$ is the binomial coefficient, and! denotes factorial. Finally, the compatibility rules derived from Paninian grammar (Panini, 500 BCE) and contextual information are needed to disambiguate multiple possibilities.",
|
| 346 |
+
"bbox": [
|
| 347 |
+
112,
|
| 348 |
+
249,
|
| 349 |
+
489,
|
| 350 |
+
344
|
| 351 |
+
],
|
| 352 |
+
"page_idx": 2
|
| 353 |
+
},
|
| 354 |
+
{
|
| 355 |
+
"type": "text",
|
| 356 |
+
"text": "Formally, in a given sentence $X = \\{x_{1}, x_{2}, \\ldots, x_{M}\\}$ with $M$ tokens, let $x_{p}$ (1 ≤ $p \\leq M$ ) denote an $N$ -component compound. It is worth noting that $X$ may contain multiple instances of multi-component compounds. A valid solution corresponds to a full paraphesization of these $N$ components; let $P_{N}$ encompass all valid solutions for fully parenthesizing $N$ factors, satisfying the cardinality $|P_{N}| = C_{N-1}$ , where $C_{N-1}$ represents the Catalan number. A valid solution for an $N$ -component compound consists of $N-1$ nested spans. The NeCTI system produces an output represented as a list of $N-1$ tuples for $x_{p}$ , given by $Y_{p} = \\{[I_{1}^{H}, I_{1}^{T}, T_{1}], \\ldots, [I_{N-1}^{H}, I_{N-1}^{T}, T_{N-1}]\\}$ , such that $Y_{p} \\in P_{N}$ . $I_{i}^{H}$ and $I_{i}^{T}$ denote the head and the tail indices, respectively, of the $i^{th}$ span, and $T_{i}$ corresponds to the label assigned to the respective span.",
|
| 357 |
+
"bbox": [
|
| 358 |
+
115,
|
| 359 |
+
347,
|
| 360 |
+
489,
|
| 361 |
+
652
|
| 362 |
+
],
|
| 363 |
+
"page_idx": 2
|
| 364 |
+
},
|
| 365 |
+
{
|
| 366 |
+
"type": "text",
|
| 367 |
+
"text": "How different is NeCTI compared to the Nested Named Entity Recognition (NNER) task?",
|
| 368 |
+
"text_level": 1,
|
| 369 |
+
"bbox": [
|
| 370 |
+
112,
|
| 371 |
+
661,
|
| 372 |
+
487,
|
| 373 |
+
693
|
| 374 |
+
],
|
| 375 |
+
"page_idx": 2
|
| 376 |
+
},
|
| 377 |
+
{
|
| 378 |
+
"type": "text",
|
| 379 |
+
"text": "NNER is a component of information extraction that aims to identify and classify nested named entities within unstructured text, considering their hierarchical structure. In contrast, the NeCTI task focuses on identifying nested spans within a multi-component compound and decoding their implicit semantic relations. These tasks have several key differences: (1) NeCTI operates at the intra-word level, whereas NNER operates at the inter-word level, considering entities across a phrase. (2) In NeCTI, a multi-component compound can have multiple possible parses, requiring disambiguation through contextual cues and incorporating insights from Paninian grammar to address incompatibil",
|
| 380 |
+
"bbox": [
|
| 381 |
+
112,
|
| 382 |
+
694,
|
| 383 |
+
489,
|
| 384 |
+
917
|
| 385 |
+
],
|
| 386 |
+
"page_idx": 2
|
| 387 |
+
},
|
| 388 |
+
{
|
| 389 |
+
"type": "text",
|
| 390 |
+
"text": "ities. Conversely, we could not find discussions related to these aspects in NNER literature. (3) NeCTI benefits from prior knowledge of the compound's location and segmented components. In contrast, the NNER task involves the additional challenge of identifying the location of entities within the text. Consequently, leveraging existing NNER frameworks for NeCTI is not straightforward due to their inability to provide explicit support for providing the location of compounds. Therefore, NeCTI presents unique characteristics and challenges that differentiate it from the NNER task, requiring specialized approaches tailored to its specific requirements.",
|
| 391 |
+
"bbox": [
|
| 392 |
+
507,
|
| 393 |
+
84,
|
| 394 |
+
884,
|
| 395 |
+
309
|
| 396 |
+
],
|
| 397 |
+
"page_idx": 2
|
| 398 |
+
},
|
| 399 |
+
{
|
| 400 |
+
"type": "text",
|
| 401 |
+
"text": "How different is NeCTI compared to the Multi-Word Expressions (MWE)? MWEs encompass various categories such as idioms (e.g., kick the bucket), named entities (e.g., World Health Organization), and compounds (e.g., telephone box), etc. Sanskrit compounds exhibit similarities to multi-word expressions, particularly multi-word compounds (nominal, noun, and verb), with respect to characteristics like collocation of components based on semantic relations between them and strict preference for ordering of the components.",
|
| 402 |
+
"bbox": [
|
| 403 |
+
507,
|
| 404 |
+
318,
|
| 405 |
+
884,
|
| 406 |
+
494
|
| 407 |
+
],
|
| 408 |
+
"page_idx": 2
|
| 409 |
+
},
|
| 410 |
+
{
|
| 411 |
+
"type": "text",
|
| 412 |
+
"text": "Multi-word compounds in various languages involve adjacent lexemes juxtaposed with potential semantic relations. In contrast, Sanskrit compounds are intuitively constructed based on the semantic compatibility of their components. Additionally, in Sanskrit, compounds always appear as a single word, requiring mandatory sandhi (euphonic transformations) between their components. Conversely, certain categories of MWEs (idioms, complex function words, verb-particles, and light-verbals) have relatively fixed structures, predominantly with components separated by spaces. Furthermore, nesting within multi-word expressions is considered syntactic overlaps, while the nested structures of Sanskrit compounds result from successive combinations of components based on semantic relations, thereby clearly distinguishing Sanskrit compounds from MWEs.",
|
| 413 |
+
"bbox": [
|
| 414 |
+
507,
|
| 415 |
+
495,
|
| 416 |
+
884,
|
| 417 |
+
784
|
| 418 |
+
],
|
| 419 |
+
"page_idx": 2
|
| 420 |
+
},
|
| 421 |
+
{
|
| 422 |
+
"type": "text",
|
| 423 |
+
"text": "3 Why NeCTI as a Dependency Parsing Task?",
|
| 424 |
+
"text_level": 1,
|
| 425 |
+
"bbox": [
|
| 426 |
+
507,
|
| 427 |
+
796,
|
| 428 |
+
870,
|
| 429 |
+
829
|
| 430 |
+
],
|
| 431 |
+
"page_idx": 2
|
| 432 |
+
},
|
| 433 |
+
{
|
| 434 |
+
"type": "text",
|
| 435 |
+
"text": "The decision to formulate NeCTI as a dependency parsing task is driven by several considerations. Compounds with more than two components are typically formed through successive binary combinations, following specific semantic relations. This",
|
| 436 |
+
"bbox": [
|
| 437 |
+
507,
|
| 438 |
+
839,
|
| 439 |
+
884,
|
| 440 |
+
917
|
| 441 |
+
],
|
| 442 |
+
"page_idx": 2
|
| 443 |
+
},
|
| 444 |
+
{
|
| 445 |
+
"type": "page_number",
|
| 446 |
+
"text": "13681",
|
| 447 |
+
"bbox": [
|
| 448 |
+
477,
|
| 449 |
+
927,
|
| 450 |
+
522,
|
| 451 |
+
940
|
| 452 |
+
],
|
| 453 |
+
"page_idx": 2
|
| 454 |
+
},
|
| 455 |
+
{
|
| 456 |
+
"type": "image",
|
| 457 |
+
"img_path": "images/a6896d9f66fbadcc2c5aeba9e82b4b253e6f8bb33a856175c4bae5c4aac4d13a.jpg",
|
| 458 |
+
"image_caption": [
|
| 459 |
+
"Figure 4: Illustration of DepNeCTI with an example “sumitra-ananda-vardhanah laksmanah rāmam anujagāma” (Translation: “Lakṣmana, the one who enhanced the delight of Sumitra, followed Rāma”) where ‘sumitra-ananda-vardhanah’ is a multi-component compound word. We assume prior knowledge of compound segmentation and treat the individual components of multi-component compounds as separate words. That means the compound and its components are known apriori. However, the associations of the components, i.e. spans, are not known apriori. We propose two variants of DepNeCTI depending on the choice of encoder: DepNeCTI-LSTM and DepNeCTI-XLMR. To inform DepNeCTI-LSTM about compound (highlighted with color) and non-compound (highlighted with color) tokens, we employ span encoding. The span encoding uses two randomly initialized vectors (compound or non-compound) to inform the model whether the corresponding instance is a compound or non-compound word. On the other hand, DepNeCTI-XLMR is informed about compound's location in the input string using bracketing (for example, <sumitra-ananda-vardhanah>) and it lacks span encoding component. Next, to transform the compound-level parsing task into standard dependency parsing, we introduce (1) an additional token called “Global” (color) as a global head for all words in the sentence. (2) The compound head and non-compound words are connected to the Global token using the “Compound Root” and “Global Relation” relations, respectively. The hidden representations of the tokens are obtained using a Bi-LSTM or XLMR encoder. Finally, a Bi-affine (Dozat and Manning, 2017) dependency module is applied on top of the hidden representations."
|
| 460 |
+
],
|
| 461 |
+
"image_footnote": [],
|
| 462 |
+
"bbox": [
|
| 463 |
+
231,
|
| 464 |
+
80,
|
| 465 |
+
769,
|
| 466 |
+
370
|
| 467 |
+
],
|
| 468 |
+
"page_idx": 3
|
| 469 |
+
},
|
| 470 |
+
{
|
| 471 |
+
"type": "text",
|
| 472 |
+
"text": "process creates a nested structure of binary compounds, except for a few exceptions, where the structure represents a constituency tree. However, treating this as a constituency parsing task poses challenges. The nested structure of compounds does not adhere to a syntactic structure but instead follows a semantic structure based on component relations. If we substitute the intermediate nodes with semantic relations, the same spans can be represented as dependency structures by annotating the types as directed relations. Moreover, the headwords in constituency spans are not explicitly marked but can be identified through their corresponding types. In contrast, dependency structures allow the determination of the headword based on labels directed towards it within the compound. Notably, dependency structures faithfully capture",
|
| 473 |
+
"bbox": [
|
| 474 |
+
112,
|
| 475 |
+
639,
|
| 476 |
+
489,
|
| 477 |
+
912
|
| 478 |
+
],
|
| 479 |
+
"page_idx": 3
|
| 480 |
+
},
|
| 481 |
+
{
|
| 482 |
+
"type": "text",
|
| 483 |
+
"text": "constituency information and can be mutually converted with their corresponding spans (Goyal and Kulkarni, 2014).",
|
| 484 |
+
"bbox": [
|
| 485 |
+
507,
|
| 486 |
+
639,
|
| 487 |
+
882,
|
| 488 |
+
684
|
| 489 |
+
],
|
| 490 |
+
"page_idx": 3
|
| 491 |
+
},
|
| 492 |
+
{
|
| 493 |
+
"type": "text",
|
| 494 |
+
"text": "Summarily, the semantic relations among compound components resemble dependency relations, which can be represented as directed labels within the dependency parse structure. This approach succinctly represents the semantic relations without introducing intermediary nodes. Lastly, it enables the simultaneous identification of the structure or constituency span alongside the identification of compound types. We encourage readers to refer to Appendix § A for a more detailed illustration.",
|
| 495 |
+
"bbox": [
|
| 496 |
+
507,
|
| 497 |
+
688,
|
| 498 |
+
882,
|
| 499 |
+
848
|
| 500 |
+
],
|
| 501 |
+
"page_idx": 3
|
| 502 |
+
},
|
| 503 |
+
{
|
| 504 |
+
"type": "text",
|
| 505 |
+
"text": "4 DepNeCTI: The Proposed Framework",
|
| 506 |
+
"text_level": 1,
|
| 507 |
+
"bbox": [
|
| 508 |
+
507,
|
| 509 |
+
860,
|
| 510 |
+
875,
|
| 511 |
+
878
|
| 512 |
+
],
|
| 513 |
+
"page_idx": 3
|
| 514 |
+
},
|
| 515 |
+
{
|
| 516 |
+
"type": "text",
|
| 517 |
+
"text": "Figure 4 illustrates the proposed framework with an example \"sumitra-ananda-vardhanah laksmanah",
|
| 518 |
+
"bbox": [
|
| 519 |
+
507,
|
| 520 |
+
887,
|
| 521 |
+
882,
|
| 522 |
+
917
|
| 523 |
+
],
|
| 524 |
+
"page_idx": 3
|
| 525 |
+
},
|
| 526 |
+
{
|
| 527 |
+
"type": "page_number",
|
| 528 |
+
"text": "13682",
|
| 529 |
+
"bbox": [
|
| 530 |
+
477,
|
| 531 |
+
927,
|
| 532 |
+
524,
|
| 533 |
+
940
|
| 534 |
+
],
|
| 535 |
+
"page_idx": 3
|
| 536 |
+
},
|
| 537 |
+
{
|
| 538 |
+
"type": "text",
|
| 539 |
+
"text": "ramanujagama\" (Translation: \"Laksmana, the one who enhanced the delight of Sumitra, followed Rama\") where 'sumitra-ananda-vardhanah' is a multi-component compound word. We assume prior knowledge of compound segmentation and treat the individual components of multicomponent compounds as separate words. We propose two variants of DepNeCTI depending on the choice of encoder: DepNeCTI-LSTM and DepNeCTI-XLMR. In DepNeCTI-LSTM, to differentiate between compound (highlighted with color) and non-compound (highlighted with color) tokens, we employ span encoding. The span encoding uses two randomly initialized vectors (compound or non-compound) to inform the model whether the corresponding instance is a compound or non-compound word. On the other hand, DepNeCTI-XLMR is informed about compound's location in the input string using bracketing (for example, <sumitra-ananda-vardhana>) and it lacks span encoding component. In order to convert the compound-level dependency parsing task into standard dependency parsing, we introduce two modifications. First, we introduce an additional token called \"Global\" (color) which serves as the global head for all words in the sentence. Second, we establish connections between the compound head and non-compound words to the Global token using the \"Compound Root\" and \"Global Relation\" relations, respectively.",
|
| 540 |
+
"bbox": [
|
| 541 |
+
112,
|
| 542 |
+
84,
|
| 543 |
+
492,
|
| 544 |
+
567
|
| 545 |
+
],
|
| 546 |
+
"page_idx": 4
|
| 547 |
+
},
|
| 548 |
+
{
|
| 549 |
+
"type": "text",
|
| 550 |
+
"text": "Formally, in a given sentence $X = \\{x_{1}, x_{2}, \\ldots, x_{M}\\}$ with $M$ tokens, let $x_{p}$ (1 ≤ $p \\leq M$ ) denote an $N$ -component compound. Notably, $X$ may contain multiple occurrences of multi-component compounds. The $N$ -component compound $(x_{p})$ is further split into its components $(x_{p} = \\{x_{p}^{1}, x_{p}^{2}, \\ldots, x_{p}^{N}\\})$ . Next, we pass the overall sequence $(X = \\{x_{1}, x_{2}, \\ldots, x_{p}^{1}, x_{p}^{2}, \\ldots, x_{p}^{N}, \\ldots, x_{M}\\})$ to the encoder to obtain hidden representations. The LSTM encoder concatenates a token's word, character and span embedding to obtain its representation and the XLMR encoder uses word-pieces. Finally, a Bi-affine (Dozat and Manning, 2017) dependency module is applied on top of it.",
|
| 551 |
+
"bbox": [
|
| 552 |
+
112,
|
| 553 |
+
568,
|
| 554 |
+
489,
|
| 555 |
+
810
|
| 556 |
+
],
|
| 557 |
+
"page_idx": 4
|
| 558 |
+
},
|
| 559 |
+
{
|
| 560 |
+
"type": "text",
|
| 561 |
+
"text": "5 Experiments",
|
| 562 |
+
"text_level": 1,
|
| 563 |
+
"bbox": [
|
| 564 |
+
112,
|
| 565 |
+
822,
|
| 566 |
+
260,
|
| 567 |
+
838
|
| 568 |
+
],
|
| 569 |
+
"page_idx": 4
|
| 570 |
+
},
|
| 571 |
+
{
|
| 572 |
+
"type": "text",
|
| 573 |
+
"text": "5.1 Datasets",
|
| 574 |
+
"text_level": 1,
|
| 575 |
+
"bbox": [
|
| 576 |
+
112,
|
| 577 |
+
848,
|
| 578 |
+
228,
|
| 579 |
+
862
|
| 580 |
+
],
|
| 581 |
+
"page_idx": 4
|
| 582 |
+
},
|
| 583 |
+
{
|
| 584 |
+
"type": "text",
|
| 585 |
+
"text": "Table 1 presents data on the total number of multi-component compounds (Figure 5) and their statistics. Our primary focus is on compounds with",
|
| 586 |
+
"bbox": [
|
| 587 |
+
112,
|
| 588 |
+
870,
|
| 589 |
+
489,
|
| 590 |
+
919
|
| 591 |
+
],
|
| 592 |
+
"page_idx": 4
|
| 593 |
+
},
|
| 594 |
+
{
|
| 595 |
+
"type": "text",
|
| 596 |
+
"text": "more than two components ( $n > 2$ ), while also considering binary compounds if they occur in the context. These datasets comprise segmented compound components, nested spans, context, and semantic relations among the nested spans. We offer two levels of annotations for these datasets: coarse (4 broad types) and fine-grained (86 sub-types). There are 4 broad semantic types of compounds: Avyayibhava (Indeclinable), Bahuvrihi (Exocentric), Tatpurusa (Endocentric) and Dvandva (Copulative). Again, each broader class is divided into multiple subclasses, leading to 86 fine-grained types. $^{1}$ Figure 6 shows class-wise label frequency in NecTIS fine-grained.",
|
| 597 |
+
"bbox": [
|
| 598 |
+
507,
|
| 599 |
+
84,
|
| 600 |
+
884,
|
| 601 |
+
311
|
| 602 |
+
],
|
| 603 |
+
"page_idx": 4
|
| 604 |
+
},
|
| 605 |
+
{
|
| 606 |
+
"type": "table",
|
| 607 |
+
"img_path": "images/d042aadf1ce3670041ca114a42ecb2fbdfe04c294976f0d8a66b9153c8d3a4fa.jpg",
|
| 608 |
+
"table_caption": [],
|
| 609 |
+
"table_footnote": [],
|
| 610 |
+
"table_body": "<table><tr><td>Datasets</td><td>#Nested</td><td>#Train</td><td>#Test</td><td>#Dev</td><td>#Types</td></tr><tr><td>NeCTIS</td><td>17656</td><td>12431</td><td>3493</td><td>2405</td><td>4 (86)</td></tr><tr><td>NeCTIS OOD</td><td>1189</td><td>-</td><td>1189</td><td>-</td><td>4 (86)</td></tr></table>",
|
| 611 |
+
"bbox": [
|
| 612 |
+
522,
|
| 613 |
+
321,
|
| 614 |
+
870,
|
| 615 |
+
361
|
| 616 |
+
],
|
| 617 |
+
"page_idx": 4
|
| 618 |
+
},
|
| 619 |
+
{
|
| 620 |
+
"type": "text",
|
| 621 |
+
"text": "Table 1: Data statistics for NeCTIS and NeCTIS-OOD",
|
| 622 |
+
"bbox": [
|
| 623 |
+
509,
|
| 624 |
+
370,
|
| 625 |
+
880,
|
| 626 |
+
384
|
| 627 |
+
],
|
| 628 |
+
"page_idx": 4
|
| 629 |
+
},
|
| 630 |
+
{
|
| 631 |
+
"type": "image",
|
| 632 |
+
"img_path": "images/c3da73854968cd8851f14fbaeded14e077e1f3a601c48c7634b28e9c6c18ceb8.jpg",
|
| 633 |
+
"image_caption": [
|
| 634 |
+
"Figure 5: Frequency of $n$ -component compounds."
|
| 635 |
+
],
|
| 636 |
+
"image_footnote": [],
|
| 637 |
+
"bbox": [
|
| 638 |
+
544,
|
| 639 |
+
414,
|
| 640 |
+
848,
|
| 641 |
+
569
|
| 642 |
+
],
|
| 643 |
+
"page_idx": 4
|
| 644 |
+
},
|
| 645 |
+
{
|
| 646 |
+
"type": "image",
|
| 647 |
+
"img_path": "images/41bad8dd6130d2436dd5d2a286774e27e3bdf4ae89273dcf8054357792745a7d.jpg",
|
| 648 |
+
"image_caption": [
|
| 649 |
+
"Figure 6: Frequency in NeCTIS fine-grained."
|
| 650 |
+
],
|
| 651 |
+
"image_footnote": [],
|
| 652 |
+
"bbox": [
|
| 653 |
+
542,
|
| 654 |
+
621,
|
| 655 |
+
848,
|
| 656 |
+
739
|
| 657 |
+
],
|
| 658 |
+
"page_idx": 4
|
| 659 |
+
},
|
| 660 |
+
{
|
| 661 |
+
"type": "text",
|
| 662 |
+
"text": "We introduce two context-sensitive datasets: NeCTIS and NeCTIS OOD. The purpose of the additional dataset (NeCTIS OOD) is to create an out-of-domain testbed. The multi-component compound instances are extracted from various books",
|
| 663 |
+
"bbox": [
|
| 664 |
+
507,
|
| 665 |
+
780,
|
| 666 |
+
884,
|
| 667 |
+
860
|
| 668 |
+
],
|
| 669 |
+
"page_idx": 4
|
| 670 |
+
},
|
| 671 |
+
{
|
| 672 |
+
"type": "page_footnote",
|
| 673 |
+
"text": "The list of fine-grained labels and the corresponding examples can be found at: https://sanskrit.uohyd.ac.in/scl/GOLD_DATA/Tagging_Guidelines/samaasa_tagging16mar12-modified.pdf",
|
| 674 |
+
"bbox": [
|
| 675 |
+
507,
|
| 676 |
+
869,
|
| 677 |
+
882,
|
| 678 |
+
917
|
| 679 |
+
],
|
| 680 |
+
"page_idx": 4
|
| 681 |
+
},
|
| 682 |
+
{
|
| 683 |
+
"type": "page_number",
|
| 684 |
+
"text": "13683",
|
| 685 |
+
"bbox": [
|
| 686 |
+
477,
|
| 687 |
+
927,
|
| 688 |
+
524,
|
| 689 |
+
940
|
| 690 |
+
],
|
| 691 |
+
"page_idx": 4
|
| 692 |
+
},
|
| 693 |
+
{
|
| 694 |
+
"type": "text",
|
| 695 |
+
"text": "categorized into 4 types based on subject content: philosophical, pauranic (Translation: Epic is a genre of ancient Indian literature encompassing historical stories, traditions, and legends.), literary, and ayurveda. The NeCTIS dataset encompasses compounds from books falling under the Philosophical, Literary, and ayurveda categories. The multicomponent compound instances extracted from the puranic category are included in the NeCTIS out-of-domain (NeCTIS OOD) dataset. Furthermore, the multi-component instances in NeCTIS belong to the prose domain, while NeCTIS-OOD pertains to the poetry domain. Poetry commonly uses multi-component compounding extensively (more exocentric compounds) to adhere to metrical constraints and convey complex concepts. Conversely, prose uses compounds in a more direct and less condensed manner. Furthermore, poets in the realm of poetry often enjoy the freedom to form novel compounds or employ unconventional ones to conform to meter requirements, rendering these compounds infrequent in regular usage.",
|
| 696 |
+
"bbox": [
|
| 697 |
+
110,
|
| 698 |
+
84,
|
| 699 |
+
492,
|
| 700 |
+
441
|
| 701 |
+
],
|
| 702 |
+
"page_idx": 5
|
| 703 |
+
},
|
| 704 |
+
{
|
| 705 |
+
"type": "text",
|
| 706 |
+
"text": "Dataset Annotation Process: We established a data creation process to address the unavailability of annotated context-sensitive multi-component compound data in Sanskrit. We employ a sufficient annotation budget sponsored by DeitY, 2009-2012 for the Sanskrit Hindi Machine Translation project to employ 6 institutes, each consisting of approximately 10 team members. Each team was organized in a hierarchical manner. There were 3 levels in the hierarchy: Junior linguist (Masters degree in Sanskrit), Senior linguist (Ph.D. in Sanskrit) and professional linguist (Professor in Sanskrit). The annotations from lower expertise were further checked as per the above-mentioned hierarchy. Subsequently, the annotated data underwent an exchange process with another team for correctness verification. Any ambiguities encountered during the annotation process were resolved through collective discussions conducted by the correctness-checking team. The available books were distributed among these teams, and each team was responsible for annotating their allocated books. The annotation guidelines<sup>2</sup> are essentially based on Sanskrit grammar which provides the syntactic and semantic criteria for annotation.",
|
| 707 |
+
"bbox": [
|
| 708 |
+
110,
|
| 709 |
+
450,
|
| 710 |
+
490,
|
| 711 |
+
851
|
| 712 |
+
],
|
| 713 |
+
"page_idx": 5
|
| 714 |
+
},
|
| 715 |
+
{
|
| 716 |
+
"type": "text",
|
| 717 |
+
"text": "Elaborate commentaries accompany the majority",
|
| 718 |
+
"bbox": [
|
| 719 |
+
131,
|
| 720 |
+
854,
|
| 721 |
+
487,
|
| 722 |
+
871
|
| 723 |
+
],
|
| 724 |
+
"page_idx": 5
|
| 725 |
+
},
|
| 726 |
+
{
|
| 727 |
+
"type": "text",
|
| 728 |
+
"text": "of the texts, that discuss the semantics associated with the compounds, which are typically studied by students as a part of their coursework. Given these considerations, it is very unlikely for professional linguists, often professors instructing these texts, to make mistakes. The dataset was curated around 12 years ago, primarily with the aim of producing error-free gold-standard data. Consequently, the errors made by junior annotators were not recorded or measured, aligning with our focus on achieving error-free quality. The benchmark for determining correctness was based on the Pānīnīan grammar.",
|
| 729 |
+
"bbox": [
|
| 730 |
+
507,
|
| 731 |
+
84,
|
| 732 |
+
885,
|
| 733 |
+
280
|
| 734 |
+
],
|
| 735 |
+
"page_idx": 5
|
| 736 |
+
},
|
| 737 |
+
{
|
| 738 |
+
"type": "text",
|
| 739 |
+
"text": "5.2 Baselines",
|
| 740 |
+
"text_level": 1,
|
| 741 |
+
"bbox": [
|
| 742 |
+
507,
|
| 743 |
+
288,
|
| 744 |
+
628,
|
| 745 |
+
304
|
| 746 |
+
],
|
| 747 |
+
"page_idx": 5
|
| 748 |
+
},
|
| 749 |
+
{
|
| 750 |
+
"type": "text",
|
| 751 |
+
"text": "We investigate the efficacy of various standard formulations (originally proposed for nested named entity recognition for English) for the proposed task. We adapt these systems to the NeCTI task by providing the location of the compounds to ensure a fair comparison with DepNeCTI. Since these baselines are leveraged from the nested named entity recognition task, they do not have explicit channels to provide the location of a compound word. Therefore, we provide this information in the input string itself with the help of brackets (for example, <sumitra-ānanda-vardhanah>):",
|
| 752 |
+
"bbox": [
|
| 753 |
+
505,
|
| 754 |
+
309,
|
| 755 |
+
885,
|
| 756 |
+
502
|
| 757 |
+
],
|
| 758 |
+
"page_idx": 5
|
| 759 |
+
},
|
| 760 |
+
{
|
| 761 |
+
"type": "list",
|
| 762 |
+
"sub_type": "text",
|
| 763 |
+
"list_items": [
|
| 764 |
+
"- Constituency Parsing (CP): Following Fu et al. (2020), we formulate NeCTI as constituency parsing with partially-observed trees, with all labeled compound spans as observed nodes in a constituency tree and non-compound spans as latent nodes. We leverage TreeCRF to model the observed and the latent nodes jointly.",
|
| 765 |
+
"- Bottom-up Constituency Parsing (BotCP): Following Yang and Tu (2021), we formulate NeCTI as a bottom-up constituency parsing, where a pointer network is leveraged for post-order traversal within a constituency tree to enhance parsing efficiency, enabling linear order parsing.",
|
| 766 |
+
"- Span Classifier (SpanCL): Following Yuan et al. (2022), we formulate NeCTI as a span classification problem, where triaffine mechanism is leveraged to learn a better span representation by integrating factors such as inside tokens, boundaries, labels, and related spans.",
|
| 767 |
+
"- Lexicalized Constituency Parsing (LexCP): Following Lou et al. (2022), we formulate NeCTI as lexicalized constituency parsing, which embeds a constituency and a dependency trees"
|
| 768 |
+
],
|
| 769 |
+
"bbox": [
|
| 770 |
+
507,
|
| 771 |
+
514,
|
| 772 |
+
885,
|
| 773 |
+
920
|
| 774 |
+
],
|
| 775 |
+
"page_idx": 5
|
| 776 |
+
},
|
| 777 |
+
{
|
| 778 |
+
"type": "page_footnote",
|
| 779 |
+
"text": "2The guidelines are available at: https://sanskrit.uohyd.ac.in/scl/GOLD_DATA/Tagging_Guidelines/samaasa_tagging16mar12-modified.pdf",
|
| 780 |
+
"bbox": [
|
| 781 |
+
112,
|
| 782 |
+
879,
|
| 783 |
+
489,
|
| 784 |
+
917
|
| 785 |
+
],
|
| 786 |
+
"page_idx": 5
|
| 787 |
+
},
|
| 788 |
+
{
|
| 789 |
+
"type": "page_number",
|
| 790 |
+
"text": "13684",
|
| 791 |
+
"bbox": [
|
| 792 |
+
477,
|
| 793 |
+
927,
|
| 794 |
+
524,
|
| 795 |
+
940
|
| 796 |
+
],
|
| 797 |
+
"page_idx": 5
|
| 798 |
+
},
|
| 799 |
+
{
|
| 800 |
+
"type": "table",
|
| 801 |
+
"img_path": "images/6749b74aed49bb8f1500637b7642f1a77150fc7b1d427f741879cd2ff219b3cc.jpg",
|
| 802 |
+
"table_caption": [],
|
| 803 |
+
"table_footnote": [],
|
| 804 |
+
"table_body": "<table><tr><td rowspan=\"2\"></td><td colspan=\"7\">Coarse</td><td colspan=\"6\">Fine Grain</td></tr><tr><td colspan=\"3\">w/o context</td><td colspan=\"3\">w/ context</td><td colspan=\"3\">w/o context</td><td colspan=\"3\">w/ context</td><td></td></tr><tr><td></td><td>Models</td><td>USS</td><td>LSS</td><td>EM</td><td>USS</td><td>LSS</td><td>EM</td><td>USS</td><td>LSS</td><td>EM</td><td>USS</td><td>LSS</td><td>EM</td></tr><tr><td rowspan=\"7\">NeCTIS</td><td>BotCP</td><td>72.90</td><td>58.78</td><td>32.26</td><td>76.22</td><td>63.97</td><td>35.10</td><td>74.28</td><td>33.50</td><td>18.58</td><td>75.72</td><td>41.80</td><td>23.05</td></tr><tr><td>CP</td><td>76.83</td><td>61.71</td><td>39.97</td><td>64.73</td><td>46.27</td><td>30.14</td><td>77.38</td><td>41.86</td><td>27.22</td><td>70.56</td><td>32.26</td><td>21.11</td></tr><tr><td>LexCP</td><td>93.39</td><td>84.74</td><td>72.88</td><td>93.39</td><td>85.16</td><td>74.41</td><td>88.70</td><td>45.86</td><td>14.72</td><td>87.86</td><td>48.87</td><td>19.67</td></tr><tr><td>Seq2seq</td><td>92.54</td><td>84.11</td><td>59.90</td><td>91.18</td><td>80.45</td><td>52.89</td><td>92.67</td><td>65.63</td><td>30.65</td><td>92.94</td><td>68.19</td><td>34.35</td></tr><tr><td>SpanCL</td><td>92.84</td><td>84.80</td><td>69.12</td><td>93.13</td><td>84.74</td><td>69.67</td><td>93.12</td><td>69.38</td><td>52.17</td><td>92.69</td><td>68.05</td><td>50.82</td></tr><tr><td>DepNeCTI-LSTM</td><td>95.46</td><td>89.06</td><td>76.82</td><td>97.42</td><td>89.24</td><td>77.00</td><td>95.38</td><td>79.49</td><td>57.46</td><td>97.49</td><td>79.72</td><td>56.83</td></tr><tr><td>DepNeCTI-XLMR</td><td>96.21</td><td>90.83</td><td>79.85</td><td>96.16</td><td>90.67</td><td>79.45</td><td>96.35</td><td>83.36</td><td>63.92</td><td>96.34</td><td>83.19</td><td>63.30</td></tr><tr><td rowspan=\"7\">NeCTIS OOD</td><td>BotCP</td><td>72.81</td><td>48.08</td><td>21.63</td><td>73.89</td><td>51.18</td><td>22.57</td><td>72.30</td><td>20.52</td><td>8.64</td><td>73.87</td><td>30.10</td><td>13.32</td></tr><tr><td>CP</td><td>71.43</td><td>52.65</td><td>34.57</td><td>68.17</td><td>38.63</td><td>25.15</td><td>76.12</td><td>29.68</td><td>19.77</td><td>69.57</td><td>24.10</td><td>15.43</td></tr><tr><td>LexCP</td><td>89.90</td><td>71.44</td><td>50.00</td><td>91.57</td><td>72.60</td><td>52.73</td><td>83.45</td><td>32.85</td><td>7.53</td><td>83.38</td><td>34.18</td><td>8.31</td></tr><tr><td>Seq2Seq</td><td>84.26</td><td>71.71</td><td>45.33</td><td>90.13</td><td>71.41</td><td>44.00</td><td>92.16</td><td>53.55</td><td>24.51</td><td>92.87</td><td>53.61</td><td>24.96</td></tr><tr><td>SpanCL</td><td>91.51</td><td>72.69</td><td>56.30</td><td>90.24</td><td>71.89</td><td>54.46</td><td>89.19</td><td>50.21</td><td>32.66</td><td>90.88</td><td>50.50</td><td>34.00</td></tr><tr><td>DepNeCTI-LSTM</td><td>93.32</td><td>78.94</td><td>57.40</td><td>95.67</td><td>79.26</td><td>57.90</td><td>93.88</td><td>67.96</td><td>36.60</td><td>95.88</td><td>67.26</td><td>36.26</td></tr><tr><td>DepNeCTI-XLMR</td><td>95.56</td><td>84.24</td><td>65.50</td><td>95.56</td><td>84.45</td><td>65.00</td><td>95.56</td><td>74.26</td><td>45.70</td><td>95.45</td><td>73.54</td><td>44.37</td></tr></table>",
|
| 805 |
+
"bbox": [
|
| 806 |
+
114,
|
| 807 |
+
80,
|
| 808 |
+
884,
|
| 809 |
+
328
|
| 810 |
+
],
|
| 811 |
+
"page_idx": 6
|
| 812 |
+
},
|
| 813 |
+
{
|
| 814 |
+
"type": "text",
|
| 815 |
+
"text": "Table 2: Evaluation on the NeCTIS datasets, considering 2 levels of annotations (coarse and fine-grained) and in 2 settings (with and without context). The best-performing results are in bold, while the second-best results are underlined. The results are averaged over 3 runs. To assess the significance between the proposed system and the best baselines for each setting, a significance test in Accuracy metrics was conducted: $p < 0.01$ (as per t-test).",
|
| 816 |
+
"bbox": [
|
| 817 |
+
112,
|
| 818 |
+
337,
|
| 819 |
+
882,
|
| 820 |
+
395
|
| 821 |
+
],
|
| 822 |
+
"page_idx": 6
|
| 823 |
+
},
|
| 824 |
+
{
|
| 825 |
+
"type": "text",
|
| 826 |
+
"text": "together. This formulation leverages the constituents' heads into the architecture which is crucial for the NeCTI task.",
|
| 827 |
+
"bbox": [
|
| 828 |
+
127,
|
| 829 |
+
420,
|
| 830 |
+
487,
|
| 831 |
+
467
|
| 832 |
+
],
|
| 833 |
+
"page_idx": 6
|
| 834 |
+
},
|
| 835 |
+
{
|
| 836 |
+
"type": "list",
|
| 837 |
+
"sub_type": "text",
|
| 838 |
+
"list_items": [
|
| 839 |
+
"- Seq2Seq: Following Yan et al. (2021), we formulate NeCTI as an entity span sequence generation task using the pretrained seq2seq framework. This generative framework can also identify discontinuous spans; however, NeCTI does not have such instances.",
|
| 840 |
+
"- DepNeCTI: We propose two variants of our system (§4) depending on the choice of encoders: DepNeCTI-LSTM and DepNeCTI-XLMR (Nguyen et al., 2021). The compound's location is provided in DepNeCTI-LSTM using span encoding; however, DepNeCTI-XLMR lacks span encoding and leverages this information from the input similar to other baselines."
|
| 841 |
+
],
|
| 842 |
+
"bbox": [
|
| 843 |
+
114,
|
| 844 |
+
479,
|
| 845 |
+
489,
|
| 846 |
+
715
|
| 847 |
+
],
|
| 848 |
+
"page_idx": 6
|
| 849 |
+
},
|
| 850 |
+
{
|
| 851 |
+
"type": "text",
|
| 852 |
+
"text": "Evaluation Metrics: We evaluate the performance using the Labeled/Unlabeled Span Score (LSS/USS) in terms of micro-averaged F1-score. We define LSS as a micro-averaged F1-score applied on tuples of predicted spans including their labels. We exclude labels of the spans while calculating USS. Additionally, we report the exact match (EM) which indicates the percentage of the compounds for which the predictions of all spans and their semantic relations are correctly identified. Refer to Appendix B for hyper-parameters and details of the computing infrastructure used.",
|
| 853 |
+
"bbox": [
|
| 854 |
+
112,
|
| 855 |
+
726,
|
| 856 |
+
489,
|
| 857 |
+
917
|
| 858 |
+
],
|
| 859 |
+
"page_idx": 6
|
| 860 |
+
},
|
| 861 |
+
{
|
| 862 |
+
"type": "text",
|
| 863 |
+
"text": "5.3 Results",
|
| 864 |
+
"text_level": 1,
|
| 865 |
+
"bbox": [
|
| 866 |
+
509,
|
| 867 |
+
419,
|
| 868 |
+
613,
|
| 869 |
+
434
|
| 870 |
+
],
|
| 871 |
+
"page_idx": 6
|
| 872 |
+
},
|
| 873 |
+
{
|
| 874 |
+
"type": "text",
|
| 875 |
+
"text": "Table 2 presents the performance of the top-performing configurations among all baselines on the NeCTIS benchmark datasets' test set. The evaluation includes 2 levels of annotations (coarse and fine-grained) and in 2 settings (with and without context). While all baseline systems demonstrate competitiveness, no single baseline consistently outperforms the others across all settings. Consequently, we underline the best-performing numbers within each specific setting.",
|
| 876 |
+
"bbox": [
|
| 877 |
+
507,
|
| 878 |
+
448,
|
| 879 |
+
884,
|
| 880 |
+
609
|
| 881 |
+
],
|
| 882 |
+
"page_idx": 6
|
| 883 |
+
},
|
| 884 |
+
{
|
| 885 |
+
"type": "text",
|
| 886 |
+
"text": "Our proposed system DepNeCTI surpasses all competing systems across all evaluation metrics, demonstrating an absolute average gain of 13.1 points (LSS) and 11.3 points (EM) compared to the best-performing baseline in each setting. Notably, our proposed system exhibits substantial performance superiority over the best baseline in fine-grained settings, particularly in low-resourced scenarios. This validates the effectiveness of our proposed system in low-resourced settings with fine-grained labels. The significant performance gap between our proposed system and the best baselines highlights the efficacy of employing a simple yet effective architecture inspired by the dependency parsing paradigm. These results establish new state-of-the-art benchmarks by integrating the contextual component into our novel framework. While most baselines (except BotCP) do not benefit from contextual information, DepNeCTI-LSTM",
|
| 887 |
+
"bbox": [
|
| 888 |
+
507,
|
| 889 |
+
613,
|
| 890 |
+
884,
|
| 891 |
+
917
|
| 892 |
+
],
|
| 893 |
+
"page_idx": 6
|
| 894 |
+
},
|
| 895 |
+
{
|
| 896 |
+
"type": "page_number",
|
| 897 |
+
"text": "13685",
|
| 898 |
+
"bbox": [
|
| 899 |
+
477,
|
| 900 |
+
927,
|
| 901 |
+
524,
|
| 902 |
+
940
|
| 903 |
+
],
|
| 904 |
+
"page_idx": 6
|
| 905 |
+
},
|
| 906 |
+
{
|
| 907 |
+
"type": "text",
|
| 908 |
+
"text": "demonstrates slight improvements and DepNeCTI-XLMR shows on par improvements when leveraging contextual information. Furthermore, as the number of components grows, the number of potential solutions increases exponentially, leading to poor performance by the systems in such scenarios. Due to this exponential possibility, contextual information provides limited improvements compared to binary compound identification settings (Sandhan et al., 2022a). In other words, unlike the context-free setting, the introduction of context information does not warrant an expectation for the system to precisely generate the correct solution from the exponential candidate space. Figure 3 provides a visual representation that elucidates the concept of this exponential candidate space. A similar performance trend is observed for the NeCTIS-OOD dataset.",
|
| 909 |
+
"bbox": [
|
| 910 |
+
112,
|
| 911 |
+
84,
|
| 912 |
+
492,
|
| 913 |
+
374
|
| 914 |
+
],
|
| 915 |
+
"page_idx": 7
|
| 916 |
+
},
|
| 917 |
+
{
|
| 918 |
+
"type": "text",
|
| 919 |
+
"text": "6 Analysis",
|
| 920 |
+
"text_level": 1,
|
| 921 |
+
"bbox": [
|
| 922 |
+
112,
|
| 923 |
+
386,
|
| 924 |
+
225,
|
| 925 |
+
401
|
| 926 |
+
],
|
| 927 |
+
"page_idx": 7
|
| 928 |
+
},
|
| 929 |
+
{
|
| 930 |
+
"type": "text",
|
| 931 |
+
"text": "Here, we examine the proposed system, focusing on a comprehensive analysis and its applicability. For this purpose, we utilize the NeCTIS coarse dataset under the w/ context configuration. We report LSS in terms of macro-average F1-scores.",
|
| 932 |
+
"bbox": [
|
| 933 |
+
112,
|
| 934 |
+
412,
|
| 935 |
+
489,
|
| 936 |
+
494
|
| 937 |
+
],
|
| 938 |
+
"page_idx": 7
|
| 939 |
+
},
|
| 940 |
+
{
|
| 941 |
+
"type": "text",
|
| 942 |
+
"text": "(1) Ablation analysis: In this study, we analyze the impact of different system components on the overall enhancements of DepNeCTI-LSTM. Ablations, documented in Table 3, present the evaluation metrics when a specific component is deactivated within DepNeCTI-LSTM. For instance, the absence of the span encoding component is denoted as “- Span Encoding”. The results indicate that removing any component leads to a decline in performance. Notably, Table 3 highlights the significance of the “Span Encoding” component in driving the improvements.",
|
| 943 |
+
"bbox": [
|
| 944 |
+
112,
|
| 945 |
+
502,
|
| 946 |
+
489,
|
| 947 |
+
695
|
| 948 |
+
],
|
| 949 |
+
"page_idx": 7
|
| 950 |
+
},
|
| 951 |
+
{
|
| 952 |
+
"type": "table",
|
| 953 |
+
"img_path": "images/db281849403599f19f2e4cfcdc94c2decd1d238f1ccc6abe387a6d585f4b9372.jpg",
|
| 954 |
+
"table_caption": [],
|
| 955 |
+
"table_footnote": [],
|
| 956 |
+
"table_body": "<table><tr><td>System</td><td>P</td><td>R</td><td>F1</td><td>EM</td></tr><tr><td>DepNeCTI-LSTM</td><td>89.24</td><td>89.24</td><td>89.24</td><td>77.00</td></tr><tr><td>- FastText (FT)</td><td>88.84</td><td>88.84</td><td>88.84</td><td>76.50</td></tr><tr><td>- Span Encoding (SE)</td><td>86.18</td><td>85.53</td><td>86.85</td><td>70.54</td></tr><tr><td>- FT - SE</td><td>84.25</td><td>84.23</td><td>84.24</td><td>67.86</td></tr></table>",
|
| 957 |
+
"bbox": [
|
| 958 |
+
127,
|
| 959 |
+
706,
|
| 960 |
+
475,
|
| 961 |
+
778
|
| 962 |
+
],
|
| 963 |
+
"page_idx": 7
|
| 964 |
+
},
|
| 965 |
+
{
|
| 966 |
+
"type": "text",
|
| 967 |
+
"text": "Table 3: Each ablation involved the removal of a singular component from DepNeCTI-LSTM. The ablation denoted as “-Span Encoding” entailed eliminating the span encoding component from the proposed system.",
|
| 968 |
+
"bbox": [
|
| 969 |
+
112,
|
| 970 |
+
787,
|
| 971 |
+
489,
|
| 972 |
+
846
|
| 973 |
+
],
|
| 974 |
+
"page_idx": 7
|
| 975 |
+
},
|
| 976 |
+
{
|
| 977 |
+
"type": "text",
|
| 978 |
+
"text": "(2) How robust is the system when the number of components of a compound increases? We analyze the relationship between the F1-score and",
|
| 979 |
+
"bbox": [
|
| 980 |
+
112,
|
| 981 |
+
871,
|
| 982 |
+
489,
|
| 983 |
+
920
|
| 984 |
+
],
|
| 985 |
+
"page_idx": 7
|
| 986 |
+
},
|
| 987 |
+
{
|
| 988 |
+
"type": "text",
|
| 989 |
+
"text": "the number of components in compounds. For compounds with a small number of components, all systems demonstrate high performance, but our proposed systems consistently outperforms other baselines. However, as the number of components increases, the number of examples in each category decreases. Additionally, the number of potential solutions grows exponentially, following the Catalan number. Consequently, all systems experience a decline in performance.",
|
| 990 |
+
"bbox": [
|
| 991 |
+
507,
|
| 992 |
+
84,
|
| 993 |
+
885,
|
| 994 |
+
247
|
| 995 |
+
],
|
| 996 |
+
"page_idx": 7
|
| 997 |
+
},
|
| 998 |
+
{
|
| 999 |
+
"type": "image",
|
| 1000 |
+
"img_path": "images/5ff8473746bb9318bf3a0541b7d8f58d627dc7872f6d44aa8d9c26fae00d945a.jpg",
|
| 1001 |
+
"image_caption": [
|
| 1002 |
+
"Figure 7: F1-Score against the number of components. The compounds with components $N > 10$ are excluded."
|
| 1003 |
+
],
|
| 1004 |
+
"image_footnote": [],
|
| 1005 |
+
"bbox": [
|
| 1006 |
+
544,
|
| 1007 |
+
256,
|
| 1008 |
+
850,
|
| 1009 |
+
385
|
| 1010 |
+
],
|
| 1011 |
+
"page_idx": 7
|
| 1012 |
+
},
|
| 1013 |
+
{
|
| 1014 |
+
"type": "text",
|
| 1015 |
+
"text": "(3) Error analysis: We investigate whether all the systems are able to identify the location of a multi-component compound correctly. The motivation behind this experiment is to evaluate the capability of the baselines and the proposed architecture to leverage the information about the compound's location effectively. We define the span of text that corresponds to a compound as a global span which we know apriori. Figure 8 illustrates the effectiveness of each system in correctly identifying the global span of multi-component compounds. In",
|
| 1016 |
+
"bbox": [
|
| 1017 |
+
507,
|
| 1018 |
+
449,
|
| 1019 |
+
885,
|
| 1020 |
+
627
|
| 1021 |
+
],
|
| 1022 |
+
"page_idx": 7
|
| 1023 |
+
},
|
| 1024 |
+
{
|
| 1025 |
+
"type": "image",
|
| 1026 |
+
"img_path": "images/cd62abd30e89577376aaf5b03b1a6f1bc475b8e081afdc231261c5500e1295ad.jpg",
|
| 1027 |
+
"image_caption": [
|
| 1028 |
+
"Figure 8: Performance of the systems on identifying the global span of a compound."
|
| 1029 |
+
],
|
| 1030 |
+
"image_footnote": [],
|
| 1031 |
+
"bbox": [
|
| 1032 |
+
564,
|
| 1033 |
+
642,
|
| 1034 |
+
843,
|
| 1035 |
+
760
|
| 1036 |
+
],
|
| 1037 |
+
"page_idx": 7
|
| 1038 |
+
},
|
| 1039 |
+
{
|
| 1040 |
+
"type": "text",
|
| 1041 |
+
"text": "DepNeCTI-LSTM, our span encoding effectively captures this information, resulting in a perfect $100\\%$ score. However, even after providing the baselines with this information, they fail to use it due to limitations in their architectures. Interestingly, DepNeCTI-XLMR does not contain a span",
|
| 1042 |
+
"bbox": [
|
| 1043 |
+
507,
|
| 1044 |
+
822,
|
| 1045 |
+
885,
|
| 1046 |
+
920
|
| 1047 |
+
],
|
| 1048 |
+
"page_idx": 7
|
| 1049 |
+
},
|
| 1050 |
+
{
|
| 1051 |
+
"type": "page_number",
|
| 1052 |
+
"text": "13686",
|
| 1053 |
+
"bbox": [
|
| 1054 |
+
477,
|
| 1055 |
+
927,
|
| 1056 |
+
524,
|
| 1057 |
+
940
|
| 1058 |
+
],
|
| 1059 |
+
"page_idx": 7
|
| 1060 |
+
},
|
| 1061 |
+
{
|
| 1062 |
+
"type": "text",
|
| 1063 |
+
"text": "encoding component and leverages the compound's location information from the input as provided for the baselines. Still, DepNeCTI-XLMR reports the best performance due to its powerful word representation ability. It is worth noting that the NeC-TIS dataset exhibits an inherent bias towards left branching, as indicated by the nested tree structure. Consequently, all systems display a bias towards left branching as well. Therefore, due to the dominance of left-branching instances and increased variance due to less number of instances, a spike is observed in the results.",
|
| 1064 |
+
"bbox": [
|
| 1065 |
+
112,
|
| 1066 |
+
84,
|
| 1067 |
+
492,
|
| 1068 |
+
277
|
| 1069 |
+
],
|
| 1070 |
+
"page_idx": 8
|
| 1071 |
+
},
|
| 1072 |
+
{
|
| 1073 |
+
"type": "text",
|
| 1074 |
+
"text": "(4) Efficiency of our proposed system: Figure 9 present the computational efficiency of our system measured in terms of the number of sentences processed per second. We compare the inference speed of different baselines on the NeCTI task. Our systems, DepNeCTI-LSTM and DepNeCTI-XLMR are leveraging a simple architecture and utilizing dependency parsing as an appropriate problem formulation, exhibits a 5-fold/3-fold improvement over the most efficient baseline, BotCP.",
|
| 1075 |
+
"bbox": [
|
| 1076 |
+
112,
|
| 1077 |
+
285,
|
| 1078 |
+
490,
|
| 1079 |
+
447
|
| 1080 |
+
],
|
| 1081 |
+
"page_idx": 8
|
| 1082 |
+
},
|
| 1083 |
+
{
|
| 1084 |
+
"type": "image",
|
| 1085 |
+
"img_path": "images/90fe607bd03136c8e1c07b23fb267912538017d39f1d3f11633d60ab90874443.jpg",
|
| 1086 |
+
"image_caption": [
|
| 1087 |
+
"Figure 9: Inference speed of the competing systems."
|
| 1088 |
+
],
|
| 1089 |
+
"image_footnote": [],
|
| 1090 |
+
"bbox": [
|
| 1091 |
+
147,
|
| 1092 |
+
456,
|
| 1093 |
+
455,
|
| 1094 |
+
600
|
| 1095 |
+
],
|
| 1096 |
+
"page_idx": 8
|
| 1097 |
+
},
|
| 1098 |
+
{
|
| 1099 |
+
"type": "text",
|
| 1100 |
+
"text": "7 Related Works",
|
| 1101 |
+
"text_level": 1,
|
| 1102 |
+
"bbox": [
|
| 1103 |
+
112,
|
| 1104 |
+
653,
|
| 1105 |
+
278,
|
| 1106 |
+
668
|
| 1107 |
+
],
|
| 1108 |
+
"page_idx": 8
|
| 1109 |
+
},
|
| 1110 |
+
{
|
| 1111 |
+
"type": "text",
|
| 1112 |
+
"text": "Lexical semantics is a dedicated field focused on word meaning. Various tasks such as word-sense disambiguation (Bevilacqua and Navigli, 2020; Barba et al., 2021; Maurya et al., 2023; Maurya and Bahadur, 2022), relationship extraction (Tian et al., 2021; Nadgeri et al., 2021; Hu et al., 2022; Wang et al., 2022), and semantic role labeling (He et al., 2018; Kulkarni and Sharma, 2019; Zhang et al., 2022) play essential roles in determining word meaning. Moreover, when dealing with complex word structures such as compounds, named entities, and multi-word expressions, relying solely on basic word senses and relationships is inadequate. While efforts have been made in Noun Compound Identification (Ziering and van der Plas,",
|
| 1113 |
+
"bbox": [
|
| 1114 |
+
112,
|
| 1115 |
+
677,
|
| 1116 |
+
490,
|
| 1117 |
+
919
|
| 1118 |
+
],
|
| 1119 |
+
"page_idx": 8
|
| 1120 |
+
},
|
| 1121 |
+
{
|
| 1122 |
+
"type": "text",
|
| 1123 |
+
"text": "2015; Dima and Hinrichs, 2015; Fares et al., 2018; Shwartz and Waterson, 2018; Ponkiya et al., 2018, 2020, 2021), multi-word expression (MWE) (Constant et al., 2017; Gharbieh et al., 2017; Gooding et al., 2020; Premasiri and Ranasinghe, 2022) and named entity recognition (Fu et al., 2020; Yang and Tu, 2021; Lou et al., 2022; Yuan et al., 2022), the nested compounds remains unexplored.",
|
| 1124 |
+
"bbox": [
|
| 1125 |
+
507,
|
| 1126 |
+
84,
|
| 1127 |
+
884,
|
| 1128 |
+
212
|
| 1129 |
+
],
|
| 1130 |
+
"page_idx": 8
|
| 1131 |
+
},
|
| 1132 |
+
{
|
| 1133 |
+
"type": "text",
|
| 1134 |
+
"text": "Sanskrit Compound Type Identification has attracted significant attention over the past decade. Decoding the meaning of a Sanskrit compound requires determining its constituents (Huet, 2009; Mittal, 2010; Hellwig and Nehrdich, 2018), understanding how these constituents are grouped (Kulkarni and Kumar, 2011), identifying the semantic relationship between them (Kumar, 2012), and ultimately generating a paraphrase of the compound (Kumar et al., 2009). Previous studies proposed rule-based approaches (Satuluri and Kulkarni, 2013; Kulkarni and Kumar, 2013), a data-driven approach (Sandhan et al., 2019) and a hybrid approach (Krishna et al., 2016) for SaCTI. Sandhan et al. (2022a) proposed a context-sensitive architecture for binary compounds.",
|
| 1135 |
+
"bbox": [
|
| 1136 |
+
507,
|
| 1137 |
+
221,
|
| 1138 |
+
885,
|
| 1139 |
+
479
|
| 1140 |
+
],
|
| 1141 |
+
"page_idx": 8
|
| 1142 |
+
},
|
| 1143 |
+
{
|
| 1144 |
+
"type": "text",
|
| 1145 |
+
"text": "Earlier works in Sanskrit solely focused on binary compounds, neglecting the identification of multi-component compound types; however, our proposed framework fills this research gap.",
|
| 1146 |
+
"bbox": [
|
| 1147 |
+
507,
|
| 1148 |
+
480,
|
| 1149 |
+
882,
|
| 1150 |
+
544
|
| 1151 |
+
],
|
| 1152 |
+
"page_idx": 8
|
| 1153 |
+
},
|
| 1154 |
+
{
|
| 1155 |
+
"type": "text",
|
| 1156 |
+
"text": "8 Conclusion",
|
| 1157 |
+
"text_level": 1,
|
| 1158 |
+
"bbox": [
|
| 1159 |
+
507,
|
| 1160 |
+
556,
|
| 1161 |
+
640,
|
| 1162 |
+
570
|
| 1163 |
+
],
|
| 1164 |
+
"page_idx": 8
|
| 1165 |
+
},
|
| 1166 |
+
{
|
| 1167 |
+
"type": "text",
|
| 1168 |
+
"text": "In this work, we focused on multi-component compounding in Sanskrit, which helps to decode the implicit structure of a compound to decipher its meaning. While previous approaches have primarily focused on binary compounds, we introduced a novel task called nested compound type identification (NeCTI). This task aims to identify nested spans within multi-component compounds and decode the implicit semantic relations between them, filling a gap in the field of lexical semantics. To facilitate research in this area, we created 2 newly annotated datasets, designed explicitly for the NeCTI task. These datasets were utilized to benchmark various problem formulations. Our novel framework DepNeCTI outperformed the best baseline system by achieving a stupendous absolute gain of 13.1 points F1-score in terms of LSS. Similar to the previous findings on binary Sanskrit compound identification, we discovered that our proposed system exhibits substantial performance superiority over the best baseline in low-resourced scenarios.",
|
| 1169 |
+
"bbox": [
|
| 1170 |
+
507,
|
| 1171 |
+
581,
|
| 1172 |
+
884,
|
| 1173 |
+
917
|
| 1174 |
+
],
|
| 1175 |
+
"page_idx": 8
|
| 1176 |
+
},
|
| 1177 |
+
{
|
| 1178 |
+
"type": "page_number",
|
| 1179 |
+
"text": "13687",
|
| 1180 |
+
"bbox": [
|
| 1181 |
+
477,
|
| 1182 |
+
927,
|
| 1183 |
+
524,
|
| 1184 |
+
940
|
| 1185 |
+
],
|
| 1186 |
+
"page_idx": 8
|
| 1187 |
+
},
|
| 1188 |
+
{
|
| 1189 |
+
"type": "text",
|
| 1190 |
+
"text": "Limitations",
|
| 1191 |
+
"text_level": 1,
|
| 1192 |
+
"bbox": [
|
| 1193 |
+
114,
|
| 1194 |
+
84,
|
| 1195 |
+
220,
|
| 1196 |
+
98
|
| 1197 |
+
],
|
| 1198 |
+
"page_idx": 9
|
| 1199 |
+
},
|
| 1200 |
+
{
|
| 1201 |
+
"type": "text",
|
| 1202 |
+
"text": "We could not extend our framework to other languages exhibiting multi-component compounding phenomena due to the lack of availability of annotated datasets. It would be interesting to measure the effectiveness of rules from Pānīnīan grammar to discard incompatible semantic relations (Kulkarni, 2019, 2021).",
|
| 1203 |
+
"bbox": [
|
| 1204 |
+
112,
|
| 1205 |
+
111,
|
| 1206 |
+
489,
|
| 1207 |
+
223
|
| 1208 |
+
],
|
| 1209 |
+
"page_idx": 9
|
| 1210 |
+
},
|
| 1211 |
+
{
|
| 1212 |
+
"type": "text",
|
| 1213 |
+
"text": "Ethics Statement",
|
| 1214 |
+
"text_level": 1,
|
| 1215 |
+
"bbox": [
|
| 1216 |
+
114,
|
| 1217 |
+
237,
|
| 1218 |
+
265,
|
| 1219 |
+
253
|
| 1220 |
+
],
|
| 1221 |
+
"page_idx": 9
|
| 1222 |
+
},
|
| 1223 |
+
{
|
| 1224 |
+
"type": "text",
|
| 1225 |
+
"text": "This work introduces a new task, along with annotated datasets and a framework, to address the nested compounding phenomenon in Sanskrit. The proposed resources aim to enhance the understanding of multi-component compounds and contribute to the improvement of machine translation systems. Regarding potential effects, we anticipate no harm to any community resulting from the use of our datasets and framework. However, we advise users to exercise caution, as our system is not flawless and may generate mispredictions. To ensure transparency and future research, we have publicly released all our annotated NeCTIS datasets and source codes. We confirm that our data collection adheres to the terms of use of the sources and respects the intellectual property and privacy rights of the original authors. Our annotation team consisted of qualified individuals, including Master's and Ph.D. degree holders, some of whom are Sanskrit professors. Annotators were compensated appropriately and provided with detailed instructions to ensure consistency in the annotation process. We remain committed to addressing ethical implications as we refine our systems and welcome feedback from the community to enhance our ethical practices.",
|
| 1226 |
+
"bbox": [
|
| 1227 |
+
112,
|
| 1228 |
+
265,
|
| 1229 |
+
490,
|
| 1230 |
+
684
|
| 1231 |
+
],
|
| 1232 |
+
"page_idx": 9
|
| 1233 |
+
},
|
| 1234 |
+
{
|
| 1235 |
+
"type": "text",
|
| 1236 |
+
"text": "Acknowledgements",
|
| 1237 |
+
"text_level": 1,
|
| 1238 |
+
"bbox": [
|
| 1239 |
+
114,
|
| 1240 |
+
699,
|
| 1241 |
+
285,
|
| 1242 |
+
714
|
| 1243 |
+
],
|
| 1244 |
+
"page_idx": 9
|
| 1245 |
+
},
|
| 1246 |
+
{
|
| 1247 |
+
"type": "text",
|
| 1248 |
+
"text": "We thank all the annotators from different institutes for helping us with NeCTIS data annotation. We would like to thank Zheng Yuan, Tsinghua University (Alibaba Group), for helping us with the hyperparameter section and adapting his system for the NeCTI task. We appreciate and thank all the anonymous reviewers for their constructive feedback towards improving this work. The work was supported in part by the National Language Translation Mission (NLTM): Bhashini project by Government of India.",
|
| 1249 |
+
"bbox": [
|
| 1250 |
+
112,
|
| 1251 |
+
726,
|
| 1252 |
+
490,
|
| 1253 |
+
902
|
| 1254 |
+
],
|
| 1255 |
+
"page_idx": 9
|
| 1256 |
+
},
|
| 1257 |
+
{
|
| 1258 |
+
"type": "text",
|
| 1259 |
+
"text": "References",
|
| 1260 |
+
"text_level": 1,
|
| 1261 |
+
"bbox": [
|
| 1262 |
+
510,
|
| 1263 |
+
84,
|
| 1264 |
+
608,
|
| 1265 |
+
98
|
| 1266 |
+
],
|
| 1267 |
+
"page_idx": 9
|
| 1268 |
+
},
|
| 1269 |
+
{
|
| 1270 |
+
"type": "list",
|
| 1271 |
+
"sub_type": "ref_text",
|
| 1272 |
+
"list_items": [
|
| 1273 |
+
"Rahul Aralikatte, Miryam de Lhoneux, Anoop Kunchukuttan, and Anders Søgaard. 2021. Itihasa: A large-scale corpus for Sanskrit to English translation. In Proceedings of the 8th Workshop on Asian Translation (WAT2021), pages 191-197, Online. Association for Computational Linguistics.",
|
| 1274 |
+
"Edoardo Barba, Luigi Procopio, and Roberto Navigli. 2021. ConSeC: Word sense disambiguation as continuous sense comprehension. In Proceedings of the 2021 Conference on Empirical Methods in Natural Language Processing, pages 1492-1503, Online and Punta Cana, Dominican Republic. Association for Computational Linguistics.",
|
| 1275 |
+
"Michele Bevilacqua and Roberto Navigli. 2020. Breaking through the $80\\%$ glass ceiling: Raising the state of the art in word sense disambiguation by incorporating knowledge graph information. In Proceedings of the 58th Annual Meeting of the Association for Computational Linguistics, pages 2854-2864, Online. Association for Computational Linguistics.",
|
| 1276 |
+
"Mathieu Constant, Gülşen Eryiğit, Johanna Monti, Lonneke van der Plas, Carlos Ramisch, Michael Rosner, and Amalia Todirascu. 2017. Survey: Multiword expression processing: A Survey. Computational Linguistics, 43(4):837-892.",
|
| 1277 |
+
"Corina Dima and Erhard Hinrichs. 2015. Automatic noun compound interpretation using deep neural networks and word embeddings. In Proceedings of the 11th International Conference on Computational Semantics, pages 173-183, London, UK. Association for Computational Linguistics.",
|
| 1278 |
+
"Timothy Dozat and Christopher D. Manning. 2017. Deep biaffine attention for neural dependency parsing.",
|
| 1279 |
+
"Murhaf Fares, Stephan Oepen, and Erik Velldal. 2018. Transfer and multi-task learning for noun-noun compound interpretation. In Proceedings of the 2018 Conference on Empirical Methods in Natural Language Processing, pages 1488-1498, Brussels, Belgium. Association for Computational Linguistics.",
|
| 1280 |
+
"Yao Fu, Chuanqi Tan, Mosha Chen, Songfang Huang, and Fei Huang. 2020. Nested named entity recognition with partially-observed treecrfs.",
|
| 1281 |
+
"Waseem Gharbieh, Virendrakumar Bhavsar, and Paul Cook. 2017. Deep learning models for multiword expression identification. In Proceedings of the 6th Joint Conference on Lexical and Computational Semantics (*SEM* 2017), pages 54-64, Vancouver, Canada. Association for Computational Linguistics.",
|
| 1282 |
+
"Sian Gooding, Shiva Taslimipoor, and Ekaterina Kochmar. 2020. Incorporating multiword expressions in phrase complexity estimation. In Proceedings of the 1st Workshop on Tools and Resources to Empower People with REAding Difficulties (READI), pages 14-19, Marseille, France. European Language Resources Association."
|
| 1283 |
+
],
|
| 1284 |
+
"bbox": [
|
| 1285 |
+
510,
|
| 1286 |
+
105,
|
| 1287 |
+
885,
|
| 1288 |
+
917
|
| 1289 |
+
],
|
| 1290 |
+
"page_idx": 9
|
| 1291 |
+
},
|
| 1292 |
+
{
|
| 1293 |
+
"type": "page_number",
|
| 1294 |
+
"text": "13688",
|
| 1295 |
+
"bbox": [
|
| 1296 |
+
477,
|
| 1297 |
+
927,
|
| 1298 |
+
524,
|
| 1299 |
+
940
|
| 1300 |
+
],
|
| 1301 |
+
"page_idx": 9
|
| 1302 |
+
},
|
| 1303 |
+
{
|
| 1304 |
+
"type": "list",
|
| 1305 |
+
"sub_type": "ref_text",
|
| 1306 |
+
"list_items": [
|
| 1307 |
+
"Pawan Goyal and Gerard Huet. 2016. Design and analysis of a lean interface for sanskrit corpus annotation. Journal of Language Modelling, 4:145.",
|
| 1308 |
+
"Pawan Goyal and Amba Kulkarni. 2014. Converting phrase structures to dependency structures in Sanskrit. In Proceedings of COLING 2014, the 25th International Conference on Computational Linguistics: Technical Papers, pages 1834-1843, Dublin, Ireland. Dublin City University and Association for Computational Linguistics.",
|
| 1309 |
+
"Luheng He, Kenton Lee, Omer Levy, and Luke Zettlemoyer. 2018. Jointly predicting predicates and arguments in neural semantic role labeling. In Proceedings of the 56th Annual Meeting of the Association for Computational Linguistics (Volume 2: Short Papers), pages 364-369, Melbourne, Australia. Association for Computational Linguistics.",
|
| 1310 |
+
"Oliver Hellwig and Sebastian Nehrdich. 2018. Sanskrit word segmentation using character-level recurrent and convolutional neural networks. In Proceedings of the 2018 Conference on Empirical Methods in Natural Language Processing, pages 2754-2763, Brussels, Belgium. Association for Computational Linguistics.",
|
| 1311 |
+
"Chengwei Hu, Deqing Yang, Haoliang Jin, Zhen Chen, and Yanghua Xiao. 2022. Improving continual relation extraction through prototypical contrastive learning. In Proceedings of the 29th International Conference on Computational Linguistics, pages 1885-1895, Gyeongju, Republic of Korea. International Committee on Computational Linguistics.",
|
| 1312 |
+
"Gérard Huet. 2009. Sanskrit segmentation. In Proceedings of the South Asian Languages Analysis Roundtable XXVIII, Denton, Ohio.",
|
| 1313 |
+
"Amrith Krishna, Pavankumar Satuluri, Shubham Sharma, Apurv Kumar, and Pawan Goyal. 2016. Compound type identification in Sanskrit: What roles do the corpus and grammar play? In Proceedings of the 6th Workshop on South and Southeast Asian Natural Language Processing (WSSANLP2016), pages 1-10, Osaka, Japan. The COLING 2016 Organizing Committee.",
|
| 1314 |
+
"Amba Kulkarni. 2019. Sanskrit Parsing based on the Theories of Shabdabodha. D. K. PrintWorld and Indian Institute of Advanced Study.",
|
| 1315 |
+
"Amba Kulkarni. 2021. Sanskrit parsing following indian theories of verbal cognition. In ACM Transactions on Asian and Low-Resource Language Information Processing, pages 1-38.",
|
| 1316 |
+
"Amba Kulkarni and Anil Kumar. 2011. Statistical constituency parser for sanskrit compounds. In Proceedings of ICON-2011: 9th International Conference on Natural Language Processing, International Institute of Information Technology, Hyderabad, India. Macmillan Publishers."
|
| 1317 |
+
],
|
| 1318 |
+
"bbox": [
|
| 1319 |
+
115,
|
| 1320 |
+
85,
|
| 1321 |
+
489,
|
| 1322 |
+
917
|
| 1323 |
+
],
|
| 1324 |
+
"page_idx": 10
|
| 1325 |
+
},
|
| 1326 |
+
{
|
| 1327 |
+
"type": "list",
|
| 1328 |
+
"sub_type": "ref_text",
|
| 1329 |
+
"list_items": [
|
| 1330 |
+
"Amba Kulkarni and Anil Kumar. 2013. Clues from astadhyay for compound type identification. In Proceedings of the 5th International Sanskrit Computational Linguistics Symposium, IIT Bombay, India. D. K. PrintWorld and Indian Institute of Advanced Study.",
|
| 1331 |
+
"Amba Kulkarni and Dipti Sharma. 2019. Panjinian syntactico-semantic relation labels. In Proceedings of the Fifth International Conference on Dependency Linguistics (Depling, SyntaxFest 2019), pages 198-208, Paris, France. Association for Computational Linguistics.",
|
| 1332 |
+
"Anil Kumar. 2012. An automatic Sanskrit compound processing. Ph.D. thesis, University of Hyderabad.",
|
| 1333 |
+
"Anil Kumar, V Sheeba, and Amba Kulkarni. 2009. Sanskrit compound paraphrase generator. In Proceedings of the ICON 2009: 7th International Conference on Natural Language Processing, University of Hyderabad, Hyderabad. Macmillan Publishers.",
|
| 1334 |
+
"Mirella Lapata and Frank Keller. 2004. The web as a baseline: Evaluating the performance of unsupervised web-based models for a range of NLP tasks. In Proceedings of the Human Language Technology Conference of the North American Chapter of the Association for Computational Linguistics: HLT-NAACL 2004, pages 121-128, Boston, Massachusetts, USA. Association for Computational Linguistics.",
|
| 1335 |
+
"Chao Lou, Songlin Yang, and Kewei Tu. 2022. Nested named entity recognition as latent lexicalized constituency parsing. In Proceedings of the 60th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pages 6183-6198, Dublin, Ireland. Association for Computational Linguistics.",
|
| 1336 |
+
"Xuezhe Ma, Zeong Hu, Jingzhou Liu, Nanyun Peng, Graham Neubig, and Eduard Hovy. 2018. Stackpointer networks for dependency parsing. In Proceedings of the 56th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pages 1403-1414, Melbourne, Australia. Association for Computational Linguistics.",
|
| 1337 |
+
"Archana Maurya and Promila Bahadur. 2022. *A Detailed Analysis of Word Sense Disambiguation Algorithms and Approaches for Indian Languages*, pages 693-710.",
|
| 1338 |
+
"Archana Sachindeo Maurya, Promila Bahadur, and Srishti Garg. 2023. Approach toward word sense disambiguation for the english-to-sanskrit language using naive bayesian classification. In Proceedings of Third Doctoral Symposium on Computational Intelligence, pages 477-491, Singapore. Springer Nature Singapore.",
|
| 1339 |
+
"Vipul Mittal. 2010. Automatic Sanskrit segmentizer using finite state transducers. In Proceedings of the"
|
| 1340 |
+
],
|
| 1341 |
+
"bbox": [
|
| 1342 |
+
512,
|
| 1343 |
+
85,
|
| 1344 |
+
880,
|
| 1345 |
+
917
|
| 1346 |
+
],
|
| 1347 |
+
"page_idx": 10
|
| 1348 |
+
},
|
| 1349 |
+
{
|
| 1350 |
+
"type": "page_number",
|
| 1351 |
+
"text": "13689",
|
| 1352 |
+
"bbox": [
|
| 1353 |
+
477,
|
| 1354 |
+
928,
|
| 1355 |
+
524,
|
| 1356 |
+
940
|
| 1357 |
+
],
|
| 1358 |
+
"page_idx": 10
|
| 1359 |
+
},
|
| 1360 |
+
{
|
| 1361 |
+
"type": "list",
|
| 1362 |
+
"sub_type": "ref_text",
|
| 1363 |
+
"list_items": [
|
| 1364 |
+
"ACL 2010 Student Research Workshop, pages 85-90, Uppsala, Sweden. Association for Computational Linguistics.",
|
| 1365 |
+
"Abhishek Nadgeri, Anson Bastos, Kuldeep Singh, Isaiah Onando Mulang', Johannes Hoffart, Saeedeh Shekarpour, and Vijay Saraswat. 2021. KGPool: Dynamic knowledge graph context selection for relation extraction. In Findings of the Association for Computational Linguistics: ACL-IJCNLP 2021, pages 535-548, Online. Association for Computational Linguistics.",
|
| 1366 |
+
"Minh Van Nguyen, Viet Duc Lai, Amir Pouran Ben Vey-seh, and Thien Huu Nguyen. 2021. Trankit: A lightweight transformer-based toolkit for multilingual natural language processing. In Proceedings of the 16th Conference of the European Chapter of the Association for Computational Linguistics: System Demonstrations, pages 80-90, Online. Association for Computational Linguistics.",
|
| 1367 |
+
"Panini. 500 BCE. Aştadhyayi.",
|
| 1368 |
+
"Girishkumar Ponkiya, Diptesh Kanojia, Pushpak Bhattacharyya, and Girish Palshikar. 2021. FrameNet-assisted noun compound interpretation. In Findings of the Association for Computational Linguistics: ACL-IJCNLP 2021, pages 2901-2911, Online. Association for Computational Linguistics.",
|
| 1369 |
+
"Girishkumar Ponkiya, Rudra Murthy, Pushpak Bhattacharyya, and Girish Palshikar. 2020. Looking inside noun compounds: Unsupervised prepositional and free paraphrasing. In Findings of the Association for Computational Linguistics: EMNLP 2020, pages 4313-4323, Online. Association for Computational Linguistics.",
|
| 1370 |
+
"Girishkumar Ponkiya, Kevin Patel, Pushpak Bhattacharyya, and Girish Palshikar. 2018. Treat us like the sequences we are: Prepositional paraphrasing of noun compounds using LSTM. In Proceedings of the 27th International Conference on Computational Linguistics, pages 1827-1836, Santa Fe, New Mexico, USA. Association for Computational Linguistics.",
|
| 1371 |
+
"Damith Premasiri and Tharindu Ranasinghe. 2022. Bert(s) to detect multiword expressions.",
|
| 1372 |
+
"Jivnesh Sandhan, Ashish Gupta, Hrishikesh Terdalkar, Tushar Sandhan, Suvendu Samanta, Laxmidhar Behera, and Pawan Goyal. 2022a. A novel multi-task learning approach for context-sensitive compound type identification in Sanskrit. In Proceedings of the 29th International Conference on Computational Linguistics, pages 4071-4083, Gyeongju, Republic of Korea. International Committee on Computational Linguistics.",
|
| 1373 |
+
"Jivnesh Sandhan, Amrith Krishna, Pawan Goyal, and Laxmidhar Behera. 2019. Revisiting the role of feature engineering for compound type identification in Sanskrit. In Proceedings of the 6th International Sanskrit Computational Linguistics Symposium, pages"
|
| 1374 |
+
],
|
| 1375 |
+
"bbox": [
|
| 1376 |
+
115,
|
| 1377 |
+
85,
|
| 1378 |
+
489,
|
| 1379 |
+
917
|
| 1380 |
+
],
|
| 1381 |
+
"page_idx": 11
|
| 1382 |
+
},
|
| 1383 |
+
{
|
| 1384 |
+
"type": "list",
|
| 1385 |
+
"sub_type": "ref_text",
|
| 1386 |
+
"list_items": [
|
| 1387 |
+
"28-44, IIT Kharagpur, India. Association for Computational Linguistics.",
|
| 1388 |
+
"Jivnesh Sandhan, Rathin Singha, Narein Rao, Suvendu Samanta, Laxmidhar Behera, and Pawan Goyal. 2022b. TransLIST: A transformer-based linguistically informed Sanskrit tokenizer. In Findings of the Association for Computational Linguistics: EMNLP 2022, pages 6902-6912, Abu Dhabi, United Arab Emirates. Association for Computational Linguistics.",
|
| 1389 |
+
"Pavankumar Satuluri and Amba Kulkarni. 2013. Generation of sanskrit compounds. In Proceedings of ICON-2013: 10th International Conference on Natural Language Processing, CDAC Noida, India.",
|
| 1390 |
+
"Vered Shwartz and Chris Waterson. 2018. Olive oil is made of olives, baby oil is made for babies: Interpreting noun compounds using paraphrases in a neural model. In Proceedings of the 2018 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, Volume 2 (Short Papers), pages 218-224, New Orleans, Louisiana. Association for Computational Linguistics.",
|
| 1391 |
+
"Hrishikesh Terdalkar and Arnab Bhattacharya. 2019. Framework for question-answering in Sanskrit through automated construction of knowledge graphs. In Proceedings of the 6th International Sanskrit Computational Linguistics Symposium, pages 97-116, IIT Kharagpur, India. Association for Computational Linguistics.",
|
| 1392 |
+
"Yuanhe Tian, Guimin Chen, Yan Song, and Xiang Wan. 2021. Dependency-driven relation extraction with attentive graph convolutional networks. In Proceedings of the 59th Annual Meeting of the Association for Computational Linguistics and the 11th International Joint Conference on Natural Language Processing (Volume 1: Long Papers), pages 4458-4471, Online. Association for Computational Linguistics.",
|
| 1393 |
+
"Peiyi Wang, Yifan Song, Tianyu Liu, Rundong Gao, Binghuai Lin, Yunbo Cao, and Zhifang Sui. 2022. Less is more: Rethinking state-of-the-art continual relation extraction models with a frustratingly easy but effective approach.",
|
| 1394 |
+
"Hang Yan, Tao Gui, Junqi Dai, Qipeng Guo, Zheng Zhang, and Xipeng Qiu. 2021. A unified generative framework for various ner subtasks.",
|
| 1395 |
+
"Songlin Yang and Kewei Tu. 2021. Bottom-up constituency parsing and nested named entity recognition with pointer networks.",
|
| 1396 |
+
"Zheng Yuan, Chuanqi Tan, Songfang Huang, and Fei Huang. 2022. Fusing heterogeneous factors with triaffine mechanism for nested named entity recognition.",
|
| 1397 |
+
"Li Zhang, Ishan Jindal, and Yunyao Li. 2022. Label definitions improve semantic role labeling. In Proceedings of the 2022 Conference of the North American Chapter of the Association for Computational"
|
| 1398 |
+
],
|
| 1399 |
+
"bbox": [
|
| 1400 |
+
510,
|
| 1401 |
+
85,
|
| 1402 |
+
882,
|
| 1403 |
+
917
|
| 1404 |
+
],
|
| 1405 |
+
"page_idx": 11
|
| 1406 |
+
},
|
| 1407 |
+
{
|
| 1408 |
+
"type": "page_number",
|
| 1409 |
+
"text": "13690",
|
| 1410 |
+
"bbox": [
|
| 1411 |
+
477,
|
| 1412 |
+
928,
|
| 1413 |
+
524,
|
| 1414 |
+
940
|
| 1415 |
+
],
|
| 1416 |
+
"page_idx": 11
|
| 1417 |
+
},
|
| 1418 |
+
{
|
| 1419 |
+
"type": "text",
|
| 1420 |
+
"text": "Linguistics: Human Language Technologies, pages 5613-5620, Seattle, United States. Association for Computational Linguistics.",
|
| 1421 |
+
"bbox": [
|
| 1422 |
+
132,
|
| 1423 |
+
85,
|
| 1424 |
+
487,
|
| 1425 |
+
124
|
| 1426 |
+
],
|
| 1427 |
+
"page_idx": 12
|
| 1428 |
+
},
|
| 1429 |
+
{
|
| 1430 |
+
"type": "text",
|
| 1431 |
+
"text": "Patrick Ziering and Lonneke van der Plas. 2015. From a distance: Using cross-lingual word alignments for noun compound bracketing. In Proceedings of the 11th International Conference on Computational Semantics, pages 82–87, London, UK. Association for Computational Linguistics.",
|
| 1432 |
+
"bbox": [
|
| 1433 |
+
115,
|
| 1434 |
+
135,
|
| 1435 |
+
489,
|
| 1436 |
+
214
|
| 1437 |
+
],
|
| 1438 |
+
"page_idx": 12
|
| 1439 |
+
},
|
| 1440 |
+
{
|
| 1441 |
+
"type": "text",
|
| 1442 |
+
"text": "A Why NeCTI as a Dependency Parsing Task?",
|
| 1443 |
+
"text_level": 1,
|
| 1444 |
+
"bbox": [
|
| 1445 |
+
509,
|
| 1446 |
+
83,
|
| 1447 |
+
873,
|
| 1448 |
+
115
|
| 1449 |
+
],
|
| 1450 |
+
"page_idx": 12
|
| 1451 |
+
},
|
| 1452 |
+
{
|
| 1453 |
+
"type": "text",
|
| 1454 |
+
"text": "Compounds in language are semantic constructions. While a limited number of rules derived from Sanskrit Grammar aid in determining the syntactic structure of a compound, they offer limited assistance in uncovering its meaning. The meaning of a compound primarily arises from the semantic relationship between its components. This semantic relationship, known as \"sāmarthya,\" is expressed through various types of semantic compounds. These compound types also facilitate the identification of the headword within a compound. The headword can be one of the constituents or an entirely distinct word modified by the resulting compound. Compounds consisting of more than two components are typically formed through successive binary combinations of the components, following specific relations. As a result, a nested structure of binary compounds is created, with a few exceptions. Therefore, the semantic compound types play a vital role in determining the correct nested structure amidst the various possible structures of a compound. Each of these structures represents a constituency span, and a parser equipped with compound type identification assists in accurately identifying the appropriate constituency span.",
|
| 1455 |
+
"bbox": [
|
| 1456 |
+
507,
|
| 1457 |
+
128,
|
| 1458 |
+
884,
|
| 1459 |
+
546
|
| 1460 |
+
],
|
| 1461 |
+
"page_idx": 12
|
| 1462 |
+
},
|
| 1463 |
+
{
|
| 1464 |
+
"type": "text",
|
| 1465 |
+
"text": "Treating this as a constituency parsing task presents several challenges. Figure 10 illustrates the potential constituency spans for a 3-component compound $a - b - c$ , with $ab$ and $bc$ representing the intermediate compounds. First, the nested structure of compounds does not conform to a syntactic structure; instead, it follows a semantic structure based on the relations between the components rather than their position or relative co-occurrence. Second, the intermediate compounds within the structure are not categories but stem forms. Each intermediate compound serves as an entity that modifies the meanings of one of its constituents, subsequently combining with another component to form a larger compound.",
|
| 1466 |
+
"bbox": [
|
| 1467 |
+
507,
|
| 1468 |
+
548,
|
| 1469 |
+
882,
|
| 1470 |
+
788
|
| 1471 |
+
],
|
| 1472 |
+
"page_idx": 12
|
| 1473 |
+
},
|
| 1474 |
+
{
|
| 1475 |
+
"type": "text",
|
| 1476 |
+
"text": "Kumar (2012) formulated this as constituency parsing, where the identification of semantic compatibility was performed based on the relative co-occurrence and relative position of the components. As shown in Figure 11, the intermediate compounds, which lacked additional information, were substituted with their respective semantic compound types in the type identification stage.",
|
| 1477 |
+
"bbox": [
|
| 1478 |
+
507,
|
| 1479 |
+
790,
|
| 1480 |
+
882,
|
| 1481 |
+
917
|
| 1482 |
+
],
|
| 1483 |
+
"page_idx": 12
|
| 1484 |
+
},
|
| 1485 |
+
{
|
| 1486 |
+
"type": "page_number",
|
| 1487 |
+
"text": "13691",
|
| 1488 |
+
"bbox": [
|
| 1489 |
+
477,
|
| 1490 |
+
927,
|
| 1491 |
+
522,
|
| 1492 |
+
940
|
| 1493 |
+
],
|
| 1494 |
+
"page_idx": 12
|
| 1495 |
+
},
|
| 1496 |
+
{
|
| 1497 |
+
"type": "image",
|
| 1498 |
+
"img_path": "images/14e82fef0833ca1f709f59be7d00163ebf433fb6e7e98af7148eb59c6227e1fb.jpg",
|
| 1499 |
+
"image_caption": [
|
| 1500 |
+
"Figure 10: Possible constituency spans for a three component compound a-b-c"
|
| 1501 |
+
],
|
| 1502 |
+
"image_footnote": [],
|
| 1503 |
+
"bbox": [
|
| 1504 |
+
147,
|
| 1505 |
+
90,
|
| 1506 |
+
272,
|
| 1507 |
+
225
|
| 1508 |
+
],
|
| 1509 |
+
"page_idx": 13
|
| 1510 |
+
},
|
| 1511 |
+
{
|
| 1512 |
+
"type": "image",
|
| 1513 |
+
"img_path": "images/e502b72898c158a349061a2bcc1720ef5361e89c3c12c3fe80521a95350d3874.jpg",
|
| 1514 |
+
"image_caption": [],
|
| 1515 |
+
"image_footnote": [],
|
| 1516 |
+
"bbox": [
|
| 1517 |
+
327,
|
| 1518 |
+
90,
|
| 1519 |
+
453,
|
| 1520 |
+
225
|
| 1521 |
+
],
|
| 1522 |
+
"page_idx": 13
|
| 1523 |
+
},
|
| 1524 |
+
{
|
| 1525 |
+
"type": "image",
|
| 1526 |
+
"img_path": "images/1df216ff9dac45c83cb764f96742822e5d44217f5e4110f5932a60083062abb9.jpg",
|
| 1527 |
+
"image_caption": [
|
| 1528 |
+
"Figure 11: Possible constituency spans for a three component compound a-b-c with semantic types"
|
| 1529 |
+
],
|
| 1530 |
+
"image_footnote": [],
|
| 1531 |
+
"bbox": [
|
| 1532 |
+
127,
|
| 1533 |
+
292,
|
| 1534 |
+
289,
|
| 1535 |
+
428
|
| 1536 |
+
],
|
| 1537 |
+
"page_idx": 13
|
| 1538 |
+
},
|
| 1539 |
+
{
|
| 1540 |
+
"type": "image",
|
| 1541 |
+
"img_path": "images/17add7d243851a830a55f970ac61f99249d78a125aa26f9e94a6e0c8a336c68e.jpg",
|
| 1542 |
+
"image_caption": [
|
| 1543 |
+
"Figure 12: Dependency Structure for the three component compound a-b-c with semantic types as labels"
|
| 1544 |
+
],
|
| 1545 |
+
"image_footnote": [],
|
| 1546 |
+
"bbox": [
|
| 1547 |
+
309,
|
| 1548 |
+
292,
|
| 1549 |
+
473,
|
| 1550 |
+
428
|
| 1551 |
+
],
|
| 1552 |
+
"page_idx": 13
|
| 1553 |
+
},
|
| 1554 |
+
{
|
| 1555 |
+
"type": "text",
|
| 1556 |
+
"text": "The semantic types serve as semantic constructions for compounds, rather than being syntactic categories and play a crucial role in determining the meaning of the compound. For example the compound vidyālayaghanṭa has the nested structure «vidyā-alaya>T6-ghanṭa>T6. The type T6 indicatesṣaṭṭi tatpurusa compound (6<sup>th</sup> case determinative compound) inferring a possessive relationship. Vidyā (knowledge) and alaya (place) combine to form the intermediate compound vidyālaya (the place of knowledge, viz. school), which combines with ghantā (bell) to form the whole compound indicating school-bell. The possessive relation expressed by the compound type (T6) is akin to a dependency relation, and this holds true for other compound types as well.",
|
| 1557 |
+
"bbox": [
|
| 1558 |
+
112,
|
| 1559 |
+
500,
|
| 1560 |
+
489,
|
| 1561 |
+
758
|
| 1562 |
+
],
|
| 1563 |
+
"page_idx": 13
|
| 1564 |
+
},
|
| 1565 |
+
{
|
| 1566 |
+
"type": "text",
|
| 1567 |
+
"text": "Consequently, when represented with compound types, the same constituency spans can be depicted as dependency structures by annotating the types as directed relations and removing the extra nodes indicating the types. The dependency structures for the previous example $(a - b - c)$ are shown in Figure 12. Furthermore, the head words are not explicitly marked in constituency spans and can only be identified through their corresponding types. However, with dependency structures, the",
|
| 1568 |
+
"bbox": [
|
| 1569 |
+
112,
|
| 1570 |
+
758,
|
| 1571 |
+
489,
|
| 1572 |
+
919
|
| 1573 |
+
],
|
| 1574 |
+
"page_idx": 13
|
| 1575 |
+
},
|
| 1576 |
+
{
|
| 1577 |
+
"type": "text",
|
| 1578 |
+
"text": "head word can be determined by the labels directed towards it within the compound. Notably, these dependency structures faithfully capture the constituency information and are mutually convertible with their corresponding constituency spans.",
|
| 1579 |
+
"bbox": [
|
| 1580 |
+
507,
|
| 1581 |
+
84,
|
| 1582 |
+
884,
|
| 1583 |
+
165
|
| 1584 |
+
],
|
| 1585 |
+
"page_idx": 13
|
| 1586 |
+
},
|
| 1587 |
+
{
|
| 1588 |
+
"type": "image",
|
| 1589 |
+
"img_path": "images/f34917bff55776dfcbb154e24bed17fdc8c1bfca679902f6ce608ff56da5175e.jpg",
|
| 1590 |
+
"image_caption": [],
|
| 1591 |
+
"image_footnote": [],
|
| 1592 |
+
"bbox": [
|
| 1593 |
+
566,
|
| 1594 |
+
174,
|
| 1595 |
+
823,
|
| 1596 |
+
227
|
| 1597 |
+
],
|
| 1598 |
+
"page_idx": 13
|
| 1599 |
+
},
|
| 1600 |
+
{
|
| 1601 |
+
"type": "image",
|
| 1602 |
+
"img_path": "images/e5b123b04460721ef6649a19a35d1f2f6ca86990d7f76dab5d7a84d1f559bf49.jpg",
|
| 1603 |
+
"image_caption": [],
|
| 1604 |
+
"image_footnote": [],
|
| 1605 |
+
"bbox": [
|
| 1606 |
+
566,
|
| 1607 |
+
237,
|
| 1608 |
+
823,
|
| 1609 |
+
318
|
| 1610 |
+
],
|
| 1611 |
+
"page_idx": 13
|
| 1612 |
+
},
|
| 1613 |
+
{
|
| 1614 |
+
"type": "text",
|
| 1615 |
+
"text": "There are several considerations behind the decision to treat NeCTI as a dependency parsing task. First, the semantic relations among compound components resemble dependency relations and can be represented as directed labels within the dependency parse structure. Second, this approach concisely represents the semantic relations between compound components without introducing extra intermediary nodes. Lastly, it enables the simultaneous identification of the structure or constituency span alongside the identification of compound types.",
|
| 1616 |
+
"bbox": [
|
| 1617 |
+
507,
|
| 1618 |
+
378,
|
| 1619 |
+
884,
|
| 1620 |
+
571
|
| 1621 |
+
],
|
| 1622 |
+
"page_idx": 13
|
| 1623 |
+
},
|
| 1624 |
+
{
|
| 1625 |
+
"type": "text",
|
| 1626 |
+
"text": "B Experiment Details",
|
| 1627 |
+
"text_level": 1,
|
| 1628 |
+
"bbox": [
|
| 1629 |
+
507,
|
| 1630 |
+
581,
|
| 1631 |
+
714,
|
| 1632 |
+
598
|
| 1633 |
+
],
|
| 1634 |
+
"page_idx": 13
|
| 1635 |
+
},
|
| 1636 |
+
{
|
| 1637 |
+
"type": "text",
|
| 1638 |
+
"text": "Hyper-parameters: For our proposed system, we build on the top of the codebase from BiAFF, as developed by Ma et al. (2018). We configure the hyperparameters as follows: a batch size of 16, 100 training iterations, a dropout rate of 0.33, 2 stacked Bi-LSTM layers, a learning rate of 0.002, and the remaining parameters set identically to those used in the work of Ma et al. (2018). We use manual tuning for the hyper-parameter selection and F1-score criteria on dev set's performance. Our codebase is publicly available and released under a creative-common license. We use FastText word embeddings for the proposed framework.",
|
| 1639 |
+
"bbox": [
|
| 1640 |
+
505,
|
| 1641 |
+
606,
|
| 1642 |
+
882,
|
| 1643 |
+
815
|
| 1644 |
+
],
|
| 1645 |
+
"page_idx": 13
|
| 1646 |
+
},
|
| 1647 |
+
{
|
| 1648 |
+
"type": "text",
|
| 1649 |
+
"text": "Computing Infrastructure Used: We perform our experiments using a single GPU equipped with an NVIDIA A40, 48 GB GPU memory, and 10752 CUDA cores. We employ a single GPU with an NVIDIA Quadro RTX 4000, 8 GB GPU memory, and 2304 CUDA cores for our proposed system.",
|
| 1650 |
+
"bbox": [
|
| 1651 |
+
507,
|
| 1652 |
+
822,
|
| 1653 |
+
882,
|
| 1654 |
+
919
|
| 1655 |
+
],
|
| 1656 |
+
"page_idx": 13
|
| 1657 |
+
},
|
| 1658 |
+
{
|
| 1659 |
+
"type": "page_number",
|
| 1660 |
+
"text": "13692",
|
| 1661 |
+
"bbox": [
|
| 1662 |
+
477,
|
| 1663 |
+
927,
|
| 1664 |
+
524,
|
| 1665 |
+
940
|
| 1666 |
+
],
|
| 1667 |
+
"page_idx": 13
|
| 1668 |
+
}
|
| 1669 |
+
]
|
2023/DepNeCTI_ Dependency-based Nested Compound Type Identification for Sanskrit/9cf22d4e-25cc-4736-8b7f-6f6bea41e671_model.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
2023/DepNeCTI_ Dependency-based Nested Compound Type Identification for Sanskrit/9cf22d4e-25cc-4736-8b7f-6f6bea41e671_origin.pdf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:1f406a57dd3fc2f016b2f4546b69f25ed29b878263807bff0905390717e8aa7d
|
| 3 |
+
size 629022
|
2023/DepNeCTI_ Dependency-based Nested Compound Type Identification for Sanskrit/full.md
ADDED
|
@@ -0,0 +1,303 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# DepNeCTI: Dependency-based Nested Compound Type Identification for Sanskrit
|
| 2 |
+
|
| 3 |
+
Jivnesh Sandhan†,* Yaswanth Narsupalli‡, Sreevatsa Muppirala‡, Sriram Krishnan§, Pavankumar Satuluri∥, Amba Kulkarni§ and Pawan Goyal‡
|
| 4 |
+
|
| 5 |
+
†UC Berkeley, ‡IIT Kharagpur, §University of Hyderabad and ¶IIT Roorkee
|
| 6 |
+
|
| 7 |
+
jivneshsandhan@gmail.com, yasshu.yaswanth@gmail.com, pawang@cse.iitkgp.ac.in
|
| 8 |
+
|
| 9 |
+
# Abstract
|
| 10 |
+
|
| 11 |
+
Multi-component compounding is a prevalent phenomenon in Sanskrit, and understanding the implicit structure of a compound's components is crucial for deciphering its meaning. Earlier approaches in Sanskrit have focused on binary compounds and neglected the multi-component compound setting. This work introduces the novel task of nested compound type identification (NeCTI), which aims to identify nested spans of a multi-component compound and decode the implicit semantic relations between them. To the best of our knowledge, this is the first attempt in the field of lexical semantics to propose this task.
|
| 12 |
+
|
| 13 |
+
We present 2 newly annotated datasets including an out-of-domain dataset for this task. We also benchmark these datasets by exploring the efficacy of the standard problem formulations such as nested named entity recognition, constituency parsing and seq2seq, etc. We present a novel framework named DepNeCTI: Dependency-based Nested Compound Type Identifier that surpasses the performance of the best baseline with an average absolute improvement of 13.1 points F1-score in terms of Labeled Span Score (LSS) and a 5-fold enhancement in inference efficiency. In line with the previous findings in the binary Sanskrit compound identification task, context provides benefits for the NeCTI task. The codebase and datasets are publicly available at: https://github.com/yaswanth-iitkgp/DepNeCTI
|
| 14 |
+
|
| 15 |
+
# 1 Introduction
|
| 16 |
+
|
| 17 |
+
A compound is defined as a group of entities functioning as a single meaningful entity. The process of identifying the implied semantic relationship between the components of a compound in Sanskrit is known as Sanskrit Compound Type Identification (SaCTI) (Sandhan et al., 2022a) or Noun Compound Interpretation (NCI) (Ponkiya et al., 2021,
|
| 18 |
+
|
| 19 |
+
2020). Within the literature, the NCI problem has been approached in two ways, namely, classification (Dima and Hinrichs, 2015; Fares et al., 2018; Ponkiya et al., 2021) and paraphrasing (Lapata and Keller, 2004; Ponkiya et al., 2018, 2020).
|
| 20 |
+
|
| 21 |
+
In Sanskrit literature, particularly in poetry, the use of multi-component compounds is ubiquitous (Kumar, 2012). According to the Digital Corpus of Sanskrit, more than $41\%$ of compounds contain three or more components (Krishna et al., 2016). However, earlier approaches focus solely on binary compounds and fail to address the complexities inherent in multi-component compounds adequately. Thus, we propose a new task, the Nested Compound Type Identification (NeCTI) Task, which focuses on identifying nested spans within a multicomponent compound and interpreting their implicit semantic relationships. Figure 1 illustrates an example of the NeCTI task, highlighting nested spans and their associated semantic relations using distinct colors.
|
| 22 |
+
|
| 23 |
+

|
| 24 |
+
Figure 1: Illustration of the NeCTI task for the multi-component compound sumitra-ananda-vardhanah (Translation: Sumitra-delight-enhancer), highlighting nested spans and their associated semantic relations using distinct colors.
|
| 25 |
+
|
| 26 |
+
The NeCTI task presents multiple challenges: (1) The number of potential solutions for a multicomponent compound grows exponentially as the number of components increases. (2) It often relies on contextual or world knowledge about the entities involved (Krishna et al., 2016). Even if a multicomponent compound shares the same components
|
| 27 |
+
|
| 28 |
+
and final form, the implicit relationship between the spans can only be deciphered with the aid of available contextual information (Kulkarni and Kumar, 2013; Krishna et al., 2016). For instance, as de
|
| 29 |
+
|
| 30 |
+

|
| 31 |
+
Figure 2: Illustration of the multi-component compound sumitra-ananda-vardhanah (Translation: Sumitra-delight-enhancer) with two valid parses depicted in green and red. The two parses correspond to two potential meanings. The green solution represents the correct interpretation within the provided context.
|
| 32 |
+
|
| 33 |
+
picted in Figure 2, the multi-component compound sumitra-ananda-vardhanah (Translation: Sumitradelight-enhancer) can have two valid but distinct solutions, leading to different meanings. Resolving ambiguity to select the correct solution requires reliance on the provided context. Consequently, downstream Natural Language Processing (NLP) applications for Sanskrit, such as question answering (Terdalkar and Bhattacharya, 2019) and machine translation (Aralikatte et al., 2021), often exhibit sub-optimal performance when encountering compounds. Hence, the NeCTI task serves as a preliminary requirement for developing robust NLP technology for Sanskrit. Moreover, this dependency on contextual information eliminates the possibility of storing and conducting a lookup to identify the semantic types of nested spans.
|
| 34 |
+
|
| 35 |
+
Previous approaches (Kulkarni and Kumar, 2013; Krishna et al., 2016; Sandhan et al., 2019) addressing SaCTI have predominantly focused on binary compounds, neglecting the consideration of multi-component compounds. In multi-component compounds, the components exhibit semantic relationships akin to dependency relations, represented as directed labels within the dependency structure, which also facilitate the identification of the compound's headword through the labels directed towards it. Consequently, dependency formulation enables the simultaneous identification of both the structure or constituency span and the compound types. Thus, we propose a novel framework ( $\S 4$ ) named DepNeCTI: Dependency-based Nested Compound type Identifier ( $\S 3$ ). In summary, our contributions can be outlined as follows:
|
| 36 |
+
|
| 37 |
+
- We introduce a novel task called Nested Compound Type Identification (§ 2).
|
| 38 |
+
|
| 39 |
+
- We present 2 newly annotated datasets and provide benchmarking by exploring the efficacy of various standard formulations for NeCTI (§ 5).
|
| 40 |
+
- We propose a novel framework DepNeCTI: Dependency-based Nested Compound type Identifier (§ 4), which reports an average 13.1 points F1-score in terms of LSS absolute gain and 5-fold enhancement in inference efficiency (§ 6) over the best baseline.
|
| 41 |
+
- We publicly release the codebase of DepNeCTI and benchmarked baselines, along with newly annotated datasets for the NeCTI task.
|
| 42 |
+
|
| 43 |
+
# 2 Problem Formulation
|
| 44 |
+
|
| 45 |
+
The objective of the NeCTI task is to detect nested spans within a multi-component compound and decipher the implicit semantic relations among them. Our study focuses exclusively on this task and does not address the compound segmentation problem. It is assumed that the segmented components of the multi-component compound are already available. To obtain the segmentation of a compound, we rely on established resources such as the rule-based shallow parser (Goyal and Huet, 2016) or existing data-driven segmentation systems designed explicitly for Sanskrit (Hellwig and Nehrdich, 2018; Sandhan et al., 2022b).
|
| 46 |
+
|
| 47 |
+

|
| 48 |
+
Figure 3: Illustration of a number of ways (as per Catalan number in log scale) in which a multi-component compound can be parsed. Our dataset contains compounds that have a maximum of 16 components.
|
| 49 |
+
|
| 50 |
+
Complexity of NeCTI Task: As the number of components in a multi-component compound increases, the number of possible parses grows exponentially. Our dataset encompasses multicomponent compounds ranging from 2 to 16 components. Figure 3 visually depicts the exponential growth of possible parses with increasing component count. The parsing of a compound word with
|
| 51 |
+
|
| 52 |
+
$n + 1$ components can be likened to the problem of fully parenthesizing $n + 1$ factors in all possible ways (Kulkarni and Kumar, 2011). Thus, the total number of parse-options for a multi-component compound word with $n + 1$ components corresponds to the Catalan Number $C_n$ , where $n \geq 0$ (Huet, 2009).
|
| 53 |
+
|
| 54 |
+
$$
|
| 55 |
+
C _ {n} = \frac {1}{n + 1} \binom {2 n} {n} = \frac {(2 n) !}{(n + 1) ! n !}
|
| 56 |
+
$$
|
| 57 |
+
|
| 58 |
+
where $C_n$ represents the $n^{th}$ Catalan number, $\binom{2n}{n}$ is the binomial coefficient, and! denotes factorial. Finally, the compatibility rules derived from Paninian grammar (Panini, 500 BCE) and contextual information are needed to disambiguate multiple possibilities.
|
| 59 |
+
|
| 60 |
+
Formally, in a given sentence $X = \{x_{1}, x_{2}, \ldots, x_{M}\}$ with $M$ tokens, let $x_{p}$ (1 ≤ $p \leq M$ ) denote an $N$ -component compound. It is worth noting that $X$ may contain multiple instances of multi-component compounds. A valid solution corresponds to a full paraphesization of these $N$ components; let $P_{N}$ encompass all valid solutions for fully parenthesizing $N$ factors, satisfying the cardinality $|P_{N}| = C_{N-1}$ , where $C_{N-1}$ represents the Catalan number. A valid solution for an $N$ -component compound consists of $N-1$ nested spans. The NeCTI system produces an output represented as a list of $N-1$ tuples for $x_{p}$ , given by $Y_{p} = \{[I_{1}^{H}, I_{1}^{T}, T_{1}], \ldots, [I_{N-1}^{H}, I_{N-1}^{T}, T_{N-1}]\}$ , such that $Y_{p} \in P_{N}$ . $I_{i}^{H}$ and $I_{i}^{T}$ denote the head and the tail indices, respectively, of the $i^{th}$ span, and $T_{i}$ corresponds to the label assigned to the respective span.
|
| 61 |
+
|
| 62 |
+
# How different is NeCTI compared to the Nested Named Entity Recognition (NNER) task?
|
| 63 |
+
|
| 64 |
+
NNER is a component of information extraction that aims to identify and classify nested named entities within unstructured text, considering their hierarchical structure. In contrast, the NeCTI task focuses on identifying nested spans within a multi-component compound and decoding their implicit semantic relations. These tasks have several key differences: (1) NeCTI operates at the intra-word level, whereas NNER operates at the inter-word level, considering entities across a phrase. (2) In NeCTI, a multi-component compound can have multiple possible parses, requiring disambiguation through contextual cues and incorporating insights from Paninian grammar to address incompatibil
|
| 65 |
+
|
| 66 |
+
ities. Conversely, we could not find discussions related to these aspects in NNER literature. (3) NeCTI benefits from prior knowledge of the compound's location and segmented components. In contrast, the NNER task involves the additional challenge of identifying the location of entities within the text. Consequently, leveraging existing NNER frameworks for NeCTI is not straightforward due to their inability to provide explicit support for providing the location of compounds. Therefore, NeCTI presents unique characteristics and challenges that differentiate it from the NNER task, requiring specialized approaches tailored to its specific requirements.
|
| 67 |
+
|
| 68 |
+
How different is NeCTI compared to the Multi-Word Expressions (MWE)? MWEs encompass various categories such as idioms (e.g., kick the bucket), named entities (e.g., World Health Organization), and compounds (e.g., telephone box), etc. Sanskrit compounds exhibit similarities to multi-word expressions, particularly multi-word compounds (nominal, noun, and verb), with respect to characteristics like collocation of components based on semantic relations between them and strict preference for ordering of the components.
|
| 69 |
+
|
| 70 |
+
Multi-word compounds in various languages involve adjacent lexemes juxtaposed with potential semantic relations. In contrast, Sanskrit compounds are intuitively constructed based on the semantic compatibility of their components. Additionally, in Sanskrit, compounds always appear as a single word, requiring mandatory sandhi (euphonic transformations) between their components. Conversely, certain categories of MWEs (idioms, complex function words, verb-particles, and light-verbals) have relatively fixed structures, predominantly with components separated by spaces. Furthermore, nesting within multi-word expressions is considered syntactic overlaps, while the nested structures of Sanskrit compounds result from successive combinations of components based on semantic relations, thereby clearly distinguishing Sanskrit compounds from MWEs.
|
| 71 |
+
|
| 72 |
+
# 3 Why NeCTI as a Dependency Parsing Task?
|
| 73 |
+
|
| 74 |
+
The decision to formulate NeCTI as a dependency parsing task is driven by several considerations. Compounds with more than two components are typically formed through successive binary combinations, following specific semantic relations. This
|
| 75 |
+
|
| 76 |
+

|
| 77 |
+
Figure 4: Illustration of DepNeCTI with an example “sumitra-ananda-vardhanah laksmanah rāmam anujagāma” (Translation: “Lakṣmana, the one who enhanced the delight of Sumitra, followed Rāma”) where ‘sumitra-ananda-vardhanah’ is a multi-component compound word. We assume prior knowledge of compound segmentation and treat the individual components of multi-component compounds as separate words. That means the compound and its components are known apriori. However, the associations of the components, i.e. spans, are not known apriori. We propose two variants of DepNeCTI depending on the choice of encoder: DepNeCTI-LSTM and DepNeCTI-XLMR. To inform DepNeCTI-LSTM about compound (highlighted with color) and non-compound (highlighted with color) tokens, we employ span encoding. The span encoding uses two randomly initialized vectors (compound or non-compound) to inform the model whether the corresponding instance is a compound or non-compound word. On the other hand, DepNeCTI-XLMR is informed about compound's location in the input string using bracketing (for example, <sumitra-ananda-vardhanah>) and it lacks span encoding component. Next, to transform the compound-level parsing task into standard dependency parsing, we introduce (1) an additional token called “Global” (color) as a global head for all words in the sentence. (2) The compound head and non-compound words are connected to the Global token using the “Compound Root” and “Global Relation” relations, respectively. The hidden representations of the tokens are obtained using a Bi-LSTM or XLMR encoder. Finally, a Bi-affine (Dozat and Manning, 2017) dependency module is applied on top of the hidden representations.
|
| 78 |
+
|
| 79 |
+
process creates a nested structure of binary compounds, except for a few exceptions, where the structure represents a constituency tree. However, treating this as a constituency parsing task poses challenges. The nested structure of compounds does not adhere to a syntactic structure but instead follows a semantic structure based on component relations. If we substitute the intermediate nodes with semantic relations, the same spans can be represented as dependency structures by annotating the types as directed relations. Moreover, the headwords in constituency spans are not explicitly marked but can be identified through their corresponding types. In contrast, dependency structures allow the determination of the headword based on labels directed towards it within the compound. Notably, dependency structures faithfully capture
|
| 80 |
+
|
| 81 |
+
constituency information and can be mutually converted with their corresponding spans (Goyal and Kulkarni, 2014).
|
| 82 |
+
|
| 83 |
+
Summarily, the semantic relations among compound components resemble dependency relations, which can be represented as directed labels within the dependency parse structure. This approach succinctly represents the semantic relations without introducing intermediary nodes. Lastly, it enables the simultaneous identification of the structure or constituency span alongside the identification of compound types. We encourage readers to refer to Appendix § A for a more detailed illustration.
|
| 84 |
+
|
| 85 |
+
# 4 DepNeCTI: The Proposed Framework
|
| 86 |
+
|
| 87 |
+
Figure 4 illustrates the proposed framework with an example "sumitra-ananda-vardhanah laksmanah
|
| 88 |
+
|
| 89 |
+
ramanujagama" (Translation: "Laksmana, the one who enhanced the delight of Sumitra, followed Rama") where 'sumitra-ananda-vardhanah' is a multi-component compound word. We assume prior knowledge of compound segmentation and treat the individual components of multicomponent compounds as separate words. We propose two variants of DepNeCTI depending on the choice of encoder: DepNeCTI-LSTM and DepNeCTI-XLMR. In DepNeCTI-LSTM, to differentiate between compound (highlighted with color) and non-compound (highlighted with color) tokens, we employ span encoding. The span encoding uses two randomly initialized vectors (compound or non-compound) to inform the model whether the corresponding instance is a compound or non-compound word. On the other hand, DepNeCTI-XLMR is informed about compound's location in the input string using bracketing (for example, <sumitra-ananda-vardhana>) and it lacks span encoding component. In order to convert the compound-level dependency parsing task into standard dependency parsing, we introduce two modifications. First, we introduce an additional token called "Global" (color) which serves as the global head for all words in the sentence. Second, we establish connections between the compound head and non-compound words to the Global token using the "Compound Root" and "Global Relation" relations, respectively.
|
| 90 |
+
|
| 91 |
+
Formally, in a given sentence $X = \{x_{1}, x_{2}, \ldots, x_{M}\}$ with $M$ tokens, let $x_{p}$ (1 ≤ $p \leq M$ ) denote an $N$ -component compound. Notably, $X$ may contain multiple occurrences of multi-component compounds. The $N$ -component compound $(x_{p})$ is further split into its components $(x_{p} = \{x_{p}^{1}, x_{p}^{2}, \ldots, x_{p}^{N}\})$ . Next, we pass the overall sequence $(X = \{x_{1}, x_{2}, \ldots, x_{p}^{1}, x_{p}^{2}, \ldots, x_{p}^{N}, \ldots, x_{M}\})$ to the encoder to obtain hidden representations. The LSTM encoder concatenates a token's word, character and span embedding to obtain its representation and the XLMR encoder uses word-pieces. Finally, a Bi-affine (Dozat and Manning, 2017) dependency module is applied on top of it.
|
| 92 |
+
|
| 93 |
+
# 5 Experiments
|
| 94 |
+
|
| 95 |
+
# 5.1 Datasets
|
| 96 |
+
|
| 97 |
+
Table 1 presents data on the total number of multi-component compounds (Figure 5) and their statistics. Our primary focus is on compounds with
|
| 98 |
+
|
| 99 |
+
more than two components ( $n > 2$ ), while also considering binary compounds if they occur in the context. These datasets comprise segmented compound components, nested spans, context, and semantic relations among the nested spans. We offer two levels of annotations for these datasets: coarse (4 broad types) and fine-grained (86 sub-types). There are 4 broad semantic types of compounds: Avyayibhava (Indeclinable), Bahuvrihi (Exocentric), Tatpurusa (Endocentric) and Dvandva (Copulative). Again, each broader class is divided into multiple subclasses, leading to 86 fine-grained types. $^{1}$ Figure 6 shows class-wise label frequency in NecTIS fine-grained.
|
| 100 |
+
|
| 101 |
+
<table><tr><td>Datasets</td><td>#Nested</td><td>#Train</td><td>#Test</td><td>#Dev</td><td>#Types</td></tr><tr><td>NeCTIS</td><td>17656</td><td>12431</td><td>3493</td><td>2405</td><td>4 (86)</td></tr><tr><td>NeCTIS OOD</td><td>1189</td><td>-</td><td>1189</td><td>-</td><td>4 (86)</td></tr></table>
|
| 102 |
+
|
| 103 |
+
Table 1: Data statistics for NeCTIS and NeCTIS-OOD
|
| 104 |
+
|
| 105 |
+

|
| 106 |
+
Figure 5: Frequency of $n$ -component compounds.
|
| 107 |
+
|
| 108 |
+

|
| 109 |
+
Figure 6: Frequency in NeCTIS fine-grained.
|
| 110 |
+
|
| 111 |
+
We introduce two context-sensitive datasets: NeCTIS and NeCTIS OOD. The purpose of the additional dataset (NeCTIS OOD) is to create an out-of-domain testbed. The multi-component compound instances are extracted from various books
|
| 112 |
+
|
| 113 |
+
categorized into 4 types based on subject content: philosophical, pauranic (Translation: Epic is a genre of ancient Indian literature encompassing historical stories, traditions, and legends.), literary, and ayurveda. The NeCTIS dataset encompasses compounds from books falling under the Philosophical, Literary, and ayurveda categories. The multicomponent compound instances extracted from the puranic category are included in the NeCTIS out-of-domain (NeCTIS OOD) dataset. Furthermore, the multi-component instances in NeCTIS belong to the prose domain, while NeCTIS-OOD pertains to the poetry domain. Poetry commonly uses multi-component compounding extensively (more exocentric compounds) to adhere to metrical constraints and convey complex concepts. Conversely, prose uses compounds in a more direct and less condensed manner. Furthermore, poets in the realm of poetry often enjoy the freedom to form novel compounds or employ unconventional ones to conform to meter requirements, rendering these compounds infrequent in regular usage.
|
| 114 |
+
|
| 115 |
+
Dataset Annotation Process: We established a data creation process to address the unavailability of annotated context-sensitive multi-component compound data in Sanskrit. We employ a sufficient annotation budget sponsored by DeitY, 2009-2012 for the Sanskrit Hindi Machine Translation project to employ 6 institutes, each consisting of approximately 10 team members. Each team was organized in a hierarchical manner. There were 3 levels in the hierarchy: Junior linguist (Masters degree in Sanskrit), Senior linguist (Ph.D. in Sanskrit) and professional linguist (Professor in Sanskrit). The annotations from lower expertise were further checked as per the above-mentioned hierarchy. Subsequently, the annotated data underwent an exchange process with another team for correctness verification. Any ambiguities encountered during the annotation process were resolved through collective discussions conducted by the correctness-checking team. The available books were distributed among these teams, and each team was responsible for annotating their allocated books. The annotation guidelines<sup>2</sup> are essentially based on Sanskrit grammar which provides the syntactic and semantic criteria for annotation.
|
| 116 |
+
|
| 117 |
+
Elaborate commentaries accompany the majority
|
| 118 |
+
|
| 119 |
+
of the texts, that discuss the semantics associated with the compounds, which are typically studied by students as a part of their coursework. Given these considerations, it is very unlikely for professional linguists, often professors instructing these texts, to make mistakes. The dataset was curated around 12 years ago, primarily with the aim of producing error-free gold-standard data. Consequently, the errors made by junior annotators were not recorded or measured, aligning with our focus on achieving error-free quality. The benchmark for determining correctness was based on the Pānīnīan grammar.
|
| 120 |
+
|
| 121 |
+
# 5.2 Baselines
|
| 122 |
+
|
| 123 |
+
We investigate the efficacy of various standard formulations (originally proposed for nested named entity recognition for English) for the proposed task. We adapt these systems to the NeCTI task by providing the location of the compounds to ensure a fair comparison with DepNeCTI. Since these baselines are leveraged from the nested named entity recognition task, they do not have explicit channels to provide the location of a compound word. Therefore, we provide this information in the input string itself with the help of brackets (for example, <sumitra-ānanda-vardhanah>):
|
| 124 |
+
|
| 125 |
+
- Constituency Parsing (CP): Following Fu et al. (2020), we formulate NeCTI as constituency parsing with partially-observed trees, with all labeled compound spans as observed nodes in a constituency tree and non-compound spans as latent nodes. We leverage TreeCRF to model the observed and the latent nodes jointly.
|
| 126 |
+
- Bottom-up Constituency Parsing (BotCP): Following Yang and Tu (2021), we formulate NeCTI as a bottom-up constituency parsing, where a pointer network is leveraged for post-order traversal within a constituency tree to enhance parsing efficiency, enabling linear order parsing.
|
| 127 |
+
- Span Classifier (SpanCL): Following Yuan et al. (2022), we formulate NeCTI as a span classification problem, where triaffine mechanism is leveraged to learn a better span representation by integrating factors such as inside tokens, boundaries, labels, and related spans.
|
| 128 |
+
- Lexicalized Constituency Parsing (LexCP): Following Lou et al. (2022), we formulate NeCTI as lexicalized constituency parsing, which embeds a constituency and a dependency trees
|
| 129 |
+
|
| 130 |
+
<table><tr><td rowspan="2"></td><td colspan="7">Coarse</td><td colspan="6">Fine Grain</td></tr><tr><td colspan="3">w/o context</td><td colspan="3">w/ context</td><td colspan="3">w/o context</td><td colspan="3">w/ context</td><td></td></tr><tr><td></td><td>Models</td><td>USS</td><td>LSS</td><td>EM</td><td>USS</td><td>LSS</td><td>EM</td><td>USS</td><td>LSS</td><td>EM</td><td>USS</td><td>LSS</td><td>EM</td></tr><tr><td rowspan="7">NeCTIS</td><td>BotCP</td><td>72.90</td><td>58.78</td><td>32.26</td><td>76.22</td><td>63.97</td><td>35.10</td><td>74.28</td><td>33.50</td><td>18.58</td><td>75.72</td><td>41.80</td><td>23.05</td></tr><tr><td>CP</td><td>76.83</td><td>61.71</td><td>39.97</td><td>64.73</td><td>46.27</td><td>30.14</td><td>77.38</td><td>41.86</td><td>27.22</td><td>70.56</td><td>32.26</td><td>21.11</td></tr><tr><td>LexCP</td><td>93.39</td><td>84.74</td><td>72.88</td><td>93.39</td><td>85.16</td><td>74.41</td><td>88.70</td><td>45.86</td><td>14.72</td><td>87.86</td><td>48.87</td><td>19.67</td></tr><tr><td>Seq2seq</td><td>92.54</td><td>84.11</td><td>59.90</td><td>91.18</td><td>80.45</td><td>52.89</td><td>92.67</td><td>65.63</td><td>30.65</td><td>92.94</td><td>68.19</td><td>34.35</td></tr><tr><td>SpanCL</td><td>92.84</td><td>84.80</td><td>69.12</td><td>93.13</td><td>84.74</td><td>69.67</td><td>93.12</td><td>69.38</td><td>52.17</td><td>92.69</td><td>68.05</td><td>50.82</td></tr><tr><td>DepNeCTI-LSTM</td><td>95.46</td><td>89.06</td><td>76.82</td><td>97.42</td><td>89.24</td><td>77.00</td><td>95.38</td><td>79.49</td><td>57.46</td><td>97.49</td><td>79.72</td><td>56.83</td></tr><tr><td>DepNeCTI-XLMR</td><td>96.21</td><td>90.83</td><td>79.85</td><td>96.16</td><td>90.67</td><td>79.45</td><td>96.35</td><td>83.36</td><td>63.92</td><td>96.34</td><td>83.19</td><td>63.30</td></tr><tr><td rowspan="7">NeCTIS OOD</td><td>BotCP</td><td>72.81</td><td>48.08</td><td>21.63</td><td>73.89</td><td>51.18</td><td>22.57</td><td>72.30</td><td>20.52</td><td>8.64</td><td>73.87</td><td>30.10</td><td>13.32</td></tr><tr><td>CP</td><td>71.43</td><td>52.65</td><td>34.57</td><td>68.17</td><td>38.63</td><td>25.15</td><td>76.12</td><td>29.68</td><td>19.77</td><td>69.57</td><td>24.10</td><td>15.43</td></tr><tr><td>LexCP</td><td>89.90</td><td>71.44</td><td>50.00</td><td>91.57</td><td>72.60</td><td>52.73</td><td>83.45</td><td>32.85</td><td>7.53</td><td>83.38</td><td>34.18</td><td>8.31</td></tr><tr><td>Seq2Seq</td><td>84.26</td><td>71.71</td><td>45.33</td><td>90.13</td><td>71.41</td><td>44.00</td><td>92.16</td><td>53.55</td><td>24.51</td><td>92.87</td><td>53.61</td><td>24.96</td></tr><tr><td>SpanCL</td><td>91.51</td><td>72.69</td><td>56.30</td><td>90.24</td><td>71.89</td><td>54.46</td><td>89.19</td><td>50.21</td><td>32.66</td><td>90.88</td><td>50.50</td><td>34.00</td></tr><tr><td>DepNeCTI-LSTM</td><td>93.32</td><td>78.94</td><td>57.40</td><td>95.67</td><td>79.26</td><td>57.90</td><td>93.88</td><td>67.96</td><td>36.60</td><td>95.88</td><td>67.26</td><td>36.26</td></tr><tr><td>DepNeCTI-XLMR</td><td>95.56</td><td>84.24</td><td>65.50</td><td>95.56</td><td>84.45</td><td>65.00</td><td>95.56</td><td>74.26</td><td>45.70</td><td>95.45</td><td>73.54</td><td>44.37</td></tr></table>
|
| 131 |
+
|
| 132 |
+
Table 2: Evaluation on the NeCTIS datasets, considering 2 levels of annotations (coarse and fine-grained) and in 2 settings (with and without context). The best-performing results are in bold, while the second-best results are underlined. The results are averaged over 3 runs. To assess the significance between the proposed system and the best baselines for each setting, a significance test in Accuracy metrics was conducted: $p < 0.01$ (as per t-test).
|
| 133 |
+
|
| 134 |
+
together. This formulation leverages the constituents' heads into the architecture which is crucial for the NeCTI task.
|
| 135 |
+
|
| 136 |
+
- Seq2Seq: Following Yan et al. (2021), we formulate NeCTI as an entity span sequence generation task using the pretrained seq2seq framework. This generative framework can also identify discontinuous spans; however, NeCTI does not have such instances.
|
| 137 |
+
- DepNeCTI: We propose two variants of our system (§4) depending on the choice of encoders: DepNeCTI-LSTM and DepNeCTI-XLMR (Nguyen et al., 2021). The compound's location is provided in DepNeCTI-LSTM using span encoding; however, DepNeCTI-XLMR lacks span encoding and leverages this information from the input similar to other baselines.
|
| 138 |
+
|
| 139 |
+
Evaluation Metrics: We evaluate the performance using the Labeled/Unlabeled Span Score (LSS/USS) in terms of micro-averaged F1-score. We define LSS as a micro-averaged F1-score applied on tuples of predicted spans including their labels. We exclude labels of the spans while calculating USS. Additionally, we report the exact match (EM) which indicates the percentage of the compounds for which the predictions of all spans and their semantic relations are correctly identified. Refer to Appendix B for hyper-parameters and details of the computing infrastructure used.
|
| 140 |
+
|
| 141 |
+
# 5.3 Results
|
| 142 |
+
|
| 143 |
+
Table 2 presents the performance of the top-performing configurations among all baselines on the NeCTIS benchmark datasets' test set. The evaluation includes 2 levels of annotations (coarse and fine-grained) and in 2 settings (with and without context). While all baseline systems demonstrate competitiveness, no single baseline consistently outperforms the others across all settings. Consequently, we underline the best-performing numbers within each specific setting.
|
| 144 |
+
|
| 145 |
+
Our proposed system DepNeCTI surpasses all competing systems across all evaluation metrics, demonstrating an absolute average gain of 13.1 points (LSS) and 11.3 points (EM) compared to the best-performing baseline in each setting. Notably, our proposed system exhibits substantial performance superiority over the best baseline in fine-grained settings, particularly in low-resourced scenarios. This validates the effectiveness of our proposed system in low-resourced settings with fine-grained labels. The significant performance gap between our proposed system and the best baselines highlights the efficacy of employing a simple yet effective architecture inspired by the dependency parsing paradigm. These results establish new state-of-the-art benchmarks by integrating the contextual component into our novel framework. While most baselines (except BotCP) do not benefit from contextual information, DepNeCTI-LSTM
|
| 146 |
+
|
| 147 |
+
demonstrates slight improvements and DepNeCTI-XLMR shows on par improvements when leveraging contextual information. Furthermore, as the number of components grows, the number of potential solutions increases exponentially, leading to poor performance by the systems in such scenarios. Due to this exponential possibility, contextual information provides limited improvements compared to binary compound identification settings (Sandhan et al., 2022a). In other words, unlike the context-free setting, the introduction of context information does not warrant an expectation for the system to precisely generate the correct solution from the exponential candidate space. Figure 3 provides a visual representation that elucidates the concept of this exponential candidate space. A similar performance trend is observed for the NeCTIS-OOD dataset.
|
| 148 |
+
|
| 149 |
+
# 6 Analysis
|
| 150 |
+
|
| 151 |
+
Here, we examine the proposed system, focusing on a comprehensive analysis and its applicability. For this purpose, we utilize the NeCTIS coarse dataset under the w/ context configuration. We report LSS in terms of macro-average F1-scores.
|
| 152 |
+
|
| 153 |
+
(1) Ablation analysis: In this study, we analyze the impact of different system components on the overall enhancements of DepNeCTI-LSTM. Ablations, documented in Table 3, present the evaluation metrics when a specific component is deactivated within DepNeCTI-LSTM. For instance, the absence of the span encoding component is denoted as “- Span Encoding”. The results indicate that removing any component leads to a decline in performance. Notably, Table 3 highlights the significance of the “Span Encoding” component in driving the improvements.
|
| 154 |
+
|
| 155 |
+
<table><tr><td>System</td><td>P</td><td>R</td><td>F1</td><td>EM</td></tr><tr><td>DepNeCTI-LSTM</td><td>89.24</td><td>89.24</td><td>89.24</td><td>77.00</td></tr><tr><td>- FastText (FT)</td><td>88.84</td><td>88.84</td><td>88.84</td><td>76.50</td></tr><tr><td>- Span Encoding (SE)</td><td>86.18</td><td>85.53</td><td>86.85</td><td>70.54</td></tr><tr><td>- FT - SE</td><td>84.25</td><td>84.23</td><td>84.24</td><td>67.86</td></tr></table>
|
| 156 |
+
|
| 157 |
+
Table 3: Each ablation involved the removal of a singular component from DepNeCTI-LSTM. The ablation denoted as “-Span Encoding” entailed eliminating the span encoding component from the proposed system.
|
| 158 |
+
|
| 159 |
+
(2) How robust is the system when the number of components of a compound increases? We analyze the relationship between the F1-score and
|
| 160 |
+
|
| 161 |
+
the number of components in compounds. For compounds with a small number of components, all systems demonstrate high performance, but our proposed systems consistently outperforms other baselines. However, as the number of components increases, the number of examples in each category decreases. Additionally, the number of potential solutions grows exponentially, following the Catalan number. Consequently, all systems experience a decline in performance.
|
| 162 |
+
|
| 163 |
+

|
| 164 |
+
Figure 7: F1-Score against the number of components. The compounds with components $N > 10$ are excluded.
|
| 165 |
+
|
| 166 |
+
(3) Error analysis: We investigate whether all the systems are able to identify the location of a multi-component compound correctly. The motivation behind this experiment is to evaluate the capability of the baselines and the proposed architecture to leverage the information about the compound's location effectively. We define the span of text that corresponds to a compound as a global span which we know apriori. Figure 8 illustrates the effectiveness of each system in correctly identifying the global span of multi-component compounds. In
|
| 167 |
+
|
| 168 |
+

|
| 169 |
+
Figure 8: Performance of the systems on identifying the global span of a compound.
|
| 170 |
+
|
| 171 |
+
DepNeCTI-LSTM, our span encoding effectively captures this information, resulting in a perfect $100\%$ score. However, even after providing the baselines with this information, they fail to use it due to limitations in their architectures. Interestingly, DepNeCTI-XLMR does not contain a span
|
| 172 |
+
|
| 173 |
+
encoding component and leverages the compound's location information from the input as provided for the baselines. Still, DepNeCTI-XLMR reports the best performance due to its powerful word representation ability. It is worth noting that the NeC-TIS dataset exhibits an inherent bias towards left branching, as indicated by the nested tree structure. Consequently, all systems display a bias towards left branching as well. Therefore, due to the dominance of left-branching instances and increased variance due to less number of instances, a spike is observed in the results.
|
| 174 |
+
|
| 175 |
+
(4) Efficiency of our proposed system: Figure 9 present the computational efficiency of our system measured in terms of the number of sentences processed per second. We compare the inference speed of different baselines on the NeCTI task. Our systems, DepNeCTI-LSTM and DepNeCTI-XLMR are leveraging a simple architecture and utilizing dependency parsing as an appropriate problem formulation, exhibits a 5-fold/3-fold improvement over the most efficient baseline, BotCP.
|
| 176 |
+
|
| 177 |
+

|
| 178 |
+
Figure 9: Inference speed of the competing systems.
|
| 179 |
+
|
| 180 |
+
# 7 Related Works
|
| 181 |
+
|
| 182 |
+
Lexical semantics is a dedicated field focused on word meaning. Various tasks such as word-sense disambiguation (Bevilacqua and Navigli, 2020; Barba et al., 2021; Maurya et al., 2023; Maurya and Bahadur, 2022), relationship extraction (Tian et al., 2021; Nadgeri et al., 2021; Hu et al., 2022; Wang et al., 2022), and semantic role labeling (He et al., 2018; Kulkarni and Sharma, 2019; Zhang et al., 2022) play essential roles in determining word meaning. Moreover, when dealing with complex word structures such as compounds, named entities, and multi-word expressions, relying solely on basic word senses and relationships is inadequate. While efforts have been made in Noun Compound Identification (Ziering and van der Plas,
|
| 183 |
+
|
| 184 |
+
2015; Dima and Hinrichs, 2015; Fares et al., 2018; Shwartz and Waterson, 2018; Ponkiya et al., 2018, 2020, 2021), multi-word expression (MWE) (Constant et al., 2017; Gharbieh et al., 2017; Gooding et al., 2020; Premasiri and Ranasinghe, 2022) and named entity recognition (Fu et al., 2020; Yang and Tu, 2021; Lou et al., 2022; Yuan et al., 2022), the nested compounds remains unexplored.
|
| 185 |
+
|
| 186 |
+
Sanskrit Compound Type Identification has attracted significant attention over the past decade. Decoding the meaning of a Sanskrit compound requires determining its constituents (Huet, 2009; Mittal, 2010; Hellwig and Nehrdich, 2018), understanding how these constituents are grouped (Kulkarni and Kumar, 2011), identifying the semantic relationship between them (Kumar, 2012), and ultimately generating a paraphrase of the compound (Kumar et al., 2009). Previous studies proposed rule-based approaches (Satuluri and Kulkarni, 2013; Kulkarni and Kumar, 2013), a data-driven approach (Sandhan et al., 2019) and a hybrid approach (Krishna et al., 2016) for SaCTI. Sandhan et al. (2022a) proposed a context-sensitive architecture for binary compounds.
|
| 187 |
+
|
| 188 |
+
Earlier works in Sanskrit solely focused on binary compounds, neglecting the identification of multi-component compound types; however, our proposed framework fills this research gap.
|
| 189 |
+
|
| 190 |
+
# 8 Conclusion
|
| 191 |
+
|
| 192 |
+
In this work, we focused on multi-component compounding in Sanskrit, which helps to decode the implicit structure of a compound to decipher its meaning. While previous approaches have primarily focused on binary compounds, we introduced a novel task called nested compound type identification (NeCTI). This task aims to identify nested spans within multi-component compounds and decode the implicit semantic relations between them, filling a gap in the field of lexical semantics. To facilitate research in this area, we created 2 newly annotated datasets, designed explicitly for the NeCTI task. These datasets were utilized to benchmark various problem formulations. Our novel framework DepNeCTI outperformed the best baseline system by achieving a stupendous absolute gain of 13.1 points F1-score in terms of LSS. Similar to the previous findings on binary Sanskrit compound identification, we discovered that our proposed system exhibits substantial performance superiority over the best baseline in low-resourced scenarios.
|
| 193 |
+
|
| 194 |
+
# Limitations
|
| 195 |
+
|
| 196 |
+
We could not extend our framework to other languages exhibiting multi-component compounding phenomena due to the lack of availability of annotated datasets. It would be interesting to measure the effectiveness of rules from Pānīnīan grammar to discard incompatible semantic relations (Kulkarni, 2019, 2021).
|
| 197 |
+
|
| 198 |
+
# Ethics Statement
|
| 199 |
+
|
| 200 |
+
This work introduces a new task, along with annotated datasets and a framework, to address the nested compounding phenomenon in Sanskrit. The proposed resources aim to enhance the understanding of multi-component compounds and contribute to the improvement of machine translation systems. Regarding potential effects, we anticipate no harm to any community resulting from the use of our datasets and framework. However, we advise users to exercise caution, as our system is not flawless and may generate mispredictions. To ensure transparency and future research, we have publicly released all our annotated NeCTIS datasets and source codes. We confirm that our data collection adheres to the terms of use of the sources and respects the intellectual property and privacy rights of the original authors. Our annotation team consisted of qualified individuals, including Master's and Ph.D. degree holders, some of whom are Sanskrit professors. Annotators were compensated appropriately and provided with detailed instructions to ensure consistency in the annotation process. We remain committed to addressing ethical implications as we refine our systems and welcome feedback from the community to enhance our ethical practices.
|
| 201 |
+
|
| 202 |
+
# Acknowledgements
|
| 203 |
+
|
| 204 |
+
We thank all the annotators from different institutes for helping us with NeCTIS data annotation. We would like to thank Zheng Yuan, Tsinghua University (Alibaba Group), for helping us with the hyperparameter section and adapting his system for the NeCTI task. We appreciate and thank all the anonymous reviewers for their constructive feedback towards improving this work. The work was supported in part by the National Language Translation Mission (NLTM): Bhashini project by Government of India.
|
| 205 |
+
|
| 206 |
+
# References
|
| 207 |
+
|
| 208 |
+
Rahul Aralikatte, Miryam de Lhoneux, Anoop Kunchukuttan, and Anders Søgaard. 2021. Itihasa: A large-scale corpus for Sanskrit to English translation. In Proceedings of the 8th Workshop on Asian Translation (WAT2021), pages 191-197, Online. Association for Computational Linguistics.
|
| 209 |
+
Edoardo Barba, Luigi Procopio, and Roberto Navigli. 2021. ConSeC: Word sense disambiguation as continuous sense comprehension. In Proceedings of the 2021 Conference on Empirical Methods in Natural Language Processing, pages 1492-1503, Online and Punta Cana, Dominican Republic. Association for Computational Linguistics.
|
| 210 |
+
Michele Bevilacqua and Roberto Navigli. 2020. Breaking through the $80\%$ glass ceiling: Raising the state of the art in word sense disambiguation by incorporating knowledge graph information. In Proceedings of the 58th Annual Meeting of the Association for Computational Linguistics, pages 2854-2864, Online. Association for Computational Linguistics.
|
| 211 |
+
Mathieu Constant, Gülşen Eryiğit, Johanna Monti, Lonneke van der Plas, Carlos Ramisch, Michael Rosner, and Amalia Todirascu. 2017. Survey: Multiword expression processing: A Survey. Computational Linguistics, 43(4):837-892.
|
| 212 |
+
Corina Dima and Erhard Hinrichs. 2015. Automatic noun compound interpretation using deep neural networks and word embeddings. In Proceedings of the 11th International Conference on Computational Semantics, pages 173-183, London, UK. Association for Computational Linguistics.
|
| 213 |
+
Timothy Dozat and Christopher D. Manning. 2017. Deep biaffine attention for neural dependency parsing.
|
| 214 |
+
Murhaf Fares, Stephan Oepen, and Erik Velldal. 2018. Transfer and multi-task learning for noun-noun compound interpretation. In Proceedings of the 2018 Conference on Empirical Methods in Natural Language Processing, pages 1488-1498, Brussels, Belgium. Association for Computational Linguistics.
|
| 215 |
+
Yao Fu, Chuanqi Tan, Mosha Chen, Songfang Huang, and Fei Huang. 2020. Nested named entity recognition with partially-observed treecrfs.
|
| 216 |
+
Waseem Gharbieh, Virendrakumar Bhavsar, and Paul Cook. 2017. Deep learning models for multiword expression identification. In Proceedings of the 6th Joint Conference on Lexical and Computational Semantics (*SEM* 2017), pages 54-64, Vancouver, Canada. Association for Computational Linguistics.
|
| 217 |
+
Sian Gooding, Shiva Taslimipoor, and Ekaterina Kochmar. 2020. Incorporating multiword expressions in phrase complexity estimation. In Proceedings of the 1st Workshop on Tools and Resources to Empower People with REAding Difficulties (READI), pages 14-19, Marseille, France. European Language Resources Association.
|
| 218 |
+
|
| 219 |
+
Pawan Goyal and Gerard Huet. 2016. Design and analysis of a lean interface for sanskrit corpus annotation. Journal of Language Modelling, 4:145.
|
| 220 |
+
Pawan Goyal and Amba Kulkarni. 2014. Converting phrase structures to dependency structures in Sanskrit. In Proceedings of COLING 2014, the 25th International Conference on Computational Linguistics: Technical Papers, pages 1834-1843, Dublin, Ireland. Dublin City University and Association for Computational Linguistics.
|
| 221 |
+
Luheng He, Kenton Lee, Omer Levy, and Luke Zettlemoyer. 2018. Jointly predicting predicates and arguments in neural semantic role labeling. In Proceedings of the 56th Annual Meeting of the Association for Computational Linguistics (Volume 2: Short Papers), pages 364-369, Melbourne, Australia. Association for Computational Linguistics.
|
| 222 |
+
Oliver Hellwig and Sebastian Nehrdich. 2018. Sanskrit word segmentation using character-level recurrent and convolutional neural networks. In Proceedings of the 2018 Conference on Empirical Methods in Natural Language Processing, pages 2754-2763, Brussels, Belgium. Association for Computational Linguistics.
|
| 223 |
+
Chengwei Hu, Deqing Yang, Haoliang Jin, Zhen Chen, and Yanghua Xiao. 2022. Improving continual relation extraction through prototypical contrastive learning. In Proceedings of the 29th International Conference on Computational Linguistics, pages 1885-1895, Gyeongju, Republic of Korea. International Committee on Computational Linguistics.
|
| 224 |
+
Gérard Huet. 2009. Sanskrit segmentation. In Proceedings of the South Asian Languages Analysis Roundtable XXVIII, Denton, Ohio.
|
| 225 |
+
Amrith Krishna, Pavankumar Satuluri, Shubham Sharma, Apurv Kumar, and Pawan Goyal. 2016. Compound type identification in Sanskrit: What roles do the corpus and grammar play? In Proceedings of the 6th Workshop on South and Southeast Asian Natural Language Processing (WSSANLP2016), pages 1-10, Osaka, Japan. The COLING 2016 Organizing Committee.
|
| 226 |
+
Amba Kulkarni. 2019. Sanskrit Parsing based on the Theories of Shabdabodha. D. K. PrintWorld and Indian Institute of Advanced Study.
|
| 227 |
+
Amba Kulkarni. 2021. Sanskrit parsing following indian theories of verbal cognition. In ACM Transactions on Asian and Low-Resource Language Information Processing, pages 1-38.
|
| 228 |
+
Amba Kulkarni and Anil Kumar. 2011. Statistical constituency parser for sanskrit compounds. In Proceedings of ICON-2011: 9th International Conference on Natural Language Processing, International Institute of Information Technology, Hyderabad, India. Macmillan Publishers.
|
| 229 |
+
|
| 230 |
+
Amba Kulkarni and Anil Kumar. 2013. Clues from astadhyay for compound type identification. In Proceedings of the 5th International Sanskrit Computational Linguistics Symposium, IIT Bombay, India. D. K. PrintWorld and Indian Institute of Advanced Study.
|
| 231 |
+
Amba Kulkarni and Dipti Sharma. 2019. Panjinian syntactico-semantic relation labels. In Proceedings of the Fifth International Conference on Dependency Linguistics (Depling, SyntaxFest 2019), pages 198-208, Paris, France. Association for Computational Linguistics.
|
| 232 |
+
Anil Kumar. 2012. An automatic Sanskrit compound processing. Ph.D. thesis, University of Hyderabad.
|
| 233 |
+
Anil Kumar, V Sheeba, and Amba Kulkarni. 2009. Sanskrit compound paraphrase generator. In Proceedings of the ICON 2009: 7th International Conference on Natural Language Processing, University of Hyderabad, Hyderabad. Macmillan Publishers.
|
| 234 |
+
Mirella Lapata and Frank Keller. 2004. The web as a baseline: Evaluating the performance of unsupervised web-based models for a range of NLP tasks. In Proceedings of the Human Language Technology Conference of the North American Chapter of the Association for Computational Linguistics: HLT-NAACL 2004, pages 121-128, Boston, Massachusetts, USA. Association for Computational Linguistics.
|
| 235 |
+
Chao Lou, Songlin Yang, and Kewei Tu. 2022. Nested named entity recognition as latent lexicalized constituency parsing. In Proceedings of the 60th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pages 6183-6198, Dublin, Ireland. Association for Computational Linguistics.
|
| 236 |
+
Xuezhe Ma, Zeong Hu, Jingzhou Liu, Nanyun Peng, Graham Neubig, and Eduard Hovy. 2018. Stackpointer networks for dependency parsing. In Proceedings of the 56th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pages 1403-1414, Melbourne, Australia. Association for Computational Linguistics.
|
| 237 |
+
Archana Maurya and Promila Bahadur. 2022. *A Detailed Analysis of Word Sense Disambiguation Algorithms and Approaches for Indian Languages*, pages 693-710.
|
| 238 |
+
Archana Sachindeo Maurya, Promila Bahadur, and Srishti Garg. 2023. Approach toward word sense disambiguation for the english-to-sanskrit language using naive bayesian classification. In Proceedings of Third Doctoral Symposium on Computational Intelligence, pages 477-491, Singapore. Springer Nature Singapore.
|
| 239 |
+
Vipul Mittal. 2010. Automatic Sanskrit segmentizer using finite state transducers. In Proceedings of the
|
| 240 |
+
|
| 241 |
+
ACL 2010 Student Research Workshop, pages 85-90, Uppsala, Sweden. Association for Computational Linguistics.
|
| 242 |
+
Abhishek Nadgeri, Anson Bastos, Kuldeep Singh, Isaiah Onando Mulang', Johannes Hoffart, Saeedeh Shekarpour, and Vijay Saraswat. 2021. KGPool: Dynamic knowledge graph context selection for relation extraction. In Findings of the Association for Computational Linguistics: ACL-IJCNLP 2021, pages 535-548, Online. Association for Computational Linguistics.
|
| 243 |
+
Minh Van Nguyen, Viet Duc Lai, Amir Pouran Ben Vey-seh, and Thien Huu Nguyen. 2021. Trankit: A lightweight transformer-based toolkit for multilingual natural language processing. In Proceedings of the 16th Conference of the European Chapter of the Association for Computational Linguistics: System Demonstrations, pages 80-90, Online. Association for Computational Linguistics.
|
| 244 |
+
Panini. 500 BCE. Aştadhyayi.
|
| 245 |
+
Girishkumar Ponkiya, Diptesh Kanojia, Pushpak Bhattacharyya, and Girish Palshikar. 2021. FrameNet-assisted noun compound interpretation. In Findings of the Association for Computational Linguistics: ACL-IJCNLP 2021, pages 2901-2911, Online. Association for Computational Linguistics.
|
| 246 |
+
Girishkumar Ponkiya, Rudra Murthy, Pushpak Bhattacharyya, and Girish Palshikar. 2020. Looking inside noun compounds: Unsupervised prepositional and free paraphrasing. In Findings of the Association for Computational Linguistics: EMNLP 2020, pages 4313-4323, Online. Association for Computational Linguistics.
|
| 247 |
+
Girishkumar Ponkiya, Kevin Patel, Pushpak Bhattacharyya, and Girish Palshikar. 2018. Treat us like the sequences we are: Prepositional paraphrasing of noun compounds using LSTM. In Proceedings of the 27th International Conference on Computational Linguistics, pages 1827-1836, Santa Fe, New Mexico, USA. Association for Computational Linguistics.
|
| 248 |
+
Damith Premasiri and Tharindu Ranasinghe. 2022. Bert(s) to detect multiword expressions.
|
| 249 |
+
Jivnesh Sandhan, Ashish Gupta, Hrishikesh Terdalkar, Tushar Sandhan, Suvendu Samanta, Laxmidhar Behera, and Pawan Goyal. 2022a. A novel multi-task learning approach for context-sensitive compound type identification in Sanskrit. In Proceedings of the 29th International Conference on Computational Linguistics, pages 4071-4083, Gyeongju, Republic of Korea. International Committee on Computational Linguistics.
|
| 250 |
+
Jivnesh Sandhan, Amrith Krishna, Pawan Goyal, and Laxmidhar Behera. 2019. Revisiting the role of feature engineering for compound type identification in Sanskrit. In Proceedings of the 6th International Sanskrit Computational Linguistics Symposium, pages
|
| 251 |
+
|
| 252 |
+
28-44, IIT Kharagpur, India. Association for Computational Linguistics.
|
| 253 |
+
Jivnesh Sandhan, Rathin Singha, Narein Rao, Suvendu Samanta, Laxmidhar Behera, and Pawan Goyal. 2022b. TransLIST: A transformer-based linguistically informed Sanskrit tokenizer. In Findings of the Association for Computational Linguistics: EMNLP 2022, pages 6902-6912, Abu Dhabi, United Arab Emirates. Association for Computational Linguistics.
|
| 254 |
+
Pavankumar Satuluri and Amba Kulkarni. 2013. Generation of sanskrit compounds. In Proceedings of ICON-2013: 10th International Conference on Natural Language Processing, CDAC Noida, India.
|
| 255 |
+
Vered Shwartz and Chris Waterson. 2018. Olive oil is made of olives, baby oil is made for babies: Interpreting noun compounds using paraphrases in a neural model. In Proceedings of the 2018 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, Volume 2 (Short Papers), pages 218-224, New Orleans, Louisiana. Association for Computational Linguistics.
|
| 256 |
+
Hrishikesh Terdalkar and Arnab Bhattacharya. 2019. Framework for question-answering in Sanskrit through automated construction of knowledge graphs. In Proceedings of the 6th International Sanskrit Computational Linguistics Symposium, pages 97-116, IIT Kharagpur, India. Association for Computational Linguistics.
|
| 257 |
+
Yuanhe Tian, Guimin Chen, Yan Song, and Xiang Wan. 2021. Dependency-driven relation extraction with attentive graph convolutional networks. In Proceedings of the 59th Annual Meeting of the Association for Computational Linguistics and the 11th International Joint Conference on Natural Language Processing (Volume 1: Long Papers), pages 4458-4471, Online. Association for Computational Linguistics.
|
| 258 |
+
Peiyi Wang, Yifan Song, Tianyu Liu, Rundong Gao, Binghuai Lin, Yunbo Cao, and Zhifang Sui. 2022. Less is more: Rethinking state-of-the-art continual relation extraction models with a frustratingly easy but effective approach.
|
| 259 |
+
Hang Yan, Tao Gui, Junqi Dai, Qipeng Guo, Zheng Zhang, and Xipeng Qiu. 2021. A unified generative framework for various ner subtasks.
|
| 260 |
+
Songlin Yang and Kewei Tu. 2021. Bottom-up constituency parsing and nested named entity recognition with pointer networks.
|
| 261 |
+
Zheng Yuan, Chuanqi Tan, Songfang Huang, and Fei Huang. 2022. Fusing heterogeneous factors with triaffine mechanism for nested named entity recognition.
|
| 262 |
+
Li Zhang, Ishan Jindal, and Yunyao Li. 2022. Label definitions improve semantic role labeling. In Proceedings of the 2022 Conference of the North American Chapter of the Association for Computational
|
| 263 |
+
|
| 264 |
+
Linguistics: Human Language Technologies, pages 5613-5620, Seattle, United States. Association for Computational Linguistics.
|
| 265 |
+
|
| 266 |
+
Patrick Ziering and Lonneke van der Plas. 2015. From a distance: Using cross-lingual word alignments for noun compound bracketing. In Proceedings of the 11th International Conference on Computational Semantics, pages 82–87, London, UK. Association for Computational Linguistics.
|
| 267 |
+
|
| 268 |
+
# A Why NeCTI as a Dependency Parsing Task?
|
| 269 |
+
|
| 270 |
+
Compounds in language are semantic constructions. While a limited number of rules derived from Sanskrit Grammar aid in determining the syntactic structure of a compound, they offer limited assistance in uncovering its meaning. The meaning of a compound primarily arises from the semantic relationship between its components. This semantic relationship, known as "sāmarthya," is expressed through various types of semantic compounds. These compound types also facilitate the identification of the headword within a compound. The headword can be one of the constituents or an entirely distinct word modified by the resulting compound. Compounds consisting of more than two components are typically formed through successive binary combinations of the components, following specific relations. As a result, a nested structure of binary compounds is created, with a few exceptions. Therefore, the semantic compound types play a vital role in determining the correct nested structure amidst the various possible structures of a compound. Each of these structures represents a constituency span, and a parser equipped with compound type identification assists in accurately identifying the appropriate constituency span.
|
| 271 |
+
|
| 272 |
+
Treating this as a constituency parsing task presents several challenges. Figure 10 illustrates the potential constituency spans for a 3-component compound $a - b - c$ , with $ab$ and $bc$ representing the intermediate compounds. First, the nested structure of compounds does not conform to a syntactic structure; instead, it follows a semantic structure based on the relations between the components rather than their position or relative co-occurrence. Second, the intermediate compounds within the structure are not categories but stem forms. Each intermediate compound serves as an entity that modifies the meanings of one of its constituents, subsequently combining with another component to form a larger compound.
|
| 273 |
+
|
| 274 |
+
Kumar (2012) formulated this as constituency parsing, where the identification of semantic compatibility was performed based on the relative co-occurrence and relative position of the components. As shown in Figure 11, the intermediate compounds, which lacked additional information, were substituted with their respective semantic compound types in the type identification stage.
|
| 275 |
+
|
| 276 |
+

|
| 277 |
+
Figure 10: Possible constituency spans for a three component compound a-b-c
|
| 278 |
+
|
| 279 |
+

|
| 280 |
+
|
| 281 |
+

|
| 282 |
+
Figure 11: Possible constituency spans for a three component compound a-b-c with semantic types
|
| 283 |
+
|
| 284 |
+

|
| 285 |
+
Figure 12: Dependency Structure for the three component compound a-b-c with semantic types as labels
|
| 286 |
+
|
| 287 |
+
The semantic types serve as semantic constructions for compounds, rather than being syntactic categories and play a crucial role in determining the meaning of the compound. For example the compound vidyālayaghanṭa has the nested structure «vidyā-alaya>T6-ghanṭa>T6. The type T6 indicatesṣaṭṭi tatpurusa compound (6<sup>th</sup> case determinative compound) inferring a possessive relationship. Vidyā (knowledge) and alaya (place) combine to form the intermediate compound vidyālaya (the place of knowledge, viz. school), which combines with ghantā (bell) to form the whole compound indicating school-bell. The possessive relation expressed by the compound type (T6) is akin to a dependency relation, and this holds true for other compound types as well.
|
| 288 |
+
|
| 289 |
+
Consequently, when represented with compound types, the same constituency spans can be depicted as dependency structures by annotating the types as directed relations and removing the extra nodes indicating the types. The dependency structures for the previous example $(a - b - c)$ are shown in Figure 12. Furthermore, the head words are not explicitly marked in constituency spans and can only be identified through their corresponding types. However, with dependency structures, the
|
| 290 |
+
|
| 291 |
+
head word can be determined by the labels directed towards it within the compound. Notably, these dependency structures faithfully capture the constituency information and are mutually convertible with their corresponding constituency spans.
|
| 292 |
+
|
| 293 |
+

|
| 294 |
+
|
| 295 |
+

|
| 296 |
+
|
| 297 |
+
There are several considerations behind the decision to treat NeCTI as a dependency parsing task. First, the semantic relations among compound components resemble dependency relations and can be represented as directed labels within the dependency parse structure. Second, this approach concisely represents the semantic relations between compound components without introducing extra intermediary nodes. Lastly, it enables the simultaneous identification of the structure or constituency span alongside the identification of compound types.
|
| 298 |
+
|
| 299 |
+
# B Experiment Details
|
| 300 |
+
|
| 301 |
+
Hyper-parameters: For our proposed system, we build on the top of the codebase from BiAFF, as developed by Ma et al. (2018). We configure the hyperparameters as follows: a batch size of 16, 100 training iterations, a dropout rate of 0.33, 2 stacked Bi-LSTM layers, a learning rate of 0.002, and the remaining parameters set identically to those used in the work of Ma et al. (2018). We use manual tuning for the hyper-parameter selection and F1-score criteria on dev set's performance. Our codebase is publicly available and released under a creative-common license. We use FastText word embeddings for the proposed framework.
|
| 302 |
+
|
| 303 |
+
Computing Infrastructure Used: We perform our experiments using a single GPU equipped with an NVIDIA A40, 48 GB GPU memory, and 10752 CUDA cores. We employ a single GPU with an NVIDIA Quadro RTX 4000, 8 GB GPU memory, and 2304 CUDA cores for our proposed system.
|
2023/DepNeCTI_ Dependency-based Nested Compound Type Identification for Sanskrit/images.zip
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:367b7a4605ebee450179325e6c63f506c8d71aa3ad58af1242b3c27ec7b444fb
|
| 3 |
+
size 453767
|
2023/DepNeCTI_ Dependency-based Nested Compound Type Identification for Sanskrit/layout.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
2023/DepWiGNN_ A Depth-wise Graph Neural Network for Multi-hop Spatial Reasoning in Text/82978807-d92d-4dd8-83a8-263f59cfaa61_content_list.json
ADDED
|
@@ -0,0 +1,1753 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[
|
| 2 |
+
{
|
| 3 |
+
"type": "text",
|
| 4 |
+
"text": "DepWiGNN: A Depth-wise Graph Neural Network for Multi-hop Spatial Reasoning in Text *",
|
| 5 |
+
"text_level": 1,
|
| 6 |
+
"bbox": [
|
| 7 |
+
121,
|
| 8 |
+
89,
|
| 9 |
+
875,
|
| 10 |
+
130
|
| 11 |
+
],
|
| 12 |
+
"page_idx": 0
|
| 13 |
+
},
|
| 14 |
+
{
|
| 15 |
+
"type": "text",
|
| 16 |
+
"text": "Shuaiyi Li $^{1}$ , Yang Deng $^{2,\\dagger}$ , Wai Lam $^{1}$",
|
| 17 |
+
"bbox": [
|
| 18 |
+
337,
|
| 19 |
+
154,
|
| 20 |
+
658,
|
| 21 |
+
171
|
| 22 |
+
],
|
| 23 |
+
"page_idx": 0
|
| 24 |
+
},
|
| 25 |
+
{
|
| 26 |
+
"type": "text",
|
| 27 |
+
"text": "<sup>1</sup> The Chinese University of Hong Kong, <sup>2</sup> National University of Singapore li.shuaiyi@link.cuhk.edu.hk, ydeng@nus.edu.sg, wlam@se.cuhk.edu.hk",
|
| 28 |
+
"bbox": [
|
| 29 |
+
174,
|
| 30 |
+
171,
|
| 31 |
+
825,
|
| 32 |
+
204
|
| 33 |
+
],
|
| 34 |
+
"page_idx": 0
|
| 35 |
+
},
|
| 36 |
+
{
|
| 37 |
+
"type": "text",
|
| 38 |
+
"text": "Abstract",
|
| 39 |
+
"text_level": 1,
|
| 40 |
+
"bbox": [
|
| 41 |
+
260,
|
| 42 |
+
252,
|
| 43 |
+
339,
|
| 44 |
+
266
|
| 45 |
+
],
|
| 46 |
+
"page_idx": 0
|
| 47 |
+
},
|
| 48 |
+
{
|
| 49 |
+
"type": "text",
|
| 50 |
+
"text": "Spatial reasoning in text plays a crucial role in various real-world applications. Existing approaches for spatial reasoning typically infer spatial relations from pure text, which overlook the gap between natural language and symbolic structures. Graph neural networks (GNNs) have showcased exceptional proficiency in inducing and aggregating symbolic structures. However, classical GNNs face challenges in handling multi-hop spatial reasoning due to the over-smoothing issue, i.e., the performance decreases substantially as the number of graph layers increases. To cope with these challenges, we propose a novel Depth-Wise Graph Neural Network (DepWiGNN). Specifically, we design a novel node memory scheme and aggregate the information over the depth dimension instead of the breadth dimension of the graph, which empowers the ability to collect long dependencies without stacking multiple layers. Experimental results on two challenging multi-hop spatial reasoning datasets show that DepWiGNN outperforms existing spatial reasoning methods. The comparisons with the other three GNNs further demonstrate its superiority in capturing long dependency in the graph.",
|
| 51 |
+
"bbox": [
|
| 52 |
+
141,
|
| 53 |
+
278,
|
| 54 |
+
460,
|
| 55 |
+
649
|
| 56 |
+
],
|
| 57 |
+
"page_idx": 0
|
| 58 |
+
},
|
| 59 |
+
{
|
| 60 |
+
"type": "text",
|
| 61 |
+
"text": "1 Introduction",
|
| 62 |
+
"text_level": 1,
|
| 63 |
+
"bbox": [
|
| 64 |
+
114,
|
| 65 |
+
659,
|
| 66 |
+
258,
|
| 67 |
+
673
|
| 68 |
+
],
|
| 69 |
+
"page_idx": 0
|
| 70 |
+
},
|
| 71 |
+
{
|
| 72 |
+
"type": "text",
|
| 73 |
+
"text": "Spatial reasoning in text is crucial and indispensable in many areas, e.g., medical domain (Datta et al., 2020; Massa et al., 2015), navigations (Zhang et al., 2021; Zhang and Kordjamshidi, 2022; Chen et al., 2019) and robotics (Luo et al., 2023; Venkatesh et al., 2021). It has been demonstrated to be a challenging problem for both modern pretrained language models (PLMs) (Mirzaee et al., 2021; Deng et al., 2023a) and large language models (LLMs) like ChatGPT (Bang et al., 2023). However, early textual spatial reasoning datasets, e.g.,",
|
| 74 |
+
"bbox": [
|
| 75 |
+
112,
|
| 76 |
+
684,
|
| 77 |
+
489,
|
| 78 |
+
860
|
| 79 |
+
],
|
| 80 |
+
"page_idx": 0
|
| 81 |
+
},
|
| 82 |
+
{
|
| 83 |
+
"type": "image",
|
| 84 |
+
"img_path": "images/93f34138c5657851645495012225cbbb2be40164e2ca36b03e02f56c190b8c8c.jpg",
|
| 85 |
+
"image_caption": [
|
| 86 |
+
"Figure 1: An example of multihop spatial reasoning in text from the StepGame dataset (Shi et al., 2022)."
|
| 87 |
+
],
|
| 88 |
+
"image_footnote": [],
|
| 89 |
+
"bbox": [
|
| 90 |
+
515,
|
| 91 |
+
260,
|
| 92 |
+
884,
|
| 93 |
+
395
|
| 94 |
+
],
|
| 95 |
+
"page_idx": 0
|
| 96 |
+
},
|
| 97 |
+
{
|
| 98 |
+
"type": "text",
|
| 99 |
+
"text": "bAbI (Weston et al., 2016), suffer from the issue of over-simplicity and, therefore, is not qualified for revealing real textual spatial reasoning scenario. Recently, researchers propose several new benchmarks (Shi et al., 2022; Mirzaee and Kordjamshidi, 2022; Mirzaee et al., 2021) with an increased level of complexity, which involve more required reasoning steps, enhanced variety of spatial relation expression, and more. As shown in Figure 1, 4 steps of reasoning are required to answer the question, and spatial relation descriptions and categories are diverse.",
|
| 100 |
+
"bbox": [
|
| 101 |
+
507,
|
| 102 |
+
451,
|
| 103 |
+
884,
|
| 104 |
+
643
|
| 105 |
+
],
|
| 106 |
+
"page_idx": 0
|
| 107 |
+
},
|
| 108 |
+
{
|
| 109 |
+
"type": "text",
|
| 110 |
+
"text": "To tackle the problem of multi-hop spatial reasoning, Shi et al. (2022) propose a recurrent memory network based on Tensor Product Representation (TPR) (Schlag and Schmidhuber, 2018a), which mimics the step-by-step reasoning by iteratively updating and removing episodes from memory. Specifically, TPR encodes symbolic knowledge hidden in natural language into distributed vector space to be used for deductive reasoning. Despite the effectiveness of applying TPR memory, the performance of this model is overwhelmed by modern PLMs (Mirzaee and Kordjamshidi, 2022). Moreover, these works typically overlook the gap between natural language and symbolic relations.",
|
| 111 |
+
"bbox": [
|
| 112 |
+
507,
|
| 113 |
+
645,
|
| 114 |
+
884,
|
| 115 |
+
869
|
| 116 |
+
],
|
| 117 |
+
"page_idx": 0
|
| 118 |
+
},
|
| 119 |
+
{
|
| 120 |
+
"type": "text",
|
| 121 |
+
"text": "Graph Neural Neural Networks (GNNs) have been considerably used in multi-hop reasoning (Xu et al., 2021b; Chen et al., 2020b; Qiu et al., 2019).",
|
| 122 |
+
"bbox": [
|
| 123 |
+
507,
|
| 124 |
+
870,
|
| 125 |
+
882,
|
| 126 |
+
917
|
| 127 |
+
],
|
| 128 |
+
"page_idx": 0
|
| 129 |
+
},
|
| 130 |
+
{
|
| 131 |
+
"type": "page_footnote",
|
| 132 |
+
"text": "*This work is substantially supported by a grant from the Research Grant Council of the Hong Kong Special Administrative Region, China (Project Code: 14200719)",
|
| 133 |
+
"bbox": [
|
| 134 |
+
112,
|
| 135 |
+
866,
|
| 136 |
+
487,
|
| 137 |
+
904
|
| 138 |
+
],
|
| 139 |
+
"page_idx": 0
|
| 140 |
+
},
|
| 141 |
+
{
|
| 142 |
+
"type": "page_footnote",
|
| 143 |
+
"text": "† Corresponding author.",
|
| 144 |
+
"bbox": [
|
| 145 |
+
142,
|
| 146 |
+
904,
|
| 147 |
+
290,
|
| 148 |
+
917
|
| 149 |
+
],
|
| 150 |
+
"page_idx": 0
|
| 151 |
+
},
|
| 152 |
+
{
|
| 153 |
+
"type": "page_number",
|
| 154 |
+
"text": "6459",
|
| 155 |
+
"bbox": [
|
| 156 |
+
480,
|
| 157 |
+
927,
|
| 158 |
+
519,
|
| 159 |
+
940
|
| 160 |
+
],
|
| 161 |
+
"page_idx": 0
|
| 162 |
+
},
|
| 163 |
+
{
|
| 164 |
+
"type": "footer",
|
| 165 |
+
"text": "Findings of the Association for Computational Linguistics: EMNLP 2023, pages 6459-6471 December 6-10, 2023 ©2023 Association for Computational Linguistics",
|
| 166 |
+
"bbox": [
|
| 167 |
+
216,
|
| 168 |
+
945,
|
| 169 |
+
778,
|
| 170 |
+
972
|
| 171 |
+
],
|
| 172 |
+
"page_idx": 0
|
| 173 |
+
},
|
| 174 |
+
{
|
| 175 |
+
"type": "text",
|
| 176 |
+
"text": "These methods often treat a single graph convolutional layer of node information propagation (node to its immediate neighbors) in GNN as one step of reasoning and expand it to multi-hop reasoning by stacking multiple layers. However, increasing the number of graph convolutional layers in deep neural structures can have a detrimental effect on model performance (Li et al., 2018). This phenomenon, known as the over-smoothing problem, occurs because each layer of graph convolutions causes adjacent nodes to become more similar to each other. This paradox poses a challenge for multi-hop reasoning: although multiple layers are needed to capture multi-hop dependencies, implementing them can fail to capture these dependencies due to the over-smoothing problem. Furthermore, many chain-finding problems, e.g., multihop spatial reasoning, only require specific depth path information to solve a single question and do not demand full breadth aggregation for all neighbors (Figure 1). Nevertheless, existing methods (Palm et al., 2018; Xu et al., 2021b; Chen et al., 2020b; Deng et al., 2022) for solving this kind of problem usually lie in the propagation conducted by iterations of breadth aggregation, which brings superfluous and irrelevant information that may distract the model from the key information.",
|
| 177 |
+
"bbox": [
|
| 178 |
+
115,
|
| 179 |
+
84,
|
| 180 |
+
490,
|
| 181 |
+
517
|
| 182 |
+
],
|
| 183 |
+
"page_idx": 1
|
| 184 |
+
},
|
| 185 |
+
{
|
| 186 |
+
"type": "text",
|
| 187 |
+
"text": "In light of these challenges, we propose a novel graph-based method, named Depth-Wise Graph Neural Network (DepWiGNN), which operates over the depth instead of the breadth dimension of the graph to tackle the multi-hop spatial reasoning problem. It introduces a novel node memory implementation that only stores depth path information between nodes by applying the TPR technique. Specifically, it first initializes the node memory by filling the atomic information (spatial relation) between each pair of directly connected nodes, and then collects the relation between two indirectly connected nodes via depth-wisely retrieving and aggregating all atomic spatial relations reserved in the memory of each node in the path. The collected long-dependency information is further stored in the source node memory in the path and can be retrieved freely if the target node is given. Unlike typical existing GNNs (Morris et al., 2019; Velickovic et al., 2017; Hamilton et al., 2017; Kipf and Welling, 2017), DepWiGNN does not need to be stacked to gain long relationships between two distant nodes and, hence, is immune to the over-smoothing problem. Moreover, instead of",
|
| 188 |
+
"bbox": [
|
| 189 |
+
115,
|
| 190 |
+
533,
|
| 191 |
+
489,
|
| 192 |
+
917
|
| 193 |
+
],
|
| 194 |
+
"page_idx": 1
|
| 195 |
+
},
|
| 196 |
+
{
|
| 197 |
+
"type": "text",
|
| 198 |
+
"text": "aimlessly performing breadth aggregation on all immediate neighbors, it selectively prioritizes the key path information.",
|
| 199 |
+
"bbox": [
|
| 200 |
+
512,
|
| 201 |
+
84,
|
| 202 |
+
880,
|
| 203 |
+
131
|
| 204 |
+
],
|
| 205 |
+
"page_idx": 1
|
| 206 |
+
},
|
| 207 |
+
{
|
| 208 |
+
"type": "text",
|
| 209 |
+
"text": "Experiments on two challenging multi-hop spatial reasoning datasets show that DepWiGNN not only outperforms existing spatial reasoning methods, but also enhances the spatial reasoning capability of PLMs. The comparisons with three GNNs verify that DepWiGNN surpasses classical graph convolutional layers in capturing long dependencies by a noticeable margin without harming the performance of short dependency collection.",
|
| 210 |
+
"bbox": [
|
| 211 |
+
512,
|
| 212 |
+
133,
|
| 213 |
+
882,
|
| 214 |
+
277
|
| 215 |
+
],
|
| 216 |
+
"page_idx": 1
|
| 217 |
+
},
|
| 218 |
+
{
|
| 219 |
+
"type": "text",
|
| 220 |
+
"text": "Overall, our contributions are threefold:",
|
| 221 |
+
"bbox": [
|
| 222 |
+
529,
|
| 223 |
+
278,
|
| 224 |
+
823,
|
| 225 |
+
292
|
| 226 |
+
],
|
| 227 |
+
"page_idx": 1
|
| 228 |
+
},
|
| 229 |
+
{
|
| 230 |
+
"type": "list",
|
| 231 |
+
"sub_type": "text",
|
| 232 |
+
"list_items": [
|
| 233 |
+
"- We propose a novel graph-based method, DepWiGNN, to perform propagation over the depth dimension of a graph, which can capture long dependency without the need of stacking layers and avoid the issue of over-smoothing.",
|
| 234 |
+
"- We implement a novel node memory scheme, which takes advantage of TPR mechanism, enabling convenient memory updating and retrieval operations through simple arithmetic operations instead of neural layers.",
|
| 235 |
+
"- DepWiGNN excels in multi-hop spatial reasoning tasks, surpassing existing methods in experimental evaluations on two challenging datasets. Besides, comparisons with three other GNNs highlight its superior ability to capture long dependencies within the graph. Our code will be released via https://github.com/Syon-Li/DepWiGNN."
|
| 236 |
+
],
|
| 237 |
+
"bbox": [
|
| 238 |
+
509,
|
| 239 |
+
302,
|
| 240 |
+
882,
|
| 241 |
+
604
|
| 242 |
+
],
|
| 243 |
+
"page_idx": 1
|
| 244 |
+
},
|
| 245 |
+
{
|
| 246 |
+
"type": "text",
|
| 247 |
+
"text": "2 Related works",
|
| 248 |
+
"text_level": 1,
|
| 249 |
+
"bbox": [
|
| 250 |
+
512,
|
| 251 |
+
619,
|
| 252 |
+
667,
|
| 253 |
+
634
|
| 254 |
+
],
|
| 255 |
+
"page_idx": 1
|
| 256 |
+
},
|
| 257 |
+
{
|
| 258 |
+
"type": "text",
|
| 259 |
+
"text": "Spatial Reasoning In Text has experienced a thriving development in recent years, supported by several benchmark datasets. Weston et al. (2016) proposes the bAbI project, which contains 20 QA tasks, including one focusing on textual spatial reasoning. However, some issues exist in bAbI, such as data leakage, overly short reasoning steps, and monotony of spatial relation categories and descriptions, which makes it fails to reflect the intricacy of spatial reasoning in natural language (Shi et al., 2022). Targeting these shortages, StepGame (Shi et al., 2022) expands the spatial relation types, the diversity of relation descriptions, and the required reasoning steps. Besides, SPARTQA (Mirzaee et al., 2021) augments the number of question types from one to four: find relation (FR), find blocks (FB), choose objects (CO), and yes/no (YN), while",
|
| 260 |
+
"bbox": [
|
| 261 |
+
510,
|
| 262 |
+
645,
|
| 263 |
+
882,
|
| 264 |
+
917
|
| 265 |
+
],
|
| 266 |
+
"page_idx": 1
|
| 267 |
+
},
|
| 268 |
+
{
|
| 269 |
+
"type": "page_number",
|
| 270 |
+
"text": "6460",
|
| 271 |
+
"bbox": [
|
| 272 |
+
480,
|
| 273 |
+
928,
|
| 274 |
+
519,
|
| 275 |
+
940
|
| 276 |
+
],
|
| 277 |
+
"page_idx": 1
|
| 278 |
+
},
|
| 279 |
+
{
|
| 280 |
+
"type": "text",
|
| 281 |
+
"text": "SPARTUN (Mirzaee and Kordjamshidi, 2022) only has two question types (FR, YN) built with broader coverage of spatial relation types.",
|
| 282 |
+
"bbox": [
|
| 283 |
+
112,
|
| 284 |
+
84,
|
| 285 |
+
487,
|
| 286 |
+
134
|
| 287 |
+
],
|
| 288 |
+
"page_idx": 2
|
| 289 |
+
},
|
| 290 |
+
{
|
| 291 |
+
"type": "text",
|
| 292 |
+
"text": "Tensor Product Representation (TPR) (Schlag and Schmidhuber, 2018a) is a mechanism to encode symbolic knowledge into a vector space, which can be applied to various natural language reasoning tasks (Huang et al., 2018; Chen et al., 2020a). For example, Schlag and Schmidhuber (2018a) perform reasoning by deconstructing the language into combinatorial symbolic representations and binding them using Third-order TPR, which can be further combined with RNN to improve the model capability of making sequential inference (Schlag et al., 2021). Shi et al. (2022) used a paragraph-level, TPR memory-augmented way to implement complex multi-hop spatial reasoning. However, existing methods typically apply TPR to pure text, which neglects the gap between natural language and symbolic structures.",
|
| 293 |
+
"bbox": [
|
| 294 |
+
112,
|
| 295 |
+
141,
|
| 296 |
+
489,
|
| 297 |
+
416
|
| 298 |
+
],
|
| 299 |
+
"page_idx": 2
|
| 300 |
+
},
|
| 301 |
+
{
|
| 302 |
+
"type": "text",
|
| 303 |
+
"text": "Graph Neural Networks (GNNs) (Morris et al., 2019; Velickovic et al., 2017; Hamilton et al., 2017; Kipf and Welling, 2017) have been demonstrated to be effective in inducing and aggregating symbolic structures on other multi-hop question answering problems (Cao et al., 2019; Fang et al., 2020; Huang and Yang, 2021; Heo et al., 2022; Xu et al., 2021a; Deng et al., 2023b). In practice, the required number of graph layers grows with the multi-hop dependency between two distant nodes (Wang et al., 2021; Hong et al., 2022), which inevitably encounters the problem of oversmoothing (Li et al., 2018). Some researchers have conducted studies on relieving this problem (Wu et al., 2023; Min et al., 2020; Huang and Li, 2023; Yang et al., 2023; Liu et al., 2023; Koishekenov, 2023; Song et al., 2023). However, these methods are all breadth-aggregation-based, i.e., they only posed adjustments on breadth aggregation like improving the aggregation filters, scattering the aggregation target using the probabilistic tool, etc., but never jumping out it. In this work, we investigate a depth-wise aggregation approach that captures long-range dependencies across any distance without the need to increase the model depth.",
|
| 304 |
+
"bbox": [
|
| 305 |
+
112,
|
| 306 |
+
425,
|
| 307 |
+
490,
|
| 308 |
+
829
|
| 309 |
+
],
|
| 310 |
+
"page_idx": 2
|
| 311 |
+
},
|
| 312 |
+
{
|
| 313 |
+
"type": "text",
|
| 314 |
+
"text": "3 Method",
|
| 315 |
+
"text_level": 1,
|
| 316 |
+
"bbox": [
|
| 317 |
+
112,
|
| 318 |
+
840,
|
| 319 |
+
218,
|
| 320 |
+
854
|
| 321 |
+
],
|
| 322 |
+
"page_idx": 2
|
| 323 |
+
},
|
| 324 |
+
{
|
| 325 |
+
"type": "text",
|
| 326 |
+
"text": "3.1 Problem Definition",
|
| 327 |
+
"text_level": 1,
|
| 328 |
+
"bbox": [
|
| 329 |
+
112,
|
| 330 |
+
866,
|
| 331 |
+
310,
|
| 332 |
+
881
|
| 333 |
+
],
|
| 334 |
+
"page_idx": 2
|
| 335 |
+
},
|
| 336 |
+
{
|
| 337 |
+
"type": "text",
|
| 338 |
+
"text": "Following previous studies on spatial reasoning in text (Mirzaee et al., 2021; Shi et al., 2022; Mirzaee",
|
| 339 |
+
"bbox": [
|
| 340 |
+
112,
|
| 341 |
+
887,
|
| 342 |
+
487,
|
| 343 |
+
917
|
| 344 |
+
],
|
| 345 |
+
"page_idx": 2
|
| 346 |
+
},
|
| 347 |
+
{
|
| 348 |
+
"type": "text",
|
| 349 |
+
"text": "and Kordjamshidi, 2022), we define the problem as follows: Given a story description $S$ consisting of multiple sentences, the system aims to answer a question $Q$ based on the story $S$ by selecting a correct answer from the fixed set of given candidate answers regarding the spatial relations.",
|
| 350 |
+
"bbox": [
|
| 351 |
+
507,
|
| 352 |
+
84,
|
| 353 |
+
882,
|
| 354 |
+
181
|
| 355 |
+
],
|
| 356 |
+
"page_idx": 2
|
| 357 |
+
},
|
| 358 |
+
{
|
| 359 |
+
"type": "text",
|
| 360 |
+
"text": "3.2 The DepWiNet",
|
| 361 |
+
"text_level": 1,
|
| 362 |
+
"bbox": [
|
| 363 |
+
507,
|
| 364 |
+
195,
|
| 365 |
+
672,
|
| 366 |
+
210
|
| 367 |
+
],
|
| 368 |
+
"page_idx": 2
|
| 369 |
+
},
|
| 370 |
+
{
|
| 371 |
+
"type": "text",
|
| 372 |
+
"text": "As presented in Figure 2, the overall framework named DepWiNet consists of three modules: the entity representation extraction module, the DepWiGNN reasoning module, and the prediction module. The entity representation extraction module provides comprehensive entity embedding that is used in the reasoning module. A graph with recognized entities as nodes is constructed after obtaining entity representations, which later will be fed into DepWiGNN. The DepWiGNN reasons over the constructed graph and updates the node embedding correspondingly. The final prediction module adds the entity embedding from DepWiGNN to the embeddings from the first extraction module and applies a single step of attention (Vaswani et al., 2017) to generate the final result.",
|
| 373 |
+
"bbox": [
|
| 374 |
+
507,
|
| 375 |
+
218,
|
| 376 |
+
884,
|
| 377 |
+
475
|
| 378 |
+
],
|
| 379 |
+
"page_idx": 2
|
| 380 |
+
},
|
| 381 |
+
{
|
| 382 |
+
"type": "text",
|
| 383 |
+
"text": "Entity Representation Extraction Module We leverage PLMs to extract entity representations<sup>1</sup>. The model takes the concatenation of the story $S$ and the question $Q$ as the input and output embeddings of each token. The output embeddings are further projected using a single linear layer.",
|
| 384 |
+
"bbox": [
|
| 385 |
+
507,
|
| 386 |
+
488,
|
| 387 |
+
884,
|
| 388 |
+
586
|
| 389 |
+
],
|
| 390 |
+
"page_idx": 2
|
| 391 |
+
},
|
| 392 |
+
{
|
| 393 |
+
"type": "equation",
|
| 394 |
+
"text": "\n$$\n\\hat {\\mathbf {S}}, \\hat {\\mathbf {Q}} = \\mathbf {P L M} (S, Q) \\tag {1}\n$$\n",
|
| 395 |
+
"text_format": "latex",
|
| 396 |
+
"bbox": [
|
| 397 |
+
616,
|
| 398 |
+
599,
|
| 399 |
+
882,
|
| 400 |
+
617
|
| 401 |
+
],
|
| 402 |
+
"page_idx": 2
|
| 403 |
+
},
|
| 404 |
+
{
|
| 405 |
+
"type": "equation",
|
| 406 |
+
"text": "\n$$\n\\hat {\\mathbf {S}} _ {\\alpha} = \\hat {\\mathbf {S}} \\mathbf {W} _ {\\alpha} ^ {T} \\quad \\hat {\\mathbf {Q}} _ {\\alpha} = \\hat {\\mathbf {Q}} \\mathbf {W} _ {\\alpha} ^ {T} \\tag {2}\n$$\n",
|
| 407 |
+
"text_format": "latex",
|
| 408 |
+
"bbox": [
|
| 409 |
+
578,
|
| 410 |
+
621,
|
| 411 |
+
882,
|
| 412 |
+
642
|
| 413 |
+
],
|
| 414 |
+
"page_idx": 2
|
| 415 |
+
},
|
| 416 |
+
{
|
| 417 |
+
"type": "text",
|
| 418 |
+
"text": "where $\\mathbf{PLM}(\\cdot)$ denotes the PLM-based encoder, e.g., BERT (Devlin et al., 2019). $\\hat{\\mathbf{S}}_{\\alpha}\\in \\mathbb{R}^{r_S\\times d_h}$ , $\\hat{\\mathbf{Q}}_{\\alpha}\\in \\mathbb{R}^{r_Q\\times d_h}$ denotes the list of projected tokens of size $d_h$ in the story and question, and $\\mathbf{W}_{\\alpha}\\in \\mathbb{R}^{d_h\\times d_h}$ is the shared projection matrix. The entity representation is just the mean pooling of all token embeddings belonging to that entity.",
|
| 419 |
+
"bbox": [
|
| 420 |
+
507,
|
| 421 |
+
657,
|
| 422 |
+
882,
|
| 423 |
+
771
|
| 424 |
+
],
|
| 425 |
+
"page_idx": 2
|
| 426 |
+
},
|
| 427 |
+
{
|
| 428 |
+
"type": "text",
|
| 429 |
+
"text": "Graph Construction The entities are first recognized from the input by employing rule-based entity recognition. Specifically, in StepGame (Shi et al., 2022), the entities are represented by a single capitalized letter, so we only need to locate all single capitalized letters. For SPARTUN",
|
| 430 |
+
"bbox": [
|
| 431 |
+
507,
|
| 432 |
+
783,
|
| 433 |
+
884,
|
| 434 |
+
879
|
| 435 |
+
],
|
| 436 |
+
"page_idx": 2
|
| 437 |
+
},
|
| 438 |
+
{
|
| 439 |
+
"type": "page_footnote",
|
| 440 |
+
"text": "<sup>1</sup>Entity in this paper refers to the spatial roles defined in(Kordjamshidi et al., 2010).",
|
| 441 |
+
"bbox": [
|
| 442 |
+
507,
|
| 443 |
+
892,
|
| 444 |
+
882,
|
| 445 |
+
917
|
| 446 |
+
],
|
| 447 |
+
"page_idx": 2
|
| 448 |
+
},
|
| 449 |
+
{
|
| 450 |
+
"type": "page_number",
|
| 451 |
+
"text": "6461",
|
| 452 |
+
"bbox": [
|
| 453 |
+
480,
|
| 454 |
+
928,
|
| 455 |
+
517,
|
| 456 |
+
940
|
| 457 |
+
],
|
| 458 |
+
"page_idx": 2
|
| 459 |
+
},
|
| 460 |
+
{
|
| 461 |
+
"type": "image",
|
| 462 |
+
"img_path": "images/b5117fa614d2e7653a82fb581fdd79f1966f76c00f16390fee945063b2b92bdf.jpg",
|
| 463 |
+
"image_caption": [
|
| 464 |
+
"Figure 2: The DepWiNet framework. The entity representations are first extracted from the entity representation extraction module (left), and then a homogeneous graph is constructed based on the entity embeddings and fed into the DepWiNet reasoning module. The DepWiNet depth-wisely aggregates information for all indirectly connected node pairs, and stores it in node memories. The updated node embeddings are then passed to the prediction module."
|
| 465 |
+
],
|
| 466 |
+
"image_footnote": [],
|
| 467 |
+
"bbox": [
|
| 468 |
+
194,
|
| 469 |
+
85,
|
| 470 |
+
803,
|
| 471 |
+
300
|
| 472 |
+
],
|
| 473 |
+
"page_idx": 3
|
| 474 |
+
},
|
| 475 |
+
{
|
| 476 |
+
"type": "text",
|
| 477 |
+
"text": "and ReSQ, we use nthk RegexpParser $^2$ with self-designed grammars $^3$ to recognize entities. Entities and their embeddings are treated as nodes of the graph, and an edge between two entities exists if and only if the two entities co-occur in the same sentence. We also add an edge feature for each edge.",
|
| 478 |
+
"bbox": [
|
| 479 |
+
112,
|
| 480 |
+
395,
|
| 481 |
+
487,
|
| 482 |
+
507
|
| 483 |
+
],
|
| 484 |
+
"page_idx": 3
|
| 485 |
+
},
|
| 486 |
+
{
|
| 487 |
+
"type": "equation",
|
| 488 |
+
"text": "\n$$\nE _ {i j} = \\left\\{ \\begin{array}{l l} 0 & \\text {i f i = = j ,} \\\\ \\mathbf {e} _ {[ C L S ]} & \\text {o r t h e r w i s e .} \\end{array} \\right. \\tag {3}\n$$\n",
|
| 489 |
+
"text_format": "latex",
|
| 490 |
+
"bbox": [
|
| 491 |
+
189,
|
| 492 |
+
519,
|
| 493 |
+
487,
|
| 494 |
+
560
|
| 495 |
+
],
|
| 496 |
+
"page_idx": 3
|
| 497 |
+
},
|
| 498 |
+
{
|
| 499 |
+
"type": "text",
|
| 500 |
+
"text": "If two entities are the same (self-loop), the edge feature is just a zero tensor with a size $d_h$ ; otherwise, it is the sequence's last layer hidden state of the [CLS] token. The motivation behind treating [CLS] token as an edge feature is that it can help the model better understand the atomic relation $(k = 1)$ between two nodes (entities) so as to facilitate later depth aggregation. A straightforward justification can be found in Table 1, where all three PLMs achieve very high accuracy at $k = 1$ cases by using the [CLS] token, which demonstrates that the [CLS] token favors the understanding of the atomic relation.",
|
| 501 |
+
"bbox": [
|
| 502 |
+
112,
|
| 503 |
+
564,
|
| 504 |
+
489,
|
| 505 |
+
772
|
| 506 |
+
],
|
| 507 |
+
"page_idx": 3
|
| 508 |
+
},
|
| 509 |
+
{
|
| 510 |
+
"type": "text",
|
| 511 |
+
"text": "DepWiGNN Module The DepWiGNN module (middle part in Figure 2) is responsible for multi-hop reasoning and can collect arbitrarily distant dependency without layer stacking.",
|
| 512 |
+
"bbox": [
|
| 513 |
+
112,
|
| 514 |
+
781,
|
| 515 |
+
489,
|
| 516 |
+
846
|
| 517 |
+
],
|
| 518 |
+
"page_idx": 3
|
| 519 |
+
},
|
| 520 |
+
{
|
| 521 |
+
"type": "equation",
|
| 522 |
+
"text": "\n$$\n\\hat {V} = \\operatorname {D e p} \\operatorname {W i G N N} (\\mathcal {G}; V, E) \\tag {4}\n$$\n",
|
| 523 |
+
"text_format": "latex",
|
| 524 |
+
"bbox": [
|
| 525 |
+
186,
|
| 526 |
+
854,
|
| 527 |
+
487,
|
| 528 |
+
872
|
| 529 |
+
],
|
| 530 |
+
"page_idx": 3
|
| 531 |
+
},
|
| 532 |
+
{
|
| 533 |
+
"type": "text",
|
| 534 |
+
"text": "where $V \\in \\mathbb{R}^{|V| \\times d_h}$ and $E \\in \\mathbb{R}^{|E| \\times d_h}$ are the nodes and edges of the graph. It comprises three components: node memory initialization, long dependency collection, and spatial relation retrieval. Details of these three components will be discussed in Section 3.3.",
|
| 535 |
+
"bbox": [
|
| 536 |
+
507,
|
| 537 |
+
392,
|
| 538 |
+
884,
|
| 539 |
+
491
|
| 540 |
+
],
|
| 541 |
+
"page_idx": 3
|
| 542 |
+
},
|
| 543 |
+
{
|
| 544 |
+
"type": "text",
|
| 545 |
+
"text": "Prediction Module The node embedding updated in DepWiGNN is correspondingly added to entity embedding extracted from PLM.",
|
| 546 |
+
"bbox": [
|
| 547 |
+
507,
|
| 548 |
+
501,
|
| 549 |
+
882,
|
| 550 |
+
550
|
| 551 |
+
],
|
| 552 |
+
"page_idx": 3
|
| 553 |
+
},
|
| 554 |
+
{
|
| 555 |
+
"type": "equation",
|
| 556 |
+
"text": "\n$$\n\\hat {Z} _ {i} = \\left\\{ \\begin{array}{l l} Z _ {i} + \\hat {V} _ {i d x (i)} & \\text {i f i - t h t o k e n} \\in \\hat {V} \\\\ Z _ {i} & \\text {o r t h e r w i s e .} \\end{array} \\right. \\tag {5}\n$$\n",
|
| 557 |
+
"text_format": "latex",
|
| 558 |
+
"bbox": [
|
| 559 |
+
537,
|
| 560 |
+
560,
|
| 561 |
+
882,
|
| 562 |
+
602
|
| 563 |
+
],
|
| 564 |
+
"page_idx": 3
|
| 565 |
+
},
|
| 566 |
+
{
|
| 567 |
+
"type": "text",
|
| 568 |
+
"text": "where $Z_{i} = [\\hat{S};\\hat{Q}]$ is the ith token embedding from PLM and $\\hat{V}$ denotes the updated entity representation set. $idx(i)$ is the index of $i$ -th token in the graph nodes.",
|
| 569 |
+
"bbox": [
|
| 570 |
+
507,
|
| 571 |
+
615,
|
| 572 |
+
884,
|
| 573 |
+
680
|
| 574 |
+
],
|
| 575 |
+
"page_idx": 3
|
| 576 |
+
},
|
| 577 |
+
{
|
| 578 |
+
"type": "text",
|
| 579 |
+
"text": "Then, the sequence of token embeddings in the question and story are extracted separately to perform attention mechanism (Vaswani et al., 2017) with the query to be the sequence of question tokens embeddings $\\hat{Z}_{\\hat{\\mathbf{Q}}}$ , key and value to be the sequence of story token embeddings $\\hat{Z}_{\\hat{\\mathbf{S}}}$ .",
|
| 580 |
+
"bbox": [
|
| 581 |
+
507,
|
| 582 |
+
681,
|
| 583 |
+
885,
|
| 584 |
+
783
|
| 585 |
+
],
|
| 586 |
+
"page_idx": 3
|
| 587 |
+
},
|
| 588 |
+
{
|
| 589 |
+
"type": "equation",
|
| 590 |
+
"text": "\n$$\nR = \\sum_ {i = 0} ^ {r _ {Q}} \\left(\\operatorname {s o f t m a x} \\left(\\frac {\\hat {Z} _ {\\hat {\\mathbf {Q}}} \\hat {Z} _ {\\hat {\\mathbf {S}}} ^ {T}}{\\sqrt {d _ {h}}}\\right) \\hat {Z} _ {\\hat {\\mathbf {S}}}\\right) _ {i} \\tag {6}\n$$\n",
|
| 591 |
+
"text_format": "latex",
|
| 592 |
+
"bbox": [
|
| 593 |
+
568,
|
| 594 |
+
794,
|
| 595 |
+
882,
|
| 596 |
+
837
|
| 597 |
+
],
|
| 598 |
+
"page_idx": 3
|
| 599 |
+
},
|
| 600 |
+
{
|
| 601 |
+
"type": "equation",
|
| 602 |
+
"text": "\n$$\nC = F F N (\\operatorname {l a y e r n m} (R)) \\tag {7}\n$$\n",
|
| 603 |
+
"text_format": "latex",
|
| 604 |
+
"bbox": [
|
| 605 |
+
591,
|
| 606 |
+
840,
|
| 607 |
+
880,
|
| 608 |
+
858
|
| 609 |
+
],
|
| 610 |
+
"page_idx": 3
|
| 611 |
+
},
|
| 612 |
+
{
|
| 613 |
+
"type": "text",
|
| 614 |
+
"text": "where layernm means layer normalization and $C$ is the final logits. The result embeddings are summed over the first dimension, layernormed, and",
|
| 615 |
+
"bbox": [
|
| 616 |
+
507,
|
| 617 |
+
871,
|
| 618 |
+
882,
|
| 619 |
+
917
|
| 620 |
+
],
|
| 621 |
+
"page_idx": 3
|
| 622 |
+
},
|
| 623 |
+
{
|
| 624 |
+
"type": "page_footnote",
|
| 625 |
+
"text": "2https://www.nltk.org/api/nltk.chunk.regexp.html",
|
| 626 |
+
"bbox": [
|
| 627 |
+
134,
|
| 628 |
+
879,
|
| 629 |
+
438,
|
| 630 |
+
892
|
| 631 |
+
],
|
| 632 |
+
"page_idx": 3
|
| 633 |
+
},
|
| 634 |
+
{
|
| 635 |
+
"type": "page_footnote",
|
| 636 |
+
"text": "3r\"\"\"\"NP:<ADJ|NOUN>+<NOUN|NUM>\"\" and",
|
| 637 |
+
"bbox": [
|
| 638 |
+
134,
|
| 639 |
+
892,
|
| 640 |
+
485,
|
| 641 |
+
904
|
| 642 |
+
],
|
| 643 |
+
"page_idx": 3
|
| 644 |
+
},
|
| 645 |
+
{
|
| 646 |
+
"type": "page_footnote",
|
| 647 |
+
"text": "r\"\"\"\"NP:ADJINOUN $>$ +<VERB $>$ +<NOUNNUM>",
|
| 648 |
+
"bbox": [
|
| 649 |
+
115,
|
| 650 |
+
904,
|
| 651 |
+
453,
|
| 652 |
+
916
|
| 653 |
+
],
|
| 654 |
+
"page_idx": 3
|
| 655 |
+
},
|
| 656 |
+
{
|
| 657 |
+
"type": "page_number",
|
| 658 |
+
"text": "6462",
|
| 659 |
+
"bbox": [
|
| 660 |
+
480,
|
| 661 |
+
927,
|
| 662 |
+
519,
|
| 663 |
+
940
|
| 664 |
+
],
|
| 665 |
+
"page_idx": 3
|
| 666 |
+
},
|
| 667 |
+
{
|
| 668 |
+
"type": "image",
|
| 669 |
+
"img_path": "images/9282c7cc833d54129685fc4ca0316422997a1261d856cb969918d36c9b338705.jpg",
|
| 670 |
+
"image_caption": [
|
| 671 |
+
"Figure 3: The illustration of DepWiGNN."
|
| 672 |
+
],
|
| 673 |
+
"image_footnote": [],
|
| 674 |
+
"bbox": [
|
| 675 |
+
117,
|
| 676 |
+
80,
|
| 677 |
+
487,
|
| 678 |
+
206
|
| 679 |
+
],
|
| 680 |
+
"page_idx": 4
|
| 681 |
+
},
|
| 682 |
+
{
|
| 683 |
+
"type": "text",
|
| 684 |
+
"text": "fed into a 3-layer feedforward neural network to acquire the final result. The overall framework is trained in an end-to-end manner to minimize the cross-entropy loss between the predicted candidate answer probabilities and the ground-truth answer.",
|
| 685 |
+
"bbox": [
|
| 686 |
+
112,
|
| 687 |
+
256,
|
| 688 |
+
487,
|
| 689 |
+
338
|
| 690 |
+
],
|
| 691 |
+
"page_idx": 4
|
| 692 |
+
},
|
| 693 |
+
{
|
| 694 |
+
"type": "text",
|
| 695 |
+
"text": "3.3 Depth-wise Graph Neural Network",
|
| 696 |
+
"text_level": 1,
|
| 697 |
+
"bbox": [
|
| 698 |
+
112,
|
| 699 |
+
349,
|
| 700 |
+
436,
|
| 701 |
+
365
|
| 702 |
+
],
|
| 703 |
+
"page_idx": 4
|
| 704 |
+
},
|
| 705 |
+
{
|
| 706 |
+
"type": "text",
|
| 707 |
+
"text": "As illustrated in Figure 3, we introduce the proposed graph neural network, called DepWiGNN, i.e., the operation $\\hat{V} = \\mathsf{DepWiGNN}(\\mathcal{G};V,E)$ . Unlike existing GNNs (e.g. (Morris et al., 2019; Velickovic et al., 2017; Hamilton et al., 2017)), which counts the one-dimension node embedding itself as its memory to achieve the function of information reservation, updating, and retrieval, DepWiGNN employs a novel two-dimension node memory implementation approach that takes the advantage of TPR mechanism allowing the updating and retrieval operations of the memory to be conveniently realized by simple arithmetic operations like plus, minus and outer product. This essentially determines that the information propagation between any pair of nodes with any distance in the graph can be accomplished without the demand to iteratively apply neural layers.",
|
| 708 |
+
"bbox": [
|
| 709 |
+
112,
|
| 710 |
+
370,
|
| 711 |
+
489,
|
| 712 |
+
659
|
| 713 |
+
],
|
| 714 |
+
"page_idx": 4
|
| 715 |
+
},
|
| 716 |
+
{
|
| 717 |
+
"type": "text",
|
| 718 |
+
"text": "Node Memory Initialization At this stage, the node memories of all nodes are initialized with the relations to their immediate neighbors. In the multi-hop spatial reasoning cases, the relations will be the atomic spatial orientation relations (which only needs one hop) of the destination node relative to the source node. For example, \"X is to the left of K and is on the same horizontal plane.\" We follow the TPR mechanism (Smolensky, 1990), which uses outer product operation to bind roles and fillers<sup>4</sup>. In this work, the calculated spatial vectors are considered to be the fillers. They will be bound with corresponding node embeddings and stored in the two-dimensional node memory. Explicitly, we first",
|
| 719 |
+
"bbox": [
|
| 720 |
+
112,
|
| 721 |
+
670,
|
| 722 |
+
489,
|
| 723 |
+
894
|
| 724 |
+
],
|
| 725 |
+
"page_idx": 4
|
| 726 |
+
},
|
| 727 |
+
{
|
| 728 |
+
"type": "text",
|
| 729 |
+
"text": "acquire spatial orientation filler $f_{ij} \\in \\mathbb{R}^{d_h}$ by using a feedforward network, the input to FFN is concatenation in the form $[V_i, E_{ij}, V_j]$ . $V_i$ represents $i$ -th node embedding.",
|
| 730 |
+
"bbox": [
|
| 731 |
+
507,
|
| 732 |
+
83,
|
| 733 |
+
884,
|
| 734 |
+
149
|
| 735 |
+
],
|
| 736 |
+
"page_idx": 4
|
| 737 |
+
},
|
| 738 |
+
{
|
| 739 |
+
"type": "equation",
|
| 740 |
+
"text": "\n$$\nf _ {i j} = F F N \\left(\\left[ V _ {i}, E _ {i j}, V _ {j} \\right]\\right) \\tag {8}\n$$\n",
|
| 741 |
+
"text_format": "latex",
|
| 742 |
+
"bbox": [
|
| 743 |
+
596,
|
| 744 |
+
160,
|
| 745 |
+
882,
|
| 746 |
+
178
|
| 747 |
+
],
|
| 748 |
+
"page_idx": 4
|
| 749 |
+
},
|
| 750 |
+
{
|
| 751 |
+
"type": "equation",
|
| 752 |
+
"text": "\n$$\nM _ {i} = \\sum_ {V _ {j} \\in N (V _ {i})} f _ {i j} \\otimes V _ {j} \\tag {9}\n$$\n",
|
| 753 |
+
"text_format": "latex",
|
| 754 |
+
"bbox": [
|
| 755 |
+
591,
|
| 756 |
+
181,
|
| 757 |
+
882,
|
| 758 |
+
208
|
| 759 |
+
],
|
| 760 |
+
"page_idx": 4
|
| 761 |
+
},
|
| 762 |
+
{
|
| 763 |
+
"type": "text",
|
| 764 |
+
"text": "The filler is bound together with the corresponding destination node $V_{j}$ using the outer product. The initial node memory $M_{i}$ for node $V_{i}$ is just the summation of all outer product results of the fillers and corresponding neighbors (left part in Figure 3).",
|
| 765 |
+
"bbox": [
|
| 766 |
+
507,
|
| 767 |
+
216,
|
| 768 |
+
882,
|
| 769 |
+
298
|
| 770 |
+
],
|
| 771 |
+
"page_idx": 4
|
| 772 |
+
},
|
| 773 |
+
{
|
| 774 |
+
"type": "text",
|
| 775 |
+
"text": "Long Dependency Collection We discuss how the model collects long dependencies in this section. Since the atomic relations are bound by corresponding destinations and have already been contained in the node memories, we can easily unbind all the atomic relation fillers in a path using the corresponding atomic destination node embedding (middle part in Figure 3). For each pair of indirectly connected nodes, we first find the shortest path between them using breadth-first search (BFS). Then, all the existing atomic relation fillers along the path are unbound using the embedding of each node in the path (Eq.10).",
|
| 776 |
+
"bbox": [
|
| 777 |
+
507,
|
| 778 |
+
305,
|
| 779 |
+
884,
|
| 780 |
+
514
|
| 781 |
+
],
|
| 782 |
+
"page_idx": 4
|
| 783 |
+
},
|
| 784 |
+
{
|
| 785 |
+
"type": "equation",
|
| 786 |
+
"text": "\n$$\n\\hat {f} _ {p _ {i} \\left(p _ {i + 1}\\right)} = M _ {p _ {i}} V _ {p _ {i + 1}} ^ {T} \\tag {10}\n$$\n",
|
| 787 |
+
"text_format": "latex",
|
| 788 |
+
"bbox": [
|
| 789 |
+
613,
|
| 790 |
+
524,
|
| 791 |
+
882,
|
| 792 |
+
545
|
| 793 |
+
],
|
| 794 |
+
"page_idx": 4
|
| 795 |
+
},
|
| 796 |
+
{
|
| 797 |
+
"type": "equation",
|
| 798 |
+
"text": "\n$$\n\\hat {\\mathbf {F}} = \\operatorname {A g g r e g a t o r} (\\mathbf {F}) \\tag {11}\n$$\n",
|
| 799 |
+
"text_format": "latex",
|
| 800 |
+
"bbox": [
|
| 801 |
+
608,
|
| 802 |
+
546,
|
| 803 |
+
880,
|
| 804 |
+
565
|
| 805 |
+
],
|
| 806 |
+
"page_idx": 4
|
| 807 |
+
},
|
| 808 |
+
{
|
| 809 |
+
"type": "equation",
|
| 810 |
+
"text": "\n$$\nf _ {p _ {0} p _ {n}} = \\operatorname {l a y e r n m} (F F N (\\hat {\\mathbf {F}}) + \\hat {\\mathbf {F}}) \\tag {12}\n$$\n",
|
| 811 |
+
"text_format": "latex",
|
| 812 |
+
"bbox": [
|
| 813 |
+
547,
|
| 814 |
+
569,
|
| 815 |
+
882,
|
| 816 |
+
588
|
| 817 |
+
],
|
| 818 |
+
"page_idx": 4
|
| 819 |
+
},
|
| 820 |
+
{
|
| 821 |
+
"type": "equation",
|
| 822 |
+
"text": "\n$$\nM _ {p _ {0}} = M _ {p _ {0}} + f _ {p _ {0} p _ {n}} \\otimes V _ {p _ {n}} ^ {T} \\tag {13}\n$$\n",
|
| 823 |
+
"text_format": "latex",
|
| 824 |
+
"bbox": [
|
| 825 |
+
593,
|
| 826 |
+
590,
|
| 827 |
+
880,
|
| 828 |
+
611
|
| 829 |
+
],
|
| 830 |
+
"page_idx": 4
|
| 831 |
+
},
|
| 832 |
+
{
|
| 833 |
+
"type": "text",
|
| 834 |
+
"text": "where $p_i$ denotes the $i$ -th element in the path and $\\mathbf{F} = [\\hat{f}_{p_0p_1};\\dots;\\hat{f}_{p_{n-1}p_n}]$ is the retrieved filler set along the path. The collected relation fillers are aggregated using a selected depth aggregator like LSTM (Hochreiter and Schmidhuber, 1997), etc, and passed to a feedforward neural network to reason the relation filler between the source and destination node in the path (Eq.12). The result spatial filler is then bound with the target node embedding and added to the source node memory (Eq.13). In this way, each node memory will finally contain the spatial orientation information to every other connected node in the graph.",
|
| 835 |
+
"bbox": [
|
| 836 |
+
507,
|
| 837 |
+
620,
|
| 838 |
+
882,
|
| 839 |
+
829
|
| 840 |
+
],
|
| 841 |
+
"page_idx": 4
|
| 842 |
+
},
|
| 843 |
+
{
|
| 844 |
+
"type": "text",
|
| 845 |
+
"text": "Spatial Relation Retrieval After the collection process is completed, every node memory contains spatial relation information to all other connected nodes in the graph. Therefore, we can conveniently retrieve the spatial information from a source node",
|
| 846 |
+
"bbox": [
|
| 847 |
+
507,
|
| 848 |
+
838,
|
| 849 |
+
882,
|
| 850 |
+
917
|
| 851 |
+
],
|
| 852 |
+
"page_idx": 4
|
| 853 |
+
},
|
| 854 |
+
{
|
| 855 |
+
"type": "page_footnote",
|
| 856 |
+
"text": "4The preliminary of TPR is presented in Appendix A.",
|
| 857 |
+
"bbox": [
|
| 858 |
+
134,
|
| 859 |
+
903,
|
| 860 |
+
463,
|
| 861 |
+
917
|
| 862 |
+
],
|
| 863 |
+
"page_idx": 4
|
| 864 |
+
},
|
| 865 |
+
{
|
| 866 |
+
"type": "page_number",
|
| 867 |
+
"text": "6463",
|
| 868 |
+
"bbox": [
|
| 869 |
+
480,
|
| 870 |
+
927,
|
| 871 |
+
519,
|
| 872 |
+
940
|
| 873 |
+
],
|
| 874 |
+
"page_idx": 4
|
| 875 |
+
},
|
| 876 |
+
{
|
| 877 |
+
"type": "text",
|
| 878 |
+
"text": "to a target node by unbinding the spatial filler from the source node memory (right part in Figure 3) using a self-determined key. The key can be the target node embedding itself if the target node can be easily recognized from the question, or some computationally extracted representation from the sequence of question token embeddings if the target node is hard to discern. We use the key to unbind the spatial relation from all nodes' memory and pass the concatenation of it with source and target node embeddings to a multilayer perceptron to get the updated node embeddings.",
|
| 879 |
+
"bbox": [
|
| 880 |
+
112,
|
| 881 |
+
84,
|
| 882 |
+
489,
|
| 883 |
+
277
|
| 884 |
+
],
|
| 885 |
+
"page_idx": 5
|
| 886 |
+
},
|
| 887 |
+
{
|
| 888 |
+
"type": "equation",
|
| 889 |
+
"text": "\n$$\n\\hat {f} _ {i [ \\text {k e y} ]} = M _ {i} V _ {[ \\text {k e y} ]} ^ {T} \\tag {14}\n$$\n",
|
| 890 |
+
"text_format": "latex",
|
| 891 |
+
"bbox": [
|
| 892 |
+
228,
|
| 893 |
+
288,
|
| 894 |
+
487,
|
| 895 |
+
312
|
| 896 |
+
],
|
| 897 |
+
"page_idx": 5
|
| 898 |
+
},
|
| 899 |
+
{
|
| 900 |
+
"type": "equation",
|
| 901 |
+
"text": "\n$$\n\\hat {V} _ {i} = F F N ([ V _ {i}, \\mathbf {l a y e r n m} (f _ {i [ k e y ]}), V _ {[ k e y ]} ]) \\tag {15}\n$$\n",
|
| 902 |
+
"text_format": "latex",
|
| 903 |
+
"bbox": [
|
| 904 |
+
124,
|
| 905 |
+
313,
|
| 906 |
+
487,
|
| 907 |
+
335
|
| 908 |
+
],
|
| 909 |
+
"page_idx": 5
|
| 910 |
+
},
|
| 911 |
+
{
|
| 912 |
+
"type": "text",
|
| 913 |
+
"text": "The updated node embeddings are then passed to the prediction module to get the final result.",
|
| 914 |
+
"bbox": [
|
| 915 |
+
112,
|
| 916 |
+
347,
|
| 917 |
+
485,
|
| 918 |
+
378
|
| 919 |
+
],
|
| 920 |
+
"page_idx": 5
|
| 921 |
+
},
|
| 922 |
+
{
|
| 923 |
+
"type": "text",
|
| 924 |
+
"text": "4 Experiments",
|
| 925 |
+
"text_level": 1,
|
| 926 |
+
"bbox": [
|
| 927 |
+
112,
|
| 928 |
+
392,
|
| 929 |
+
260,
|
| 930 |
+
409
|
| 931 |
+
],
|
| 932 |
+
"page_idx": 5
|
| 933 |
+
},
|
| 934 |
+
{
|
| 935 |
+
"type": "text",
|
| 936 |
+
"text": "4.1 Experimental Setups",
|
| 937 |
+
"text_level": 1,
|
| 938 |
+
"bbox": [
|
| 939 |
+
112,
|
| 940 |
+
419,
|
| 941 |
+
324,
|
| 942 |
+
435
|
| 943 |
+
],
|
| 944 |
+
"page_idx": 5
|
| 945 |
+
},
|
| 946 |
+
{
|
| 947 |
+
"type": "text",
|
| 948 |
+
"text": "Datasets & Evaluation Metrics We investigated our model on StepGame (Shi et al., 2022) and ReSQ (Mirzaee and Kordjamshidi, 2022) datasets, which were recently published for multi-hop spatial reasoning. StepGame is a synthetic textual QA dataset that has a number of relations $(k)$ ranging from 1 to 10. In particular, we follow the experimental procedure in the original paper (Shi et al., 2022), which utilized the TrainVersion of the dataset containing 10,000/1,000 training/validation clean samples for each $k$ value from 1 to 5 and 10,000 noisy test examples for $k$ value from 1 to 10. The test set contains three kinds of distraction noise: disconnected, irrelevant, and supporting. ReSQ is a crowdsourcing benchmark that includes only Yes/No questions with 1008, 333, and 610 examples for training, validating, and testing respectively. Since it is human-generated, it can reflect the natural complexity of real-world spatial description. Following the setup in (Shi et al., 2022; Mirzaee and Kordjamshidi, 2022), we report the accuracy on corresponding test sets for all experiments.",
|
| 949 |
+
"bbox": [
|
| 950 |
+
112,
|
| 951 |
+
441,
|
| 952 |
+
489,
|
| 953 |
+
796
|
| 954 |
+
],
|
| 955 |
+
"page_idx": 5
|
| 956 |
+
},
|
| 957 |
+
{
|
| 958 |
+
"type": "text",
|
| 959 |
+
"text": "Baselines For StepGame, we select all traditional reasoning models used in the original paper (Shi et al., 2022) and three PLMs, i.e., BERT (Devlin et al., 2019), RoBERTa (Liu et al., 2019), and ALBERT (Lan et al., 2020) as our baselines. For ReSQ, we also follow the experiment setting described in (Mirzaee and Kordjamshidi, 2022),",
|
| 960 |
+
"bbox": [
|
| 961 |
+
112,
|
| 962 |
+
806,
|
| 963 |
+
489,
|
| 964 |
+
919
|
| 965 |
+
],
|
| 966 |
+
"page_idx": 5
|
| 967 |
+
},
|
| 968 |
+
{
|
| 969 |
+
"type": "text",
|
| 970 |
+
"text": "which used BERT with or without further synthetic supervision as baselines.",
|
| 971 |
+
"bbox": [
|
| 972 |
+
507,
|
| 973 |
+
84,
|
| 974 |
+
880,
|
| 975 |
+
116
|
| 976 |
+
],
|
| 977 |
+
"page_idx": 5
|
| 978 |
+
},
|
| 979 |
+
{
|
| 980 |
+
"type": "text",
|
| 981 |
+
"text": "Implementation Details For all experiments, we use the base version of corresponding PLMs, which has 768 embedding dimensions. The model was trained in an end-to-end manner using Adam optimizer (Kingma and Ba, 2015). The training was stopped if, up to 3 epochs, there is no improvement greater than 1e-3 on the cross-entropy loss for the validation set. We also applied a Pytorch training scheduler that reduces the learning rate with a factor of 0.1 if the improvement of cross-entropy loss on the validation set is lower than 1e-3 for 2 epochs. In terms of the determination of the key in the Spatial Relation Retrieval part, we used the target node embedding for StepGame since it can be easily recognized, and we employed a single linear layer to extract the key representation from the sum-aggregated question token embeddings for ReSQ. In the StepGame experiment, we fine-tune the model on the training set and test it on the test set. For ReSQ, we follow the procedure in (Mirzaee and Kordjamshidi, 2022) to test the model on ReSQ with or without further supervision from SPARTUN (Mirzaee and Kordjamshidi, 2022). Unless specified, all the experiments use LSTM (Hochreiter and Schmidhuber, 1997) as depth aggregator by default. The detailed hyperparameter settings are given in the Appendix B.",
|
| 982 |
+
"bbox": [
|
| 983 |
+
507,
|
| 984 |
+
128,
|
| 985 |
+
884,
|
| 986 |
+
562
|
| 987 |
+
],
|
| 988 |
+
"page_idx": 5
|
| 989 |
+
},
|
| 990 |
+
{
|
| 991 |
+
"type": "text",
|
| 992 |
+
"text": "4.2 Overall Performance",
|
| 993 |
+
"text_level": 1,
|
| 994 |
+
"bbox": [
|
| 995 |
+
507,
|
| 996 |
+
575,
|
| 997 |
+
721,
|
| 998 |
+
589
|
| 999 |
+
],
|
| 1000 |
+
"page_idx": 5
|
| 1001 |
+
},
|
| 1002 |
+
{
|
| 1003 |
+
"type": "text",
|
| 1004 |
+
"text": "Table 1 and 2 report the experiment results on StepGame and ReSQ respectively. As shown in Table 1, PLMs overwhelmingly outperform all the traditional reasoning models and the proposed DeepWiNet overtakes the PLMs by a large margin, especially for the cases with greater $k$ where the multi-hop reasoning capability plays a more important role. This aligns with the characteristics of our model architecture that the aggregation focuses on the depth dimension, which effectively avoids the problem of over-smoothing and the mixture of redundant information from the breadth aggregation. Despite the model being only trained on clean distraction-noise-absent samples with $k$ from 1 to 5, it achieves impressive performance on the distraction-noise-present test data with $k$ value from 6 to 10, demonstrating the more advanced generalization capability of our model. Moreover, our method also entails an improvement for the examples with lower $k$ values for BERT and AL",
|
| 1005 |
+
"bbox": [
|
| 1006 |
+
507,
|
| 1007 |
+
596,
|
| 1008 |
+
884,
|
| 1009 |
+
917
|
| 1010 |
+
],
|
| 1011 |
+
"page_idx": 5
|
| 1012 |
+
},
|
| 1013 |
+
{
|
| 1014 |
+
"type": "page_number",
|
| 1015 |
+
"text": "6464",
|
| 1016 |
+
"bbox": [
|
| 1017 |
+
480,
|
| 1018 |
+
928,
|
| 1019 |
+
521,
|
| 1020 |
+
940
|
| 1021 |
+
],
|
| 1022 |
+
"page_idx": 5
|
| 1023 |
+
},
|
| 1024 |
+
{
|
| 1025 |
+
"type": "table",
|
| 1026 |
+
"img_path": "images/c4f4fba40f83db2041777c7d39bd9a2bf0e855ac4758d1d65b7d8be8fca2d93b.jpg",
|
| 1027 |
+
"table_caption": [],
|
| 1028 |
+
"table_footnote": [],
|
| 1029 |
+
"table_body": "<table><tr><td>Method</td><td>k=1</td><td>k=2</td><td>k=3</td><td>k=4</td><td>k=5</td><td>k=6</td><td>k=7</td><td>k=8</td><td>k=9</td><td>k=10</td><td>Mean(k=1-5)</td><td>Mean(k=6-10)</td></tr><tr><td>RN (Santoro et al., 2017)</td><td>22.64</td><td>17.08</td><td>15.08</td><td>12.84</td><td>11.52</td><td>11.12</td><td>11.53</td><td>11.21</td><td>11.13</td><td>11.34</td><td>15.83</td><td>11.27</td></tr><tr><td>RRN (Palm et al., 2018)</td><td>24.05</td><td>19.98</td><td>16.03</td><td>13.22</td><td>12.31</td><td>11.62</td><td>11.40</td><td>11.83</td><td>11.22</td><td>11.69</td><td>17.12</td><td>11.56</td></tr><tr><td>UT (Dehghani et al., 2019)</td><td>45.11</td><td>28.36</td><td>17.41</td><td>14.07</td><td>13.45</td><td>12.73</td><td>12.11</td><td>11.40</td><td>11.41</td><td>11.74</td><td>23.68</td><td>11.88</td></tr><tr><td>STM (Le et al., 2020)</td><td>53.42</td><td>35.96</td><td>23.03</td><td>18.45</td><td>15.14</td><td>13.80</td><td>12.63</td><td>11.54</td><td>11.30</td><td>11.77</td><td>29.20</td><td>12.21</td></tr><tr><td>TPR-RNN (Schlag and Schmidhuber, 2018b)</td><td>70.29</td><td>46.03</td><td>36.14</td><td>26.82</td><td>24.77</td><td>22.25</td><td>19.88</td><td>15.45</td><td>13.01</td><td>12.65</td><td>40.81</td><td>16.65</td></tr><tr><td>TP-MANN (Shi et al., 2022)</td><td>85.77</td><td>60.31</td><td>50.18</td><td>37.45</td><td>31.25</td><td>28.53</td><td>26.45</td><td>23.67</td><td>22.52</td><td>21.46</td><td>52.99</td><td>24.53</td></tr><tr><td>BERT (Mirzaee and Kordjamshidi, 2022)</td><td>98.53</td><td>93.40</td><td>91.19</td><td>66.98</td><td>54.57</td><td>48.59</td><td>42.81</td><td>37.98</td><td>34.16</td><td>33.62</td><td>80.93</td><td>39.43</td></tr><tr><td>RoBERTa* (Mirzaee and Kordjamshidi, 2022)</td><td>98.68</td><td>97.05</td><td>95.66</td><td>79.59</td><td>74.89</td><td>70.67</td><td>66.01</td><td>61.42</td><td>57.20</td><td>54.53</td><td>89.17</td><td>61.93</td></tr><tr><td>ALBERT* (Mirzaee and Kordjamshidi, 2022)</td><td>98.56</td><td>97.56</td><td>96.08</td><td>90.01</td><td>83.33</td><td>77.24</td><td>71.57</td><td>64.47</td><td>60.02</td><td>56.18</td><td>93.11</td><td>65.90</td></tr><tr><td>DepWiNet (BERT)</td><td>98.44</td><td>96.57</td><td>94.75</td><td>81.41</td><td>70.68</td><td>62.80</td><td>57.46</td><td>49.14</td><td>45.56</td><td>44.01</td><td>88.37+9.2%</td><td>51.79+31.3%</td></tr><tr><td>DepWiNet (RoBERTa)</td><td>98.70</td><td>96.69</td><td>95.54</td><td>79.50</td><td>74.94</td><td>70.37</td><td>66.22</td><td>61.89</td><td>58.01</td><td>56.89</td><td>89.07-0.1%</td><td>62.68+1.2%</td></tr><tr><td>DepWiNet (ALBERT)</td><td>98.59</td><td>97.13</td><td>95.87</td><td>91.96</td><td>87.50</td><td>82.62</td><td>77.80</td><td>71.40</td><td>67.55</td><td>64.98</td><td>94.21+1.2%</td><td>72.87+10.6%</td></tr></table>",
|
| 1030 |
+
"bbox": [
|
| 1031 |
+
114,
|
| 1032 |
+
80,
|
| 1033 |
+
884,
|
| 1034 |
+
288
|
| 1035 |
+
],
|
| 1036 |
+
"page_idx": 6
|
| 1037 |
+
},
|
| 1038 |
+
{
|
| 1039 |
+
"type": "table",
|
| 1040 |
+
"img_path": "images/7fb024c5e63d60a148c58f439467e8b2c1fd9d346904739a104768533635d234.jpg",
|
| 1041 |
+
"table_caption": [
|
| 1042 |
+
"Table 1: Experimental results on StepGame. * denotes the implementation of the same model as BERT (Mirzaee and Kordjamshidi, 2022) with RoBERTa and ALBERT. The other results are reported in (Shi et al., 2022)."
|
| 1043 |
+
],
|
| 1044 |
+
"table_footnote": [],
|
| 1045 |
+
"table_body": "<table><tr><td>Method</td><td>SynSup</td><td>ReSQ</td></tr><tr><td>Majority Baseline</td><td>-</td><td>50.21</td></tr><tr><td>BERT</td><td>-</td><td>57.37</td></tr><tr><td>BERT</td><td>SPARTQA-AUTO</td><td>55.08</td></tr><tr><td>BERT</td><td>StepGame</td><td>60.14</td></tr><tr><td>BERT</td><td>SPARTUN-S</td><td>58.03</td></tr><tr><td>BERT</td><td>SPARTUN</td><td>63.60</td></tr><tr><td>DepWiNet (BERT)</td><td>-</td><td>63.30</td></tr><tr><td>DepWiNet (BERT)</td><td>SPARTUN</td><td>65.54</td></tr></table>",
|
| 1046 |
+
"bbox": [
|
| 1047 |
+
144,
|
| 1048 |
+
349,
|
| 1049 |
+
458,
|
| 1050 |
+
500
|
| 1051 |
+
],
|
| 1052 |
+
"page_idx": 6
|
| 1053 |
+
},
|
| 1054 |
+
{
|
| 1055 |
+
"type": "text",
|
| 1056 |
+
"text": "Table 2: Experimental results on ReSQ, under the transfer learning setting (Mirzaee and Kordjamshidi, 2022).",
|
| 1057 |
+
"bbox": [
|
| 1058 |
+
112,
|
| 1059 |
+
511,
|
| 1060 |
+
489,
|
| 1061 |
+
541
|
| 1062 |
+
],
|
| 1063 |
+
"page_idx": 6
|
| 1064 |
+
},
|
| 1065 |
+
{
|
| 1066 |
+
"type": "text",
|
| 1067 |
+
"text": "BERT and an ignorable decrease for RoBERTa, which attests to the innocence of our model to the few-hop reasoning tasks.",
|
| 1068 |
+
"bbox": [
|
| 1069 |
+
112,
|
| 1070 |
+
573,
|
| 1071 |
+
487,
|
| 1072 |
+
621
|
| 1073 |
+
],
|
| 1074 |
+
"page_idx": 6
|
| 1075 |
+
},
|
| 1076 |
+
{
|
| 1077 |
+
"type": "text",
|
| 1078 |
+
"text": "Experimental results in Table 2 show that DeepWiNet reaches a new SOTA result on ReSQ for both cases where extra supervision from SPARTUN is present and absent. Excitingly, the performance of our model without extra supervision even overwhelms the performance of the BERT with extra supervision from SPARTQA-AUTO (Mirzaee et al., 2021), StepGame, and SPARTUN-S and approaches closely to the SPARTUN supervision case. All these phenomenons signify that our model has the potential to better tackle the natural intricacy of real-world spatial expressions.",
|
| 1079 |
+
"bbox": [
|
| 1080 |
+
112,
|
| 1081 |
+
625,
|
| 1082 |
+
489,
|
| 1083 |
+
819
|
| 1084 |
+
],
|
| 1085 |
+
"page_idx": 6
|
| 1086 |
+
},
|
| 1087 |
+
{
|
| 1088 |
+
"type": "text",
|
| 1089 |
+
"text": "4.3 Ablation study",
|
| 1090 |
+
"text_level": 1,
|
| 1091 |
+
"bbox": [
|
| 1092 |
+
112,
|
| 1093 |
+
841,
|
| 1094 |
+
278,
|
| 1095 |
+
858
|
| 1096 |
+
],
|
| 1097 |
+
"page_idx": 6
|
| 1098 |
+
},
|
| 1099 |
+
{
|
| 1100 |
+
"type": "text",
|
| 1101 |
+
"text": "We conduct ablation studies on the impact of the three components of DepWiGNN and different depth aggregators, as presented in Table 3.",
|
| 1102 |
+
"bbox": [
|
| 1103 |
+
112,
|
| 1104 |
+
871,
|
| 1105 |
+
487,
|
| 1106 |
+
919
|
| 1107 |
+
],
|
| 1108 |
+
"page_idx": 6
|
| 1109 |
+
},
|
| 1110 |
+
{
|
| 1111 |
+
"type": "text",
|
| 1112 |
+
"text": "Impact of DepWiNet components The model performance experiences a drastic decrease, particularly for the mean score of $k$ between 6 and 10, after the Long Dependency Collection (LDC) has been removed, verifying that this component serves a crucial role in the model. Note that the mean score for $k(6-10)$ even drops below the ALBERT baseline (Table 1). This is reasonable as the LDC is directly responsible for collecting long dependencies. We further defunctionalized the Node Memory Initialization (NMI) and then Spatial Relation Retrieval (SRR) by setting the initial fillers (Eq.8) and key representation (Eq.14) to a random vector separately. Compared with the case where only LDC was removed, both of them lead to a further decrease in small and large $k$ values.",
|
| 1113 |
+
"bbox": [
|
| 1114 |
+
507,
|
| 1115 |
+
353,
|
| 1116 |
+
884,
|
| 1117 |
+
611
|
| 1118 |
+
],
|
| 1119 |
+
"page_idx": 6
|
| 1120 |
+
},
|
| 1121 |
+
{
|
| 1122 |
+
"type": "text",
|
| 1123 |
+
"text": "Impact of Different Aggregators The results show that the mean and max pooling depth aggregators fail to understand the spatial rule as achieved by LSTM. This may be caused by the relatively less expressiveness and generalization caliber of mean and max pooling operation.",
|
| 1124 |
+
"bbox": [
|
| 1125 |
+
507,
|
| 1126 |
+
624,
|
| 1127 |
+
882,
|
| 1128 |
+
720
|
| 1129 |
+
],
|
| 1130 |
+
"page_idx": 6
|
| 1131 |
+
},
|
| 1132 |
+
{
|
| 1133 |
+
"type": "text",
|
| 1134 |
+
"text": "4.4 Comparisons with Different GNNs",
|
| 1135 |
+
"text_level": 1,
|
| 1136 |
+
"bbox": [
|
| 1137 |
+
507,
|
| 1138 |
+
734,
|
| 1139 |
+
828,
|
| 1140 |
+
750
|
| 1141 |
+
],
|
| 1142 |
+
"page_idx": 6
|
| 1143 |
+
},
|
| 1144 |
+
{
|
| 1145 |
+
"type": "text",
|
| 1146 |
+
"text": "To certify our model's capacity of collecting long dependencies as well as its immunity to the oversmoothing problem, we contrast it with four graph neural networks, namely, GCN (Kipf and Welling, 2017), GraphConv (Morris et al., 2019), GAT (Velickovic et al., 2017) and GCNII (Chen et al., 2020c). We consider the cases with the number of layers varying from 1 to 5 and select the best performance to compare. The plot of the accuracy metric is reported in Figure 4 and the corresponding best",
|
| 1147 |
+
"bbox": [
|
| 1148 |
+
507,
|
| 1149 |
+
758,
|
| 1150 |
+
884,
|
| 1151 |
+
919
|
| 1152 |
+
],
|
| 1153 |
+
"page_idx": 6
|
| 1154 |
+
},
|
| 1155 |
+
{
|
| 1156 |
+
"type": "page_number",
|
| 1157 |
+
"text": "6465",
|
| 1158 |
+
"bbox": [
|
| 1159 |
+
480,
|
| 1160 |
+
928,
|
| 1161 |
+
519,
|
| 1162 |
+
940
|
| 1163 |
+
],
|
| 1164 |
+
"page_idx": 6
|
| 1165 |
+
},
|
| 1166 |
+
{
|
| 1167 |
+
"type": "table",
|
| 1168 |
+
"img_path": "images/e46a55ae70fab0d85af269292d7d4c929fd1973f938e3a13b1a3678501045677.jpg",
|
| 1169 |
+
"table_caption": [],
|
| 1170 |
+
"table_footnote": [],
|
| 1171 |
+
"table_body": "<table><tr><td>Method</td><td>k=1</td><td>k=2</td><td>k=3</td><td>k=4</td><td>k=5</td><td>k=6</td><td>k=7</td><td>k=8</td><td>k=9</td><td>k=10</td><td>Mean(k=1-5)</td><td>Mean(k=6-10)</td></tr><tr><td>DepWiNet (ALBERT)</td><td>98,59</td><td>97.13</td><td>95.87</td><td>91.96</td><td>87.50</td><td>82.62</td><td>77.80</td><td>71.40</td><td>67.55</td><td>64.98</td><td>94.21</td><td>72.87</td></tr><tr><td>- w/o LDC</td><td>98.58</td><td>97.72</td><td>96.42</td><td>82.46</td><td>78.53</td><td>74.52</td><td>70.45</td><td>62.84</td><td>59.06</td><td>56.57</td><td>90.74-3.7%</td><td>64.69-11.2%</td></tr><tr><td>- w/o NMI & LDC</td><td>98.48</td><td>96.88</td><td>94.83</td><td>79.14</td><td>75.46</td><td>70.51</td><td>67.19</td><td>61.88</td><td>57.65</td><td>55.02</td><td>88.96-5.6%</td><td>62.45-14.3%</td></tr><tr><td>- w/o SRR & LDC</td><td>98.64</td><td>97.52</td><td>95.91</td><td>80.72</td><td>76.85</td><td>72.56</td><td>67.93</td><td>61.29</td><td>57.97</td><td>54.17</td><td>89.93-4.5%</td><td>62.78-13.8%</td></tr><tr><td>- w/ DepWiGNNmean</td><td>98.52</td><td>96.46</td><td>93.69</td><td>81.10</td><td>77.90</td><td>73.47</td><td>70.78</td><td>65.54</td><td>62.42</td><td>59.82</td><td>89.53-5.0%</td><td>66.41-8.9%</td></tr><tr><td>- w/ DepWiGNNmaxpooling</td><td>98.65</td><td>95.83</td><td>93.90</td><td>80.81</td><td>77.20</td><td>72.07</td><td>68.76</td><td>62.79</td><td>59.63</td><td>57.14</td><td>89.28-5.2%</td><td>64.08-12.1%</td></tr></table>",
|
| 1172 |
+
"bbox": [
|
| 1173 |
+
115,
|
| 1174 |
+
80,
|
| 1175 |
+
884,
|
| 1176 |
+
211
|
| 1177 |
+
],
|
| 1178 |
+
"page_idx": 7
|
| 1179 |
+
},
|
| 1180 |
+
{
|
| 1181 |
+
"type": "table",
|
| 1182 |
+
"img_path": "images/06755425936a3d90c143fb9d926cd41dcf1ce993b38d0db71c6a40ee24e039ca.jpg",
|
| 1183 |
+
"table_caption": [
|
| 1184 |
+
"Table 3: Ablation study. NMI, LDC, and SRR denotes the three stages in DepWiGNN, i.e., Node Memory Initialization, Long Dependency Collection, and Spatial Relation Retrieval, respectively."
|
| 1185 |
+
],
|
| 1186 |
+
"table_footnote": [],
|
| 1187 |
+
"table_body": "<table><tr><td>Method</td><td>k=1</td><td>k=2</td><td>k=3</td><td>k=4</td><td>k=5</td><td>k=6</td><td>k=7</td><td>k=8</td><td>k=9</td><td>k=10</td><td>Mean(k=1-5)</td><td>Mean(k=6-10)</td></tr><tr><td>ALBERT</td><td>98.56</td><td>97.56</td><td>96.08</td><td>90.01</td><td>83.33</td><td>77.24</td><td>71.57</td><td>64.47</td><td>60.02</td><td>56.18</td><td>93.11</td><td>65.90</td></tr><tr><td>w/ GCN5 (Kipf and Welling, 2017)</td><td>98.62</td><td>97.72</td><td>96.49</td><td>82.01</td><td>76.70</td><td>71.60</td><td>67.34</td><td>60.49</td><td>56.11</td><td>52.65</td><td>90.31-3.01%</td><td>61.64-6.46%</td></tr><tr><td>w/ GraphConv2 (Morris et al., 2019)</td><td>98.66</td><td>97.73</td><td>96.48</td><td>82.37</td><td>78.57</td><td>74.47</td><td>69.91</td><td>63.04</td><td>60.01</td><td>56.58</td><td>90.76-2.52%</td><td>64.80-1.67%</td></tr><tr><td>w/ GAT1 (Velickovic et al., 2017)</td><td>98.67</td><td>97.34</td><td>95.59</td><td>81.47</td><td>78.39</td><td>73.79</td><td>70.17</td><td>63.52</td><td>60.64</td><td>57.33</td><td>90.29-3.03%</td><td>65.09-1.23%</td></tr><tr><td>w/ GCNII4 (Chen et al., 2020c)</td><td>98.56</td><td>97.61</td><td>96.36</td><td>83.31</td><td>79.22</td><td>74.88</td><td>70.64</td><td>63.64</td><td>60.59</td><td>56.99</td><td>91.01-2.25%</td><td>65.35+0.01%</td></tr><tr><td>w/ DepWiGNN</td><td>98.59</td><td>97.13</td><td>95.87</td><td>91.96</td><td>87.50</td><td>82.62</td><td>77.80</td><td>71.40</td><td>67.55</td><td>64.98</td><td>94.21+1.18%</td><td>72.87+10.58%</td></tr></table>",
|
| 1188 |
+
"bbox": [
|
| 1189 |
+
115,
|
| 1190 |
+
261,
|
| 1191 |
+
882,
|
| 1192 |
+
366
|
| 1193 |
+
],
|
| 1194 |
+
"page_idx": 7
|
| 1195 |
+
},
|
| 1196 |
+
{
|
| 1197 |
+
"type": "text",
|
| 1198 |
+
"text": "Table 4: Comparisons with different GNNs. The subscripts represent the number of GNN layers. We select the best mean performance among layer number 1 to 5.",
|
| 1199 |
+
"bbox": [
|
| 1200 |
+
112,
|
| 1201 |
+
375,
|
| 1202 |
+
882,
|
| 1203 |
+
405
|
| 1204 |
+
],
|
| 1205 |
+
"page_idx": 7
|
| 1206 |
+
},
|
| 1207 |
+
{
|
| 1208 |
+
"type": "image",
|
| 1209 |
+
"img_path": "images/d7e58ce4a4ad34b5cc46e1ade07941b6b47aab671665c5017a7fb0586e832ffc.jpg",
|
| 1210 |
+
"image_caption": [
|
| 1211 |
+
"Figure 4: Impact of the layer number in different GNNs on StepGame. The solid and dashed lines denote the mean score of $(k = 1 - 5)$ and $(k = 6 - 10)$ respectively."
|
| 1212 |
+
],
|
| 1213 |
+
"image_footnote": [],
|
| 1214 |
+
"bbox": [
|
| 1215 |
+
119,
|
| 1216 |
+
430,
|
| 1217 |
+
484,
|
| 1218 |
+
605
|
| 1219 |
+
],
|
| 1220 |
+
"page_idx": 7
|
| 1221 |
+
},
|
| 1222 |
+
{
|
| 1223 |
+
"type": "text",
|
| 1224 |
+
"text": "cases are in Table 4. It is worth noting that almost all the baseline GNNs cause a reduction in the original PLM performance (Table 4). The reason for this may partially come from the breadth aggregation, which aggregates the neighbors round and round and leads to indistinguishability among entity embeddings such that the PLM reasoning process has been disturbed. The majority of baseline GNNs suffer from an apparent performance drop when increasing the number of layers (Figure 4), while our model consistently performs better and is not affected by the number of layers at all since it does not use breadth aggregation. Therefore, our model has immunity to over-smoothing problems.",
|
| 1225 |
+
"bbox": [
|
| 1226 |
+
112,
|
| 1227 |
+
694,
|
| 1228 |
+
490,
|
| 1229 |
+
919
|
| 1230 |
+
],
|
| 1231 |
+
"page_idx": 7
|
| 1232 |
+
},
|
| 1233 |
+
{
|
| 1234 |
+
"type": "image",
|
| 1235 |
+
"img_path": "images/f56bfb1e39687845f8350abe77bd1573fa2c041f747dc0bdcfee147055f9092f.jpg",
|
| 1236 |
+
"image_caption": [
|
| 1237 |
+
"Figure 5: Cases with distracting noisy from StepGame."
|
| 1238 |
+
],
|
| 1239 |
+
"image_footnote": [],
|
| 1240 |
+
"bbox": [
|
| 1241 |
+
515,
|
| 1242 |
+
430,
|
| 1243 |
+
880,
|
| 1244 |
+
573
|
| 1245 |
+
],
|
| 1246 |
+
"page_idx": 7
|
| 1247 |
+
},
|
| 1248 |
+
{
|
| 1249 |
+
"type": "text",
|
| 1250 |
+
"text": "In both small and large $k$ cases, our model outperforms the best performance of all four GNNs (including GCNII, which is specifically designed for over-smoothing issues) by a large margin (Table 4), which serves as evidence of the superiority of our model in long dependency collection.",
|
| 1251 |
+
"bbox": [
|
| 1252 |
+
507,
|
| 1253 |
+
623,
|
| 1254 |
+
882,
|
| 1255 |
+
720
|
| 1256 |
+
],
|
| 1257 |
+
"page_idx": 7
|
| 1258 |
+
},
|
| 1259 |
+
{
|
| 1260 |
+
"type": "text",
|
| 1261 |
+
"text": "4.5 Case study",
|
| 1262 |
+
"text_level": 1,
|
| 1263 |
+
"bbox": [
|
| 1264 |
+
507,
|
| 1265 |
+
730,
|
| 1266 |
+
640,
|
| 1267 |
+
745
|
| 1268 |
+
],
|
| 1269 |
+
"page_idx": 7
|
| 1270 |
+
},
|
| 1271 |
+
{
|
| 1272 |
+
"type": "text",
|
| 1273 |
+
"text": "In this section, we present case studies to intuitively show how DepWiGNN mitigates the three kinds of distracting noise introduced in StepGame, namely, disconnected, irrelevant, and supporting.",
|
| 1274 |
+
"bbox": [
|
| 1275 |
+
507,
|
| 1276 |
+
750,
|
| 1277 |
+
884,
|
| 1278 |
+
815
|
| 1279 |
+
],
|
| 1280 |
+
"page_idx": 7
|
| 1281 |
+
},
|
| 1282 |
+
{
|
| 1283 |
+
"type": "text",
|
| 1284 |
+
"text": "- The disconnected noise is the set of entities and relations that forms a new independent chain in the graph (Figure 5(a)). The node memories constructed in DepWiGNN contain spatial information about the nodes if and only if that node stays in the same connected component; otherwise, it",
|
| 1285 |
+
"bbox": [
|
| 1286 |
+
507,
|
| 1287 |
+
822,
|
| 1288 |
+
885,
|
| 1289 |
+
917
|
| 1290 |
+
],
|
| 1291 |
+
"page_idx": 7
|
| 1292 |
+
},
|
| 1293 |
+
{
|
| 1294 |
+
"type": "page_number",
|
| 1295 |
+
"text": "6466",
|
| 1296 |
+
"bbox": [
|
| 1297 |
+
480,
|
| 1298 |
+
928,
|
| 1299 |
+
521,
|
| 1300 |
+
940
|
| 1301 |
+
],
|
| 1302 |
+
"page_idx": 7
|
| 1303 |
+
},
|
| 1304 |
+
{
|
| 1305 |
+
"type": "text",
|
| 1306 |
+
"text": "has no information about the node as there is no path between them. Hence, in this case, for the questioned source node $\\mathbf{P}$ , its memory has no information for the disconnected noise $\\mathbf{T}$ and $\\mathbf{D}$ .",
|
| 1307 |
+
"bbox": [
|
| 1308 |
+
127,
|
| 1309 |
+
84,
|
| 1310 |
+
487,
|
| 1311 |
+
148
|
| 1312 |
+
],
|
| 1313 |
+
"page_idx": 8
|
| 1314 |
+
},
|
| 1315 |
+
{
|
| 1316 |
+
"type": "list",
|
| 1317 |
+
"sub_type": "text",
|
| 1318 |
+
"list_items": [
|
| 1319 |
+
"- The irrelevant noise branches the correct reasoning chain out with new entities and relations but results in no alternative reasoning path (Figure 5(b)). Hence the irrelevant noise entities will not be included in the reasoning path between the source and destination, which means that it will not affect the destination spatial filler stored in the source node memory. In this case, when the key representation (embedding of entity $\\mathbf{E}$ ) is used to unbind the spatial filler from node memory of the source node $\\mathbf{P}$ , it obtains the filler $f_{PE} = FFN(Aggregator([f_{PX}; f_{XQ}; f_{QE}])$ , which is intact to the irrelevant entity $\\mathbf{Y}$ and relation $f_{xy}$ or $f_{yx}$ .",
|
| 1320 |
+
"- The supporting noise adds new entities and relations to the original reasoning chain that provides an alternative reasoning path (Figure 5(c)). DeepWiGNN is naturally exempted from this noise for two reasons: first, it finds the shortest path between two entities, therefore, will not include $\\mathbf{I}$ and $\\mathbf{M}$ in the path; Second, even if the longer path is considered, the depth aggregator should reach the same result as the shorted one since the source and destination are the same."
|
| 1321 |
+
],
|
| 1322 |
+
"bbox": [
|
| 1323 |
+
114,
|
| 1324 |
+
162,
|
| 1325 |
+
489,
|
| 1326 |
+
561
|
| 1327 |
+
],
|
| 1328 |
+
"page_idx": 8
|
| 1329 |
+
},
|
| 1330 |
+
{
|
| 1331 |
+
"type": "text",
|
| 1332 |
+
"text": "5 Conclusion",
|
| 1333 |
+
"text_level": 1,
|
| 1334 |
+
"bbox": [
|
| 1335 |
+
114,
|
| 1336 |
+
576,
|
| 1337 |
+
247,
|
| 1338 |
+
590
|
| 1339 |
+
],
|
| 1340 |
+
"page_idx": 8
|
| 1341 |
+
},
|
| 1342 |
+
{
|
| 1343 |
+
"type": "text",
|
| 1344 |
+
"text": "In this work, we introduce DepWiGNN, a novel graph-based method that facilitates depth-wise propagation in graphs, enabling effective capture of long dependencies while mitigating the challenges of over-smoothing and excessive layer stacking. Our approach incorporates a node memory scheme leveraging the TPR mechanism, enabling simple arithmetic operations for memory updating and retrieval, instead of relying on additional neural layers. Experiments on two recently released textual multi-hop spatial reasoning datasets demonstrate the superiority of DepWiGNN in collecting long dependencies over the other three typical GNNs and its immunity to the over-smoothing problem.",
|
| 1345 |
+
"bbox": [
|
| 1346 |
+
112,
|
| 1347 |
+
604,
|
| 1348 |
+
489,
|
| 1349 |
+
829
|
| 1350 |
+
],
|
| 1351 |
+
"page_idx": 8
|
| 1352 |
+
},
|
| 1353 |
+
{
|
| 1354 |
+
"type": "text",
|
| 1355 |
+
"text": "Limitation",
|
| 1356 |
+
"text_level": 1,
|
| 1357 |
+
"bbox": [
|
| 1358 |
+
114,
|
| 1359 |
+
844,
|
| 1360 |
+
211,
|
| 1361 |
+
858
|
| 1362 |
+
],
|
| 1363 |
+
"page_idx": 8
|
| 1364 |
+
},
|
| 1365 |
+
{
|
| 1366 |
+
"type": "text",
|
| 1367 |
+
"text": "Unlike the classical GNNs, which use one-dimensional embedding as the node memory, our method applies a two-dimensional matrix-shaped",
|
| 1368 |
+
"bbox": [
|
| 1369 |
+
112,
|
| 1370 |
+
871,
|
| 1371 |
+
489,
|
| 1372 |
+
919
|
| 1373 |
+
],
|
| 1374 |
+
"page_idx": 8
|
| 1375 |
+
},
|
| 1376 |
+
{
|
| 1377 |
+
"type": "text",
|
| 1378 |
+
"text": "node memory. This poses a direct increase in memory requirement. The system has to assign extra space to store a matrix with shape $\\mathbb{R}^{d_h\\times d_h}$ for each node in the graph, which makes the method less scalable. However, it is a worthwhile trade-off because the two-dimensional node memory can potentially store $d_{h} - 1$ number of spatial fillers bound with node embeddings while keeping the size fixed, and it does not suffer from information overloading as faced by the one-dimension memory since the spatial fillers can be straightforwardly retrieved from the memory.",
|
| 1379 |
+
"bbox": [
|
| 1380 |
+
507,
|
| 1381 |
+
84,
|
| 1382 |
+
884,
|
| 1383 |
+
275
|
| 1384 |
+
],
|
| 1385 |
+
"page_idx": 8
|
| 1386 |
+
},
|
| 1387 |
+
{
|
| 1388 |
+
"type": "text",
|
| 1389 |
+
"text": "Another issue is the time complexity of finding the shortest path between every pair of nodes. For all experiments in this paper, since the edges do not have weights, the complexity is $\\mathrm{O}((\\mathrm{n} + \\mathrm{e})^{*}\\mathrm{n})$ where $\\mathbf{n}$ and $\\mathbf{e}$ are the numbers of nodes and edges, respectively. However, things will get worse if the edges in the graph are weighted. We believe this is a potential future research direction for the improvement of the algorithm.",
|
| 1390 |
+
"bbox": [
|
| 1391 |
+
507,
|
| 1392 |
+
278,
|
| 1393 |
+
884,
|
| 1394 |
+
422
|
| 1395 |
+
],
|
| 1396 |
+
"page_idx": 8
|
| 1397 |
+
},
|
| 1398 |
+
{
|
| 1399 |
+
"type": "text",
|
| 1400 |
+
"text": "References",
|
| 1401 |
+
"text_level": 1,
|
| 1402 |
+
"bbox": [
|
| 1403 |
+
510,
|
| 1404 |
+
449,
|
| 1405 |
+
608,
|
| 1406 |
+
463
|
| 1407 |
+
],
|
| 1408 |
+
"page_idx": 8
|
| 1409 |
+
},
|
| 1410 |
+
{
|
| 1411 |
+
"type": "list",
|
| 1412 |
+
"sub_type": "ref_text",
|
| 1413 |
+
"list_items": [
|
| 1414 |
+
"Yejin Bang, Samuel Cahyawijaya, Nayeon Lee, Wenliang Dai, Dan Su, Bryan Wilie, Holy Lovenia, Ziwei Ji, Tiezheng Yu, Willy Chung, Quyet V. Do, Yan Xu, and Pascale Fung. 2023. A multitask, multilingual, multimodal evaluation of chatgpt on reasoning, hallucination, and interactivity. CoRR, abs/2302.04023.",
|
| 1415 |
+
"Yu Cao, Meng Fang, and Dacheng Tao. 2019. BAG: bi-directional attention entity graph convolutional network for multi-hop reasoning question answering. In Proceedings of the 2019 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, NAACL-HLT 2019, pages 357-362.",
|
| 1416 |
+
"Howard Chen, Alane Suhr, Dipendra Misra, Noah Snavely, and Yoav Artzi. 2019. TOUCHDOWN: natural language navigation and spatial reasoning in visual street environments. In IEEE Conference on Computer Vision and Pattern Recognition, CVPR 2019, Long Beach, CA, USA, June 16-20, 2019, pages 12538-12547. Computer Vision Foundation / IEEE.",
|
| 1417 |
+
"Kezhen Chen, Qiuyuan Huang, Hamid Palangi, Paul Smolensky, Kenneth D. Forbus, and Jianfeng Gao. 2020a. Mapping natural-language problems to formal-language solutions using structured neural representations. In Proceedings of the 37th International Conference on Machine Learning, ICML 2020, 13-18 July 2020, Virtual Event, volume 119 of Proceedings of Machine Learning Research, pages 1566-1575. PMLR.",
|
| 1418 |
+
"Kunlong Chen, Weidi Xu, Xingyi Cheng, Zou Xiaochuan, Yuyu Zhang, Le Song, Taifeng Wang, Yuan"
|
| 1419 |
+
],
|
| 1420 |
+
"bbox": [
|
| 1421 |
+
509,
|
| 1422 |
+
470,
|
| 1423 |
+
885,
|
| 1424 |
+
919
|
| 1425 |
+
],
|
| 1426 |
+
"page_idx": 8
|
| 1427 |
+
},
|
| 1428 |
+
{
|
| 1429 |
+
"type": "page_number",
|
| 1430 |
+
"text": "6467",
|
| 1431 |
+
"bbox": [
|
| 1432 |
+
480,
|
| 1433 |
+
928,
|
| 1434 |
+
519,
|
| 1435 |
+
940
|
| 1436 |
+
],
|
| 1437 |
+
"page_idx": 8
|
| 1438 |
+
},
|
| 1439 |
+
{
|
| 1440 |
+
"type": "list",
|
| 1441 |
+
"sub_type": "ref_text",
|
| 1442 |
+
"list_items": [
|
| 1443 |
+
"Qi, and Wei Chu. 2020b. Question directed graph attention network for numerical reasoning over text. In Proceedings of the 2020 Conference on Empirical Methods in Natural Language Processing, EMNLP 2020, Online, November 16-20, 2020, pages 6759-6768. Association for Computational Linguistics.",
|
| 1444 |
+
"Ming Chen, Zhewei Wei, Zengfeng Huang, Bolin Ding, and Yaliang Li. 2020c. Simple and deep graph convolutional networks. In Proceedings of the 37th International Conference on Machine Learning, ICML 2020, 13-18 July 2020, Virtual Event, volume 119 of Proceedings of Machine Learning Research, pages 1725-1735. PMLR.",
|
| 1445 |
+
"Surabhi Datta, Yuqi Si, Laritza Rodriguez, Sonya E. Shooshan, Dina Demner-Fushman, and Kirk Roberts. 2020. Understanding spatial language in radiology: Representation framework, annotation, and spatial relation extraction from chest x-ray reports using deep learning. J. Biomed. Informatics, 108:103473.",
|
| 1446 |
+
"Mostafa Dehghani, Stephan Gouws, Oriol Vinyals, Jakob Uszkoreit, and Lukasz Kaiser. 2019. Universal transformers. In 7th International Conference on Learning Representations, ICLR 2019, New Orleans, LA, USA, May 6-9, 2019. OpenReview.net.",
|
| 1447 |
+
"Yang Deng, Shuaiyi Li, and Wai Lam. 2023a. Learning to ask clarification questions with spatial reasoning. In Proceedings of the 46th International ACM SIGIR Conference on Research and Development in Information Retrieval, SIGIR 2023, pages 2113-2117.",
|
| 1448 |
+
"Yang Deng, Yuexiang Xie, Yaliang Li, Min Yang, Wai Lam, and Ying Shen. 2022. Contextualized knowledge-aware attentive neural network: Enhancing answer selection with knowledge. ACM Trans. Inf. Syst., 40(1):2:1-2:33.",
|
| 1449 |
+
"Yang Deng, Wenxuan Zhang, Weiwen Xu, Ying Shen, and Wai Lam. 2023b. Nonfactoid question answering as query-focused summarization with graph-enhanced multihop inference. IEEE Transactions on Neural Networks and Learning Systems.",
|
| 1450 |
+
"Jacob Devlin, Ming-Wei Chang, Kenton Lee, and Kristina Toutanova. 2019. BERT: pre-training of deep bidirectional transformers for language understanding. In Proceedings of the 2019 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, NAACL-HLT 2019, Minneapolis, MN, USA, June 2-7, 2019, Volume 1 (Long and Short Papers), pages 4171-4186. Association for Computational Linguistics.",
|
| 1451 |
+
"Yuwei Fang, Siqi Sun, Zhe Gan, Rohit Pillai, Shuo-hang Wang, and Jingjing Liu. 2020. Hierarchical graph network for multi-hop question answering. In Proceedings of the 2020 Conference on Empirical Methods in Natural Language Processing, EMNLP 2020, pages 8823-8838."
|
| 1452 |
+
],
|
| 1453 |
+
"bbox": [
|
| 1454 |
+
115,
|
| 1455 |
+
85,
|
| 1456 |
+
489,
|
| 1457 |
+
917
|
| 1458 |
+
],
|
| 1459 |
+
"page_idx": 9
|
| 1460 |
+
},
|
| 1461 |
+
{
|
| 1462 |
+
"type": "list",
|
| 1463 |
+
"sub_type": "ref_text",
|
| 1464 |
+
"list_items": [
|
| 1465 |
+
"William L. Hamilton, Zhitao Ying, and Jure Leskovec. 2017. Inductive representation learning on large graphs. In Advances in Neural Information Processing Systems 30: Annual Conference on Neural Information Processing Systems 2017, December 4-9, 2017, Long Beach, CA, USA, pages 1024-1034.",
|
| 1466 |
+
"Yu-Jung Heo, Eun-Sol Kim, Woo Suk Choi, and Byoung-Tak Zhang. 2022. Hypergraph transformer: Weakly-supervised multi-hop reasoning for knowledge-based visual question answering. In Proceedings of the 60th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), ACL 2022, pages 373-390.",
|
| 1467 |
+
"Sepp Hochreiter and Jürgen Schmidhuber. 1997. Long short-term memory. Neural Comput., 9(8):1735-1780.",
|
| 1468 |
+
"Giwon Hong, Jeonghwan Kim, Junmo Kang, and Sung-Hyon Myaeng. 2022. Graph-induced transformers for efficient multi-hop question answering. In Proceedings of the 2022 Conference on Empirical Methods in Natural Language Processing, EMNLP 2022, pages 10288-10294.",
|
| 1469 |
+
"Qiuyuan Huang, Paul Smolensky, Xiaodong He, Li Deng, and Dapeng Oliver Wu. 2018. Tensor product generation networks for deep NLP modeling. In Proceedings of the 2018 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, NAACL-HLT 2018, New Orleans, Louisiana, USA, June 1-6, 2018, Volume 1 (Long Papers), pages 1263-1273. Association for Computational Linguistics.",
|
| 1470 |
+
"Rui Huang and Ping Li. 2023. Hub-hub connections matter: Improving edge dropout to relieve oversmoothing in graph neural networks. Knowl. Based Syst., 270:110556.",
|
| 1471 |
+
"Yongjie Huang and Meng Yang. 2021. Breadth first reasoning graph for multi-hop question answering. In Proceedings of the 2021 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, NAACL-HLT 2021, pages 5810-5821.",
|
| 1472 |
+
"Diederik P. Kingma and Jimmy Ba. 2015. Adam: A method for stochastic optimization. In 3rd International Conference on Learning Representations, ICLR 2015, San Diego, CA, USA, May 7-9, 2015, Conference Track Proceedings.",
|
| 1473 |
+
"Thomas N. Kipf and Max Welling. 2017. Semi-supervised classification with graph convolutional networks. In 5th International Conference on Learning Representations, ICLR 2017, Toulon, France, April 24-26, 2017, Conference Track Proceedings. OpenReview.net.",
|
| 1474 |
+
"Yeskendir Koishekenov. 2023. Reducing oversmoothing in graph neural networks using relational embeddings. CoRR, abs/2301.02924."
|
| 1475 |
+
],
|
| 1476 |
+
"bbox": [
|
| 1477 |
+
510,
|
| 1478 |
+
85,
|
| 1479 |
+
882,
|
| 1480 |
+
917
|
| 1481 |
+
],
|
| 1482 |
+
"page_idx": 9
|
| 1483 |
+
},
|
| 1484 |
+
{
|
| 1485 |
+
"type": "page_number",
|
| 1486 |
+
"text": "6468",
|
| 1487 |
+
"bbox": [
|
| 1488 |
+
480,
|
| 1489 |
+
928,
|
| 1490 |
+
519,
|
| 1491 |
+
940
|
| 1492 |
+
],
|
| 1493 |
+
"page_idx": 9
|
| 1494 |
+
},
|
| 1495 |
+
{
|
| 1496 |
+
"type": "list",
|
| 1497 |
+
"sub_type": "ref_text",
|
| 1498 |
+
"list_items": [
|
| 1499 |
+
"Parisa Kordjamshidi, Martijn van Otterlo, and Marie-Francine Moens. 2010. Spatial role labeling: Task definition and annotation scheme. In Proceedings of the International Conference on Language Resources and Evaluation, LREC 2010, 17-23 May 2010, Valletta, Malta. European Language Resources Association.",
|
| 1500 |
+
"Zhenzhong Lan, Mingda Chen, Sebastian Goodman, Kevin Gimpel, Piyush Sharma, and Radu Soricut. 2020. ALBERT: A lite BERT for self-supervised learning of language representations. In 8th International Conference on Learning Representations, ICLR 2020, Addis Ababa, Ethiopia, April 26-30, 2020. OpenReview.net.",
|
| 1501 |
+
"Hung Le, Truyen Tran, and Svetha Venkatesh. 2020. Self-attentive associative memory. In Proceedings of the 37th International Conference on Machine Learning, ICML 2020, 13-18 July 2020, Virtual Event, volume 119 of Proceedings of Machine Learning Research, pages 5682-5691. PMLR.",
|
| 1502 |
+
"Qimai Li, Zhichao Han, and Xiao-Ming Wu. 2018. Deeper insights into graph convolutional networks for semi-supervised learning. In Proceedings of the Thirty-Second AAAI Conference on Artificial Intelligence, (AAAI-18), the 30th innovative Applications of Artificial Intelligence (IAAI-18), and the 8th AAAI Symposium on Educational Advances in Artificial Intelligence (EAAI-18), New Orleans, Louisiana, USA, February 2-7, 2018, pages 3538-3545. AAAI Press.",
|
| 1503 |
+
"Yang Liu, Chuan Zhou, Shirui Pan, Jia Wu, Zhao Li, Hongyang Chen, and Peng Zhang. 2023. Curvdrop: A ricci curvature based approach to prevent graph neural networks from over-smoothing and oversquashing. In Proceedings of the ACM Web Conference 2023, WWW 2023, Austin, TX, USA, 30 April 2023 - 4 May 2023, pages 221-230. ACM.",
|
| 1504 |
+
"Yinhan Liu, Myle Ott, Naman Goyal, Jingfei Du, Mandar Joshi, Danqi Chen, Omer Levy, Mike Lewis, Luke Zettlemoyer, and Veselin Stoyanov. 2019. Roberta: A robustly optimized BERT pretraining approach. CoRR, abs/1907.11692.",
|
| 1505 |
+
"Qian Luo, Yunfei Li, and Yi Wu. 2023. Grounding object relations in language-conditioned robotic manipulation with semantic-spatial reasoning. CoRR, abs/2303.17919.",
|
| 1506 |
+
"Wouter Massa, Parisa Kordjamshidi, Thomas Provoost, and Marie-Francine Moens. 2015. Machine reading of biological texts - bacteria-biotope extraction. In BIOINFORMATICS 2015 - Proceedings of the International Conference on Bioinformatics Models, Methods and Algorithms, Lisbon, Portugal, 12-15 January, 2015, pages 55-64. SciTePress.",
|
| 1507 |
+
"Yimeng Min, Frederik Wenkel, and Guy Wolf. 2020. Scattering GCN: overcoming oversmoothness in graph convolutional networks. In Advances in Neural Information Processing Systems 33: Annual Conference on Neural Information Processing Systems 2020, NeurIPS 2020, December 6-12, 2020, virtual."
|
| 1508 |
+
],
|
| 1509 |
+
"bbox": [
|
| 1510 |
+
115,
|
| 1511 |
+
85,
|
| 1512 |
+
489,
|
| 1513 |
+
917
|
| 1514 |
+
],
|
| 1515 |
+
"page_idx": 10
|
| 1516 |
+
},
|
| 1517 |
+
{
|
| 1518 |
+
"type": "list",
|
| 1519 |
+
"sub_type": "ref_text",
|
| 1520 |
+
"list_items": [
|
| 1521 |
+
"Roshanak Mirzaee, Hossein Rajaby Faghihi, Qiang Ning, and Parisa Kordjamshidi. 2021. SPARTQA: A textual question answering benchmark for spatial reasoning. In Proceedings of the 2021 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, NAACL-HLT 2021, Online, June 6-11, 2021, pages 4582-4598. Association for Computational Linguistics.",
|
| 1522 |
+
"Roshanak Mirzaee and Parisa Kordjamshidi. 2022. Transfer learning with synthetic corpora for spatial role labeling and reasoning. In Proceedings of the 2022 Conference on Empirical Methods in Natural Language Processing, EMNLP 2022, Abu Dhabi, United Arab Emirates, December 7-11, 2022, pages 6148-6165. Association for Computational Linguistics.",
|
| 1523 |
+
"Christopher Morris, Martin Ritzert, Matthias Fey, William L. Hamilton, Jan Eric Lenssen, Gaurav Rattan, and Martin Grohe. 2019. Weisfeiler and leman go neural: Higher-order graph neural networks. In The Thirty-Third AAAI Conference on Artificial Intelligence, AAAI 2019, The Thirty-First Innovative Applications of Artificial Intelligence Conference, IAAI 2019, The Ninth AAAI Symposium on Educational Advances in Artificial Intelligence, EAAI 2019, Honolulu, Hawaii, USA, January 27 - February 1, 2019, pages 4602-4609. AAAI Press.",
|
| 1524 |
+
"Rasmus Berg Palm, Ulrich Paquet, and Ole Winther. 2018. Recurrent relational networks. In Advances in Neural Information Processing Systems 31: Annual Conference on Neural Information Processing Systems 2018, NeurIPS 2018, December 3-8, 2018, Montreal, Canada, pages 3372-3382.",
|
| 1525 |
+
"Lin Qiu, Yunxuan Xiao, Yanru Qu, Hao Zhou, Lei Li, Weinan Zhang, and Yong Yu. 2019. Dynamically fused graph network for multi-hop reasoning. In Proceedings of the 57th Conference of the Association for Computational Linguistics, ACL 2019, Florence, Italy, July 28- August 2, 2019, Volume 1: Long Papers, pages 6140-6150. Association for Computational Linguistics.",
|
| 1526 |
+
"Adam Santoro, David Raposo, David G. T. Barrett, Mateusz Malinowski, Razvan Pascanu, Peter W. Battaglia, and Tim Lillicrap. 2017. A simple neural network module for relational reasoning. In Advances in Neural Information Processing Systems 30: Annual Conference on Neural Information Processing Systems 2017, December 4-9, 2017, Long Beach, CA, USA, pages 4967-4976.",
|
| 1527 |
+
"Imanol Schlag, Tsendsuren Munkhdalai, and Jurgen Schmidhuber. 2021. Learning associative inference using fast weight memory. In 9th International Conference on Learning Representations, ICLR 2021, Virtual Event, Austria, May 3-7, 2021. OpenReview.net.",
|
| 1528 |
+
"Imanol Schlag and Jürgen Schmidhuber. 2018a. Learning to reason with third order tensor products. In Advances in Neural Information Processing Systems"
|
| 1529 |
+
],
|
| 1530 |
+
"bbox": [
|
| 1531 |
+
510,
|
| 1532 |
+
85,
|
| 1533 |
+
884,
|
| 1534 |
+
917
|
| 1535 |
+
],
|
| 1536 |
+
"page_idx": 10
|
| 1537 |
+
},
|
| 1538 |
+
{
|
| 1539 |
+
"type": "page_number",
|
| 1540 |
+
"text": "6469",
|
| 1541 |
+
"bbox": [
|
| 1542 |
+
480,
|
| 1543 |
+
928,
|
| 1544 |
+
519,
|
| 1545 |
+
940
|
| 1546 |
+
],
|
| 1547 |
+
"page_idx": 10
|
| 1548 |
+
},
|
| 1549 |
+
{
|
| 1550 |
+
"type": "list",
|
| 1551 |
+
"sub_type": "ref_text",
|
| 1552 |
+
"list_items": [
|
| 1553 |
+
"31: Annual Conference on Neural Information Processing Systems 2018, NeurIPS 2018, December 3-8, 2018, Montréal, Canada, pages 10003-10014.",
|
| 1554 |
+
"Imanol Schlag and Jürgen Schmidhuber. 2018b. Learning to reason with third order tensor products. In Advances in Neural Information Processing Systems 31: Annual Conference on Neural Information Processing Systems 2018, NeurIPS 2018, December 3-8, 2018, Montréal, Canada, pages 10003-10014.",
|
| 1555 |
+
"Zhengxiang Shi, Qiang Zhang, and Aldo Lipani. 2022. Stepgame: A new benchmark for robust multi-hop spatial reasoning in texts. In Thirty-Sixth AAAI Conference on Artificial Intelligence, AAAI 2022, pages 11321-11329.",
|
| 1556 |
+
"Paul Smolensky. 1990. Tensor product variable binding and the representation of symbolic structures in connectionist systems. Artif. Intell., 46(1-2):159-216.",
|
| 1557 |
+
"Yunchong Song, Chenghu Zhou, Xinbing Wang, and Zhouhan Lin. 2023. Ordered GNN: ordering message passing to deal with heterophily and oversmoothing. CoRR, abs/2302.01524.",
|
| 1558 |
+
"Ashish Vaswani, Noam Shazeer, Niki Parmar, Jakob Uszkoreit, Llion Jones, Aidan N. Gomez, Lukasz Kaiser, and Illia Polosukhin. 2017. Attention is all you need. In Advances in Neural Information Processing Systems 30: Annual Conference on Neural Information Processing Systems 2017, December 4-9, 2017, Long Beach, CA, USA, pages 5998-6008.",
|
| 1559 |
+
"Petar Velickovic, Guillem Cucurull, Arantxa Casanova, Adriana Romero, Pietro Lio, and Yoshua Bengio. 2017. Graph attention networks. CoRR, abs/1710.10903.",
|
| 1560 |
+
"Sagar Gubbi Venkatesh, Anirban Biswas, Raviteja Upadrashta, Vikram Srinivasan, Partha Talukdar, and Bharadwaj Amrutur. 2021. Spatial reasoning from natural language instructions for robot manipulation. In IEEE International Conference on Robotics and Automation, ICRA 2021, Xi'an, China, May 30 - June 5, 2021, pages 11196-11202. IEEE.",
|
| 1561 |
+
"Guangtao Wang, Rex Ying, Jing Huang, and Jure Leskovec. 2021. Multi-hop attention graph neural networks. In Proceedings of the Thirtieth International Joint Conference on Artificial Intelligence, IJ-CAI 2021, pages 3089-3096. ijcai.org.",
|
| 1562 |
+
"Jason Weston, Antoine Bordes, Sumit Chopra, and Tomás Mikolov. 2016. Towards ai-complete question answering: A set of prerequisite toy tasks. In 4th International Conference on Learning Representations, ICLR 2016, San Juan, Puerto Rico, May 2-4, 2016, Conference Track Proceedings.",
|
| 1563 |
+
"Gongce Wu, Shukuan Lin, Xiaoxue Shao, Peng Zhang, and Jianzhong Qiao. 2023. QPGCN: graph convolutional network with a quadratic polynomial filter for overcoming over-smoothing. Appl. Intell., 53(6):7216-7231."
|
| 1564 |
+
],
|
| 1565 |
+
"bbox": [
|
| 1566 |
+
115,
|
| 1567 |
+
85,
|
| 1568 |
+
489,
|
| 1569 |
+
917
|
| 1570 |
+
],
|
| 1571 |
+
"page_idx": 11
|
| 1572 |
+
},
|
| 1573 |
+
{
|
| 1574 |
+
"type": "list",
|
| 1575 |
+
"sub_type": "ref_text",
|
| 1576 |
+
"list_items": [
|
| 1577 |
+
"Weiwen Xu, Yang Deng, Huihui Zhang, Deng Cai, and Wai Lam. 2021a. Exploiting reasoning chains for multi-hop science question answering. In *Findings of the Association for Computational Linguistics: EMNLP* 2021, pages 1143-1156.",
|
| 1578 |
+
"Weiwen Xu, Huihui Zhang, Deng Cai, and Wai Lam. 2021b. Dynamic semantic graph construction and reasoning for explainable multi-hop science question answering. In Findings of the Association for Computational Linguistics: ACL/IJCNLP 2021, Online Event, August 1-6, 2021, volume ACL/IJCNLP 2021 of Findings of ACL, pages 1044-1056. Association for Computational Linguistics.",
|
| 1579 |
+
"Rui Yang, Wenrui Dai, Chenglin Li, Junni Zou, and Hongkai Xiong. 2023. Tackling over-smoothing in graph convolutional networks with em-based joint topology optimization and node classification. IEEE Trans. Signal Inf. Process. over Networks, 9:123-139.",
|
| 1580 |
+
"Yue Zhang, Quan Guo, and Parisa Kordjamshidi. 2021. Towards navigation by reasoning over spatial configurations. CoRR, abs/2105.06839.",
|
| 1581 |
+
"Yue Zhang and Parisa Kordjamshidi. 2022. Explicit object relation alignment for vision and language navigation. In Proceedings of the 60th Annual Meeting of the Association for Computational Linguistics: Student Research Workshop, ACL 2022, Dublin, Ireland, May 22-27, 2022, pages 322-331. Association for Computational Linguistics."
|
| 1582 |
+
],
|
| 1583 |
+
"bbox": [
|
| 1584 |
+
510,
|
| 1585 |
+
85,
|
| 1586 |
+
882,
|
| 1587 |
+
493
|
| 1588 |
+
],
|
| 1589 |
+
"page_idx": 11
|
| 1590 |
+
},
|
| 1591 |
+
{
|
| 1592 |
+
"type": "text",
|
| 1593 |
+
"text": "Appendix",
|
| 1594 |
+
"text_level": 1,
|
| 1595 |
+
"bbox": [
|
| 1596 |
+
512,
|
| 1597 |
+
517,
|
| 1598 |
+
596,
|
| 1599 |
+
533
|
| 1600 |
+
],
|
| 1601 |
+
"page_idx": 11
|
| 1602 |
+
},
|
| 1603 |
+
{
|
| 1604 |
+
"type": "text",
|
| 1605 |
+
"text": "A Preliminary of Tensor Product Representation",
|
| 1606 |
+
"text_level": 1,
|
| 1607 |
+
"bbox": [
|
| 1608 |
+
512,
|
| 1609 |
+
543,
|
| 1610 |
+
811,
|
| 1611 |
+
575
|
| 1612 |
+
],
|
| 1613 |
+
"page_idx": 11
|
| 1614 |
+
},
|
| 1615 |
+
{
|
| 1616 |
+
"type": "text",
|
| 1617 |
+
"text": "Consider the implicit relation hidden in the sentence \"X is over K.\" Our method decomposes this sentence into two groups of role $r \\in \\mathcal{R}$ and filler $f \\in \\mathcal{F}$ symbol components, i.e., $\\mathcal{R} = \\{X, K\\}$ and $\\mathcal{F} = \\{above, below\\}$ . The role and filler symbols are projected into role $V_{\\mathcal{R}}$ and filler $V_{\\mathcal{F}}$ vector space, respectively. The TPR of these symbol structures is defined as the tensor $\\mathbf{T}$ within the vector space $V_{\\mathcal{R}} \\otimes V_{\\mathcal{F}}$ , where $\\otimes$ denotes the tensor product (equivalent to outer product when role and filler are one-dimension vectors). In this example, we can drive the equation of writing our example to $\\mathbf{T}$ :",
|
| 1618 |
+
"bbox": [
|
| 1619 |
+
510,
|
| 1620 |
+
583,
|
| 1621 |
+
882,
|
| 1622 |
+
776
|
| 1623 |
+
],
|
| 1624 |
+
"page_idx": 11
|
| 1625 |
+
},
|
| 1626 |
+
{
|
| 1627 |
+
"type": "equation",
|
| 1628 |
+
"text": "\n$$\n\\begin{array}{l} \\mathbf {T} = f _ {\\text {a b o v e}} \\otimes r _ {X} + f _ {\\text {b e l o w}} \\otimes r _ {K} \\tag {16} \\\\ = f _ {a b o v e} r _ {X} ^ {T} + f _ {b e l o w} r _ {K} ^ {T} \\\\ \\end{array}\n$$\n",
|
| 1629 |
+
"text_format": "latex",
|
| 1630 |
+
"bbox": [
|
| 1631 |
+
576,
|
| 1632 |
+
791,
|
| 1633 |
+
880,
|
| 1634 |
+
827
|
| 1635 |
+
],
|
| 1636 |
+
"page_idx": 11
|
| 1637 |
+
},
|
| 1638 |
+
{
|
| 1639 |
+
"type": "text",
|
| 1640 |
+
"text": "The tensor product $\\otimes$ acts as a binding operator to bind the corresponding role and filler.",
|
| 1641 |
+
"bbox": [
|
| 1642 |
+
512,
|
| 1643 |
+
839,
|
| 1644 |
+
880,
|
| 1645 |
+
870
|
| 1646 |
+
],
|
| 1647 |
+
"page_idx": 11
|
| 1648 |
+
},
|
| 1649 |
+
{
|
| 1650 |
+
"type": "text",
|
| 1651 |
+
"text": "The tensor inner product serves as the unbinding operator in TPR, which is employed to reconstruct the previously reserved fillers from $\\mathbf{T}$ . Given the",
|
| 1652 |
+
"bbox": [
|
| 1653 |
+
512,
|
| 1654 |
+
871,
|
| 1655 |
+
880,
|
| 1656 |
+
917
|
| 1657 |
+
],
|
| 1658 |
+
"page_idx": 11
|
| 1659 |
+
},
|
| 1660 |
+
{
|
| 1661 |
+
"type": "page_number",
|
| 1662 |
+
"text": "6470",
|
| 1663 |
+
"bbox": [
|
| 1664 |
+
480,
|
| 1665 |
+
928,
|
| 1666 |
+
519,
|
| 1667 |
+
940
|
| 1668 |
+
],
|
| 1669 |
+
"page_idx": 11
|
| 1670 |
+
},
|
| 1671 |
+
{
|
| 1672 |
+
"type": "table",
|
| 1673 |
+
"img_path": "images/af0ce1c260a15cc495fce2e55fa86bcc501806f469d3428f294746ecda8eb874.jpg",
|
| 1674 |
+
"table_caption": [],
|
| 1675 |
+
"table_footnote": [],
|
| 1676 |
+
"table_body": "<table><tr><td>Experiment</td><td>Dataset</td><td>epochs</td><td>batch size</td><td>PLM learning rate</td><td>non-PLM learning rate</td></tr><tr><td>BERT</td><td>StepGame</td><td>22</td><td>32</td><td>2e-05</td><td>-</td></tr><tr><td>ALBERT</td><td>StepGame</td><td>14</td><td>32</td><td>6e-06</td><td>-</td></tr><tr><td>RoBERTa</td><td>StepGame</td><td>16</td><td>32</td><td>6e-06</td><td>-</td></tr><tr><td>DepWiNet(BERT)</td><td>StepGame</td><td>17</td><td>32</td><td>2e-05</td><td>1e-04</td></tr><tr><td>DepWiNet(ALBERT)</td><td>StepGame</td><td>22</td><td>32</td><td>6e-06</td><td>5e-05</td></tr><tr><td>DepWiNet(RoBERTa)</td><td>StepGame</td><td>19</td><td>32</td><td>6e-06</td><td>1e-04</td></tr><tr><td>DepWiNet(BERT)</td><td>SPARTUN</td><td>9</td><td>16</td><td>8e-06</td><td>1e-04</td></tr><tr><td>DepWiNet(BERT)</td><td>ReSQ(with SPARTUN supervision)</td><td>4</td><td>16</td><td>5e-05</td><td>4e-05</td></tr><tr><td>DepWiNet(BERT)</td><td>ReSQ(without SPARTUN supervision)</td><td>4</td><td>16</td><td>5e-05</td><td>4e-05</td></tr><tr><td>DepWiNet(w/o LDC)</td><td>StepGame</td><td>15</td><td>32</td><td>6e-06</td><td>5e-05</td></tr><tr><td>DepWiNet(w/o NMI & LDC)</td><td>StepGame</td><td>14</td><td>32</td><td>6e-06</td><td>5e-05</td></tr><tr><td>DepWiNet(w/o SRR & LDC)</td><td>StepGame</td><td>14</td><td>32</td><td>6e-06</td><td>5e-05</td></tr><tr><td>DepWiNet(w/ DepWiGNNmean)</td><td>StepGame</td><td>14</td><td>32</td><td>6e-06</td><td>5e-05</td></tr><tr><td>DepWiNet(w/ DepWiGNNmaxpooling)</td><td>StepGame</td><td>14</td><td>32</td><td>6e-06</td><td>5e-05</td></tr><tr><td>DepWiNet(w/ GCN1-5)</td><td>StepGame</td><td>(16,12,10,19,14)</td><td>32</td><td>6e-06</td><td>5e-05</td></tr><tr><td>DepWiNet(w/ GraphConv1-5)</td><td>StepGame</td><td>(14,14,16,20,15)</td><td>32</td><td>6e-06</td><td>5e-05</td></tr><tr><td>DepWiNet(w/ GAT1-5)</td><td>StepGame</td><td>(16,13,16,16,17)</td><td>32</td><td>6e-06</td><td>5e-05</td></tr></table>",
|
| 1677 |
+
"bbox": [
|
| 1678 |
+
115,
|
| 1679 |
+
80,
|
| 1680 |
+
884,
|
| 1681 |
+
343
|
| 1682 |
+
],
|
| 1683 |
+
"page_idx": 12
|
| 1684 |
+
},
|
| 1685 |
+
{
|
| 1686 |
+
"type": "text",
|
| 1687 |
+
"text": "Table 5: Hyperparameters and setup information for each experiment.",
|
| 1688 |
+
"bbox": [
|
| 1689 |
+
260,
|
| 1690 |
+
347,
|
| 1691 |
+
734,
|
| 1692 |
+
363
|
| 1693 |
+
],
|
| 1694 |
+
"page_idx": 12
|
| 1695 |
+
},
|
| 1696 |
+
{
|
| 1697 |
+
"type": "text",
|
| 1698 |
+
"text": "unbinding vector $u_{K}$ , we can retrieve the stored filler $f_{below}$ from the $\\mathbf{T}$ . In the most ideal cases, if the role vectors are orthogonal to each other, $u_{K}$ equals $r_{K}$ . When $\\mathbf{T} \\in \\mathbb{R}^2$ , it can be expressed as the matrix multiplication.:",
|
| 1699 |
+
"bbox": [
|
| 1700 |
+
112,
|
| 1701 |
+
376,
|
| 1702 |
+
489,
|
| 1703 |
+
458
|
| 1704 |
+
],
|
| 1705 |
+
"page_idx": 12
|
| 1706 |
+
},
|
| 1707 |
+
{
|
| 1708 |
+
"type": "equation",
|
| 1709 |
+
"text": "\n$$\n\\begin{array}{l} \\mathbf {T} \\cdot u _ {K} = \\left(f _ {a b o v e} r _ {X} ^ {T} + f _ {b e l o w} r _ {K} ^ {T}\\right) \\cdot r _ {K} \\tag {17} \\\\ = \\alpha f _ {b e l o w} \\propto f _ {b e l o w} \\\\ \\end{array}\n$$\n",
|
| 1710 |
+
"text_format": "latex",
|
| 1711 |
+
"bbox": [
|
| 1712 |
+
142,
|
| 1713 |
+
467,
|
| 1714 |
+
487,
|
| 1715 |
+
506
|
| 1716 |
+
],
|
| 1717 |
+
"page_idx": 12
|
| 1718 |
+
},
|
| 1719 |
+
{
|
| 1720 |
+
"type": "text",
|
| 1721 |
+
"text": "B Hyperparameter Settings",
|
| 1722 |
+
"text_level": 1,
|
| 1723 |
+
"bbox": [
|
| 1724 |
+
114,
|
| 1725 |
+
518,
|
| 1726 |
+
371,
|
| 1727 |
+
535
|
| 1728 |
+
],
|
| 1729 |
+
"page_idx": 12
|
| 1730 |
+
},
|
| 1731 |
+
{
|
| 1732 |
+
"type": "text",
|
| 1733 |
+
"text": "Detailed hyperparameter settings for each experiment are provided in Table 5. Epoch numbers for DepWiNet with the three classical GNNs are grouped (in order) for simplicity.",
|
| 1734 |
+
"bbox": [
|
| 1735 |
+
112,
|
| 1736 |
+
543,
|
| 1737 |
+
489,
|
| 1738 |
+
609
|
| 1739 |
+
],
|
| 1740 |
+
"page_idx": 12
|
| 1741 |
+
},
|
| 1742 |
+
{
|
| 1743 |
+
"type": "page_number",
|
| 1744 |
+
"text": "6471",
|
| 1745 |
+
"bbox": [
|
| 1746 |
+
480,
|
| 1747 |
+
928,
|
| 1748 |
+
519,
|
| 1749 |
+
940
|
| 1750 |
+
],
|
| 1751 |
+
"page_idx": 12
|
| 1752 |
+
}
|
| 1753 |
+
]
|
2023/DepWiGNN_ A Depth-wise Graph Neural Network for Multi-hop Spatial Reasoning in Text/82978807-d92d-4dd8-83a8-263f59cfaa61_model.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
2023/DepWiGNN_ A Depth-wise Graph Neural Network for Multi-hop Spatial Reasoning in Text/82978807-d92d-4dd8-83a8-263f59cfaa61_origin.pdf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:55c8e623fa97d41083eb38a9c70506a7153ea560e540ac86ce2a3080643fa65d
|
| 3 |
+
size 820483
|
2023/DepWiGNN_ A Depth-wise Graph Neural Network for Multi-hop Spatial Reasoning in Text/full.md
ADDED
|
@@ -0,0 +1,343 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# DepWiGNN: A Depth-wise Graph Neural Network for Multi-hop Spatial Reasoning in Text *
|
| 2 |
+
|
| 3 |
+
Shuaiyi Li $^{1}$ , Yang Deng $^{2,\dagger}$ , Wai Lam $^{1}$
|
| 4 |
+
|
| 5 |
+
<sup>1</sup> The Chinese University of Hong Kong, <sup>2</sup> National University of Singapore li.shuaiyi@link.cuhk.edu.hk, ydeng@nus.edu.sg, wlam@se.cuhk.edu.hk
|
| 6 |
+
|
| 7 |
+
# Abstract
|
| 8 |
+
|
| 9 |
+
Spatial reasoning in text plays a crucial role in various real-world applications. Existing approaches for spatial reasoning typically infer spatial relations from pure text, which overlook the gap between natural language and symbolic structures. Graph neural networks (GNNs) have showcased exceptional proficiency in inducing and aggregating symbolic structures. However, classical GNNs face challenges in handling multi-hop spatial reasoning due to the over-smoothing issue, i.e., the performance decreases substantially as the number of graph layers increases. To cope with these challenges, we propose a novel Depth-Wise Graph Neural Network (DepWiGNN). Specifically, we design a novel node memory scheme and aggregate the information over the depth dimension instead of the breadth dimension of the graph, which empowers the ability to collect long dependencies without stacking multiple layers. Experimental results on two challenging multi-hop spatial reasoning datasets show that DepWiGNN outperforms existing spatial reasoning methods. The comparisons with the other three GNNs further demonstrate its superiority in capturing long dependency in the graph.
|
| 10 |
+
|
| 11 |
+
# 1 Introduction
|
| 12 |
+
|
| 13 |
+
Spatial reasoning in text is crucial and indispensable in many areas, e.g., medical domain (Datta et al., 2020; Massa et al., 2015), navigations (Zhang et al., 2021; Zhang and Kordjamshidi, 2022; Chen et al., 2019) and robotics (Luo et al., 2023; Venkatesh et al., 2021). It has been demonstrated to be a challenging problem for both modern pretrained language models (PLMs) (Mirzaee et al., 2021; Deng et al., 2023a) and large language models (LLMs) like ChatGPT (Bang et al., 2023). However, early textual spatial reasoning datasets, e.g.,
|
| 14 |
+
|
| 15 |
+

|
| 16 |
+
Figure 1: An example of multihop spatial reasoning in text from the StepGame dataset (Shi et al., 2022).
|
| 17 |
+
|
| 18 |
+
bAbI (Weston et al., 2016), suffer from the issue of over-simplicity and, therefore, is not qualified for revealing real textual spatial reasoning scenario. Recently, researchers propose several new benchmarks (Shi et al., 2022; Mirzaee and Kordjamshidi, 2022; Mirzaee et al., 2021) with an increased level of complexity, which involve more required reasoning steps, enhanced variety of spatial relation expression, and more. As shown in Figure 1, 4 steps of reasoning are required to answer the question, and spatial relation descriptions and categories are diverse.
|
| 19 |
+
|
| 20 |
+
To tackle the problem of multi-hop spatial reasoning, Shi et al. (2022) propose a recurrent memory network based on Tensor Product Representation (TPR) (Schlag and Schmidhuber, 2018a), which mimics the step-by-step reasoning by iteratively updating and removing episodes from memory. Specifically, TPR encodes symbolic knowledge hidden in natural language into distributed vector space to be used for deductive reasoning. Despite the effectiveness of applying TPR memory, the performance of this model is overwhelmed by modern PLMs (Mirzaee and Kordjamshidi, 2022). Moreover, these works typically overlook the gap between natural language and symbolic relations.
|
| 21 |
+
|
| 22 |
+
Graph Neural Neural Networks (GNNs) have been considerably used in multi-hop reasoning (Xu et al., 2021b; Chen et al., 2020b; Qiu et al., 2019).
|
| 23 |
+
|
| 24 |
+
These methods often treat a single graph convolutional layer of node information propagation (node to its immediate neighbors) in GNN as one step of reasoning and expand it to multi-hop reasoning by stacking multiple layers. However, increasing the number of graph convolutional layers in deep neural structures can have a detrimental effect on model performance (Li et al., 2018). This phenomenon, known as the over-smoothing problem, occurs because each layer of graph convolutions causes adjacent nodes to become more similar to each other. This paradox poses a challenge for multi-hop reasoning: although multiple layers are needed to capture multi-hop dependencies, implementing them can fail to capture these dependencies due to the over-smoothing problem. Furthermore, many chain-finding problems, e.g., multihop spatial reasoning, only require specific depth path information to solve a single question and do not demand full breadth aggregation for all neighbors (Figure 1). Nevertheless, existing methods (Palm et al., 2018; Xu et al., 2021b; Chen et al., 2020b; Deng et al., 2022) for solving this kind of problem usually lie in the propagation conducted by iterations of breadth aggregation, which brings superfluous and irrelevant information that may distract the model from the key information.
|
| 25 |
+
|
| 26 |
+
In light of these challenges, we propose a novel graph-based method, named Depth-Wise Graph Neural Network (DepWiGNN), which operates over the depth instead of the breadth dimension of the graph to tackle the multi-hop spatial reasoning problem. It introduces a novel node memory implementation that only stores depth path information between nodes by applying the TPR technique. Specifically, it first initializes the node memory by filling the atomic information (spatial relation) between each pair of directly connected nodes, and then collects the relation between two indirectly connected nodes via depth-wisely retrieving and aggregating all atomic spatial relations reserved in the memory of each node in the path. The collected long-dependency information is further stored in the source node memory in the path and can be retrieved freely if the target node is given. Unlike typical existing GNNs (Morris et al., 2019; Velickovic et al., 2017; Hamilton et al., 2017; Kipf and Welling, 2017), DepWiGNN does not need to be stacked to gain long relationships between two distant nodes and, hence, is immune to the over-smoothing problem. Moreover, instead of
|
| 27 |
+
|
| 28 |
+
aimlessly performing breadth aggregation on all immediate neighbors, it selectively prioritizes the key path information.
|
| 29 |
+
|
| 30 |
+
Experiments on two challenging multi-hop spatial reasoning datasets show that DepWiGNN not only outperforms existing spatial reasoning methods, but also enhances the spatial reasoning capability of PLMs. The comparisons with three GNNs verify that DepWiGNN surpasses classical graph convolutional layers in capturing long dependencies by a noticeable margin without harming the performance of short dependency collection.
|
| 31 |
+
|
| 32 |
+
Overall, our contributions are threefold:
|
| 33 |
+
|
| 34 |
+
- We propose a novel graph-based method, DepWiGNN, to perform propagation over the depth dimension of a graph, which can capture long dependency without the need of stacking layers and avoid the issue of over-smoothing.
|
| 35 |
+
- We implement a novel node memory scheme, which takes advantage of TPR mechanism, enabling convenient memory updating and retrieval operations through simple arithmetic operations instead of neural layers.
|
| 36 |
+
- DepWiGNN excels in multi-hop spatial reasoning tasks, surpassing existing methods in experimental evaluations on two challenging datasets. Besides, comparisons with three other GNNs highlight its superior ability to capture long dependencies within the graph. Our code will be released via https://github.com/Syon-Li/DepWiGNN.
|
| 37 |
+
|
| 38 |
+
# 2 Related works
|
| 39 |
+
|
| 40 |
+
Spatial Reasoning In Text has experienced a thriving development in recent years, supported by several benchmark datasets. Weston et al. (2016) proposes the bAbI project, which contains 20 QA tasks, including one focusing on textual spatial reasoning. However, some issues exist in bAbI, such as data leakage, overly short reasoning steps, and monotony of spatial relation categories and descriptions, which makes it fails to reflect the intricacy of spatial reasoning in natural language (Shi et al., 2022). Targeting these shortages, StepGame (Shi et al., 2022) expands the spatial relation types, the diversity of relation descriptions, and the required reasoning steps. Besides, SPARTQA (Mirzaee et al., 2021) augments the number of question types from one to four: find relation (FR), find blocks (FB), choose objects (CO), and yes/no (YN), while
|
| 41 |
+
|
| 42 |
+
SPARTUN (Mirzaee and Kordjamshidi, 2022) only has two question types (FR, YN) built with broader coverage of spatial relation types.
|
| 43 |
+
|
| 44 |
+
Tensor Product Representation (TPR) (Schlag and Schmidhuber, 2018a) is a mechanism to encode symbolic knowledge into a vector space, which can be applied to various natural language reasoning tasks (Huang et al., 2018; Chen et al., 2020a). For example, Schlag and Schmidhuber (2018a) perform reasoning by deconstructing the language into combinatorial symbolic representations and binding them using Third-order TPR, which can be further combined with RNN to improve the model capability of making sequential inference (Schlag et al., 2021). Shi et al. (2022) used a paragraph-level, TPR memory-augmented way to implement complex multi-hop spatial reasoning. However, existing methods typically apply TPR to pure text, which neglects the gap between natural language and symbolic structures.
|
| 45 |
+
|
| 46 |
+
Graph Neural Networks (GNNs) (Morris et al., 2019; Velickovic et al., 2017; Hamilton et al., 2017; Kipf and Welling, 2017) have been demonstrated to be effective in inducing and aggregating symbolic structures on other multi-hop question answering problems (Cao et al., 2019; Fang et al., 2020; Huang and Yang, 2021; Heo et al., 2022; Xu et al., 2021a; Deng et al., 2023b). In practice, the required number of graph layers grows with the multi-hop dependency between two distant nodes (Wang et al., 2021; Hong et al., 2022), which inevitably encounters the problem of oversmoothing (Li et al., 2018). Some researchers have conducted studies on relieving this problem (Wu et al., 2023; Min et al., 2020; Huang and Li, 2023; Yang et al., 2023; Liu et al., 2023; Koishekenov, 2023; Song et al., 2023). However, these methods are all breadth-aggregation-based, i.e., they only posed adjustments on breadth aggregation like improving the aggregation filters, scattering the aggregation target using the probabilistic tool, etc., but never jumping out it. In this work, we investigate a depth-wise aggregation approach that captures long-range dependencies across any distance without the need to increase the model depth.
|
| 47 |
+
|
| 48 |
+
# 3 Method
|
| 49 |
+
|
| 50 |
+
# 3.1 Problem Definition
|
| 51 |
+
|
| 52 |
+
Following previous studies on spatial reasoning in text (Mirzaee et al., 2021; Shi et al., 2022; Mirzaee
|
| 53 |
+
|
| 54 |
+
and Kordjamshidi, 2022), we define the problem as follows: Given a story description $S$ consisting of multiple sentences, the system aims to answer a question $Q$ based on the story $S$ by selecting a correct answer from the fixed set of given candidate answers regarding the spatial relations.
|
| 55 |
+
|
| 56 |
+
# 3.2 The DepWiNet
|
| 57 |
+
|
| 58 |
+
As presented in Figure 2, the overall framework named DepWiNet consists of three modules: the entity representation extraction module, the DepWiGNN reasoning module, and the prediction module. The entity representation extraction module provides comprehensive entity embedding that is used in the reasoning module. A graph with recognized entities as nodes is constructed after obtaining entity representations, which later will be fed into DepWiGNN. The DepWiGNN reasons over the constructed graph and updates the node embedding correspondingly. The final prediction module adds the entity embedding from DepWiGNN to the embeddings from the first extraction module and applies a single step of attention (Vaswani et al., 2017) to generate the final result.
|
| 59 |
+
|
| 60 |
+
Entity Representation Extraction Module We leverage PLMs to extract entity representations<sup>1</sup>. The model takes the concatenation of the story $S$ and the question $Q$ as the input and output embeddings of each token. The output embeddings are further projected using a single linear layer.
|
| 61 |
+
|
| 62 |
+
$$
|
| 63 |
+
\hat {\mathbf {S}}, \hat {\mathbf {Q}} = \mathbf {P L M} (S, Q) \tag {1}
|
| 64 |
+
$$
|
| 65 |
+
|
| 66 |
+
$$
|
| 67 |
+
\hat {\mathbf {S}} _ {\alpha} = \hat {\mathbf {S}} \mathbf {W} _ {\alpha} ^ {T} \quad \hat {\mathbf {Q}} _ {\alpha} = \hat {\mathbf {Q}} \mathbf {W} _ {\alpha} ^ {T} \tag {2}
|
| 68 |
+
$$
|
| 69 |
+
|
| 70 |
+
where $\mathbf{PLM}(\cdot)$ denotes the PLM-based encoder, e.g., BERT (Devlin et al., 2019). $\hat{\mathbf{S}}_{\alpha}\in \mathbb{R}^{r_S\times d_h}$ , $\hat{\mathbf{Q}}_{\alpha}\in \mathbb{R}^{r_Q\times d_h}$ denotes the list of projected tokens of size $d_h$ in the story and question, and $\mathbf{W}_{\alpha}\in \mathbb{R}^{d_h\times d_h}$ is the shared projection matrix. The entity representation is just the mean pooling of all token embeddings belonging to that entity.
|
| 71 |
+
|
| 72 |
+
Graph Construction The entities are first recognized from the input by employing rule-based entity recognition. Specifically, in StepGame (Shi et al., 2022), the entities are represented by a single capitalized letter, so we only need to locate all single capitalized letters. For SPARTUN
|
| 73 |
+
|
| 74 |
+

|
| 75 |
+
Figure 2: The DepWiNet framework. The entity representations are first extracted from the entity representation extraction module (left), and then a homogeneous graph is constructed based on the entity embeddings and fed into the DepWiNet reasoning module. The DepWiNet depth-wisely aggregates information for all indirectly connected node pairs, and stores it in node memories. The updated node embeddings are then passed to the prediction module.
|
| 76 |
+
|
| 77 |
+
and ReSQ, we use nthk RegexpParser $^2$ with self-designed grammars $^3$ to recognize entities. Entities and their embeddings are treated as nodes of the graph, and an edge between two entities exists if and only if the two entities co-occur in the same sentence. We also add an edge feature for each edge.
|
| 78 |
+
|
| 79 |
+
$$
|
| 80 |
+
E _ {i j} = \left\{ \begin{array}{l l} 0 & \text {i f i = = j ,} \\ \mathbf {e} _ {[ C L S ]} & \text {o r t h e r w i s e .} \end{array} \right. \tag {3}
|
| 81 |
+
$$
|
| 82 |
+
|
| 83 |
+
If two entities are the same (self-loop), the edge feature is just a zero tensor with a size $d_h$ ; otherwise, it is the sequence's last layer hidden state of the [CLS] token. The motivation behind treating [CLS] token as an edge feature is that it can help the model better understand the atomic relation $(k = 1)$ between two nodes (entities) so as to facilitate later depth aggregation. A straightforward justification can be found in Table 1, where all three PLMs achieve very high accuracy at $k = 1$ cases by using the [CLS] token, which demonstrates that the [CLS] token favors the understanding of the atomic relation.
|
| 84 |
+
|
| 85 |
+
DepWiGNN Module The DepWiGNN module (middle part in Figure 2) is responsible for multi-hop reasoning and can collect arbitrarily distant dependency without layer stacking.
|
| 86 |
+
|
| 87 |
+
$$
|
| 88 |
+
\hat {V} = \operatorname {D e p} \operatorname {W i G N N} (\mathcal {G}; V, E) \tag {4}
|
| 89 |
+
$$
|
| 90 |
+
|
| 91 |
+
where $V \in \mathbb{R}^{|V| \times d_h}$ and $E \in \mathbb{R}^{|E| \times d_h}$ are the nodes and edges of the graph. It comprises three components: node memory initialization, long dependency collection, and spatial relation retrieval. Details of these three components will be discussed in Section 3.3.
|
| 92 |
+
|
| 93 |
+
Prediction Module The node embedding updated in DepWiGNN is correspondingly added to entity embedding extracted from PLM.
|
| 94 |
+
|
| 95 |
+
$$
|
| 96 |
+
\hat {Z} _ {i} = \left\{ \begin{array}{l l} Z _ {i} + \hat {V} _ {i d x (i)} & \text {i f i - t h t o k e n} \in \hat {V} \\ Z _ {i} & \text {o r t h e r w i s e .} \end{array} \right. \tag {5}
|
| 97 |
+
$$
|
| 98 |
+
|
| 99 |
+
where $Z_{i} = [\hat{S};\hat{Q}]$ is the ith token embedding from PLM and $\hat{V}$ denotes the updated entity representation set. $idx(i)$ is the index of $i$ -th token in the graph nodes.
|
| 100 |
+
|
| 101 |
+
Then, the sequence of token embeddings in the question and story are extracted separately to perform attention mechanism (Vaswani et al., 2017) with the query to be the sequence of question tokens embeddings $\hat{Z}_{\hat{\mathbf{Q}}}$ , key and value to be the sequence of story token embeddings $\hat{Z}_{\hat{\mathbf{S}}}$ .
|
| 102 |
+
|
| 103 |
+
$$
|
| 104 |
+
R = \sum_ {i = 0} ^ {r _ {Q}} \left(\operatorname {s o f t m a x} \left(\frac {\hat {Z} _ {\hat {\mathbf {Q}}} \hat {Z} _ {\hat {\mathbf {S}}} ^ {T}}{\sqrt {d _ {h}}}\right) \hat {Z} _ {\hat {\mathbf {S}}}\right) _ {i} \tag {6}
|
| 105 |
+
$$
|
| 106 |
+
|
| 107 |
+
$$
|
| 108 |
+
C = F F N (\operatorname {l a y e r n m} (R)) \tag {7}
|
| 109 |
+
$$
|
| 110 |
+
|
| 111 |
+
where layernm means layer normalization and $C$ is the final logits. The result embeddings are summed over the first dimension, layernormed, and
|
| 112 |
+
|
| 113 |
+

|
| 114 |
+
Figure 3: The illustration of DepWiGNN.
|
| 115 |
+
|
| 116 |
+
fed into a 3-layer feedforward neural network to acquire the final result. The overall framework is trained in an end-to-end manner to minimize the cross-entropy loss between the predicted candidate answer probabilities and the ground-truth answer.
|
| 117 |
+
|
| 118 |
+
# 3.3 Depth-wise Graph Neural Network
|
| 119 |
+
|
| 120 |
+
As illustrated in Figure 3, we introduce the proposed graph neural network, called DepWiGNN, i.e., the operation $\hat{V} = \mathsf{DepWiGNN}(\mathcal{G};V,E)$ . Unlike existing GNNs (e.g. (Morris et al., 2019; Velickovic et al., 2017; Hamilton et al., 2017)), which counts the one-dimension node embedding itself as its memory to achieve the function of information reservation, updating, and retrieval, DepWiGNN employs a novel two-dimension node memory implementation approach that takes the advantage of TPR mechanism allowing the updating and retrieval operations of the memory to be conveniently realized by simple arithmetic operations like plus, minus and outer product. This essentially determines that the information propagation between any pair of nodes with any distance in the graph can be accomplished without the demand to iteratively apply neural layers.
|
| 121 |
+
|
| 122 |
+
Node Memory Initialization At this stage, the node memories of all nodes are initialized with the relations to their immediate neighbors. In the multi-hop spatial reasoning cases, the relations will be the atomic spatial orientation relations (which only needs one hop) of the destination node relative to the source node. For example, "X is to the left of K and is on the same horizontal plane." We follow the TPR mechanism (Smolensky, 1990), which uses outer product operation to bind roles and fillers<sup>4</sup>. In this work, the calculated spatial vectors are considered to be the fillers. They will be bound with corresponding node embeddings and stored in the two-dimensional node memory. Explicitly, we first
|
| 123 |
+
|
| 124 |
+
acquire spatial orientation filler $f_{ij} \in \mathbb{R}^{d_h}$ by using a feedforward network, the input to FFN is concatenation in the form $[V_i, E_{ij}, V_j]$ . $V_i$ represents $i$ -th node embedding.
|
| 125 |
+
|
| 126 |
+
$$
|
| 127 |
+
f _ {i j} = F F N \left(\left[ V _ {i}, E _ {i j}, V _ {j} \right]\right) \tag {8}
|
| 128 |
+
$$
|
| 129 |
+
|
| 130 |
+
$$
|
| 131 |
+
M _ {i} = \sum_ {V _ {j} \in N (V _ {i})} f _ {i j} \otimes V _ {j} \tag {9}
|
| 132 |
+
$$
|
| 133 |
+
|
| 134 |
+
The filler is bound together with the corresponding destination node $V_{j}$ using the outer product. The initial node memory $M_{i}$ for node $V_{i}$ is just the summation of all outer product results of the fillers and corresponding neighbors (left part in Figure 3).
|
| 135 |
+
|
| 136 |
+
Long Dependency Collection We discuss how the model collects long dependencies in this section. Since the atomic relations are bound by corresponding destinations and have already been contained in the node memories, we can easily unbind all the atomic relation fillers in a path using the corresponding atomic destination node embedding (middle part in Figure 3). For each pair of indirectly connected nodes, we first find the shortest path between them using breadth-first search (BFS). Then, all the existing atomic relation fillers along the path are unbound using the embedding of each node in the path (Eq.10).
|
| 137 |
+
|
| 138 |
+
$$
|
| 139 |
+
\hat {f} _ {p _ {i} \left(p _ {i + 1}\right)} = M _ {p _ {i}} V _ {p _ {i + 1}} ^ {T} \tag {10}
|
| 140 |
+
$$
|
| 141 |
+
|
| 142 |
+
$$
|
| 143 |
+
\hat {\mathbf {F}} = \operatorname {A g g r e g a t o r} (\mathbf {F}) \tag {11}
|
| 144 |
+
$$
|
| 145 |
+
|
| 146 |
+
$$
|
| 147 |
+
f _ {p _ {0} p _ {n}} = \operatorname {l a y e r n m} (F F N (\hat {\mathbf {F}}) + \hat {\mathbf {F}}) \tag {12}
|
| 148 |
+
$$
|
| 149 |
+
|
| 150 |
+
$$
|
| 151 |
+
M _ {p _ {0}} = M _ {p _ {0}} + f _ {p _ {0} p _ {n}} \otimes V _ {p _ {n}} ^ {T} \tag {13}
|
| 152 |
+
$$
|
| 153 |
+
|
| 154 |
+
where $p_i$ denotes the $i$ -th element in the path and $\mathbf{F} = [\hat{f}_{p_0p_1};\dots;\hat{f}_{p_{n-1}p_n}]$ is the retrieved filler set along the path. The collected relation fillers are aggregated using a selected depth aggregator like LSTM (Hochreiter and Schmidhuber, 1997), etc, and passed to a feedforward neural network to reason the relation filler between the source and destination node in the path (Eq.12). The result spatial filler is then bound with the target node embedding and added to the source node memory (Eq.13). In this way, each node memory will finally contain the spatial orientation information to every other connected node in the graph.
|
| 155 |
+
|
| 156 |
+
Spatial Relation Retrieval After the collection process is completed, every node memory contains spatial relation information to all other connected nodes in the graph. Therefore, we can conveniently retrieve the spatial information from a source node
|
| 157 |
+
|
| 158 |
+
to a target node by unbinding the spatial filler from the source node memory (right part in Figure 3) using a self-determined key. The key can be the target node embedding itself if the target node can be easily recognized from the question, or some computationally extracted representation from the sequence of question token embeddings if the target node is hard to discern. We use the key to unbind the spatial relation from all nodes' memory and pass the concatenation of it with source and target node embeddings to a multilayer perceptron to get the updated node embeddings.
|
| 159 |
+
|
| 160 |
+
$$
|
| 161 |
+
\hat {f} _ {i [ \text {k e y} ]} = M _ {i} V _ {[ \text {k e y} ]} ^ {T} \tag {14}
|
| 162 |
+
$$
|
| 163 |
+
|
| 164 |
+
$$
|
| 165 |
+
\hat {V} _ {i} = F F N ([ V _ {i}, \mathbf {l a y e r n m} (f _ {i [ k e y ]}), V _ {[ k e y ]} ]) \tag {15}
|
| 166 |
+
$$
|
| 167 |
+
|
| 168 |
+
The updated node embeddings are then passed to the prediction module to get the final result.
|
| 169 |
+
|
| 170 |
+
# 4 Experiments
|
| 171 |
+
|
| 172 |
+
# 4.1 Experimental Setups
|
| 173 |
+
|
| 174 |
+
Datasets & Evaluation Metrics We investigated our model on StepGame (Shi et al., 2022) and ReSQ (Mirzaee and Kordjamshidi, 2022) datasets, which were recently published for multi-hop spatial reasoning. StepGame is a synthetic textual QA dataset that has a number of relations $(k)$ ranging from 1 to 10. In particular, we follow the experimental procedure in the original paper (Shi et al., 2022), which utilized the TrainVersion of the dataset containing 10,000/1,000 training/validation clean samples for each $k$ value from 1 to 5 and 10,000 noisy test examples for $k$ value from 1 to 10. The test set contains three kinds of distraction noise: disconnected, irrelevant, and supporting. ReSQ is a crowdsourcing benchmark that includes only Yes/No questions with 1008, 333, and 610 examples for training, validating, and testing respectively. Since it is human-generated, it can reflect the natural complexity of real-world spatial description. Following the setup in (Shi et al., 2022; Mirzaee and Kordjamshidi, 2022), we report the accuracy on corresponding test sets for all experiments.
|
| 175 |
+
|
| 176 |
+
Baselines For StepGame, we select all traditional reasoning models used in the original paper (Shi et al., 2022) and three PLMs, i.e., BERT (Devlin et al., 2019), RoBERTa (Liu et al., 2019), and ALBERT (Lan et al., 2020) as our baselines. For ReSQ, we also follow the experiment setting described in (Mirzaee and Kordjamshidi, 2022),
|
| 177 |
+
|
| 178 |
+
which used BERT with or without further synthetic supervision as baselines.
|
| 179 |
+
|
| 180 |
+
Implementation Details For all experiments, we use the base version of corresponding PLMs, which has 768 embedding dimensions. The model was trained in an end-to-end manner using Adam optimizer (Kingma and Ba, 2015). The training was stopped if, up to 3 epochs, there is no improvement greater than 1e-3 on the cross-entropy loss for the validation set. We also applied a Pytorch training scheduler that reduces the learning rate with a factor of 0.1 if the improvement of cross-entropy loss on the validation set is lower than 1e-3 for 2 epochs. In terms of the determination of the key in the Spatial Relation Retrieval part, we used the target node embedding for StepGame since it can be easily recognized, and we employed a single linear layer to extract the key representation from the sum-aggregated question token embeddings for ReSQ. In the StepGame experiment, we fine-tune the model on the training set and test it on the test set. For ReSQ, we follow the procedure in (Mirzaee and Kordjamshidi, 2022) to test the model on ReSQ with or without further supervision from SPARTUN (Mirzaee and Kordjamshidi, 2022). Unless specified, all the experiments use LSTM (Hochreiter and Schmidhuber, 1997) as depth aggregator by default. The detailed hyperparameter settings are given in the Appendix B.
|
| 181 |
+
|
| 182 |
+
# 4.2 Overall Performance
|
| 183 |
+
|
| 184 |
+
Table 1 and 2 report the experiment results on StepGame and ReSQ respectively. As shown in Table 1, PLMs overwhelmingly outperform all the traditional reasoning models and the proposed DeepWiNet overtakes the PLMs by a large margin, especially for the cases with greater $k$ where the multi-hop reasoning capability plays a more important role. This aligns with the characteristics of our model architecture that the aggregation focuses on the depth dimension, which effectively avoids the problem of over-smoothing and the mixture of redundant information from the breadth aggregation. Despite the model being only trained on clean distraction-noise-absent samples with $k$ from 1 to 5, it achieves impressive performance on the distraction-noise-present test data with $k$ value from 6 to 10, demonstrating the more advanced generalization capability of our model. Moreover, our method also entails an improvement for the examples with lower $k$ values for BERT and AL
|
| 185 |
+
|
| 186 |
+
<table><tr><td>Method</td><td>k=1</td><td>k=2</td><td>k=3</td><td>k=4</td><td>k=5</td><td>k=6</td><td>k=7</td><td>k=8</td><td>k=9</td><td>k=10</td><td>Mean(k=1-5)</td><td>Mean(k=6-10)</td></tr><tr><td>RN (Santoro et al., 2017)</td><td>22.64</td><td>17.08</td><td>15.08</td><td>12.84</td><td>11.52</td><td>11.12</td><td>11.53</td><td>11.21</td><td>11.13</td><td>11.34</td><td>15.83</td><td>11.27</td></tr><tr><td>RRN (Palm et al., 2018)</td><td>24.05</td><td>19.98</td><td>16.03</td><td>13.22</td><td>12.31</td><td>11.62</td><td>11.40</td><td>11.83</td><td>11.22</td><td>11.69</td><td>17.12</td><td>11.56</td></tr><tr><td>UT (Dehghani et al., 2019)</td><td>45.11</td><td>28.36</td><td>17.41</td><td>14.07</td><td>13.45</td><td>12.73</td><td>12.11</td><td>11.40</td><td>11.41</td><td>11.74</td><td>23.68</td><td>11.88</td></tr><tr><td>STM (Le et al., 2020)</td><td>53.42</td><td>35.96</td><td>23.03</td><td>18.45</td><td>15.14</td><td>13.80</td><td>12.63</td><td>11.54</td><td>11.30</td><td>11.77</td><td>29.20</td><td>12.21</td></tr><tr><td>TPR-RNN (Schlag and Schmidhuber, 2018b)</td><td>70.29</td><td>46.03</td><td>36.14</td><td>26.82</td><td>24.77</td><td>22.25</td><td>19.88</td><td>15.45</td><td>13.01</td><td>12.65</td><td>40.81</td><td>16.65</td></tr><tr><td>TP-MANN (Shi et al., 2022)</td><td>85.77</td><td>60.31</td><td>50.18</td><td>37.45</td><td>31.25</td><td>28.53</td><td>26.45</td><td>23.67</td><td>22.52</td><td>21.46</td><td>52.99</td><td>24.53</td></tr><tr><td>BERT (Mirzaee and Kordjamshidi, 2022)</td><td>98.53</td><td>93.40</td><td>91.19</td><td>66.98</td><td>54.57</td><td>48.59</td><td>42.81</td><td>37.98</td><td>34.16</td><td>33.62</td><td>80.93</td><td>39.43</td></tr><tr><td>RoBERTa* (Mirzaee and Kordjamshidi, 2022)</td><td>98.68</td><td>97.05</td><td>95.66</td><td>79.59</td><td>74.89</td><td>70.67</td><td>66.01</td><td>61.42</td><td>57.20</td><td>54.53</td><td>89.17</td><td>61.93</td></tr><tr><td>ALBERT* (Mirzaee and Kordjamshidi, 2022)</td><td>98.56</td><td>97.56</td><td>96.08</td><td>90.01</td><td>83.33</td><td>77.24</td><td>71.57</td><td>64.47</td><td>60.02</td><td>56.18</td><td>93.11</td><td>65.90</td></tr><tr><td>DepWiNet (BERT)</td><td>98.44</td><td>96.57</td><td>94.75</td><td>81.41</td><td>70.68</td><td>62.80</td><td>57.46</td><td>49.14</td><td>45.56</td><td>44.01</td><td>88.37+9.2%</td><td>51.79+31.3%</td></tr><tr><td>DepWiNet (RoBERTa)</td><td>98.70</td><td>96.69</td><td>95.54</td><td>79.50</td><td>74.94</td><td>70.37</td><td>66.22</td><td>61.89</td><td>58.01</td><td>56.89</td><td>89.07-0.1%</td><td>62.68+1.2%</td></tr><tr><td>DepWiNet (ALBERT)</td><td>98.59</td><td>97.13</td><td>95.87</td><td>91.96</td><td>87.50</td><td>82.62</td><td>77.80</td><td>71.40</td><td>67.55</td><td>64.98</td><td>94.21+1.2%</td><td>72.87+10.6%</td></tr></table>
|
| 187 |
+
|
| 188 |
+
Table 1: Experimental results on StepGame. * denotes the implementation of the same model as BERT (Mirzaee and Kordjamshidi, 2022) with RoBERTa and ALBERT. The other results are reported in (Shi et al., 2022).
|
| 189 |
+
|
| 190 |
+
<table><tr><td>Method</td><td>SynSup</td><td>ReSQ</td></tr><tr><td>Majority Baseline</td><td>-</td><td>50.21</td></tr><tr><td>BERT</td><td>-</td><td>57.37</td></tr><tr><td>BERT</td><td>SPARTQA-AUTO</td><td>55.08</td></tr><tr><td>BERT</td><td>StepGame</td><td>60.14</td></tr><tr><td>BERT</td><td>SPARTUN-S</td><td>58.03</td></tr><tr><td>BERT</td><td>SPARTUN</td><td>63.60</td></tr><tr><td>DepWiNet (BERT)</td><td>-</td><td>63.30</td></tr><tr><td>DepWiNet (BERT)</td><td>SPARTUN</td><td>65.54</td></tr></table>
|
| 191 |
+
|
| 192 |
+
Table 2: Experimental results on ReSQ, under the transfer learning setting (Mirzaee and Kordjamshidi, 2022).
|
| 193 |
+
|
| 194 |
+
BERT and an ignorable decrease for RoBERTa, which attests to the innocence of our model to the few-hop reasoning tasks.
|
| 195 |
+
|
| 196 |
+
Experimental results in Table 2 show that DeepWiNet reaches a new SOTA result on ReSQ for both cases where extra supervision from SPARTUN is present and absent. Excitingly, the performance of our model without extra supervision even overwhelms the performance of the BERT with extra supervision from SPARTQA-AUTO (Mirzaee et al., 2021), StepGame, and SPARTUN-S and approaches closely to the SPARTUN supervision case. All these phenomenons signify that our model has the potential to better tackle the natural intricacy of real-world spatial expressions.
|
| 197 |
+
|
| 198 |
+
# 4.3 Ablation study
|
| 199 |
+
|
| 200 |
+
We conduct ablation studies on the impact of the three components of DepWiGNN and different depth aggregators, as presented in Table 3.
|
| 201 |
+
|
| 202 |
+
Impact of DepWiNet components The model performance experiences a drastic decrease, particularly for the mean score of $k$ between 6 and 10, after the Long Dependency Collection (LDC) has been removed, verifying that this component serves a crucial role in the model. Note that the mean score for $k(6-10)$ even drops below the ALBERT baseline (Table 1). This is reasonable as the LDC is directly responsible for collecting long dependencies. We further defunctionalized the Node Memory Initialization (NMI) and then Spatial Relation Retrieval (SRR) by setting the initial fillers (Eq.8) and key representation (Eq.14) to a random vector separately. Compared with the case where only LDC was removed, both of them lead to a further decrease in small and large $k$ values.
|
| 203 |
+
|
| 204 |
+
Impact of Different Aggregators The results show that the mean and max pooling depth aggregators fail to understand the spatial rule as achieved by LSTM. This may be caused by the relatively less expressiveness and generalization caliber of mean and max pooling operation.
|
| 205 |
+
|
| 206 |
+
# 4.4 Comparisons with Different GNNs
|
| 207 |
+
|
| 208 |
+
To certify our model's capacity of collecting long dependencies as well as its immunity to the oversmoothing problem, we contrast it with four graph neural networks, namely, GCN (Kipf and Welling, 2017), GraphConv (Morris et al., 2019), GAT (Velickovic et al., 2017) and GCNII (Chen et al., 2020c). We consider the cases with the number of layers varying from 1 to 5 and select the best performance to compare. The plot of the accuracy metric is reported in Figure 4 and the corresponding best
|
| 209 |
+
|
| 210 |
+
<table><tr><td>Method</td><td>k=1</td><td>k=2</td><td>k=3</td><td>k=4</td><td>k=5</td><td>k=6</td><td>k=7</td><td>k=8</td><td>k=9</td><td>k=10</td><td>Mean(k=1-5)</td><td>Mean(k=6-10)</td></tr><tr><td>DepWiNet (ALBERT)</td><td>98,59</td><td>97.13</td><td>95.87</td><td>91.96</td><td>87.50</td><td>82.62</td><td>77.80</td><td>71.40</td><td>67.55</td><td>64.98</td><td>94.21</td><td>72.87</td></tr><tr><td>- w/o LDC</td><td>98.58</td><td>97.72</td><td>96.42</td><td>82.46</td><td>78.53</td><td>74.52</td><td>70.45</td><td>62.84</td><td>59.06</td><td>56.57</td><td>90.74-3.7%</td><td>64.69-11.2%</td></tr><tr><td>- w/o NMI & LDC</td><td>98.48</td><td>96.88</td><td>94.83</td><td>79.14</td><td>75.46</td><td>70.51</td><td>67.19</td><td>61.88</td><td>57.65</td><td>55.02</td><td>88.96-5.6%</td><td>62.45-14.3%</td></tr><tr><td>- w/o SRR & LDC</td><td>98.64</td><td>97.52</td><td>95.91</td><td>80.72</td><td>76.85</td><td>72.56</td><td>67.93</td><td>61.29</td><td>57.97</td><td>54.17</td><td>89.93-4.5%</td><td>62.78-13.8%</td></tr><tr><td>- w/ DepWiGNNmean</td><td>98.52</td><td>96.46</td><td>93.69</td><td>81.10</td><td>77.90</td><td>73.47</td><td>70.78</td><td>65.54</td><td>62.42</td><td>59.82</td><td>89.53-5.0%</td><td>66.41-8.9%</td></tr><tr><td>- w/ DepWiGNNmaxpooling</td><td>98.65</td><td>95.83</td><td>93.90</td><td>80.81</td><td>77.20</td><td>72.07</td><td>68.76</td><td>62.79</td><td>59.63</td><td>57.14</td><td>89.28-5.2%</td><td>64.08-12.1%</td></tr></table>
|
| 211 |
+
|
| 212 |
+
Table 3: Ablation study. NMI, LDC, and SRR denotes the three stages in DepWiGNN, i.e., Node Memory Initialization, Long Dependency Collection, and Spatial Relation Retrieval, respectively.
|
| 213 |
+
|
| 214 |
+
<table><tr><td>Method</td><td>k=1</td><td>k=2</td><td>k=3</td><td>k=4</td><td>k=5</td><td>k=6</td><td>k=7</td><td>k=8</td><td>k=9</td><td>k=10</td><td>Mean(k=1-5)</td><td>Mean(k=6-10)</td></tr><tr><td>ALBERT</td><td>98.56</td><td>97.56</td><td>96.08</td><td>90.01</td><td>83.33</td><td>77.24</td><td>71.57</td><td>64.47</td><td>60.02</td><td>56.18</td><td>93.11</td><td>65.90</td></tr><tr><td>w/ GCN5 (Kipf and Welling, 2017)</td><td>98.62</td><td>97.72</td><td>96.49</td><td>82.01</td><td>76.70</td><td>71.60</td><td>67.34</td><td>60.49</td><td>56.11</td><td>52.65</td><td>90.31-3.01%</td><td>61.64-6.46%</td></tr><tr><td>w/ GraphConv2 (Morris et al., 2019)</td><td>98.66</td><td>97.73</td><td>96.48</td><td>82.37</td><td>78.57</td><td>74.47</td><td>69.91</td><td>63.04</td><td>60.01</td><td>56.58</td><td>90.76-2.52%</td><td>64.80-1.67%</td></tr><tr><td>w/ GAT1 (Velickovic et al., 2017)</td><td>98.67</td><td>97.34</td><td>95.59</td><td>81.47</td><td>78.39</td><td>73.79</td><td>70.17</td><td>63.52</td><td>60.64</td><td>57.33</td><td>90.29-3.03%</td><td>65.09-1.23%</td></tr><tr><td>w/ GCNII4 (Chen et al., 2020c)</td><td>98.56</td><td>97.61</td><td>96.36</td><td>83.31</td><td>79.22</td><td>74.88</td><td>70.64</td><td>63.64</td><td>60.59</td><td>56.99</td><td>91.01-2.25%</td><td>65.35+0.01%</td></tr><tr><td>w/ DepWiGNN</td><td>98.59</td><td>97.13</td><td>95.87</td><td>91.96</td><td>87.50</td><td>82.62</td><td>77.80</td><td>71.40</td><td>67.55</td><td>64.98</td><td>94.21+1.18%</td><td>72.87+10.58%</td></tr></table>
|
| 215 |
+
|
| 216 |
+
Table 4: Comparisons with different GNNs. The subscripts represent the number of GNN layers. We select the best mean performance among layer number 1 to 5.
|
| 217 |
+
|
| 218 |
+

|
| 219 |
+
Figure 4: Impact of the layer number in different GNNs on StepGame. The solid and dashed lines denote the mean score of $(k = 1 - 5)$ and $(k = 6 - 10)$ respectively.
|
| 220 |
+
|
| 221 |
+
cases are in Table 4. It is worth noting that almost all the baseline GNNs cause a reduction in the original PLM performance (Table 4). The reason for this may partially come from the breadth aggregation, which aggregates the neighbors round and round and leads to indistinguishability among entity embeddings such that the PLM reasoning process has been disturbed. The majority of baseline GNNs suffer from an apparent performance drop when increasing the number of layers (Figure 4), while our model consistently performs better and is not affected by the number of layers at all since it does not use breadth aggregation. Therefore, our model has immunity to over-smoothing problems.
|
| 222 |
+
|
| 223 |
+

|
| 224 |
+
Figure 5: Cases with distracting noisy from StepGame.
|
| 225 |
+
|
| 226 |
+
In both small and large $k$ cases, our model outperforms the best performance of all four GNNs (including GCNII, which is specifically designed for over-smoothing issues) by a large margin (Table 4), which serves as evidence of the superiority of our model in long dependency collection.
|
| 227 |
+
|
| 228 |
+
# 4.5 Case study
|
| 229 |
+
|
| 230 |
+
In this section, we present case studies to intuitively show how DepWiGNN mitigates the three kinds of distracting noise introduced in StepGame, namely, disconnected, irrelevant, and supporting.
|
| 231 |
+
|
| 232 |
+
- The disconnected noise is the set of entities and relations that forms a new independent chain in the graph (Figure 5(a)). The node memories constructed in DepWiGNN contain spatial information about the nodes if and only if that node stays in the same connected component; otherwise, it
|
| 233 |
+
|
| 234 |
+
has no information about the node as there is no path between them. Hence, in this case, for the questioned source node $\mathbf{P}$ , its memory has no information for the disconnected noise $\mathbf{T}$ and $\mathbf{D}$ .
|
| 235 |
+
|
| 236 |
+
- The irrelevant noise branches the correct reasoning chain out with new entities and relations but results in no alternative reasoning path (Figure 5(b)). Hence the irrelevant noise entities will not be included in the reasoning path between the source and destination, which means that it will not affect the destination spatial filler stored in the source node memory. In this case, when the key representation (embedding of entity $\mathbf{E}$ ) is used to unbind the spatial filler from node memory of the source node $\mathbf{P}$ , it obtains the filler $f_{PE} = FFN(Aggregator([f_{PX}; f_{XQ}; f_{QE}])$ , which is intact to the irrelevant entity $\mathbf{Y}$ and relation $f_{xy}$ or $f_{yx}$ .
|
| 237 |
+
- The supporting noise adds new entities and relations to the original reasoning chain that provides an alternative reasoning path (Figure 5(c)). DeepWiGNN is naturally exempted from this noise for two reasons: first, it finds the shortest path between two entities, therefore, will not include $\mathbf{I}$ and $\mathbf{M}$ in the path; Second, even if the longer path is considered, the depth aggregator should reach the same result as the shorted one since the source and destination are the same.
|
| 238 |
+
|
| 239 |
+
# 5 Conclusion
|
| 240 |
+
|
| 241 |
+
In this work, we introduce DepWiGNN, a novel graph-based method that facilitates depth-wise propagation in graphs, enabling effective capture of long dependencies while mitigating the challenges of over-smoothing and excessive layer stacking. Our approach incorporates a node memory scheme leveraging the TPR mechanism, enabling simple arithmetic operations for memory updating and retrieval, instead of relying on additional neural layers. Experiments on two recently released textual multi-hop spatial reasoning datasets demonstrate the superiority of DepWiGNN in collecting long dependencies over the other three typical GNNs and its immunity to the over-smoothing problem.
|
| 242 |
+
|
| 243 |
+
# Limitation
|
| 244 |
+
|
| 245 |
+
Unlike the classical GNNs, which use one-dimensional embedding as the node memory, our method applies a two-dimensional matrix-shaped
|
| 246 |
+
|
| 247 |
+
node memory. This poses a direct increase in memory requirement. The system has to assign extra space to store a matrix with shape $\mathbb{R}^{d_h\times d_h}$ for each node in the graph, which makes the method less scalable. However, it is a worthwhile trade-off because the two-dimensional node memory can potentially store $d_{h} - 1$ number of spatial fillers bound with node embeddings while keeping the size fixed, and it does not suffer from information overloading as faced by the one-dimension memory since the spatial fillers can be straightforwardly retrieved from the memory.
|
| 248 |
+
|
| 249 |
+
Another issue is the time complexity of finding the shortest path between every pair of nodes. For all experiments in this paper, since the edges do not have weights, the complexity is $\mathrm{O}((\mathrm{n} + \mathrm{e})^{*}\mathrm{n})$ where $\mathbf{n}$ and $\mathbf{e}$ are the numbers of nodes and edges, respectively. However, things will get worse if the edges in the graph are weighted. We believe this is a potential future research direction for the improvement of the algorithm.
|
| 250 |
+
|
| 251 |
+
# References
|
| 252 |
+
|
| 253 |
+
Yejin Bang, Samuel Cahyawijaya, Nayeon Lee, Wenliang Dai, Dan Su, Bryan Wilie, Holy Lovenia, Ziwei Ji, Tiezheng Yu, Willy Chung, Quyet V. Do, Yan Xu, and Pascale Fung. 2023. A multitask, multilingual, multimodal evaluation of chatgpt on reasoning, hallucination, and interactivity. CoRR, abs/2302.04023.
|
| 254 |
+
Yu Cao, Meng Fang, and Dacheng Tao. 2019. BAG: bi-directional attention entity graph convolutional network for multi-hop reasoning question answering. In Proceedings of the 2019 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, NAACL-HLT 2019, pages 357-362.
|
| 255 |
+
Howard Chen, Alane Suhr, Dipendra Misra, Noah Snavely, and Yoav Artzi. 2019. TOUCHDOWN: natural language navigation and spatial reasoning in visual street environments. In IEEE Conference on Computer Vision and Pattern Recognition, CVPR 2019, Long Beach, CA, USA, June 16-20, 2019, pages 12538-12547. Computer Vision Foundation / IEEE.
|
| 256 |
+
Kezhen Chen, Qiuyuan Huang, Hamid Palangi, Paul Smolensky, Kenneth D. Forbus, and Jianfeng Gao. 2020a. Mapping natural-language problems to formal-language solutions using structured neural representations. In Proceedings of the 37th International Conference on Machine Learning, ICML 2020, 13-18 July 2020, Virtual Event, volume 119 of Proceedings of Machine Learning Research, pages 1566-1575. PMLR.
|
| 257 |
+
Kunlong Chen, Weidi Xu, Xingyi Cheng, Zou Xiaochuan, Yuyu Zhang, Le Song, Taifeng Wang, Yuan
|
| 258 |
+
|
| 259 |
+
Qi, and Wei Chu. 2020b. Question directed graph attention network for numerical reasoning over text. In Proceedings of the 2020 Conference on Empirical Methods in Natural Language Processing, EMNLP 2020, Online, November 16-20, 2020, pages 6759-6768. Association for Computational Linguistics.
|
| 260 |
+
Ming Chen, Zhewei Wei, Zengfeng Huang, Bolin Ding, and Yaliang Li. 2020c. Simple and deep graph convolutional networks. In Proceedings of the 37th International Conference on Machine Learning, ICML 2020, 13-18 July 2020, Virtual Event, volume 119 of Proceedings of Machine Learning Research, pages 1725-1735. PMLR.
|
| 261 |
+
Surabhi Datta, Yuqi Si, Laritza Rodriguez, Sonya E. Shooshan, Dina Demner-Fushman, and Kirk Roberts. 2020. Understanding spatial language in radiology: Representation framework, annotation, and spatial relation extraction from chest x-ray reports using deep learning. J. Biomed. Informatics, 108:103473.
|
| 262 |
+
Mostafa Dehghani, Stephan Gouws, Oriol Vinyals, Jakob Uszkoreit, and Lukasz Kaiser. 2019. Universal transformers. In 7th International Conference on Learning Representations, ICLR 2019, New Orleans, LA, USA, May 6-9, 2019. OpenReview.net.
|
| 263 |
+
Yang Deng, Shuaiyi Li, and Wai Lam. 2023a. Learning to ask clarification questions with spatial reasoning. In Proceedings of the 46th International ACM SIGIR Conference on Research and Development in Information Retrieval, SIGIR 2023, pages 2113-2117.
|
| 264 |
+
Yang Deng, Yuexiang Xie, Yaliang Li, Min Yang, Wai Lam, and Ying Shen. 2022. Contextualized knowledge-aware attentive neural network: Enhancing answer selection with knowledge. ACM Trans. Inf. Syst., 40(1):2:1-2:33.
|
| 265 |
+
Yang Deng, Wenxuan Zhang, Weiwen Xu, Ying Shen, and Wai Lam. 2023b. Nonfactoid question answering as query-focused summarization with graph-enhanced multihop inference. IEEE Transactions on Neural Networks and Learning Systems.
|
| 266 |
+
Jacob Devlin, Ming-Wei Chang, Kenton Lee, and Kristina Toutanova. 2019. BERT: pre-training of deep bidirectional transformers for language understanding. In Proceedings of the 2019 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, NAACL-HLT 2019, Minneapolis, MN, USA, June 2-7, 2019, Volume 1 (Long and Short Papers), pages 4171-4186. Association for Computational Linguistics.
|
| 267 |
+
Yuwei Fang, Siqi Sun, Zhe Gan, Rohit Pillai, Shuo-hang Wang, and Jingjing Liu. 2020. Hierarchical graph network for multi-hop question answering. In Proceedings of the 2020 Conference on Empirical Methods in Natural Language Processing, EMNLP 2020, pages 8823-8838.
|
| 268 |
+
|
| 269 |
+
William L. Hamilton, Zhitao Ying, and Jure Leskovec. 2017. Inductive representation learning on large graphs. In Advances in Neural Information Processing Systems 30: Annual Conference on Neural Information Processing Systems 2017, December 4-9, 2017, Long Beach, CA, USA, pages 1024-1034.
|
| 270 |
+
Yu-Jung Heo, Eun-Sol Kim, Woo Suk Choi, and Byoung-Tak Zhang. 2022. Hypergraph transformer: Weakly-supervised multi-hop reasoning for knowledge-based visual question answering. In Proceedings of the 60th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), ACL 2022, pages 373-390.
|
| 271 |
+
Sepp Hochreiter and Jürgen Schmidhuber. 1997. Long short-term memory. Neural Comput., 9(8):1735-1780.
|
| 272 |
+
Giwon Hong, Jeonghwan Kim, Junmo Kang, and Sung-Hyon Myaeng. 2022. Graph-induced transformers for efficient multi-hop question answering. In Proceedings of the 2022 Conference on Empirical Methods in Natural Language Processing, EMNLP 2022, pages 10288-10294.
|
| 273 |
+
Qiuyuan Huang, Paul Smolensky, Xiaodong He, Li Deng, and Dapeng Oliver Wu. 2018. Tensor product generation networks for deep NLP modeling. In Proceedings of the 2018 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, NAACL-HLT 2018, New Orleans, Louisiana, USA, June 1-6, 2018, Volume 1 (Long Papers), pages 1263-1273. Association for Computational Linguistics.
|
| 274 |
+
Rui Huang and Ping Li. 2023. Hub-hub connections matter: Improving edge dropout to relieve oversmoothing in graph neural networks. Knowl. Based Syst., 270:110556.
|
| 275 |
+
Yongjie Huang and Meng Yang. 2021. Breadth first reasoning graph for multi-hop question answering. In Proceedings of the 2021 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, NAACL-HLT 2021, pages 5810-5821.
|
| 276 |
+
Diederik P. Kingma and Jimmy Ba. 2015. Adam: A method for stochastic optimization. In 3rd International Conference on Learning Representations, ICLR 2015, San Diego, CA, USA, May 7-9, 2015, Conference Track Proceedings.
|
| 277 |
+
Thomas N. Kipf and Max Welling. 2017. Semi-supervised classification with graph convolutional networks. In 5th International Conference on Learning Representations, ICLR 2017, Toulon, France, April 24-26, 2017, Conference Track Proceedings. OpenReview.net.
|
| 278 |
+
Yeskendir Koishekenov. 2023. Reducing oversmoothing in graph neural networks using relational embeddings. CoRR, abs/2301.02924.
|
| 279 |
+
|
| 280 |
+
Parisa Kordjamshidi, Martijn van Otterlo, and Marie-Francine Moens. 2010. Spatial role labeling: Task definition and annotation scheme. In Proceedings of the International Conference on Language Resources and Evaluation, LREC 2010, 17-23 May 2010, Valletta, Malta. European Language Resources Association.
|
| 281 |
+
Zhenzhong Lan, Mingda Chen, Sebastian Goodman, Kevin Gimpel, Piyush Sharma, and Radu Soricut. 2020. ALBERT: A lite BERT for self-supervised learning of language representations. In 8th International Conference on Learning Representations, ICLR 2020, Addis Ababa, Ethiopia, April 26-30, 2020. OpenReview.net.
|
| 282 |
+
Hung Le, Truyen Tran, and Svetha Venkatesh. 2020. Self-attentive associative memory. In Proceedings of the 37th International Conference on Machine Learning, ICML 2020, 13-18 July 2020, Virtual Event, volume 119 of Proceedings of Machine Learning Research, pages 5682-5691. PMLR.
|
| 283 |
+
Qimai Li, Zhichao Han, and Xiao-Ming Wu. 2018. Deeper insights into graph convolutional networks for semi-supervised learning. In Proceedings of the Thirty-Second AAAI Conference on Artificial Intelligence, (AAAI-18), the 30th innovative Applications of Artificial Intelligence (IAAI-18), and the 8th AAAI Symposium on Educational Advances in Artificial Intelligence (EAAI-18), New Orleans, Louisiana, USA, February 2-7, 2018, pages 3538-3545. AAAI Press.
|
| 284 |
+
Yang Liu, Chuan Zhou, Shirui Pan, Jia Wu, Zhao Li, Hongyang Chen, and Peng Zhang. 2023. Curvdrop: A ricci curvature based approach to prevent graph neural networks from over-smoothing and oversquashing. In Proceedings of the ACM Web Conference 2023, WWW 2023, Austin, TX, USA, 30 April 2023 - 4 May 2023, pages 221-230. ACM.
|
| 285 |
+
Yinhan Liu, Myle Ott, Naman Goyal, Jingfei Du, Mandar Joshi, Danqi Chen, Omer Levy, Mike Lewis, Luke Zettlemoyer, and Veselin Stoyanov. 2019. Roberta: A robustly optimized BERT pretraining approach. CoRR, abs/1907.11692.
|
| 286 |
+
Qian Luo, Yunfei Li, and Yi Wu. 2023. Grounding object relations in language-conditioned robotic manipulation with semantic-spatial reasoning. CoRR, abs/2303.17919.
|
| 287 |
+
Wouter Massa, Parisa Kordjamshidi, Thomas Provoost, and Marie-Francine Moens. 2015. Machine reading of biological texts - bacteria-biotope extraction. In BIOINFORMATICS 2015 - Proceedings of the International Conference on Bioinformatics Models, Methods and Algorithms, Lisbon, Portugal, 12-15 January, 2015, pages 55-64. SciTePress.
|
| 288 |
+
Yimeng Min, Frederik Wenkel, and Guy Wolf. 2020. Scattering GCN: overcoming oversmoothness in graph convolutional networks. In Advances in Neural Information Processing Systems 33: Annual Conference on Neural Information Processing Systems 2020, NeurIPS 2020, December 6-12, 2020, virtual.
|
| 289 |
+
|
| 290 |
+
Roshanak Mirzaee, Hossein Rajaby Faghihi, Qiang Ning, and Parisa Kordjamshidi. 2021. SPARTQA: A textual question answering benchmark for spatial reasoning. In Proceedings of the 2021 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, NAACL-HLT 2021, Online, June 6-11, 2021, pages 4582-4598. Association for Computational Linguistics.
|
| 291 |
+
Roshanak Mirzaee and Parisa Kordjamshidi. 2022. Transfer learning with synthetic corpora for spatial role labeling and reasoning. In Proceedings of the 2022 Conference on Empirical Methods in Natural Language Processing, EMNLP 2022, Abu Dhabi, United Arab Emirates, December 7-11, 2022, pages 6148-6165. Association for Computational Linguistics.
|
| 292 |
+
Christopher Morris, Martin Ritzert, Matthias Fey, William L. Hamilton, Jan Eric Lenssen, Gaurav Rattan, and Martin Grohe. 2019. Weisfeiler and leman go neural: Higher-order graph neural networks. In The Thirty-Third AAAI Conference on Artificial Intelligence, AAAI 2019, The Thirty-First Innovative Applications of Artificial Intelligence Conference, IAAI 2019, The Ninth AAAI Symposium on Educational Advances in Artificial Intelligence, EAAI 2019, Honolulu, Hawaii, USA, January 27 - February 1, 2019, pages 4602-4609. AAAI Press.
|
| 293 |
+
Rasmus Berg Palm, Ulrich Paquet, and Ole Winther. 2018. Recurrent relational networks. In Advances in Neural Information Processing Systems 31: Annual Conference on Neural Information Processing Systems 2018, NeurIPS 2018, December 3-8, 2018, Montreal, Canada, pages 3372-3382.
|
| 294 |
+
Lin Qiu, Yunxuan Xiao, Yanru Qu, Hao Zhou, Lei Li, Weinan Zhang, and Yong Yu. 2019. Dynamically fused graph network for multi-hop reasoning. In Proceedings of the 57th Conference of the Association for Computational Linguistics, ACL 2019, Florence, Italy, July 28- August 2, 2019, Volume 1: Long Papers, pages 6140-6150. Association for Computational Linguistics.
|
| 295 |
+
Adam Santoro, David Raposo, David G. T. Barrett, Mateusz Malinowski, Razvan Pascanu, Peter W. Battaglia, and Tim Lillicrap. 2017. A simple neural network module for relational reasoning. In Advances in Neural Information Processing Systems 30: Annual Conference on Neural Information Processing Systems 2017, December 4-9, 2017, Long Beach, CA, USA, pages 4967-4976.
|
| 296 |
+
Imanol Schlag, Tsendsuren Munkhdalai, and Jurgen Schmidhuber. 2021. Learning associative inference using fast weight memory. In 9th International Conference on Learning Representations, ICLR 2021, Virtual Event, Austria, May 3-7, 2021. OpenReview.net.
|
| 297 |
+
Imanol Schlag and Jürgen Schmidhuber. 2018a. Learning to reason with third order tensor products. In Advances in Neural Information Processing Systems
|
| 298 |
+
|
| 299 |
+
31: Annual Conference on Neural Information Processing Systems 2018, NeurIPS 2018, December 3-8, 2018, Montréal, Canada, pages 10003-10014.
|
| 300 |
+
Imanol Schlag and Jürgen Schmidhuber. 2018b. Learning to reason with third order tensor products. In Advances in Neural Information Processing Systems 31: Annual Conference on Neural Information Processing Systems 2018, NeurIPS 2018, December 3-8, 2018, Montréal, Canada, pages 10003-10014.
|
| 301 |
+
Zhengxiang Shi, Qiang Zhang, and Aldo Lipani. 2022. Stepgame: A new benchmark for robust multi-hop spatial reasoning in texts. In Thirty-Sixth AAAI Conference on Artificial Intelligence, AAAI 2022, pages 11321-11329.
|
| 302 |
+
Paul Smolensky. 1990. Tensor product variable binding and the representation of symbolic structures in connectionist systems. Artif. Intell., 46(1-2):159-216.
|
| 303 |
+
Yunchong Song, Chenghu Zhou, Xinbing Wang, and Zhouhan Lin. 2023. Ordered GNN: ordering message passing to deal with heterophily and oversmoothing. CoRR, abs/2302.01524.
|
| 304 |
+
Ashish Vaswani, Noam Shazeer, Niki Parmar, Jakob Uszkoreit, Llion Jones, Aidan N. Gomez, Lukasz Kaiser, and Illia Polosukhin. 2017. Attention is all you need. In Advances in Neural Information Processing Systems 30: Annual Conference on Neural Information Processing Systems 2017, December 4-9, 2017, Long Beach, CA, USA, pages 5998-6008.
|
| 305 |
+
Petar Velickovic, Guillem Cucurull, Arantxa Casanova, Adriana Romero, Pietro Lio, and Yoshua Bengio. 2017. Graph attention networks. CoRR, abs/1710.10903.
|
| 306 |
+
Sagar Gubbi Venkatesh, Anirban Biswas, Raviteja Upadrashta, Vikram Srinivasan, Partha Talukdar, and Bharadwaj Amrutur. 2021. Spatial reasoning from natural language instructions for robot manipulation. In IEEE International Conference on Robotics and Automation, ICRA 2021, Xi'an, China, May 30 - June 5, 2021, pages 11196-11202. IEEE.
|
| 307 |
+
Guangtao Wang, Rex Ying, Jing Huang, and Jure Leskovec. 2021. Multi-hop attention graph neural networks. In Proceedings of the Thirtieth International Joint Conference on Artificial Intelligence, IJ-CAI 2021, pages 3089-3096. ijcai.org.
|
| 308 |
+
Jason Weston, Antoine Bordes, Sumit Chopra, and Tomás Mikolov. 2016. Towards ai-complete question answering: A set of prerequisite toy tasks. In 4th International Conference on Learning Representations, ICLR 2016, San Juan, Puerto Rico, May 2-4, 2016, Conference Track Proceedings.
|
| 309 |
+
Gongce Wu, Shukuan Lin, Xiaoxue Shao, Peng Zhang, and Jianzhong Qiao. 2023. QPGCN: graph convolutional network with a quadratic polynomial filter for overcoming over-smoothing. Appl. Intell., 53(6):7216-7231.
|
| 310 |
+
|
| 311 |
+
Weiwen Xu, Yang Deng, Huihui Zhang, Deng Cai, and Wai Lam. 2021a. Exploiting reasoning chains for multi-hop science question answering. In *Findings of the Association for Computational Linguistics: EMNLP* 2021, pages 1143-1156.
|
| 312 |
+
Weiwen Xu, Huihui Zhang, Deng Cai, and Wai Lam. 2021b. Dynamic semantic graph construction and reasoning for explainable multi-hop science question answering. In Findings of the Association for Computational Linguistics: ACL/IJCNLP 2021, Online Event, August 1-6, 2021, volume ACL/IJCNLP 2021 of Findings of ACL, pages 1044-1056. Association for Computational Linguistics.
|
| 313 |
+
Rui Yang, Wenrui Dai, Chenglin Li, Junni Zou, and Hongkai Xiong. 2023. Tackling over-smoothing in graph convolutional networks with em-based joint topology optimization and node classification. IEEE Trans. Signal Inf. Process. over Networks, 9:123-139.
|
| 314 |
+
Yue Zhang, Quan Guo, and Parisa Kordjamshidi. 2021. Towards navigation by reasoning over spatial configurations. CoRR, abs/2105.06839.
|
| 315 |
+
Yue Zhang and Parisa Kordjamshidi. 2022. Explicit object relation alignment for vision and language navigation. In Proceedings of the 60th Annual Meeting of the Association for Computational Linguistics: Student Research Workshop, ACL 2022, Dublin, Ireland, May 22-27, 2022, pages 322-331. Association for Computational Linguistics.
|
| 316 |
+
|
| 317 |
+
# Appendix
|
| 318 |
+
|
| 319 |
+
# A Preliminary of Tensor Product Representation
|
| 320 |
+
|
| 321 |
+
Consider the implicit relation hidden in the sentence "X is over K." Our method decomposes this sentence into two groups of role $r \in \mathcal{R}$ and filler $f \in \mathcal{F}$ symbol components, i.e., $\mathcal{R} = \{X, K\}$ and $\mathcal{F} = \{above, below\}$ . The role and filler symbols are projected into role $V_{\mathcal{R}}$ and filler $V_{\mathcal{F}}$ vector space, respectively. The TPR of these symbol structures is defined as the tensor $\mathbf{T}$ within the vector space $V_{\mathcal{R}} \otimes V_{\mathcal{F}}$ , where $\otimes$ denotes the tensor product (equivalent to outer product when role and filler are one-dimension vectors). In this example, we can drive the equation of writing our example to $\mathbf{T}$ :
|
| 322 |
+
|
| 323 |
+
$$
|
| 324 |
+
\begin{array}{l} \mathbf {T} = f _ {\text {a b o v e}} \otimes r _ {X} + f _ {\text {b e l o w}} \otimes r _ {K} \tag {16} \\ = f _ {a b o v e} r _ {X} ^ {T} + f _ {b e l o w} r _ {K} ^ {T} \\ \end{array}
|
| 325 |
+
$$
|
| 326 |
+
|
| 327 |
+
The tensor product $\otimes$ acts as a binding operator to bind the corresponding role and filler.
|
| 328 |
+
|
| 329 |
+
The tensor inner product serves as the unbinding operator in TPR, which is employed to reconstruct the previously reserved fillers from $\mathbf{T}$ . Given the
|
| 330 |
+
|
| 331 |
+
<table><tr><td>Experiment</td><td>Dataset</td><td>epochs</td><td>batch size</td><td>PLM learning rate</td><td>non-PLM learning rate</td></tr><tr><td>BERT</td><td>StepGame</td><td>22</td><td>32</td><td>2e-05</td><td>-</td></tr><tr><td>ALBERT</td><td>StepGame</td><td>14</td><td>32</td><td>6e-06</td><td>-</td></tr><tr><td>RoBERTa</td><td>StepGame</td><td>16</td><td>32</td><td>6e-06</td><td>-</td></tr><tr><td>DepWiNet(BERT)</td><td>StepGame</td><td>17</td><td>32</td><td>2e-05</td><td>1e-04</td></tr><tr><td>DepWiNet(ALBERT)</td><td>StepGame</td><td>22</td><td>32</td><td>6e-06</td><td>5e-05</td></tr><tr><td>DepWiNet(RoBERTa)</td><td>StepGame</td><td>19</td><td>32</td><td>6e-06</td><td>1e-04</td></tr><tr><td>DepWiNet(BERT)</td><td>SPARTUN</td><td>9</td><td>16</td><td>8e-06</td><td>1e-04</td></tr><tr><td>DepWiNet(BERT)</td><td>ReSQ(with SPARTUN supervision)</td><td>4</td><td>16</td><td>5e-05</td><td>4e-05</td></tr><tr><td>DepWiNet(BERT)</td><td>ReSQ(without SPARTUN supervision)</td><td>4</td><td>16</td><td>5e-05</td><td>4e-05</td></tr><tr><td>DepWiNet(w/o LDC)</td><td>StepGame</td><td>15</td><td>32</td><td>6e-06</td><td>5e-05</td></tr><tr><td>DepWiNet(w/o NMI & LDC)</td><td>StepGame</td><td>14</td><td>32</td><td>6e-06</td><td>5e-05</td></tr><tr><td>DepWiNet(w/o SRR & LDC)</td><td>StepGame</td><td>14</td><td>32</td><td>6e-06</td><td>5e-05</td></tr><tr><td>DepWiNet(w/ DepWiGNNmean)</td><td>StepGame</td><td>14</td><td>32</td><td>6e-06</td><td>5e-05</td></tr><tr><td>DepWiNet(w/ DepWiGNNmaxpooling)</td><td>StepGame</td><td>14</td><td>32</td><td>6e-06</td><td>5e-05</td></tr><tr><td>DepWiNet(w/ GCN1-5)</td><td>StepGame</td><td>(16,12,10,19,14)</td><td>32</td><td>6e-06</td><td>5e-05</td></tr><tr><td>DepWiNet(w/ GraphConv1-5)</td><td>StepGame</td><td>(14,14,16,20,15)</td><td>32</td><td>6e-06</td><td>5e-05</td></tr><tr><td>DepWiNet(w/ GAT1-5)</td><td>StepGame</td><td>(16,13,16,16,17)</td><td>32</td><td>6e-06</td><td>5e-05</td></tr></table>
|
| 332 |
+
|
| 333 |
+
Table 5: Hyperparameters and setup information for each experiment.
|
| 334 |
+
|
| 335 |
+
unbinding vector $u_{K}$ , we can retrieve the stored filler $f_{below}$ from the $\mathbf{T}$ . In the most ideal cases, if the role vectors are orthogonal to each other, $u_{K}$ equals $r_{K}$ . When $\mathbf{T} \in \mathbb{R}^2$ , it can be expressed as the matrix multiplication.:
|
| 336 |
+
|
| 337 |
+
$$
|
| 338 |
+
\begin{array}{l} \mathbf {T} \cdot u _ {K} = \left(f _ {a b o v e} r _ {X} ^ {T} + f _ {b e l o w} r _ {K} ^ {T}\right) \cdot r _ {K} \tag {17} \\ = \alpha f _ {b e l o w} \propto f _ {b e l o w} \\ \end{array}
|
| 339 |
+
$$
|
| 340 |
+
|
| 341 |
+
# B Hyperparameter Settings
|
| 342 |
+
|
| 343 |
+
Detailed hyperparameter settings for each experiment are provided in Table 5. Epoch numbers for DepWiNet with the three classical GNNs are grouped (in order) for simplicity.
|
2023/DepWiGNN_ A Depth-wise Graph Neural Network for Multi-hop Spatial Reasoning in Text/images.zip
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:bdd6204e95fb659e7dc1366f86e2d34d6eece38c28a086fd16443f84c4ebfb5e
|
| 3 |
+
size 661956
|
2023/DepWiGNN_ A Depth-wise Graph Neural Network for Multi-hop Spatial Reasoning in Text/layout.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
2023/Descriptive Prompt Paraphrasing for Target-Oriented Multimodal Sentiment Classification/9ad0a505-4aa3-4e82-936d-bde5e9f488e4_content_list.json
ADDED
|
@@ -0,0 +1,1938 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[
|
| 2 |
+
{
|
| 3 |
+
"type": "text",
|
| 4 |
+
"text": "Descriptive Prompt Paraphrasing for Target-Oriented Multimodal Sentiment Classification",
|
| 5 |
+
"text_level": 1,
|
| 6 |
+
"bbox": [
|
| 7 |
+
154,
|
| 8 |
+
87,
|
| 9 |
+
843,
|
| 10 |
+
127
|
| 11 |
+
],
|
| 12 |
+
"page_idx": 0
|
| 13 |
+
},
|
| 14 |
+
{
|
| 15 |
+
"type": "text",
|
| 16 |
+
"text": "Dan Liu $^{1}$ , Lin Li $^{1}$ , Xiaohui Tao $^{2}$ , Jian Cui $^{1}$ , Qing Xie",
|
| 17 |
+
"bbox": [
|
| 18 |
+
174,
|
| 19 |
+
140,
|
| 20 |
+
825,
|
| 21 |
+
159
|
| 22 |
+
],
|
| 23 |
+
"page_idx": 0
|
| 24 |
+
},
|
| 25 |
+
{
|
| 26 |
+
"type": "text",
|
| 27 |
+
"text": "<sup>1</sup> Wuhan University of Technology, Wuhan, China",
|
| 28 |
+
"bbox": [
|
| 29 |
+
297,
|
| 30 |
+
159,
|
| 31 |
+
704,
|
| 32 |
+
175
|
| 33 |
+
],
|
| 34 |
+
"page_idx": 0
|
| 35 |
+
},
|
| 36 |
+
{
|
| 37 |
+
"type": "text",
|
| 38 |
+
"text": "<sup>2</sup> The University of Southern Queensland, Toowoomba, Australia",
|
| 39 |
+
"bbox": [
|
| 40 |
+
236,
|
| 41 |
+
175,
|
| 42 |
+
764,
|
| 43 |
+
191
|
| 44 |
+
],
|
| 45 |
+
"page_idx": 0
|
| 46 |
+
},
|
| 47 |
+
{
|
| 48 |
+
"type": "text",
|
| 49 |
+
"text": "$^{1}$ {liunnew, cathylilin, 318971, felixxq} @whut.edu.cn",
|
| 50 |
+
"bbox": [
|
| 51 |
+
273,
|
| 52 |
+
192,
|
| 53 |
+
727,
|
| 54 |
+
209
|
| 55 |
+
],
|
| 56 |
+
"page_idx": 0
|
| 57 |
+
},
|
| 58 |
+
{
|
| 59 |
+
"type": "text",
|
| 60 |
+
"text": "$^{2}$ Xiaohui.Tao@unisq.edu.au",
|
| 61 |
+
"bbox": [
|
| 62 |
+
381,
|
| 63 |
+
209,
|
| 64 |
+
618,
|
| 65 |
+
225
|
| 66 |
+
],
|
| 67 |
+
"page_idx": 0
|
| 68 |
+
},
|
| 69 |
+
{
|
| 70 |
+
"type": "text",
|
| 71 |
+
"text": "Abstract",
|
| 72 |
+
"text_level": 1,
|
| 73 |
+
"bbox": [
|
| 74 |
+
260,
|
| 75 |
+
252,
|
| 76 |
+
339,
|
| 77 |
+
266
|
| 78 |
+
],
|
| 79 |
+
"page_idx": 0
|
| 80 |
+
},
|
| 81 |
+
{
|
| 82 |
+
"type": "text",
|
| 83 |
+
"text": "Target-Oriented Multimodal Sentiment Classification (TMSC) aims to perform sentiment polarity on a target jointly considering its corresponding multiple modalities including text, image, and others. Current researches mainly work on either of two types of targets in a decentralized manner. One type is entity, such as a person name, a location name, etc. and the other is aspect, such as 'food', 'service', etc. We believe that this target type based division in task modelling is not necessary because the sentiment polarity of the specific target is not governed by its type but its context. For this reason, we propose a unified model for target-oriented multimodal sentiment classification, so called UnifiedTMSC. It is prompt-based language modelling and performs well on four datasets spanning the above two target types. Specifically, we design descriptive prompt paraphrasing to reformulate TMSC task via (1) task paraphrasing, which obtains paraphrased prompts based on the task description through a paraphrasing rule, and (2) image prefix tuning, which optimizes a small continuous image vector throughout the multimodal representation space of text and images. Conducted on two entity-level multimodal datasets: Twitter-2015 and Twitter-2017, and two aspect-level multimodal datasets: Multi-ZOL and MASAD, the experimental results show the effectiveness of our UnifiedTMSC.",
|
| 84 |
+
"bbox": [
|
| 85 |
+
141,
|
| 86 |
+
279,
|
| 87 |
+
460,
|
| 88 |
+
720
|
| 89 |
+
],
|
| 90 |
+
"page_idx": 0
|
| 91 |
+
},
|
| 92 |
+
{
|
| 93 |
+
"type": "text",
|
| 94 |
+
"text": "1 Introduction",
|
| 95 |
+
"text_level": 1,
|
| 96 |
+
"bbox": [
|
| 97 |
+
114,
|
| 98 |
+
732,
|
| 99 |
+
258,
|
| 100 |
+
747
|
| 101 |
+
],
|
| 102 |
+
"page_idx": 0
|
| 103 |
+
},
|
| 104 |
+
{
|
| 105 |
+
"type": "text",
|
| 106 |
+
"text": "With the emergence of new media and advanced technology, the forms of information released by people are quietly changing, from mono-modality to multi-modality now, such as text, images, etc (Xu and Mao, 2017). This also pushes researchers to conduct multimodal learning (Yu et al., 2016; Xu et al., 2018; Long et al., 2022). For sentiment analysis, both text and image are highly correlated with sentiment polarity. Moreover, they can complement and reinforce each other (Xu et al., 2019).",
|
| 107 |
+
"bbox": [
|
| 108 |
+
112,
|
| 109 |
+
757,
|
| 110 |
+
489,
|
| 111 |
+
917
|
| 112 |
+
],
|
| 113 |
+
"page_idx": 0
|
| 114 |
+
},
|
| 115 |
+
{
|
| 116 |
+
"type": "image",
|
| 117 |
+
"img_path": "images/e54dc4cfb903ad65d631dbed57c7543878be0a411450d87e3276d9be8c6b6450.jpg",
|
| 118 |
+
"image_caption": [
|
| 119 |
+
"(a) Entity-level MSC"
|
| 120 |
+
],
|
| 121 |
+
"image_footnote": [],
|
| 122 |
+
"bbox": [
|
| 123 |
+
517,
|
| 124 |
+
249,
|
| 125 |
+
877,
|
| 126 |
+
382
|
| 127 |
+
],
|
| 128 |
+
"page_idx": 0
|
| 129 |
+
},
|
| 130 |
+
{
|
| 131 |
+
"type": "image",
|
| 132 |
+
"img_path": "images/c2210b2c262129dd8d8214aadbfb6f10f8cd6bfd4ab9e3dad4adee45770a3648.jpg",
|
| 133 |
+
"image_caption": [
|
| 134 |
+
"(b) Aspect-level MSC",
|
| 135 |
+
"Figure 1: Two forms of target-oriented multimodal sentiment classification."
|
| 136 |
+
],
|
| 137 |
+
"image_footnote": [],
|
| 138 |
+
"bbox": [
|
| 139 |
+
515,
|
| 140 |
+
406,
|
| 141 |
+
877,
|
| 142 |
+
539
|
| 143 |
+
],
|
| 144 |
+
"page_idx": 0
|
| 145 |
+
},
|
| 146 |
+
{
|
| 147 |
+
"type": "text",
|
| 148 |
+
"text": "At present, fine-grained Multimodal Sentiment Classification (MSC) includes two main tasks: entity-level MSC and aspect-level MSC, as shown in Figure 1. (1) For entity-level, the entity and its context are encoded as independent input text in some studies(Yu and Jiang, 2019; Yu et al., 2020; Wang et al., 2021; Zhao et al., 2022). Others jointly consider the encoding of an entity with its contextual learning, which is their main focus to achieve good MSC performance (Khan and Fu, 2021; Xiao et al., 2022; Yang et al., 2022). For example, Xiao et al. (2022) presented a dual stream adaptive multifeature extraction graph convolutional network to convert an image into its caption. (2) For aspect-level, the aspect and its context are being encoded individually due to the semantics involved in an aspect itself (Xu et al., 2019; Zhang et al., 2021; Zhou et al., 2021). For example, Xu et al. (2019)",
|
| 149 |
+
"bbox": [
|
| 150 |
+
507,
|
| 151 |
+
629,
|
| 152 |
+
884,
|
| 153 |
+
919
|
| 154 |
+
],
|
| 155 |
+
"page_idx": 0
|
| 156 |
+
},
|
| 157 |
+
{
|
| 158 |
+
"type": "page_number",
|
| 159 |
+
"text": "4174",
|
| 160 |
+
"bbox": [
|
| 161 |
+
478,
|
| 162 |
+
927,
|
| 163 |
+
519,
|
| 164 |
+
940
|
| 165 |
+
],
|
| 166 |
+
"page_idx": 0
|
| 167 |
+
},
|
| 168 |
+
{
|
| 169 |
+
"type": "footer",
|
| 170 |
+
"text": "Findings of the Association for Computational Linguistics: EMNLP 2023, pages 4174-4186",
|
| 171 |
+
"bbox": [
|
| 172 |
+
216,
|
| 173 |
+
945,
|
| 174 |
+
779,
|
| 175 |
+
958
|
| 176 |
+
],
|
| 177 |
+
"page_idx": 0
|
| 178 |
+
},
|
| 179 |
+
{
|
| 180 |
+
"type": "footer",
|
| 181 |
+
"text": "December 6-10, 2023 ©2023 Association for Computational Linguistics",
|
| 182 |
+
"bbox": [
|
| 183 |
+
277,
|
| 184 |
+
958,
|
| 185 |
+
719,
|
| 186 |
+
972
|
| 187 |
+
],
|
| 188 |
+
"page_idx": 0
|
| 189 |
+
},
|
| 190 |
+
{
|
| 191 |
+
"type": "text",
|
| 192 |
+
"text": "studied a multi-interactive memory network model. These TMSC works can promote human decisions by assisting users in knowing about certain targets.",
|
| 193 |
+
"bbox": [
|
| 194 |
+
112,
|
| 195 |
+
84,
|
| 196 |
+
490,
|
| 197 |
+
134
|
| 198 |
+
],
|
| 199 |
+
"page_idx": 1
|
| 200 |
+
},
|
| 201 |
+
{
|
| 202 |
+
"type": "text",
|
| 203 |
+
"text": "As we know, an entity usually is a person name, or a location name, etc (Li et al., 2022b). Such entity target only has a specific meaning when connecting it with a specific modality content, which means it is difficult to accurately understand the entity without its context. On the contrary, an aspect itself in some degree can represent what it means even without its context. Because of this obvious difference, previous studies show their interest in differently modelling the two tasks to capture target related context (Xu et al., 2019; Yu et al., 2020; Zhang et al., 2021; Song et al., 2023). For example, in Figure 1(a), \"Chuck Bass\", \"MCM\", and \"Iran\" do not have any exact meaning when they are disconnected from the specific context. However, in Figure 1(b), both aspect term and aspect category have their own meanings with a hidden sentiment tendency. For the \"battery life\" of mobile phones, the first reaction is that the longer the battery life, the better. Despite the above differences among the TMSC tasks, from the perspective of sentiment classification, the goal of TMSC is to predict the sentiment polarity of a target no matter whether it is an entity or an aspect. Therefore, in our view, the boundary is unnecessary.",
|
| 204 |
+
"bbox": [
|
| 205 |
+
115,
|
| 206 |
+
137,
|
| 207 |
+
490,
|
| 208 |
+
539
|
| 209 |
+
],
|
| 210 |
+
"page_idx": 1
|
| 211 |
+
},
|
| 212 |
+
{
|
| 213 |
+
"type": "text",
|
| 214 |
+
"text": "In this paper, we propose a unified TMSC model via prompt based language modelling, so called UnifiedTMSC, which is independent of the target type in TMSC. Our core is to reconstruct the two TMSC tasks through descriptive prompt paraphrasing. The prompts we design can place entity and aspect in their context, while also being close to the TMSC task description. To achieve this goal, we carry out our work from two aspects: (1) task paraphrasing. The task description is transformed into a seed prompt, and different paraphrased prompts are obtained by using our paraphrasing rule. They serve as discrete prompts for the text and fit into the Masked Language Modeling (MLM) format. And (2) image prefix tuning (Li and Liang, 2021). A segment vector is initialized for the image pretrained embedding as the prefix continuous prompt. In the subsequent multimodal continuous representation space, the image pre-trained embedding is fixed and only some segment of the initialized vector is optimized. In this way, sentiment labels are generated through the cloze-filling method.",
|
| 215 |
+
"bbox": [
|
| 216 |
+
115,
|
| 217 |
+
545,
|
| 218 |
+
489,
|
| 219 |
+
898
|
| 220 |
+
],
|
| 221 |
+
"page_idx": 1
|
| 222 |
+
},
|
| 223 |
+
{
|
| 224 |
+
"type": "text",
|
| 225 |
+
"text": "In our extensive experiments, our UnifiedTMSC",
|
| 226 |
+
"bbox": [
|
| 227 |
+
131,
|
| 228 |
+
903,
|
| 229 |
+
487,
|
| 230 |
+
917
|
| 231 |
+
],
|
| 232 |
+
"page_idx": 1
|
| 233 |
+
},
|
| 234 |
+
{
|
| 235 |
+
"type": "text",
|
| 236 |
+
"text": "model achieves state-of-the-art performance on two entity-level datasets: Twitter-2015 and Twitter-2017, and two aspect-level datasets: Multi-ZOL and MASAD. (1) The results of the task description based prompts are superior to those of arbitrary prompt templates. (2) On two entity-level datasets, our model improves Accuracy by $1.0\\% - 2.8\\%$ and $1.5\\% - 3.7\\%$ , macro-F1 by $1.5\\% - 4.5\\%$ and $1.7\\% - 7.5\\%$ , respectively. (3) On two aspect-level datasets, our model gains of $6.46\\% - 8.87\\%$ and $1.66\\% - 3.02\\%$ on Accuracy, $3.77\\% - 5.01\\%$ and $2.19\\% - 3.25\\%$ on macro-F1 are derived. The experimental results demonstrate the effectiveness of our UnifiedTMSC.",
|
| 237 |
+
"bbox": [
|
| 238 |
+
507,
|
| 239 |
+
84,
|
| 240 |
+
885,
|
| 241 |
+
309
|
| 242 |
+
],
|
| 243 |
+
"page_idx": 1
|
| 244 |
+
},
|
| 245 |
+
{
|
| 246 |
+
"type": "text",
|
| 247 |
+
"text": "2 Related Work",
|
| 248 |
+
"text_level": 1,
|
| 249 |
+
"bbox": [
|
| 250 |
+
509,
|
| 251 |
+
322,
|
| 252 |
+
665,
|
| 253 |
+
338
|
| 254 |
+
],
|
| 255 |
+
"page_idx": 1
|
| 256 |
+
},
|
| 257 |
+
{
|
| 258 |
+
"type": "text",
|
| 259 |
+
"text": "2.1 Entity-level MSC",
|
| 260 |
+
"text_level": 1,
|
| 261 |
+
"bbox": [
|
| 262 |
+
509,
|
| 263 |
+
349,
|
| 264 |
+
692,
|
| 265 |
+
363
|
| 266 |
+
],
|
| 267 |
+
"page_idx": 1
|
| 268 |
+
},
|
| 269 |
+
{
|
| 270 |
+
"type": "text",
|
| 271 |
+
"text": "As a pioneer, Yu and Jiang (2019) proposed a BERT-based multimodal architecture to determine the sentiment polarity of an entity. Yu et al. (2020) introduced an entity-sensitive attention and fusion network. And Wang et al. (2021) put forward a recurrent attention network. Khan and Fu (2021) introduced an input space translation framework to construct image context from the image. Zhao et al. (2022) used the adjective-noun pairs extracted from images as the knowledge enhancement based on Yu and Jiang (2019) and Wang et al. (2021). Moreover, Yang et al. (2022) explored facial information in images to obtain visual and sentiment clues.",
|
| 272 |
+
"bbox": [
|
| 273 |
+
507,
|
| 274 |
+
370,
|
| 275 |
+
884,
|
| 276 |
+
579
|
| 277 |
+
],
|
| 278 |
+
"page_idx": 1
|
| 279 |
+
},
|
| 280 |
+
{
|
| 281 |
+
"type": "text",
|
| 282 |
+
"text": "In the research stated above, the entity can be encoded as a distinct text input, or entity and context can be combined as the text input. Their goal is to more effectively learn the semantics related to entity sentiment.",
|
| 283 |
+
"bbox": [
|
| 284 |
+
507,
|
| 285 |
+
580,
|
| 286 |
+
884,
|
| 287 |
+
659
|
| 288 |
+
],
|
| 289 |
+
"page_idx": 1
|
| 290 |
+
},
|
| 291 |
+
{
|
| 292 |
+
"type": "text",
|
| 293 |
+
"text": "2.2 Aspect-level MSC",
|
| 294 |
+
"text_level": 1,
|
| 295 |
+
"bbox": [
|
| 296 |
+
507,
|
| 297 |
+
671,
|
| 298 |
+
697,
|
| 299 |
+
687
|
| 300 |
+
],
|
| 301 |
+
"page_idx": 1
|
| 302 |
+
},
|
| 303 |
+
{
|
| 304 |
+
"type": "text",
|
| 305 |
+
"text": "Aspect-level multimodal classification was first proposed by Xu et al. (2019), and they introduced a multi-interactive memory network to analyze multiple correlations in multimodal data. Zhang et al. (2021) presented a multimodal fusion discriminant attention network and designed a discriminant matrix to supervise the modality fusion. Zhou et al. (2021) conducted a multimodal interaction model that learns the relationships between text, image, and target aspect through interaction layers and adversarial training. One key difference between an aspect and an entity is that the aspect has its own semantics inferred from the aspect words. Therefore, existing research usually regards the aspect",
|
| 306 |
+
"bbox": [
|
| 307 |
+
507,
|
| 308 |
+
694,
|
| 309 |
+
885,
|
| 310 |
+
919
|
| 311 |
+
],
|
| 312 |
+
"page_idx": 1
|
| 313 |
+
},
|
| 314 |
+
{
|
| 315 |
+
"type": "page_number",
|
| 316 |
+
"text": "4175",
|
| 317 |
+
"bbox": [
|
| 318 |
+
480,
|
| 319 |
+
927,
|
| 320 |
+
519,
|
| 321 |
+
940
|
| 322 |
+
],
|
| 323 |
+
"page_idx": 1
|
| 324 |
+
},
|
| 325 |
+
{
|
| 326 |
+
"type": "image",
|
| 327 |
+
"img_path": "images/4b659a4531a1d0f63dac519f07ec64fb7a403f8763130ce00d627737033e3e45.jpg",
|
| 328 |
+
"image_caption": [
|
| 329 |
+
"Figure 2: The model of our proposed UnifiedTMSC. Seed prompt and keyword 'sentiment' are obtained based on the task description and are converted into diverse paraphrased prompts through the paraphrasing rule (Equation 1). The paraphrased prompt and the original text input are concatenated to form the new text input which is encoded by the encoder to gain text embedding. The image is divided into multiple regions and each of the regions is initialized as a vector that is used as the prefix prompt for image pre-trained embedding. The text embedding and image embedding are undergone cross attention to gain modality fusion embedding."
|
| 330 |
+
],
|
| 331 |
+
"image_footnote": [],
|
| 332 |
+
"bbox": [
|
| 333 |
+
115,
|
| 334 |
+
85,
|
| 335 |
+
331,
|
| 336 |
+
357
|
| 337 |
+
],
|
| 338 |
+
"page_idx": 2
|
| 339 |
+
},
|
| 340 |
+
{
|
| 341 |
+
"type": "image",
|
| 342 |
+
"img_path": "images/81a1fa7c04df0a379853669bcaa530a31807b2d6041a1dc1e2d6fd568e22104e.jpg",
|
| 343 |
+
"image_caption": [],
|
| 344 |
+
"image_footnote": [],
|
| 345 |
+
"bbox": [
|
| 346 |
+
332,
|
| 347 |
+
86,
|
| 348 |
+
586,
|
| 349 |
+
357
|
| 350 |
+
],
|
| 351 |
+
"page_idx": 2
|
| 352 |
+
},
|
| 353 |
+
{
|
| 354 |
+
"type": "image",
|
| 355 |
+
"img_path": "images/01d7b8540d4cc6764f9510df13190097385a35470e0b4c9a597f90ff28553a16.jpg",
|
| 356 |
+
"image_caption": [],
|
| 357 |
+
"image_footnote": [],
|
| 358 |
+
"bbox": [
|
| 359 |
+
589,
|
| 360 |
+
86,
|
| 361 |
+
880,
|
| 362 |
+
357
|
| 363 |
+
],
|
| 364 |
+
"page_idx": 2
|
| 365 |
+
},
|
| 366 |
+
{
|
| 367 |
+
"type": "text",
|
| 368 |
+
"text": "itself as an additional input.",
|
| 369 |
+
"bbox": [
|
| 370 |
+
112,
|
| 371 |
+
478,
|
| 372 |
+
321,
|
| 373 |
+
493
|
| 374 |
+
],
|
| 375 |
+
"page_idx": 2
|
| 376 |
+
},
|
| 377 |
+
{
|
| 378 |
+
"type": "text",
|
| 379 |
+
"text": "Our focus: In contrast to previous studies, our model can run across TMSC tasks. It combines the target (entity or aspect) and its context as a text input using task description based paraphrased prompts. We can get sentiment-related semantics about the target by providing its context in task description based prompts.",
|
| 380 |
+
"bbox": [
|
| 381 |
+
112,
|
| 382 |
+
495,
|
| 383 |
+
485,
|
| 384 |
+
607
|
| 385 |
+
],
|
| 386 |
+
"page_idx": 2
|
| 387 |
+
},
|
| 388 |
+
{
|
| 389 |
+
"type": "text",
|
| 390 |
+
"text": "2.3 Prompt paraphrasing",
|
| 391 |
+
"text_level": 1,
|
| 392 |
+
"bbox": [
|
| 393 |
+
112,
|
| 394 |
+
623,
|
| 395 |
+
331,
|
| 396 |
+
638
|
| 397 |
+
],
|
| 398 |
+
"page_idx": 2
|
| 399 |
+
},
|
| 400 |
+
{
|
| 401 |
+
"type": "text",
|
| 402 |
+
"text": "Prompt tuning has received increasing attention recently (Radford et al., 2021; Yao et al., 2021) and has been successfully applied in many domains (Han et al., 2022; Liu et al., 2023b). For example, in the field of Question Answering (QA), Khashabi et al. (2020) reformulated many QA tasks as a text generation problem by fine-tuning seq2seq-based pre-trained models and appropriate prompts from the context and questions. For Information Extraction (IE), Chen et al. (2022) first explored the application of fixed-prompt LM Tuning in relation extraction and Lu et al. (2022) applied prompt to control the information to be extracted. In other research fields, Cui et al. (2023) used prompt learning in text input to conduct the meme mining task. Recently, the prompt has been used for the task involving fine-grained text sentiment analysis, and",
|
| 403 |
+
"bbox": [
|
| 404 |
+
112,
|
| 405 |
+
646,
|
| 406 |
+
489,
|
| 407 |
+
919
|
| 408 |
+
],
|
| 409 |
+
"page_idx": 2
|
| 410 |
+
},
|
| 411 |
+
{
|
| 412 |
+
"type": "text",
|
| 413 |
+
"text": "the results are promising (Seoh et al., 2021; Li et al., 2021, 2022a; Gao et al., 2022; Liu et al., 2023a).",
|
| 414 |
+
"bbox": [
|
| 415 |
+
507,
|
| 416 |
+
478,
|
| 417 |
+
882,
|
| 418 |
+
508
|
| 419 |
+
],
|
| 420 |
+
"page_idx": 2
|
| 421 |
+
},
|
| 422 |
+
{
|
| 423 |
+
"type": "text",
|
| 424 |
+
"text": "Inspired by the above studies, our unified model is through the task description based prompt paraphrasing with jointly soft and hard prompt tuning.",
|
| 425 |
+
"bbox": [
|
| 426 |
+
507,
|
| 427 |
+
510,
|
| 428 |
+
882,
|
| 429 |
+
558
|
| 430 |
+
],
|
| 431 |
+
"page_idx": 2
|
| 432 |
+
},
|
| 433 |
+
{
|
| 434 |
+
"type": "text",
|
| 435 |
+
"text": "3 Method",
|
| 436 |
+
"text_level": 1,
|
| 437 |
+
"bbox": [
|
| 438 |
+
509,
|
| 439 |
+
569,
|
| 440 |
+
611,
|
| 441 |
+
583
|
| 442 |
+
],
|
| 443 |
+
"page_idx": 2
|
| 444 |
+
},
|
| 445 |
+
{
|
| 446 |
+
"type": "text",
|
| 447 |
+
"text": "3.1 Task Formulation",
|
| 448 |
+
"text_level": 1,
|
| 449 |
+
"bbox": [
|
| 450 |
+
507,
|
| 451 |
+
594,
|
| 452 |
+
695,
|
| 453 |
+
608
|
| 454 |
+
],
|
| 455 |
+
"page_idx": 2
|
| 456 |
+
},
|
| 457 |
+
{
|
| 458 |
+
"type": "text",
|
| 459 |
+
"text": "Given a multimodal samples $D$ , for each sample $d \\in D$ , it contains a sentence $S$ with $n$ words $(w_{1}, w_{2}, \\ldots, w_{n})$ and one or more related images $I$ , as well as a target $T$ which contains $m$ words $(w_{1}, w_{2}, \\ldots, w_{m})$ and is a sub-sequence of $S$ or predefined phrase. For the target $T$ , it is associated with a sentiment label $Y$ . In general, $Y \\in \\{positive, neutral, negative\\}$ , and different tasks may have different sentiment labels. Our goal is to learn a target-oriented sentiment classifier that can correctly predict the sentiment label for each sample $X = (S, I, T)$ .",
|
| 460 |
+
"bbox": [
|
| 461 |
+
507,
|
| 462 |
+
614,
|
| 463 |
+
882,
|
| 464 |
+
808
|
| 465 |
+
],
|
| 466 |
+
"page_idx": 2
|
| 467 |
+
},
|
| 468 |
+
{
|
| 469 |
+
"type": "text",
|
| 470 |
+
"text": "3.2 Overview",
|
| 471 |
+
"text_level": 1,
|
| 472 |
+
"bbox": [
|
| 473 |
+
509,
|
| 474 |
+
818,
|
| 475 |
+
631,
|
| 476 |
+
832
|
| 477 |
+
],
|
| 478 |
+
"page_idx": 2
|
| 479 |
+
},
|
| 480 |
+
{
|
| 481 |
+
"type": "text",
|
| 482 |
+
"text": "As shown in Figure 2, our model consists of two modules: task paraphrasing (hard prompt) and image prefix tuning (soft prompt). For the given multimodal data $X = (S, I, T)$ , we obtain paraphrased prompts $(P_{1}, P_{2} \\dots)$ through the task description of",
|
| 483 |
+
"bbox": [
|
| 484 |
+
507,
|
| 485 |
+
839,
|
| 486 |
+
882,
|
| 487 |
+
919
|
| 488 |
+
],
|
| 489 |
+
"page_idx": 2
|
| 490 |
+
},
|
| 491 |
+
{
|
| 492 |
+
"type": "page_number",
|
| 493 |
+
"text": "4176",
|
| 494 |
+
"bbox": [
|
| 495 |
+
480,
|
| 496 |
+
927,
|
| 497 |
+
519,
|
| 498 |
+
940
|
| 499 |
+
],
|
| 500 |
+
"page_idx": 2
|
| 501 |
+
},
|
| 502 |
+
{
|
| 503 |
+
"type": "table",
|
| 504 |
+
"img_path": "images/b5347ca45346e90a6665be6ce3b0b622319daaa771e8698c62c17aa1e2874631.jpg",
|
| 505 |
+
"table_caption": [],
|
| 506 |
+
"table_footnote": [
|
| 507 |
+
"Table 1: Some examples of paraphrased prompts, as well as the relative positions of $Y$ (sentiment labels, replaced by [MASK] token, marked with bold), $T$ (the targets that need to recognize sentiment polarity, annotated with italics), and $K$ (keywords extracted from seed prompt or replaced with synonyms, annotated with underline) in the prompts. 'Synonym of $\\mathrm{K}$ ’ indicates whether to replace the keyword 'sentiment' extracted from the seed prompt with synonyms. 'B', 'M', and 'E' respectively represent the positions in the paraphrased prompt as: 'Beginning', 'Middle', and 'Ending'."
|
| 508 |
+
],
|
| 509 |
+
"table_body": "<table><tr><td>Paraphrased Prompts</td><td>< Y, Position ></td><td>< T,Position ></td><td>< K, Position ></td><td>Synonym of K</td></tr><tr><td>{target} express a [MASK] sentiment.</td><td>< [MASK],M ></td><td>< {target},B ></td><td>< sentiment,E ></td><td>no</td></tr><tr><td>The emotion of {target} is [MASK].</td><td>< [MASK],E ></td><td>< {target},M ></td><td>< emotion,B ></td><td>yes</td></tr><tr><td>{target}'s emotion is [MASK].</td><td>< [MASK],E ></td><td>< {target},B ></td><td>< emotion,M ></td><td>yes</td></tr><tr><td>The [MASK] feeling is {target}'s sentiment.</td><td>< [MASK],B ></td><td>< {target},M ></td><td>< sentiment,E ></td><td>no</td></tr><tr><td>The sentiment is [MASK] and conveyed by {target}.</td><td>< [MASK],M ></td><td>< {target},E ></td><td>< sentiment,B ></td><td>no</td></tr><tr><td>The emotion expressed by {target} is [MASK].</td><td>< [MASK],E ></td><td>< {target},M ></td><td>< emotion,B ></td><td>yes</td></tr><tr><td>A [MASK] sentiment is expressed towards to {target}.</td><td>< [MASK],B ></td><td>< {target},E ></td><td>< sentiment,M ></td><td>no</td></tr></table>",
|
| 510 |
+
"bbox": [
|
| 511 |
+
115,
|
| 512 |
+
80,
|
| 513 |
+
885,
|
| 514 |
+
209
|
| 515 |
+
],
|
| 516 |
+
"page_idx": 3
|
| 517 |
+
},
|
| 518 |
+
{
|
| 519 |
+
"type": "text",
|
| 520 |
+
"text": "TMSC, which are used as prefixes for text input $S$ in the task paraphrasing module (the left of Figure 2). Paraphrased prompt $P_{i}$ contains a [MASK] token and is connected with text $S$ . The text embedding $R$ is obtained through an encoder in the bottom-right of Figure 2. In the image prefix tuning module, we apply an initialization vector $V$ for pre-train image embedding $E$ as the continuous prefix. After text embedding $R$ and image embedding $(V + E)$ are added to their respective position encoding, the fusion vector is obtained through the multimodal Transformer in the middle right of Figure 2. We take the hidden layer vector $H$ and pass it through the MLM head to get the prediction score of [MASK] position for each word in the vocabulary $C$ . Finally, the cross entropy loss $L_{MLM}$ of the prediction result $Output$ and the true sentiment label $Y$ is calculated.",
|
| 521 |
+
"bbox": [
|
| 522 |
+
110,
|
| 523 |
+
329,
|
| 524 |
+
489,
|
| 525 |
+
618
|
| 526 |
+
],
|
| 527 |
+
"page_idx": 3
|
| 528 |
+
},
|
| 529 |
+
{
|
| 530 |
+
"type": "text",
|
| 531 |
+
"text": "3.3 Task Paraphrasing",
|
| 532 |
+
"text_level": 1,
|
| 533 |
+
"bbox": [
|
| 534 |
+
112,
|
| 535 |
+
636,
|
| 536 |
+
310,
|
| 537 |
+
651
|
| 538 |
+
],
|
| 539 |
+
"page_idx": 3
|
| 540 |
+
},
|
| 541 |
+
{
|
| 542 |
+
"type": "text",
|
| 543 |
+
"text": "In order to provide a specific context for a target, i.e., entity and aspect, we add the target-involved prompts to the text input. Since we change the original sentiment classification task in this way to the pre-trained MLM task, it is crucial to figure out how to develop prompts that are suitable for the original task, that is to say, the prompts should be consistent with the expression of the task description. Inspired by prompt tuning in various domains, such as the visual grounding problem (Yao et al., 2021) and visual question answering task (Liu et al., 2022), we propose the task paraphrasing module to draw paraphrased prompts as a solution to the above issue.",
|
| 544 |
+
"bbox": [
|
| 545 |
+
112,
|
| 546 |
+
659,
|
| 547 |
+
489,
|
| 548 |
+
883
|
| 549 |
+
],
|
| 550 |
+
"page_idx": 3
|
| 551 |
+
},
|
| 552 |
+
{
|
| 553 |
+
"type": "text",
|
| 554 |
+
"text": "We get the seed prompt according to the task description composed of natural language, and take",
|
| 555 |
+
"bbox": [
|
| 556 |
+
112,
|
| 557 |
+
887,
|
| 558 |
+
489,
|
| 559 |
+
919
|
| 560 |
+
],
|
| 561 |
+
"page_idx": 3
|
| 562 |
+
},
|
| 563 |
+
{
|
| 564 |
+
"type": "text",
|
| 565 |
+
"text": "the task-related keyword $K$ ('sentiment') from the task description. The seed prompt is transformed through the paraphrasing rule, and guides the generation of paraphrased prompts that are close to the original task description. Our paraphrasing rule can be formalized in the following form:",
|
| 566 |
+
"bbox": [
|
| 567 |
+
507,
|
| 568 |
+
329,
|
| 569 |
+
884,
|
| 570 |
+
426
|
| 571 |
+
],
|
| 572 |
+
"page_idx": 3
|
| 573 |
+
},
|
| 574 |
+
{
|
| 575 |
+
"type": "equation",
|
| 576 |
+
"text": "\n$$\nf (Y) \\wedge f (T) \\wedge f (K) \\wedge g (K) \\tag {1}\n$$\n",
|
| 577 |
+
"text_format": "latex",
|
| 578 |
+
"bbox": [
|
| 579 |
+
581,
|
| 580 |
+
435,
|
| 581 |
+
882,
|
| 582 |
+
453
|
| 583 |
+
],
|
| 584 |
+
"page_idx": 3
|
| 585 |
+
},
|
| 586 |
+
{
|
| 587 |
+
"type": "text",
|
| 588 |
+
"text": "where the function $f$ represents the relative position in the paraphrased prompts and the substitution of synonyms for a keyword ('sentiment') is illustrated by the function $g$ . $f(Y), f(T), f(K) \\in \\{B, M, E\\}$ (meaning 'Beginning', 'Middle', 'Ending'), which respectively stands for the relative position of the sentiment label, the target entity, and the keyword derived from the task description. $g(K) \\in \\{yes, no\\}$ means whether to replace synonyms of keywords $K$ . Moreover, synonyms are synonymous explanations for the keyword 'sentiment' in the dictionary. For example, in the Bing dictionary, the synonyms for 'sentiment' include 'emotion', 'feeling', 'opinion', etc.",
|
| 589 |
+
"bbox": [
|
| 590 |
+
507,
|
| 591 |
+
461,
|
| 592 |
+
884,
|
| 593 |
+
686
|
| 594 |
+
],
|
| 595 |
+
"page_idx": 3
|
| 596 |
+
},
|
| 597 |
+
{
|
| 598 |
+
"type": "text",
|
| 599 |
+
"text": "The task paraphrasing module is shown in the left part of Figure 2. Generally speaking, based on the relative position combination of $Y$ , $K$ , and $T$ , one seed prompt can be paraphrased to gain multiple candidate prompts. If we replace the keyword with different synonyms, we will receive more paraphrased prompts. Some examples of paraphrased prompts $P_{i}$ are listed in Table 1. When paraphrased prompt $P_{i}$ is in the training phase, the position of $Y$ is replaced by [MASK] token which is the prediction object. Finally, the $P_{i}$ and text $S$ are concatenated to obtain a new text input:",
|
| 600 |
+
"bbox": [
|
| 601 |
+
507,
|
| 602 |
+
687,
|
| 603 |
+
882,
|
| 604 |
+
879
|
| 605 |
+
],
|
| 606 |
+
"page_idx": 3
|
| 607 |
+
},
|
| 608 |
+
{
|
| 609 |
+
"type": "equation",
|
| 610 |
+
"text": "\n$$\nS ^ {\\text {n e w}} = [ C L S ] P _ {i} S [ S E P ] \\tag {2}\n$$\n",
|
| 611 |
+
"text_format": "latex",
|
| 612 |
+
"bbox": [
|
| 613 |
+
588,
|
| 614 |
+
889,
|
| 615 |
+
882,
|
| 616 |
+
906
|
| 617 |
+
],
|
| 618 |
+
"page_idx": 3
|
| 619 |
+
},
|
| 620 |
+
{
|
| 621 |
+
"type": "page_number",
|
| 622 |
+
"text": "4177",
|
| 623 |
+
"bbox": [
|
| 624 |
+
480,
|
| 625 |
+
927,
|
| 626 |
+
519,
|
| 627 |
+
940
|
| 628 |
+
],
|
| 629 |
+
"page_idx": 3
|
| 630 |
+
},
|
| 631 |
+
{
|
| 632 |
+
"type": "image",
|
| 633 |
+
"img_path": "images/bf2e1f42ed723ff41e703b4494bd19293b9129cdd41e4dbe23ab1ab6b77a403a.jpg",
|
| 634 |
+
"image_caption": [
|
| 635 |
+
"Figure 3: An example of image prefix tuning. $v_{P_{idx}}$ is random initialization of the prefix sequence and $e_{I_{idx}}$ is the image pre-trained embedding."
|
| 636 |
+
],
|
| 637 |
+
"image_footnote": [],
|
| 638 |
+
"bbox": [
|
| 639 |
+
122,
|
| 640 |
+
84,
|
| 641 |
+
480,
|
| 642 |
+
195
|
| 643 |
+
],
|
| 644 |
+
"page_idx": 4
|
| 645 |
+
},
|
| 646 |
+
{
|
| 647 |
+
"type": "text",
|
| 648 |
+
"text": "3.4 Image Prefix Tuning",
|
| 649 |
+
"text_level": 1,
|
| 650 |
+
"bbox": [
|
| 651 |
+
112,
|
| 652 |
+
280,
|
| 653 |
+
319,
|
| 654 |
+
296
|
| 655 |
+
],
|
| 656 |
+
"page_idx": 4
|
| 657 |
+
},
|
| 658 |
+
{
|
| 659 |
+
"type": "text",
|
| 660 |
+
"text": "Discrete prompts, i.e., hard prompts, in the text are natural and easy to understand. For images, directly applying discrete prompts cannot ensure alignment between text based prompts and images since there are modality gaps between different modalities. Therefore, finding suitable prompts for images is crucial. This module mainly focuses on how to add prompts to images to facilitate a better modality fusion of images and text.",
|
| 661 |
+
"bbox": [
|
| 662 |
+
112,
|
| 663 |
+
303,
|
| 664 |
+
487,
|
| 665 |
+
447
|
| 666 |
+
],
|
| 667 |
+
"page_idx": 4
|
| 668 |
+
},
|
| 669 |
+
{
|
| 670 |
+
"type": "text",
|
| 671 |
+
"text": "Inspired by (Tsimpoukelli et al., 2021) and (Li and Liang, 2021), we introduce a continuous vector as a prefix, i.e., soft prompt, to image pre-trained embedding, as shown in Figure 3. We first segment the image into $r$ regions, and then initialize a vector $v_{i}$ $(i\\in \\{1,2,\\dots r\\})$ for each region to form the prefix embedding $V = \\{v_{1},v_{2},\\ldots v_{r}\\}$ and $V\\in \\mathbb{R}^{r\\times 2048}$ . Here, $P_{idx}$ denotes the indices of the prefix sequence. $|P_{idx}|$ denotes the length of the prefix and $|I_{idx}|$ indicates the length of the image pre-trained embedding. In $E = \\{e_1,e_2,e_3,e_4,e_5\\}$ , $e_i\\in \\mathbb{R}^{2048}$ refers to the image embedding of the $i$ -th region. The prefix embedding $V = \\{v_{1},v_{2},v_{3}\\}$ and $V\\in \\mathbb{R}^{3\\times 2048}$ . If there are multiple images corresponding to the text, we initialize a soft prompt for each image and their averaged vector is used as the final prefix prompt for the images. $V$ and $E$ are concatenated to obtain new image embedding $E^{new}$ .",
|
| 672 |
+
"bbox": [
|
| 673 |
+
112,
|
| 674 |
+
449,
|
| 675 |
+
489,
|
| 676 |
+
753
|
| 677 |
+
],
|
| 678 |
+
"page_idx": 4
|
| 679 |
+
},
|
| 680 |
+
{
|
| 681 |
+
"type": "equation",
|
| 682 |
+
"text": "\n$$\nE ^ {\\text {n e w}} = V \\oplus E \\tag {3}\n$$\n",
|
| 683 |
+
"text_format": "latex",
|
| 684 |
+
"bbox": [
|
| 685 |
+
238,
|
| 686 |
+
758,
|
| 687 |
+
487,
|
| 688 |
+
774
|
| 689 |
+
],
|
| 690 |
+
"page_idx": 4
|
| 691 |
+
},
|
| 692 |
+
{
|
| 693 |
+
"type": "equation",
|
| 694 |
+
"text": "\n$$\nE _ {(i)} ^ {\\text {n e w}} = \\left\\{ \\begin{array}{c c} v _ {i} & i \\in P _ {i d x} \\\\ e _ {(i - | P _ {i d x} |)} & \\text {o t h e r w i s e} \\end{array} \\right. \\tag {4}\n$$\n",
|
| 695 |
+
"text_format": "latex",
|
| 696 |
+
"bbox": [
|
| 697 |
+
164,
|
| 698 |
+
816,
|
| 699 |
+
485,
|
| 700 |
+
854
|
| 701 |
+
],
|
| 702 |
+
"page_idx": 4
|
| 703 |
+
},
|
| 704 |
+
{
|
| 705 |
+
"type": "text",
|
| 706 |
+
"text": "$E^{new}$ and $S^{new}$ are image input and text input respectively, and the subsequent encoding process is carried out together.",
|
| 707 |
+
"bbox": [
|
| 708 |
+
112,
|
| 709 |
+
870,
|
| 710 |
+
487,
|
| 711 |
+
917
|
| 712 |
+
],
|
| 713 |
+
"page_idx": 4
|
| 714 |
+
},
|
| 715 |
+
{
|
| 716 |
+
"type": "table",
|
| 717 |
+
"img_path": "images/b647e129c1910d0b705b0ede820141cf937a719cf74910432da49383ad4966f9.jpg",
|
| 718 |
+
"table_caption": [],
|
| 719 |
+
"table_footnote": [],
|
| 720 |
+
"table_body": "<table><tr><td></td><td>Twitter-2015</td><td>Twitter-2017</td><td>Multi-ZOL</td><td>MASAD</td></tr><tr><td></td><td>Text-Image</td><td>Text-Image</td><td>Text-Image</td><td>Text-Image</td></tr><tr><td>Train</td><td>3179</td><td>3562</td><td>22775</td><td>26292</td></tr><tr><td>Dev</td><td>1122</td><td>1176</td><td>2847</td><td>2925</td></tr><tr><td>Test</td><td>1037</td><td>1234</td><td>2847</td><td>8850</td></tr><tr><td>Total</td><td>5338</td><td>5972</td><td>28469</td><td>38532</td></tr></table>",
|
| 721 |
+
"bbox": [
|
| 722 |
+
514,
|
| 723 |
+
80,
|
| 724 |
+
878,
|
| 725 |
+
154
|
| 726 |
+
],
|
| 727 |
+
"page_idx": 4
|
| 728 |
+
},
|
| 729 |
+
{
|
| 730 |
+
"type": "text",
|
| 731 |
+
"text": "Table 2: Statistics of four TMSC datasets.",
|
| 732 |
+
"bbox": [
|
| 733 |
+
551,
|
| 734 |
+
162,
|
| 735 |
+
836,
|
| 736 |
+
175
|
| 737 |
+
],
|
| 738 |
+
"page_idx": 4
|
| 739 |
+
},
|
| 740 |
+
{
|
| 741 |
+
"type": "text",
|
| 742 |
+
"text": "3.5 Multimodal Transformer With MLM",
|
| 743 |
+
"text_level": 1,
|
| 744 |
+
"bbox": [
|
| 745 |
+
507,
|
| 746 |
+
202,
|
| 747 |
+
848,
|
| 748 |
+
216
|
| 749 |
+
],
|
| 750 |
+
"page_idx": 4
|
| 751 |
+
},
|
| 752 |
+
{
|
| 753 |
+
"type": "text",
|
| 754 |
+
"text": "Training. Given a triplet $(S, I, T, Y)$ , after the task paraphrasing module and image prefix tuning module, the updated text input $S^{new}$ and image embeddings $E^{new}$ are obtained. Text encoder encodes $S^{new}$ to gain text embedding $R$ . $R$ and the image embedding $E^{new}$ undergo cross-attention through a Transformer to obtain the fusion embedding $H$ . In this multimodal Transformer, the image pre-trained embedding $E$ is fixed and not updated, and only $V$ is updated. Fusion embedding $H$ passes through an MLP to obtain prediction scores Logit:",
|
| 755 |
+
"bbox": [
|
| 756 |
+
507,
|
| 757 |
+
222,
|
| 758 |
+
882,
|
| 759 |
+
399
|
| 760 |
+
],
|
| 761 |
+
"page_idx": 4
|
| 762 |
+
},
|
| 763 |
+
{
|
| 764 |
+
"type": "equation",
|
| 765 |
+
"text": "\n$$\n\\operatorname {L o g i t} = M L P _ {M L M} (H) \\tag {5}\n$$\n",
|
| 766 |
+
"text_format": "latex",
|
| 767 |
+
"bbox": [
|
| 768 |
+
600,
|
| 769 |
+
410,
|
| 770 |
+
882,
|
| 771 |
+
428
|
| 772 |
+
],
|
| 773 |
+
"page_idx": 4
|
| 774 |
+
},
|
| 775 |
+
{
|
| 776 |
+
"type": "text",
|
| 777 |
+
"text": "The word with the highest prediction score is the prediction result:",
|
| 778 |
+
"bbox": [
|
| 779 |
+
507,
|
| 780 |
+
438,
|
| 781 |
+
880,
|
| 782 |
+
469
|
| 783 |
+
],
|
| 784 |
+
"page_idx": 4
|
| 785 |
+
},
|
| 786 |
+
{
|
| 787 |
+
"type": "equation",
|
| 788 |
+
"text": "\n$$\n\\text {O u t p u t} = \\operatorname {a r g m a x} (\\operatorname {L o g i t}) \\tag {6}\n$$\n",
|
| 789 |
+
"text_format": "latex",
|
| 790 |
+
"bbox": [
|
| 791 |
+
589,
|
| 792 |
+
481,
|
| 793 |
+
882,
|
| 794 |
+
498
|
| 795 |
+
],
|
| 796 |
+
"page_idx": 4
|
| 797 |
+
},
|
| 798 |
+
{
|
| 799 |
+
"type": "text",
|
| 800 |
+
"text": "Finally, the predicted result and the true sentiment label $Y$ are calculated in the cross-entropy loss to optimize our model.",
|
| 801 |
+
"bbox": [
|
| 802 |
+
507,
|
| 803 |
+
508,
|
| 804 |
+
882,
|
| 805 |
+
556
|
| 806 |
+
],
|
| 807 |
+
"page_idx": 4
|
| 808 |
+
},
|
| 809 |
+
{
|
| 810 |
+
"type": "equation",
|
| 811 |
+
"text": "\n$$\nL _ {M L M} = - \\log \\left(\\frac {\\exp (L o g i t _ {i})}{\\sum_ {j = 0} ^ {| C |} \\exp (L o g i t _ {j})}\\right) \\tag {7}\n$$\n",
|
| 812 |
+
"text_format": "latex",
|
| 813 |
+
"bbox": [
|
| 814 |
+
554,
|
| 815 |
+
565,
|
| 816 |
+
882,
|
| 817 |
+
606
|
| 818 |
+
],
|
| 819 |
+
"page_idx": 4
|
| 820 |
+
},
|
| 821 |
+
{
|
| 822 |
+
"type": "text",
|
| 823 |
+
"text": "where $i$ is the true sentiment label number and $C$ is the size of the language model vocabulary.",
|
| 824 |
+
"bbox": [
|
| 825 |
+
507,
|
| 826 |
+
614,
|
| 827 |
+
880,
|
| 828 |
+
646
|
| 829 |
+
],
|
| 830 |
+
"page_idx": 4
|
| 831 |
+
},
|
| 832 |
+
{
|
| 833 |
+
"type": "text",
|
| 834 |
+
"text": "Inference. In the inference stage, given a triplet $(S,I,T)$ , the sentiment polarity $Y^{\\prime}$ of $T$ is determined via the triplet.",
|
| 835 |
+
"bbox": [
|
| 836 |
+
507,
|
| 837 |
+
646,
|
| 838 |
+
882,
|
| 839 |
+
694
|
| 840 |
+
],
|
| 841 |
+
"page_idx": 4
|
| 842 |
+
},
|
| 843 |
+
{
|
| 844 |
+
"type": "equation",
|
| 845 |
+
"text": "\n$$\nY ^ {\\prime} = \\operatorname {a r g m a x} \\left(\\operatorname {L o g i t} _ {[ M A S K ]}\\right) \\tag {8}\n$$\n",
|
| 846 |
+
"text_format": "latex",
|
| 847 |
+
"bbox": [
|
| 848 |
+
579,
|
| 849 |
+
705,
|
| 850 |
+
882,
|
| 851 |
+
724
|
| 852 |
+
],
|
| 853 |
+
"page_idx": 4
|
| 854 |
+
},
|
| 855 |
+
{
|
| 856 |
+
"type": "text",
|
| 857 |
+
"text": "After obtaining the fusion embedding of text and images, we take the argmax of the logit of the [MASK] position to obtain the final prediction result. Finally, for non-label words generated by the model, the answer engineering is used to map them to sentiment labels.",
|
| 858 |
+
"bbox": [
|
| 859 |
+
507,
|
| 860 |
+
733,
|
| 861 |
+
880,
|
| 862 |
+
827
|
| 863 |
+
],
|
| 864 |
+
"page_idx": 4
|
| 865 |
+
},
|
| 866 |
+
{
|
| 867 |
+
"type": "text",
|
| 868 |
+
"text": "4 Experiment",
|
| 869 |
+
"text_level": 1,
|
| 870 |
+
"bbox": [
|
| 871 |
+
507,
|
| 872 |
+
841,
|
| 873 |
+
648,
|
| 874 |
+
857
|
| 875 |
+
],
|
| 876 |
+
"page_idx": 4
|
| 877 |
+
},
|
| 878 |
+
{
|
| 879 |
+
"type": "text",
|
| 880 |
+
"text": "4.1 Experimental Setup",
|
| 881 |
+
"text_level": 1,
|
| 882 |
+
"bbox": [
|
| 883 |
+
507,
|
| 884 |
+
866,
|
| 885 |
+
712,
|
| 886 |
+
882
|
| 887 |
+
],
|
| 888 |
+
"page_idx": 4
|
| 889 |
+
},
|
| 890 |
+
{
|
| 891 |
+
"type": "text",
|
| 892 |
+
"text": "Datasets. According to Zhou et al. (2021), there are four datasets for target-oriented multimodal",
|
| 893 |
+
"bbox": [
|
| 894 |
+
507,
|
| 895 |
+
887,
|
| 896 |
+
880,
|
| 897 |
+
917
|
| 898 |
+
],
|
| 899 |
+
"page_idx": 4
|
| 900 |
+
},
|
| 901 |
+
{
|
| 902 |
+
"type": "page_number",
|
| 903 |
+
"text": "4178",
|
| 904 |
+
"bbox": [
|
| 905 |
+
480,
|
| 906 |
+
927,
|
| 907 |
+
519,
|
| 908 |
+
940
|
| 909 |
+
],
|
| 910 |
+
"page_idx": 4
|
| 911 |
+
},
|
| 912 |
+
{
|
| 913 |
+
"type": "text",
|
| 914 |
+
"text": "sentiment classification, including two entity-level datasets: Twitter-2015 (Zhang et al., 2018; Yu and Jiang, 2019), Twitter-2017 (Lu et al., 2018; Yu and Jiang, 2019) and two aspect-level datasets: Multi-ZOL (Xu et al., 2019), MASDA (Zhou et al., 2021) The statistics information of these four datasets are shown in Table 2, and their details about the data partitioning and label types are presented in A.2.",
|
| 915 |
+
"bbox": [
|
| 916 |
+
112,
|
| 917 |
+
84,
|
| 918 |
+
487,
|
| 919 |
+
212
|
| 920 |
+
],
|
| 921 |
+
"page_idx": 5
|
| 922 |
+
},
|
| 923 |
+
{
|
| 924 |
+
"type": "text",
|
| 925 |
+
"text": "Evaluation Metrics. To fairly compare with state-of-the-art approaches, our UnifiedTMSC is evaluated across two TMSC tasks and adopts the Accuracy (Acc) and Macro-F1 score (F1), following Yu and Jiang (2019) and Ling et al. (2022).",
|
| 926 |
+
"bbox": [
|
| 927 |
+
112,
|
| 928 |
+
215,
|
| 929 |
+
489,
|
| 930 |
+
294
|
| 931 |
+
],
|
| 932 |
+
"page_idx": 5
|
| 933 |
+
},
|
| 934 |
+
{
|
| 935 |
+
"type": "text",
|
| 936 |
+
"text": "Implementation Details. For the Twitter-2015, Twitter-2017, and MASAD, the batch size is set to 16 and the epochs are set to 6. The text encoder used is BERT-base-uncased (Devlin et al., 2019). For the Multi-ZOL dataset, in order to ensure fairness in the experiment, we employ BERT-base-chinese (Devlin et al., 2019) as the text encoder, the batch size is 8, and the epochs as 6. Moreover, multilingual pre-trained models can also be used as our text encoders.",
|
| 937 |
+
"bbox": [
|
| 938 |
+
112,
|
| 939 |
+
297,
|
| 940 |
+
489,
|
| 941 |
+
456
|
| 942 |
+
],
|
| 943 |
+
"page_idx": 5
|
| 944 |
+
},
|
| 945 |
+
{
|
| 946 |
+
"type": "text",
|
| 947 |
+
"text": "For all datasets, we apply Resnet-50 (He et al., 2016) as the image encoder to get the image prefix embedding, and the max length of the new text input $S^{new}$ (in Eq. (2)) is 96. The model learning rate is set as 1e-5 and the dropout rate is 1e-2. Four layer Transformers (Vaswani et al., 2017) are aimed to perform cross attention between different modalities and the pre-training parameters are not loaded. Four NVIDIA Titan Xp GPUs, each with 12GB of memory, are employed in our experiments which are done on a CentOS computer. The deep learning framework is Pytorch, and AdamW is used as the optimizer.",
|
| 948 |
+
"bbox": [
|
| 949 |
+
112,
|
| 950 |
+
458,
|
| 951 |
+
489,
|
| 952 |
+
668
|
| 953 |
+
],
|
| 954 |
+
"page_idx": 5
|
| 955 |
+
},
|
| 956 |
+
{
|
| 957 |
+
"type": "text",
|
| 958 |
+
"text": "4.2 Compared Baselines",
|
| 959 |
+
"text_level": 1,
|
| 960 |
+
"bbox": [
|
| 961 |
+
112,
|
| 962 |
+
686,
|
| 963 |
+
321,
|
| 964 |
+
701
|
| 965 |
+
],
|
| 966 |
+
"page_idx": 5
|
| 967 |
+
},
|
| 968 |
+
{
|
| 969 |
+
"type": "text",
|
| 970 |
+
"text": "Because previous work has separated entity-level MSC and aspect-level MSC, the baseline models for each task are different. For the Twitter-2015 and Twitter-2017 datasets, we compare six baselines including TomBERT (IJCAI, Yu and Jiang (2019)), SaliencyBERT (PRCV, Wang et al. (2021)), CapTrBERT (ACM Multimedia, Khan and Fu (2021)), JML-MASC (EMNLP, Ju et al. (2021)), VLP-MABSA (ACL, Ling et al. (2022)), FITE-DE-Large (EMNLP, Yang et al. (2022)). For the Multi-ZOL and MASAD datasets, our model is compared with MIMN (AAAI, Xu et al. (2019)), ModalNet (WWW, Zhang et al. (2021)), MMAP",
|
| 971 |
+
"bbox": [
|
| 972 |
+
112,
|
| 973 |
+
709,
|
| 974 |
+
489,
|
| 975 |
+
917
|
| 976 |
+
],
|
| 977 |
+
"page_idx": 5
|
| 978 |
+
},
|
| 979 |
+
{
|
| 980 |
+
"type": "table",
|
| 981 |
+
"img_path": "images/2b378f61ed1938c8a595675bec219d04da213360cc56ee742624cf1d5fcbdd9c.jpg",
|
| 982 |
+
"table_caption": [],
|
| 983 |
+
"table_footnote": [],
|
| 984 |
+
"table_body": "<table><tr><td rowspan=\"2\">Method</td><td colspan=\"3\">Twitter-2015</td><td colspan=\"3\">Twitter-2017</td></tr><tr><td>Acc</td><td>F1</td><td>P-Value</td><td>Acc</td><td>F1</td><td>P-Value</td></tr><tr><td>TomBERT</td><td>77.2</td><td>71.8</td><td>0.0194</td><td>70.5</td><td>68.0</td><td>0.0156</td></tr><tr><td>SaliencyBERT</td><td>77.0</td><td>72.4</td><td>0.0109</td><td>69.7</td><td>67.2</td><td>0.0156</td></tr><tr><td>CapTrBERT</td><td>78.0</td><td>73.3</td><td>0.0120</td><td>72.3</td><td>70.2</td><td>0.0134</td></tr><tr><td>JML-MASC</td><td>78.7</td><td>-</td><td>-</td><td>72.7</td><td>-</td><td>-</td></tr><tr><td>VLP-MABSA</td><td>78.6</td><td>73.8</td><td>0.0131</td><td>73.8</td><td>71.8</td><td>0.0111</td></tr><tr><td>FITDE-DE-Large</td><td>78.8</td><td>74.8</td><td>0.0048</td><td>73.9</td><td>73.0</td><td>0.0016</td></tr><tr><td>UnifiedTMSC</td><td>79.8</td><td>76.3</td><td>-</td><td>75.4</td><td>74.7</td><td>-</td></tr></table>",
|
| 985 |
+
"bbox": [
|
| 986 |
+
510,
|
| 987 |
+
80,
|
| 988 |
+
887,
|
| 989 |
+
170
|
| 990 |
+
],
|
| 991 |
+
"page_idx": 5
|
| 992 |
+
},
|
| 993 |
+
{
|
| 994 |
+
"type": "table",
|
| 995 |
+
"img_path": "images/a3cf520bdc7ca41f63e3de9243e2d474ff30f0079715b819b112f122c093c90a.jpg",
|
| 996 |
+
"table_caption": [
|
| 997 |
+
"Table 3: The experimental results on the multimodal entity-level datasets: Twitter-2015 and Twitter-2017. The results presented in the table are the average of different prompt results."
|
| 998 |
+
],
|
| 999 |
+
"table_footnote": [],
|
| 1000 |
+
"table_body": "<table><tr><td rowspan=\"2\">Method</td><td colspan=\"3\">Multi-ZOL</td><td colspan=\"3\">MASAD</td></tr><tr><td>Acc</td><td>F1</td><td>P-Value</td><td>Acc</td><td>F1</td><td>P-Value</td></tr><tr><td>MIMN</td><td>61.59</td><td>60.51</td><td>0.0316</td><td>94.52</td><td>93.55</td><td>0.0019</td></tr><tr><td>ModalNet</td><td>62.71</td><td>60.94</td><td>0.0266</td><td>-</td><td>-</td><td>-</td></tr><tr><td>MMAP</td><td>-</td><td>-</td><td>-</td><td>95.29</td><td>94.61</td><td>0.0049</td></tr><tr><td>CLIP</td><td>64.00</td><td>59.70</td><td>0.0092</td><td>95.88</td><td>94.21</td><td>0.0079</td></tr><tr><td>UnifiedTMSC</td><td>70.46</td><td>64.71</td><td>-</td><td>97.54</td><td>96.80</td><td>-</td></tr></table>",
|
| 1001 |
+
"bbox": [
|
| 1002 |
+
510,
|
| 1003 |
+
250,
|
| 1004 |
+
882,
|
| 1005 |
+
321
|
| 1006 |
+
],
|
| 1007 |
+
"page_idx": 5
|
| 1008 |
+
},
|
| 1009 |
+
{
|
| 1010 |
+
"type": "text",
|
| 1011 |
+
"text": "Table 4: The experimental results on the multimodal aspect-level datasets: Multi-ZOL and MASAD.",
|
| 1012 |
+
"bbox": [
|
| 1013 |
+
507,
|
| 1014 |
+
331,
|
| 1015 |
+
880,
|
| 1016 |
+
359
|
| 1017 |
+
],
|
| 1018 |
+
"page_idx": 5
|
| 1019 |
+
},
|
| 1020 |
+
{
|
| 1021 |
+
"type": "text",
|
| 1022 |
+
"text": "(Neurocomputing, Zhou et al. (2021)) and CLIP (INT J COMPUT VISION, Zhou et al. (2022)). The detailed introduction of all the baseline models mentioned above is in Section A.1.",
|
| 1023 |
+
"bbox": [
|
| 1024 |
+
507,
|
| 1025 |
+
385,
|
| 1026 |
+
882,
|
| 1027 |
+
449
|
| 1028 |
+
],
|
| 1029 |
+
"page_idx": 5
|
| 1030 |
+
},
|
| 1031 |
+
{
|
| 1032 |
+
"type": "text",
|
| 1033 |
+
"text": "4.3 Experimental Results and Analysis",
|
| 1034 |
+
"text_level": 1,
|
| 1035 |
+
"bbox": [
|
| 1036 |
+
507,
|
| 1037 |
+
460,
|
| 1038 |
+
828,
|
| 1039 |
+
475
|
| 1040 |
+
],
|
| 1041 |
+
"page_idx": 5
|
| 1042 |
+
},
|
| 1043 |
+
{
|
| 1044 |
+
"type": "text",
|
| 1045 |
+
"text": "4.3.1 Overall Performance",
|
| 1046 |
+
"text_level": 1,
|
| 1047 |
+
"bbox": [
|
| 1048 |
+
507,
|
| 1049 |
+
481,
|
| 1050 |
+
734,
|
| 1051 |
+
495
|
| 1052 |
+
],
|
| 1053 |
+
"page_idx": 5
|
| 1054 |
+
},
|
| 1055 |
+
{
|
| 1056 |
+
"type": "text",
|
| 1057 |
+
"text": "The experimental results on multimodal entity-level and aspect-level datasets are presented in Table 3 and Table 4 respectively. The best results on each metric are marked in bold and the second best results are highlighted with an underline.",
|
| 1058 |
+
"bbox": [
|
| 1059 |
+
505,
|
| 1060 |
+
500,
|
| 1061 |
+
882,
|
| 1062 |
+
579
|
| 1063 |
+
],
|
| 1064 |
+
"page_idx": 5
|
| 1065 |
+
},
|
| 1066 |
+
{
|
| 1067 |
+
"type": "text",
|
| 1068 |
+
"text": "Multimodal Entity-level Datasets Results. As reported in Table 3, compared with the baselines, our UnifiedTMSC makes significant improvements in entity-level MSC. On the Twitter-2015 dataset, our improvement is approximately $1.0\\%$ on Accuracy and $1.5\\%$ on the macro-F1 compared to the FITE-DE-Large. On the Twitter-2017 dataset, we achieve improvements over multimodal baseline VLP-MABSA on the Accuracy by $1.5\\%$ and $1.7\\%$ on the macro-F1, which indicates that using prompt tuning to fuse entity and context can achieve a better sentiment-related semantic understanding of an entity, resulting in better classification results.",
|
| 1069 |
+
"bbox": [
|
| 1070 |
+
505,
|
| 1071 |
+
581,
|
| 1072 |
+
882,
|
| 1073 |
+
788
|
| 1074 |
+
],
|
| 1075 |
+
"page_idx": 5
|
| 1076 |
+
},
|
| 1077 |
+
{
|
| 1078 |
+
"type": "text",
|
| 1079 |
+
"text": "Multimodal Aspect-level Datasets Results. Our UnifiedTMSC performs best in two datasets among all multimodal baselines, as listed in Table 4. This demonstrates the effectiveness of our proposed unified model based on prompt paraphrasing. Especially on the Multi-ZOL dataset, our UnifiedTMSC outperforms the ModalNet on the Accuracy by $7.75\\%$ and $3.77\\%$ on the macro-F1. On",
|
| 1080 |
+
"bbox": [
|
| 1081 |
+
507,
|
| 1082 |
+
790,
|
| 1083 |
+
884,
|
| 1084 |
+
917
|
| 1085 |
+
],
|
| 1086 |
+
"page_idx": 5
|
| 1087 |
+
},
|
| 1088 |
+
{
|
| 1089 |
+
"type": "page_number",
|
| 1090 |
+
"text": "4179",
|
| 1091 |
+
"bbox": [
|
| 1092 |
+
480,
|
| 1093 |
+
927,
|
| 1094 |
+
519,
|
| 1095 |
+
940
|
| 1096 |
+
],
|
| 1097 |
+
"page_idx": 5
|
| 1098 |
+
},
|
| 1099 |
+
{
|
| 1100 |
+
"type": "table",
|
| 1101 |
+
"img_path": "images/fbda33860a9a1e793b02d606fe121567f39ffd7a31c0200e4ab56a7bc807190f.jpg",
|
| 1102 |
+
"table_caption": [],
|
| 1103 |
+
"table_footnote": [],
|
| 1104 |
+
"table_body": "<table><tr><td rowspan=\"2\">Method</td><td></td><td colspan=\"2\">Food</td><td colspan=\"2\">Buildings</td><td colspan=\"2\">Goods</td><td colspan=\"2\">Human</td><td colspan=\"2\">Scenery</td></tr><tr><td></td><td>Acc</td><td>F1</td><td>Acc</td><td>F1</td><td>Acc</td><td>F1</td><td>Acc</td><td>F1</td><td>Acc</td><td>F1</td></tr><tr><td>MIMN</td><td>AAAI 2019</td><td>94.72</td><td>91.39</td><td>96.26</td><td>95.80</td><td>95.93</td><td>95.87</td><td>92.54</td><td>92.31</td><td>93.17</td><td>92.38</td></tr><tr><td>MMAP</td><td>Neucomp 2021</td><td>95.75</td><td>92.89</td><td>96.86</td><td>96.85</td><td>96.55</td><td>96.44</td><td>92.74</td><td>92.74</td><td>94.57</td><td>94.15</td></tr><tr><td>CLIP</td><td>IJCV 2022</td><td>96.15</td><td>93.05</td><td>95.84</td><td>94.27</td><td>97.36</td><td>96.88</td><td>94.20</td><td>93.24</td><td>95.84</td><td>93.59</td></tr><tr><td>UnifiedTMSC</td><td></td><td>98.00</td><td>96.02</td><td>98.26</td><td>98.25</td><td>98.08</td><td>98.01</td><td>97.82</td><td>96.49</td><td>95.56</td><td>95.24</td></tr></table>",
|
| 1105 |
+
"bbox": [
|
| 1106 |
+
115,
|
| 1107 |
+
80,
|
| 1108 |
+
885,
|
| 1109 |
+
158
|
| 1110 |
+
],
|
| 1111 |
+
"page_idx": 6
|
| 1112 |
+
},
|
| 1113 |
+
{
|
| 1114 |
+
"type": "text",
|
| 1115 |
+
"text": "the MASAD dataset, compared to the MMAP, ours improve performance by about $2.25\\%$ on Accuracy and $2.19\\%$ on the macro-F1.",
|
| 1116 |
+
"bbox": [
|
| 1117 |
+
112,
|
| 1118 |
+
234,
|
| 1119 |
+
485,
|
| 1120 |
+
281
|
| 1121 |
+
],
|
| 1122 |
+
"page_idx": 6
|
| 1123 |
+
},
|
| 1124 |
+
{
|
| 1125 |
+
"type": "text",
|
| 1126 |
+
"text": "Specifically, there are multiple domains in the MASAD dataset, we conduct experiments on each of them, and the experimental results are shown in Table 5. It is clear from the results that our model has achieved large improvements in each domain.",
|
| 1127 |
+
"bbox": [
|
| 1128 |
+
112,
|
| 1129 |
+
282,
|
| 1130 |
+
485,
|
| 1131 |
+
362
|
| 1132 |
+
],
|
| 1133 |
+
"page_idx": 6
|
| 1134 |
+
},
|
| 1135 |
+
{
|
| 1136 |
+
"type": "text",
|
| 1137 |
+
"text": "Finally, t-tests are conducted to demonstrate the effectiveness of UnifiedTMSC. From the P-value of other models in Table 3 and Table 4, it can be found that all P-values are less than 0.05. This shows a significant difference in statistics between UnifiedTMSC and other models.",
|
| 1138 |
+
"bbox": [
|
| 1139 |
+
112,
|
| 1140 |
+
363,
|
| 1141 |
+
485,
|
| 1142 |
+
458
|
| 1143 |
+
],
|
| 1144 |
+
"page_idx": 6
|
| 1145 |
+
},
|
| 1146 |
+
{
|
| 1147 |
+
"type": "text",
|
| 1148 |
+
"text": "After comparing and analyzing the experimental results, we can summarize the following two points from our prompt tuning:",
|
| 1149 |
+
"bbox": [
|
| 1150 |
+
112,
|
| 1151 |
+
460,
|
| 1152 |
+
485,
|
| 1153 |
+
508
|
| 1154 |
+
],
|
| 1155 |
+
"page_idx": 6
|
| 1156 |
+
},
|
| 1157 |
+
{
|
| 1158 |
+
"type": "list",
|
| 1159 |
+
"sub_type": "text",
|
| 1160 |
+
"list_items": [
|
| 1161 |
+
"I. Our prompt paraphrasing method delivers the target's context and fits the TMSC job effectively, and it produces good results, demonstrating the efficacy of our unified model.",
|
| 1162 |
+
"II. Utilizing the target as a separate input has worse results than taking the target and context together as text input. This shows that contextual information affects the target's semantics, and a contextual content that is appropriate for the task will result in a well understanding of a target with semantics."
|
| 1163 |
+
],
|
| 1164 |
+
"bbox": [
|
| 1165 |
+
127,
|
| 1166 |
+
517,
|
| 1167 |
+
489,
|
| 1168 |
+
705
|
| 1169 |
+
],
|
| 1170 |
+
"page_idx": 6
|
| 1171 |
+
},
|
| 1172 |
+
{
|
| 1173 |
+
"type": "text",
|
| 1174 |
+
"text": "4.3.2 The Effect of Prompt Designs",
|
| 1175 |
+
"text_level": 1,
|
| 1176 |
+
"bbox": [
|
| 1177 |
+
112,
|
| 1178 |
+
722,
|
| 1179 |
+
405,
|
| 1180 |
+
739
|
| 1181 |
+
],
|
| 1182 |
+
"page_idx": 6
|
| 1183 |
+
},
|
| 1184 |
+
{
|
| 1185 |
+
"type": "text",
|
| 1186 |
+
"text": "For the Twitter-2015 and Twitter-2017 datasets, we select three paraphrased prompts from Table 1 to conduct the experiments. The three selected paraphrased prompts are as follows:",
|
| 1187 |
+
"bbox": [
|
| 1188 |
+
112,
|
| 1189 |
+
741,
|
| 1190 |
+
487,
|
| 1191 |
+
806
|
| 1192 |
+
],
|
| 1193 |
+
"page_idx": 6
|
| 1194 |
+
},
|
| 1195 |
+
{
|
| 1196 |
+
"type": "list",
|
| 1197 |
+
"sub_type": "text",
|
| 1198 |
+
"list_items": [
|
| 1199 |
+
"- $P_{1}$ : {target} express a [MASK] sentiment.",
|
| 1200 |
+
"- $P_{2}$ : The emotion of {target} is [MASK].",
|
| 1201 |
+
"- $P_{3}$ : A [MASK] sentiment is expressed towards to {target}."
|
| 1202 |
+
],
|
| 1203 |
+
"bbox": [
|
| 1204 |
+
112,
|
| 1205 |
+
807,
|
| 1206 |
+
487,
|
| 1207 |
+
870
|
| 1208 |
+
],
|
| 1209 |
+
"page_idx": 6
|
| 1210 |
+
},
|
| 1211 |
+
{
|
| 1212 |
+
"type": "text",
|
| 1213 |
+
"text": "In addition, to verify the performance of the task paraphrasing module. We design three arbitrary prompt templates and compare them with the above",
|
| 1214 |
+
"bbox": [
|
| 1215 |
+
112,
|
| 1216 |
+
871,
|
| 1217 |
+
487,
|
| 1218 |
+
919
|
| 1219 |
+
],
|
| 1220 |
+
"page_idx": 6
|
| 1221 |
+
},
|
| 1222 |
+
{
|
| 1223 |
+
"type": "table",
|
| 1224 |
+
"img_path": "images/56ffffbbe3965b0c8e8f167075befa055c04461dba33623e5c334162bab5a8da.jpg",
|
| 1225 |
+
"table_caption": [
|
| 1226 |
+
"Table 5: The experimental results of each domain in the MASAD dataset. Because the accuracy and Macro F1 score in the domain of animal and plant reach $99.07\\% - 99.22\\%$ due to the duplicated samples, they will not be displayed here."
|
| 1227 |
+
],
|
| 1228 |
+
"table_footnote": [],
|
| 1229 |
+
"table_body": "<table><tr><td rowspan=\"2\" colspan=\"2\"></td><td colspan=\"2\">Twitter-2015</td><td colspan=\"2\">Twitter-2017</td></tr><tr><td>Acc</td><td>F1</td><td>Acc</td><td>F1</td></tr><tr><td rowspan=\"3\">paraphrased prompts</td><td>P1</td><td>80.2</td><td>77.6</td><td>76.9</td><td>76.7</td></tr><tr><td>P2</td><td>81.1</td><td>77.1</td><td>76.6</td><td>75.9</td></tr><tr><td>P3</td><td>79.8</td><td>77.5</td><td>76.2</td><td>75.9</td></tr><tr><td rowspan=\"3\">arbitrary prompts</td><td>P1'</td><td>79.1</td><td>75.5</td><td>73.8</td><td>73.7</td></tr><tr><td>P2'</td><td>79.0</td><td>75.1</td><td>74.3</td><td>73.6</td></tr><tr><td>P3'</td><td>79.4</td><td>75.1</td><td>74.5</td><td>72.9</td></tr></table>",
|
| 1230 |
+
"bbox": [
|
| 1231 |
+
510,
|
| 1232 |
+
231,
|
| 1233 |
+
880,
|
| 1234 |
+
338
|
| 1235 |
+
],
|
| 1236 |
+
"page_idx": 6
|
| 1237 |
+
},
|
| 1238 |
+
{
|
| 1239 |
+
"type": "text",
|
| 1240 |
+
"text": "Table 6: The experimental results of different prompts. The results of paraphrased prompts are superior to the arbitrary prompts, and $P_1'$ , $P_2'$ and $P_3'$ are comparable. In the experiments, one of the paraphrased prompts can be selected for experimentation.",
|
| 1241 |
+
"bbox": [
|
| 1242 |
+
507,
|
| 1243 |
+
348,
|
| 1244 |
+
882,
|
| 1245 |
+
419
|
| 1246 |
+
],
|
| 1247 |
+
"page_idx": 6
|
| 1248 |
+
},
|
| 1249 |
+
{
|
| 1250 |
+
"type": "text",
|
| 1251 |
+
"text": "three paraphrased prompts. The three arbitrary prompts are as follows:",
|
| 1252 |
+
"bbox": [
|
| 1253 |
+
507,
|
| 1254 |
+
443,
|
| 1255 |
+
880,
|
| 1256 |
+
474
|
| 1257 |
+
],
|
| 1258 |
+
"page_idx": 6
|
| 1259 |
+
},
|
| 1260 |
+
{
|
| 1261 |
+
"type": "list",
|
| 1262 |
+
"sub_type": "text",
|
| 1263 |
+
"list_items": [
|
| 1264 |
+
"- $P_1'$ : I feel the {target} is [MASK].",
|
| 1265 |
+
"- $P_2'$ : The (target) made me feel [MASK].",
|
| 1266 |
+
"- $P_3^7$ : I [MASK] the {target}."
|
| 1267 |
+
],
|
| 1268 |
+
"bbox": [
|
| 1269 |
+
527,
|
| 1270 |
+
475,
|
| 1271 |
+
845,
|
| 1272 |
+
524
|
| 1273 |
+
],
|
| 1274 |
+
"page_idx": 6
|
| 1275 |
+
},
|
| 1276 |
+
{
|
| 1277 |
+
"type": "text",
|
| 1278 |
+
"text": "where $\\{target\\}$ is the entity that needs to determine sentiment polarity, and [MASK] represents the masked word, i.e. sentiment label. The masked word in the $P_1', P_2', P_3'$ is {good, ok, bad}, {good, indifferent, bad} and {love, dislike, hate} respectively. After the masked words are generated, we perform answer engineering to map the predicted results to the sentiment polarity set, that is, the probabilities of these predicted words are made to be equal to the probabilities of being Positive, Neutral, and Negative.",
|
| 1279 |
+
"bbox": [
|
| 1280 |
+
507,
|
| 1281 |
+
525,
|
| 1282 |
+
882,
|
| 1283 |
+
700
|
| 1284 |
+
],
|
| 1285 |
+
"page_idx": 6
|
| 1286 |
+
},
|
| 1287 |
+
{
|
| 1288 |
+
"type": "text",
|
| 1289 |
+
"text": "The results of several different prompts are shown in Table 6. Through analysis and comparison, we can obtain the following summaries:",
|
| 1290 |
+
"bbox": [
|
| 1291 |
+
507,
|
| 1292 |
+
701,
|
| 1293 |
+
882,
|
| 1294 |
+
749
|
| 1295 |
+
],
|
| 1296 |
+
"page_idx": 6
|
| 1297 |
+
},
|
| 1298 |
+
{
|
| 1299 |
+
"type": "text",
|
| 1300 |
+
"text": "I. Our paraphrased prompts created by using the task description are much superior to arbitrary prompt templates, demonstrating the value of our task paraphrasing module in producing paraphrased prompts that are appropriate for the original sentiment classification task. In addition, the performance of different paraphrased prompts is comparable, and in subsequent experiments, anyone can be selected for training and inference.",
|
| 1301 |
+
"bbox": [
|
| 1302 |
+
527,
|
| 1303 |
+
758,
|
| 1304 |
+
884,
|
| 1305 |
+
917
|
| 1306 |
+
],
|
| 1307 |
+
"page_idx": 6
|
| 1308 |
+
},
|
| 1309 |
+
{
|
| 1310 |
+
"type": "page_number",
|
| 1311 |
+
"text": "4180",
|
| 1312 |
+
"bbox": [
|
| 1313 |
+
480,
|
| 1314 |
+
927,
|
| 1315 |
+
521,
|
| 1316 |
+
940
|
| 1317 |
+
],
|
| 1318 |
+
"page_idx": 6
|
| 1319 |
+
},
|
| 1320 |
+
{
|
| 1321 |
+
"type": "table",
|
| 1322 |
+
"img_path": "images/764ff1b9df2cec2552b3f40892e2f89d9737331c214a6c0c7d22ed2b84b70efc.jpg",
|
| 1323 |
+
"table_caption": [],
|
| 1324 |
+
"table_footnote": [],
|
| 1325 |
+
"table_body": "<table><tr><td>Image</td><td>(a) Fan Throws Water Bottle at Justin Bieber After He Says He Doesn't Know the ...</td><td>(b) Kim Kardashian goes all out for Kanye West's 40 th birthday in the Bahamas</td><td>(c) RT @ TrumpDoral : Congratulations to the new # Miss Universe , Miss Colombia , Paulina Vega !</td><td>(d) Nba - The Cavs are Shocked Draymond Green Keeps Getting Away With Kic -</td></tr><tr><td>(Text,Label)</td><td>(Justin Bieber, Negative)</td><td>(Kim Kardashian, Positive) (Kanye West, Positive) (Bahamas, Neutral)</td><td>(Miss Colombia, Positive) (Paulina Vega, Positive)</td><td>(Nba, Neutral) (Cavs, Neutral) (Draymond Green, Negative)</td></tr><tr><td>w/o \nParaphrased \nPrompt</td><td>(Justin Bieber, Neutral) ×</td><td>(Kim Kardashian, Neutral) × (Kanye West, Neutral) × (Bahamas, Neutral) √</td><td>(Miss Colombia, Neutral) × (Paulina Vega, Neutral) ×</td><td>(Nba, Neutral) √ (Cavs, Negative) × (Draymond Green, Positive) ×</td></tr><tr><td>w/o Image \nPrefix</td><td>(Justin Bieber, Positive) ×</td><td>(Kim Kardashian, Positive) √ (Kanye West, Neutral) × (Bahamas, Neutral) √</td><td>(Miss Colombia, Neutral) × (Paulina Vega, Positive) √</td><td>(Nba, Neutral) √ (Cavs, Negative) × (Draymond Green, Negative) √</td></tr><tr><td>UnifiedTMSC</td><td>(Justin Bieber, Negative) √</td><td>(Kim Kardashian, Positive) √ (Kanye West, Positive) √ (Bahamas, Neutral) √</td><td>(Miss Colombia, Positive) √ (Paulina Vega, Positive) √</td><td>(Nba, Neutral) √ (Cavs, Neutral) √ (Draymond Green, Negative) √</td></tr></table>",
|
| 1326 |
+
"bbox": [
|
| 1327 |
+
115,
|
| 1328 |
+
80,
|
| 1329 |
+
880,
|
| 1330 |
+
360
|
| 1331 |
+
],
|
| 1332 |
+
"page_idx": 7
|
| 1333 |
+
},
|
| 1334 |
+
{
|
| 1335 |
+
"type": "table",
|
| 1336 |
+
"img_path": "images/bc3aa62f7e701e7f164daca42e3de4bedfccc8abb9f8d540b36b1228d59038df.jpg",
|
| 1337 |
+
"table_caption": [
|
| 1338 |
+
"Figure 4: Case study on four test samples. Red font indicates correctly predicted labels."
|
| 1339 |
+
],
|
| 1340 |
+
"table_footnote": [],
|
| 1341 |
+
"table_body": "<table><tr><td rowspan=\"2\"></td><td colspan=\"2\">Twitter-2015</td><td colspan=\"2\">Twitter-2017</td></tr><tr><td>Acc</td><td>F1</td><td>Acc</td><td>F1</td></tr><tr><td>UnifiedTMSC</td><td>79.8</td><td>76.3</td><td>75.4</td><td>74.7</td></tr><tr><td>w/o Paraphrased Prompts</td><td>75.7</td><td>72.0</td><td>68</td><td>65.9</td></tr><tr><td>P1 + w/o Image Prefix</td><td>78.9</td><td>75.2</td><td>74.1</td><td>73.7</td></tr><tr><td>P2 + w/o Image Prefix</td><td>78.6</td><td>75.7</td><td>74.4</td><td>73.8</td></tr><tr><td>P3 + w/o Image Prefix</td><td>78.5</td><td>75.7</td><td>74.3</td><td>73.9</td></tr><tr><td>AVG w/o Image Prefix</td><td>78.7</td><td>75.5</td><td>74.3</td><td>73.8</td></tr></table>",
|
| 1342 |
+
"bbox": [
|
| 1343 |
+
119,
|
| 1344 |
+
404,
|
| 1345 |
+
482,
|
| 1346 |
+
502
|
| 1347 |
+
],
|
| 1348 |
+
"page_idx": 7
|
| 1349 |
+
},
|
| 1350 |
+
{
|
| 1351 |
+
"type": "text",
|
| 1352 |
+
"text": "Table 7: Ablation study of our UnifiedTMSC model.",
|
| 1353 |
+
"bbox": [
|
| 1354 |
+
119,
|
| 1355 |
+
510,
|
| 1356 |
+
478,
|
| 1357 |
+
525
|
| 1358 |
+
],
|
| 1359 |
+
"page_idx": 7
|
| 1360 |
+
},
|
| 1361 |
+
{
|
| 1362 |
+
"type": "text",
|
| 1363 |
+
"text": "II. The position of [MASK] in the paraphrased prompts can also have an impact on the experimental results. In our case, the effect is best when the relative position of [MASK] is \"Middle\" rather than \"Beginning\" or \"Ending\". Therefore, when meeting a new task, the position of [MASK] may be a factor to affect task performance.",
|
| 1364 |
+
"bbox": [
|
| 1365 |
+
127,
|
| 1366 |
+
550,
|
| 1367 |
+
489,
|
| 1368 |
+
678
|
| 1369 |
+
],
|
| 1370 |
+
"page_idx": 7
|
| 1371 |
+
},
|
| 1372 |
+
{
|
| 1373 |
+
"type": "text",
|
| 1374 |
+
"text": "4.4 Ablation Study",
|
| 1375 |
+
"text_level": 1,
|
| 1376 |
+
"bbox": [
|
| 1377 |
+
112,
|
| 1378 |
+
689,
|
| 1379 |
+
280,
|
| 1380 |
+
703
|
| 1381 |
+
],
|
| 1382 |
+
"page_idx": 7
|
| 1383 |
+
},
|
| 1384 |
+
{
|
| 1385 |
+
"type": "text",
|
| 1386 |
+
"text": "To further investigate the effects of paraphrased prompts and image prefix, because entity-level MSC is more challenging than aspect-level MSC, we conduct ablation analysis on the multimodal entity-level datasets: Twitter-2015 and Twitter-2017. The results of the ablation experiments are shown in Table 7.",
|
| 1387 |
+
"bbox": [
|
| 1388 |
+
112,
|
| 1389 |
+
709,
|
| 1390 |
+
487,
|
| 1391 |
+
820
|
| 1392 |
+
],
|
| 1393 |
+
"page_idx": 7
|
| 1394 |
+
},
|
| 1395 |
+
{
|
| 1396 |
+
"type": "text",
|
| 1397 |
+
"text": "Paraphrased Prompts. $P_{i}$ is omitted from Eq. (2) and we just add the image prefix $V$ in Eq. (3) for the experiment in order to examine the effects of the paraphrased prompts. The linear classification layer uses the fusion vector derived by multimodal Transformers as input to estimate the sentiment la",
|
| 1398 |
+
"bbox": [
|
| 1399 |
+
112,
|
| 1400 |
+
822,
|
| 1401 |
+
489,
|
| 1402 |
+
917
|
| 1403 |
+
],
|
| 1404 |
+
"page_idx": 7
|
| 1405 |
+
},
|
| 1406 |
+
{
|
| 1407 |
+
"type": "text",
|
| 1408 |
+
"text": "bel of the target. The results are shown in Table 7. The absence of paraphrased prompts has resulted in a considerable performance decrease. On the Twitter-2015 dataset, the Accuracy and macro-F1 are dropped by approximately $4.1\\%$ and $4.3\\%$ , while on the Twitter-2017 dataset, the Accuracy declines by about $7.4\\%$ and the macro-F1 drops by about $8.8\\%$ . This demonstrates how using text paraphrased prompts can provide an entity with its task-related semantics.",
|
| 1409 |
+
"bbox": [
|
| 1410 |
+
507,
|
| 1411 |
+
407,
|
| 1412 |
+
884,
|
| 1413 |
+
567
|
| 1414 |
+
],
|
| 1415 |
+
"page_idx": 7
|
| 1416 |
+
},
|
| 1417 |
+
{
|
| 1418 |
+
"type": "text",
|
| 1419 |
+
"text": "Image Prefix. We only use the paraphrased prompt $P_{i}$ in Eq. (2) without applying the image prefix prompt $V$ in Eq. (3) to study the importance of the image prefix. For text input, $P_{1}, P_{2}$ , and $P_{3}$ are proceeded for the ablation study. From Table 7, it can be seen that the performance has dropped after taking out the image prefix $V$ (in Eq. (3)). The Accuracy decreases by $1.1\\%$ , and the macro-F1 drops by $0.8\\%$ , according to the average results for the Twitter-2015 dataset. On the Twitter-2017 dataset, the Accuracy and macro-F1 decline by roughly $1.0\\%$ . This illustrates the effectiveness of the image prefix. Moreover, the ablation study also shows that different paraphrased prompts have varied outcomes, demonstrating the language models' sensitivity to prompts.",
|
| 1420 |
+
"bbox": [
|
| 1421 |
+
507,
|
| 1422 |
+
571,
|
| 1423 |
+
884,
|
| 1424 |
+
828
|
| 1425 |
+
],
|
| 1426 |
+
"page_idx": 7
|
| 1427 |
+
},
|
| 1428 |
+
{
|
| 1429 |
+
"type": "text",
|
| 1430 |
+
"text": "4.5 Case Study",
|
| 1431 |
+
"text_level": 1,
|
| 1432 |
+
"bbox": [
|
| 1433 |
+
507,
|
| 1434 |
+
846,
|
| 1435 |
+
643,
|
| 1436 |
+
860
|
| 1437 |
+
],
|
| 1438 |
+
"page_idx": 7
|
| 1439 |
+
},
|
| 1440 |
+
{
|
| 1441 |
+
"type": "text",
|
| 1442 |
+
"text": "In our case study, the compared methods are only image prefix (denoted by w/o Paraphrased Prompt), only text prompt (denoted by w/o Image Prefix),",
|
| 1443 |
+
"bbox": [
|
| 1444 |
+
507,
|
| 1445 |
+
871,
|
| 1446 |
+
882,
|
| 1447 |
+
919
|
| 1448 |
+
],
|
| 1449 |
+
"page_idx": 7
|
| 1450 |
+
},
|
| 1451 |
+
{
|
| 1452 |
+
"type": "page_number",
|
| 1453 |
+
"text": "4181",
|
| 1454 |
+
"bbox": [
|
| 1455 |
+
480,
|
| 1456 |
+
928,
|
| 1457 |
+
517,
|
| 1458 |
+
940
|
| 1459 |
+
],
|
| 1460 |
+
"page_idx": 7
|
| 1461 |
+
},
|
| 1462 |
+
{
|
| 1463 |
+
"type": "text",
|
| 1464 |
+
"text": "and our UnifiedTMSC model with soft and hard prompts. We apply $P_{1}$ for both w/o Image Prefix and UnifiedTMSC.",
|
| 1465 |
+
"bbox": [
|
| 1466 |
+
112,
|
| 1467 |
+
84,
|
| 1468 |
+
487,
|
| 1469 |
+
131
|
| 1470 |
+
],
|
| 1471 |
+
"page_idx": 8
|
| 1472 |
+
},
|
| 1473 |
+
{
|
| 1474 |
+
"type": "text",
|
| 1475 |
+
"text": "As shown in Figure 4, for example (a), when there is no paraphrased prompt, the result obtained from text and image information is Neutral. When there is no image prefix, the image pre-trained embedding dominates the prediction results as Positive. Both of these two prediction results do not match the correct sentiment label Negative. For example (b), there are multiple targets that require sentiment classification. The sentiment labels predicted for place name Bahamas are Neutral, and adding appropriate prompts to both image and text can be predicted correctly. For examples (c) and (d), they are similar to example (b).",
|
| 1476 |
+
"bbox": [
|
| 1477 |
+
115,
|
| 1478 |
+
133,
|
| 1479 |
+
489,
|
| 1480 |
+
341
|
| 1481 |
+
],
|
| 1482 |
+
"page_idx": 8
|
| 1483 |
+
},
|
| 1484 |
+
{
|
| 1485 |
+
"type": "text",
|
| 1486 |
+
"text": "These four samples further confirm the usefulness of our unified model. It can assign specific sentiment-related semantics to an entity via applying a paraphrased prompt. And prefix tuning of images can obtain better task-specific image embedding than image pre-trained embedding.",
|
| 1487 |
+
"bbox": [
|
| 1488 |
+
112,
|
| 1489 |
+
342,
|
| 1490 |
+
489,
|
| 1491 |
+
439
|
| 1492 |
+
],
|
| 1493 |
+
"page_idx": 8
|
| 1494 |
+
},
|
| 1495 |
+
{
|
| 1496 |
+
"type": "text",
|
| 1497 |
+
"text": "5 Conclusion and Future Work",
|
| 1498 |
+
"text_level": 1,
|
| 1499 |
+
"bbox": [
|
| 1500 |
+
112,
|
| 1501 |
+
451,
|
| 1502 |
+
401,
|
| 1503 |
+
467
|
| 1504 |
+
],
|
| 1505 |
+
"page_idx": 8
|
| 1506 |
+
},
|
| 1507 |
+
{
|
| 1508 |
+
"type": "text",
|
| 1509 |
+
"text": "There are currently two formats for target-oriented multimodal sentiment classification: entity-level and aspect-level. Our analysis shows that this barrier is superfluous. By incorporating paraphrased prompt and prefix vector into the multimodal input, the proposed model, i.e., UnifiedTMSC, unifies the two types of TMSC tasks. We conduct experiments on four datasets, and the results demonstrate the superiority and efficacy of our UnifiedTMSC.",
|
| 1510 |
+
"bbox": [
|
| 1511 |
+
112,
|
| 1512 |
+
478,
|
| 1513 |
+
487,
|
| 1514 |
+
621
|
| 1515 |
+
],
|
| 1516 |
+
"page_idx": 8
|
| 1517 |
+
},
|
| 1518 |
+
{
|
| 1519 |
+
"type": "text",
|
| 1520 |
+
"text": "Our ongoing effort will primarily concentrate on two issues. One is to investigate how to design a paraphrasing rule to automatically generate paraphrased prompts without depending on human labor. The other is to investigate the generalizability of our model to see whether it can be used in other multimodal studies. In addition, we notice that the auto-regressive model XLNet can alleviate the problem of generating non-label words, and our future work will consider this.",
|
| 1521 |
+
"bbox": [
|
| 1522 |
+
112,
|
| 1523 |
+
623,
|
| 1524 |
+
489,
|
| 1525 |
+
783
|
| 1526 |
+
],
|
| 1527 |
+
"page_idx": 8
|
| 1528 |
+
},
|
| 1529 |
+
{
|
| 1530 |
+
"type": "text",
|
| 1531 |
+
"text": "Limitations",
|
| 1532 |
+
"text_level": 1,
|
| 1533 |
+
"bbox": [
|
| 1534 |
+
112,
|
| 1535 |
+
796,
|
| 1536 |
+
220,
|
| 1537 |
+
810
|
| 1538 |
+
],
|
| 1539 |
+
"page_idx": 8
|
| 1540 |
+
},
|
| 1541 |
+
{
|
| 1542 |
+
"type": "text",
|
| 1543 |
+
"text": "Our model has three limitations. The first one is that the design of paraphrased prompts relies on human experience. Although our paraphrasing rule is designed based on the relative position and synonym substitution, manual experience is still required to obtain paraphrased prompts that comply",
|
| 1544 |
+
"bbox": [
|
| 1545 |
+
112,
|
| 1546 |
+
822,
|
| 1547 |
+
489,
|
| 1548 |
+
919
|
| 1549 |
+
],
|
| 1550 |
+
"page_idx": 8
|
| 1551 |
+
},
|
| 1552 |
+
{
|
| 1553 |
+
"type": "text",
|
| 1554 |
+
"text": "with grammar rules, and paraphrased prompts that comply with grammar rules may not necessarily be the best. The second limitation is that more attempts are needed to conduct experiments on multilingual pre-trained models. Furthermore, the last is that we have not explored whether our model can be extended to other multimodal research fields, which will be our future research direction.",
|
| 1555 |
+
"bbox": [
|
| 1556 |
+
507,
|
| 1557 |
+
84,
|
| 1558 |
+
884,
|
| 1559 |
+
212
|
| 1560 |
+
],
|
| 1561 |
+
"page_idx": 8
|
| 1562 |
+
},
|
| 1563 |
+
{
|
| 1564 |
+
"type": "text",
|
| 1565 |
+
"text": "Acknowledgments",
|
| 1566 |
+
"text_level": 1,
|
| 1567 |
+
"bbox": [
|
| 1568 |
+
509,
|
| 1569 |
+
225,
|
| 1570 |
+
672,
|
| 1571 |
+
240
|
| 1572 |
+
],
|
| 1573 |
+
"page_idx": 8
|
| 1574 |
+
},
|
| 1575 |
+
{
|
| 1576 |
+
"type": "text",
|
| 1577 |
+
"text": "This work is partially supported by NSFC, China (No.62276196).",
|
| 1578 |
+
"bbox": [
|
| 1579 |
+
507,
|
| 1580 |
+
250,
|
| 1581 |
+
880,
|
| 1582 |
+
281
|
| 1583 |
+
],
|
| 1584 |
+
"page_idx": 8
|
| 1585 |
+
},
|
| 1586 |
+
{
|
| 1587 |
+
"type": "text",
|
| 1588 |
+
"text": "References",
|
| 1589 |
+
"text_level": 1,
|
| 1590 |
+
"bbox": [
|
| 1591 |
+
510,
|
| 1592 |
+
309,
|
| 1593 |
+
608,
|
| 1594 |
+
323
|
| 1595 |
+
],
|
| 1596 |
+
"page_idx": 8
|
| 1597 |
+
},
|
| 1598 |
+
{
|
| 1599 |
+
"type": "list",
|
| 1600 |
+
"sub_type": "ref_text",
|
| 1601 |
+
"list_items": [
|
| 1602 |
+
"Damian Borth, Rongrong Ji, Tao Chen, Thomas M. Breuel, and Shih-Fu Chang. 2013. Large-scale visual sentiment ontology and detectors using adjective noun pairs. In ACM Multimedia Conference, MM '13, Barcelona, Spain, October 21-25, 2013, pages 223-232. ACM.",
|
| 1603 |
+
"Xiang Chen, Ningyu Zhang, Xin Xie, Shumin Deng, Yunzhi Yao, Chuanqi Tan, Fei Huang, Luo Si, and Huajun Chen. 2022. Knowprompt: Knowledge-aware prompt-tuning with synergistic optimization for relation extraction. In WWW '22: The ACM Web Conference 2022, Virtual Event, Lyon, France, April 25 - 29, 2022, pages 2778-2788. ACM.",
|
| 1604 |
+
"Jian Cui, Lin Li, and Xiaohui Tao. 2023. Be-ornot prompt enhanced hard negatives generating for memes category detection. In IEEE International Conference on Multimedia and Expo, ICME 2023, Brisbane, Australia, July 10-14, 2023, pages 174-179. IEEE.",
|
| 1605 |
+
"Jacob Devlin, Ming-Wei Chang, Kenton Lee, and Kristina Toutanova. 2019. BERT: pre-training of deep bidirectional transformers for language understanding. pages 4171-4186. Association for Computational Linguistics.",
|
| 1606 |
+
"Tianhao Gao, Jun Fang, Hanyu Liu, Zhiyuan Liu, Chao Liu, Pengzhang Liu, Yongjun Bao, and Weipeng Yan. 2022. LEGO-ABSA: A prompt-based task assembly unified generative framework for multi-task aspect-based sentiment analysis. In Proceedings of the 29th International Conference on Computational Linguistics, COLING 2022, Gyeongju, Republic of Korea, October 12-17, 2022, pages 7002-7012. International Committee on Computational Linguistics.",
|
| 1607 |
+
"Xu Han, Weilin Zhao, Ning Ding, Zhiyuan Liu, and Maosong Sun. 2022. PTR: prompt tuning with rules for text classification. AI Open, 3:182-192.",
|
| 1608 |
+
"Kaiming He, Xiangyu Zhang, Shaoqing Ren, and Jian Sun. 2016. Deep residual learning for image recognition. In 2016 IEEE Conference on Computer Vision and Pattern Recognition, CVPR 2016, Las Vegas,"
|
| 1609 |
+
],
|
| 1610 |
+
"bbox": [
|
| 1611 |
+
510,
|
| 1612 |
+
332,
|
| 1613 |
+
884,
|
| 1614 |
+
917
|
| 1615 |
+
],
|
| 1616 |
+
"page_idx": 8
|
| 1617 |
+
},
|
| 1618 |
+
{
|
| 1619 |
+
"type": "page_number",
|
| 1620 |
+
"text": "4182",
|
| 1621 |
+
"bbox": [
|
| 1622 |
+
480,
|
| 1623 |
+
928,
|
| 1624 |
+
519,
|
| 1625 |
+
940
|
| 1626 |
+
],
|
| 1627 |
+
"page_idx": 8
|
| 1628 |
+
},
|
| 1629 |
+
{
|
| 1630 |
+
"type": "list",
|
| 1631 |
+
"sub_type": "ref_text",
|
| 1632 |
+
"list_items": [
|
| 1633 |
+
"NV, USA, June 27-30, 2016, pages 770-778. IEEE Computer Society.",
|
| 1634 |
+
"Brendan Jou, Tao Chen, Nikolaos Pappas, Miriam Redi, Mercan Topkara, and Shih-Fu Chang. 2015. Visual affect around the world: A large-scale multilingual visual sentiment ontology. In Proceedings of the 23rd Annual ACM Conference on Multimedia Conference, MM '15, Brisbane, Australia, October 26 - 30, 2015, pages 159-168. ACM.",
|
| 1635 |
+
"Xincheng Ju, Dong Zhang, Rong Xiao, Junhui Li, Shoushan Li, Min Zhang, and Guodong Zhou. 2021. Joint multi-modal aspect-sentiment analysis with auxiliary cross-modal relation detection. In Proceedings of the 2021 Conference on Empirical Methods in Natural Language Processing, EMNLP 2021, Virtual Event / Punta Cana, Dominican Republic, 7-11 November, 2021, pages 4395-4405. Association for Computational Linguistics.",
|
| 1636 |
+
"Zaid Khan and Yun Fu. 2021. Exploiting BERT for multimodal target sentiment classification through input space translation. In MM '21: ACM Multimedia Conference, Virtual Event, China, October 20 - 24, 2021, pages 3034-3042. ACM.",
|
| 1637 |
+
"Daniel Khashabi, Sewon Min, Tushar Khot, Ashish Sabharwal, Oyvind Tafjord, Peter Clark, and Hannaneh Hajishirzi. 2020. Unifiedqa: Crossing format boundaries with a single QA system. In Findings of the Association for Computational Linguistics: EMNLP 2020, Online Event, 16-20 November 2020, volume EMNLP 2020 of Findings of ACL, pages 1896-1907. Association for Computational Linguistics.",
|
| 1638 |
+
"Chengxi Li, Feiyu Gao, Jiajun Bu, Lu Xu, Xiang Chen, Yu Gu, Zirui Shao, Qi Zheng, Ningyu Zhang, Yongpan Wang, and Zhi Yu. 2021. Sentiprompt: Sentiment knowledge enhanced prompt-tuning for aspect-based sentiment analysis. CoRR, abs/2109.08306.",
|
| 1639 |
+
"Guowei Li, Fuqiang Lin, WangQun Chen, DiWen Dong, and Bo Liu. 2022a. Prompt-based learning for aspect-level sentiment classification. In Neural Information Processing - 29th International Conference, ICONIP 2022, Virtual Event, November 22-26, 2022, Proceedings, Part III, volume 13625 of Lecture Notes in Computer Science, pages 509-520. Springer.",
|
| 1640 |
+
"Jing Li, Aixin Sun, Jianglei Han, and Chenliang Li. 2022b. A survey on deep learning for named entity recognition. IEEE Trans. Knowl. Data Eng., 34(1):50-70.",
|
| 1641 |
+
"Xiang Lisa Li and Percy Liang. 2021. Prefix-tuning: Optimizing continuous prompts for generation. In Proceedings of the 59th Annual Meeting of the Association for Computational Linguistics and the 11th International Joint Conference on Natural Language Processing, ACL/IJCNLP 2021, (Volume 1: Long Papers), Virtual Event, August 1-6, 2021, pages 4582-4597. Association for Computational Linguistics."
|
| 1642 |
+
],
|
| 1643 |
+
"bbox": [
|
| 1644 |
+
115,
|
| 1645 |
+
85,
|
| 1646 |
+
485,
|
| 1647 |
+
917
|
| 1648 |
+
],
|
| 1649 |
+
"page_idx": 9
|
| 1650 |
+
},
|
| 1651 |
+
{
|
| 1652 |
+
"type": "list",
|
| 1653 |
+
"sub_type": "ref_text",
|
| 1654 |
+
"list_items": [
|
| 1655 |
+
"Yan Ling, Jianfei Yu, and Rui Xia. 2022. Vision-language pre-training for multimodal aspect-based sentiment analysis. In Proceedings of the 60th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), ACL 2022, Dublin, Ireland, May 22-27, 2022, pages 2149-2159. Association for Computational Linguistics.",
|
| 1656 |
+
"Bin Liu, Tao Lin, and Ming Li. 2023a. Enhancing aspect-category sentiment analysis via syntactic data augmentation and knowledge enhancement. Knowl. Based Syst., 264:110339.",
|
| 1657 |
+
"Pengfei Liu, Weizhe Yuan, Jinlan Fu, Zhengbao Jiang, Hiroaki Hayashi, and Graham Neubig. 2023b. Pretrain, prompt, and predict: A systematic survey of prompting methods in natural language processing. ACM Comput. Surv., 55(9):195:1-195:35.",
|
| 1658 |
+
"Yuhang Liu, Wei Wei, Daowan Peng, and Feida Zhu. 2022. Declaration-based prompt tuning for visual question answering. In Proceedings of the Thirty-First International Joint Conference on Artificial Intelligence, IJCAI 2022, Vienna, Austria, 23-29 July 2022, pages 3264-3270. ijcai.org.",
|
| 1659 |
+
"Sijie Long, Lin Li, Jingling Yuan, and Jianquan Liu. 2022. Momnet: Gender prediction using mechanism of working memory. In Proceedings of the 31st ACM International Conference on Information & Knowledge Management, Atlanta, GA, USA, October 17-21, 2022, pages 4259-4263. ACM.",
|
| 1660 |
+
"Di Lu, Leonardo Neves, Vitor Carvalho, Ning Zhang, and Heng Ji. 2018. Visual attention model for name tagging in multimodal social media. In Proceedings of the 56th Annual Meeting of the Association for Computational Linguistics, ACL 2018, Melbourne, Australia, July 15-20, 2018, Volume 1: Long Papers, pages 1990-1999. Association for Computational Linguistics.",
|
| 1661 |
+
"Yaojie Lu, Qing Liu, Dai Dai, Xinyan Xiao, Hongyu Lin, Xianpei Han, Le Sun, and Hua Wu. 2022. Unified structure generation for universal information extraction. In Proceedings of the 60th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), ACL 2022, Dublin, Ireland, May 22-27, 2022, pages 5755-5772. Association for Computational Linguistics.",
|
| 1662 |
+
"Alec Radford, Jong Wook Kim, Chris Hallacy, Aditya Ramesh, Gabriel Goh, Sandhini Agarwal, Girish Sastry, Amanda Askell, Pamela Mishkin, Jack Clark, Gretchen Krueger, and Ilya Sutskever. 2021. Learning transferable visual models from natural language supervision. In Proceedings of the 38th International Conference on Machine Learning, ICML 2021, 18-24 July 2021, Virtual Event, volume 139 of Proceedings of Machine Learning Research, pages 8748-8763. PMLR.",
|
| 1663 |
+
"Ronald Seoh, Ian Birle, Mrinal Tak, Haw-Shiuan Chang, Brian Pinette, and Alfred Hough. 2021. Open aspect target sentiment classification with natural language"
|
| 1664 |
+
],
|
| 1665 |
+
"bbox": [
|
| 1666 |
+
510,
|
| 1667 |
+
85,
|
| 1668 |
+
880,
|
| 1669 |
+
917
|
| 1670 |
+
],
|
| 1671 |
+
"page_idx": 9
|
| 1672 |
+
},
|
| 1673 |
+
{
|
| 1674 |
+
"type": "page_number",
|
| 1675 |
+
"text": "4183",
|
| 1676 |
+
"bbox": [
|
| 1677 |
+
480,
|
| 1678 |
+
928,
|
| 1679 |
+
519,
|
| 1680 |
+
940
|
| 1681 |
+
],
|
| 1682 |
+
"page_idx": 9
|
| 1683 |
+
},
|
| 1684 |
+
{
|
| 1685 |
+
"type": "list",
|
| 1686 |
+
"sub_type": "ref_text",
|
| 1687 |
+
"list_items": [
|
| 1688 |
+
"prompts. In Proceedings of the 2021 Conference on Empirical Methods in Natural Language Processing, EMNLP 2021, Virtual Event / Punta Cana, Dominican Republic, 7-11 November; 2021, pages 6311-6322. Association for Computational Linguistics.",
|
| 1689 |
+
"Zhengxin Song, Yun Xue, Donghong Gu, Haolan Zhang, and Weiping Ding. 2023. Target-oriented multimodal sentiment classification by using topic model and gating mechanism. Int. J. Mach. Learn. Cybern., 14(7):2289-2299.",
|
| 1690 |
+
"Maria Tsimpoukelli, Jacob Menick, Serkan Cabi, S. M. Ali Eslami, Oriol Vinyals, and Felix Hill. 2021. Multimodal few-shot learning with frozen language models. In Advances in Neural Information Processing Systems 34: Annual Conference on Neural Information Processing Systems 2021, NeurIPS 2021, December 6-14, 2021, virtual, pages 200-212.",
|
| 1691 |
+
"Ashish Vaswani, Noam Shazeer, Niki Parmar, Jakob Uszkoreit, Llion Jones, Aidan N. Gomez, Lukasz Kaiser, and Illia Polosukhin. 2017. Attention is all you need. In Advances in Neural Information Processing Systems 30: Annual Conference on Neural Information Processing Systems 2017, December 4-9, 2017, Long Beach, CA, USA, pages 5998-6008.",
|
| 1692 |
+
"Jiawei Wang, Zhe Liu, Victor S. Sheng, Yuqing Song, and Chenjian Qiu. 2021. Saliencybert: Recurrent attention network for target-oriented multimodal sentiment classification. In Pattern Recognition and Computer Vision - 4th Chinese Conference, PRCV 2021, Beijing, China, October 29 - November 1, 2021, Proceedings, Part III, volume 13021 of Lecture Notes in Computer Science, pages 3-15. Springer.",
|
| 1693 |
+
"Luwei Xiao, Ejian Zhou, Xingjiao Wu, Shuwen Yang, Tianlong Ma, and Liang He. 2022. Adaptive multi-feature extraction graph convolutional networks for multimodal target sentiment analysis. In IEEE International Conference on Multimedia and Expo, ICME 2022, Taipei, Taiwan, July 18-22, 2022, pages 1-6. IEEE.",
|
| 1694 |
+
"Nan Xu and Wenji Mao. 2017. Multisentinent: A deep semantic network for multimodal sentiment analysis. In Proceedings of the 2017 ACM on Conference on Information and Knowledge Management, CIKM 2017, Singapore, November 06 - 10, 2017. ACM.",
|
| 1695 |
+
"Nan Xu, Wenji Mao, and Guandan Chen. 2018. A comemory network for multimodal sentiment analysis. In The 41st International ACM SIGIR Conference on Research & Development in Information Retrieval, SIGIR 2018, Ann Arbor, MI, USA, July 08-12, 2018, pages 929-932. ACM.",
|
| 1696 |
+
"Nan Xu, Wenji Mao, and Guandan Chen. 2019. Multi-interactive memory network for aspect based multimodal sentiment analysis. In The Thirty-Third AAAI Conference on Artificial Intelligence, AAAI 2019, The Thirty-First Innovative Applications of Artificial Intelligence Conference, IAAI 2019, The Ninth AAAI"
|
| 1697 |
+
],
|
| 1698 |
+
"bbox": [
|
| 1699 |
+
115,
|
| 1700 |
+
85,
|
| 1701 |
+
489,
|
| 1702 |
+
917
|
| 1703 |
+
],
|
| 1704 |
+
"page_idx": 10
|
| 1705 |
+
},
|
| 1706 |
+
{
|
| 1707 |
+
"type": "list",
|
| 1708 |
+
"sub_type": "ref_text",
|
| 1709 |
+
"list_items": [
|
| 1710 |
+
"Symposium on Educational Advances in Artificial Intelligence, EAAI 2019, Honolulu, Hawaii, USA, January 27 - February 1, 2019, pages 371-378. AAAI Press.",
|
| 1711 |
+
"Hao Yang, Yanyan Zhao, and Bing Qin. 2022. Face-sensitive image-to-emotional-text cross-modal translation for multimodal aspect-based sentiment analysis. In Proceedings of the 2022 Conference on Empirical Methods in Natural Language Processing, EMNLP 2022, Abu Dhabi, United Arab Emirates, December 7-11, 2022, pages 3324-3335. Association for Computational Linguistics.",
|
| 1712 |
+
"Yuan Yao, Ao Zhang, Zhengyan Zhang, Zhiyuan Liu, Tat-Seng Chua, and Maosong Sun. 2021. CPT: colorful prompt tuning for pre-trained vision-language models. CoRR, abs/2109.11797.",
|
| 1713 |
+
"Jianfei Yu and Jing Jiang. 2019. Adapting BERT for target-oriented multimodal sentiment classification. In Proceedings of the Twenty-Eighth International Joint Conference on Artificial Intelligence, IJCAI 2019, Macao, China, August 10-16, 2019, pages 5408-5414. ijcai.org.",
|
| 1714 |
+
"Jianfei Yu, Jing Jiang, and Rui Xia. 2020. Entity-sensitive attention and fusion network for entity-level multimodal sentiment classification. IEEE ACM Trans. Audio Speech Lang. Process., 28:429-439.",
|
| 1715 |
+
"Yuhai Yu, Hongfei Lin, Jiana Meng, and Zhehuan Zhao. 2016. Visual and textual sentiment analysis of a microblog using deep convolutional neural networks. Algorithms, 9(2):41.",
|
| 1716 |
+
"Qi Zhang, Jinlan Fu, Xiaoyu Liu, and Xuanjing Huang. 2018. Adaptive co-attention network for named entity recognition in tweets. In Proceedings of the Thirty-Second AAAI Conference on Artificial Intelligence, (AAAI-18), the 30th innovative Applications of Artificial Intelligence (IAAI-18), and the 8th AAAI Symposium on Educational Advances in Artificial Intelligence (EAAI-18), New Orleans, Louisiana, USA, February 2-7, 2018, pages 5674-5681. AAAI Press.",
|
| 1717 |
+
"Zhe Zhang, Zhu Wang, Xiaona Li, Nannan Liu, Bin Guo, and Zhiwen Yu. 2021. Modalnet: an aspect-level sentiment classification model by exploring multimodal data with fusion discriminant attentional network. World Wide Web, 24(6):1957-1974.",
|
| 1718 |
+
"Fei Zhao, Zhen Wu, Siyu Long, Xinyu Dai, Shujian Huang, and Jiajun Chen. 2022. Learning from adjective-noun pairs: A knowledge-enhanced framework for target-oriented multimodal sentiment classification. In Proceedings of the 29th International Conference on Computational Linguistics, COLING 2022, Gyeongju, Republic of Korea, October 12-17, 2022, pages 6784-6794. International Committee on Computational Linguistics.",
|
| 1719 |
+
"Jie Zhou, Jiabao Zhao, Jimmy Xiangji Huang, Qin-min Vivian Hu, and Liang He. 2021. MASAD: A large-scale dataset for multimodal aspect-based sentiment analysis. Neurocomputing, 455:47-58."
|
| 1720 |
+
],
|
| 1721 |
+
"bbox": [
|
| 1722 |
+
510,
|
| 1723 |
+
85,
|
| 1724 |
+
882,
|
| 1725 |
+
917
|
| 1726 |
+
],
|
| 1727 |
+
"page_idx": 10
|
| 1728 |
+
},
|
| 1729 |
+
{
|
| 1730 |
+
"type": "page_number",
|
| 1731 |
+
"text": "4184",
|
| 1732 |
+
"bbox": [
|
| 1733 |
+
480,
|
| 1734 |
+
928,
|
| 1735 |
+
519,
|
| 1736 |
+
940
|
| 1737 |
+
],
|
| 1738 |
+
"page_idx": 10
|
| 1739 |
+
},
|
| 1740 |
+
{
|
| 1741 |
+
"type": "text",
|
| 1742 |
+
"text": "Kaiyang Zhou, Jingkang Yang, Chen Change Loy, and Ziwei Liu. 2022. Learning to prompt for vision-language models. Int. J. Comput. Vis., 130(9):2337-2348.",
|
| 1743 |
+
"bbox": [
|
| 1744 |
+
115,
|
| 1745 |
+
85,
|
| 1746 |
+
489,
|
| 1747 |
+
137
|
| 1748 |
+
],
|
| 1749 |
+
"page_idx": 11
|
| 1750 |
+
},
|
| 1751 |
+
{
|
| 1752 |
+
"type": "text",
|
| 1753 |
+
"text": "A Appendix",
|
| 1754 |
+
"text_level": 1,
|
| 1755 |
+
"bbox": [
|
| 1756 |
+
114,
|
| 1757 |
+
172,
|
| 1758 |
+
236,
|
| 1759 |
+
187
|
| 1760 |
+
],
|
| 1761 |
+
"page_idx": 11
|
| 1762 |
+
},
|
| 1763 |
+
{
|
| 1764 |
+
"type": "text",
|
| 1765 |
+
"text": "A.1 Baselines",
|
| 1766 |
+
"text_level": 1,
|
| 1767 |
+
"bbox": [
|
| 1768 |
+
114,
|
| 1769 |
+
200,
|
| 1770 |
+
236,
|
| 1771 |
+
215
|
| 1772 |
+
],
|
| 1773 |
+
"page_idx": 11
|
| 1774 |
+
},
|
| 1775 |
+
{
|
| 1776 |
+
"type": "list",
|
| 1777 |
+
"sub_type": "text",
|
| 1778 |
+
"list_items": [
|
| 1779 |
+
"(1) TomBERT (IJCAI, Yu and Jiang (2019)), which employ BERT for the inter-modal interactions and Target-Image matching layer to obtain a target-sensitive visual.",
|
| 1780 |
+
"(2) SaliencyBERT (PRCV, Wang et al. (2021)), which design a recurrent attention mechanism to capture the inter-modality dynamics.",
|
| 1781 |
+
"(3) CapTrBERT (ACM Multimedia, Khan and Fu (2021)), a BERT-based model translating the image into caption and fusing the caption and input text-entity pair.",
|
| 1782 |
+
"(4) JML-MASC (EMNLP, Ju et al. (2021)), which is a multi-task learning method with the cross-modal relation detection.",
|
| 1783 |
+
"(5) VLP-MABSA (ACL, Ling et al. (2022)), a task-specific pre-training vision-language model.",
|
| 1784 |
+
"(6) FITE-DE-Large (EMNLP, Yang et al. (2022)), introducing a FITE method to focus on capturing emotional cues through facial expressions.",
|
| 1785 |
+
"(7) MIMN (AAAI, Xu et al. (2019)), using memory network to model multimodal data and learn the interactive influences in cross-modality and self-modality.",
|
| 1786 |
+
"(8) MMAP (Neurocomputing, Zhou et al. (2021)), learning the interaction between text and image, text and aspect, and image and aspect through three interactive mechanisms.",
|
| 1787 |
+
"(9) ModalNet (WWW, Zhang et al. (2021)), designing a discriminant matrix to supervise the fusion of inter-modal information.",
|
| 1788 |
+
"(10) CLIP (INT J COMPUT VISION, Zhou et al. (2022)), a multimodal pre-training model, converts image classification tasks into image-text matching tasks using comparative learning."
|
| 1789 |
+
],
|
| 1790 |
+
"bbox": [
|
| 1791 |
+
105,
|
| 1792 |
+
225,
|
| 1793 |
+
487,
|
| 1794 |
+
917
|
| 1795 |
+
],
|
| 1796 |
+
"page_idx": 11
|
| 1797 |
+
},
|
| 1798 |
+
{
|
| 1799 |
+
"type": "text",
|
| 1800 |
+
"text": "A.2 Dataset Details",
|
| 1801 |
+
"text_level": 1,
|
| 1802 |
+
"bbox": [
|
| 1803 |
+
509,
|
| 1804 |
+
84,
|
| 1805 |
+
677,
|
| 1806 |
+
98
|
| 1807 |
+
],
|
| 1808 |
+
"page_idx": 11
|
| 1809 |
+
},
|
| 1810 |
+
{
|
| 1811 |
+
"type": "list",
|
| 1812 |
+
"sub_type": "text",
|
| 1813 |
+
"list_items": [
|
| 1814 |
+
"(1) Twitter-2015 and Twitter-2017. The two Twitter datasets include user tweets released during 2014-2015 and 2016-2017, collected by Zhang et al. (2018) and Lu et al. (2018). Since the two publicly available multimodal datasets Twitter-2015 and Twitter-2017 only provide annotated targets in each tweet, Yu and Jiang (2019) ask three domain experts to annotate the sentiment towards each target, and take the majority label among the three annotators as the gold label. These two datasets contain multimodal tweets and annotated mentioned entities in the text, as well as the sentiment polarity of each entity, including positive, neutral, and negative. Each multimodal tweet consists of a text and a corresponding image. We follow their official splitting for training, validation and testing. The statistics of Twitter-2015 and Twitter-2017 are in Table 8.",
|
| 1815 |
+
"(2) Multi-ZOL. This dataset is collected by Xu et al. (2019) from the Chinese website ZOL.com. The website consists of 40 large channels, including news, shopping malls, hardware, mobile phones, and more. They searched from pages 1 to 50 in the mobile phones channel. For each phone, only the reviews from the first 20 pages were crawled. The Multi-ZOL dataset contains 5288 multimodal reviews and each multimodal review contains a textual content, an image set, and at least one but no more than six aspects. The six aspects are cost performance, performance configuration, battery life, appearance, photography effect, and screen. For each aspect, the review has an integer sentiment score from 1 to 10, which is regarded as the sentiment label in our experiment. Actually, we convert digital sentiment labels into Chinese characters, such as '10' to 'ten'. Combining each aspect with the multimodal review, 28469 pairs of aspect review samples can be obtained. We randomly partition the dataset into training $(80\\%)$ , development $(10\\%)$ , and testing $(10\\%)$ sets. The statistical information after dividing the dataset is shown in Table 9.",
|
| 1816 |
+
"(3) MASAD. This dataset was collected and published by Zhou et al. (2021) based on the publicly available Visual Sentiment Ontology (VSO) dataset (Borth et al., 2013) and Multi-"
|
| 1817 |
+
],
|
| 1818 |
+
"bbox": [
|
| 1819 |
+
509,
|
| 1820 |
+
105,
|
| 1821 |
+
882,
|
| 1822 |
+
917
|
| 1823 |
+
],
|
| 1824 |
+
"page_idx": 11
|
| 1825 |
+
},
|
| 1826 |
+
{
|
| 1827 |
+
"type": "page_number",
|
| 1828 |
+
"text": "4185",
|
| 1829 |
+
"bbox": [
|
| 1830 |
+
480,
|
| 1831 |
+
928,
|
| 1832 |
+
519,
|
| 1833 |
+
940
|
| 1834 |
+
],
|
| 1835 |
+
"page_idx": 11
|
| 1836 |
+
},
|
| 1837 |
+
{
|
| 1838 |
+
"type": "table",
|
| 1839 |
+
"img_path": "images/cdfe4596d7e7322abcf1cb417892359505e25858fe4900a7b5630d85223d4f02.jpg",
|
| 1840 |
+
"table_caption": [],
|
| 1841 |
+
"table_footnote": [],
|
| 1842 |
+
"table_body": "<table><tr><td rowspan=\"2\"></td><td colspan=\"4\">Twitter-2015</td><td colspan=\"4\">Twitter-2017</td></tr><tr><td>#Positive</td><td>#Neutral</td><td>#Negative</td><td>Total</td><td>#Positive</td><td>#Neutral</td><td>#Negative</td><td>Total</td></tr><tr><td>Train</td><td>928</td><td>1883</td><td>368</td><td>3179</td><td>1508</td><td>416</td><td>1638</td><td>3562</td></tr><tr><td>Dev</td><td>303</td><td>679</td><td>149</td><td>1122</td><td>515</td><td>144</td><td>517</td><td>1176</td></tr><tr><td>Test</td><td>317</td><td>607</td><td>113</td><td>1037</td><td>493</td><td>168</td><td>573</td><td>1234</td></tr></table>",
|
| 1843 |
+
"bbox": [
|
| 1844 |
+
189,
|
| 1845 |
+
80,
|
| 1846 |
+
803,
|
| 1847 |
+
143
|
| 1848 |
+
],
|
| 1849 |
+
"page_idx": 12
|
| 1850 |
+
},
|
| 1851 |
+
{
|
| 1852 |
+
"type": "table",
|
| 1853 |
+
"img_path": "images/307a928357e89963df42cc38a5ec0cb8f683c372d76cbcd6359a0460902e43eb.jpg",
|
| 1854 |
+
"table_caption": [
|
| 1855 |
+
"Table 8: The statistics of Twitter-2015 and Twitter-2017 datasets."
|
| 1856 |
+
],
|
| 1857 |
+
"table_footnote": [],
|
| 1858 |
+
"table_body": "<table><tr><td></td><td>#1</td><td>#2</td><td>#3</td><td>#4</td><td>#5</td><td>#6</td><td>#7</td><td>#8</td><td>#9</td><td>#10</td><td>Total</td><td>Max #Image</td><td>Min #Image</td></tr><tr><td>Train</td><td>6</td><td>1163</td><td>6</td><td>1190</td><td>3</td><td>3509</td><td>0</td><td>6952</td><td>0</td><td>9948</td><td>22775</td><td>111</td><td>1</td></tr><tr><td>Dev</td><td>0</td><td>139</td><td>0</td><td>150</td><td>0</td><td>433</td><td>0</td><td>872</td><td>0</td><td>1253</td><td>2847</td><td>111</td><td>1</td></tr><tr><td>Test</td><td>0</td><td>132</td><td>0</td><td>151</td><td>0</td><td>413</td><td>0</td><td>871</td><td>0</td><td>1280</td><td>2847</td><td>72</td><td>1</td></tr></table>",
|
| 1859 |
+
"bbox": [
|
| 1860 |
+
147,
|
| 1861 |
+
187,
|
| 1862 |
+
853,
|
| 1863 |
+
239
|
| 1864 |
+
],
|
| 1865 |
+
"page_idx": 12
|
| 1866 |
+
},
|
| 1867 |
+
{
|
| 1868 |
+
"type": "table",
|
| 1869 |
+
"img_path": "images/e886fd5f91d426d768d9d70cd493c5ab1f89b71cd7169028c2b39e8ac6c25aa5.jpg",
|
| 1870 |
+
"table_caption": [
|
| 1871 |
+
"Table 9: The statistics of Multi-ZOL dataset after partitioning. 'Max #Image' refers to the maximum number of image corresponding to the review, while 'Min #Image' is the minimum quantity."
|
| 1872 |
+
],
|
| 1873 |
+
"table_footnote": [],
|
| 1874 |
+
"table_body": "<table><tr><td rowspan=\"2\"></td><td colspan=\"3\">Train</td><td colspan=\"3\">Dev</td><td colspan=\"3\">Test</td></tr><tr><td>#Positive</td><td>#Negative</td><td>Total</td><td>#Positive</td><td>#Negative</td><td>Total</td><td>#Positive</td><td>#Negative</td><td>Total</td></tr><tr><td>Food</td><td>2122</td><td>392</td><td>2514</td><td>239</td><td>41</td><td>280</td><td>592</td><td>109</td><td>701</td></tr><tr><td>Buildings</td><td>969</td><td>874</td><td>1843</td><td>109</td><td>96</td><td>205</td><td>273</td><td>245</td><td>518</td></tr><tr><td>Goods</td><td>2398</td><td>1512</td><td>3910</td><td>273</td><td>162</td><td>435</td><td>743</td><td>512</td><td>1255</td></tr><tr><td>Animal</td><td>2728</td><td>1979</td><td>4707</td><td>295</td><td>229</td><td>524</td><td>1126</td><td>670</td><td>1796</td></tr><tr><td>Human</td><td>1805</td><td>1648</td><td>3453</td><td>194</td><td>190</td><td>384</td><td>503</td><td>464</td><td>967</td></tr><tr><td>Plant</td><td>2542</td><td>2341</td><td>4883</td><td>277</td><td>266</td><td>543</td><td>1269</td><td>947</td><td>2216</td></tr><tr><td>Scenery</td><td>3222</td><td>1760</td><td>4982</td><td>378</td><td>176</td><td>554</td><td>907</td><td>490</td><td>1397</td></tr><tr><td>Total</td><td>15786</td><td>10506</td><td>26292</td><td>1765</td><td>1160</td><td>2925</td><td>5413</td><td>3437</td><td>8850</td></tr></table>",
|
| 1875 |
+
"bbox": [
|
| 1876 |
+
157,
|
| 1877 |
+
287,
|
| 1878 |
+
845,
|
| 1879 |
+
407
|
| 1880 |
+
],
|
| 1881 |
+
"page_idx": 12
|
| 1882 |
+
},
|
| 1883 |
+
{
|
| 1884 |
+
"type": "text",
|
| 1885 |
+
"text": "Table 10: The statistical information of MASAD datasets. The seven domains are Food, Buildings, Goods, Animal, Human, Plant, Scenery.",
|
| 1886 |
+
"bbox": [
|
| 1887 |
+
129,
|
| 1888 |
+
416,
|
| 1889 |
+
873,
|
| 1890 |
+
444
|
| 1891 |
+
],
|
| 1892 |
+
"page_idx": 12
|
| 1893 |
+
},
|
| 1894 |
+
{
|
| 1895 |
+
"type": "text",
|
| 1896 |
+
"text": "lingual Visual Sentiment Ontology (MVSO) dataset (Jou et al., 2015). Zhou et al. (2021) selected the samples from a partial VSO dataset (approximately 120k samples) that can express significant sentiments (about 38k samples) and categorized them into 7 domains, resulting in the MASAD dataset. The seven domains of the MASAD are food, buildings, goods, animal, human, plant, and scenery. Each domain encompasses multiple aspects, such as the animal domain, including cat, dog, horse, and so on. According to our statistics, there are a total of 57 predefined aspects. This dataset only includes training and testing sets, both containing positive and negative samples. We partition each domain in the training set into a new training set and a validation set in a 9:1 ratio, keeping the original testing set unchanged. The statistics of MASAD are in Table 10.",
|
| 1897 |
+
"bbox": [
|
| 1898 |
+
142,
|
| 1899 |
+
470,
|
| 1900 |
+
489,
|
| 1901 |
+
777
|
| 1902 |
+
],
|
| 1903 |
+
"page_idx": 12
|
| 1904 |
+
},
|
| 1905 |
+
{
|
| 1906 |
+
"type": "text",
|
| 1907 |
+
"text": "In addition, there are instances of duplicate data in the testing and training sets in this dataset. In the domain of animal and plant, according to our statistics, about $81.6\\%$ and $62.2\\%$ of the data in the testing set has appeared in the training set. In order to compare more fairly with other baseline models, we conduct experiments in other domains besides ani",
|
| 1908 |
+
"bbox": [
|
| 1909 |
+
142,
|
| 1910 |
+
790,
|
| 1911 |
+
489,
|
| 1912 |
+
917
|
| 1913 |
+
],
|
| 1914 |
+
"page_idx": 12
|
| 1915 |
+
},
|
| 1916 |
+
{
|
| 1917 |
+
"type": "text",
|
| 1918 |
+
"text": "mal and plant.",
|
| 1919 |
+
"bbox": [
|
| 1920 |
+
539,
|
| 1921 |
+
472,
|
| 1922 |
+
650,
|
| 1923 |
+
487
|
| 1924 |
+
],
|
| 1925 |
+
"page_idx": 12
|
| 1926 |
+
},
|
| 1927 |
+
{
|
| 1928 |
+
"type": "page_number",
|
| 1929 |
+
"text": "4186",
|
| 1930 |
+
"bbox": [
|
| 1931 |
+
480,
|
| 1932 |
+
928,
|
| 1933 |
+
521,
|
| 1934 |
+
940
|
| 1935 |
+
],
|
| 1936 |
+
"page_idx": 12
|
| 1937 |
+
}
|
| 1938 |
+
]
|
2023/Descriptive Prompt Paraphrasing for Target-Oriented Multimodal Sentiment Classification/9ad0a505-4aa3-4e82-936d-bde5e9f488e4_model.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
2023/Descriptive Prompt Paraphrasing for Target-Oriented Multimodal Sentiment Classification/9ad0a505-4aa3-4e82-936d-bde5e9f488e4_origin.pdf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b03e26b800a92c879d3e3fff3f54d45dc228a49c5c0b7a4d27638553392ead32
|
| 3 |
+
size 790474
|
2023/Descriptive Prompt Paraphrasing for Target-Oriented Multimodal Sentiment Classification/full.md
ADDED
|
@@ -0,0 +1,378 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Descriptive Prompt Paraphrasing for Target-Oriented Multimodal Sentiment Classification
|
| 2 |
+
|
| 3 |
+
Dan Liu $^{1}$ , Lin Li $^{1}$ , Xiaohui Tao $^{2}$ , Jian Cui $^{1}$ , Qing Xie
|
| 4 |
+
|
| 5 |
+
<sup>1</sup> Wuhan University of Technology, Wuhan, China
|
| 6 |
+
|
| 7 |
+
<sup>2</sup> The University of Southern Queensland, Toowoomba, Australia
|
| 8 |
+
|
| 9 |
+
$^{1}$ {liunnew, cathylilin, 318971, felixxq} @whut.edu.cn
|
| 10 |
+
|
| 11 |
+
$^{2}$ Xiaohui.Tao@unisq.edu.au
|
| 12 |
+
|
| 13 |
+
# Abstract
|
| 14 |
+
|
| 15 |
+
Target-Oriented Multimodal Sentiment Classification (TMSC) aims to perform sentiment polarity on a target jointly considering its corresponding multiple modalities including text, image, and others. Current researches mainly work on either of two types of targets in a decentralized manner. One type is entity, such as a person name, a location name, etc. and the other is aspect, such as 'food', 'service', etc. We believe that this target type based division in task modelling is not necessary because the sentiment polarity of the specific target is not governed by its type but its context. For this reason, we propose a unified model for target-oriented multimodal sentiment classification, so called UnifiedTMSC. It is prompt-based language modelling and performs well on four datasets spanning the above two target types. Specifically, we design descriptive prompt paraphrasing to reformulate TMSC task via (1) task paraphrasing, which obtains paraphrased prompts based on the task description through a paraphrasing rule, and (2) image prefix tuning, which optimizes a small continuous image vector throughout the multimodal representation space of text and images. Conducted on two entity-level multimodal datasets: Twitter-2015 and Twitter-2017, and two aspect-level multimodal datasets: Multi-ZOL and MASAD, the experimental results show the effectiveness of our UnifiedTMSC.
|
| 16 |
+
|
| 17 |
+
# 1 Introduction
|
| 18 |
+
|
| 19 |
+
With the emergence of new media and advanced technology, the forms of information released by people are quietly changing, from mono-modality to multi-modality now, such as text, images, etc (Xu and Mao, 2017). This also pushes researchers to conduct multimodal learning (Yu et al., 2016; Xu et al., 2018; Long et al., 2022). For sentiment analysis, both text and image are highly correlated with sentiment polarity. Moreover, they can complement and reinforce each other (Xu et al., 2019).
|
| 20 |
+
|
| 21 |
+

|
| 22 |
+
(a) Entity-level MSC
|
| 23 |
+
|
| 24 |
+

|
| 25 |
+
(b) Aspect-level MSC
|
| 26 |
+
Figure 1: Two forms of target-oriented multimodal sentiment classification.
|
| 27 |
+
|
| 28 |
+
At present, fine-grained Multimodal Sentiment Classification (MSC) includes two main tasks: entity-level MSC and aspect-level MSC, as shown in Figure 1. (1) For entity-level, the entity and its context are encoded as independent input text in some studies(Yu and Jiang, 2019; Yu et al., 2020; Wang et al., 2021; Zhao et al., 2022). Others jointly consider the encoding of an entity with its contextual learning, which is their main focus to achieve good MSC performance (Khan and Fu, 2021; Xiao et al., 2022; Yang et al., 2022). For example, Xiao et al. (2022) presented a dual stream adaptive multifeature extraction graph convolutional network to convert an image into its caption. (2) For aspect-level, the aspect and its context are being encoded individually due to the semantics involved in an aspect itself (Xu et al., 2019; Zhang et al., 2021; Zhou et al., 2021). For example, Xu et al. (2019)
|
| 29 |
+
|
| 30 |
+
studied a multi-interactive memory network model. These TMSC works can promote human decisions by assisting users in knowing about certain targets.
|
| 31 |
+
|
| 32 |
+
As we know, an entity usually is a person name, or a location name, etc (Li et al., 2022b). Such entity target only has a specific meaning when connecting it with a specific modality content, which means it is difficult to accurately understand the entity without its context. On the contrary, an aspect itself in some degree can represent what it means even without its context. Because of this obvious difference, previous studies show their interest in differently modelling the two tasks to capture target related context (Xu et al., 2019; Yu et al., 2020; Zhang et al., 2021; Song et al., 2023). For example, in Figure 1(a), "Chuck Bass", "MCM", and "Iran" do not have any exact meaning when they are disconnected from the specific context. However, in Figure 1(b), both aspect term and aspect category have their own meanings with a hidden sentiment tendency. For the "battery life" of mobile phones, the first reaction is that the longer the battery life, the better. Despite the above differences among the TMSC tasks, from the perspective of sentiment classification, the goal of TMSC is to predict the sentiment polarity of a target no matter whether it is an entity or an aspect. Therefore, in our view, the boundary is unnecessary.
|
| 33 |
+
|
| 34 |
+
In this paper, we propose a unified TMSC model via prompt based language modelling, so called UnifiedTMSC, which is independent of the target type in TMSC. Our core is to reconstruct the two TMSC tasks through descriptive prompt paraphrasing. The prompts we design can place entity and aspect in their context, while also being close to the TMSC task description. To achieve this goal, we carry out our work from two aspects: (1) task paraphrasing. The task description is transformed into a seed prompt, and different paraphrased prompts are obtained by using our paraphrasing rule. They serve as discrete prompts for the text and fit into the Masked Language Modeling (MLM) format. And (2) image prefix tuning (Li and Liang, 2021). A segment vector is initialized for the image pretrained embedding as the prefix continuous prompt. In the subsequent multimodal continuous representation space, the image pre-trained embedding is fixed and only some segment of the initialized vector is optimized. In this way, sentiment labels are generated through the cloze-filling method.
|
| 35 |
+
|
| 36 |
+
In our extensive experiments, our UnifiedTMSC
|
| 37 |
+
|
| 38 |
+
model achieves state-of-the-art performance on two entity-level datasets: Twitter-2015 and Twitter-2017, and two aspect-level datasets: Multi-ZOL and MASAD. (1) The results of the task description based prompts are superior to those of arbitrary prompt templates. (2) On two entity-level datasets, our model improves Accuracy by $1.0\% - 2.8\%$ and $1.5\% - 3.7\%$ , macro-F1 by $1.5\% - 4.5\%$ and $1.7\% - 7.5\%$ , respectively. (3) On two aspect-level datasets, our model gains of $6.46\% - 8.87\%$ and $1.66\% - 3.02\%$ on Accuracy, $3.77\% - 5.01\%$ and $2.19\% - 3.25\%$ on macro-F1 are derived. The experimental results demonstrate the effectiveness of our UnifiedTMSC.
|
| 39 |
+
|
| 40 |
+
# 2 Related Work
|
| 41 |
+
|
| 42 |
+
# 2.1 Entity-level MSC
|
| 43 |
+
|
| 44 |
+
As a pioneer, Yu and Jiang (2019) proposed a BERT-based multimodal architecture to determine the sentiment polarity of an entity. Yu et al. (2020) introduced an entity-sensitive attention and fusion network. And Wang et al. (2021) put forward a recurrent attention network. Khan and Fu (2021) introduced an input space translation framework to construct image context from the image. Zhao et al. (2022) used the adjective-noun pairs extracted from images as the knowledge enhancement based on Yu and Jiang (2019) and Wang et al. (2021). Moreover, Yang et al. (2022) explored facial information in images to obtain visual and sentiment clues.
|
| 45 |
+
|
| 46 |
+
In the research stated above, the entity can be encoded as a distinct text input, or entity and context can be combined as the text input. Their goal is to more effectively learn the semantics related to entity sentiment.
|
| 47 |
+
|
| 48 |
+
# 2.2 Aspect-level MSC
|
| 49 |
+
|
| 50 |
+
Aspect-level multimodal classification was first proposed by Xu et al. (2019), and they introduced a multi-interactive memory network to analyze multiple correlations in multimodal data. Zhang et al. (2021) presented a multimodal fusion discriminant attention network and designed a discriminant matrix to supervise the modality fusion. Zhou et al. (2021) conducted a multimodal interaction model that learns the relationships between text, image, and target aspect through interaction layers and adversarial training. One key difference between an aspect and an entity is that the aspect has its own semantics inferred from the aspect words. Therefore, existing research usually regards the aspect
|
| 51 |
+
|
| 52 |
+

|
| 53 |
+
Figure 2: The model of our proposed UnifiedTMSC. Seed prompt and keyword 'sentiment' are obtained based on the task description and are converted into diverse paraphrased prompts through the paraphrasing rule (Equation 1). The paraphrased prompt and the original text input are concatenated to form the new text input which is encoded by the encoder to gain text embedding. The image is divided into multiple regions and each of the regions is initialized as a vector that is used as the prefix prompt for image pre-trained embedding. The text embedding and image embedding are undergone cross attention to gain modality fusion embedding.
|
| 54 |
+
|
| 55 |
+

|
| 56 |
+
|
| 57 |
+

|
| 58 |
+
|
| 59 |
+
itself as an additional input.
|
| 60 |
+
|
| 61 |
+
Our focus: In contrast to previous studies, our model can run across TMSC tasks. It combines the target (entity or aspect) and its context as a text input using task description based paraphrased prompts. We can get sentiment-related semantics about the target by providing its context in task description based prompts.
|
| 62 |
+
|
| 63 |
+
# 2.3 Prompt paraphrasing
|
| 64 |
+
|
| 65 |
+
Prompt tuning has received increasing attention recently (Radford et al., 2021; Yao et al., 2021) and has been successfully applied in many domains (Han et al., 2022; Liu et al., 2023b). For example, in the field of Question Answering (QA), Khashabi et al. (2020) reformulated many QA tasks as a text generation problem by fine-tuning seq2seq-based pre-trained models and appropriate prompts from the context and questions. For Information Extraction (IE), Chen et al. (2022) first explored the application of fixed-prompt LM Tuning in relation extraction and Lu et al. (2022) applied prompt to control the information to be extracted. In other research fields, Cui et al. (2023) used prompt learning in text input to conduct the meme mining task. Recently, the prompt has been used for the task involving fine-grained text sentiment analysis, and
|
| 66 |
+
|
| 67 |
+
the results are promising (Seoh et al., 2021; Li et al., 2021, 2022a; Gao et al., 2022; Liu et al., 2023a).
|
| 68 |
+
|
| 69 |
+
Inspired by the above studies, our unified model is through the task description based prompt paraphrasing with jointly soft and hard prompt tuning.
|
| 70 |
+
|
| 71 |
+
# 3 Method
|
| 72 |
+
|
| 73 |
+
# 3.1 Task Formulation
|
| 74 |
+
|
| 75 |
+
Given a multimodal samples $D$ , for each sample $d \in D$ , it contains a sentence $S$ with $n$ words $(w_{1}, w_{2}, \ldots, w_{n})$ and one or more related images $I$ , as well as a target $T$ which contains $m$ words $(w_{1}, w_{2}, \ldots, w_{m})$ and is a sub-sequence of $S$ or predefined phrase. For the target $T$ , it is associated with a sentiment label $Y$ . In general, $Y \in \{positive, neutral, negative\}$ , and different tasks may have different sentiment labels. Our goal is to learn a target-oriented sentiment classifier that can correctly predict the sentiment label for each sample $X = (S, I, T)$ .
|
| 76 |
+
|
| 77 |
+
# 3.2 Overview
|
| 78 |
+
|
| 79 |
+
As shown in Figure 2, our model consists of two modules: task paraphrasing (hard prompt) and image prefix tuning (soft prompt). For the given multimodal data $X = (S, I, T)$ , we obtain paraphrased prompts $(P_{1}, P_{2} \dots)$ through the task description of
|
| 80 |
+
|
| 81 |
+
<table><tr><td>Paraphrased Prompts</td><td>< Y, Position ></td><td>< T,Position ></td><td>< K, Position ></td><td>Synonym of K</td></tr><tr><td>{target} express a [MASK] sentiment.</td><td>< [MASK],M ></td><td>< {target},B ></td><td>< sentiment,E ></td><td>no</td></tr><tr><td>The emotion of {target} is [MASK].</td><td>< [MASK],E ></td><td>< {target},M ></td><td>< emotion,B ></td><td>yes</td></tr><tr><td>{target}'s emotion is [MASK].</td><td>< [MASK],E ></td><td>< {target},B ></td><td>< emotion,M ></td><td>yes</td></tr><tr><td>The [MASK] feeling is {target}'s sentiment.</td><td>< [MASK],B ></td><td>< {target},M ></td><td>< sentiment,E ></td><td>no</td></tr><tr><td>The sentiment is [MASK] and conveyed by {target}.</td><td>< [MASK],M ></td><td>< {target},E ></td><td>< sentiment,B ></td><td>no</td></tr><tr><td>The emotion expressed by {target} is [MASK].</td><td>< [MASK],E ></td><td>< {target},M ></td><td>< emotion,B ></td><td>yes</td></tr><tr><td>A [MASK] sentiment is expressed towards to {target}.</td><td>< [MASK],B ></td><td>< {target},E ></td><td>< sentiment,M ></td><td>no</td></tr></table>
|
| 82 |
+
|
| 83 |
+
Table 1: Some examples of paraphrased prompts, as well as the relative positions of $Y$ (sentiment labels, replaced by [MASK] token, marked with bold), $T$ (the targets that need to recognize sentiment polarity, annotated with italics), and $K$ (keywords extracted from seed prompt or replaced with synonyms, annotated with underline) in the prompts. 'Synonym of $\mathrm{K}$ ’ indicates whether to replace the keyword 'sentiment' extracted from the seed prompt with synonyms. 'B', 'M', and 'E' respectively represent the positions in the paraphrased prompt as: 'Beginning', 'Middle', and 'Ending'.
|
| 84 |
+
|
| 85 |
+
TMSC, which are used as prefixes for text input $S$ in the task paraphrasing module (the left of Figure 2). Paraphrased prompt $P_{i}$ contains a [MASK] token and is connected with text $S$ . The text embedding $R$ is obtained through an encoder in the bottom-right of Figure 2. In the image prefix tuning module, we apply an initialization vector $V$ for pre-train image embedding $E$ as the continuous prefix. After text embedding $R$ and image embedding $(V + E)$ are added to their respective position encoding, the fusion vector is obtained through the multimodal Transformer in the middle right of Figure 2. We take the hidden layer vector $H$ and pass it through the MLM head to get the prediction score of [MASK] position for each word in the vocabulary $C$ . Finally, the cross entropy loss $L_{MLM}$ of the prediction result $Output$ and the true sentiment label $Y$ is calculated.
|
| 86 |
+
|
| 87 |
+
# 3.3 Task Paraphrasing
|
| 88 |
+
|
| 89 |
+
In order to provide a specific context for a target, i.e., entity and aspect, we add the target-involved prompts to the text input. Since we change the original sentiment classification task in this way to the pre-trained MLM task, it is crucial to figure out how to develop prompts that are suitable for the original task, that is to say, the prompts should be consistent with the expression of the task description. Inspired by prompt tuning in various domains, such as the visual grounding problem (Yao et al., 2021) and visual question answering task (Liu et al., 2022), we propose the task paraphrasing module to draw paraphrased prompts as a solution to the above issue.
|
| 90 |
+
|
| 91 |
+
We get the seed prompt according to the task description composed of natural language, and take
|
| 92 |
+
|
| 93 |
+
the task-related keyword $K$ ('sentiment') from the task description. The seed prompt is transformed through the paraphrasing rule, and guides the generation of paraphrased prompts that are close to the original task description. Our paraphrasing rule can be formalized in the following form:
|
| 94 |
+
|
| 95 |
+
$$
|
| 96 |
+
f (Y) \wedge f (T) \wedge f (K) \wedge g (K) \tag {1}
|
| 97 |
+
$$
|
| 98 |
+
|
| 99 |
+
where the function $f$ represents the relative position in the paraphrased prompts and the substitution of synonyms for a keyword ('sentiment') is illustrated by the function $g$ . $f(Y), f(T), f(K) \in \{B, M, E\}$ (meaning 'Beginning', 'Middle', 'Ending'), which respectively stands for the relative position of the sentiment label, the target entity, and the keyword derived from the task description. $g(K) \in \{yes, no\}$ means whether to replace synonyms of keywords $K$ . Moreover, synonyms are synonymous explanations for the keyword 'sentiment' in the dictionary. For example, in the Bing dictionary, the synonyms for 'sentiment' include 'emotion', 'feeling', 'opinion', etc.
|
| 100 |
+
|
| 101 |
+
The task paraphrasing module is shown in the left part of Figure 2. Generally speaking, based on the relative position combination of $Y$ , $K$ , and $T$ , one seed prompt can be paraphrased to gain multiple candidate prompts. If we replace the keyword with different synonyms, we will receive more paraphrased prompts. Some examples of paraphrased prompts $P_{i}$ are listed in Table 1. When paraphrased prompt $P_{i}$ is in the training phase, the position of $Y$ is replaced by [MASK] token which is the prediction object. Finally, the $P_{i}$ and text $S$ are concatenated to obtain a new text input:
|
| 102 |
+
|
| 103 |
+
$$
|
| 104 |
+
S ^ {\text {n e w}} = [ C L S ] P _ {i} S [ S E P ] \tag {2}
|
| 105 |
+
$$
|
| 106 |
+
|
| 107 |
+

|
| 108 |
+
Figure 3: An example of image prefix tuning. $v_{P_{idx}}$ is random initialization of the prefix sequence and $e_{I_{idx}}$ is the image pre-trained embedding.
|
| 109 |
+
|
| 110 |
+
# 3.4 Image Prefix Tuning
|
| 111 |
+
|
| 112 |
+
Discrete prompts, i.e., hard prompts, in the text are natural and easy to understand. For images, directly applying discrete prompts cannot ensure alignment between text based prompts and images since there are modality gaps between different modalities. Therefore, finding suitable prompts for images is crucial. This module mainly focuses on how to add prompts to images to facilitate a better modality fusion of images and text.
|
| 113 |
+
|
| 114 |
+
Inspired by (Tsimpoukelli et al., 2021) and (Li and Liang, 2021), we introduce a continuous vector as a prefix, i.e., soft prompt, to image pre-trained embedding, as shown in Figure 3. We first segment the image into $r$ regions, and then initialize a vector $v_{i}$ $(i\in \{1,2,\dots r\})$ for each region to form the prefix embedding $V = \{v_{1},v_{2},\ldots v_{r}\}$ and $V\in \mathbb{R}^{r\times 2048}$ . Here, $P_{idx}$ denotes the indices of the prefix sequence. $|P_{idx}|$ denotes the length of the prefix and $|I_{idx}|$ indicates the length of the image pre-trained embedding. In $E = \{e_1,e_2,e_3,e_4,e_5\}$ , $e_i\in \mathbb{R}^{2048}$ refers to the image embedding of the $i$ -th region. The prefix embedding $V = \{v_{1},v_{2},v_{3}\}$ and $V\in \mathbb{R}^{3\times 2048}$ . If there are multiple images corresponding to the text, we initialize a soft prompt for each image and their averaged vector is used as the final prefix prompt for the images. $V$ and $E$ are concatenated to obtain new image embedding $E^{new}$ .
|
| 115 |
+
|
| 116 |
+
$$
|
| 117 |
+
E ^ {\text {n e w}} = V \oplus E \tag {3}
|
| 118 |
+
$$
|
| 119 |
+
|
| 120 |
+
$$
|
| 121 |
+
E _ {(i)} ^ {\text {n e w}} = \left\{ \begin{array}{c c} v _ {i} & i \in P _ {i d x} \\ e _ {(i - | P _ {i d x} |)} & \text {o t h e r w i s e} \end{array} \right. \tag {4}
|
| 122 |
+
$$
|
| 123 |
+
|
| 124 |
+
$E^{new}$ and $S^{new}$ are image input and text input respectively, and the subsequent encoding process is carried out together.
|
| 125 |
+
|
| 126 |
+
<table><tr><td></td><td>Twitter-2015</td><td>Twitter-2017</td><td>Multi-ZOL</td><td>MASAD</td></tr><tr><td></td><td>Text-Image</td><td>Text-Image</td><td>Text-Image</td><td>Text-Image</td></tr><tr><td>Train</td><td>3179</td><td>3562</td><td>22775</td><td>26292</td></tr><tr><td>Dev</td><td>1122</td><td>1176</td><td>2847</td><td>2925</td></tr><tr><td>Test</td><td>1037</td><td>1234</td><td>2847</td><td>8850</td></tr><tr><td>Total</td><td>5338</td><td>5972</td><td>28469</td><td>38532</td></tr></table>
|
| 127 |
+
|
| 128 |
+
Table 2: Statistics of four TMSC datasets.
|
| 129 |
+
|
| 130 |
+
# 3.5 Multimodal Transformer With MLM
|
| 131 |
+
|
| 132 |
+
Training. Given a triplet $(S, I, T, Y)$ , after the task paraphrasing module and image prefix tuning module, the updated text input $S^{new}$ and image embeddings $E^{new}$ are obtained. Text encoder encodes $S^{new}$ to gain text embedding $R$ . $R$ and the image embedding $E^{new}$ undergo cross-attention through a Transformer to obtain the fusion embedding $H$ . In this multimodal Transformer, the image pre-trained embedding $E$ is fixed and not updated, and only $V$ is updated. Fusion embedding $H$ passes through an MLP to obtain prediction scores Logit:
|
| 133 |
+
|
| 134 |
+
$$
|
| 135 |
+
\operatorname {L o g i t} = M L P _ {M L M} (H) \tag {5}
|
| 136 |
+
$$
|
| 137 |
+
|
| 138 |
+
The word with the highest prediction score is the prediction result:
|
| 139 |
+
|
| 140 |
+
$$
|
| 141 |
+
\text {O u t p u t} = \operatorname {a r g m a x} (\operatorname {L o g i t}) \tag {6}
|
| 142 |
+
$$
|
| 143 |
+
|
| 144 |
+
Finally, the predicted result and the true sentiment label $Y$ are calculated in the cross-entropy loss to optimize our model.
|
| 145 |
+
|
| 146 |
+
$$
|
| 147 |
+
L _ {M L M} = - \log \left(\frac {\exp (L o g i t _ {i})}{\sum_ {j = 0} ^ {| C |} \exp (L o g i t _ {j})}\right) \tag {7}
|
| 148 |
+
$$
|
| 149 |
+
|
| 150 |
+
where $i$ is the true sentiment label number and $C$ is the size of the language model vocabulary.
|
| 151 |
+
|
| 152 |
+
Inference. In the inference stage, given a triplet $(S,I,T)$ , the sentiment polarity $Y^{\prime}$ of $T$ is determined via the triplet.
|
| 153 |
+
|
| 154 |
+
$$
|
| 155 |
+
Y ^ {\prime} = \operatorname {a r g m a x} \left(\operatorname {L o g i t} _ {[ M A S K ]}\right) \tag {8}
|
| 156 |
+
$$
|
| 157 |
+
|
| 158 |
+
After obtaining the fusion embedding of text and images, we take the argmax of the logit of the [MASK] position to obtain the final prediction result. Finally, for non-label words generated by the model, the answer engineering is used to map them to sentiment labels.
|
| 159 |
+
|
| 160 |
+
# 4 Experiment
|
| 161 |
+
|
| 162 |
+
# 4.1 Experimental Setup
|
| 163 |
+
|
| 164 |
+
Datasets. According to Zhou et al. (2021), there are four datasets for target-oriented multimodal
|
| 165 |
+
|
| 166 |
+
sentiment classification, including two entity-level datasets: Twitter-2015 (Zhang et al., 2018; Yu and Jiang, 2019), Twitter-2017 (Lu et al., 2018; Yu and Jiang, 2019) and two aspect-level datasets: Multi-ZOL (Xu et al., 2019), MASDA (Zhou et al., 2021) The statistics information of these four datasets are shown in Table 2, and their details about the data partitioning and label types are presented in A.2.
|
| 167 |
+
|
| 168 |
+
Evaluation Metrics. To fairly compare with state-of-the-art approaches, our UnifiedTMSC is evaluated across two TMSC tasks and adopts the Accuracy (Acc) and Macro-F1 score (F1), following Yu and Jiang (2019) and Ling et al. (2022).
|
| 169 |
+
|
| 170 |
+
Implementation Details. For the Twitter-2015, Twitter-2017, and MASAD, the batch size is set to 16 and the epochs are set to 6. The text encoder used is BERT-base-uncased (Devlin et al., 2019). For the Multi-ZOL dataset, in order to ensure fairness in the experiment, we employ BERT-base-chinese (Devlin et al., 2019) as the text encoder, the batch size is 8, and the epochs as 6. Moreover, multilingual pre-trained models can also be used as our text encoders.
|
| 171 |
+
|
| 172 |
+
For all datasets, we apply Resnet-50 (He et al., 2016) as the image encoder to get the image prefix embedding, and the max length of the new text input $S^{new}$ (in Eq. (2)) is 96. The model learning rate is set as 1e-5 and the dropout rate is 1e-2. Four layer Transformers (Vaswani et al., 2017) are aimed to perform cross attention between different modalities and the pre-training parameters are not loaded. Four NVIDIA Titan Xp GPUs, each with 12GB of memory, are employed in our experiments which are done on a CentOS computer. The deep learning framework is Pytorch, and AdamW is used as the optimizer.
|
| 173 |
+
|
| 174 |
+
# 4.2 Compared Baselines
|
| 175 |
+
|
| 176 |
+
Because previous work has separated entity-level MSC and aspect-level MSC, the baseline models for each task are different. For the Twitter-2015 and Twitter-2017 datasets, we compare six baselines including TomBERT (IJCAI, Yu and Jiang (2019)), SaliencyBERT (PRCV, Wang et al. (2021)), CapTrBERT (ACM Multimedia, Khan and Fu (2021)), JML-MASC (EMNLP, Ju et al. (2021)), VLP-MABSA (ACL, Ling et al. (2022)), FITE-DE-Large (EMNLP, Yang et al. (2022)). For the Multi-ZOL and MASAD datasets, our model is compared with MIMN (AAAI, Xu et al. (2019)), ModalNet (WWW, Zhang et al. (2021)), MMAP
|
| 177 |
+
|
| 178 |
+
<table><tr><td rowspan="2">Method</td><td colspan="3">Twitter-2015</td><td colspan="3">Twitter-2017</td></tr><tr><td>Acc</td><td>F1</td><td>P-Value</td><td>Acc</td><td>F1</td><td>P-Value</td></tr><tr><td>TomBERT</td><td>77.2</td><td>71.8</td><td>0.0194</td><td>70.5</td><td>68.0</td><td>0.0156</td></tr><tr><td>SaliencyBERT</td><td>77.0</td><td>72.4</td><td>0.0109</td><td>69.7</td><td>67.2</td><td>0.0156</td></tr><tr><td>CapTrBERT</td><td>78.0</td><td>73.3</td><td>0.0120</td><td>72.3</td><td>70.2</td><td>0.0134</td></tr><tr><td>JML-MASC</td><td>78.7</td><td>-</td><td>-</td><td>72.7</td><td>-</td><td>-</td></tr><tr><td>VLP-MABSA</td><td>78.6</td><td>73.8</td><td>0.0131</td><td>73.8</td><td>71.8</td><td>0.0111</td></tr><tr><td>FITDE-DE-Large</td><td>78.8</td><td>74.8</td><td>0.0048</td><td>73.9</td><td>73.0</td><td>0.0016</td></tr><tr><td>UnifiedTMSC</td><td>79.8</td><td>76.3</td><td>-</td><td>75.4</td><td>74.7</td><td>-</td></tr></table>
|
| 179 |
+
|
| 180 |
+
Table 3: The experimental results on the multimodal entity-level datasets: Twitter-2015 and Twitter-2017. The results presented in the table are the average of different prompt results.
|
| 181 |
+
|
| 182 |
+
<table><tr><td rowspan="2">Method</td><td colspan="3">Multi-ZOL</td><td colspan="3">MASAD</td></tr><tr><td>Acc</td><td>F1</td><td>P-Value</td><td>Acc</td><td>F1</td><td>P-Value</td></tr><tr><td>MIMN</td><td>61.59</td><td>60.51</td><td>0.0316</td><td>94.52</td><td>93.55</td><td>0.0019</td></tr><tr><td>ModalNet</td><td>62.71</td><td>60.94</td><td>0.0266</td><td>-</td><td>-</td><td>-</td></tr><tr><td>MMAP</td><td>-</td><td>-</td><td>-</td><td>95.29</td><td>94.61</td><td>0.0049</td></tr><tr><td>CLIP</td><td>64.00</td><td>59.70</td><td>0.0092</td><td>95.88</td><td>94.21</td><td>0.0079</td></tr><tr><td>UnifiedTMSC</td><td>70.46</td><td>64.71</td><td>-</td><td>97.54</td><td>96.80</td><td>-</td></tr></table>
|
| 183 |
+
|
| 184 |
+
Table 4: The experimental results on the multimodal aspect-level datasets: Multi-ZOL and MASAD.
|
| 185 |
+
|
| 186 |
+
(Neurocomputing, Zhou et al. (2021)) and CLIP (INT J COMPUT VISION, Zhou et al. (2022)). The detailed introduction of all the baseline models mentioned above is in Section A.1.
|
| 187 |
+
|
| 188 |
+
# 4.3 Experimental Results and Analysis
|
| 189 |
+
|
| 190 |
+
# 4.3.1 Overall Performance
|
| 191 |
+
|
| 192 |
+
The experimental results on multimodal entity-level and aspect-level datasets are presented in Table 3 and Table 4 respectively. The best results on each metric are marked in bold and the second best results are highlighted with an underline.
|
| 193 |
+
|
| 194 |
+
Multimodal Entity-level Datasets Results. As reported in Table 3, compared with the baselines, our UnifiedTMSC makes significant improvements in entity-level MSC. On the Twitter-2015 dataset, our improvement is approximately $1.0\%$ on Accuracy and $1.5\%$ on the macro-F1 compared to the FITE-DE-Large. On the Twitter-2017 dataset, we achieve improvements over multimodal baseline VLP-MABSA on the Accuracy by $1.5\%$ and $1.7\%$ on the macro-F1, which indicates that using prompt tuning to fuse entity and context can achieve a better sentiment-related semantic understanding of an entity, resulting in better classification results.
|
| 195 |
+
|
| 196 |
+
Multimodal Aspect-level Datasets Results. Our UnifiedTMSC performs best in two datasets among all multimodal baselines, as listed in Table 4. This demonstrates the effectiveness of our proposed unified model based on prompt paraphrasing. Especially on the Multi-ZOL dataset, our UnifiedTMSC outperforms the ModalNet on the Accuracy by $7.75\%$ and $3.77\%$ on the macro-F1. On
|
| 197 |
+
|
| 198 |
+
<table><tr><td rowspan="2">Method</td><td></td><td colspan="2">Food</td><td colspan="2">Buildings</td><td colspan="2">Goods</td><td colspan="2">Human</td><td colspan="2">Scenery</td></tr><tr><td></td><td>Acc</td><td>F1</td><td>Acc</td><td>F1</td><td>Acc</td><td>F1</td><td>Acc</td><td>F1</td><td>Acc</td><td>F1</td></tr><tr><td>MIMN</td><td>AAAI 2019</td><td>94.72</td><td>91.39</td><td>96.26</td><td>95.80</td><td>95.93</td><td>95.87</td><td>92.54</td><td>92.31</td><td>93.17</td><td>92.38</td></tr><tr><td>MMAP</td><td>Neucomp 2021</td><td>95.75</td><td>92.89</td><td>96.86</td><td>96.85</td><td>96.55</td><td>96.44</td><td>92.74</td><td>92.74</td><td>94.57</td><td>94.15</td></tr><tr><td>CLIP</td><td>IJCV 2022</td><td>96.15</td><td>93.05</td><td>95.84</td><td>94.27</td><td>97.36</td><td>96.88</td><td>94.20</td><td>93.24</td><td>95.84</td><td>93.59</td></tr><tr><td>UnifiedTMSC</td><td></td><td>98.00</td><td>96.02</td><td>98.26</td><td>98.25</td><td>98.08</td><td>98.01</td><td>97.82</td><td>96.49</td><td>95.56</td><td>95.24</td></tr></table>
|
| 199 |
+
|
| 200 |
+
the MASAD dataset, compared to the MMAP, ours improve performance by about $2.25\%$ on Accuracy and $2.19\%$ on the macro-F1.
|
| 201 |
+
|
| 202 |
+
Specifically, there are multiple domains in the MASAD dataset, we conduct experiments on each of them, and the experimental results are shown in Table 5. It is clear from the results that our model has achieved large improvements in each domain.
|
| 203 |
+
|
| 204 |
+
Finally, t-tests are conducted to demonstrate the effectiveness of UnifiedTMSC. From the P-value of other models in Table 3 and Table 4, it can be found that all P-values are less than 0.05. This shows a significant difference in statistics between UnifiedTMSC and other models.
|
| 205 |
+
|
| 206 |
+
After comparing and analyzing the experimental results, we can summarize the following two points from our prompt tuning:
|
| 207 |
+
|
| 208 |
+
I. Our prompt paraphrasing method delivers the target's context and fits the TMSC job effectively, and it produces good results, demonstrating the efficacy of our unified model.
|
| 209 |
+
II. Utilizing the target as a separate input has worse results than taking the target and context together as text input. This shows that contextual information affects the target's semantics, and a contextual content that is appropriate for the task will result in a well understanding of a target with semantics.
|
| 210 |
+
|
| 211 |
+
# 4.3.2 The Effect of Prompt Designs
|
| 212 |
+
|
| 213 |
+
For the Twitter-2015 and Twitter-2017 datasets, we select three paraphrased prompts from Table 1 to conduct the experiments. The three selected paraphrased prompts are as follows:
|
| 214 |
+
|
| 215 |
+
- $P_{1}$ : {target} express a [MASK] sentiment.
|
| 216 |
+
- $P_{2}$ : The emotion of {target} is [MASK].
|
| 217 |
+
- $P_{3}$ : A [MASK] sentiment is expressed towards to {target}.
|
| 218 |
+
|
| 219 |
+
In addition, to verify the performance of the task paraphrasing module. We design three arbitrary prompt templates and compare them with the above
|
| 220 |
+
|
| 221 |
+
Table 5: The experimental results of each domain in the MASAD dataset. Because the accuracy and Macro F1 score in the domain of animal and plant reach $99.07\% - 99.22\%$ due to the duplicated samples, they will not be displayed here.
|
| 222 |
+
|
| 223 |
+
<table><tr><td rowspan="2" colspan="2"></td><td colspan="2">Twitter-2015</td><td colspan="2">Twitter-2017</td></tr><tr><td>Acc</td><td>F1</td><td>Acc</td><td>F1</td></tr><tr><td rowspan="3">paraphrased prompts</td><td>P1</td><td>80.2</td><td>77.6</td><td>76.9</td><td>76.7</td></tr><tr><td>P2</td><td>81.1</td><td>77.1</td><td>76.6</td><td>75.9</td></tr><tr><td>P3</td><td>79.8</td><td>77.5</td><td>76.2</td><td>75.9</td></tr><tr><td rowspan="3">arbitrary prompts</td><td>P1'</td><td>79.1</td><td>75.5</td><td>73.8</td><td>73.7</td></tr><tr><td>P2'</td><td>79.0</td><td>75.1</td><td>74.3</td><td>73.6</td></tr><tr><td>P3'</td><td>79.4</td><td>75.1</td><td>74.5</td><td>72.9</td></tr></table>
|
| 224 |
+
|
| 225 |
+
Table 6: The experimental results of different prompts. The results of paraphrased prompts are superior to the arbitrary prompts, and $P_1'$ , $P_2'$ and $P_3'$ are comparable. In the experiments, one of the paraphrased prompts can be selected for experimentation.
|
| 226 |
+
|
| 227 |
+
three paraphrased prompts. The three arbitrary prompts are as follows:
|
| 228 |
+
|
| 229 |
+
- $P_1'$ : I feel the {target} is [MASK].
|
| 230 |
+
- $P_2'$ : The (target) made me feel [MASK].
|
| 231 |
+
- $P_3^7$ : I [MASK] the {target}.
|
| 232 |
+
|
| 233 |
+
where $\{target\}$ is the entity that needs to determine sentiment polarity, and [MASK] represents the masked word, i.e. sentiment label. The masked word in the $P_1', P_2', P_3'$ is {good, ok, bad}, {good, indifferent, bad} and {love, dislike, hate} respectively. After the masked words are generated, we perform answer engineering to map the predicted results to the sentiment polarity set, that is, the probabilities of these predicted words are made to be equal to the probabilities of being Positive, Neutral, and Negative.
|
| 234 |
+
|
| 235 |
+
The results of several different prompts are shown in Table 6. Through analysis and comparison, we can obtain the following summaries:
|
| 236 |
+
|
| 237 |
+
I. Our paraphrased prompts created by using the task description are much superior to arbitrary prompt templates, demonstrating the value of our task paraphrasing module in producing paraphrased prompts that are appropriate for the original sentiment classification task. In addition, the performance of different paraphrased prompts is comparable, and in subsequent experiments, anyone can be selected for training and inference.
|
| 238 |
+
|
| 239 |
+
<table><tr><td>Image</td><td>(a) Fan Throws Water Bottle at Justin Bieber After He Says He Doesn't Know the ...</td><td>(b) Kim Kardashian goes all out for Kanye West's 40 th birthday in the Bahamas</td><td>(c) RT @ TrumpDoral : Congratulations to the new # Miss Universe , Miss Colombia , Paulina Vega !</td><td>(d) Nba - The Cavs are Shocked Draymond Green Keeps Getting Away With Kic -</td></tr><tr><td>(Text,Label)</td><td>(Justin Bieber, Negative)</td><td>(Kim Kardashian, Positive) (Kanye West, Positive) (Bahamas, Neutral)</td><td>(Miss Colombia, Positive) (Paulina Vega, Positive)</td><td>(Nba, Neutral) (Cavs, Neutral) (Draymond Green, Negative)</td></tr><tr><td>w/o
|
| 240 |
+
Paraphrased
|
| 241 |
+
Prompt</td><td>(Justin Bieber, Neutral) ×</td><td>(Kim Kardashian, Neutral) × (Kanye West, Neutral) × (Bahamas, Neutral) √</td><td>(Miss Colombia, Neutral) × (Paulina Vega, Neutral) ×</td><td>(Nba, Neutral) √ (Cavs, Negative) × (Draymond Green, Positive) ×</td></tr><tr><td>w/o Image
|
| 242 |
+
Prefix</td><td>(Justin Bieber, Positive) ×</td><td>(Kim Kardashian, Positive) √ (Kanye West, Neutral) × (Bahamas, Neutral) √</td><td>(Miss Colombia, Neutral) × (Paulina Vega, Positive) √</td><td>(Nba, Neutral) √ (Cavs, Negative) × (Draymond Green, Negative) √</td></tr><tr><td>UnifiedTMSC</td><td>(Justin Bieber, Negative) √</td><td>(Kim Kardashian, Positive) √ (Kanye West, Positive) √ (Bahamas, Neutral) √</td><td>(Miss Colombia, Positive) √ (Paulina Vega, Positive) √</td><td>(Nba, Neutral) √ (Cavs, Neutral) √ (Draymond Green, Negative) √</td></tr></table>
|
| 243 |
+
|
| 244 |
+
Figure 4: Case study on four test samples. Red font indicates correctly predicted labels.
|
| 245 |
+
|
| 246 |
+
<table><tr><td rowspan="2"></td><td colspan="2">Twitter-2015</td><td colspan="2">Twitter-2017</td></tr><tr><td>Acc</td><td>F1</td><td>Acc</td><td>F1</td></tr><tr><td>UnifiedTMSC</td><td>79.8</td><td>76.3</td><td>75.4</td><td>74.7</td></tr><tr><td>w/o Paraphrased Prompts</td><td>75.7</td><td>72.0</td><td>68</td><td>65.9</td></tr><tr><td>P1 + w/o Image Prefix</td><td>78.9</td><td>75.2</td><td>74.1</td><td>73.7</td></tr><tr><td>P2 + w/o Image Prefix</td><td>78.6</td><td>75.7</td><td>74.4</td><td>73.8</td></tr><tr><td>P3 + w/o Image Prefix</td><td>78.5</td><td>75.7</td><td>74.3</td><td>73.9</td></tr><tr><td>AVG w/o Image Prefix</td><td>78.7</td><td>75.5</td><td>74.3</td><td>73.8</td></tr></table>
|
| 247 |
+
|
| 248 |
+
Table 7: Ablation study of our UnifiedTMSC model.
|
| 249 |
+
|
| 250 |
+
II. The position of [MASK] in the paraphrased prompts can also have an impact on the experimental results. In our case, the effect is best when the relative position of [MASK] is "Middle" rather than "Beginning" or "Ending". Therefore, when meeting a new task, the position of [MASK] may be a factor to affect task performance.
|
| 251 |
+
|
| 252 |
+
# 4.4 Ablation Study
|
| 253 |
+
|
| 254 |
+
To further investigate the effects of paraphrased prompts and image prefix, because entity-level MSC is more challenging than aspect-level MSC, we conduct ablation analysis on the multimodal entity-level datasets: Twitter-2015 and Twitter-2017. The results of the ablation experiments are shown in Table 7.
|
| 255 |
+
|
| 256 |
+
Paraphrased Prompts. $P_{i}$ is omitted from Eq. (2) and we just add the image prefix $V$ in Eq. (3) for the experiment in order to examine the effects of the paraphrased prompts. The linear classification layer uses the fusion vector derived by multimodal Transformers as input to estimate the sentiment la
|
| 257 |
+
|
| 258 |
+
bel of the target. The results are shown in Table 7. The absence of paraphrased prompts has resulted in a considerable performance decrease. On the Twitter-2015 dataset, the Accuracy and macro-F1 are dropped by approximately $4.1\%$ and $4.3\%$ , while on the Twitter-2017 dataset, the Accuracy declines by about $7.4\%$ and the macro-F1 drops by about $8.8\%$ . This demonstrates how using text paraphrased prompts can provide an entity with its task-related semantics.
|
| 259 |
+
|
| 260 |
+
Image Prefix. We only use the paraphrased prompt $P_{i}$ in Eq. (2) without applying the image prefix prompt $V$ in Eq. (3) to study the importance of the image prefix. For text input, $P_{1}, P_{2}$ , and $P_{3}$ are proceeded for the ablation study. From Table 7, it can be seen that the performance has dropped after taking out the image prefix $V$ (in Eq. (3)). The Accuracy decreases by $1.1\%$ , and the macro-F1 drops by $0.8\%$ , according to the average results for the Twitter-2015 dataset. On the Twitter-2017 dataset, the Accuracy and macro-F1 decline by roughly $1.0\%$ . This illustrates the effectiveness of the image prefix. Moreover, the ablation study also shows that different paraphrased prompts have varied outcomes, demonstrating the language models' sensitivity to prompts.
|
| 261 |
+
|
| 262 |
+
# 4.5 Case Study
|
| 263 |
+
|
| 264 |
+
In our case study, the compared methods are only image prefix (denoted by w/o Paraphrased Prompt), only text prompt (denoted by w/o Image Prefix),
|
| 265 |
+
|
| 266 |
+
and our UnifiedTMSC model with soft and hard prompts. We apply $P_{1}$ for both w/o Image Prefix and UnifiedTMSC.
|
| 267 |
+
|
| 268 |
+
As shown in Figure 4, for example (a), when there is no paraphrased prompt, the result obtained from text and image information is Neutral. When there is no image prefix, the image pre-trained embedding dominates the prediction results as Positive. Both of these two prediction results do not match the correct sentiment label Negative. For example (b), there are multiple targets that require sentiment classification. The sentiment labels predicted for place name Bahamas are Neutral, and adding appropriate prompts to both image and text can be predicted correctly. For examples (c) and (d), they are similar to example (b).
|
| 269 |
+
|
| 270 |
+
These four samples further confirm the usefulness of our unified model. It can assign specific sentiment-related semantics to an entity via applying a paraphrased prompt. And prefix tuning of images can obtain better task-specific image embedding than image pre-trained embedding.
|
| 271 |
+
|
| 272 |
+
# 5 Conclusion and Future Work
|
| 273 |
+
|
| 274 |
+
There are currently two formats for target-oriented multimodal sentiment classification: entity-level and aspect-level. Our analysis shows that this barrier is superfluous. By incorporating paraphrased prompt and prefix vector into the multimodal input, the proposed model, i.e., UnifiedTMSC, unifies the two types of TMSC tasks. We conduct experiments on four datasets, and the results demonstrate the superiority and efficacy of our UnifiedTMSC.
|
| 275 |
+
|
| 276 |
+
Our ongoing effort will primarily concentrate on two issues. One is to investigate how to design a paraphrasing rule to automatically generate paraphrased prompts without depending on human labor. The other is to investigate the generalizability of our model to see whether it can be used in other multimodal studies. In addition, we notice that the auto-regressive model XLNet can alleviate the problem of generating non-label words, and our future work will consider this.
|
| 277 |
+
|
| 278 |
+
# Limitations
|
| 279 |
+
|
| 280 |
+
Our model has three limitations. The first one is that the design of paraphrased prompts relies on human experience. Although our paraphrasing rule is designed based on the relative position and synonym substitution, manual experience is still required to obtain paraphrased prompts that comply
|
| 281 |
+
|
| 282 |
+
with grammar rules, and paraphrased prompts that comply with grammar rules may not necessarily be the best. The second limitation is that more attempts are needed to conduct experiments on multilingual pre-trained models. Furthermore, the last is that we have not explored whether our model can be extended to other multimodal research fields, which will be our future research direction.
|
| 283 |
+
|
| 284 |
+
# Acknowledgments
|
| 285 |
+
|
| 286 |
+
This work is partially supported by NSFC, China (No.62276196).
|
| 287 |
+
|
| 288 |
+
# References
|
| 289 |
+
|
| 290 |
+
Damian Borth, Rongrong Ji, Tao Chen, Thomas M. Breuel, and Shih-Fu Chang. 2013. Large-scale visual sentiment ontology and detectors using adjective noun pairs. In ACM Multimedia Conference, MM '13, Barcelona, Spain, October 21-25, 2013, pages 223-232. ACM.
|
| 291 |
+
Xiang Chen, Ningyu Zhang, Xin Xie, Shumin Deng, Yunzhi Yao, Chuanqi Tan, Fei Huang, Luo Si, and Huajun Chen. 2022. Knowprompt: Knowledge-aware prompt-tuning with synergistic optimization for relation extraction. In WWW '22: The ACM Web Conference 2022, Virtual Event, Lyon, France, April 25 - 29, 2022, pages 2778-2788. ACM.
|
| 292 |
+
Jian Cui, Lin Li, and Xiaohui Tao. 2023. Be-ornot prompt enhanced hard negatives generating for memes category detection. In IEEE International Conference on Multimedia and Expo, ICME 2023, Brisbane, Australia, July 10-14, 2023, pages 174-179. IEEE.
|
| 293 |
+
Jacob Devlin, Ming-Wei Chang, Kenton Lee, and Kristina Toutanova. 2019. BERT: pre-training of deep bidirectional transformers for language understanding. pages 4171-4186. Association for Computational Linguistics.
|
| 294 |
+
Tianhao Gao, Jun Fang, Hanyu Liu, Zhiyuan Liu, Chao Liu, Pengzhang Liu, Yongjun Bao, and Weipeng Yan. 2022. LEGO-ABSA: A prompt-based task assembly unified generative framework for multi-task aspect-based sentiment analysis. In Proceedings of the 29th International Conference on Computational Linguistics, COLING 2022, Gyeongju, Republic of Korea, October 12-17, 2022, pages 7002-7012. International Committee on Computational Linguistics.
|
| 295 |
+
Xu Han, Weilin Zhao, Ning Ding, Zhiyuan Liu, and Maosong Sun. 2022. PTR: prompt tuning with rules for text classification. AI Open, 3:182-192.
|
| 296 |
+
Kaiming He, Xiangyu Zhang, Shaoqing Ren, and Jian Sun. 2016. Deep residual learning for image recognition. In 2016 IEEE Conference on Computer Vision and Pattern Recognition, CVPR 2016, Las Vegas,
|
| 297 |
+
|
| 298 |
+
NV, USA, June 27-30, 2016, pages 770-778. IEEE Computer Society.
|
| 299 |
+
Brendan Jou, Tao Chen, Nikolaos Pappas, Miriam Redi, Mercan Topkara, and Shih-Fu Chang. 2015. Visual affect around the world: A large-scale multilingual visual sentiment ontology. In Proceedings of the 23rd Annual ACM Conference on Multimedia Conference, MM '15, Brisbane, Australia, October 26 - 30, 2015, pages 159-168. ACM.
|
| 300 |
+
Xincheng Ju, Dong Zhang, Rong Xiao, Junhui Li, Shoushan Li, Min Zhang, and Guodong Zhou. 2021. Joint multi-modal aspect-sentiment analysis with auxiliary cross-modal relation detection. In Proceedings of the 2021 Conference on Empirical Methods in Natural Language Processing, EMNLP 2021, Virtual Event / Punta Cana, Dominican Republic, 7-11 November, 2021, pages 4395-4405. Association for Computational Linguistics.
|
| 301 |
+
Zaid Khan and Yun Fu. 2021. Exploiting BERT for multimodal target sentiment classification through input space translation. In MM '21: ACM Multimedia Conference, Virtual Event, China, October 20 - 24, 2021, pages 3034-3042. ACM.
|
| 302 |
+
Daniel Khashabi, Sewon Min, Tushar Khot, Ashish Sabharwal, Oyvind Tafjord, Peter Clark, and Hannaneh Hajishirzi. 2020. Unifiedqa: Crossing format boundaries with a single QA system. In Findings of the Association for Computational Linguistics: EMNLP 2020, Online Event, 16-20 November 2020, volume EMNLP 2020 of Findings of ACL, pages 1896-1907. Association for Computational Linguistics.
|
| 303 |
+
Chengxi Li, Feiyu Gao, Jiajun Bu, Lu Xu, Xiang Chen, Yu Gu, Zirui Shao, Qi Zheng, Ningyu Zhang, Yongpan Wang, and Zhi Yu. 2021. Sentiprompt: Sentiment knowledge enhanced prompt-tuning for aspect-based sentiment analysis. CoRR, abs/2109.08306.
|
| 304 |
+
Guowei Li, Fuqiang Lin, WangQun Chen, DiWen Dong, and Bo Liu. 2022a. Prompt-based learning for aspect-level sentiment classification. In Neural Information Processing - 29th International Conference, ICONIP 2022, Virtual Event, November 22-26, 2022, Proceedings, Part III, volume 13625 of Lecture Notes in Computer Science, pages 509-520. Springer.
|
| 305 |
+
Jing Li, Aixin Sun, Jianglei Han, and Chenliang Li. 2022b. A survey on deep learning for named entity recognition. IEEE Trans. Knowl. Data Eng., 34(1):50-70.
|
| 306 |
+
Xiang Lisa Li and Percy Liang. 2021. Prefix-tuning: Optimizing continuous prompts for generation. In Proceedings of the 59th Annual Meeting of the Association for Computational Linguistics and the 11th International Joint Conference on Natural Language Processing, ACL/IJCNLP 2021, (Volume 1: Long Papers), Virtual Event, August 1-6, 2021, pages 4582-4597. Association for Computational Linguistics.
|
| 307 |
+
|
| 308 |
+
Yan Ling, Jianfei Yu, and Rui Xia. 2022. Vision-language pre-training for multimodal aspect-based sentiment analysis. In Proceedings of the 60th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), ACL 2022, Dublin, Ireland, May 22-27, 2022, pages 2149-2159. Association for Computational Linguistics.
|
| 309 |
+
Bin Liu, Tao Lin, and Ming Li. 2023a. Enhancing aspect-category sentiment analysis via syntactic data augmentation and knowledge enhancement. Knowl. Based Syst., 264:110339.
|
| 310 |
+
Pengfei Liu, Weizhe Yuan, Jinlan Fu, Zhengbao Jiang, Hiroaki Hayashi, and Graham Neubig. 2023b. Pretrain, prompt, and predict: A systematic survey of prompting methods in natural language processing. ACM Comput. Surv., 55(9):195:1-195:35.
|
| 311 |
+
Yuhang Liu, Wei Wei, Daowan Peng, and Feida Zhu. 2022. Declaration-based prompt tuning for visual question answering. In Proceedings of the Thirty-First International Joint Conference on Artificial Intelligence, IJCAI 2022, Vienna, Austria, 23-29 July 2022, pages 3264-3270. ijcai.org.
|
| 312 |
+
Sijie Long, Lin Li, Jingling Yuan, and Jianquan Liu. 2022. Momnet: Gender prediction using mechanism of working memory. In Proceedings of the 31st ACM International Conference on Information & Knowledge Management, Atlanta, GA, USA, October 17-21, 2022, pages 4259-4263. ACM.
|
| 313 |
+
Di Lu, Leonardo Neves, Vitor Carvalho, Ning Zhang, and Heng Ji. 2018. Visual attention model for name tagging in multimodal social media. In Proceedings of the 56th Annual Meeting of the Association for Computational Linguistics, ACL 2018, Melbourne, Australia, July 15-20, 2018, Volume 1: Long Papers, pages 1990-1999. Association for Computational Linguistics.
|
| 314 |
+
Yaojie Lu, Qing Liu, Dai Dai, Xinyan Xiao, Hongyu Lin, Xianpei Han, Le Sun, and Hua Wu. 2022. Unified structure generation for universal information extraction. In Proceedings of the 60th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), ACL 2022, Dublin, Ireland, May 22-27, 2022, pages 5755-5772. Association for Computational Linguistics.
|
| 315 |
+
Alec Radford, Jong Wook Kim, Chris Hallacy, Aditya Ramesh, Gabriel Goh, Sandhini Agarwal, Girish Sastry, Amanda Askell, Pamela Mishkin, Jack Clark, Gretchen Krueger, and Ilya Sutskever. 2021. Learning transferable visual models from natural language supervision. In Proceedings of the 38th International Conference on Machine Learning, ICML 2021, 18-24 July 2021, Virtual Event, volume 139 of Proceedings of Machine Learning Research, pages 8748-8763. PMLR.
|
| 316 |
+
Ronald Seoh, Ian Birle, Mrinal Tak, Haw-Shiuan Chang, Brian Pinette, and Alfred Hough. 2021. Open aspect target sentiment classification with natural language
|
| 317 |
+
|
| 318 |
+
prompts. In Proceedings of the 2021 Conference on Empirical Methods in Natural Language Processing, EMNLP 2021, Virtual Event / Punta Cana, Dominican Republic, 7-11 November; 2021, pages 6311-6322. Association for Computational Linguistics.
|
| 319 |
+
Zhengxin Song, Yun Xue, Donghong Gu, Haolan Zhang, and Weiping Ding. 2023. Target-oriented multimodal sentiment classification by using topic model and gating mechanism. Int. J. Mach. Learn. Cybern., 14(7):2289-2299.
|
| 320 |
+
Maria Tsimpoukelli, Jacob Menick, Serkan Cabi, S. M. Ali Eslami, Oriol Vinyals, and Felix Hill. 2021. Multimodal few-shot learning with frozen language models. In Advances in Neural Information Processing Systems 34: Annual Conference on Neural Information Processing Systems 2021, NeurIPS 2021, December 6-14, 2021, virtual, pages 200-212.
|
| 321 |
+
Ashish Vaswani, Noam Shazeer, Niki Parmar, Jakob Uszkoreit, Llion Jones, Aidan N. Gomez, Lukasz Kaiser, and Illia Polosukhin. 2017. Attention is all you need. In Advances in Neural Information Processing Systems 30: Annual Conference on Neural Information Processing Systems 2017, December 4-9, 2017, Long Beach, CA, USA, pages 5998-6008.
|
| 322 |
+
Jiawei Wang, Zhe Liu, Victor S. Sheng, Yuqing Song, and Chenjian Qiu. 2021. Saliencybert: Recurrent attention network for target-oriented multimodal sentiment classification. In Pattern Recognition and Computer Vision - 4th Chinese Conference, PRCV 2021, Beijing, China, October 29 - November 1, 2021, Proceedings, Part III, volume 13021 of Lecture Notes in Computer Science, pages 3-15. Springer.
|
| 323 |
+
Luwei Xiao, Ejian Zhou, Xingjiao Wu, Shuwen Yang, Tianlong Ma, and Liang He. 2022. Adaptive multi-feature extraction graph convolutional networks for multimodal target sentiment analysis. In IEEE International Conference on Multimedia and Expo, ICME 2022, Taipei, Taiwan, July 18-22, 2022, pages 1-6. IEEE.
|
| 324 |
+
Nan Xu and Wenji Mao. 2017. Multisentinent: A deep semantic network for multimodal sentiment analysis. In Proceedings of the 2017 ACM on Conference on Information and Knowledge Management, CIKM 2017, Singapore, November 06 - 10, 2017. ACM.
|
| 325 |
+
Nan Xu, Wenji Mao, and Guandan Chen. 2018. A comemory network for multimodal sentiment analysis. In The 41st International ACM SIGIR Conference on Research & Development in Information Retrieval, SIGIR 2018, Ann Arbor, MI, USA, July 08-12, 2018, pages 929-932. ACM.
|
| 326 |
+
Nan Xu, Wenji Mao, and Guandan Chen. 2019. Multi-interactive memory network for aspect based multimodal sentiment analysis. In The Thirty-Third AAAI Conference on Artificial Intelligence, AAAI 2019, The Thirty-First Innovative Applications of Artificial Intelligence Conference, IAAI 2019, The Ninth AAAI
|
| 327 |
+
|
| 328 |
+
Symposium on Educational Advances in Artificial Intelligence, EAAI 2019, Honolulu, Hawaii, USA, January 27 - February 1, 2019, pages 371-378. AAAI Press.
|
| 329 |
+
Hao Yang, Yanyan Zhao, and Bing Qin. 2022. Face-sensitive image-to-emotional-text cross-modal translation for multimodal aspect-based sentiment analysis. In Proceedings of the 2022 Conference on Empirical Methods in Natural Language Processing, EMNLP 2022, Abu Dhabi, United Arab Emirates, December 7-11, 2022, pages 3324-3335. Association for Computational Linguistics.
|
| 330 |
+
Yuan Yao, Ao Zhang, Zhengyan Zhang, Zhiyuan Liu, Tat-Seng Chua, and Maosong Sun. 2021. CPT: colorful prompt tuning for pre-trained vision-language models. CoRR, abs/2109.11797.
|
| 331 |
+
Jianfei Yu and Jing Jiang. 2019. Adapting BERT for target-oriented multimodal sentiment classification. In Proceedings of the Twenty-Eighth International Joint Conference on Artificial Intelligence, IJCAI 2019, Macao, China, August 10-16, 2019, pages 5408-5414. ijcai.org.
|
| 332 |
+
Jianfei Yu, Jing Jiang, and Rui Xia. 2020. Entity-sensitive attention and fusion network for entity-level multimodal sentiment classification. IEEE ACM Trans. Audio Speech Lang. Process., 28:429-439.
|
| 333 |
+
Yuhai Yu, Hongfei Lin, Jiana Meng, and Zhehuan Zhao. 2016. Visual and textual sentiment analysis of a microblog using deep convolutional neural networks. Algorithms, 9(2):41.
|
| 334 |
+
Qi Zhang, Jinlan Fu, Xiaoyu Liu, and Xuanjing Huang. 2018. Adaptive co-attention network for named entity recognition in tweets. In Proceedings of the Thirty-Second AAAI Conference on Artificial Intelligence, (AAAI-18), the 30th innovative Applications of Artificial Intelligence (IAAI-18), and the 8th AAAI Symposium on Educational Advances in Artificial Intelligence (EAAI-18), New Orleans, Louisiana, USA, February 2-7, 2018, pages 5674-5681. AAAI Press.
|
| 335 |
+
Zhe Zhang, Zhu Wang, Xiaona Li, Nannan Liu, Bin Guo, and Zhiwen Yu. 2021. Modalnet: an aspect-level sentiment classification model by exploring multimodal data with fusion discriminant attentional network. World Wide Web, 24(6):1957-1974.
|
| 336 |
+
Fei Zhao, Zhen Wu, Siyu Long, Xinyu Dai, Shujian Huang, and Jiajun Chen. 2022. Learning from adjective-noun pairs: A knowledge-enhanced framework for target-oriented multimodal sentiment classification. In Proceedings of the 29th International Conference on Computational Linguistics, COLING 2022, Gyeongju, Republic of Korea, October 12-17, 2022, pages 6784-6794. International Committee on Computational Linguistics.
|
| 337 |
+
Jie Zhou, Jiabao Zhao, Jimmy Xiangji Huang, Qin-min Vivian Hu, and Liang He. 2021. MASAD: A large-scale dataset for multimodal aspect-based sentiment analysis. Neurocomputing, 455:47-58.
|
| 338 |
+
|
| 339 |
+
Kaiyang Zhou, Jingkang Yang, Chen Change Loy, and Ziwei Liu. 2022. Learning to prompt for vision-language models. Int. J. Comput. Vis., 130(9):2337-2348.
|
| 340 |
+
|
| 341 |
+
# A Appendix
|
| 342 |
+
|
| 343 |
+
# A.1 Baselines
|
| 344 |
+
|
| 345 |
+
(1) TomBERT (IJCAI, Yu and Jiang (2019)), which employ BERT for the inter-modal interactions and Target-Image matching layer to obtain a target-sensitive visual.
|
| 346 |
+
(2) SaliencyBERT (PRCV, Wang et al. (2021)), which design a recurrent attention mechanism to capture the inter-modality dynamics.
|
| 347 |
+
(3) CapTrBERT (ACM Multimedia, Khan and Fu (2021)), a BERT-based model translating the image into caption and fusing the caption and input text-entity pair.
|
| 348 |
+
(4) JML-MASC (EMNLP, Ju et al. (2021)), which is a multi-task learning method with the cross-modal relation detection.
|
| 349 |
+
(5) VLP-MABSA (ACL, Ling et al. (2022)), a task-specific pre-training vision-language model.
|
| 350 |
+
(6) FITE-DE-Large (EMNLP, Yang et al. (2022)), introducing a FITE method to focus on capturing emotional cues through facial expressions.
|
| 351 |
+
(7) MIMN (AAAI, Xu et al. (2019)), using memory network to model multimodal data and learn the interactive influences in cross-modality and self-modality.
|
| 352 |
+
(8) MMAP (Neurocomputing, Zhou et al. (2021)), learning the interaction between text and image, text and aspect, and image and aspect through three interactive mechanisms.
|
| 353 |
+
(9) ModalNet (WWW, Zhang et al. (2021)), designing a discriminant matrix to supervise the fusion of inter-modal information.
|
| 354 |
+
(10) CLIP (INT J COMPUT VISION, Zhou et al. (2022)), a multimodal pre-training model, converts image classification tasks into image-text matching tasks using comparative learning.
|
| 355 |
+
|
| 356 |
+
# A.2 Dataset Details
|
| 357 |
+
|
| 358 |
+
(1) Twitter-2015 and Twitter-2017. The two Twitter datasets include user tweets released during 2014-2015 and 2016-2017, collected by Zhang et al. (2018) and Lu et al. (2018). Since the two publicly available multimodal datasets Twitter-2015 and Twitter-2017 only provide annotated targets in each tweet, Yu and Jiang (2019) ask three domain experts to annotate the sentiment towards each target, and take the majority label among the three annotators as the gold label. These two datasets contain multimodal tweets and annotated mentioned entities in the text, as well as the sentiment polarity of each entity, including positive, neutral, and negative. Each multimodal tweet consists of a text and a corresponding image. We follow their official splitting for training, validation and testing. The statistics of Twitter-2015 and Twitter-2017 are in Table 8.
|
| 359 |
+
(2) Multi-ZOL. This dataset is collected by Xu et al. (2019) from the Chinese website ZOL.com. The website consists of 40 large channels, including news, shopping malls, hardware, mobile phones, and more. They searched from pages 1 to 50 in the mobile phones channel. For each phone, only the reviews from the first 20 pages were crawled. The Multi-ZOL dataset contains 5288 multimodal reviews and each multimodal review contains a textual content, an image set, and at least one but no more than six aspects. The six aspects are cost performance, performance configuration, battery life, appearance, photography effect, and screen. For each aspect, the review has an integer sentiment score from 1 to 10, which is regarded as the sentiment label in our experiment. Actually, we convert digital sentiment labels into Chinese characters, such as '10' to 'ten'. Combining each aspect with the multimodal review, 28469 pairs of aspect review samples can be obtained. We randomly partition the dataset into training $(80\%)$ , development $(10\%)$ , and testing $(10\%)$ sets. The statistical information after dividing the dataset is shown in Table 9.
|
| 360 |
+
(3) MASAD. This dataset was collected and published by Zhou et al. (2021) based on the publicly available Visual Sentiment Ontology (VSO) dataset (Borth et al., 2013) and Multi-
|
| 361 |
+
|
| 362 |
+
<table><tr><td rowspan="2"></td><td colspan="4">Twitter-2015</td><td colspan="4">Twitter-2017</td></tr><tr><td>#Positive</td><td>#Neutral</td><td>#Negative</td><td>Total</td><td>#Positive</td><td>#Neutral</td><td>#Negative</td><td>Total</td></tr><tr><td>Train</td><td>928</td><td>1883</td><td>368</td><td>3179</td><td>1508</td><td>416</td><td>1638</td><td>3562</td></tr><tr><td>Dev</td><td>303</td><td>679</td><td>149</td><td>1122</td><td>515</td><td>144</td><td>517</td><td>1176</td></tr><tr><td>Test</td><td>317</td><td>607</td><td>113</td><td>1037</td><td>493</td><td>168</td><td>573</td><td>1234</td></tr></table>
|
| 363 |
+
|
| 364 |
+
Table 8: The statistics of Twitter-2015 and Twitter-2017 datasets.
|
| 365 |
+
|
| 366 |
+
<table><tr><td></td><td>#1</td><td>#2</td><td>#3</td><td>#4</td><td>#5</td><td>#6</td><td>#7</td><td>#8</td><td>#9</td><td>#10</td><td>Total</td><td>Max #Image</td><td>Min #Image</td></tr><tr><td>Train</td><td>6</td><td>1163</td><td>6</td><td>1190</td><td>3</td><td>3509</td><td>0</td><td>6952</td><td>0</td><td>9948</td><td>22775</td><td>111</td><td>1</td></tr><tr><td>Dev</td><td>0</td><td>139</td><td>0</td><td>150</td><td>0</td><td>433</td><td>0</td><td>872</td><td>0</td><td>1253</td><td>2847</td><td>111</td><td>1</td></tr><tr><td>Test</td><td>0</td><td>132</td><td>0</td><td>151</td><td>0</td><td>413</td><td>0</td><td>871</td><td>0</td><td>1280</td><td>2847</td><td>72</td><td>1</td></tr></table>
|
| 367 |
+
|
| 368 |
+
Table 9: The statistics of Multi-ZOL dataset after partitioning. 'Max #Image' refers to the maximum number of image corresponding to the review, while 'Min #Image' is the minimum quantity.
|
| 369 |
+
|
| 370 |
+
<table><tr><td rowspan="2"></td><td colspan="3">Train</td><td colspan="3">Dev</td><td colspan="3">Test</td></tr><tr><td>#Positive</td><td>#Negative</td><td>Total</td><td>#Positive</td><td>#Negative</td><td>Total</td><td>#Positive</td><td>#Negative</td><td>Total</td></tr><tr><td>Food</td><td>2122</td><td>392</td><td>2514</td><td>239</td><td>41</td><td>280</td><td>592</td><td>109</td><td>701</td></tr><tr><td>Buildings</td><td>969</td><td>874</td><td>1843</td><td>109</td><td>96</td><td>205</td><td>273</td><td>245</td><td>518</td></tr><tr><td>Goods</td><td>2398</td><td>1512</td><td>3910</td><td>273</td><td>162</td><td>435</td><td>743</td><td>512</td><td>1255</td></tr><tr><td>Animal</td><td>2728</td><td>1979</td><td>4707</td><td>295</td><td>229</td><td>524</td><td>1126</td><td>670</td><td>1796</td></tr><tr><td>Human</td><td>1805</td><td>1648</td><td>3453</td><td>194</td><td>190</td><td>384</td><td>503</td><td>464</td><td>967</td></tr><tr><td>Plant</td><td>2542</td><td>2341</td><td>4883</td><td>277</td><td>266</td><td>543</td><td>1269</td><td>947</td><td>2216</td></tr><tr><td>Scenery</td><td>3222</td><td>1760</td><td>4982</td><td>378</td><td>176</td><td>554</td><td>907</td><td>490</td><td>1397</td></tr><tr><td>Total</td><td>15786</td><td>10506</td><td>26292</td><td>1765</td><td>1160</td><td>2925</td><td>5413</td><td>3437</td><td>8850</td></tr></table>
|
| 371 |
+
|
| 372 |
+
Table 10: The statistical information of MASAD datasets. The seven domains are Food, Buildings, Goods, Animal, Human, Plant, Scenery.
|
| 373 |
+
|
| 374 |
+
lingual Visual Sentiment Ontology (MVSO) dataset (Jou et al., 2015). Zhou et al. (2021) selected the samples from a partial VSO dataset (approximately 120k samples) that can express significant sentiments (about 38k samples) and categorized them into 7 domains, resulting in the MASAD dataset. The seven domains of the MASAD are food, buildings, goods, animal, human, plant, and scenery. Each domain encompasses multiple aspects, such as the animal domain, including cat, dog, horse, and so on. According to our statistics, there are a total of 57 predefined aspects. This dataset only includes training and testing sets, both containing positive and negative samples. We partition each domain in the training set into a new training set and a validation set in a 9:1 ratio, keeping the original testing set unchanged. The statistics of MASAD are in Table 10.
|
| 375 |
+
|
| 376 |
+
In addition, there are instances of duplicate data in the testing and training sets in this dataset. In the domain of animal and plant, according to our statistics, about $81.6\%$ and $62.2\%$ of the data in the testing set has appeared in the training set. In order to compare more fairly with other baseline models, we conduct experiments in other domains besides ani
|
| 377 |
+
|
| 378 |
+
mal and plant.
|
2023/Descriptive Prompt Paraphrasing for Target-Oriented Multimodal Sentiment Classification/images.zip
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:9301dfa9b411ef635f27cfe1a08502457d9ad30d3870d82b84b5a139310f474f
|
| 3 |
+
size 683394
|
2023/Descriptive Prompt Paraphrasing for Target-Oriented Multimodal Sentiment Classification/layout.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
2023/DetectLLM_ Leveraging Log Rank Information for Zero-Shot Detection of Machine-Generated Text/b6e08278-e610-46f1-92c0-6af873c348c2_content_list.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
2023/DetectLLM_ Leveraging Log Rank Information for Zero-Shot Detection of Machine-Generated Text/b6e08278-e610-46f1-92c0-6af873c348c2_model.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
2023/DetectLLM_ Leveraging Log Rank Information for Zero-Shot Detection of Machine-Generated Text/b6e08278-e610-46f1-92c0-6af873c348c2_origin.pdf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:eb56611d42af4bcdadc5b51fcad9b69a75cc0626b80ccede56c370a0e9d3d1d8
|
| 3 |
+
size 587869
|
2023/DetectLLM_ Leveraging Log Rank Information for Zero-Shot Detection of Machine-Generated Text/full.md
ADDED
|
@@ -0,0 +1,381 @@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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# DetectLLM: Leveraging Log-Rank Information for Zero-Shot Detection of Machine-Generated Text
|
| 2 |
+
|
| 3 |
+
Jinyan Su $^{1,2}$ , Terry Yue Zhuo $^{3}$ , Di Wang $^{4}$ , Preslav Nakov $^{1}$
|
| 4 |
+
|
| 5 |
+
<sup>1</sup>Mohamed bin Zayed University of Artificial Intelligence, <sup>2</sup>Cornell University
|
| 6 |
+
|
| 7 |
+
<sup>3</sup>Monash University and CSIRO's Data61
|
| 8 |
+
|
| 9 |
+
$^{4}$ King Abdullah University of Science and Technology
|
| 10 |
+
|
| 11 |
+
{Jinyan.Su, preslav.nakov}@mbzuai.ac.ae
|
| 12 |
+
|
| 13 |
+
terry.zhuo@monash.edu,di.wang@kaust.edu.sa
|
| 14 |
+
|
| 15 |
+
# Abstract
|
| 16 |
+
|
| 17 |
+
With the rapid progress of Large language models (LLMs) and the huge amount of text they generate, it becomes impractical to manually distinguish whether a text is machine-generated. The growing use of LLMs in social media and education, prompts us to develop methods to detect machine-generated text, preventing malicious use such as plagiarism, misinformation, and propaganda. In this paper, we introduce two novel zero-shot methods for detecting machine-generated text by leveraging the Log-Rank information. One is called DetectLLM-LRR, which is fast and efficient, and the other is called DetectLLM-NPR, which is more accurate, but slower due to the need for perturbations. Our experiments on three datasets and seven language models show that our proposed methods improve over the state of the art by 3.9 and 1.75 AUROC points absolute. Moreover, DetectLLM-NPR needs fewer perturbations than previous work to achieve the same level of performance, which makes it more practical for real-world use. We also investigate the efficiency-performance trade-off based on users' preference for these two measures and provide intuition for using them in practice effectively. We release the data and the code of both methods in https://github.com/mbzuai-nlp/DetectLLM.
|
| 18 |
+
|
| 19 |
+
# 1 Introduction
|
| 20 |
+
|
| 21 |
+
Large language models (LLMs) have made rapid advancements in recent years, and are now able to generate text with significantly improved diversity, fluency, and quality. Models such as ChatGPT (OpenAI, 2022), GPT-3 (Brown et al., 2020), LLaMa (Touvron et al., 2023) and BLOOM (Scao et al., 2022) demonstrate exceptional performance in answering questions (Robinson et al., 2022), writing stories (Fan et al., 2018; Yuan et al., 2022) and thus facilitating daily life and improving work efficiency. However, LLMs can also be misused for generating plagiarized text, misinformation,
|
| 22 |
+
|
| 23 |
+
and propaganda, which can lead to negative consequences (Zhuo et al., 2023). For instance, students might use LLMs to write assignments (Rosenblatt, 2023), making fair evaluation difficult for teachers, and in the long run, undermining the integrity of the entire education system. Malicious actors might generate fake news articles to spread misinformation and propaganda or to manipulate public opinion, which is dangerous, especially when it comes to politics (Floridi and Chiriatti, 2020; Stokel-Walker, 2022).
|
| 24 |
+
|
| 25 |
+
With the proliferation of LLMs and the increasing amount of texts they produce, it is challenging for humans to accurately identify machine-generated texts (Gehrmann et al., 2019). Moreover, it is unrealistic to hire humans to manually identify machine-generated text at scale due to the prohibitively high costs and the efficiency requirements in real-time applications, e.g., in social media. Thus, it is essential to develop tools and strategies to automatically identify machine-generated text and to mitigate the potential negative impact of LLMs.
|
| 26 |
+
|
| 27 |
+
The problem of distinguishing machine-generated from human-written text is commonly formulated as a binary task (Jawahar et al., 2020). Most previous work has focused on the black-box scenario, where the detector has access to the output of the LLMs only and cannot make use of its internals. Such methods lack flexibility since they need to be retrained from scratch to be able to recognize the output of a new LLM (Mitchell et al., 2023). Given the speed at which new LLMs are developed, black-box methods are becoming more and more expensive and impractical. In cases when the access to the LLM is via an API only, one possibility is for the LLM owner to record all content it has generated, or to watermark all texts it has generated (Kirchenbauer et al., 2023; Zhao et al., 2023). However, such solutions are not feasible for third parties.
|
| 28 |
+
|
| 29 |
+
We therefore consider a white-box setting, where the detector has full access to the LLMs. We focus on zero-shot methods, where we use the LLM without additional training. Generally speaking, zero-shot methods use the source LLM to extract statistics such as the average per-token log probability or the average rank of each token in the ranked list of possible choices to make a prediction by comparing it to a threshold (Solaiman et al., 2019; Ippolito et al., 2019; Gehrmann et al., 2019; Mitchell et al., 2023). Based on whether the queried statistics are only about the target texts, we can roughly categorize them as perturbation-free and perturbation-based. Perturbation-free methods only query LLMs about the statistics on the target text $x$ , while perturbation-based methods such as Mitchell et al. (2023) queries also the statistics of additional perturbed texts, which achieves better performance but is 50-100 times more costly than perturbation-free methods. Thus, there exists a trade-off between performance and efficiency among zero-shot methods.
|
| 30 |
+
|
| 31 |
+
To mitigate the gap of these two categories and design zero-shot methods with better performance-efficiency balance, we should either improve the accuracy of perturbation-free methods or reduce their cost. Thus, we propose two novel zero-shot methods, one perturbation-free, but more accurate than previous methods, and one perturbation-based method, but with better efficiency.
|
| 32 |
+
|
| 33 |
+
In the perturbation-free method we proposed, we apply Log-Likelihood Log-Rank ratio (LRR), which enhances Log-Likelihood information with Log-Rank information as the discerning feature that achieves better performance than existing perturbation-free methods and can even surpass perturbation-based methods on some LLMs. For the perturbation-based method, we use Normalized perturbed log rank (NPR), which is based on the intuition that machine-generated texts are more sensitive to minor rewrites (or small perturbations). Compared to existing perturbation-based methods such as DetectGPT (Mitchell et al., 2023), this approach takes less time and computational resources and is more efficient. We denote these two methods DetectLLM-LRR and DetectLLM-NPR respectively. Our contributions are as follows:
|
| 34 |
+
|
| 35 |
+
- We propose two novel zero-shot approaches based on Log-Rank statistics, which improve over the state of the art. On average, these methods improved upon the previous best
|
| 36 |
+
|
| 37 |
+

|
| 38 |
+
Figure 1: Distribution of LRR and NPR visualized on 300 human-written texts (HG) from the WritingPrompts dataset (Fan et al., 2018) as well as 300 texts generated with GPT-2-x1 (MG) by prompting it with the first 30 tokens from human-written texts.
|
| 39 |
+
|
| 40 |
+
zero-shot methods by 3.9 and 1.75 AUROC points absolute.
|
| 41 |
+
|
| 42 |
+
- We investigate the efficacy of existing zero-shot methods and explore their limits as the size of the LLMs increases from 1.5 to 20 billion.
|
| 43 |
+
- We conduct comprehensive experiments to better understand the efficiency-performance trade-offs in zero-shot methods, thereby providing interesting insights on how to choose among different categories of zero-shot methods based on users' preference for performance or efficiency.
|
| 44 |
+
|
| 45 |
+
# 2 Related Work
|
| 46 |
+
|
| 47 |
+
The detection of machine-generated text is commonly formulated as a classification task (Jawahar et al., 2020; Fagni et al., 2021; Bakhtin et al., 2019; Sadasivan et al., 2023; Wang et al., 2023). One way of solving it is to use supervised learning, where a classification model is trained on a dataset containing both machine-generated and human-written texts. For example, GPT-2 Detector (Solaiman et al., 2019) fine-tunes RoBERTa (Liu et al., 2019) on the output of GPT-2, while the ChatGPT Detector (Guo et al., 2023) fine-tunes RoBERTa on the HC3 (Guo et al., 2023) dataset. However, models trained explicitly to detect machine-generated texts may overfit their training distribution of the domains (Bakhtin et al., 2019; Uchendu et al., 2020).
|
| 48 |
+
|
| 49 |
+
Another stream of work attempts to distinguish machine-generated from human-written texts based on statistical irregularities in the entropy (Lavergne et al., 2008), perplexity (Beresneva, 2016) or in the $n$ -gram frequencies (Badaskar et al., 2008). Gehrmann et al. (2019) introduced hand-crafted statistical features to assist humans in detecting-machine generated texts. Moreover, (Solaiman et al., 2019) noted the efficacy of simple zero-shot
|
| 50 |
+
|
| 51 |
+

|
| 52 |
+
Figure 2: Comparison of DetectGPT to NPR averaged across six models (in terms of AUROC). (The full results are given in Figure 6 in the Appendix).
|
| 53 |
+
|
| 54 |
+
methods for detecting machine-generated text by evaluating the per-token log probability of texts and using thresholding. Mitchell et al. (2023) observed that machine-generated texts tend to lie in the local curvature of the log probability and proposed DetectGPT, whose prominent performance can only be guaranteed by the large size of the perturbation function and by a large number of perturbations, and thus costs more computational resources.
|
| 55 |
+
|
| 56 |
+
Other work explored watermarking, which imprints specific patterns of the LLM-output text that can be detected by an algorithm while being imperceptible to humans. Grinbaum and Adomaitis (2022) and Abdelnabi and Fritz (2021) watermarked machine-generated text using syntax tree manipulation, while Kirchenbauer et al. (2023) required access to the LLM's logits at each time step.
|
| 57 |
+
|
| 58 |
+
# 3 Improved Zero-Shot Approaches by Leveraging Log-Rank Information
|
| 59 |
+
|
| 60 |
+
In this section, we introduce the Log-Likelihood Log-Rank Ratio (LRR) and the Normalized Perturbed log-Rank (NPR). LRR combines Log-Rank and Log-Likelihood as they provide complementary information about the text. NPR uses the idea that the Log-Rank of machine-generated texts should be more sensitive to smaller perturbations.
|
| 61 |
+
|
| 62 |
+
# 3.1 Log-Likelihood Log-Rank Ratio (LRR)
|
| 63 |
+
|
| 64 |
+
We define the Log-Likelihood Log-Rank Ratio as
|
| 65 |
+
|
| 66 |
+
$$
|
| 67 |
+
\begin{array}{l} \mathrm {L R R} = \left| \begin{array}{c} \frac {1}{t} \sum_ {i = 1} ^ {t} \log p _ {\theta} (x _ {i} | x _ {< i}) \\ \hline \frac {1}{t} \sum_ {i = 1} ^ {t} \log r _ {\theta} (x _ {i} | x _ {< i}) \end{array} \right| \\ = - \frac {\sum_ {i = 1} ^ {t} \log p _ {\theta} (x _ {i} | x _ {< i})}{\sum_ {i = 1} ^ {t} \log r _ {\theta} (x _ {i} | x _ {< i})}, \\ \end{array}
|
| 68 |
+
$$
|
| 69 |
+
|
| 70 |
+
where $r_{\theta}(x_i|x_{< i}) \geq 1$ is the rank of token $x_{i}$ conditioned on the previous tokens.
|
| 71 |
+
|
| 72 |
+
The Log-Likelihood in the numerator represents the absolute confidence for the correct token, while the Log-Rank in the denominator accounts for
|
| 73 |
+
|
| 74 |
+
the relative confidence, which reveals complementary information about the texts. As illustrated in Figure 1, LRR is generally larger for machine-generated text, which can be used for distinguishing machine-generated from human-written text. One plausible reason might be that for machine-generated text, the Log-Rank is more discernible than the Log-Likelihood, so LRR illustrates this pattern for machine-generated text. In Sections 4 and 6, we experimentally show that LRR is a better discriminator than either the Log-Likelihood or the Log-Rank. We call the zero-shot method using LRR as a detection feature as DetectLLM-LRR, and use the abbreviation LRR in the rest of the paper.
|
| 75 |
+
|
| 76 |
+
# 3.2 Normalized Log-Rank Perturbation (NPR)
|
| 77 |
+
|
| 78 |
+
We define the normalized perturbed Log-Rank as
|
| 79 |
+
|
| 80 |
+
$$
|
| 81 |
+
\mathrm {N P R} = \frac {\frac {1}{n} \sum_ {p = 1} ^ {n} \log r _ {\theta} (\tilde {x} _ {p})}{\log r _ {\theta} (x)},
|
| 82 |
+
$$
|
| 83 |
+
|
| 84 |
+
where small perturbations are applied on the target text $x$ to produce the perturbed text $\tilde{x}_p$ . Here, a perturbation means minor rewrites, such as replacing some of the words. We call the zero-shot method using NPR as a detection feature DetectLLM-NPR, and use the abbreviation NPR in the rest of the paper.
|
| 85 |
+
|
| 86 |
+
The motivation for NPR is that machine-generated and human-written texts are both negatively affected by small perturbations, i.e., the Log-Rank score will increase after perturbations, but the machine-generated text is more susceptible to perturbations and thus increase more on Log-Rank score after perturbation, which suggests higher NPR score for machine-generated texts. As shown in Figure 1, NPR can be a discernible signal for distinguishing machine-generated from human-written text. DetectGPT (Mitchell et al., 2023) uses a similar idea, but experimentally, we find NPR to be more efficient and to perform better. Details and comparisons are given in Section 4.
|
| 87 |
+
|
| 88 |
+
# 4 Experimental Setup
|
| 89 |
+
|
| 90 |
+
In this section, we conduct comprehensive experiments to evaluate the performance of LRR and NPR in comparison to several methods previously proposed in the literature. We experiment with LLM sizes varying from 1.5B to 20B parameters, probing the boundary of zero-shot methods when
|
| 91 |
+
|
| 92 |
+
LLMs continue to grow in size. We further study the impact of the perturbation function, the number of perturbations (especially for NPR and Detect-GPT), the decoding strategy, and the temperature.
|
| 93 |
+
|
| 94 |
+
Data Following (Mitchell et al., 2023), we use three datasets: XSum (Narayan et al., 2018), SQuAD (Rajpurkar et al., 2016), WritingPrompts (Fan et al., 2018), containing news articles, Wikipedia paragraphs and prompted stories, respectively, as human-written texts and we produce machine-generated texts using LLMs. These datasets are chosen to represent the areas where LLMs could have a negative impact. For each experiment, we evaluate 300 machine-generated and human-written texts pairs by prompting the LLMs with the first 30 tokens of the human-written text. We release the code for this.
|
| 95 |
+
|
| 96 |
+
Evaluation Measure Following previous work (Mitchell et al., 2023; He et al., 2023; Krishna et al., 2023), we use the area under the receiver operating characteristic curve (AUROC), which is the probability that a classifier correctly ranks the machine-generated example higher than human-written example. Since for zero-shot methods, detection rates are heavily dependent on the threshold when using discriminative statistics, AUROC is commonly used to measure zero-shot detector performance, which considers the range of all possible thresholds (Krishna et al., 2023).
|
| 97 |
+
|
| 98 |
+
# 4.1 Methods
|
| 99 |
+
|
| 100 |
+
Zero-Shot Methods We compare the following:
|
| 101 |
+
|
| 102 |
+
- $\log p(x)$ : the idea is that a passage with a high average log probability is more likely to have been generated by the target LLM;
|
| 103 |
+
- Rank: the idea is that a passage with a higher average rank is more likely to have been generated by the target LLM;
|
| 104 |
+
- Log-Rank: passage with a higher average observed Log-Rank is more likely to have been generated by the target LLM;
|
| 105 |
+
- Entropy: machine-generated text has higher entropy;
|
| 106 |
+
- DetectGPT: machine-generated text has more negative log probability curvature.
|
| 107 |
+
|
| 108 |
+
More detail and exact definitions of these methods can be found in Appendix A.
|
| 109 |
+
|
| 110 |
+
These zero-shot baselines, along with our newly proposed LRR and NPR, can be categorized as
|
| 111 |
+
|
| 112 |
+
- Perturbation-free: $\log p(x)$ , Rank, Log-Rank, Entropy, LRR. They only query the
|
| 113 |
+
|
| 114 |
+
LLM for statistics about the target text $x$ .
|
| 115 |
+
|
| 116 |
+
- Perturbation Based: DetectGPT and NPR. These methods query the LLM not only for the target text $x$ , but also for perturbed versions thereof $\tilde{x}_1, \dots, \tilde{x}_p$ .
|
| 117 |
+
|
| 118 |
+
As perturbation-based methods perform better (but are also more time-consuming), for fair comparison, we compare them within their own group.
|
| 119 |
+
|
| 120 |
+
Supervised Methods We also experiment with two supervised detectors: RoBERTa-base and RoBERTa-large. As these are not central to our narrative, we put the results in Appendix B.
|
| 121 |
+
|
| 122 |
+
Experimental Details For the perturbation-based methods (DetectGPT and NPR), we use T5-3B for perturbation and we perturb the input text 50 times for all the experiments, unless specified otherwise. For all zero-shot methods, we use sampling with a temperature of 1, unless specified otherwise. More detail are given in Appendix A.
|
| 123 |
+
|
| 124 |
+
# 5 Evaluation Results
|
| 125 |
+
|
| 126 |
+
# 5.1 Zero-Shot Results
|
| 127 |
+
|
| 128 |
+
Table 1 shows a comparison of the five baseline zero-shot approaches to our proposed LRR and NPR, grouped as perturbation-based and perturbation-free. We can see that for the perturbation-based methods, NPR consistently outperforms DetectGPT on all datasets and LLMs, except for one case, with an average improvement of 0.90, 2.03, 2.32 AUROC points absolute on XSum, SQuAD, and WritingPrompts, respectively, (using the same perturbation function and the same number of perturbations). For the experiments among perturbation-free methods, on average, our method achieves the best performance and improves by 2.15, 8.27, 1.28 AUROC points absolute over the second-best perturbation-free method (i.e., Log-Rank) on XSum, SQuAD, and WritingPrompts, respectively. Moreover, we find that in some cases, LRR can even perform better than perturbation-based methods, e.g., on SQuAD, LRR outperforms DetectGPT by 4.23 AUROC point absolute and outperforms NPR by 2.20 AUROC points.
|
| 129 |
+
|
| 130 |
+
# 5.2 Comparing DetectGPT to NPR
|
| 131 |
+
|
| 132 |
+
Equipped with large perturbation functions and an adequate amount of perturbations, perturbation-based methods generally outperform perturbation-free ones, e.g., using T5-3b as the perturbation function and perturb 50 times as in Table 1. However, in
|
| 133 |
+
|
| 134 |
+
<table><tr><td>Dataset</td><td>Perturbation</td><td>Method</td><td>GPT-2-x1</td><td>Neo-2.7</td><td>OPT-2.7</td><td>GPT-j</td><td>OPT-13</td><td>Llama-13</td><td>NeoX</td><td>Avg.</td></tr><tr><td rowspan="7">XSum</td><td rowspan="5">w/o</td><td>log p</td><td>89.16</td><td>87.69</td><td>86.98</td><td>83.10</td><td>83.90</td><td>56.89</td><td>78.16</td><td>80.84</td></tr><tr><td>Rank</td><td>79.79</td><td>77.87</td><td>76.07</td><td>76.28</td><td>74.10</td><td>48.81</td><td>72.44</td><td>72.19</td></tr><tr><td>Log-Rank</td><td>91.75</td><td>90.79</td><td>89.18</td><td>86.42</td><td>85.88</td><td>61.33</td><td>81.44</td><td>83.83</td></tr><tr><td>Entropy</td><td>56.78</td><td>55.14</td><td>50.34</td><td>55.51</td><td>50.98</td><td>69.43</td><td>60.84</td><td>57.00</td></tr><tr><td>LRR (ours)</td><td>93.47</td><td>92.24</td><td>88.70</td><td>88.68</td><td>83.79</td><td>71.07</td><td>83.89</td><td>85.98</td></tr><tr><td rowspan="2">w/</td><td>DetectGPT</td><td>98.80</td><td>99.11</td><td>96.02</td><td>95.88</td><td>92.65</td><td>73.55</td><td>93.58</td><td>92.80</td></tr><tr><td>NPR (ours)</td><td>99.40</td><td>99.46</td><td>97.09</td><td>95.76</td><td>94.63</td><td>75.51</td><td>94.08</td><td>93.70</td></tr><tr><td rowspan="7">SQuAD</td><td rowspan="5">w/o</td><td>log p</td><td>90.72</td><td>84.18</td><td>87.84</td><td>78.20</td><td>80.65</td><td>42.91</td><td>68.78</td><td>76.18</td></tr><tr><td>Rank</td><td>83.46</td><td>79.77</td><td>81.85</td><td>79.46</td><td>77.47</td><td>54.44</td><td>73.10</td><td>75.65</td></tr><tr><td>Log-Rank</td><td>94.33</td><td>89.52</td><td>91.76</td><td>83.37</td><td>85.05</td><td>48.28</td><td>73.88</td><td>80.88</td></tr><tr><td>Entropy</td><td>57.97</td><td>58.48</td><td>53.29</td><td>58.26</td><td>57.14</td><td>69.71</td><td>59.97</td><td>59.26</td></tr><tr><td>LRR (ours)</td><td>97.42</td><td>95.74</td><td>95.89</td><td>91.59</td><td>91.36</td><td>68.78</td><td>83.31</td><td>89.15</td></tr><tr><td rowspan="2">w/</td><td>DetectGPT</td><td>98.52</td><td>95.86</td><td>96.91</td><td>88.66</td><td>90.60</td><td>47.03</td><td>76.84</td><td>84.92</td></tr><tr><td>NPR (ours)</td><td>99.40</td><td>97.56</td><td>98.39</td><td>91.88</td><td>93.04</td><td>48.67</td><td>79.73</td><td>86.95</td></tr><tr><td rowspan="7">WritingP</td><td rowspan="5">w/o</td><td>log p</td><td>96.71</td><td>95.63</td><td>95.05</td><td>94.43</td><td>92.53</td><td>83.54</td><td>93.27</td><td>93.02</td></tr><tr><td>Rank</td><td>87.62</td><td>82.79</td><td>83.89</td><td>83.21</td><td>83.52</td><td>77.64</td><td>81.64</td><td>82.90</td></tr><tr><td>Log-Rank</td><td>98.02</td><td>97.15</td><td>96.32</td><td>96.06</td><td>94.34</td><td>88.11</td><td>95.14</td><td>95.02</td></tr><tr><td>Entropy</td><td>36.45</td><td>34.07</td><td>39.75</td><td>36.93</td><td>42.49</td><td>47.64</td><td>37.89</td><td>39.32</td></tr><tr><td>LRR (ours)</td><td>98.34</td><td>98.02</td><td>96.45</td><td>96.97</td><td>95.09</td><td>92.66</td><td>96.56</td><td>96.30</td></tr><tr><td rowspan="2">w/</td><td>DetectGPT</td><td>99.30</td><td>98.71</td><td>98.33</td><td>95.52</td><td>96.46</td><td>83.01</td><td>92.94</td><td>94.90</td></tr><tr><td>NPR (ours)</td><td>99.78</td><td>99.59</td><td>98.87</td><td>98.07</td><td>98.14</td><td>89.39</td><td>96.72</td><td>97.22</td></tr></table>
|
| 135 |
+
|
| 136 |
+
Table 1: Zero-shot experiments. Comparison of the proposed LRR and NPR to other zero-shot methods in terms of AUROC. For fair comparison, we show in bold the best results, both with and without perturbations.
|
| 137 |
+
|
| 138 |
+
<table><tr><td colspan="2"></td><td colspan="5">w/o Perturbation</td><td colspan="2">w/ Perturbation</td></tr><tr><td>Decoding</td><td>Dataset</td><td>log p</td><td>Rank</td><td>Log-Rank</td><td>Entropy</td><td>LRR (ours)</td><td>DetectGPT</td><td>NPR (ours)</td></tr><tr><td rowspan="3">top-k</td><td>XSum</td><td>81.64</td><td>70.68</td><td>85.19</td><td>55.47</td><td>89.25</td><td>91.34</td><td>92.93</td></tr><tr><td>SQuAD</td><td>76.31</td><td>74.31</td><td>81.28</td><td>57.96</td><td>90.61</td><td>82.42</td><td>84.99</td></tr><tr><td>WritingP</td><td>93.80</td><td>82.15</td><td>95.72</td><td>37.26</td><td>97.10</td><td>93.89</td><td>96.33</td></tr><tr><td rowspan="3">top-p</td><td>XSum</td><td>86.94</td><td>70.86</td><td>88.65</td><td>53.89</td><td>88.29</td><td>92.74</td><td>93.42</td></tr><tr><td>SQuAD</td><td>82.07</td><td>75.03</td><td>85.49</td><td>55.86</td><td>91.09</td><td>83.98</td><td>86.19</td></tr><tr><td>WritingP</td><td>96.51</td><td>82.48</td><td>97.44</td><td>33.92</td><td>97.25</td><td>94.20</td><td>96.55</td></tr></table>
|
| 139 |
+
|
| 140 |
+
Table 2: Decoding strategy analysis. Shown are the AUROC scores for methods with top- $k$ ( $k = {40}$ ) and top- $p$ $\left( {p = {0.96}}\right)$ sampling averaged across four LLMs: Neo-2.7, OPT-2.7, GPT-j, Llama-13.
|
| 141 |
+
|
| 142 |
+
practice, due to time and resource constraints, not all users can afford these models and large amounts of perturbations. Thus, it is important to investigate how NPR and DetectGPT behave with smaller perturbation function size and fewer perturbations.
|
| 143 |
+
|
| 144 |
+
Different Number of Perturbations. Figure 2 shows the averaged performance of DetectGPT and NPR with varying number of perturbations. We can see that NPR consistently performs better than DetectGPT when using the same number of perturbations. In other words, NPR can achieve a comparable or better performance but with significantly fewer perturbations. For example, in SQuAD and WritingPrompts dataset, NPR achieves 85 points and 95 points using approximately 10 perturbations while DetectGPT requires around 100 perturbations, which highlights the effectiveness and efficiency of NPR. More complete results for each dataset and model can be found in Figure 6 and Figure 7 of Appendix C.
|
| 145 |
+
|
| 146 |
+
Different Perturbation Functions. In Table 3, we compare NPR to DetectGPT using a smaller perturbation model T5-large, and the result is averaged over 6 LLMs and 3 datasets. We found
|
| 147 |
+
|
| 148 |
+
that replacing T5-3b with smaller models harms the performance of both NPR and DetectGPT, and the performance degradation can't be mitigated by increasing the number of perturbations. For both NPR and DetectGPT, the average performance of 100 perturbations with T5-large is still worse than 10 perturbations with T5-3b (emphasized with the grey box in Table 3). Moreover, one can observe that, NPR is less affected by the reduced perturbation function size: when replacing T5-3b to T5-large, the performance degradation averaged over 10, 20, 50, 100 perturbations for NPR is 4.40 points, much smaller compared to that of 8.06 points for DetectGPT. The complete results on 6 LLMs and 3 datasets can be found in Figure 8 of Appendix C.
|
| 149 |
+
|
| 150 |
+
# 5.3 Different Decoding Strategy and Temperature
|
| 151 |
+
|
| 152 |
+
Alternative Decoding Strategies. In line with prior work (Pagnoni et al., 2022), we experimented with top- $k$ sampling (Fan et al., 2018) and top- $p$ sampling (Holtzman et al., 2019). Top- $k$ sampling generates from top- $k$ most likely words according to the LLM. Top- $p$ sampling (nucleus sampling) samples from the set of words that collectively ac
|
| 153 |
+
|
| 154 |
+
<table><tr><td rowspan="2">Perturbation Function</td><td rowspan="2">Dataset</td><td colspan="4"># (Perturbations)</td></tr><tr><td>10</td><td>20</td><td>50</td><td>100</td></tr><tr><td rowspan="3">NPR (ours)</td><td>T5-large</td><td>86.69</td><td>88.00</td><td>88.74</td><td>88.94</td></tr><tr><td>T5-3b</td><td>91.39</td><td>92.35</td><td>93.04</td><td>93.20</td></tr><tr><td>Diff</td><td>4.70</td><td>4.35</td><td>4.30</td><td>4.26</td></tr><tr><td rowspan="3">DetectGPT</td><td>T5-large</td><td>77.94</td><td>81.12</td><td>83.90</td><td>84.54</td></tr><tr><td>T5-3b</td><td>86.70</td><td>89.57</td><td>91.38</td><td>92.10</td></tr><tr><td>Diff</td><td>8.76</td><td>8.45</td><td>7.48</td><td>7.56</td></tr></table>
|
| 155 |
+
|
| 156 |
+
Table 3: Perturbation analysis. Comparing DetectGPT to NPR using different perturbations (AUROC scores).
|
| 157 |
+
|
| 158 |
+
count for a total mass probability $p$ . The results (averaged across 4 LLMs) are shown in Table 2, and complete results can be found in Table 9 of Appendix D. We find that, although almost all the zero-shot methods perform better when using top- $k$ and top- $p$ sampling than temperature sampling, Log-Rank and Log-Likelihood methods are more in favour of top- $p$ sampling, while LRR is stable in both top- $p$ and top- $k$ sampling. For top- $k$ decoding, LRR improves 4.06, 9.33, and 1.38 points over the second-best zero-shot method baseline on three datasets, respectively. LRR performance also improves when using top- $p$ decoding strategy, but due to the unstable performance surge of the Log-Rank method, LRR become slightly behind the Log-Rank method, with a minor difference of 0.36 and 0.19 points on the XSum and WritingPrompts datasets, respectively. For perturbation-based methods, their behaviour is consistent with previous results, where NPR outperforms DetectGPT for both top- $p$ and top- $k$ sampling strategies.
|
| 159 |
+
|
| 160 |
+
Different Temperature. Temperature controls the degree of randomness of the generation process. Increasing the temperature leads to more randomness and creativity while reducing it leads to more conservation and less novelty. In practice, people adjust the temperature for their specific purposes. For example, students might set a high temperature to encourage more original and diverse output when writing a creative essay, whereas fake news producers might set lower temperatures to generate seemingly convincing news articles for their deceptive purposes. Based on our experiments in Table 4, we found that Log-Likelihood $(\log p)$ , Log-Rank and LRR is highly sensitive to the temperature and can get even better results than perturbation-based methods when the temperature is relatively low. In addition, the performance improvement of the Rank method with the increased temperature is negligible compared to Log-Likelihood, Log-Rank and LRR, while the performance of the entropy method seems to be positively correlated to the temperature. We conjure that the abnormal behaviour of
|
| 161 |
+
|
| 162 |
+
the Entropy method might be because of the assumption that "machine-generated text has higher entropy" (Mitchell et al., 2023), which, from our experiments, doesn't stand for high temperature. As for the perturbation-based method, the impact of temperature is not as clear as a perturbation-free method. But in general, the results suggest the temperature has only minor effects on DetectGPT while it improves the performance of NPR. Another observation is that the perturbation-free method performs better than the perturbation-based method in low temperatures, for example, if the temperature is smaller than 0.95, perturbation-based methods get better detection accuracy while being efficient.
|
| 163 |
+
|
| 164 |
+
# 6 Analysis of the Efficiency
|
| 165 |
+
|
| 166 |
+
Though in Table 1, perturbation-based methods appear to be significantly better than perturbation-free methods, it is important to note that their superior performances can only be achieved with large perturbation functions and multiple number of perturbations, which leads to intensive demand for computational resources and longer computational time. Thus, while performance is an important factor, it is crucial to consider the efficiency of these zero-shot methods as well.
|
| 167 |
+
|
| 168 |
+
# 6.1 Computational Cost Analysis
|
| 169 |
+
|
| 170 |
+
To get an idea of how costly different zero-shot methods are to achieve their performance in Table 1, we estimated the computational time (per sample) for each zero-shot method in Table 5. The time is estimated over the average of 10 samples. For perturbation-based methods, since the time depends on the perturbation function and the number of perturbations, we used T5-3b as the perturbation function and use 50 perturbations since this is the setting used for the main results in Table 1, we want to provide an idea of how much more it costs for perturbation based method to achieve exceptional performance in Table 1. We observed that the computational time of Log-Likelihood, Rank, Log-Rank and Entropy are almost the same, while LRR runs approximately 2 times longer than these methods since it requests both the Log-Rank and Log-Likelihood statistics. For perturbation-based methods, the running time is at least 50 times longer compared to Log-Likelihood, Rank, Log-Rank, and Entropy method, since they calculate the Log-Likelihood or Log-Rank for not only the target text but also perturbed samples.
|
| 171 |
+
|
| 172 |
+
<table><tr><td rowspan="2">Temperature</td><td colspan="5">w/o Perturbation</td><td colspan="2">w/ Perturbation</td></tr><tr><td>log p</td><td>Rank</td><td>Log-Rank</td><td>Entropy</td><td>LRR (ours)</td><td>DetectGPT</td><td>NPR (ours)</td></tr><tr><td>0.5</td><td>98.72</td><td>77.87</td><td>99.29</td><td>25.90</td><td>99.23</td><td>86.14</td><td>95.76</td></tr><tr><td>0.7</td><td>97.01</td><td>76.98</td><td>98.05</td><td>38.28</td><td>98.84</td><td>90.28</td><td>95.61</td></tr><tr><td>0.9</td><td>90.04</td><td>75.82</td><td>92.28</td><td>47.14</td><td>94.50</td><td>90.33</td><td>92.89</td></tr><tr><td>0.95</td><td>86.15</td><td>75.43</td><td>88.88</td><td>50.42</td><td>92.04</td><td>89.97</td><td>91.98</td></tr><tr><td>1</td><td>81.48</td><td>74.85</td><td>84.81</td><td>52.37</td><td>89.15</td><td>89.02</td><td>90.86</td></tr></table>
|
| 173 |
+
|
| 174 |
+
Table 4: Temperature experiments. Results of using different temperatures (AUROC scores).
|
| 175 |
+
|
| 176 |
+
<table><tr><td>Perturbation</td><td>Method</td><td>GPT-2-x1</td><td>Neo-2.7</td><td>OPT-2.7</td><td>GPT-j</td><td>OPT-13</td><td>Llama-13</td><td>NeoX</td></tr><tr><td rowspan="5">w/o</td><td>log p</td><td>0.06</td><td>0.09</td><td>0.10</td><td>0.04</td><td>0.07</td><td>0.07</td><td>0.60</td></tr><tr><td>Rank</td><td>0.07</td><td>0.10</td><td>0.09</td><td>0.04</td><td>0.05</td><td>0.07</td><td>0.60</td></tr><tr><td>Log-Rank</td><td>0.06</td><td>0.09</td><td>0.10</td><td>0.04</td><td>0.05</td><td>0.06</td><td>0.60</td></tr><tr><td>Entropy</td><td>0.06</td><td>0.09</td><td>0.09</td><td>0.04</td><td>0.05</td><td>0.06</td><td>0.60</td></tr><tr><td>LRR (ours)</td><td>0.12</td><td>0.19</td><td>0.18</td><td>0.08</td><td>0.10</td><td>0.14</td><td>1.20</td></tr><tr><td rowspan="2">w/</td><td>DetectGPT</td><td>8.07</td><td>9.60</td><td>9.80</td><td>7.03</td><td>7.98</td><td>8.14</td><td>35.56</td></tr><tr><td>NPR (ours)</td><td>8.15</td><td>9.69</td><td>9.90</td><td>7.12</td><td>7.83</td><td>7.98</td><td>35.67</td></tr></table>
|
| 177 |
+
|
| 178 |
+
Table 5: Computational time (seconds) for different zero-shot methods on different LLMs (averaged over 10 reruns).
|
| 179 |
+
|
| 180 |
+
<table><tr><td colspan="5">tp(s)</td><td colspan="6">tm(s)</td></tr><tr><td>T5-3b</td><td>T5-large</td><td>T5-base</td><td>T5-small</td><td>GPT-2-x1</td><td>Neo-2.7</td><td>OPT-2.7</td><td>GPT-j</td><td>OPT-13</td><td>Llama-13</td><td>NeoX</td></tr><tr><td>0.10</td><td>0.08</td><td>0.04</td><td>0.03</td><td>0.06</td><td>0.09</td><td>0.10</td><td>0.04</td><td>0.07</td><td>0.07</td><td>0.60</td></tr></table>
|
| 181 |
+
|
| 182 |
+
Table 6: Computation time. Estimated computation time for one perturbation $(t_p)$ and for calculating the target statistics on the text $(t_m)$ : shown in seconds.
|
| 183 |
+
|
| 184 |
+
Composition of the Computational Time. In general, for perturbation-free zero-shot methods, the computational time only depends on the size of LLM and the complexity of statistics. LRR is twice as complex as simple statistics such as Log-Rank and Log-Likelihood, so it takes approximately twice as long to compute. As for LLM size, intuitively, larger models usually take more time to compute, which can also be observed in Table 5. The additional computational time of perturbation-based methods comes from two folds: (1) The total time for perturbation, which depends on the perturbation function we use and the number of perturbations. (2) The total time for calculating statistics of the perturbed texts, which depends on the number of perturbations, the size of LLM and the complexity of statistics. To reduce the computational time of the perturbation-based method, we could either choose a smaller size of the perturbation function or reduce the number of perturbations.
|
| 185 |
+
|
| 186 |
+
# Formula for Estimating the Computational
|
| 187 |
+
|
| 188 |
+
Time. Let $t_p$ be the time of perturbing 1 sample, $t_m$ be the time of calculating simple statistics (such as Log-Likelihood) of one sample for a particular LLM and $n$ be the number of perturbations. The computational time for Log-Likelihood, rank, Log-Rank, and entropy is approximately $t_m$ , the estimated time for LRR is $2 \cdot t_m$ , while the estimated computational time for the perturbation-based method is $n \cdot t_p + (n + 1) \cdot t_m$ . The estimated
|
| 189 |
+
|
| 190 |
+
values of $t_p$ and $t_m$ are illustrated in Table 6, which can help us estimate the total running time (in seconds) of different zero-shot methods.
|
| 191 |
+
|
| 192 |
+
# 6.2 Balancing Efficiency and Performance
|
| 193 |
+
|
| 194 |
+
In this subsection, we provide additional experiments on LRR (the best perturbation-free method) and NPR (the best perturbation-based method, more time-consuming than LRR but also rather satisfactory performance) to provide users with some intuition on setting parameters of NPR and choosing among between these two methods according to user's preference of efficiency and performance.
|
| 195 |
+
|
| 196 |
+
First, we study the perturbation function used for NPR. Different from Section 5.2, where the focus is to illustrate the advanced performance of NPR compared with DetectGPT, here, we mainly focus on the efficiency performance trade-off perspective and provide some intuition on choosing perturbation functions.
|
| 197 |
+
|
| 198 |
+
T5-small and T5-base are not good candidates for perturbation functions. T5-small and T5-base are 2 or 3 times faster than larger models such as T5-large (as shown in Table 6), one might wonder if it is possible to trade the saved time with more perturbations for a better performance? We give a negative answer to this. We observe in Figure 3 that using T5-base and T5-small performs worse than LRR even with 50 to 100 perturbations, which suggests that LRR can be at least 50 to 100 times faster
|
| 199 |
+
|
| 200 |
+

|
| 201 |
+
Figure 3: Comparing LRR and NPR when T5-small and T5-base are used for perturbation in NPR (AUROC scores).
|
| 202 |
+
|
| 203 |
+

|
| 204 |
+
Figure 4: Comparing LRR and NPR using T5-3b and T5-large for perturbation in NPR (AUROC scores).
|
| 205 |
+
|
| 206 |
+
while outperforming perturbation based methods. So, if the user can only afford T5-small or T5-base as a perturbation function, they should choose LRR with no hesitation since it achieves both better efficiency and better performance.
|
| 207 |
+
|
| 208 |
+
Cost-Effectiveness on More Perturbations and Larger Perturbation Function. In Figure 4, we illustrate the effectiveness of LRR compared to NPR with T5-large and T5-3b as perturbation function respectively, from which, we find that (1) T5-3b has a higher performance upper limits compared with T5-large. So, if resources are allowed (enough memory and adequate perturbation time), t5-3b would be a better choice, especially for users who prioritize performance. (2) To achieve the same performance as LRR, generally, we only need less than 10 perturbations using T5-3b as the perturbation function. This estimate could help us choose whether to use NPR or LRR on the validation set: setting the number of perturbations to be 10, if LRR outperforms NPR, we would suggest using LRR, otherwise, NPR would be a better option. (3) To achieve the same performance, using T5-large takes more than 2 times perturbations than using
|
| 209 |
+
|
| 210 |
+
T5-3b, while the perturbation time using T5-3b is less than twice the time using T5-large, so using large perturbation functions such as T5-3b is much more efficient than using smaller ones such as T5-large. The only concern is the memory.
|
| 211 |
+
|
| 212 |
+
In summary, we suggest using the larger perturbation functions if memory permits, which is more cost-effective: and less time-consuming for the same performance and has a high-performance upper limit. Moreover, setting the number of perturbations to 10 would be a good threshold on the validation set to decide whether to use NPR or LRR.
|
| 213 |
+
|
| 214 |
+
# 7 Conclusion
|
| 215 |
+
|
| 216 |
+
In this paper, we proposed two simple but effective zero-shot machine-generated text detection methods by leveraging the Log-Rank information. The methods we proposed —LRR and NPR—, achieve state-of-the-art performance within their respective category. In addition, we explored different settings such as decoding strategy and temperatures, as well as different perturbation functions and number of perturbations to better understand the advantages
|
| 217 |
+
|
| 218 |
+
and the disadvantages of different zero-shot methods. Then, we analyzed the computational costs of these methods, and we provided guidance on balancing efficiency and performance.
|
| 219 |
+
|
| 220 |
+
# Limitations
|
| 221 |
+
|
| 222 |
+
One of the limitations of zero-shot methods is the white box assumption that we can have some statistics about the source model. This induces two problems: for closed-source models (such as GPT-3), these statistics might not have been provided. Moreover, in practice, the detector might have to run the model locally to get the statistics for the purpose of detection, which requires that the detector have enough resources to use the LLM for inference. Based on the limitations of zero-shot methods, we consider weakly supervised learning (Ratner et al., 2017) as an important direction for future work. Though many papers in detecting machine-generated text assume knowing the source LLM where the text is generated from, in realistic, the source LLM might be unknown, so it is worth combining weak supervised learning as well as weak supervision sources (other LLMs at hand that might not be the target LLM) to weakly train a classifier. With the flexibility of the weak supervision sources, the limitations of our work could possibly be addressed: (1) Since the weak supervision sources do not have to be from the same target model, there is no need to assume that the target LLM is known. (2) Since the weak supervision sources are classifiers, we could only use statistics that are within reach, or even statistics from other open-source LLMs. (3) The weak supervision sources can be from smaller LLMs, rather than the target LLM, this relaxes the requirement for running an extremely large LLM locally.
|
| 223 |
+
|
| 224 |
+
In addition, our conclusions hugely rely on our English-centric experiments. It is worth noting that the detection of machine-generation text in other languages is also important, especially for low-source languages. We encourage future studies on the investigation of zero-shot detection in multilingual settings.
|
| 225 |
+
|
| 226 |
+
# Ethics and Broader Impact
|
| 227 |
+
|
| 228 |
+
Although our paper focuses on the malicious use of LLMs such as spreading misinformation and propaganda, or dishonesty in the education system, it's necessary to recognize that LLMs also have a wide range of potential benefits, and we would like
|
| 229 |
+
|
| 230 |
+
to point out that most of the people apply LLMs for good conducts such as improving their work efficiency.
|
| 231 |
+
|
| 232 |
+
Moreover, even though our detectors achieve high AUC scores, it should be recognized that every machine-generated text detector, including ours, has its limitations and can make mistakes, we can't guarantee $100\%$ accuracy for every sample. As such, when deciding whether a text, such as a student's essay, is written by a human or machine, our results are for reference only and should not be used as concrete evidence for punishment. For ethical concerns, our detector should only assist humans to make decisions, rather than directly make decisions for users, thus, we recommend users take these results as one of many pieces in a holistic assessment of texts.
|
| 233 |
+
|
| 234 |
+
# References
|
| 235 |
+
|
| 236 |
+
Sahar Abdelnabi and Mario Fritz. 2021. Adversarial watermarking transformer: Towards tracing text provenance with data hiding. In 2021 IEEE Symposium on Security and Privacy (SP), pages 121-140. IEEE.
|
| 237 |
+
Sameer Badaskar, Sachin Agarwal, and Shilpa Arora. 2008. Identifying real or fake articles: Towards better language modeling. In Proceedings of the Third International Joint Conference on Natural Language Processing: Volume-II.
|
| 238 |
+
Anton Bakhtin, Sam Gross, Myle Ott, Yuntian Deng, Marc'Aurelio Ranzato, and Arthur Szlam. 2019. Real or fake? learning to discriminate machine from human generated text. arXiv preprint arXiv:1906.03351.
|
| 239 |
+
Daria Beresneva. 2016. Computer-generated text detection using machine learning: A systematic review. In *Natural Language Processing and Information Systems: 21st International Conference on Applications of Natural Language to Information Systems*, NLDB 2016, Salford, UK, June 22-24, 2016, Proceedings 21, pages 421-426. Springer.
|
| 240 |
+
Sid Black, Stella Biderman, Eric Hallahan, Quentin Anthony, Leo Gao, Laurence Golding, Horace He, Connor Leahy, Kyle McDonell, Jason Phang, Michael Pieler, USVSN Sai Prashanth, Shivanshu Purohit, Laria Reynolds, Jonathan Tow, Ben Wang, and Samuel Weinbach. 2022. Gpt-neox-20b: An opensource autoregressive language model.
|
| 241 |
+
Sid Black, Gao Leo, Phil Wang, Connor Leahy, and Stella Biderman. 2021. GPT-Neo: Large Scale Autoregressive Language Modeling with Mesh-Tensorflow. If you use this software, please cite it using these metadata.
|
| 242 |
+
|
| 243 |
+
Tom Brown, Benjamin Mann, Nick Ryder, Melanie Subbiah, Jared D Kaplan, Prafulla Dhariwal, Arvind Neelakantan, Pranav Shyam, Girish Sastry, Amanda Askell, et al. 2020. Language models are few-shot learners. Advances in neural information processing systems, 33:1877-1901.
|
| 244 |
+
Tiziano Fagni, Fabrizio Falchi, Margherita Gambini, Antonio Martella, and Maurizio Tesconi. 2021. Tweepfake: About detecting deepfake tweets. Plos one, 16(5):e0251415.
|
| 245 |
+
Angela Fan, Mike Lewis, and Yann Dauphin. 2018. Hierarchical neural story generation. arXiv preprint arXiv:1805.04833.
|
| 246 |
+
Luciano Floridi and Massimo Chiriatti. 2020. Gpt-3: Its nature, scope, limits, and consequences. *Minds and Machines*, 30:681–694.
|
| 247 |
+
Leo Gao, Stella Biderman, Sid Black, Laurence Golding, Travis Hoppe, Charles Foster, Jason Phang, Horace He, Anish Thite, Noa Nabeshima, et al. 2020. The pile: An 800gb dataset of diverse text for language modeling. arXiv preprint arXiv:2101.00027.
|
| 248 |
+
Sebastian Gehrmann, Hendrik Strobelt, and Alexander M Rush. 2019. Gltr: Statistical detection and visualization of generated text. arXiv preprint arXiv:1906.04043.
|
| 249 |
+
Alexei Grinbaum and Laurynas Adomaitis. 2022. The ethical need for watermarks in machine-generated language. arXiv preprint arXiv:2209.03118.
|
| 250 |
+
Biyang Guo, Xin Zhang, Ziyuan Wang, Minqi Jiang, Jinran Nie, Yuxuan Ding, Jianwei Yue, and Yupeng Wu. 2023. How close is chatgpt to human experts? comparison corpus, evaluation, and detection. arXiv preprint arXiv:2301.07597.
|
| 251 |
+
Xinlei He, Xinyue Shen, Zeyuan Chen, Michael Backes, and Yang Zhang. 2023. Mgtbench: Benchmarking machine-generated text detection. arXiv preprint arXiv:2303.14822.
|
| 252 |
+
Ari Holtzman, Jan Buys, Li Du, Maxwell Forbes, and Yejin Choi. 2019. The curious case of neural text degeneration. arXiv preprint arXiv:1904.09751.
|
| 253 |
+
Daphne Ippolito, Daniel Duckworth, Chris Callison-Burch, and Douglas Eck. 2019. Automatic detection of generated text is easiest when humans are fooled. arXiv preprint arXiv:1911.00650.
|
| 254 |
+
Ganesh Jawahar, Muhammad Abdul-Mageed, and Laks VS Lakshmanan. 2020. Automatic detection of machine generated text: A critical survey. arXiv preprint arXiv:2011.01314.
|
| 255 |
+
John Kirchenbauer, Jonas Geiping, Yuxin Wen, Jonathan Katz, Ian Miers, and Tom Goldstein. 2023. A watermark for large language models. arXiv preprint arXiv:2301.10226.
|
| 256 |
+
|
| 257 |
+
Kalpesh Krishna, Yixiao Song, Marzena Karpinska, John Wieting, and Mohit Iyyer. 2023. Paraphrasing evades detectors of ai-generated text, but retrieval is an effective defense. arXiv preprint arXiv:2303.13408.
|
| 258 |
+
Thomas Lavergne, Tanguy Urvoy, and François Yvon. 2008. Detecting fake content with relative entropy scoring. PAN, 8:27-31.
|
| 259 |
+
Yinhan Liu, Myle Ott, Naman Goyal, Jingfei Du, Mandar Joshi, Danqi Chen, Omer Levy, Mike Lewis, Luke Zettlemoyer, and Veselin Stoyanov. 2019. Roberta: A robustly optimized bert pretraining approach. arXiv preprint arXiv:1907.11692.
|
| 260 |
+
Eric Mitchell, Yoonho Lee, Alexander Khazatsky, Christopher D Manning, and Chelsea Finn. 2023. Detectgpt: Zero-shot machine-generated text detection using probability curvature. arXiv preprint arXiv:2301.11305.
|
| 261 |
+
Shashi Narayan, Shay B Cohen, and Mirella Lapata. 2018. Don't give me the details, just the summary! topic-aware convolutional neural networks for extreme summarization. arXiv preprint arXiv:1808.08745.
|
| 262 |
+
OpenAI. 2022. gpt: Optimizing language models for dialogue. http://web.archive.org/web/20230109000707/https://openai.com/blog/chatgpt/.
|
| 263 |
+
Artidoro Pagnoni, Martin Graciarena, and Yulia Tsvetkov. 2022. Threat scenarios and best practices to detect neural fake news. In Proceedings of the 29th International Conference on Computational Linguistics, pages 1233-1249.
|
| 264 |
+
Alec Radford, Jeffrey Wu, Rewon Child, David Luan, Dario Amodei, Ilya Sutskever, et al. 2019. Language models are unsupervised multitask learners. OpenAI blog, 1(8):9.
|
| 265 |
+
Pranav Rajpurkar, Jian Zhang, Konstantin Lopyrev, and Percy Liang. 2016. Squad: $100,000+$ questions for machine comprehension of text. arXiv preprint arXiv:1606.05250.
|
| 266 |
+
Alexander Ratner, Stephen H Bach, Henry Ehrenberg, Jason Fries, Sen Wu, and Christopher Ré. 2017. Snorkel: Rapid training data creation with weak supervision. In Proceedings of the VLDB Endowment. International Conference on Very Large Data Bases, volume 11, page 269. NIH Public Access.
|
| 267 |
+
Joshua Robinson, Christopher Michael Ryting, and David Wingate. 2022. Leveraging large language models for multiple choice question answering. arXiv preprint arXiv:2210.12353.
|
| 268 |
+
Kalhan Rosenblatt. 2023. Chatgpt passes mba exam given by a wharton professor. Retrieved Jan, 25:2023.
|
| 269 |
+
|
| 270 |
+
Vinu Sankar Sadasivan, Aounon Kumar, Sriram Balasubramanian, Wenxiao Wang, and Soheil Feizi. 2023. Can ai-generated text be reliably detected? arXiv preprint arXiv:2303.11156.
|
| 271 |
+
Teven Le Scao, Angela Fan, Christopher Akiki, Ellie Pavlick, Suzana Ilic, Daniel Hesslow, Roman Castagné, Alexandra Sasha Luccioni, François Yvon, Matthias Galle, et al. 2022. Bloom: A 176b-parameter open-access multilingual language model. arXiv preprint arXiv:2211.05100.
|
| 272 |
+
Irene Solaiman, Miles Brundage, Jack Clark, Amanda Askell, Ariel Herbert-Voss, Jeff Wu, Alec Radford, Gretchen Krueger, Jong Wook Kim, Sarah Kreps, et al. 2019. Release strategies and the social impacts of language models. arXiv preprint arXiv:1908.09203.
|
| 273 |
+
Chris Stokel-Walker. 2022. Ai bot chatgpt writes smart essays-should academics worry? Nature.
|
| 274 |
+
Hugo Touvron, Thibaut Lavril, Gautier Izacard, Xavier Martinet, Marie-Anne Lachaux, Timothée Lacroix, Baptiste Rozière, Naman Goyal, Eric Hambro, Faisal Azhar, et al. 2023. Llama: Open and efficient foundation language models. arXiv preprint arXiv:2302.13971.
|
| 275 |
+
Adaku Uchendu, Thai Le, Kai Shu, and Dongwon Lee. 2020. Authorship attribution for neural text generation. In Proceedings of the 2020 Conference on Empirical Methods in Natural Language Processing (EMNLP), pages 8384-8395.
|
| 276 |
+
Ben Wang and Aran Komatsuzaki. 2021. GPT-J-6B: A 6 Billion Parameter Autoregressive Language Model. https://github.com/kingoflolz/mesh-transformer-jax.
|
| 277 |
+
Yuxia Wang, Jonibek Mansurov, Petar Ivanov, Jinyan Su, Artem Shelmanov, Akim Tsvigun, Chenxi Whitehouse, Osama Mohammed Afzal, Tarek Mahmoud, Alham Fikri Aji, et al. 2023. M4: Multi-generator, multi-domain, and multi-lingual black-box machine-generated text detection. arXiv preprint arXiv:2305.14902.
|
| 278 |
+
Ann Yuan, Andy Coenen, Emily Reif, and Daphne Ippolito. 2022. Wordcraft: story writing with large language models. In 27th International Conference on Intelligent User Interfaces, pages 841-852.
|
| 279 |
+
Susan Zhang, Stephen Roller, Naman Goyal, Mikel Artetxe, Moya Chen, Shuohui Chen, Christopher Dewan, Mona Diab, Xian Li, Xi Victoria Lin, Todor Mihaylov, Myle Ott, Sam Shleifer, Kurt Shuster, Daniel Simig, Punit Singh Koura, Anjali Sridhar, Tianlu Wang, and Luke Zettlemoyer. 2022. Opt: Open pretrained transformer language models.
|
| 280 |
+
Xuandong Zhao, Yu-Xiang Wang, and Lei Li. 2023. Protecting language generation models via invisible watermarking. arXiv preprint arXiv:2302.03162.
|
| 281 |
+
|
| 282 |
+
Terry Yue Zhuo, Yujin Huang, Chunyang Chen, and Zhenchang Xing. 2023. Red teaming chatgpt via jailbreaking: Bias, robustness, reliability and toxicity. arXiv preprint arXiv:2301.12867, pages 12-2.
|
| 283 |
+
|
| 284 |
+
# A Experimental Details and Baselines
|
| 285 |
+
|
| 286 |
+
Details on Baselines. We mainly compare the proposed methods with zero-shot methods, which utilize the source model itself to extract distinguishable statistic features, including:
|
| 287 |
+
|
| 288 |
+
- Log-Likelihood $(\log p)$ (Solaiman et al., 2019): This approach evaluates the average token-wise log probability of the text and classifies text with higher Log-Likelihood to be machine-generated.
|
| 289 |
+
- Rank (Gehrmann et al., 2019): This approach evaluates the average rank of each token of the text and classifies text with a smaller average rank to be machine-generated.
|
| 290 |
+
- Log-Rank (Mitchell et al., 2023): Instead of using the Rank score directly, this approach evaluates the average Log-Rank of each token of the text and classifies text with a smaller average Log-Rank to be machine-generated.
|
| 291 |
+
- Entropy (Gehrmann et al., 2019): This approach is inspired by the hypothesis that machine-generated texts are more likely to have over-confident (thus low entropy) predictive distributions. In practice, (Mitchell et al., 2023) discovered that entropy is positively correlated with passage fakeness, therefore, following their convention, we use high average entropy as a signal of machine-generated text.
|
| 292 |
+
- DetectGPT (Mitchell et al., 2023): DetectGPT is based on the hypothesis that when applying small perturbations to a passage $x$ and produce the perturbed text $\tilde{x}$ , the quantity $\log p_{\theta}(x) - \log p_{\theta}(\tilde{x})$ is relatively larger for machine-generated samples than human written one. In practice, the performance of this approach depends heavily on the external perturbation function and the number of perturbations.
|
| 293 |
+
|
| 294 |
+
Details on LLMs used. We used 7 LLMs ranging from 1.5B parameters to 20B parameters in our main experiments.
|
| 295 |
+
|
| 296 |
+
- GPT-2-x1 (Radford et al., 2019) is the 1.5B parameter version of GPT-2 trained on a dataset of 8 million web pages called WebText (Radford et al., 2019), whose objective is to predict the next word given previous words within the text. GPT-2-x1 surpasses many other language models trained on specific domains (such as books, news, Wikipedia) without using domain-specific training datasets.
|
| 297 |
+
- GPT-Neo-2.7B (Black et al., 2021) was trained as an autoregressive language model on Pile (Gao et al., 2020) dataset with EleutherAI's replication of the GPT-3 architecture.
|
| 298 |
+
- OPT-2.7B and OPT-13B are two models among a collection of decoder-only pre-trained transformers introduced in (Zhang et al., 2022), with the performance roughly matching GPT-3 of the same size.
|
| 299 |
+
- GPT-j-6B (Wang and Komatsuzaki, 2021), which was also trained on Pile (Gao et al., 2020), exhibits zero-shot performance roughly comparable to GPT-3 of comparable size. In addition, the performance gap from GPT-3 of similar size is closer than the GPT-Neo models.
|
| 300 |
+
- Llama-13b is the 13B parameter model from Llama models (Touvron et al., 2023): a collection of models ranging from 7B to 65B parameters trained with publicly available datasets. Llama-13B outperforms GPT-3 (175B) on most benchmarks, and all the models are released to the research community.
|
| 301 |
+
- NeoX-20B (Black et al., 2022) is a 20B autoregressive model trained on Pile, whose weights have been released openly to the public.
|
| 302 |
+
|
| 303 |
+
Experimental Details. For small models such as GPT-2-xl, Neo-2.7, OPT-2.7, GPT-j, we use 1 NVIDIA A100 GPU (with total memory 40G) in our experiments; for larger models such as OPT-13b and Llama-13, we use 3 A100 GPUs (total memory 120 G) while using 4 A100 GPUs (total memory 160 G) for the largest model NeoX-20.
|
| 304 |
+
|
| 305 |
+
<table><tr><td colspan="2"></td><td>GPT-2-xl</td><td>Neo-2.7</td><td>OPT-2.7</td><td>GPT-j</td><td>OPT-13</td><td>Llama-13</td><td>NeoX</td><td>Avg.</td></tr><tr><td rowspan="2">XSum</td><td>RoBERTa-base</td><td>97.57</td><td>96.82</td><td>94.86</td><td>90.37</td><td>88.62</td><td>79.18</td><td>88.96</td><td>90.91</td></tr><tr><td>RoBERTa-large</td><td>99.74</td><td>99.73</td><td>98.37</td><td>97.58</td><td>93.85</td><td>85.93</td><td>95.13</td><td>95.76</td></tr><tr><td rowspan="2">SQuAD</td><td>RoBERTa-base</td><td>97.65</td><td>94.42</td><td>92.56</td><td>87.57</td><td>88.96</td><td>76.98</td><td>84.37</td><td>88.93</td></tr><tr><td>RoBERTa-large</td><td>99.01</td><td>98.30</td><td>96.53</td><td>93.31</td><td>91.62</td><td>82.59</td><td>88.37</td><td>92.82</td></tr><tr><td rowspan="2">WritingP</td><td>RoBERTa-base</td><td>96.88</td><td>95.23</td><td>89.57</td><td>93.26</td><td>86.18</td><td>83.49</td><td>88.92</td><td>90.50</td></tr><tr><td>RoBERTa-large</td><td>98.75</td><td>98.80</td><td>94.98</td><td>97.11</td><td>88.75</td><td>88.32</td><td>93.72</td><td>94.35</td></tr></table>
|
| 306 |
+
|
| 307 |
+
Table 7: Complete results for the supervised methods (AUROC score).
|
| 308 |
+
|
| 309 |
+
<table><tr><td rowspan="2" colspan="2"></td><td colspan="4">top-k</td><td colspan="4">top-p</td></tr><tr><td>Neo-2.7</td><td>OPT-2.7</td><td>GPT-j</td><td>Llama-13</td><td>Neo-2.7</td><td>OPT-2.7</td><td>GPT-j</td><td>Llama-13</td></tr><tr><td rowspan="2">XSum</td><td>RoBERTa-base</td><td>96.48</td><td>94.15</td><td>92.72</td><td>82.47</td><td>98.30</td><td>97.30</td><td>96.71</td><td>85.84</td></tr><tr><td>RoBERTa-large</td><td>99.74</td><td>98.06</td><td>98.29</td><td>87.33</td><td>99.84</td><td>98.97</td><td>98.82</td><td>89.35</td></tr><tr><td rowspan="2">SQuAD</td><td>RoBERTa-base</td><td>93.55</td><td>93.27</td><td>87.60</td><td>76.79</td><td>96.34</td><td>97.65</td><td>92.26</td><td>84.05</td></tr><tr><td>RoBERTa-large</td><td>98.35</td><td>96.88</td><td>93.97</td><td>82.42</td><td>98.21</td><td>98.39</td><td>95.09</td><td>86.46</td></tr><tr><td rowspan="2">WritingP</td><td>RoBERTa-base</td><td>97.27</td><td>90.14</td><td>93.86</td><td>83.24</td><td>98.33</td><td>94.09</td><td>96.55</td><td>88.78</td></tr><tr><td>RoBERTa-large</td><td>99.34</td><td>96.34</td><td>97.12</td><td>87.05</td><td>99.68</td><td>96.06</td><td>97.94</td><td>89.59</td></tr></table>
|
| 310 |
+
|
| 311 |
+
Table 8: Complete results for the supervised methods using top- $k$ ( $k = {40}$ ) and top- $p\left( {p = {0.96}}\right)$ sampling across four models (AUROC scores).
|
| 312 |
+
|
| 313 |
+
# B Supervised Methods
|
| 314 |
+
|
| 315 |
+
Main results for supervised methods. Comparing Table 1 with Table 7, we found that, on average, our best zero shot method (either LRR on SQuAD dataset or NPR on XSum and WritingPrompts dataset) can exceed supervised model fine-tuned on RoBERTa-base. For the larger model RoBERTa-large, only on writing dataset, perturbation-based method DetectGPT and NPR outperform RoBERTa-large model, by a margin of $0.55\%$ and $2.87\%$ respectively.
|
| 316 |
+
|
| 317 |
+
Supervised Method with Different Decoding Strategy. We experimented the 4 models used in zero-shot methods with top- $p$ and top- $k$ decoding strategy for the supervised method and found that using top- $p$ decoding strategy performs better than using top- $k$ . (See Table 8). Compared to zero-shot methods, the best zero-shot method NPR can outperform the RoBERTa-base model while being comparable to the RoBERTa-large model.
|
| 318 |
+
|
| 319 |
+
Supervised Method with Different Temperature. Supervised methods also perform better with lower temperature, but zero-shot methods such as Log-Rank and Log-Likelihood methods might exceed supervised methods in low temperature. Moreover, we found that the performance gap of RoBERTa-base and RoBERTa-large would be narrowed with lower temperature. The results are illustrated in Figure 5.
|
| 320 |
+
|
| 321 |
+
# C Comparing NPR and DetectGPT
|
| 322 |
+
|
| 323 |
+
Different Number of Perturbations. The results for models smaller than or equal to 13B parameters are shown in Figure 6. For the NeoX-20b model, we don't have enough computation resources to perform 100 perturbations, so we show it separately in Figure 7 with 1, 10, 20, and 50 perturbations. For XSum dataset, NPR and DetectGPT almost coverages with 100 perturbations, but for the SQuAD and WritingPrompts dataset, NPR still outperforms DetectGPT even with 100 perturbations. For the SQuAD dataset with the Llama-13b model, DetectGPT exhibits abnormality while NPR maintains stably improved performance as the number of perturbations increases. In addition, in nearly all the datasets and models, NPR outperforms DetectGPT except GPT-j on the XSum dataset, demonstrating the effectiveness of NPR compared to DetectGPT.
|
| 324 |
+
|
| 325 |
+
Using T5-large as Perturbation Function. We illustrate the performance of NPR and DetectGPT in Figure 8 with different combinations of dataset and LLMs using T5-large as a perturbation function. Compared to T5-3b illustrated in Figure 6, the superiority of NPR over DetectGPT becomes more distinct with T5-large being the perturbation function, where in almost all the LLMs, datasets and different numbers of perturbations (except with Llama-13b on SQuAD), NPR outperforms DetectGPT by a large margin. In addition, we could also observe that NPR achieves comparable or even better results with only
|
| 326 |
+
|
| 327 |
+

|
| 328 |
+
Figure 5: Comparing supervised methods with different temperature (AUROC score).
|
| 329 |
+
|
| 330 |
+
10 perturbations to that of DetectGPT with 100 perturbations, which indicates that NPR is more efficient and can achieve a similar level of performance with significantly fewer perturbations.
|
| 331 |
+
|
| 332 |
+
# D Alternative Sampling Strategies and Temperature
|
| 333 |
+
|
| 334 |
+
Different Sampling Strategy. In Table 9, we illustrate the complete results with different zero-shot methods with four LLMs using top- $p$ and top- $k$ sampling. For perturbation-based methods, even with different sampling strategies, NPR provides a clearer signal for machine-generated text detection than DetectGPT. Moreover, we find that although LRR is more stable than Log-Rank and Log-Likelihood methods: when replacing temperature sampling to top- $p$ and top- $k$ sampling, all the above-mentioned three zero-shot methods' performance improves, however, LRR improves approximately the same for both top- $k$ and top- $p$ sampling while the other two is more in favour of top- $p$ sampling.
|
| 335 |
+
|
| 336 |
+
Different Temperature. Here, we investigate how the temperature used for machine-generated texts affects the detection accuracy of different zero-shot methods. From Figure 9, we find that all the perturbation-free zero-shot methods improved their performance with the decreasing temperature. In particular, for the Log-Rank and Log-Likelihood method, the performance can become extremely high
|
| 337 |
+
|
| 338 |
+

|
| 339 |
+
Figure 6: Comparing DetectGPT and NPR (AUROC score).
|
| 340 |
+
|
| 341 |
+

|
| 342 |
+
Figure 7: Comparing DetectGPT and NPR on NeoX-20b (AUROC score).
|
| 343 |
+
|
| 344 |
+
when the temperature drops, even exceeding NPR and achieving approximately 100 points detection accuracy. For example, in Neo-2.7 and OPT-13 with temperature 0.5, $\log p$ method and Log-Rank method achieve an accuracy of 100 points on WritingPrompts dataset, this prevalent performance can be observed notably in smaller models with relatively high temperature (such as GPT-2-xl and Neo-2.7 with high temperature such as 0.7) or in large models with relatively lower temperature such as OPT-13 with temperature 0.5 as we demonstrated in Figure 9. Though we omit the entropy method because it gets an accuracy worse than random guessing, one of the observations from our experiments is that using the assumption "machine-generated text has higher entropy" suggested in (Mitchell et al., 2023), the performance of the entropy method improves with the increasing temperature with absolute accuracy smaller than 50 points, which suggests that for low temperature, we should use the assumption "machine-generated text has lower entropy" for detection machine-generated text. In general, the Entropy method performs worse than random and is not an implementable detection method.
|
| 345 |
+
|
| 346 |
+
For perturbation-based methods (Figure 10), while DetectGPT does not exhibit a clear trend with respect to temperature, the performance of NPR improves with the decreasing temperature most of the time. However, this trend is not as clear as the Log-Rank and Log-Likelihood methods, especially when the temperature becomes too low. This behaviour suggests that the perturbation-based method is more suitable for high temperatures, while the perturbation-free method is more suitable for low temperature.
|
| 347 |
+
|
| 348 |
+

|
| 349 |
+
Figure 8: Comparing DetectGPT and NPR using t5-large (AUROC score).
|
| 350 |
+
|
| 351 |
+
<table><tr><td colspan="3"></td><td colspan="4">top-k</td><td colspan="4">top-p</td></tr><tr><td>Dataset</td><td>Perturbation</td><td>Method</td><td>Neo-2.7</td><td>OPT-2.7</td><td>GPT-j</td><td>Llama-13</td><td>Neo-2.7</td><td>OPT-2.7</td><td>GPT-j</td><td>Llama-13</td></tr><tr><td rowspan="7">XSum</td><td rowspan="5">w/o</td><td>log p</td><td>91.27</td><td>90.19</td><td>85.95</td><td>59.14</td><td>95.52</td><td>93.27</td><td>91.13</td><td>67.86</td></tr><tr><td>Rank</td><td>78.79</td><td>76.75</td><td>77.25</td><td>49.94</td><td>78.58</td><td>76.89</td><td>77.18</td><td>50.77</td></tr><tr><td>Log-Rank</td><td>94.20</td><td>92.30</td><td>89.18</td><td>65.09</td><td>96.71</td><td>93.93</td><td>92.53</td><td>71.44</td></tr><tr><td>Entropy</td><td>53.07</td><td>47.80</td><td>53.23</td><td>67.76</td><td>49.05</td><td>46.41</td><td>52.16</td><td>67.94</td></tr><tr><td>LRR (ours)</td><td>95.50</td><td>92.35</td><td>91.14</td><td>77.99</td><td>95.64</td><td>90.68</td><td>91.14</td><td>75.72</td></tr><tr><td rowspan="2">w/</td><td>DetectGPT</td><td>98.94</td><td>96.63</td><td>96.56</td><td>73.22</td><td>98.82</td><td>97.72</td><td>96.58</td><td>77.82</td></tr><tr><td>NPR (ours)</td><td>99.61</td><td>98.23</td><td>96.41</td><td>77.48</td><td>99.27</td><td>98.40</td><td>97.35</td><td>78.67</td></tr><tr><td rowspan="7">SQuAD</td><td rowspan="5">w/o</td><td>log p</td><td>87.85</td><td>91.00</td><td>81.32</td><td>45.06</td><td>91.20</td><td>94.24</td><td>86.69</td><td>56.16</td></tr><tr><td>Rank</td><td>80.10</td><td>82.14</td><td>79.81</td><td>55.21</td><td>80.56</td><td>82.40</td><td>80.28</td><td>56.89</td></tr><tr><td>Log-Rank</td><td>92.58</td><td>94.40</td><td>86.94</td><td>51.21</td><td>94.48</td><td>96.37</td><td>90.44</td><td>60.66</td></tr><tr><td>Entropy</td><td>54.62</td><td>50.83</td><td>56.89</td><td>69.52</td><td>54.51</td><td>50.01</td><td>55.67</td><td>63.26</td></tr><tr><td>LRR (ours)</td><td>97.79</td><td>97.58</td><td>94.55</td><td>72.52</td><td>97.48</td><td>98.11</td><td>94.38</td><td>74.38</td></tr><tr><td rowspan="2">w/</td><td>DetectGPT</td><td>97.04</td><td>97.53</td><td>87.59</td><td>47.52</td><td>97.50</td><td>97.48</td><td>88.90</td><td>52.06</td></tr><tr><td>NPR (ours)</td><td>98.56</td><td>99.35</td><td>91.21</td><td>50.83</td><td>98.32</td><td>99.18</td><td>92.99</td><td>54.28</td></tr><tr><td rowspan="7">WritingP</td><td rowspan="5">w/o</td><td>log p</td><td>96.62</td><td>95.99</td><td>95.67</td><td>86.93</td><td>98.16</td><td>98.10</td><td>97.11</td><td>92.68</td></tr><tr><td>Rank</td><td>82.67</td><td>83.96</td><td>83.49</td><td>78.49</td><td>82.89</td><td>84.45</td><td>83.55</td><td>79.01</td></tr><tr><td>Log-Rank</td><td>97.90</td><td>97.23</td><td>97.20</td><td>90.57</td><td>98.73</td><td>98.60</td><td>97.89</td><td>94.56</td></tr><tr><td>Entropy</td><td>32.37</td><td>38.22</td><td>34.37</td><td>44.09</td><td>27.08</td><td>36.77</td><td>32.82</td><td>39.03</td></tr><tr><td>LRR (ours)</td><td>98.58</td><td>97.97</td><td>98.06</td><td>93.80</td><td>98.46</td><td>97.97</td><td>97.76</td><td>94.79</td></tr><tr><td rowspan="2">w/</td><td>DetectGPT</td><td>99.05</td><td>98.65</td><td>96.05</td><td>81.83</td><td>98.80</td><td>98.62</td><td>96.67</td><td>82.70</td></tr><tr><td>NPR (ours)</td><td>99.58</td><td>99.46</td><td>98.27</td><td>87.99</td><td>99.36</td><td>99.04</td><td>97.85</td><td>89.96</td></tr></table>
|
| 352 |
+
|
| 353 |
+
Table 9: Complete result for the zero-shot methods using top- $k$ and top- $p$ sampling across four models (AUROC score).
|
| 354 |
+
|
| 355 |
+

|
| 356 |
+
|
| 357 |
+

|
| 358 |
+
|
| 359 |
+

|
| 360 |
+
|
| 361 |
+

|
| 362 |
+
|
| 363 |
+

|
| 364 |
+
|
| 365 |
+

|
| 366 |
+
|
| 367 |
+

|
| 368 |
+
|
| 369 |
+

|
| 370 |
+
|
| 371 |
+

|
| 372 |
+
|
| 373 |
+

|
| 374 |
+
Figure 9: Comparison of perturbation-free methods using different temperatures (AUROC score).
|
| 375 |
+
|
| 376 |
+

|
| 377 |
+
|
| 378 |
+

|
| 379 |
+
|
| 380 |
+

|
| 381 |
+
Figure 10: Comparison of perturbation methods using different temperature (AUROC score).
|
2023/DetectLLM_ Leveraging Log Rank Information for Zero-Shot Detection of Machine-Generated Text/images.zip
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:cb805fc1fedad66dbc5fe9d3538c9b0f5fa9c4c87ed6f0d9441dab47b40b3a92
|
| 3 |
+
size 1374587
|
2023/DetectLLM_ Leveraging Log Rank Information for Zero-Shot Detection of Machine-Generated Text/layout.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
2023/Detecting Erroneously Recognized Handwritten Byzantine Text/e23fb75f-6ceb-4c26-9972-d5c23aa51bcb_content_list.json
ADDED
|
@@ -0,0 +1,1752 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[
|
| 2 |
+
{
|
| 3 |
+
"type": "text",
|
| 4 |
+
"text": "Detecting Erroneous Handwritten Byzantine Text Recognition",
|
| 5 |
+
"text_level": 1,
|
| 6 |
+
"bbox": [
|
| 7 |
+
176,
|
| 8 |
+
87,
|
| 9 |
+
818,
|
| 10 |
+
109
|
| 11 |
+
],
|
| 12 |
+
"page_idx": 0
|
| 13 |
+
},
|
| 14 |
+
{
|
| 15 |
+
"type": "text",
|
| 16 |
+
"text": "John Pavlopoulos",
|
| 17 |
+
"bbox": [
|
| 18 |
+
255,
|
| 19 |
+
123,
|
| 20 |
+
410,
|
| 21 |
+
139
|
| 22 |
+
],
|
| 23 |
+
"page_idx": 0
|
| 24 |
+
},
|
| 25 |
+
{
|
| 26 |
+
"type": "text",
|
| 27 |
+
"text": "Department of Informatics",
|
| 28 |
+
"bbox": [
|
| 29 |
+
223,
|
| 30 |
+
141,
|
| 31 |
+
442,
|
| 32 |
+
156
|
| 33 |
+
],
|
| 34 |
+
"page_idx": 0
|
| 35 |
+
},
|
| 36 |
+
{
|
| 37 |
+
"type": "text",
|
| 38 |
+
"text": "Athens University of Economics and Business",
|
| 39 |
+
"bbox": [
|
| 40 |
+
146,
|
| 41 |
+
156,
|
| 42 |
+
521,
|
| 43 |
+
172
|
| 44 |
+
],
|
| 45 |
+
"page_idx": 0
|
| 46 |
+
},
|
| 47 |
+
{
|
| 48 |
+
"type": "text",
|
| 49 |
+
"text": "Greece",
|
| 50 |
+
"bbox": [
|
| 51 |
+
302,
|
| 52 |
+
174,
|
| 53 |
+
363,
|
| 54 |
+
187
|
| 55 |
+
],
|
| 56 |
+
"page_idx": 0
|
| 57 |
+
},
|
| 58 |
+
{
|
| 59 |
+
"type": "text",
|
| 60 |
+
"text": "annis@aueb.gr",
|
| 61 |
+
"bbox": [
|
| 62 |
+
267,
|
| 63 |
+
191,
|
| 64 |
+
400,
|
| 65 |
+
205
|
| 66 |
+
],
|
| 67 |
+
"page_idx": 0
|
| 68 |
+
},
|
| 69 |
+
{
|
| 70 |
+
"type": "text",
|
| 71 |
+
"text": "Vasiliki Kougia",
|
| 72 |
+
"bbox": [
|
| 73 |
+
598,
|
| 74 |
+
123,
|
| 75 |
+
732,
|
| 76 |
+
139
|
| 77 |
+
],
|
| 78 |
+
"page_idx": 0
|
| 79 |
+
},
|
| 80 |
+
{
|
| 81 |
+
"type": "text",
|
| 82 |
+
"text": "Faculty of Computer Science",
|
| 83 |
+
"bbox": [
|
| 84 |
+
546,
|
| 85 |
+
140,
|
| 86 |
+
784,
|
| 87 |
+
156
|
| 88 |
+
],
|
| 89 |
+
"page_idx": 0
|
| 90 |
+
},
|
| 91 |
+
{
|
| 92 |
+
"type": "text",
|
| 93 |
+
"text": "University of Vienna, Austria",
|
| 94 |
+
"bbox": [
|
| 95 |
+
546,
|
| 96 |
+
156,
|
| 97 |
+
786,
|
| 98 |
+
172
|
| 99 |
+
],
|
| 100 |
+
"page_idx": 0
|
| 101 |
+
},
|
| 102 |
+
{
|
| 103 |
+
"type": "text",
|
| 104 |
+
"text": "UniVie Doctoral School Computer Science",
|
| 105 |
+
"bbox": [
|
| 106 |
+
490,
|
| 107 |
+
174,
|
| 108 |
+
840,
|
| 109 |
+
189
|
| 110 |
+
],
|
| 111 |
+
"page_idx": 0
|
| 112 |
+
},
|
| 113 |
+
{
|
| 114 |
+
"type": "text",
|
| 115 |
+
"text": "vasiliki.kougia@univie.ac.at",
|
| 116 |
+
"bbox": [
|
| 117 |
+
524,
|
| 118 |
+
190,
|
| 119 |
+
806,
|
| 120 |
+
205
|
| 121 |
+
],
|
| 122 |
+
"page_idx": 0
|
| 123 |
+
},
|
| 124 |
+
{
|
| 125 |
+
"type": "text",
|
| 126 |
+
"text": "Paraskevi Platanou",
|
| 127 |
+
"bbox": [
|
| 128 |
+
245,
|
| 129 |
+
227,
|
| 130 |
+
416,
|
| 131 |
+
241
|
| 132 |
+
],
|
| 133 |
+
"page_idx": 0
|
| 134 |
+
},
|
| 135 |
+
{
|
| 136 |
+
"type": "text",
|
| 137 |
+
"text": "Department of Philology, School of Philosophy",
|
| 138 |
+
"bbox": [
|
| 139 |
+
137,
|
| 140 |
+
243,
|
| 141 |
+
524,
|
| 142 |
+
261
|
| 143 |
+
],
|
| 144 |
+
"page_idx": 0
|
| 145 |
+
},
|
| 146 |
+
{
|
| 147 |
+
"type": "text",
|
| 148 |
+
"text": "University of Athens, Greece",
|
| 149 |
+
"bbox": [
|
| 150 |
+
213,
|
| 151 |
+
262,
|
| 152 |
+
448,
|
| 153 |
+
277
|
| 154 |
+
],
|
| 155 |
+
"page_idx": 0
|
| 156 |
+
},
|
| 157 |
+
{
|
| 158 |
+
"type": "text",
|
| 159 |
+
"text": "pplatanou@phil.uoa.gr",
|
| 160 |
+
"bbox": [
|
| 161 |
+
223,
|
| 162 |
+
278,
|
| 163 |
+
436,
|
| 164 |
+
293
|
| 165 |
+
],
|
| 166 |
+
"page_idx": 0
|
| 167 |
+
},
|
| 168 |
+
{
|
| 169 |
+
"type": "text",
|
| 170 |
+
"text": "Holger Essler",
|
| 171 |
+
"bbox": [
|
| 172 |
+
605,
|
| 173 |
+
227,
|
| 174 |
+
727,
|
| 175 |
+
243
|
| 176 |
+
],
|
| 177 |
+
"page_idx": 0
|
| 178 |
+
},
|
| 179 |
+
{
|
| 180 |
+
"type": "text",
|
| 181 |
+
"text": "Department of Humanities",
|
| 182 |
+
"bbox": [
|
| 183 |
+
557,
|
| 184 |
+
244,
|
| 185 |
+
774,
|
| 186 |
+
260
|
| 187 |
+
],
|
| 188 |
+
"page_idx": 0
|
| 189 |
+
},
|
| 190 |
+
{
|
| 191 |
+
"type": "text",
|
| 192 |
+
"text": "Ca'Foscari University of Venice, Italy",
|
| 193 |
+
"bbox": [
|
| 194 |
+
512,
|
| 195 |
+
261,
|
| 196 |
+
820,
|
| 197 |
+
277
|
| 198 |
+
],
|
| 199 |
+
"page_idx": 0
|
| 200 |
+
},
|
| 201 |
+
{
|
| 202 |
+
"type": "text",
|
| 203 |
+
"text": "holger.essler@unive.it",
|
| 204 |
+
"bbox": [
|
| 205 |
+
554,
|
| 206 |
+
278,
|
| 207 |
+
776,
|
| 208 |
+
292
|
| 209 |
+
],
|
| 210 |
+
"page_idx": 0
|
| 211 |
+
},
|
| 212 |
+
{
|
| 213 |
+
"type": "text",
|
| 214 |
+
"text": "Abstract",
|
| 215 |
+
"text_level": 1,
|
| 216 |
+
"bbox": [
|
| 217 |
+
260,
|
| 218 |
+
319,
|
| 219 |
+
339,
|
| 220 |
+
335
|
| 221 |
+
],
|
| 222 |
+
"page_idx": 0
|
| 223 |
+
},
|
| 224 |
+
{
|
| 225 |
+
"type": "text",
|
| 226 |
+
"text": "Handwritten text recognition (HTR) yields textual output that comprises errors, which are considerably more compared to that of recognised printed (OCRed) text. Post-correcting methods can eliminate such errors but may also introduce errors. In this study, we investigate the issues arising from this reality in Byzantine Greek. We investigate the properties of the texts that lead post-correction systems to this adversarial behaviour and we experiment with text classification systems that learn to detect incorrect recognition output. A large masked language model, pre-trained in modern and fine-tuned in Byzantine Greek, achieves an Average Precision score of $95\\%$ . The score improves to $97\\%$ when using a model that is pretrained in modern and then in ancient Greek, the two language forms Byzantine Greek combines elements from. A century-based analysis shows that the advantage of the classifier that is further-pre-trained in ancient Greek concerns texts of older centuries. The application of this classifier before a neural post-corrector on HTRed text reduced significantly the post-correction mistakes.",
|
| 227 |
+
"bbox": [
|
| 228 |
+
141,
|
| 229 |
+
347,
|
| 230 |
+
460,
|
| 231 |
+
703
|
| 232 |
+
],
|
| 233 |
+
"page_idx": 0
|
| 234 |
+
},
|
| 235 |
+
{
|
| 236 |
+
"type": "text",
|
| 237 |
+
"text": "1 Introduction",
|
| 238 |
+
"text_level": 1,
|
| 239 |
+
"bbox": [
|
| 240 |
+
114,
|
| 241 |
+
715,
|
| 242 |
+
258,
|
| 243 |
+
731
|
| 244 |
+
],
|
| 245 |
+
"page_idx": 0
|
| 246 |
+
},
|
| 247 |
+
{
|
| 248 |
+
"type": "text",
|
| 249 |
+
"text": "Handwritten Text Recognition (HTR) concerns the automated transcription of a handwritten text, extracting its computerised form from an image. Applying HTR on an old manuscript can lead to a high character error rate (CER), often due to the lack of training data (Pavlopoulos et al., 2023). In the real world, this erroneous HTR output is post-corrected by experts, who get involved, typically, in a tedious and time-consuming task. Delaying the delivery of manually curated data, hinders both: the preservation of digitised manuscripts that have not yet been",
|
| 250 |
+
"bbox": [
|
| 251 |
+
112,
|
| 252 |
+
741,
|
| 253 |
+
489,
|
| 254 |
+
919
|
| 255 |
+
],
|
| 256 |
+
"page_idx": 0
|
| 257 |
+
},
|
| 258 |
+
{
|
| 259 |
+
"type": "image",
|
| 260 |
+
"img_path": "images/1a6900ee3055eb9c40c6505bf00db057e7a0f2d9f507a3f97878c5d891264007.jpg",
|
| 261 |
+
"image_caption": [
|
| 262 |
+
"Figure 1: Number of HTRed-lines according to their CER as presented by Pavlopoulos et al. (2023)"
|
| 263 |
+
],
|
| 264 |
+
"image_footnote": [],
|
| 265 |
+
"bbox": [
|
| 266 |
+
524,
|
| 267 |
+
319,
|
| 268 |
+
867,
|
| 269 |
+
513
|
| 270 |
+
],
|
| 271 |
+
"page_idx": 0
|
| 272 |
+
},
|
| 273 |
+
{
|
| 274 |
+
"type": "text",
|
| 275 |
+
"text": "transcribed; and the progress of HTR for historical manuscripts, which struggles with low resources. This is why researchers from Digital Humanities have started encouraging the development of Natural Language Processing (NLP) solutions, in an attempt to assist the experts toward this goal, since improving the accuracy of recognition will be exciting for the disciplines struggling with vast corpora and little man power (McGillivray et al., 2020).",
|
| 276 |
+
"bbox": [
|
| 277 |
+
507,
|
| 278 |
+
580,
|
| 279 |
+
884,
|
| 280 |
+
726
|
| 281 |
+
],
|
| 282 |
+
"page_idx": 0
|
| 283 |
+
},
|
| 284 |
+
{
|
| 285 |
+
"type": "text",
|
| 286 |
+
"text": "1.1 Background",
|
| 287 |
+
"text_level": 1,
|
| 288 |
+
"bbox": [
|
| 289 |
+
509,
|
| 290 |
+
737,
|
| 291 |
+
653,
|
| 292 |
+
753
|
| 293 |
+
],
|
| 294 |
+
"page_idx": 0
|
| 295 |
+
},
|
| 296 |
+
{
|
| 297 |
+
"type": "text",
|
| 298 |
+
"text": "Although detecting erroneous recognised output is not a novel task (Chiron et al., 2017; Amrhein and Clematide, 2018; Rigaud et al., 2019; Jatowt et al., 2019; Nguyen et al., 2020; Schaefer and Neudecker, 2020), existing published studies focus on printed material (i.e., OCRed). Handwritten text, on the other hand, increases the challenge in recognition compared to printed material and hence, leads to more errors. The different hands, the greater time period, morphology and spelling",
|
| 299 |
+
"bbox": [
|
| 300 |
+
507,
|
| 301 |
+
758,
|
| 302 |
+
884,
|
| 303 |
+
919
|
| 304 |
+
],
|
| 305 |
+
"page_idx": 0
|
| 306 |
+
},
|
| 307 |
+
{
|
| 308 |
+
"type": "page_number",
|
| 309 |
+
"text": "7818",
|
| 310 |
+
"bbox": [
|
| 311 |
+
480,
|
| 312 |
+
927,
|
| 313 |
+
519,
|
| 314 |
+
940
|
| 315 |
+
],
|
| 316 |
+
"page_idx": 0
|
| 317 |
+
},
|
| 318 |
+
{
|
| 319 |
+
"type": "footer",
|
| 320 |
+
"text": "Findings of the Association for Computational Linguistics: EMNLP 2023, pages 7818-7828",
|
| 321 |
+
"bbox": [
|
| 322 |
+
216,
|
| 323 |
+
945,
|
| 324 |
+
779,
|
| 325 |
+
957
|
| 326 |
+
],
|
| 327 |
+
"page_idx": 0
|
| 328 |
+
},
|
| 329 |
+
{
|
| 330 |
+
"type": "footer",
|
| 331 |
+
"text": "December 6-10, 2023 ©2023 Association for Computational Linguistics",
|
| 332 |
+
"bbox": [
|
| 333 |
+
277,
|
| 334 |
+
958,
|
| 335 |
+
719,
|
| 336 |
+
971
|
| 337 |
+
],
|
| 338 |
+
"page_idx": 0
|
| 339 |
+
},
|
| 340 |
+
{
|
| 341 |
+
"type": "table",
|
| 342 |
+
"img_path": "images/63a6b54475e5dd4f3f50b4af50255ffa12a8de313a3385506f4015b035ca1c27.jpg",
|
| 343 |
+
"table_caption": [],
|
| 344 |
+
"table_footnote": [],
|
| 345 |
+
"table_body": "<table><tr><td></td><td>Transcription</td><td>Recognition</td></tr><tr><td>a.</td><td>tov ποδων</td><td>τωη ποδων</td></tr><tr><td>b.</td><td>tov ποδων</td><td>αχοασδδεδ</td></tr><tr><td rowspan=\"2\">a.</td><td>έγγινουμένα πάθη</td><td>έγγινουμένα πάθη</td></tr><tr><td>μή σβενύντε</td><td>μή σβενύντε</td></tr><tr><td rowspan=\"2\">b.</td><td>έγγινουμένα πάθη</td><td>έγγινουμένδπάθη</td></tr><tr><td>μή σβενύντε</td><td>μαε σβανησοτε</td></tr><tr><td rowspan=\"3\">a.</td><td>τες εμπυρίζουσι</td><td>τες εμπυρίζουσι</td></tr><tr><td>tόν ἀμπελώνα ἀλλὰ</td><td>tόν ἀμπελΟνα ἀλλὰ</td></tr><tr><td>xαλό διὰ τες</td><td>xαλό διὰ τες</td></tr><tr><td rowspan=\"3\">b.</td><td>τες εμπυρίζουσι</td><td>τεσέμπυρίσουβοι</td></tr><tr><td>tόν ἀμπελώνα ἀλλὰ</td><td>xδα ἀμπελοαα xδλὰ</td></tr><tr><td>xαλό διὰ τες</td><td>xxxxαλ αδιοτες</td></tr></table>",
|
| 346 |
+
"bbox": [
|
| 347 |
+
115,
|
| 348 |
+
82,
|
| 349 |
+
487,
|
| 350 |
+
294
|
| 351 |
+
],
|
| 352 |
+
"page_idx": 1
|
| 353 |
+
},
|
| 354 |
+
{
|
| 355 |
+
"type": "text",
|
| 356 |
+
"text": "Table 1: Synthetic transcription (human-generated) and recognition (system-generated) output with few (a) and many (b) errors. Finding the differences between the transcription and the recognition is easier for the three examples shown in red (b).",
|
| 357 |
+
"bbox": [
|
| 358 |
+
112,
|
| 359 |
+
305,
|
| 360 |
+
489,
|
| 361 |
+
376
|
| 362 |
+
],
|
| 363 |
+
"page_idx": 1
|
| 364 |
+
},
|
| 365 |
+
{
|
| 366 |
+
"type": "image",
|
| 367 |
+
"img_path": "images/a4a3b7d2d163bed7f10abba2e1ed69e1a9eed264f270f5bc58f9693cb4b0948f.jpg",
|
| 368 |
+
"image_caption": [
|
| 369 |
+
"Figure 2: Image of the handwritten text 'των ποδων' - in the recognised text, the third character was misspelled, written as eta ('η') instead of 'v' (Table 1, 1st row)"
|
| 370 |
+
],
|
| 371 |
+
"image_footnote": [],
|
| 372 |
+
"bbox": [
|
| 373 |
+
127,
|
| 374 |
+
392,
|
| 375 |
+
475,
|
| 376 |
+
435
|
| 377 |
+
],
|
| 378 |
+
"page_idx": 1
|
| 379 |
+
},
|
| 380 |
+
{
|
| 381 |
+
"type": "text",
|
| 382 |
+
"text": "(see Section 3), can explain the greater diversity of error rates (Fig. 1). The recognition quality, however, is related to the detection quality of erroneous output. To give an example, the detection of an erroneous recognition is easier when the recognition output is scrambled compared with a single incorrect character. This is shown in Table 1, where classifying recognised text (as erroneous/not) is easier for the human eye in (b) compared to that of (a). We hypothesise that this applies also to models.",
|
| 383 |
+
"bbox": [
|
| 384 |
+
112,
|
| 385 |
+
514,
|
| 386 |
+
489,
|
| 387 |
+
677
|
| 388 |
+
],
|
| 389 |
+
"page_idx": 1
|
| 390 |
+
},
|
| 391 |
+
{
|
| 392 |
+
"type": "text",
|
| 393 |
+
"text": "We argue that detecting erroneously recognised text can improve automatic error correction. Current approaches to post-correcting the often flawed recognised text, disregard the likelihood of a flawless recognition, assuming that the correct text can be simply copied (e.g., with an encoder-decoder-based correction). Consequently, they are faced with the possibility of introducing, instead of mitigating, errors that would be absent if post-correction hadn't been applied. Taking the case of a misspelled article (e.g., see Fig. 2), for instance, there is a variety of letters to choose from, for replacement, always accordingly to the declension and the case of the noun. Even if grammatical rules are set (e.g., in a rule-based system), an",
|
| 394 |
+
"bbox": [
|
| 395 |
+
112,
|
| 396 |
+
678,
|
| 397 |
+
490,
|
| 398 |
+
919
|
| 399 |
+
],
|
| 400 |
+
"page_idx": 1
|
| 401 |
+
},
|
| 402 |
+
{
|
| 403 |
+
"type": "text",
|
| 404 |
+
"text": "HTR system working at the character level is likely examining morphological aspects and often disregards semantic and pragmatic levels. A vowel replacement function addressing the morphological level, however, may omit important semantic aspects and relationships between sentence elements at the syntactic level and thus, misinterpret the case. For example, the line “λεντιον διεζωσεν εαυτόν” was HTRed as “λεντιον διεζωσενεαυτόν”. A neural corrector, then, which received as input the HTRed output, yielded “λεντιον διεζωσεν εαυτόν” (Pavlopoulos et al., 2023), correctly separating the two last words but incorrectly removing the accent. In this way and in this instance, post-correcting involves the risk of introducing errors by transforming probably correct output cases.",
|
| 405 |
+
"bbox": [
|
| 406 |
+
507,
|
| 407 |
+
84,
|
| 408 |
+
884,
|
| 409 |
+
342
|
| 410 |
+
],
|
| 411 |
+
"page_idx": 1
|
| 412 |
+
},
|
| 413 |
+
{
|
| 414 |
+
"type": "text",
|
| 415 |
+
"text": "1.2 The focus of the study",
|
| 416 |
+
"text_level": 1,
|
| 417 |
+
"bbox": [
|
| 418 |
+
509,
|
| 419 |
+
353,
|
| 420 |
+
726,
|
| 421 |
+
368
|
| 422 |
+
],
|
| 423 |
+
"page_idx": 1
|
| 424 |
+
},
|
| 425 |
+
{
|
| 426 |
+
"type": "text",
|
| 427 |
+
"text": "This study quantifies the hazards of the above-mentioned adversarial post-correction, by focusing on the Byzantine Greek language. The development of this language entails a comprehensive examination of written language throughout the centuries under study. In essence, Byzantine Greek emerged as an academic style known as Atticised Greek, incorporating religious topics. As time progressed, elements of contemporary spoken Greek gradually became integrated into the language (Horrocks, 2014). As the results of our study also show, the combination of pre-trained data on Modern Greek, resembling what was considered as spoken language back then, and Ancient Greek, including the above-mentioned Atticised Greek, is beneficial for text classifiers detecting incorrect recognition output. Furthermore, by covering a period of more than seven centuries, the already challenging nature of recognition (Platanou et al., 2022) is increased, hence allowing a more diverse material for our investigation on post-correction. Errors in handwritten text recognition are often due to different hands (scribes) and scripts that evolved for many centuries. Printed text, on the other hand, exists for a much narrower period, there are no hands to cause similar errors, $^{1}$ and no clitics. As we show in this work, lower recognition error rate means more difficult classification of erroneous lines. By contrast, recognised handwritten text is often hard to parse even for humans, which makes an easier classification challenge and a much more difficult",
|
| 428 |
+
"bbox": [
|
| 429 |
+
507,
|
| 430 |
+
373,
|
| 431 |
+
884,
|
| 432 |
+
872
|
| 433 |
+
],
|
| 434 |
+
"page_idx": 1
|
| 435 |
+
},
|
| 436 |
+
{
|
| 437 |
+
"type": "page_footnote",
|
| 438 |
+
"text": "<sup>1</sup>Fonts pose a similar problem, yet less challenging when compared to hands, due to their non-standardised form and high variation.",
|
| 439 |
+
"bbox": [
|
| 440 |
+
507,
|
| 441 |
+
881,
|
| 442 |
+
882,
|
| 443 |
+
917
|
| 444 |
+
],
|
| 445 |
+
"page_idx": 1
|
| 446 |
+
},
|
| 447 |
+
{
|
| 448 |
+
"type": "page_number",
|
| 449 |
+
"text": "7819",
|
| 450 |
+
"bbox": [
|
| 451 |
+
480,
|
| 452 |
+
927,
|
| 453 |
+
519,
|
| 454 |
+
940
|
| 455 |
+
],
|
| 456 |
+
"page_idx": 1
|
| 457 |
+
},
|
| 458 |
+
{
|
| 459 |
+
"type": "text",
|
| 460 |
+
"text": "error-correction task, as shown in Table 1.",
|
| 461 |
+
"bbox": [
|
| 462 |
+
114,
|
| 463 |
+
85,
|
| 464 |
+
426,
|
| 465 |
+
98
|
| 466 |
+
],
|
| 467 |
+
"page_idx": 2
|
| 468 |
+
},
|
| 469 |
+
{
|
| 470 |
+
"type": "text",
|
| 471 |
+
"text": "1.3 The contributions",
|
| 472 |
+
"text_level": 1,
|
| 473 |
+
"bbox": [
|
| 474 |
+
114,
|
| 475 |
+
114,
|
| 476 |
+
302,
|
| 477 |
+
128
|
| 478 |
+
],
|
| 479 |
+
"page_idx": 2
|
| 480 |
+
},
|
| 481 |
+
{
|
| 482 |
+
"type": "text",
|
| 483 |
+
"text": "We explore the extent to which classification to flawless/flawed texts can improve the post-correction of recognised output, by avoiding adversarial errors introduced when applied to flawless texts. We benchmark machine- and deep-learning-based text classifiers, showing that a Transformer that is pre-trained in modern Greek and then finetuned to detect erroneously recognised Byzantine Greek (10th-16th CE) text achieves an Average Precision of $95\\%$ . When the same Transformer is further pre-trained in ancient Greek prior to fine-tuning, the score increases to $97\\%$ . We quantify the benefits of employing our text classifier in the real world, by training an MT5 (Xue et al., 2021) encoder-decoder error-corrector, which altered $80\\%$ of the flawless texts. If our best-performing classifier had been applied prior to correction, the percentage would have been decreased to $2\\%$ with a trade-off of $2\\%$ texts being incorrectly classified as flawless.",
|
| 484 |
+
"bbox": [
|
| 485 |
+
115,
|
| 486 |
+
136,
|
| 487 |
+
489,
|
| 488 |
+
456
|
| 489 |
+
],
|
| 490 |
+
"page_idx": 2
|
| 491 |
+
},
|
| 492 |
+
{
|
| 493 |
+
"type": "text",
|
| 494 |
+
"text": "The better performance of a Transformer that is not pre-trained only in modern Greek can be explained by the fact that Byzantine Greek combines language elements from both, ancient and modern Greek. Since our study covers a broad historical period, we separated the evaluation dataset based on the century in order to investigate this hypothesis. Our results show that the detection of erroneous recognition depends on the chronology of the manuscript and that further pre-training in ancient Greek benefits the classification of lines from manuscripts in the following three centuries: 10thCE, 11thCE, and 13thCE. By following a similar segmentation-based evaluation method for the error rate level, instead of the century, we show that higher error rates make an easier classification goal. By contrast, the problem is harder for low error rates, when flawed and flawless texts look alike.",
|
| 495 |
+
"bbox": [
|
| 496 |
+
115,
|
| 497 |
+
458,
|
| 498 |
+
489,
|
| 499 |
+
747
|
| 500 |
+
],
|
| 501 |
+
"page_idx": 2
|
| 502 |
+
},
|
| 503 |
+
{
|
| 504 |
+
"type": "text",
|
| 505 |
+
"text": "2 Related work",
|
| 506 |
+
"text_level": 1,
|
| 507 |
+
"bbox": [
|
| 508 |
+
114,
|
| 509 |
+
763,
|
| 510 |
+
265,
|
| 511 |
+
778
|
| 512 |
+
],
|
| 513 |
+
"page_idx": 2
|
| 514 |
+
},
|
| 515 |
+
{
|
| 516 |
+
"type": "text",
|
| 517 |
+
"text": "Our work focuses on the text classification of recognised handwritten text. In the absence of published studies for handwritten text, however, we summarise work focused on the recognition of printed text. Printed and handwritten materials differ, because the latter often yields scrambled recognition output (Table 1). This is probably what motivated Ströbel et al. (2022) in using the perplexity of lan",
|
| 518 |
+
"bbox": [
|
| 519 |
+
112,
|
| 520 |
+
790,
|
| 521 |
+
489,
|
| 522 |
+
917
|
| 523 |
+
],
|
| 524 |
+
"page_idx": 2
|
| 525 |
+
},
|
| 526 |
+
{
|
| 527 |
+
"type": "text",
|
| 528 |
+
"text": "guage models to detect the erroneous output in an unsupervised manner. On the other hand, although we consider that recognition errors are overall more for handwritten text compared to printed material, the quality of recognition can vary significantly for the former (Hodel et al., 2021), as is also shown in Fig. 1, and does not always come with a high error rate. Therefore, the detection of erroneously recognised handwritten text is also related to that for printed text, regarding their low error output.",
|
| 529 |
+
"bbox": [
|
| 530 |
+
507,
|
| 531 |
+
84,
|
| 532 |
+
884,
|
| 533 |
+
244
|
| 534 |
+
],
|
| 535 |
+
"page_idx": 2
|
| 536 |
+
},
|
| 537 |
+
{
|
| 538 |
+
"type": "text",
|
| 539 |
+
"text": "Erroneous recognised printed text detection",
|
| 540 |
+
"text_level": 1,
|
| 541 |
+
"bbox": [
|
| 542 |
+
509,
|
| 543 |
+
256,
|
| 544 |
+
858,
|
| 545 |
+
271
|
| 546 |
+
],
|
| 547 |
+
"page_idx": 2
|
| 548 |
+
},
|
| 549 |
+
{
|
| 550 |
+
"type": "text",
|
| 551 |
+
"text": "Initial work using rule-based approaches could not address all errors, and was followed by machine and deep learning approaches (Lyu et al., 2021). Standard approaches include support vector machines on top of n-gram-based features (Dannélls and Virk, 2021; Virk et al., 2021). Jatowt et al. (2019) used a gradient tree boosting binary classifier on top of various features, including character and word n-grams, part-of-speech, token frequency based on automatically created resources.",
|
| 552 |
+
"bbox": [
|
| 553 |
+
507,
|
| 554 |
+
275,
|
| 555 |
+
884,
|
| 556 |
+
436
|
| 557 |
+
],
|
| 558 |
+
"page_idx": 2
|
| 559 |
+
},
|
| 560 |
+
{
|
| 561 |
+
"type": "text",
|
| 562 |
+
"text": "Amrhein and Clematide (2018) performed detailed analyses and experiments of error detection and post-correction with various statistical and neural machine-translation methods. In general, they found that the former perform better in error correction, while the latter models are better in error detection. However, they concluded that there is not a single method that works best on all datasets while the results are highly affected by the data a model is trained on. Furthermore, they suggested that post-correction of recognised printed text should focus more on the improvement of error detection.",
|
| 563 |
+
"bbox": [
|
| 564 |
+
507,
|
| 565 |
+
437,
|
| 566 |
+
885,
|
| 567 |
+
629
|
| 568 |
+
],
|
| 569 |
+
"page_idx": 2
|
| 570 |
+
},
|
| 571 |
+
{
|
| 572 |
+
"type": "text",
|
| 573 |
+
"text": "Nguyen et al. (2020) used BERT pre-trained on named-entity recognition for token classification in order to perform error detection. After substring tokenization they obtain Glove or Fasttext word embeddings, which are combined with segment and positional embeddings and given as input to BERT (Devlin et al., 2018). The hidden states are fed to a dense layer on top that classifies each token as erroneous or not. Although interesting, token-level detection is not suited for high-error settings.",
|
| 574 |
+
"bbox": [
|
| 575 |
+
507,
|
| 576 |
+
631,
|
| 577 |
+
884,
|
| 578 |
+
790
|
| 579 |
+
],
|
| 580 |
+
"page_idx": 2
|
| 581 |
+
},
|
| 582 |
+
{
|
| 583 |
+
"type": "text",
|
| 584 |
+
"text": "The ICDAR challenge",
|
| 585 |
+
"text_level": 1,
|
| 586 |
+
"bbox": [
|
| 587 |
+
509,
|
| 588 |
+
802,
|
| 589 |
+
687,
|
| 590 |
+
816
|
| 591 |
+
],
|
| 592 |
+
"page_idx": 2
|
| 593 |
+
},
|
| 594 |
+
{
|
| 595 |
+
"type": "text",
|
| 596 |
+
"text": "ICDAR organised a competition focused on post-correcting text recognised from newspapers, shopping receipts, and other printed sources, including two subtasks: error detection, i.e., to detect the position and the length of the errors, and error correction (Chiron et al., 2017; Rigaud et al., 2019).",
|
| 597 |
+
"bbox": [
|
| 598 |
+
507,
|
| 599 |
+
822,
|
| 600 |
+
884,
|
| 601 |
+
917
|
| 602 |
+
],
|
| 603 |
+
"page_idx": 2
|
| 604 |
+
},
|
| 605 |
+
{
|
| 606 |
+
"type": "page_number",
|
| 607 |
+
"text": "7820",
|
| 608 |
+
"bbox": [
|
| 609 |
+
480,
|
| 610 |
+
928,
|
| 611 |
+
519,
|
| 612 |
+
940
|
| 613 |
+
],
|
| 614 |
+
"page_idx": 2
|
| 615 |
+
},
|
| 616 |
+
{
|
| 617 |
+
"type": "text",
|
| 618 |
+
"text": "In 2017, the best-performing method for the error detection subtask employed probabilistic character error models and weighted finite-state transducers while in 2019, the best was a pre-trained multilingual BERT with convolutional and fully-connected layers on top that classified each sub-token as erroneous or not. Schaefer and Neudecker (2020) followed a similar classification scheme, but focused on characters and not sub-tokens. Then, by excluding lines with at least one classified character from post-correction, they showed that false alteration (i.e., of correctly OCR red lines) by an encoder-decoder model could be avoided. Our work shows that casting this problem as a text classification task can lead to high accuracy for handwritten text, although similar benefits may apply to printed text.",
|
| 619 |
+
"bbox": [
|
| 620 |
+
112,
|
| 621 |
+
84,
|
| 622 |
+
492,
|
| 623 |
+
344
|
| 624 |
+
],
|
| 625 |
+
"page_idx": 3
|
| 626 |
+
},
|
| 627 |
+
{
|
| 628 |
+
"type": "text",
|
| 629 |
+
"text": "3 Data",
|
| 630 |
+
"text_level": 1,
|
| 631 |
+
"bbox": [
|
| 632 |
+
112,
|
| 633 |
+
354,
|
| 634 |
+
191,
|
| 635 |
+
368
|
| 636 |
+
],
|
| 637 |
+
"page_idx": 3
|
| 638 |
+
},
|
| 639 |
+
{
|
| 640 |
+
"type": "text",
|
| 641 |
+
"text": "The written language of the manuscripts and papyri used in this study is Byzantine Greek.3 Within these texts, morphological categories such as the optative, the pluperfect, and the perfect have disappeared, while others such as the dative case have gradually decreased. Infinitives and participles are still there in the texts, as reminiscents of the classical tradition, encouraging one to treat the language as a unique variant, different from modern Greek. There are several spelling conventions that deviate from the older orthographic rules while the ancient punctuation signs are still in use, albeit not always with the same function. Therefore, following Classical and preceding Modern Greek, this language can be considered a combination of the two.",
|
| 642 |
+
"bbox": [
|
| 643 |
+
112,
|
| 644 |
+
379,
|
| 645 |
+
489,
|
| 646 |
+
620
|
| 647 |
+
],
|
| 648 |
+
"page_idx": 3
|
| 649 |
+
},
|
| 650 |
+
{
|
| 651 |
+
"type": "text",
|
| 652 |
+
"text": "The transcriptions and the HTR output were provided by the organisers of the recent HTREC challenge, which regarded the automated correction of HTR errors in Byzantine Greek (Pavlopoulos et al., 2023). Selected images of handwritten text in respective manuscripts (10th to 16th CE) were transcribed by a human expert. The training dataset of the challenge consists of 1,875 lines of transcribed text by a human expert and by an HTR model (examples shown in Table 2). Transkribus (Kahle et al., 2017) was used by the organisers to produce the system transcriptions, trained on seven images one per century. Our investigation of the CER of the opted HTR model reveals",
|
| 653 |
+
"bbox": [
|
| 654 |
+
112,
|
| 655 |
+
621,
|
| 656 |
+
489,
|
| 657 |
+
845
|
| 658 |
+
],
|
| 659 |
+
"page_idx": 3
|
| 660 |
+
},
|
| 661 |
+
{
|
| 662 |
+
"type": "image",
|
| 663 |
+
"img_path": "images/bdab47f54557d25fe59dce788ce6afe429b7b6ed1b8acf3a66b466b791bdf41b.jpg",
|
| 664 |
+
"image_caption": [
|
| 665 |
+
"Figure 3: Violinplot of CER per century"
|
| 666 |
+
],
|
| 667 |
+
"image_footnote": [],
|
| 668 |
+
"bbox": [
|
| 669 |
+
531,
|
| 670 |
+
93,
|
| 671 |
+
865,
|
| 672 |
+
241
|
| 673 |
+
],
|
| 674 |
+
"page_idx": 3
|
| 675 |
+
},
|
| 676 |
+
{
|
| 677 |
+
"type": "text",
|
| 678 |
+
"text": "that a diversity of errors is produced, from very few to many per line (Fig. 1). This fact makes this dataset optimal for our training purposes, because we need a diversity of errors to train our classifiers. Furthermore, the errors are not uniformly distributed across centuries (Fig. 3), motivating a time/CER-based segmentation for evaluation purposes (discussed in Section 4.2).",
|
| 679 |
+
"bbox": [
|
| 680 |
+
507,
|
| 681 |
+
297,
|
| 682 |
+
884,
|
| 683 |
+
425
|
| 684 |
+
],
|
| 685 |
+
"page_idx": 3
|
| 686 |
+
},
|
| 687 |
+
{
|
| 688 |
+
"type": "text",
|
| 689 |
+
"text": "Our classification dataset consists of the 1,875 human-transcribed texts (lines), treated as the flawless negative (0) class, and the respective system-transcribed texts, treated as the flawed, positive (1) class. This resulted in total to an almost perfectly balanced dataset of 3,744 text lines, which we split to train, development and test subsets by using a 80/10/10 ratio. The average length of the transcription is 40.10 characters (6.83 words), and that of the HTR output is 37.09 characters (5.89 words).",
|
| 690 |
+
"bbox": [
|
| 691 |
+
507,
|
| 692 |
+
426,
|
| 693 |
+
884,
|
| 694 |
+
588
|
| 695 |
+
],
|
| 696 |
+
"page_idx": 3
|
| 697 |
+
},
|
| 698 |
+
{
|
| 699 |
+
"type": "text",
|
| 700 |
+
"text": "4 Experimental analysis",
|
| 701 |
+
"text_level": 1,
|
| 702 |
+
"bbox": [
|
| 703 |
+
507,
|
| 704 |
+
602,
|
| 705 |
+
737,
|
| 706 |
+
619
|
| 707 |
+
],
|
| 708 |
+
"page_idx": 3
|
| 709 |
+
},
|
| 710 |
+
{
|
| 711 |
+
"type": "text",
|
| 712 |
+
"text": "We opted for machine and deep learning benchmarks, with different transfer learning settings.",
|
| 713 |
+
"bbox": [
|
| 714 |
+
507,
|
| 715 |
+
630,
|
| 716 |
+
882,
|
| 717 |
+
663
|
| 718 |
+
],
|
| 719 |
+
"page_idx": 3
|
| 720 |
+
},
|
| 721 |
+
{
|
| 722 |
+
"type": "text",
|
| 723 |
+
"text": "Machine learning benchmarks",
|
| 724 |
+
"text_level": 1,
|
| 725 |
+
"bbox": [
|
| 726 |
+
507,
|
| 727 |
+
676,
|
| 728 |
+
756,
|
| 729 |
+
690
|
| 730 |
+
],
|
| 731 |
+
"page_idx": 3
|
| 732 |
+
},
|
| 733 |
+
{
|
| 734 |
+
"type": "text",
|
| 735 |
+
"text": "Machine learning methods include a variant of Naive Bayes and Support Vector Machines (NB-SVM), which is often used as a baseline for text classification (Wang and Manning, 2012). Also, we experimented with a Random Forest and a multi-layer perceptron (MLP) using character n-grams",
|
| 736 |
+
"bbox": [
|
| 737 |
+
507,
|
| 738 |
+
697,
|
| 739 |
+
884,
|
| 740 |
+
796
|
| 741 |
+
],
|
| 742 |
+
"page_idx": 3
|
| 743 |
+
},
|
| 744 |
+
{
|
| 745 |
+
"type": "page_footnote",
|
| 746 |
+
"text": "2The difference lies in using a sigmoid function (or so) on top of the text representation, instead of one per character.",
|
| 747 |
+
"bbox": [
|
| 748 |
+
112,
|
| 749 |
+
854,
|
| 750 |
+
487,
|
| 751 |
+
879
|
| 752 |
+
],
|
| 753 |
+
"page_idx": 3
|
| 754 |
+
},
|
| 755 |
+
{
|
| 756 |
+
"type": "page_footnote",
|
| 757 |
+
"text": "3Also known as Medieval Greek or simply Byzantine.",
|
| 758 |
+
"bbox": [
|
| 759 |
+
137,
|
| 760 |
+
879,
|
| 761 |
+
463,
|
| 762 |
+
892
|
| 763 |
+
],
|
| 764 |
+
"page_idx": 3
|
| 765 |
+
},
|
| 766 |
+
{
|
| 767 |
+
"type": "page_footnote",
|
| 768 |
+
"text": "4https://www.aicrowd.com/challenges/",
|
| 769 |
+
"bbox": [
|
| 770 |
+
137,
|
| 771 |
+
892,
|
| 772 |
+
410,
|
| 773 |
+
904
|
| 774 |
+
],
|
| 775 |
+
"page_idx": 3
|
| 776 |
+
},
|
| 777 |
+
{
|
| 778 |
+
"type": "page_footnote",
|
| 779 |
+
"text": "htrec-2022",
|
| 780 |
+
"bbox": [
|
| 781 |
+
115,
|
| 782 |
+
904,
|
| 783 |
+
196,
|
| 784 |
+
916
|
| 785 |
+
],
|
| 786 |
+
"page_idx": 3
|
| 787 |
+
},
|
| 788 |
+
{
|
| 789 |
+
"type": "page_footnote",
|
| 790 |
+
"text": "Fewer errors will harm class balance while similar errors will harm generalisation of the classifiers.",
|
| 791 |
+
"bbox": [
|
| 792 |
+
507,
|
| 793 |
+
806,
|
| 794 |
+
882,
|
| 795 |
+
832
|
| 796 |
+
],
|
| 797 |
+
"page_idx": 3
|
| 798 |
+
},
|
| 799 |
+
{
|
| 800 |
+
"type": "page_footnote",
|
| 801 |
+
"text": "Six lines were excluded from the positive class, because a perfect transcription was achieved.",
|
| 802 |
+
"bbox": [
|
| 803 |
+
507,
|
| 804 |
+
832,
|
| 805 |
+
882,
|
| 806 |
+
856
|
| 807 |
+
],
|
| 808 |
+
"page_idx": 3
|
| 809 |
+
},
|
| 810 |
+
{
|
| 811 |
+
"type": "page_footnote",
|
| 812 |
+
"text": "7All experiments were performed using Google's Colaboratory, using a Tesla T4 GPU card. Our large language models comprise 113 million parameters.",
|
| 813 |
+
"bbox": [
|
| 814 |
+
507,
|
| 815 |
+
856,
|
| 816 |
+
882,
|
| 817 |
+
892
|
| 818 |
+
],
|
| 819 |
+
"page_idx": 3
|
| 820 |
+
},
|
| 821 |
+
{
|
| 822 |
+
"type": "page_footnote",
|
| 823 |
+
"text": "We used the implementation of KTRAIN with default parameters (Maiya, 2020).",
|
| 824 |
+
"bbox": [
|
| 825 |
+
507,
|
| 826 |
+
892,
|
| 827 |
+
882,
|
| 828 |
+
917
|
| 829 |
+
],
|
| 830 |
+
"page_idx": 3
|
| 831 |
+
},
|
| 832 |
+
{
|
| 833 |
+
"type": "page_number",
|
| 834 |
+
"text": "7821",
|
| 835 |
+
"bbox": [
|
| 836 |
+
480,
|
| 837 |
+
927,
|
| 838 |
+
517,
|
| 839 |
+
940
|
| 840 |
+
],
|
| 841 |
+
"page_idx": 3
|
| 842 |
+
},
|
| 843 |
+
{
|
| 844 |
+
"type": "table",
|
| 845 |
+
"img_path": "images/9644d1193de75c46d8ffcc0e791bcce60d45e65162cb254442c746aefeeac595.jpg",
|
| 846 |
+
"table_caption": [],
|
| 847 |
+
"table_footnote": [],
|
| 848 |
+
"table_body": "<table><tr><td>Transcription by expert</td><td>HTR output</td></tr><tr><td>èγγινόμενα πάθη μή σβενύντες ἀλλὰ τή εχλύσει (the born-in passions not extinguishing but the release)</td><td>èγγενομεναπαδημησεννωτες ἀλλατήε κλησει</td></tr><tr><td>του βίου του καῦ ́ εαυτός πολλα γένεσθουσυ υμχωρουν (of the life of themselves many happening forgive)</td><td>του β ou του καλεαυτός πολλαγινεσθουσι συγχωρόν</td></tr><tr><td>τες ἄμυριζουσι του ὄμελώνα ἀλλα καὶ ὅ διὰ τες (- set on fire the vineyard but and the due to the)</td><td>εμμυριζου σιμαμπελώνα ἀλλακαι ὅδξα</td></tr></table>",
|
| 849 |
+
"bbox": [
|
| 850 |
+
142,
|
| 851 |
+
80,
|
| 852 |
+
857,
|
| 853 |
+
205
|
| 854 |
+
],
|
| 855 |
+
"page_idx": 4
|
| 856 |
+
},
|
| 857 |
+
{
|
| 858 |
+
"type": "text",
|
| 859 |
+
"text": "$(n \\in 1,5)$ , term-frequency inverse document frequency, and default parameters otherwise.",
|
| 860 |
+
"bbox": [
|
| 861 |
+
112,
|
| 862 |
+
268,
|
| 863 |
+
489,
|
| 864 |
+
300
|
| 865 |
+
],
|
| 866 |
+
"page_idx": 4
|
| 867 |
+
},
|
| 868 |
+
{
|
| 869 |
+
"type": "text",
|
| 870 |
+
"text": "Deep learning benchmarks",
|
| 871 |
+
"text_level": 1,
|
| 872 |
+
"bbox": [
|
| 873 |
+
112,
|
| 874 |
+
312,
|
| 875 |
+
331,
|
| 876 |
+
326
|
| 877 |
+
],
|
| 878 |
+
"page_idx": 4
|
| 879 |
+
},
|
| 880 |
+
{
|
| 881 |
+
"type": "text",
|
| 882 |
+
"text": "Deep learning methods comprise a recurrent neural network using Gated Recurrent Units (GRU) and trainable word embeddings of 300 dimensions, originally pre-trained on (modern) Greek (Joulin et al., 2017). Also, we experimented with the state-of-the-art in text classification, which is BERT (Devlin et al., 2018) and its variants (Li et al., 2022; Minaee et al., 2021). In specific, we also fine-tuned two BERT models pre-trained in Greek. The first (GreekBERT) is pre-trained in modern Greek (Koutsikakis et al., 2020) while the second extends the first by being further pre-trained in ancient Greek (Singh et al., 2021).",
|
| 883 |
+
"bbox": [
|
| 884 |
+
112,
|
| 885 |
+
332,
|
| 886 |
+
489,
|
| 887 |
+
541
|
| 888 |
+
],
|
| 889 |
+
"page_idx": 4
|
| 890 |
+
},
|
| 891 |
+
{
|
| 892 |
+
"type": "text",
|
| 893 |
+
"text": "Evaluation measures",
|
| 894 |
+
"text_level": 1,
|
| 895 |
+
"bbox": [
|
| 896 |
+
112,
|
| 897 |
+
552,
|
| 898 |
+
284,
|
| 899 |
+
565
|
| 900 |
+
],
|
| 901 |
+
"page_idx": 4
|
| 902 |
+
},
|
| 903 |
+
{
|
| 904 |
+
"type": "text",
|
| 905 |
+
"text": "We opted for the $F1$ score per class, the Area under the Receiver Operating Characteristic Curve (AUC), and Average Precision (AP) that is preferred in class-imbalanced settings. All evaluation measures were implemented in SCIKIT-LEARN. $^{12}$",
|
| 906 |
+
"bbox": [
|
| 907 |
+
112,
|
| 908 |
+
573,
|
| 909 |
+
489,
|
| 910 |
+
653
|
| 911 |
+
],
|
| 912 |
+
"page_idx": 4
|
| 913 |
+
},
|
| 914 |
+
{
|
| 915 |
+
"type": "text",
|
| 916 |
+
"text": "4.1 Text classification benchmark",
|
| 917 |
+
"text_level": 1,
|
| 918 |
+
"bbox": [
|
| 919 |
+
112,
|
| 920 |
+
664,
|
| 921 |
+
394,
|
| 922 |
+
678
|
| 923 |
+
],
|
| 924 |
+
"page_idx": 4
|
| 925 |
+
},
|
| 926 |
+
{
|
| 927 |
+
"type": "text",
|
| 928 |
+
"text": "Table 3 shows the results of all our text classification benchmarks, including a random baseline (responding uniformly) that draws the lower performance limit. NBSVM is the worst machine learning model, followed by Forest and MLP. The latter achieves promising results, close to GRU (better in AP and $F1^{-}$ ). GRU, on the other hand, is clearly",
|
| 929 |
+
"bbox": [
|
| 930 |
+
112,
|
| 931 |
+
684,
|
| 932 |
+
489,
|
| 933 |
+
797
|
| 934 |
+
],
|
| 935 |
+
"page_idx": 4
|
| 936 |
+
},
|
| 937 |
+
{
|
| 938 |
+
"type": "table",
|
| 939 |
+
"img_path": "images/446f8158475dba57b0c7bb1bc0fde2bd6081f4dc087fc8006210b30ac75a61bb.jpg",
|
| 940 |
+
"table_caption": [
|
| 941 |
+
"Table 2: Human (on the left) and HTR-based (on the right) transcription (lines) from the 'Commentary on Isaiah' by Basil the Great (fol. 75r, Oxford, Bodleian Library MS. Barocci 102)"
|
| 942 |
+
],
|
| 943 |
+
"table_footnote": [],
|
| 944 |
+
"table_body": "<table><tr><td></td><td>AP</td><td>AUC</td><td>F1+</td><td>F1-</td></tr><tr><td>Random</td><td>0.52</td><td>0.50</td><td>0.49</td><td>0.47</td></tr><tr><td>NBSVM</td><td>0.66</td><td>0.65</td><td>0.60</td><td>0.51</td></tr><tr><td>Forest</td><td>0.64</td><td>0.65</td><td>0.64</td><td>0.50</td></tr><tr><td>MLP</td><td>0.79</td><td>0.79</td><td>0.73</td><td>0.69</td></tr><tr><td>GRU</td><td>0.79</td><td>0.79</td><td>0.68</td><td>0.71</td></tr><tr><td>GreekBERT:M</td><td>0.95</td><td>0.94</td><td>0.88</td><td>0.88</td></tr><tr><td>GreekBERT:M+A</td><td>0.97</td><td>0.97</td><td>0.90</td><td>0.91</td></tr></table>",
|
| 945 |
+
"bbox": [
|
| 946 |
+
510,
|
| 947 |
+
265,
|
| 948 |
+
890,
|
| 949 |
+
399
|
| 950 |
+
],
|
| 951 |
+
"page_idx": 4
|
| 952 |
+
},
|
| 953 |
+
{
|
| 954 |
+
"type": "text",
|
| 955 |
+
"text": "Table 3: Evaluation with Average Precision (AP), AUC, $F1$ for the classification of HTRed texts to flawed (+) or flawless (-) transcription. Random (uniform) classification was used as a baseline. GreekBERT was pre-trained in modern (:M) or in modern and ancient Greek (:A).",
|
| 956 |
+
"bbox": [
|
| 957 |
+
507,
|
| 958 |
+
407,
|
| 959 |
+
884,
|
| 960 |
+
481
|
| 961 |
+
],
|
| 962 |
+
"page_idx": 4
|
| 963 |
+
},
|
| 964 |
+
{
|
| 965 |
+
"type": "text",
|
| 966 |
+
"text": "outperformed in all metrics by GreekBERT. Two GreekBERT models were used, one pre-trained in modern Greek (:M) and one in modern and then in ancient Greek (:M+A). Byzantine Greek, as already discussed (Section 3), combines language elements found in both ancient and modern Greek. This is probably why GreekBERT:M+A, which was pretrained in modern and then in ancient Greek, was better compared to GreekBERT:M, which was pretrained only in modern Greek.[13]",
|
| 967 |
+
"bbox": [
|
| 968 |
+
507,
|
| 969 |
+
504,
|
| 970 |
+
882,
|
| 971 |
+
664
|
| 972 |
+
],
|
| 973 |
+
"page_idx": 4
|
| 974 |
+
},
|
| 975 |
+
{
|
| 976 |
+
"type": "text",
|
| 977 |
+
"text": "4.2 Evaluation per century",
|
| 978 |
+
"text_level": 1,
|
| 979 |
+
"bbox": [
|
| 980 |
+
507,
|
| 981 |
+
675,
|
| 982 |
+
739,
|
| 983 |
+
690
|
| 984 |
+
],
|
| 985 |
+
"page_idx": 4
|
| 986 |
+
},
|
| 987 |
+
{
|
| 988 |
+
"type": "text",
|
| 989 |
+
"text": "We separated the lines of the test data based on the century of the manuscript that they came from. For each century, then, we evaluated the two Transformers, GreekBERT:M and GreekBERT:M+A. As can be seen in Fig. 4, $^{14}$ GreekBERT:M+A is better on the 10th (five percent units) and 11th century CE, with models performing similarly on the 12th and after the 13th century, when both models achieve a",
|
| 990 |
+
"bbox": [
|
| 991 |
+
507,
|
| 992 |
+
696,
|
| 993 |
+
882,
|
| 994 |
+
825
|
| 995 |
+
],
|
| 996 |
+
"page_idx": 4
|
| 997 |
+
},
|
| 998 |
+
{
|
| 999 |
+
"type": "page_footnote",
|
| 1000 |
+
"text": "<sup>13</sup>We verified the consistency of this finding by repeating the experiments three times, reporting an average AUC of 0.97 over 0.94 (st.d. lower than 0.05).",
|
| 1001 |
+
"bbox": [
|
| 1002 |
+
507,
|
| 1003 |
+
832,
|
| 1004 |
+
882,
|
| 1005 |
+
868
|
| 1006 |
+
],
|
| 1007 |
+
"page_idx": 4
|
| 1008 |
+
},
|
| 1009 |
+
{
|
| 1010 |
+
"type": "page_footnote",
|
| 1011 |
+
"text": "For statistical significance, we sampled twenty lines per century, repeating the sampling process ten times. We focus on Average Precision, but similar findings were observed with the other metrics.",
|
| 1012 |
+
"bbox": [
|
| 1013 |
+
507,
|
| 1014 |
+
869,
|
| 1015 |
+
880,
|
| 1016 |
+
917
|
| 1017 |
+
],
|
| 1018 |
+
"page_idx": 4
|
| 1019 |
+
},
|
| 1020 |
+
{
|
| 1021 |
+
"type": "page_footnote",
|
| 1022 |
+
"text": "$^{9}$ https://scikit-learn.org/stable/modules/ generated/sklearn.neural_network ${ }^{10}$ https://fasttext.cc/docs/en/crawl-vectors. htm1",
|
| 1023 |
+
"bbox": [
|
| 1024 |
+
112,
|
| 1025 |
+
804,
|
| 1026 |
+
460,
|
| 1027 |
+
854
|
| 1028 |
+
],
|
| 1029 |
+
"page_idx": 4
|
| 1030 |
+
},
|
| 1031 |
+
{
|
| 1032 |
+
"type": "page_footnote",
|
| 1033 |
+
"text": "11 Ancient Greek texts, which can be used for pre-training, are much fewer in number compared to publicly available modern Greek data. Hence, the option of pre-training directly in ancient Greek was not considered viable.",
|
| 1034 |
+
"bbox": [
|
| 1035 |
+
112,
|
| 1036 |
+
856,
|
| 1037 |
+
487,
|
| 1038 |
+
903
|
| 1039 |
+
],
|
| 1040 |
+
"page_idx": 4
|
| 1041 |
+
},
|
| 1042 |
+
{
|
| 1043 |
+
"type": "page_footnote",
|
| 1044 |
+
"text": "12https://scikit-learn.org/stable/",
|
| 1045 |
+
"bbox": [
|
| 1046 |
+
132,
|
| 1047 |
+
904,
|
| 1048 |
+
386,
|
| 1049 |
+
917
|
| 1050 |
+
],
|
| 1051 |
+
"page_idx": 4
|
| 1052 |
+
},
|
| 1053 |
+
{
|
| 1054 |
+
"type": "page_number",
|
| 1055 |
+
"text": "7822",
|
| 1056 |
+
"bbox": [
|
| 1057 |
+
480,
|
| 1058 |
+
927,
|
| 1059 |
+
519,
|
| 1060 |
+
940
|
| 1061 |
+
],
|
| 1062 |
+
"page_idx": 4
|
| 1063 |
+
},
|
| 1064 |
+
{
|
| 1065 |
+
"type": "image",
|
| 1066 |
+
"img_path": "images/7f33b797aff5e59ccfcfed607a70a076263648627bbfa4090df6949c069b0456.jpg",
|
| 1067 |
+
"image_caption": [
|
| 1068 |
+
"Figure 4: Average Precision per c. CE of GreekBERT:M, pretrained on modern Greek (solid), and GreekBERT:M+A, further pre-trained on ancient Greek (dashed) - error bands show the $95\\%$ bootstrap confidence intervals"
|
| 1069 |
+
],
|
| 1070 |
+
"image_footnote": [],
|
| 1071 |
+
"bbox": [
|
| 1072 |
+
174,
|
| 1073 |
+
99,
|
| 1074 |
+
811,
|
| 1075 |
+
249
|
| 1076 |
+
],
|
| 1077 |
+
"page_idx": 5
|
| 1078 |
+
},
|
| 1079 |
+
{
|
| 1080 |
+
"type": "text",
|
| 1081 |
+
"text": "higher score. On the 13th century, the performance of both models drops, but considerably more for GreekBERT:M. The 14th, 15th and 16th century were more challenging in HTR (Platanou et al., 2022), which could explain the better performance of the classifiers. That is, more errors in the recognised output could potentially help the classifier distinguish between the two classes (correct/not).<sup>15</sup> Based on the previous observations, we report three findings:",
|
| 1082 |
+
"bbox": [
|
| 1083 |
+
112,
|
| 1084 |
+
313,
|
| 1085 |
+
489,
|
| 1086 |
+
474
|
| 1087 |
+
],
|
| 1088 |
+
"page_idx": 5
|
| 1089 |
+
},
|
| 1090 |
+
{
|
| 1091 |
+
"type": "list",
|
| 1092 |
+
"sub_type": "text",
|
| 1093 |
+
"list_items": [
|
| 1094 |
+
"F1. The classification performance depends on the chronology of the manuscript.",
|
| 1095 |
+
"F2. Older manuscripts are better handled by further pre-training on ancient Greek.",
|
| 1096 |
+
"F3. Lines from recent manuscripts pose an easier classification challenge to both GreekBERT models."
|
| 1097 |
+
],
|
| 1098 |
+
"bbox": [
|
| 1099 |
+
117,
|
| 1100 |
+
486,
|
| 1101 |
+
489,
|
| 1102 |
+
620
|
| 1103 |
+
],
|
| 1104 |
+
"page_idx": 5
|
| 1105 |
+
},
|
| 1106 |
+
{
|
| 1107 |
+
"type": "text",
|
| 1108 |
+
"text": "4.3 Evaluation per error zone",
|
| 1109 |
+
"text_level": 1,
|
| 1110 |
+
"bbox": [
|
| 1111 |
+
112,
|
| 1112 |
+
633,
|
| 1113 |
+
366,
|
| 1114 |
+
648
|
| 1115 |
+
],
|
| 1116 |
+
"page_idx": 5
|
| 1117 |
+
},
|
| 1118 |
+
{
|
| 1119 |
+
"type": "text",
|
| 1120 |
+
"text": "Our dataset is balanced regarding whether the recognition output is erroneous (positive class) or not, yet it remains imbalanced regarding the CER level (see Fig. 1). In order to assess the two Transformers across different input types, we rolled a window of ten units, from low to high CER values, and we assessed the models per window (Fig. 5).<sup>16</sup>",
|
| 1121 |
+
"bbox": [
|
| 1122 |
+
112,
|
| 1123 |
+
653,
|
| 1124 |
+
489,
|
| 1125 |
+
765
|
| 1126 |
+
],
|
| 1127 |
+
"page_idx": 5
|
| 1128 |
+
},
|
| 1129 |
+
{
|
| 1130 |
+
"type": "text",
|
| 1131 |
+
"text": "High-CER lines (i.e., lines with CER of thirty or more) appear to set an easy classification task to both models. Performance increases as the CER increases. This is reasonable considering that lines with a high CER comprise many errors and are",
|
| 1132 |
+
"bbox": [
|
| 1133 |
+
112,
|
| 1134 |
+
766,
|
| 1135 |
+
489,
|
| 1136 |
+
847
|
| 1137 |
+
],
|
| 1138 |
+
"page_idx": 5
|
| 1139 |
+
},
|
| 1140 |
+
{
|
| 1141 |
+
"type": "text",
|
| 1142 |
+
"text": "hard to parse even by humans. This characteristic, however, makes them easier to distinguish from flawless lines, which comprise no errors from the recognition.",
|
| 1143 |
+
"bbox": [
|
| 1144 |
+
507,
|
| 1145 |
+
313,
|
| 1146 |
+
884,
|
| 1147 |
+
376
|
| 1148 |
+
],
|
| 1149 |
+
"page_idx": 5
|
| 1150 |
+
},
|
| 1151 |
+
{
|
| 1152 |
+
"type": "text",
|
| 1153 |
+
"text": "Low-CER lines (i.e., lines with CER of zero to twenty) lead to a different picture, since Greek-BERT:M+A is consistently better, overall, than GreekBERT:M. Low CER means small differences between the two texts (flawless-flawed), which makes the classification task more difficult. In this zone, further pre-training on ancient Greek had a bigger impact, compared to zones with a higher error rate.",
|
| 1154 |
+
"bbox": [
|
| 1155 |
+
507,
|
| 1156 |
+
379,
|
| 1157 |
+
885,
|
| 1158 |
+
524
|
| 1159 |
+
],
|
| 1160 |
+
"page_idx": 5
|
| 1161 |
+
},
|
| 1162 |
+
{
|
| 1163 |
+
"type": "text",
|
| 1164 |
+
"text": "5 Discussion",
|
| 1165 |
+
"text_level": 1,
|
| 1166 |
+
"bbox": [
|
| 1167 |
+
507,
|
| 1168 |
+
539,
|
| 1169 |
+
636,
|
| 1170 |
+
556
|
| 1171 |
+
],
|
| 1172 |
+
"page_idx": 5
|
| 1173 |
+
},
|
| 1174 |
+
{
|
| 1175 |
+
"type": "text",
|
| 1176 |
+
"text": "In this section, first, we assess the possibly adversarial nature of post-correction. Then, we describe a synthetic error detection application, followed by a century-based error analysis we performed.",
|
| 1177 |
+
"bbox": [
|
| 1178 |
+
507,
|
| 1179 |
+
569,
|
| 1180 |
+
885,
|
| 1181 |
+
633
|
| 1182 |
+
],
|
| 1183 |
+
"page_idx": 5
|
| 1184 |
+
},
|
| 1185 |
+
{
|
| 1186 |
+
"type": "text",
|
| 1187 |
+
"text": "5.1 Substantiality assessment",
|
| 1188 |
+
"text_level": 1,
|
| 1189 |
+
"bbox": [
|
| 1190 |
+
507,
|
| 1191 |
+
646,
|
| 1192 |
+
756,
|
| 1193 |
+
663
|
| 1194 |
+
],
|
| 1195 |
+
"page_idx": 5
|
| 1196 |
+
},
|
| 1197 |
+
{
|
| 1198 |
+
"type": "text",
|
| 1199 |
+
"text": "Error-correction systems may introduce errors, even when applied to flawless HTRed texts. To assess the substantiality of this claim, we experimented with a neural encoder-decoder postcorrector. In specific, we employed a multilingual variant of the T5 Text-to-Text Transfer Transformer (Raffel et al., 2019), called MT5 (Xue et al., 2020), which was pre-trained on a dataset covering 101 languages.[17] MT5 has been used for Grammatical Error Correction in modern Greek and sets a strong baseline for HTR Error Correction (Korre and Pavlopoulos, 2022). We fine-tuned this model on the 1,875 training instances of the HTREC",
|
| 1200 |
+
"bbox": [
|
| 1201 |
+
505,
|
| 1202 |
+
671,
|
| 1203 |
+
884,
|
| 1204 |
+
879
|
| 1205 |
+
],
|
| 1206 |
+
"page_idx": 5
|
| 1207 |
+
},
|
| 1208 |
+
{
|
| 1209 |
+
"type": "page_footnote",
|
| 1210 |
+
"text": "17The Greek language was on the 20th position with 43 billion tokens extracted from 42 million pages",
|
| 1211 |
+
"bbox": [
|
| 1212 |
+
507,
|
| 1213 |
+
892,
|
| 1214 |
+
882,
|
| 1215 |
+
917
|
| 1216 |
+
],
|
| 1217 |
+
"page_idx": 5
|
| 1218 |
+
},
|
| 1219 |
+
{
|
| 1220 |
+
"type": "page_footnote",
|
| 1221 |
+
"text": "<sup>15</sup>It remains unclear to the authors whether more hands were present during these centuries, explaining the performance of the HTR and the classification models, or if this was due to another reason; e.g., writing became more cursive over time. <sup>16</sup>We sampled thirty lines, repeating sampling ten times.",
|
| 1222 |
+
"bbox": [
|
| 1223 |
+
112,
|
| 1224 |
+
854,
|
| 1225 |
+
487,
|
| 1226 |
+
917
|
| 1227 |
+
],
|
| 1228 |
+
"page_idx": 5
|
| 1229 |
+
},
|
| 1230 |
+
{
|
| 1231 |
+
"type": "page_number",
|
| 1232 |
+
"text": "7823",
|
| 1233 |
+
"bbox": [
|
| 1234 |
+
480,
|
| 1235 |
+
927,
|
| 1236 |
+
519,
|
| 1237 |
+
940
|
| 1238 |
+
],
|
| 1239 |
+
"page_idx": 5
|
| 1240 |
+
},
|
| 1241 |
+
{
|
| 1242 |
+
"type": "image",
|
| 1243 |
+
"img_path": "images/1b1fc96a65a97018d7f67907f01cd0a6068fe460d5c6b6f4d4c969915a3566d6.jpg",
|
| 1244 |
+
"image_caption": [
|
| 1245 |
+
"Figure 5: Average Precision of GreekBERT:M, pretrained on modern Greek (blue, solid), and GreekBERT:M+A, further pre-trained on ancient Greek (orange, dashed), using a rolling window over CER (left edge shown horizontally) - error bands depict $95\\%$ bootstrap confidence intervals"
|
| 1246 |
+
],
|
| 1247 |
+
"image_footnote": [],
|
| 1248 |
+
"bbox": [
|
| 1249 |
+
174,
|
| 1250 |
+
99,
|
| 1251 |
+
811,
|
| 1252 |
+
250
|
| 1253 |
+
],
|
| 1254 |
+
"page_idx": 6
|
| 1255 |
+
},
|
| 1256 |
+
{
|
| 1257 |
+
"type": "text",
|
| 1258 |
+
"text": "challenge, by encoding the system- and decoding the human-transcriptions. $^{18}$ This model is a neural error correction baseline that reduced the CER in 19 out of the 180 HTRed texts in the official HTREC2022 evaluation set. We applied this corrector on the respective 180 transcriptions of these data (the ground truth evaluation instances in HTREC2022) and found that 144 $(80\\%)$ were mistakenly altered by our MT5 corrector. For example, the line 'αν τους μηδους οινες έτε αργυρτω παρα' was altered to 'αν τους μηδους οινες έτε αργυρτω παρα' (word division, 4th word). Similarly, 'χευσης μη φονευσης μη κλε' was altered to 'χλευσεως μη φονευσεως μη κλεπτ'. Most of these adversarial mistakes (all but the top three of Table 4) would have been avoided if our GreekBERT:M+A classifier had been applied prior to the application of this neural corrector. Conversely, only four (i.e., the rest in Table 4) would have been mistakenly found as correct from the system-transcribed instances.",
|
| 1259 |
+
"bbox": [
|
| 1260 |
+
115,
|
| 1261 |
+
328,
|
| 1262 |
+
490,
|
| 1263 |
+
667
|
| 1264 |
+
],
|
| 1265 |
+
"page_idx": 6
|
| 1266 |
+
},
|
| 1267 |
+
{
|
| 1268 |
+
"type": "text",
|
| 1269 |
+
"text": "5.2 A synthetic application of error detection",
|
| 1270 |
+
"text_level": 1,
|
| 1271 |
+
"bbox": [
|
| 1272 |
+
112,
|
| 1273 |
+
678,
|
| 1274 |
+
482,
|
| 1275 |
+
694
|
| 1276 |
+
],
|
| 1277 |
+
"page_idx": 6
|
| 1278 |
+
},
|
| 1279 |
+
{
|
| 1280 |
+
"type": "text",
|
| 1281 |
+
"text": "We experimented with the HTREC2022 evaluation dataset, which was used to assess the participating systems. This dataset comprises 180 lines that were transcribed from nine images. Out of these lines, one had zero CER achieved by the HTR model (perfect transcription), which was correctly classified by our GreekBERT:M+A model. We then performed two analyses, first by applying our model on the flawless human transcriptions (as if a transcription was the HTR output) and then by applying",
|
| 1282 |
+
"bbox": [
|
| 1283 |
+
112,
|
| 1284 |
+
699,
|
| 1285 |
+
489,
|
| 1286 |
+
859
|
| 1287 |
+
],
|
| 1288 |
+
"page_idx": 6
|
| 1289 |
+
},
|
| 1290 |
+
{
|
| 1291 |
+
"type": "text",
|
| 1292 |
+
"text": "it on the flawed system recognitions (the same lines were used). The human transcriptions were correctly classified as flawless, all except three $(1.7\\%)$ error rate), which are shown in the top three rows of Table 4. The system recognitions were also correctly classified as flawed, all except four $(2.3\\%)$ error rate), shown in the last four rows of Table 4.",
|
| 1293 |
+
"bbox": [
|
| 1294 |
+
507,
|
| 1295 |
+
328,
|
| 1296 |
+
884,
|
| 1297 |
+
441
|
| 1298 |
+
],
|
| 1299 |
+
"page_idx": 6
|
| 1300 |
+
},
|
| 1301 |
+
{
|
| 1302 |
+
"type": "text",
|
| 1303 |
+
"text": "5.3 Error analysis",
|
| 1304 |
+
"text_level": 1,
|
| 1305 |
+
"bbox": [
|
| 1306 |
+
507,
|
| 1307 |
+
464,
|
| 1308 |
+
670,
|
| 1309 |
+
479
|
| 1310 |
+
],
|
| 1311 |
+
"page_idx": 6
|
| 1312 |
+
},
|
| 1313 |
+
{
|
| 1314 |
+
"type": "text",
|
| 1315 |
+
"text": "An error detection by experts in Table 4, $^{19}$ showed that no clue (indicating an error) was found for the first line (except from the rare ‘φιλαχόλουνός’ with double accent). As is shown in Figure 6 (a), which depicts the attention on the subwords of this line, this was indeed the network’s focus.",
|
| 1316 |
+
"bbox": [
|
| 1317 |
+
505,
|
| 1318 |
+
491,
|
| 1319 |
+
882,
|
| 1320 |
+
588
|
| 1321 |
+
],
|
| 1322 |
+
"page_idx": 6
|
| 1323 |
+
},
|
| 1324 |
+
{
|
| 1325 |
+
"type": "text",
|
| 1326 |
+
"text": "On the second line, word 'iσμαηλήτι' was considered as the outcome of misspelling of the word 'iσμαηλιτη', matching the algorithm's decision. In this case, it was the ending of the word that attracted attention (Fig. 6), but the network focused more on the article 'των' preceding the word rather than on the word itself. The article is in plural form, not matching a word in singular. Apparently, 'iσμαηλήτι' is not a misspelling, but part of the word 'iσμαηλιτιχων' that was corrupted.",
|
| 1327 |
+
"bbox": [
|
| 1328 |
+
505,
|
| 1329 |
+
592,
|
| 1330 |
+
882,
|
| 1331 |
+
752
|
| 1332 |
+
],
|
| 1333 |
+
"page_idx": 6
|
| 1334 |
+
},
|
| 1335 |
+
{
|
| 1336 |
+
"type": "text",
|
| 1337 |
+
"text": "In the last four lines, that were classified as correct, several flaws were raised, indicating a failure of the algorithm. For example, word divisions, such as in the case of $\\omega \\sigma x\\alpha$ instead of $\\omega \\varsigma \\chi \\alpha \\iota$ ; added characters, such as in the case of $\\varepsilon \\dot{\\upsilon}\\upsilon \\chi \\eta \\varsigma$ instead of $\\varepsilon \\dot{\\upsilon}\\chi \\eta \\varsigma$ ; character replacements, such as in the case of $\\zeta \\kappa \\tau \\varepsilon \\iota \\alpha \\nu$ instead of $\\iota \\kappa \\varepsilon \\tau \\varepsilon \\iota \\alpha \\nu$ .",
|
| 1338 |
+
"bbox": [
|
| 1339 |
+
507,
|
| 1340 |
+
757,
|
| 1341 |
+
884,
|
| 1342 |
+
869
|
| 1343 |
+
],
|
| 1344 |
+
"page_idx": 6
|
| 1345 |
+
},
|
| 1346 |
+
{
|
| 1347 |
+
"type": "page_footnote",
|
| 1348 |
+
"text": "<sup>18</sup>We used the SimpleT5 implementation (https://github.com/Shivanandroy/simpleT5) with 100 epochs, early stopping (patience of 2 epochs), 15 tokens max. length, batch size of 4, and best loss found at the 12th epoch (2.64).",
|
| 1349 |
+
"bbox": [
|
| 1350 |
+
112,
|
| 1351 |
+
868,
|
| 1352 |
+
489,
|
| 1353 |
+
917
|
| 1354 |
+
],
|
| 1355 |
+
"page_idx": 6
|
| 1356 |
+
},
|
| 1357 |
+
{
|
| 1358 |
+
"type": "page_footnote",
|
| 1359 |
+
"text": "$^{19}$ No access was given to the manuscript or the human transcription, for fair comparison with the setting of the algorithm.",
|
| 1360 |
+
"bbox": [
|
| 1361 |
+
507,
|
| 1362 |
+
892,
|
| 1363 |
+
882,
|
| 1364 |
+
917
|
| 1365 |
+
],
|
| 1366 |
+
"page_idx": 6
|
| 1367 |
+
},
|
| 1368 |
+
{
|
| 1369 |
+
"type": "page_number",
|
| 1370 |
+
"text": "7824",
|
| 1371 |
+
"bbox": [
|
| 1372 |
+
480,
|
| 1373 |
+
927,
|
| 1374 |
+
519,
|
| 1375 |
+
940
|
| 1376 |
+
],
|
| 1377 |
+
"page_idx": 6
|
| 1378 |
+
},
|
| 1379 |
+
{
|
| 1380 |
+
"type": "table",
|
| 1381 |
+
"img_path": "images/3d80b8cc0fcc53cfd920a7b99a4eddab0d31a0f381045f95879284e656341f9a.jpg",
|
| 1382 |
+
"table_caption": [],
|
| 1383 |
+
"table_footnote": [],
|
| 1384 |
+
"table_body": "<table><tr><td>TRANSCRIPTIONS AND HTR OUTPUT</td><td>GREEKBERT:M+A</td><td>GT</td></tr><tr><td>èγώ δ ἀεί πως φιλαχόλουθός εἰμι(I am always readily following)</td><td>F</td><td>N</td></tr><tr><td>λα και γέδεων εκ τών σχύλων τών ομαηλητι(- and Gedeon from the dogs the - )</td><td>F</td><td>N</td></tr><tr><td>δραμων εἰς και γόνυπετη(having run to and falling on the knee)</td><td>F</td><td>N</td></tr><tr><td>τιθεις τας χειρας επαυτα(having put the hands on them)</td><td>F</td><td>N</td></tr><tr><td>ζετείαν χέδεσποτα, και ευμενώς Ἁκουσου τών τής προς εύυχης(- - - and favourably listen to the of the prayer)</td><td>N</td><td>F</td></tr><tr><td>èγενόμην icos. αραή τής μεό τιεγεζήθης ἐλειεμοήτιριος(became - - - - - )</td><td>N</td><td>F</td></tr><tr><td>ωσααι τής συνεχους διδασκαλιας τους βα(- of the continuous instruction the - )</td><td>N</td><td>F</td></tr></table>",
|
| 1385 |
+
"bbox": [
|
| 1386 |
+
126,
|
| 1387 |
+
80,
|
| 1388 |
+
870,
|
| 1389 |
+
329
|
| 1390 |
+
],
|
| 1391 |
+
"page_idx": 7
|
| 1392 |
+
},
|
| 1393 |
+
{
|
| 1394 |
+
"type": "text",
|
| 1395 |
+
"text": "Table 4: HTRed lines and transcriptions that GreekBERT:M+A mistakenly predicted as flawed (F) or not (N) - the ground truth (GT) on the right shows whether there was an error or not",
|
| 1396 |
+
"bbox": [
|
| 1397 |
+
112,
|
| 1398 |
+
338,
|
| 1399 |
+
882,
|
| 1400 |
+
368
|
| 1401 |
+
],
|
| 1402 |
+
"page_idx": 7
|
| 1403 |
+
},
|
| 1404 |
+
{
|
| 1405 |
+
"type": "text",
|
| 1406 |
+
"text": "Error patterns",
|
| 1407 |
+
"text_level": 1,
|
| 1408 |
+
"bbox": [
|
| 1409 |
+
112,
|
| 1410 |
+
394,
|
| 1411 |
+
235,
|
| 1412 |
+
407
|
| 1413 |
+
],
|
| 1414 |
+
"page_idx": 7
|
| 1415 |
+
},
|
| 1416 |
+
{
|
| 1417 |
+
"type": "text",
|
| 1418 |
+
"text": "Next, we proceed with an analysis of the recognition errors, using data from three centuries. We opt for 16th CE, the century on which both our models perform considerably well (Fig. 4). Next, we focus on the 14th CE, going back two centuries, but still observing good performance by both models. Last is shown the 13th CE, where GreekBERT:M performs much worse than GreekBERT:M+A.",
|
| 1419 |
+
"bbox": [
|
| 1420 |
+
112,
|
| 1421 |
+
413,
|
| 1422 |
+
489,
|
| 1423 |
+
541
|
| 1424 |
+
],
|
| 1425 |
+
"page_idx": 7
|
| 1426 |
+
},
|
| 1427 |
+
{
|
| 1428 |
+
"type": "text",
|
| 1429 |
+
"text": "16th CE This is the data group with the highest average CER (see Figure 3). What seems to be challenging in this data group is the fact that there is a variety of punctuation marks which are sometimes read by the model as letters because of their shape. An illustrative example of this case is the word 'πλοῦς' which is read by the model as 'πλούου'. This is due to a comma following the word 'πλοῦς', which is very similar to the last letter of the word (ς). There are also many cases of ligatures in which the model fails to recognise both letters, especially the one written on the top of the ligature, such as the letter 'τ' in the combination 'τρ' as one can see in the following instance; 'ω πατρις' read as 'ως ωπαρις'.",
|
| 1430 |
+
"bbox": [
|
| 1431 |
+
112,
|
| 1432 |
+
552,
|
| 1433 |
+
489,
|
| 1434 |
+
796
|
| 1435 |
+
],
|
| 1436 |
+
"page_idx": 7
|
| 1437 |
+
},
|
| 1438 |
+
{
|
| 1439 |
+
"type": "text",
|
| 1440 |
+
"text": "14th CE The data from the 14th century show the second highest CER on average (see Figure 3). This is partly because of a great number of ligatures appearing in this data group. A common ligature among this group is the one which represents the group of the letters $\\varepsilon$ and $\\rho$ . In this ligature it happens that the letter $\\varepsilon$ is written above the letter",
|
| 1441 |
+
"bbox": [
|
| 1442 |
+
112,
|
| 1443 |
+
806,
|
| 1444 |
+
489,
|
| 1445 |
+
919
|
| 1446 |
+
],
|
| 1447 |
+
"page_idx": 7
|
| 1448 |
+
},
|
| 1449 |
+
{
|
| 1450 |
+
"type": "text",
|
| 1451 |
+
"text": "$\\varphi^{\\prime}$ . The way the model interprets this structure can be seen in the following case; $\\varphi \\acute{\\varepsilon} \\rho^{\\prime} \\dot{\\varepsilon} \\pi^{\\prime} \\omega \\tau \\eta \\nu$ $\\iota \\omega$ , where $\\varphi \\acute{\\varepsilon} \\rho^{\\prime}$ consists of one letter $(\\varphi)$ and one ligature $(\\varepsilon \\rho)$ is read by the model as $\\varphi \\varepsilon \\pi \\alpha \\omega \\tau \\eta \\nu$ $\\iota \\varsigma \\omega$ . The model fails reading correctly the letter combination and returns only the letter $\\varphi^{\\prime}$ and one of the two letters involved in the $\\varepsilon \\rho^{\\prime}$ combination $(\\rho)$ , which is actually the one written in the position next to the letter $\\varphi^{\\prime}$ . The same instance shows clearly that there is a tendency towards adding characters because of different drawing representations of characters found in this data group. The letter $\\omega$ can be considered such a case. In the previous example, we can see that the word $\\iota \\omega$ is read by the model as $\\iota \\varsigma \\omega$ . This is because, in this instance, the letter $\\omega$ has the shape of a laid eight. The same letter has the usual shape in other cases in the text of this century, which was quite confusing for the model and led the model to decide that it should be a combination of both $\\sigma^{\\prime}$ and $\\omega^{\\prime}$ , since the former is quite close to the half laid-eight shape.",
|
| 1452 |
+
"bbox": [
|
| 1453 |
+
505,
|
| 1454 |
+
393,
|
| 1455 |
+
884,
|
| 1456 |
+
732
|
| 1457 |
+
],
|
| 1458 |
+
"page_idx": 7
|
| 1459 |
+
},
|
| 1460 |
+
{
|
| 1461 |
+
"type": "text",
|
| 1462 |
+
"text": "13th CE The data group that is easiest to read for the model seems to be the 13th century one. In this group, errors appear mainly because of special letter shapes and abbreviations. Such a letter shape is that of the letter $\\varepsilon$ which is written as the letter $\\delta$ with an added line pointing upwards. A characteristic example of the failure of the recognition task is this one; $\\tilde{\\varepsilon}\\omega\\varsigma$ is read as $\\delta\\omega\\varsigma$ . Here the model has clearly classified the $\\tilde{\\varepsilon}$ as a $\\delta$ . Regarding the abbreviations representing character groups, one can find among others the following",
|
| 1463 |
+
"bbox": [
|
| 1464 |
+
507,
|
| 1465 |
+
741,
|
| 1466 |
+
885,
|
| 1467 |
+
919
|
| 1468 |
+
],
|
| 1469 |
+
"page_idx": 7
|
| 1470 |
+
},
|
| 1471 |
+
{
|
| 1472 |
+
"type": "page_number",
|
| 1473 |
+
"text": "7825",
|
| 1474 |
+
"bbox": [
|
| 1475 |
+
480,
|
| 1476 |
+
927,
|
| 1477 |
+
519,
|
| 1478 |
+
940
|
| 1479 |
+
],
|
| 1480 |
+
"page_idx": 7
|
| 1481 |
+
},
|
| 1482 |
+
{
|
| 1483 |
+
"type": "image",
|
| 1484 |
+
"img_path": "images/b2b7a82b084099725c5d3a11f87f09630850cb3ae1b16ac4f0a3d88595c1dd97.jpg",
|
| 1485 |
+
"image_caption": [
|
| 1486 |
+
"(c) $\\delta \\rho \\alpha \\mu \\omega \\nu \\varepsilon \\varepsilon \\varepsilon \\varepsilon \\varepsilon \\varepsilon \\varepsilon \\varepsilon \\varepsilon \\varepsilon \\varepsilon \\varepsilon \\varepsilon \\varepsilon \\varepsilon \\varepsilon \\varepsilon \\varepsilon \\varepsilon \\varepsilon \\varepsilon \\varepsilon \\varepsilon \\varepsilon \\varepsilon \\vareeta$",
|
| 1487 |
+
"Figure 6: The attention of GreekBERT:M+A (darker is more) for the three top (missclassified) lines of Table 4 - the symbol ## is used to concatenate a subword with the preceding one during tokenisation ( $\\delta \\rho \\alpha \\mu \\omega \\nu$ is $\\delta \\rho \\alpha \\# \\mu \\omega \\nu$ )"
|
| 1488 |
+
],
|
| 1489 |
+
"image_footnote": [],
|
| 1490 |
+
"bbox": [
|
| 1491 |
+
115,
|
| 1492 |
+
83,
|
| 1493 |
+
878,
|
| 1494 |
+
204
|
| 1495 |
+
],
|
| 1496 |
+
"page_idx": 8
|
| 1497 |
+
},
|
| 1498 |
+
{
|
| 1499 |
+
"type": "text",
|
| 1500 |
+
"text": "one; $\\alpha v$ . In the case of ouxioov, where the last two letters are represented by the abbreviation, the model reads ouxoX, where $\\omega$ has replaced the abbreviation because of similarity in shape.",
|
| 1501 |
+
"bbox": [
|
| 1502 |
+
112,
|
| 1503 |
+
294,
|
| 1504 |
+
487,
|
| 1505 |
+
357
|
| 1506 |
+
],
|
| 1507 |
+
"page_idx": 8
|
| 1508 |
+
},
|
| 1509 |
+
{
|
| 1510 |
+
"type": "text",
|
| 1511 |
+
"text": "5.4 Language and script generalisation",
|
| 1512 |
+
"text_level": 1,
|
| 1513 |
+
"bbox": [
|
| 1514 |
+
112,
|
| 1515 |
+
372,
|
| 1516 |
+
436,
|
| 1517 |
+
387
|
| 1518 |
+
],
|
| 1519 |
+
"page_idx": 8
|
| 1520 |
+
},
|
| 1521 |
+
{
|
| 1522 |
+
"type": "text",
|
| 1523 |
+
"text": "Our work can potentially inspire analogous pretraining in other languages with a long documented history. To provide an example: Old, Middle, and Modern English and Japanese (Lyovin, 1997, pp. 2) can qualify for pre-training on both Old and Modern data, as in the Greek language in our case. The scripts our results are based on, however, are very common both in Greek and Latin manuscripts while common handwritten character shapes, e.g., epsilon (E) (Chambers and Chambers, 1891, pp. 703), may illuminate error patterns in Latin scripts.",
|
| 1524 |
+
"bbox": [
|
| 1525 |
+
112,
|
| 1526 |
+
394,
|
| 1527 |
+
489,
|
| 1528 |
+
571
|
| 1529 |
+
],
|
| 1530 |
+
"page_idx": 8
|
| 1531 |
+
},
|
| 1532 |
+
{
|
| 1533 |
+
"type": "text",
|
| 1534 |
+
"text": "6 Conclusion",
|
| 1535 |
+
"text_level": 1,
|
| 1536 |
+
"bbox": [
|
| 1537 |
+
112,
|
| 1538 |
+
586,
|
| 1539 |
+
245,
|
| 1540 |
+
600
|
| 1541 |
+
],
|
| 1542 |
+
"page_idx": 8
|
| 1543 |
+
},
|
| 1544 |
+
{
|
| 1545 |
+
"type": "text",
|
| 1546 |
+
"text": "This work showed that detecting erroneous recognised lines improves the accuracy of handwritten Byzantine text recognition, aiming to assist the disciplines struggling with vast corpora and little man power. By contrast to printed text, errors in handwritten text vary greatly, some of which are easier and others difficult to catch. Our experiments showed that two BERT models, one pre-trained in modern and the other pre-trained in modern then in ancient Greek perform well for the task of erroneous handwritten recognised text classification. The latter performs better, especially for manuscripts from older centuries and for lines with higher recognition error rate. By using a neural text-to-text Transformer for error correction along with our best performing classifier, we found that adversarial behaviour is not uncommon in the neural corrector's output which could have been significantly limited if a BERT classifier, pre-trained and",
|
| 1547 |
+
"bbox": [
|
| 1548 |
+
112,
|
| 1549 |
+
613,
|
| 1550 |
+
489,
|
| 1551 |
+
917
|
| 1552 |
+
],
|
| 1553 |
+
"page_idx": 8
|
| 1554 |
+
},
|
| 1555 |
+
{
|
| 1556 |
+
"type": "text",
|
| 1557 |
+
"text": "fine-tuned, had classified the input first.",
|
| 1558 |
+
"bbox": [
|
| 1559 |
+
507,
|
| 1560 |
+
294,
|
| 1561 |
+
803,
|
| 1562 |
+
309
|
| 1563 |
+
],
|
| 1564 |
+
"page_idx": 8
|
| 1565 |
+
},
|
| 1566 |
+
{
|
| 1567 |
+
"type": "text",
|
| 1568 |
+
"text": "Directions of future work comprise the development of a larger dataset, which, although not easily developed in our domain of focus, it could potentially allow us to draw more conclusions and lead to further findings. Furthermore, we plan to extend our dataset with calibrated evaluation subsets, in order to gain more perspective on the performance of systems for specific error types, including ones that occur naturally and are not meant to be corrected.",
|
| 1569 |
+
"bbox": [
|
| 1570 |
+
507,
|
| 1571 |
+
310,
|
| 1572 |
+
882,
|
| 1573 |
+
455
|
| 1574 |
+
],
|
| 1575 |
+
"page_idx": 8
|
| 1576 |
+
},
|
| 1577 |
+
{
|
| 1578 |
+
"type": "text",
|
| 1579 |
+
"text": "Limitations",
|
| 1580 |
+
"text_level": 1,
|
| 1581 |
+
"bbox": [
|
| 1582 |
+
509,
|
| 1583 |
+
468,
|
| 1584 |
+
613,
|
| 1585 |
+
482
|
| 1586 |
+
],
|
| 1587 |
+
"page_idx": 8
|
| 1588 |
+
},
|
| 1589 |
+
{
|
| 1590 |
+
"type": "list",
|
| 1591 |
+
"sub_type": "text",
|
| 1592 |
+
"list_items": [
|
| 1593 |
+
"- Our study is focused on Byzantine Greek, from the 10th to the 16th century. Our hypothesis, that text classification could assist the post correction of HTRd output, should be studied for more languages and covering a longer period to draw general conclusions.",
|
| 1594 |
+
"- By contrast to OCR, where low CER values are reported, HTRd output can significantly differ from the human transcription. For example, correct text may be misplaced (e.g., due to mistaken word division) or by the introduction of an extra character (e.g., the last word of the fifth line in Table 4). Hence, the creation of ground truth at the character level is very challenging in this context, hindering experimentation at the token or the character level, as in OCR (Schulz and Kuhn, 2017; Schaefer and Neudecker, 2020).",
|
| 1595 |
+
"- Sensitivity analysis has not been performed. Although we repeated our experiments to verify the validity of our findings regarding GreekBERT, we have not experimented with cross validation over the centuries, as in (Platanou et al., 2022). Training, however, an algorithm on texts from specific centuries, then as"
|
| 1596 |
+
],
|
| 1597 |
+
"bbox": [
|
| 1598 |
+
531,
|
| 1599 |
+
493,
|
| 1600 |
+
884,
|
| 1601 |
+
917
|
| 1602 |
+
],
|
| 1603 |
+
"page_idx": 8
|
| 1604 |
+
},
|
| 1605 |
+
{
|
| 1606 |
+
"type": "page_number",
|
| 1607 |
+
"text": "7826",
|
| 1608 |
+
"bbox": [
|
| 1609 |
+
480,
|
| 1610 |
+
928,
|
| 1611 |
+
519,
|
| 1612 |
+
940
|
| 1613 |
+
],
|
| 1614 |
+
"page_idx": 8
|
| 1615 |
+
},
|
| 1616 |
+
{
|
| 1617 |
+
"type": "text",
|
| 1618 |
+
"text": "sessing on ones from previous or future ones, could potentially reveal interesting patterns.",
|
| 1619 |
+
"bbox": [
|
| 1620 |
+
149,
|
| 1621 |
+
85,
|
| 1622 |
+
487,
|
| 1623 |
+
116
|
| 1624 |
+
],
|
| 1625 |
+
"page_idx": 9
|
| 1626 |
+
},
|
| 1627 |
+
{
|
| 1628 |
+
"type": "text",
|
| 1629 |
+
"text": "- Diplomatic transcriptions may lead to naturally-occurring errors (i.e., ones the editors would want to keep, to stay as close to the original as possible), which our proposed classifiers could and probably would classify as incorrect recognition output. This limitation could be bypassed if the proposed systems are used complementary with an expert, not trying to substitute one. For example, the expert could view only lines the classifier labelled as incorrect, bypassing or acknowledging errors which were meant to be there.",
|
| 1630 |
+
"bbox": [
|
| 1631 |
+
136,
|
| 1632 |
+
127,
|
| 1633 |
+
489,
|
| 1634 |
+
335
|
| 1635 |
+
],
|
| 1636 |
+
"page_idx": 9
|
| 1637 |
+
},
|
| 1638 |
+
{
|
| 1639 |
+
"type": "text",
|
| 1640 |
+
"text": "References",
|
| 1641 |
+
"text_level": 1,
|
| 1642 |
+
"bbox": [
|
| 1643 |
+
115,
|
| 1644 |
+
375,
|
| 1645 |
+
213,
|
| 1646 |
+
390
|
| 1647 |
+
],
|
| 1648 |
+
"page_idx": 9
|
| 1649 |
+
},
|
| 1650 |
+
{
|
| 1651 |
+
"type": "list",
|
| 1652 |
+
"sub_type": "ref_text",
|
| 1653 |
+
"list_items": [
|
| 1654 |
+
"Chantal Amrhein and Simon Clematide. 2018. SupervisedOCR error detection and correction using statistical and neural machine translation methods. Journal for Language Technology and Computational Linguistics (JLCL), 33(1):49-76.",
|
| 1655 |
+
"William Chambers and Robert Chambers. 1891. Chambers' Encyclopaedia: A Dictionary of Universal Knowledge, volume 8. W. & R. Chambers.",
|
| 1656 |
+
"Guillaume Chiron, Antoine Doucet, Mickaël Coustaty, and Jean-Philippe Moreux. 2017. Icdar2017 competition on post-ocr text correction. In 2017 14th IAPR International Conference on Document Analysis and Recognition (ICDAR), volume 1, pages 1423-1428, Kyoto, Japan.",
|
| 1657 |
+
"Dana Dannélls and Shafqat Virk. 2021. A supervised machine learning approach for post-ocr error detection for historical text. In Swedish Language Technology Conference and NLP4CALL, pages 13-20.",
|
| 1658 |
+
"Jacob Devlin, Ming-Wei Chang, Kenton Lee, and Kristina Toutanova. 2018. Bert: Pre-training of deep bidirectional transformers for language understanding. arXiv preprint arXiv:1810.04805.",
|
| 1659 |
+
"Tobias Mathias Hodel, David Selim Schoch, Christa Schneider, and Jake Purcell. 2021. General models for handwritten text recognition: feasibility and state-of-the-art. german current as an example. Journal of open humanities data, 7(13):1-10.",
|
| 1660 |
+
"Geoffrey Horrocks. 2014. Greek: A History of the Language and its Speakers. John Wiley & Sons.",
|
| 1661 |
+
"Adam Jatowt, Mickaël Coustaty, Nhu-Van Nguyen, Antoine Doucet, et al. 2019. Post-ocr error detection by generating plausible candidates. In 2019 International Conference on Document Analysis and Recognition (ICDAR), pages 876-881, Sydney, Australia."
|
| 1662 |
+
],
|
| 1663 |
+
"bbox": [
|
| 1664 |
+
115,
|
| 1665 |
+
398,
|
| 1666 |
+
489,
|
| 1667 |
+
917
|
| 1668 |
+
],
|
| 1669 |
+
"page_idx": 9
|
| 1670 |
+
},
|
| 1671 |
+
{
|
| 1672 |
+
"type": "list",
|
| 1673 |
+
"sub_type": "ref_text",
|
| 1674 |
+
"list_items": [
|
| 1675 |
+
"Armand Joulin, Edouard Grave, Piotr Bojanowski, and Tomas Mikolov. 2017. Bag of tricks for efficient text classification. In Proceedings of the 15th Conference of the European Chapter of the Association for Computational Linguistics: Volume 2, Short Papers, pages 427-431. Association for Computational Linguistics.",
|
| 1676 |
+
"Philip Kahle, Sebastian Colutto, Günter Hackl, and Günter Mühlberger. 2017. Transkribus - a service platform for transcription, recognition and retrieval of historical documents. In 2017 14th IAPR International Conference on Document Analysis and Recognition (ICDAR), volume 04, pages 19-24.",
|
| 1677 |
+
"Katerina Korre and John Pavlopoulos. 2022. Enriching grammatical error correction resources for Modern Greek. In Proceedings of the Thirteenth Language Resources and Evaluation Conference, pages 4984-4991, Marseille, France. European Language Resources Association.",
|
| 1678 |
+
"John Koutsikakis, Ilias Chalkidis, Prodromos Malakasiotis, and Ion Androutsopoulos. 2020. Greek-bert: The greeks visiting sesame street. In 11th Hellenic Conference on Artificial Intelligence, pages 110-117.",
|
| 1679 |
+
"Qian Li, Hao Peng, Jianxin Li, Congying Xia, Renyu Yang, Lichao Sun, Philip S Yu, and Lifang He. 2022. A survey on text classification: From traditional to deep learning. ACM Transactions on Intelligent Systems and Technology (TIST), 13(2):1-41.",
|
| 1680 |
+
"Anatole Lyovin. 1997. An Introduction to the Languages of the World. Oxford University Press, USA.",
|
| 1681 |
+
"Lijun Lyu, Maria Koutraki, Martin Krickl, and Besnik Fetahu. 2021. NeuralOCR post-hoc correction of historical corpora. Transactions of the Association for Computational Linguistics, pages 479-493.",
|
| 1682 |
+
"Arun S. Maiya. 2020. ktrain: A low-code library for augmented machine learning. arXiv preprint arXiv:2004.10703.",
|
| 1683 |
+
"Barbara McGillivray, Thierry Poibeaun, and Pablo Ruiz Fabo. 2020. Digital humanities and natural language processing: \"je t'aime... moi non plus\".",
|
| 1684 |
+
"Shervin Minaee, Nal Kalchbrenner, Erik Cambria, Narjes Nikzad, Meysam Chenaghlu, and Jianfeng Gao. 2021. Deep learning-based text classification: a comprehensive review. ACM Computing Surveys (CSUR), 54(3):1-40.",
|
| 1685 |
+
"Thi Tuyet Hai Nguyen, Adam Jatowt, Nhu-Van Nguyen, Mickael Coustaty, and Antoine Doucet. 2020. Neural machine translation with bert for post-ocr error detection and correction. In Proceedings of the ACM/IEEE joint conference on digital libraries in 2020, pages 333-336.",
|
| 1686 |
+
"John Pavlopoulos, Vasiliki Kougia, Paraskevi Platanou, Stepan Shabalin, Konstantina Liagkou, Emmanouil Papadatos, Holger Essler, Jean-Baptiste Camps, and Franz Fischer. 2023. Error correcting htr'ed byzantine text."
|
| 1687 |
+
],
|
| 1688 |
+
"bbox": [
|
| 1689 |
+
510,
|
| 1690 |
+
85,
|
| 1691 |
+
884,
|
| 1692 |
+
917
|
| 1693 |
+
],
|
| 1694 |
+
"page_idx": 9
|
| 1695 |
+
},
|
| 1696 |
+
{
|
| 1697 |
+
"type": "page_number",
|
| 1698 |
+
"text": "7827",
|
| 1699 |
+
"bbox": [
|
| 1700 |
+
480,
|
| 1701 |
+
928,
|
| 1702 |
+
519,
|
| 1703 |
+
940
|
| 1704 |
+
],
|
| 1705 |
+
"page_idx": 9
|
| 1706 |
+
},
|
| 1707 |
+
{
|
| 1708 |
+
"type": "list",
|
| 1709 |
+
"sub_type": "ref_text",
|
| 1710 |
+
"list_items": [
|
| 1711 |
+
"Paraskevi Platanou, John Pavlopoulos, and Georgios Papaioannou. 2022. Handwritten paleographic greek text recognition: A century-based approach. In Proceedings of the Thirteenth Language Resources and Evaluation Conference, pages 6585-6589.",
|
| 1712 |
+
"Colin Raffel, Noam Shazeer, Adam Roberts, Katherine Lee, Sharan Narang, Michael Matena, Yanqi Zhou, Wei Li, and Peter J Liu. 2019. Exploring the limits of transfer learning with a unified text-to-text transformer. arXiv preprint arXiv:1910.10683.",
|
| 1713 |
+
"Christophe Rigaud, Antoine Doucet, Mickaël Coustaty, and Jean-Philippe Moreux. 2019. Icdar 2019 competition on post-ocr text correction. In 2019 international conference on document analysis and recognition (ICDAR), pages 1588-1593, Sydney, Australia.",
|
| 1714 |
+
"Robin Schaefer and Clemens Neudecker. 2020. A two-step approach for automaticOCR post-correction. In Proceedings of the The 4th Joint SIGHUM Workshop on Computational Linguistics for Cultural Heritage, Social Sciences, Humanities and Literature, pages 52-57, held online.",
|
| 1715 |
+
"Sarah Schulz and Jonas Kuhn. 2017. Multi-modular domain-tailoredOCR post-correction. In Proceedings of the 2017 Conference on Empirical Methods in Natural Language Processing, pages 2716-2726, Copenhagen, Denmark.",
|
| 1716 |
+
"Pranaydeep Singh, Gorik Rutten, and Els Lefever. 2021. A pilot study for bert language modelling and morphological analysis for ancient and medieval greek. In The 5th Joint SIGHUM Workshop on Computational Linguistics for Cultural Heritage, Social Sciences, Humanities and Literature (LaTeCH-CLfL 2021).",
|
| 1717 |
+
"Phillip Benjamin Ströbel, Simon Clematide, Martin Volk, Raphael Schwitter, Tobias Hodel, and David Schoch. 2022. Evaluation of htr models without ground truth material. arXiv preprint arXiv:2201.06170.",
|
| 1718 |
+
"Shafqat Mumtaz Virk, Dana Dannélls, and Azam Sheikh Muhammad. 2021. A novel machine learning based approach for post-ocr error detection. In Proceedings of the International Conference on Recent Advances in Natural Language Processing (RANLP 2021), pages 1463–1470, Varna, Bulgaria.",
|
| 1719 |
+
"Sida Wang and Christopher Manning. 2012. Baselines and bigrams: Simple, good sentiment and topic classification. In Proceedings of the 50th Annual Meeting of the Association for Computational Linguistics (Volume 2: Short Papers), pages 90-94, Jeju Island, Korea. Association for Computational Linguistics.",
|
| 1720 |
+
"Linting Xue, Noah Constant, Adam Roberts, Mihir Kale, Rami Al-Rfou, Aditya Siddhant, Aditya Barua, and Colin Raffel. 2020. mt5: A massively multilingual pre-trained text-to-text transformer. arXiv preprint arXiv:2010.11934."
|
| 1721 |
+
],
|
| 1722 |
+
"bbox": [
|
| 1723 |
+
115,
|
| 1724 |
+
85,
|
| 1725 |
+
489,
|
| 1726 |
+
917
|
| 1727 |
+
],
|
| 1728 |
+
"page_idx": 10
|
| 1729 |
+
},
|
| 1730 |
+
{
|
| 1731 |
+
"type": "ref_text",
|
| 1732 |
+
"text": "Linting Xue, Noah Constant, Adam Roberts, Mihir Kale, Rami Al-Rfou, Aditya Siddhant, Aditya Barua, and Colin Raffel. 2021. mT5: A massively multilingual pre-trained text-to-text transformer. In Proceedings of the 2021 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, pages 483-498, Online. Association for Computational Linguistics.",
|
| 1733 |
+
"bbox": [
|
| 1734 |
+
510,
|
| 1735 |
+
85,
|
| 1736 |
+
882,
|
| 1737 |
+
190
|
| 1738 |
+
],
|
| 1739 |
+
"page_idx": 10
|
| 1740 |
+
},
|
| 1741 |
+
{
|
| 1742 |
+
"type": "page_number",
|
| 1743 |
+
"text": "7828",
|
| 1744 |
+
"bbox": [
|
| 1745 |
+
480,
|
| 1746 |
+
928,
|
| 1747 |
+
519,
|
| 1748 |
+
940
|
| 1749 |
+
],
|
| 1750 |
+
"page_idx": 10
|
| 1751 |
+
}
|
| 1752 |
+
]
|
2023/Detecting Erroneously Recognized Handwritten Byzantine Text/e23fb75f-6ceb-4c26-9972-d5c23aa51bcb_model.json
ADDED
|
@@ -0,0 +1,2191 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[
|
| 2 |
+
[
|
| 3 |
+
{
|
| 4 |
+
"type": "title",
|
| 5 |
+
"bbox": [
|
| 6 |
+
0.177,
|
| 7 |
+
0.089,
|
| 8 |
+
0.82,
|
| 9 |
+
0.11
|
| 10 |
+
],
|
| 11 |
+
"angle": 0,
|
| 12 |
+
"content": "Detecting Erroneous Handwritten Byzantine Text Recognition"
|
| 13 |
+
},
|
| 14 |
+
{
|
| 15 |
+
"type": "text",
|
| 16 |
+
"bbox": [
|
| 17 |
+
0.257,
|
| 18 |
+
0.124,
|
| 19 |
+
0.411,
|
| 20 |
+
0.14
|
| 21 |
+
],
|
| 22 |
+
"angle": 0,
|
| 23 |
+
"content": "John Pavlopoulos"
|
| 24 |
+
},
|
| 25 |
+
{
|
| 26 |
+
"type": "text",
|
| 27 |
+
"bbox": [
|
| 28 |
+
0.225,
|
| 29 |
+
0.142,
|
| 30 |
+
0.443,
|
| 31 |
+
0.157
|
| 32 |
+
],
|
| 33 |
+
"angle": 0,
|
| 34 |
+
"content": "Department of Informatics"
|
| 35 |
+
},
|
| 36 |
+
{
|
| 37 |
+
"type": "text",
|
| 38 |
+
"bbox": [
|
| 39 |
+
0.147,
|
| 40 |
+
0.158,
|
| 41 |
+
0.522,
|
| 42 |
+
0.173
|
| 43 |
+
],
|
| 44 |
+
"angle": 0,
|
| 45 |
+
"content": "Athens University of Economics and Business"
|
| 46 |
+
},
|
| 47 |
+
{
|
| 48 |
+
"type": "text",
|
| 49 |
+
"bbox": [
|
| 50 |
+
0.304,
|
| 51 |
+
0.175,
|
| 52 |
+
0.364,
|
| 53 |
+
0.188
|
| 54 |
+
],
|
| 55 |
+
"angle": 0,
|
| 56 |
+
"content": "Greece"
|
| 57 |
+
},
|
| 58 |
+
{
|
| 59 |
+
"type": "text",
|
| 60 |
+
"bbox": [
|
| 61 |
+
0.268,
|
| 62 |
+
0.192,
|
| 63 |
+
0.401,
|
| 64 |
+
0.206
|
| 65 |
+
],
|
| 66 |
+
"angle": 0,
|
| 67 |
+
"content": "annis@aueb.gr"
|
| 68 |
+
},
|
| 69 |
+
{
|
| 70 |
+
"type": "text",
|
| 71 |
+
"bbox": [
|
| 72 |
+
0.599,
|
| 73 |
+
0.124,
|
| 74 |
+
0.734,
|
| 75 |
+
0.14
|
| 76 |
+
],
|
| 77 |
+
"angle": 0,
|
| 78 |
+
"content": "Vasiliki Kougia"
|
| 79 |
+
},
|
| 80 |
+
{
|
| 81 |
+
"type": "text",
|
| 82 |
+
"bbox": [
|
| 83 |
+
0.547,
|
| 84 |
+
0.141,
|
| 85 |
+
0.786,
|
| 86 |
+
0.157
|
| 87 |
+
],
|
| 88 |
+
"angle": 0,
|
| 89 |
+
"content": "Faculty of Computer Science"
|
| 90 |
+
},
|
| 91 |
+
{
|
| 92 |
+
"type": "text",
|
| 93 |
+
"bbox": [
|
| 94 |
+
0.547,
|
| 95 |
+
0.158,
|
| 96 |
+
0.787,
|
| 97 |
+
0.173
|
| 98 |
+
],
|
| 99 |
+
"angle": 0,
|
| 100 |
+
"content": "University of Vienna, Austria"
|
| 101 |
+
},
|
| 102 |
+
{
|
| 103 |
+
"type": "text",
|
| 104 |
+
"bbox": [
|
| 105 |
+
0.492,
|
| 106 |
+
0.175,
|
| 107 |
+
0.841,
|
| 108 |
+
0.19
|
| 109 |
+
],
|
| 110 |
+
"angle": 0,
|
| 111 |
+
"content": "UniVie Doctoral School Computer Science"
|
| 112 |
+
},
|
| 113 |
+
{
|
| 114 |
+
"type": "text",
|
| 115 |
+
"bbox": [
|
| 116 |
+
0.525,
|
| 117 |
+
0.191,
|
| 118 |
+
0.808,
|
| 119 |
+
0.206
|
| 120 |
+
],
|
| 121 |
+
"angle": 0,
|
| 122 |
+
"content": "vasiliki.kougia@univie.ac.at"
|
| 123 |
+
},
|
| 124 |
+
{
|
| 125 |
+
"type": "text",
|
| 126 |
+
"bbox": [
|
| 127 |
+
0.246,
|
| 128 |
+
0.228,
|
| 129 |
+
0.417,
|
| 130 |
+
0.242
|
| 131 |
+
],
|
| 132 |
+
"angle": 0,
|
| 133 |
+
"content": "Paraskevi Platanou"
|
| 134 |
+
},
|
| 135 |
+
{
|
| 136 |
+
"type": "text",
|
| 137 |
+
"bbox": [
|
| 138 |
+
0.139,
|
| 139 |
+
0.244,
|
| 140 |
+
0.525,
|
| 141 |
+
0.262
|
| 142 |
+
],
|
| 143 |
+
"angle": 0,
|
| 144 |
+
"content": "Department of Philology, School of Philosophy"
|
| 145 |
+
},
|
| 146 |
+
{
|
| 147 |
+
"type": "text",
|
| 148 |
+
"bbox": [
|
| 149 |
+
0.214,
|
| 150 |
+
0.263,
|
| 151 |
+
0.45,
|
| 152 |
+
0.278
|
| 153 |
+
],
|
| 154 |
+
"angle": 0,
|
| 155 |
+
"content": "University of Athens, Greece"
|
| 156 |
+
},
|
| 157 |
+
{
|
| 158 |
+
"type": "text",
|
| 159 |
+
"bbox": [
|
| 160 |
+
0.224,
|
| 161 |
+
0.279,
|
| 162 |
+
0.438,
|
| 163 |
+
0.294
|
| 164 |
+
],
|
| 165 |
+
"angle": 0,
|
| 166 |
+
"content": "pplatanou@phil.uoa.gr"
|
| 167 |
+
},
|
| 168 |
+
{
|
| 169 |
+
"type": "text",
|
| 170 |
+
"bbox": [
|
| 171 |
+
0.606,
|
| 172 |
+
0.228,
|
| 173 |
+
0.728,
|
| 174 |
+
0.244
|
| 175 |
+
],
|
| 176 |
+
"angle": 0,
|
| 177 |
+
"content": "Holger Essler"
|
| 178 |
+
},
|
| 179 |
+
{
|
| 180 |
+
"type": "text",
|
| 181 |
+
"bbox": [
|
| 182 |
+
0.558,
|
| 183 |
+
0.245,
|
| 184 |
+
0.776,
|
| 185 |
+
0.261
|
| 186 |
+
],
|
| 187 |
+
"angle": 0,
|
| 188 |
+
"content": "Department of Humanities"
|
| 189 |
+
},
|
| 190 |
+
{
|
| 191 |
+
"type": "text",
|
| 192 |
+
"bbox": [
|
| 193 |
+
0.513,
|
| 194 |
+
0.262,
|
| 195 |
+
0.821,
|
| 196 |
+
0.278
|
| 197 |
+
],
|
| 198 |
+
"angle": 0,
|
| 199 |
+
"content": "Ca'Foscari University of Venice, Italy"
|
| 200 |
+
},
|
| 201 |
+
{
|
| 202 |
+
"type": "text",
|
| 203 |
+
"bbox": [
|
| 204 |
+
0.555,
|
| 205 |
+
0.279,
|
| 206 |
+
0.778,
|
| 207 |
+
0.293
|
| 208 |
+
],
|
| 209 |
+
"angle": 0,
|
| 210 |
+
"content": "holger.essler@unive.it"
|
| 211 |
+
},
|
| 212 |
+
{
|
| 213 |
+
"type": "title",
|
| 214 |
+
"bbox": [
|
| 215 |
+
0.261,
|
| 216 |
+
0.32,
|
| 217 |
+
0.341,
|
| 218 |
+
0.336
|
| 219 |
+
],
|
| 220 |
+
"angle": 0,
|
| 221 |
+
"content": "Abstract"
|
| 222 |
+
},
|
| 223 |
+
{
|
| 224 |
+
"type": "text",
|
| 225 |
+
"bbox": [
|
| 226 |
+
0.142,
|
| 227 |
+
0.348,
|
| 228 |
+
0.461,
|
| 229 |
+
0.704
|
| 230 |
+
],
|
| 231 |
+
"angle": 0,
|
| 232 |
+
"content": "Handwritten text recognition (HTR) yields textual output that comprises errors, which are considerably more compared to that of recognised printed (OCRed) text. Post-correcting methods can eliminate such errors but may also introduce errors. In this study, we investigate the issues arising from this reality in Byzantine Greek. We investigate the properties of the texts that lead post-correction systems to this adversarial behaviour and we experiment with text classification systems that learn to detect incorrect recognition output. A large masked language model, pre-trained in modern and fine-tuned in Byzantine Greek, achieves an Average Precision score of \\(95\\%\\). The score improves to \\(97\\%\\) when using a model that is pretrained in modern and then in ancient Greek, the two language forms Byzantine Greek combines elements from. A century-based analysis shows that the advantage of the classifier that is further-pre-trained in ancient Greek concerns texts of older centuries. The application of this classifier before a neural post-corrector on HTRed text reduced significantly the post-correction mistakes."
|
| 233 |
+
},
|
| 234 |
+
{
|
| 235 |
+
"type": "title",
|
| 236 |
+
"bbox": [
|
| 237 |
+
0.115,
|
| 238 |
+
0.717,
|
| 239 |
+
0.26,
|
| 240 |
+
0.732
|
| 241 |
+
],
|
| 242 |
+
"angle": 0,
|
| 243 |
+
"content": "1 Introduction"
|
| 244 |
+
},
|
| 245 |
+
{
|
| 246 |
+
"type": "text",
|
| 247 |
+
"bbox": [
|
| 248 |
+
0.113,
|
| 249 |
+
0.743,
|
| 250 |
+
0.49,
|
| 251 |
+
0.92
|
| 252 |
+
],
|
| 253 |
+
"angle": 0,
|
| 254 |
+
"content": "Handwritten Text Recognition (HTR) concerns the automated transcription of a handwritten text, extracting its computerised form from an image. Applying HTR on an old manuscript can lead to a high character error rate (CER), often due to the lack of training data (Pavlopoulos et al., 2023). In the real world, this erroneous HTR output is post-corrected by experts, who get involved, typically, in a tedious and time-consuming task. Delaying the delivery of manually curated data, hinders both: the preservation of digitised manuscripts that have not yet been"
|
| 255 |
+
},
|
| 256 |
+
{
|
| 257 |
+
"type": "image",
|
| 258 |
+
"bbox": [
|
| 259 |
+
0.526,
|
| 260 |
+
0.32,
|
| 261 |
+
0.868,
|
| 262 |
+
0.514
|
| 263 |
+
],
|
| 264 |
+
"angle": 0,
|
| 265 |
+
"content": null
|
| 266 |
+
},
|
| 267 |
+
{
|
| 268 |
+
"type": "image_caption",
|
| 269 |
+
"bbox": [
|
| 270 |
+
0.509,
|
| 271 |
+
0.527,
|
| 272 |
+
0.883,
|
| 273 |
+
0.556
|
| 274 |
+
],
|
| 275 |
+
"angle": 0,
|
| 276 |
+
"content": "Figure 1: Number of HTRed-lines according to their CER as presented by Pavlopoulos et al. (2023)"
|
| 277 |
+
},
|
| 278 |
+
{
|
| 279 |
+
"type": "text",
|
| 280 |
+
"bbox": [
|
| 281 |
+
0.508,
|
| 282 |
+
0.581,
|
| 283 |
+
0.885,
|
| 284 |
+
0.727
|
| 285 |
+
],
|
| 286 |
+
"angle": 0,
|
| 287 |
+
"content": "transcribed; and the progress of HTR for historical manuscripts, which struggles with low resources. This is why researchers from Digital Humanities have started encouraging the development of Natural Language Processing (NLP) solutions, in an attempt to assist the experts toward this goal, since improving the accuracy of recognition will be exciting for the disciplines struggling with vast corpora and little man power (McGillivray et al., 2020)."
|
| 288 |
+
},
|
| 289 |
+
{
|
| 290 |
+
"type": "title",
|
| 291 |
+
"bbox": [
|
| 292 |
+
0.51,
|
| 293 |
+
0.738,
|
| 294 |
+
0.655,
|
| 295 |
+
0.754
|
| 296 |
+
],
|
| 297 |
+
"angle": 0,
|
| 298 |
+
"content": "1.1 Background"
|
| 299 |
+
},
|
| 300 |
+
{
|
| 301 |
+
"type": "text",
|
| 302 |
+
"bbox": [
|
| 303 |
+
0.508,
|
| 304 |
+
0.759,
|
| 305 |
+
0.885,
|
| 306 |
+
0.92
|
| 307 |
+
],
|
| 308 |
+
"angle": 0,
|
| 309 |
+
"content": "Although detecting erroneous recognised output is not a novel task (Chiron et al., 2017; Amrhein and Clematide, 2018; Rigaud et al., 2019; Jatowt et al., 2019; Nguyen et al., 2020; Schaefer and Neudecker, 2020), existing published studies focus on printed material (i.e., OCRed). Handwritten text, on the other hand, increases the challenge in recognition compared to printed material and hence, leads to more errors. The different hands, the greater time period, morphology and spelling"
|
| 310 |
+
},
|
| 311 |
+
{
|
| 312 |
+
"type": "page_number",
|
| 313 |
+
"bbox": [
|
| 314 |
+
0.481,
|
| 315 |
+
0.928,
|
| 316 |
+
0.521,
|
| 317 |
+
0.941
|
| 318 |
+
],
|
| 319 |
+
"angle": 0,
|
| 320 |
+
"content": "7818"
|
| 321 |
+
},
|
| 322 |
+
{
|
| 323 |
+
"type": "footer",
|
| 324 |
+
"bbox": [
|
| 325 |
+
0.218,
|
| 326 |
+
0.946,
|
| 327 |
+
0.78,
|
| 328 |
+
0.958
|
| 329 |
+
],
|
| 330 |
+
"angle": 0,
|
| 331 |
+
"content": "Findings of the Association for Computational Linguistics: EMNLP 2023, pages 7818-7828"
|
| 332 |
+
},
|
| 333 |
+
{
|
| 334 |
+
"type": "footer",
|
| 335 |
+
"bbox": [
|
| 336 |
+
0.278,
|
| 337 |
+
0.959,
|
| 338 |
+
0.72,
|
| 339 |
+
0.972
|
| 340 |
+
],
|
| 341 |
+
"angle": 0,
|
| 342 |
+
"content": "December 6-10, 2023 ©2023 Association for Computational Linguistics"
|
| 343 |
+
}
|
| 344 |
+
],
|
| 345 |
+
[
|
| 346 |
+
{
|
| 347 |
+
"type": "table",
|
| 348 |
+
"bbox": [
|
| 349 |
+
0.116,
|
| 350 |
+
0.083,
|
| 351 |
+
0.488,
|
| 352 |
+
0.295
|
| 353 |
+
],
|
| 354 |
+
"angle": 0,
|
| 355 |
+
"content": "<table><tr><td></td><td>Transcription</td><td>Recognition</td></tr><tr><td>a.</td><td>tov ποδων</td><td>τωη ποδων</td></tr><tr><td>b.</td><td>tov ποδων</td><td>αχοασδδεδ</td></tr><tr><td rowspan=\"2\">a.</td><td>έγγινουμένα πάθη</td><td>έγγινουμένα πάθη</td></tr><tr><td>μή σβενύντε</td><td>μή σβενύντε</td></tr><tr><td rowspan=\"2\">b.</td><td>έγγινουμένα πάθη</td><td>έγγινουμένδπάθη</td></tr><tr><td>μή σβενύντε</td><td>μαε σβανησοτε</td></tr><tr><td rowspan=\"3\">a.</td><td>τες εμπυρίζουσι</td><td>τες εμπυρίζουσι</td></tr><tr><td>tόν ἀμπελώνα ἀλλὰ</td><td>tόν ἀμπελΟνα ἀλλὰ</td></tr><tr><td>xαλό διὰ τες</td><td>xαλό διὰ τες</td></tr><tr><td rowspan=\"3\">b.</td><td>τες εμπυρίζουσι</td><td>τεσέμπυρίσουβοι</td></tr><tr><td>tόν ἀμπελώνα ἀλλὰ</td><td>xδα ἀμπελοαα xδλὰ</td></tr><tr><td>xαλό διὰ τες</td><td>xxxxαλ αδιοτες</td></tr></table>"
|
| 356 |
+
},
|
| 357 |
+
{
|
| 358 |
+
"type": "table_caption",
|
| 359 |
+
"bbox": [
|
| 360 |
+
0.113,
|
| 361 |
+
0.306,
|
| 362 |
+
0.49,
|
| 363 |
+
0.378
|
| 364 |
+
],
|
| 365 |
+
"angle": 0,
|
| 366 |
+
"content": "Table 1: Synthetic transcription (human-generated) and recognition (system-generated) output with few (a) and many (b) errors. Finding the differences between the transcription and the recognition is easier for the three examples shown in red (b)."
|
| 367 |
+
},
|
| 368 |
+
{
|
| 369 |
+
"type": "image",
|
| 370 |
+
"bbox": [
|
| 371 |
+
0.128,
|
| 372 |
+
0.393,
|
| 373 |
+
0.476,
|
| 374 |
+
0.436
|
| 375 |
+
],
|
| 376 |
+
"angle": 0,
|
| 377 |
+
"content": null
|
| 378 |
+
},
|
| 379 |
+
{
|
| 380 |
+
"type": "image_caption",
|
| 381 |
+
"bbox": [
|
| 382 |
+
0.114,
|
| 383 |
+
0.445,
|
| 384 |
+
0.49,
|
| 385 |
+
0.489
|
| 386 |
+
],
|
| 387 |
+
"angle": 0,
|
| 388 |
+
"content": "Figure 2: Image of the handwritten text 'των ποδων' - in the recognised text, the third character was misspelled, written as eta ('η') instead of 'v' (Table 1, 1st row)"
|
| 389 |
+
},
|
| 390 |
+
{
|
| 391 |
+
"type": "text",
|
| 392 |
+
"bbox": [
|
| 393 |
+
0.113,
|
| 394 |
+
0.516,
|
| 395 |
+
0.49,
|
| 396 |
+
0.678
|
| 397 |
+
],
|
| 398 |
+
"angle": 0,
|
| 399 |
+
"content": "(see Section 3), can explain the greater diversity of error rates (Fig. 1). The recognition quality, however, is related to the detection quality of erroneous output. To give an example, the detection of an erroneous recognition is easier when the recognition output is scrambled compared with a single incorrect character. This is shown in Table 1, where classifying recognised text (as erroneous/not) is easier for the human eye in (b) compared to that of (a). We hypothesise that this applies also to models."
|
| 400 |
+
},
|
| 401 |
+
{
|
| 402 |
+
"type": "text",
|
| 403 |
+
"bbox": [
|
| 404 |
+
0.113,
|
| 405 |
+
0.679,
|
| 406 |
+
0.491,
|
| 407 |
+
0.92
|
| 408 |
+
],
|
| 409 |
+
"angle": 0,
|
| 410 |
+
"content": "We argue that detecting erroneously recognised text can improve automatic error correction. Current approaches to post-correcting the often flawed recognised text, disregard the likelihood of a flawless recognition, assuming that the correct text can be simply copied (e.g., with an encoder-decoder-based correction). Consequently, they are faced with the possibility of introducing, instead of mitigating, errors that would be absent if post-correction hadn't been applied. Taking the case of a misspelled article (e.g., see Fig. 2), for instance, there is a variety of letters to choose from, for replacement, always accordingly to the declension and the case of the noun. Even if grammatical rules are set (e.g., in a rule-based system), an"
|
| 411 |
+
},
|
| 412 |
+
{
|
| 413 |
+
"type": "text",
|
| 414 |
+
"bbox": [
|
| 415 |
+
0.508,
|
| 416 |
+
0.085,
|
| 417 |
+
0.885,
|
| 418 |
+
0.343
|
| 419 |
+
],
|
| 420 |
+
"angle": 0,
|
| 421 |
+
"content": "HTR system working at the character level is likely examining morphological aspects and often disregards semantic and pragmatic levels. A vowel replacement function addressing the morphological level, however, may omit important semantic aspects and relationships between sentence elements at the syntactic level and thus, misinterpret the case. For example, the line “λεντιον διεζωσεν εαυτόν” was HTRed as “λεντιον διεζωσενεαυτόν”. A neural corrector, then, which received as input the HTRed output, yielded “λεντιον διεζωσεν εαυτόν” (Pavlopoulos et al., 2023), correctly separating the two last words but incorrectly removing the accent. In this way and in this instance, post-correcting involves the risk of introducing errors by transforming probably correct output cases."
|
| 422 |
+
},
|
| 423 |
+
{
|
| 424 |
+
"type": "title",
|
| 425 |
+
"bbox": [
|
| 426 |
+
0.51,
|
| 427 |
+
0.354,
|
| 428 |
+
0.727,
|
| 429 |
+
0.369
|
| 430 |
+
],
|
| 431 |
+
"angle": 0,
|
| 432 |
+
"content": "1.2 The focus of the study"
|
| 433 |
+
},
|
| 434 |
+
{
|
| 435 |
+
"type": "text",
|
| 436 |
+
"bbox": [
|
| 437 |
+
0.508,
|
| 438 |
+
0.374,
|
| 439 |
+
0.885,
|
| 440 |
+
0.873
|
| 441 |
+
],
|
| 442 |
+
"angle": 0,
|
| 443 |
+
"content": "This study quantifies the hazards of the above-mentioned adversarial post-correction, by focusing on the Byzantine Greek language. The development of this language entails a comprehensive examination of written language throughout the centuries under study. In essence, Byzantine Greek emerged as an academic style known as Atticised Greek, incorporating religious topics. As time progressed, elements of contemporary spoken Greek gradually became integrated into the language (Horrocks, 2014). As the results of our study also show, the combination of pre-trained data on Modern Greek, resembling what was considered as spoken language back then, and Ancient Greek, including the above-mentioned Atticised Greek, is beneficial for text classifiers detecting incorrect recognition output. Furthermore, by covering a period of more than seven centuries, the already challenging nature of recognition (Platanou et al., 2022) is increased, hence allowing a more diverse material for our investigation on post-correction. Errors in handwritten text recognition are often due to different hands (scribes) and scripts that evolved for many centuries. Printed text, on the other hand, exists for a much narrower period, there are no hands to cause similar errors,\\(^{1}\\) and no clitics. As we show in this work, lower recognition error rate means more difficult classification of erroneous lines. By contrast, recognised handwritten text is often hard to parse even for humans, which makes an easier classification challenge and a much more difficult"
|
| 444 |
+
},
|
| 445 |
+
{
|
| 446 |
+
"type": "page_footnote",
|
| 447 |
+
"bbox": [
|
| 448 |
+
0.509,
|
| 449 |
+
0.882,
|
| 450 |
+
0.883,
|
| 451 |
+
0.919
|
| 452 |
+
],
|
| 453 |
+
"angle": 0,
|
| 454 |
+
"content": "<sup>1</sup>Fonts pose a similar problem, yet less challenging when compared to hands, due to their non-standardised form and high variation."
|
| 455 |
+
},
|
| 456 |
+
{
|
| 457 |
+
"type": "page_number",
|
| 458 |
+
"bbox": [
|
| 459 |
+
0.481,
|
| 460 |
+
0.928,
|
| 461 |
+
0.521,
|
| 462 |
+
0.941
|
| 463 |
+
],
|
| 464 |
+
"angle": 0,
|
| 465 |
+
"content": "7819"
|
| 466 |
+
}
|
| 467 |
+
],
|
| 468 |
+
[
|
| 469 |
+
{
|
| 470 |
+
"type": "text",
|
| 471 |
+
"bbox": [
|
| 472 |
+
0.115,
|
| 473 |
+
0.086,
|
| 474 |
+
0.427,
|
| 475 |
+
0.099
|
| 476 |
+
],
|
| 477 |
+
"angle": 0,
|
| 478 |
+
"content": "error-correction task, as shown in Table 1."
|
| 479 |
+
},
|
| 480 |
+
{
|
| 481 |
+
"type": "title",
|
| 482 |
+
"bbox": [
|
| 483 |
+
0.115,
|
| 484 |
+
0.115,
|
| 485 |
+
0.303,
|
| 486 |
+
0.129
|
| 487 |
+
],
|
| 488 |
+
"angle": 0,
|
| 489 |
+
"content": "1.3 The contributions"
|
| 490 |
+
},
|
| 491 |
+
{
|
| 492 |
+
"type": "text",
|
| 493 |
+
"bbox": [
|
| 494 |
+
0.117,
|
| 495 |
+
0.137,
|
| 496 |
+
0.49,
|
| 497 |
+
0.457
|
| 498 |
+
],
|
| 499 |
+
"angle": 0,
|
| 500 |
+
"content": "We explore the extent to which classification to flawless/flawed texts can improve the post-correction of recognised output, by avoiding adversarial errors introduced when applied to flawless texts. We benchmark machine- and deep-learning-based text classifiers, showing that a Transformer that is pre-trained in modern Greek and then finetuned to detect erroneously recognised Byzantine Greek (10th-16th CE) text achieves an Average Precision of \\(95\\%\\). When the same Transformer is further pre-trained in ancient Greek prior to fine-tuning, the score increases to \\(97\\%\\). We quantify the benefits of employing our text classifier in the real world, by training an MT5 (Xue et al., 2021) encoder-decoder error-corrector, which altered \\(80\\%\\) of the flawless texts. If our best-performing classifier had been applied prior to correction, the percentage would have been decreased to \\(2\\%\\) with a trade-off of \\(2\\%\\) texts being incorrectly classified as flawless."
|
| 501 |
+
},
|
| 502 |
+
{
|
| 503 |
+
"type": "text",
|
| 504 |
+
"bbox": [
|
| 505 |
+
0.117,
|
| 506 |
+
0.46,
|
| 507 |
+
0.49,
|
| 508 |
+
0.749
|
| 509 |
+
],
|
| 510 |
+
"angle": 0,
|
| 511 |
+
"content": "The better performance of a Transformer that is not pre-trained only in modern Greek can be explained by the fact that Byzantine Greek combines language elements from both, ancient and modern Greek. Since our study covers a broad historical period, we separated the evaluation dataset based on the century in order to investigate this hypothesis. Our results show that the detection of erroneous recognition depends on the chronology of the manuscript and that further pre-training in ancient Greek benefits the classification of lines from manuscripts in the following three centuries: 10thCE, 11thCE, and 13thCE. By following a similar segmentation-based evaluation method for the error rate level, instead of the century, we show that higher error rates make an easier classification goal. By contrast, the problem is harder for low error rates, when flawed and flawless texts look alike."
|
| 512 |
+
},
|
| 513 |
+
{
|
| 514 |
+
"type": "title",
|
| 515 |
+
"bbox": [
|
| 516 |
+
0.115,
|
| 517 |
+
0.764,
|
| 518 |
+
0.267,
|
| 519 |
+
0.779
|
| 520 |
+
],
|
| 521 |
+
"angle": 0,
|
| 522 |
+
"content": "2 Related work"
|
| 523 |
+
},
|
| 524 |
+
{
|
| 525 |
+
"type": "text",
|
| 526 |
+
"bbox": [
|
| 527 |
+
0.114,
|
| 528 |
+
0.791,
|
| 529 |
+
0.49,
|
| 530 |
+
0.919
|
| 531 |
+
],
|
| 532 |
+
"angle": 0,
|
| 533 |
+
"content": "Our work focuses on the text classification of recognised handwritten text. In the absence of published studies for handwritten text, however, we summarise work focused on the recognition of printed text. Printed and handwritten materials differ, because the latter often yields scrambled recognition output (Table 1). This is probably what motivated Ströbel et al. (2022) in using the perplexity of lan"
|
| 534 |
+
},
|
| 535 |
+
{
|
| 536 |
+
"type": "text",
|
| 537 |
+
"bbox": [
|
| 538 |
+
0.508,
|
| 539 |
+
0.085,
|
| 540 |
+
0.885,
|
| 541 |
+
0.246
|
| 542 |
+
],
|
| 543 |
+
"angle": 0,
|
| 544 |
+
"content": "guage models to detect the erroneous output in an unsupervised manner. On the other hand, although we consider that recognition errors are overall more for handwritten text compared to printed material, the quality of recognition can vary significantly for the former (Hodel et al., 2021), as is also shown in Fig. 1, and does not always come with a high error rate. Therefore, the detection of erroneously recognised handwritten text is also related to that for printed text, regarding their low error output."
|
| 545 |
+
},
|
| 546 |
+
{
|
| 547 |
+
"type": "title",
|
| 548 |
+
"bbox": [
|
| 549 |
+
0.51,
|
| 550 |
+
0.257,
|
| 551 |
+
0.859,
|
| 552 |
+
0.272
|
| 553 |
+
],
|
| 554 |
+
"angle": 0,
|
| 555 |
+
"content": "Erroneous recognised printed text detection"
|
| 556 |
+
},
|
| 557 |
+
{
|
| 558 |
+
"type": "text",
|
| 559 |
+
"bbox": [
|
| 560 |
+
0.508,
|
| 561 |
+
0.277,
|
| 562 |
+
0.885,
|
| 563 |
+
0.437
|
| 564 |
+
],
|
| 565 |
+
"angle": 0,
|
| 566 |
+
"content": "Initial work using rule-based approaches could not address all errors, and was followed by machine and deep learning approaches (Lyu et al., 2021). Standard approaches include support vector machines on top of n-gram-based features (Dannélls and Virk, 2021; Virk et al., 2021). Jatowt et al. (2019) used a gradient tree boosting binary classifier on top of various features, including character and word n-grams, part-of-speech, token frequency based on automatically created resources."
|
| 567 |
+
},
|
| 568 |
+
{
|
| 569 |
+
"type": "text",
|
| 570 |
+
"bbox": [
|
| 571 |
+
0.508,
|
| 572 |
+
0.438,
|
| 573 |
+
0.886,
|
| 574 |
+
0.63
|
| 575 |
+
],
|
| 576 |
+
"angle": 0,
|
| 577 |
+
"content": "Amrhein and Clematide (2018) performed detailed analyses and experiments of error detection and post-correction with various statistical and neural machine-translation methods. In general, they found that the former perform better in error correction, while the latter models are better in error detection. However, they concluded that there is not a single method that works best on all datasets while the results are highly affected by the data a model is trained on. Furthermore, they suggested that post-correction of recognised printed text should focus more on the improvement of error detection."
|
| 578 |
+
},
|
| 579 |
+
{
|
| 580 |
+
"type": "text",
|
| 581 |
+
"bbox": [
|
| 582 |
+
0.508,
|
| 583 |
+
0.632,
|
| 584 |
+
0.885,
|
| 585 |
+
0.791
|
| 586 |
+
],
|
| 587 |
+
"angle": 0,
|
| 588 |
+
"content": "Nguyen et al. (2020) used BERT pre-trained on named-entity recognition for token classification in order to perform error detection. After substring tokenization they obtain Glove or Fasttext word embeddings, which are combined with segment and positional embeddings and given as input to BERT (Devlin et al., 2018). The hidden states are fed to a dense layer on top that classifies each token as erroneous or not. Although interesting, token-level detection is not suited for high-error settings."
|
| 589 |
+
},
|
| 590 |
+
{
|
| 591 |
+
"type": "title",
|
| 592 |
+
"bbox": [
|
| 593 |
+
0.51,
|
| 594 |
+
0.803,
|
| 595 |
+
0.689,
|
| 596 |
+
0.818
|
| 597 |
+
],
|
| 598 |
+
"angle": 0,
|
| 599 |
+
"content": "The ICDAR challenge"
|
| 600 |
+
},
|
| 601 |
+
{
|
| 602 |
+
"type": "text",
|
| 603 |
+
"bbox": [
|
| 604 |
+
0.508,
|
| 605 |
+
0.823,
|
| 606 |
+
0.885,
|
| 607 |
+
0.919
|
| 608 |
+
],
|
| 609 |
+
"angle": 0,
|
| 610 |
+
"content": "ICDAR organised a competition focused on post-correcting text recognised from newspapers, shopping receipts, and other printed sources, including two subtasks: error detection, i.e., to detect the position and the length of the errors, and error correction (Chiron et al., 2017; Rigaud et al., 2019)."
|
| 611 |
+
},
|
| 612 |
+
{
|
| 613 |
+
"type": "page_number",
|
| 614 |
+
"bbox": [
|
| 615 |
+
0.481,
|
| 616 |
+
0.929,
|
| 617 |
+
0.521,
|
| 618 |
+
0.941
|
| 619 |
+
],
|
| 620 |
+
"angle": 0,
|
| 621 |
+
"content": "7820"
|
| 622 |
+
}
|
| 623 |
+
],
|
| 624 |
+
[
|
| 625 |
+
{
|
| 626 |
+
"type": "text",
|
| 627 |
+
"bbox": [
|
| 628 |
+
0.113,
|
| 629 |
+
0.085,
|
| 630 |
+
0.493,
|
| 631 |
+
0.345
|
| 632 |
+
],
|
| 633 |
+
"angle": 0,
|
| 634 |
+
"content": "In 2017, the best-performing method for the error detection subtask employed probabilistic character error models and weighted finite-state transducers while in 2019, the best was a pre-trained multilingual BERT with convolutional and fully-connected layers on top that classified each sub-token as erroneous or not. Schaefer and Neudecker (2020) followed a similar classification scheme, but focused on characters and not sub-tokens. Then, by excluding lines with at least one classified character from post-correction, they showed that false alteration (i.e., of correctly OCR red lines) by an encoder-decoder model could be avoided. Our work shows that casting this problem as a text classification task can lead to high accuracy for handwritten text, although similar benefits may apply to printed text."
|
| 635 |
+
},
|
| 636 |
+
{
|
| 637 |
+
"type": "title",
|
| 638 |
+
"bbox": [
|
| 639 |
+
0.114,
|
| 640 |
+
0.355,
|
| 641 |
+
0.192,
|
| 642 |
+
0.369
|
| 643 |
+
],
|
| 644 |
+
"angle": 0,
|
| 645 |
+
"content": "3 Data"
|
| 646 |
+
},
|
| 647 |
+
{
|
| 648 |
+
"type": "text",
|
| 649 |
+
"bbox": [
|
| 650 |
+
0.113,
|
| 651 |
+
0.38,
|
| 652 |
+
0.49,
|
| 653 |
+
0.621
|
| 654 |
+
],
|
| 655 |
+
"angle": 0,
|
| 656 |
+
"content": "The written language of the manuscripts and papyri used in this study is Byzantine Greek.3 Within these texts, morphological categories such as the optative, the pluperfect, and the perfect have disappeared, while others such as the dative case have gradually decreased. Infinitives and participles are still there in the texts, as reminiscents of the classical tradition, encouraging one to treat the language as a unique variant, different from modern Greek. There are several spelling conventions that deviate from the older orthographic rules while the ancient punctuation signs are still in use, albeit not always with the same function. Therefore, following Classical and preceding Modern Greek, this language can be considered a combination of the two."
|
| 657 |
+
},
|
| 658 |
+
{
|
| 659 |
+
"type": "text",
|
| 660 |
+
"bbox": [
|
| 661 |
+
0.113,
|
| 662 |
+
0.622,
|
| 663 |
+
0.49,
|
| 664 |
+
0.846
|
| 665 |
+
],
|
| 666 |
+
"angle": 0,
|
| 667 |
+
"content": "The transcriptions and the HTR output were provided by the organisers of the recent HTREC challenge, which regarded the automated correction of HTR errors in Byzantine Greek (Pavlopoulos et al., 2023). Selected images of handwritten text in respective manuscripts (10th to 16th CE) were transcribed by a human expert. The training dataset of the challenge consists of 1,875 lines of transcribed text by a human expert and by an HTR model (examples shown in Table 2). Transkribus (Kahle et al., 2017) was used by the organisers to produce the system transcriptions, trained on seven images one per century. Our investigation of the CER of the opted HTR model reveals"
|
| 668 |
+
},
|
| 669 |
+
{
|
| 670 |
+
"type": "image",
|
| 671 |
+
"bbox": [
|
| 672 |
+
0.532,
|
| 673 |
+
0.094,
|
| 674 |
+
0.867,
|
| 675 |
+
0.242
|
| 676 |
+
],
|
| 677 |
+
"angle": 0,
|
| 678 |
+
"content": null
|
| 679 |
+
},
|
| 680 |
+
{
|
| 681 |
+
"type": "image_caption",
|
| 682 |
+
"bbox": [
|
| 683 |
+
0.558,
|
| 684 |
+
0.256,
|
| 685 |
+
0.835,
|
| 686 |
+
0.272
|
| 687 |
+
],
|
| 688 |
+
"angle": 0,
|
| 689 |
+
"content": "Figure 3: Violinplot of CER per century"
|
| 690 |
+
},
|
| 691 |
+
{
|
| 692 |
+
"type": "text",
|
| 693 |
+
"bbox": [
|
| 694 |
+
0.508,
|
| 695 |
+
0.298,
|
| 696 |
+
0.885,
|
| 697 |
+
0.426
|
| 698 |
+
],
|
| 699 |
+
"angle": 0,
|
| 700 |
+
"content": "that a diversity of errors is produced, from very few to many per line (Fig. 1). This fact makes this dataset optimal for our training purposes, because we need a diversity of errors to train our classifiers. Furthermore, the errors are not uniformly distributed across centuries (Fig. 3), motivating a time/CER-based segmentation for evaluation purposes (discussed in Section 4.2)."
|
| 701 |
+
},
|
| 702 |
+
{
|
| 703 |
+
"type": "text",
|
| 704 |
+
"bbox": [
|
| 705 |
+
0.508,
|
| 706 |
+
0.428,
|
| 707 |
+
0.885,
|
| 708 |
+
0.589
|
| 709 |
+
],
|
| 710 |
+
"angle": 0,
|
| 711 |
+
"content": "Our classification dataset consists of the 1,875 human-transcribed texts (lines), treated as the flawless negative (0) class, and the respective system-transcribed texts, treated as the flawed, positive (1) class. This resulted in total to an almost perfectly balanced dataset of 3,744 text lines, which we split to train, development and test subsets by using a 80/10/10 ratio. The average length of the transcription is 40.10 characters (6.83 words), and that of the HTR output is 37.09 characters (5.89 words)."
|
| 712 |
+
},
|
| 713 |
+
{
|
| 714 |
+
"type": "title",
|
| 715 |
+
"bbox": [
|
| 716 |
+
0.509,
|
| 717 |
+
0.603,
|
| 718 |
+
0.738,
|
| 719 |
+
0.62
|
| 720 |
+
],
|
| 721 |
+
"angle": 0,
|
| 722 |
+
"content": "4 Experimental analysis"
|
| 723 |
+
},
|
| 724 |
+
{
|
| 725 |
+
"type": "text",
|
| 726 |
+
"bbox": [
|
| 727 |
+
0.508,
|
| 728 |
+
0.631,
|
| 729 |
+
0.884,
|
| 730 |
+
0.664
|
| 731 |
+
],
|
| 732 |
+
"angle": 0,
|
| 733 |
+
"content": "We opted for machine and deep learning benchmarks, with different transfer learning settings."
|
| 734 |
+
},
|
| 735 |
+
{
|
| 736 |
+
"type": "title",
|
| 737 |
+
"bbox": [
|
| 738 |
+
0.509,
|
| 739 |
+
0.677,
|
| 740 |
+
0.757,
|
| 741 |
+
0.692
|
| 742 |
+
],
|
| 743 |
+
"angle": 0,
|
| 744 |
+
"content": "Machine learning benchmarks"
|
| 745 |
+
},
|
| 746 |
+
{
|
| 747 |
+
"type": "text",
|
| 748 |
+
"bbox": [
|
| 749 |
+
0.508,
|
| 750 |
+
0.699,
|
| 751 |
+
0.885,
|
| 752 |
+
0.797
|
| 753 |
+
],
|
| 754 |
+
"angle": 0,
|
| 755 |
+
"content": "Machine learning methods include a variant of Naive Bayes and Support Vector Machines (NB-SVM), which is often used as a baseline for text classification (Wang and Manning, 2012). Also, we experimented with a Random Forest and a multi-layer perceptron (MLP) using character n-grams"
|
| 756 |
+
},
|
| 757 |
+
{
|
| 758 |
+
"type": "page_footnote",
|
| 759 |
+
"bbox": [
|
| 760 |
+
0.114,
|
| 761 |
+
0.855,
|
| 762 |
+
0.488,
|
| 763 |
+
0.88
|
| 764 |
+
],
|
| 765 |
+
"angle": 0,
|
| 766 |
+
"content": "2The difference lies in using a sigmoid function (or so) on top of the text representation, instead of one per character."
|
| 767 |
+
},
|
| 768 |
+
{
|
| 769 |
+
"type": "page_footnote",
|
| 770 |
+
"bbox": [
|
| 771 |
+
0.138,
|
| 772 |
+
0.881,
|
| 773 |
+
0.465,
|
| 774 |
+
0.893
|
| 775 |
+
],
|
| 776 |
+
"angle": 0,
|
| 777 |
+
"content": "3Also known as Medieval Greek or simply Byzantine."
|
| 778 |
+
},
|
| 779 |
+
{
|
| 780 |
+
"type": "page_footnote",
|
| 781 |
+
"bbox": [
|
| 782 |
+
0.138,
|
| 783 |
+
0.894,
|
| 784 |
+
0.411,
|
| 785 |
+
0.906
|
| 786 |
+
],
|
| 787 |
+
"angle": 0,
|
| 788 |
+
"content": "4https://www.aicrowd.com/challenges/"
|
| 789 |
+
},
|
| 790 |
+
{
|
| 791 |
+
"type": "list",
|
| 792 |
+
"bbox": [
|
| 793 |
+
0.114,
|
| 794 |
+
0.855,
|
| 795 |
+
0.488,
|
| 796 |
+
0.906
|
| 797 |
+
],
|
| 798 |
+
"angle": 0,
|
| 799 |
+
"content": null
|
| 800 |
+
},
|
| 801 |
+
{
|
| 802 |
+
"type": "page_footnote",
|
| 803 |
+
"bbox": [
|
| 804 |
+
0.116,
|
| 805 |
+
0.906,
|
| 806 |
+
0.197,
|
| 807 |
+
0.917
|
| 808 |
+
],
|
| 809 |
+
"angle": 0,
|
| 810 |
+
"content": "htrec-2022"
|
| 811 |
+
},
|
| 812 |
+
{
|
| 813 |
+
"type": "page_footnote",
|
| 814 |
+
"bbox": [
|
| 815 |
+
0.509,
|
| 816 |
+
0.807,
|
| 817 |
+
0.883,
|
| 818 |
+
0.833
|
| 819 |
+
],
|
| 820 |
+
"angle": 0,
|
| 821 |
+
"content": "Fewer errors will harm class balance while similar errors will harm generalisation of the classifiers."
|
| 822 |
+
},
|
| 823 |
+
{
|
| 824 |
+
"type": "page_footnote",
|
| 825 |
+
"bbox": [
|
| 826 |
+
0.509,
|
| 827 |
+
0.833,
|
| 828 |
+
0.883,
|
| 829 |
+
0.857
|
| 830 |
+
],
|
| 831 |
+
"angle": 0,
|
| 832 |
+
"content": "Six lines were excluded from the positive class, because a perfect transcription was achieved."
|
| 833 |
+
},
|
| 834 |
+
{
|
| 835 |
+
"type": "page_footnote",
|
| 836 |
+
"bbox": [
|
| 837 |
+
0.509,
|
| 838 |
+
0.857,
|
| 839 |
+
0.883,
|
| 840 |
+
0.893
|
| 841 |
+
],
|
| 842 |
+
"angle": 0,
|
| 843 |
+
"content": "7All experiments were performed using Google's Colaboratory, using a Tesla T4 GPU card. Our large language models comprise 113 million parameters."
|
| 844 |
+
},
|
| 845 |
+
{
|
| 846 |
+
"type": "page_footnote",
|
| 847 |
+
"bbox": [
|
| 848 |
+
0.509,
|
| 849 |
+
0.894,
|
| 850 |
+
0.883,
|
| 851 |
+
0.919
|
| 852 |
+
],
|
| 853 |
+
"angle": 0,
|
| 854 |
+
"content": "We used the implementation of KTRAIN with default parameters (Maiya, 2020)."
|
| 855 |
+
},
|
| 856 |
+
{
|
| 857 |
+
"type": "list",
|
| 858 |
+
"bbox": [
|
| 859 |
+
0.509,
|
| 860 |
+
0.807,
|
| 861 |
+
0.883,
|
| 862 |
+
0.919
|
| 863 |
+
],
|
| 864 |
+
"angle": 0,
|
| 865 |
+
"content": null
|
| 866 |
+
},
|
| 867 |
+
{
|
| 868 |
+
"type": "page_number",
|
| 869 |
+
"bbox": [
|
| 870 |
+
0.481,
|
| 871 |
+
0.928,
|
| 872 |
+
0.519,
|
| 873 |
+
0.941
|
| 874 |
+
],
|
| 875 |
+
"angle": 0,
|
| 876 |
+
"content": "7821"
|
| 877 |
+
}
|
| 878 |
+
],
|
| 879 |
+
[
|
| 880 |
+
{
|
| 881 |
+
"type": "table",
|
| 882 |
+
"bbox": [
|
| 883 |
+
0.144,
|
| 884 |
+
0.081,
|
| 885 |
+
0.858,
|
| 886 |
+
0.206
|
| 887 |
+
],
|
| 888 |
+
"angle": 0,
|
| 889 |
+
"content": "<table><tr><td>Transcription by expert</td><td>HTR output</td></tr><tr><td>èγγινόμενα πάθη μή σβενύντες ἀλλὰ τή εχλύσει (the born-in passions not extinguishing but the release)</td><td>èγγενομεναπαδημησεννωτες ἀλλατήε κλησει</td></tr><tr><td>του βίου του καῦ ́ εαυτός πολλα γένεσθουσυ υμχωρουν (of the life of themselves many happening forgive)</td><td>του β ou του καλεαυτός πολλαγινεσθουσι συγχωρόν</td></tr><tr><td>τες ἄμυριζουσι του ὄμελώνα ἀλλα καὶ ὅ διὰ τες (- set on fire the vineyard but and the due to the)</td><td>εμμυριζου σιμαμπελώνα ἀλλακαι ὅδξα</td></tr></table>"
|
| 890 |
+
},
|
| 891 |
+
{
|
| 892 |
+
"type": "table_caption",
|
| 893 |
+
"bbox": [
|
| 894 |
+
0.113,
|
| 895 |
+
0.215,
|
| 896 |
+
0.884,
|
| 897 |
+
0.245
|
| 898 |
+
],
|
| 899 |
+
"angle": 0,
|
| 900 |
+
"content": "Table 2: Human (on the left) and HTR-based (on the right) transcription (lines) from the 'Commentary on Isaiah' by Basil the Great (fol. 75r, Oxford, Bodleian Library MS. Barocci 102)"
|
| 901 |
+
},
|
| 902 |
+
{
|
| 903 |
+
"type": "text",
|
| 904 |
+
"bbox": [
|
| 905 |
+
0.113,
|
| 906 |
+
0.269,
|
| 907 |
+
0.49,
|
| 908 |
+
0.302
|
| 909 |
+
],
|
| 910 |
+
"angle": 0,
|
| 911 |
+
"content": "\\((n \\in 1,5)\\), term-frequency inverse document frequency, and default parameters otherwise."
|
| 912 |
+
},
|
| 913 |
+
{
|
| 914 |
+
"type": "title",
|
| 915 |
+
"bbox": [
|
| 916 |
+
0.114,
|
| 917 |
+
0.313,
|
| 918 |
+
0.332,
|
| 919 |
+
0.327
|
| 920 |
+
],
|
| 921 |
+
"angle": 0,
|
| 922 |
+
"content": "Deep learning benchmarks"
|
| 923 |
+
},
|
| 924 |
+
{
|
| 925 |
+
"type": "text",
|
| 926 |
+
"bbox": [
|
| 927 |
+
0.113,
|
| 928 |
+
0.333,
|
| 929 |
+
0.49,
|
| 930 |
+
0.542
|
| 931 |
+
],
|
| 932 |
+
"angle": 0,
|
| 933 |
+
"content": "Deep learning methods comprise a recurrent neural network using Gated Recurrent Units (GRU) and trainable word embeddings of 300 dimensions, originally pre-trained on (modern) Greek (Joulin et al., 2017). Also, we experimented with the state-of-the-art in text classification, which is BERT (Devlin et al., 2018) and its variants (Li et al., 2022; Minaee et al., 2021). In specific, we also fine-tuned two BERT models pre-trained in Greek. The first (GreekBERT) is pre-trained in modern Greek (Koutsikakis et al., 2020) while the second extends the first by being further pre-trained in ancient Greek (Singh et al., 2021)."
|
| 934 |
+
},
|
| 935 |
+
{
|
| 936 |
+
"type": "title",
|
| 937 |
+
"bbox": [
|
| 938 |
+
0.114,
|
| 939 |
+
0.553,
|
| 940 |
+
0.285,
|
| 941 |
+
0.567
|
| 942 |
+
],
|
| 943 |
+
"angle": 0,
|
| 944 |
+
"content": "Evaluation measures"
|
| 945 |
+
},
|
| 946 |
+
{
|
| 947 |
+
"type": "text",
|
| 948 |
+
"bbox": [
|
| 949 |
+
0.113,
|
| 950 |
+
0.574,
|
| 951 |
+
0.49,
|
| 952 |
+
0.655
|
| 953 |
+
],
|
| 954 |
+
"angle": 0,
|
| 955 |
+
"content": "We opted for the \\( F1 \\) score per class, the Area under the Receiver Operating Characteristic Curve (AUC), and Average Precision (AP) that is preferred in class-imbalanced settings. All evaluation measures were implemented in SCIKIT-LEARN.\\(^{12}\\)"
|
| 956 |
+
},
|
| 957 |
+
{
|
| 958 |
+
"type": "title",
|
| 959 |
+
"bbox": [
|
| 960 |
+
0.114,
|
| 961 |
+
0.665,
|
| 962 |
+
0.395,
|
| 963 |
+
0.68
|
| 964 |
+
],
|
| 965 |
+
"angle": 0,
|
| 966 |
+
"content": "4.1 Text classification benchmark"
|
| 967 |
+
},
|
| 968 |
+
{
|
| 969 |
+
"type": "text",
|
| 970 |
+
"bbox": [
|
| 971 |
+
0.113,
|
| 972 |
+
0.686,
|
| 973 |
+
0.49,
|
| 974 |
+
0.798
|
| 975 |
+
],
|
| 976 |
+
"angle": 0,
|
| 977 |
+
"content": "Table 3 shows the results of all our text classification benchmarks, including a random baseline (responding uniformly) that draws the lower performance limit. NBSVM is the worst machine learning model, followed by Forest and MLP. The latter achieves promising results, close to GRU (better in AP and \\( F1^{-} \\)). GRU, on the other hand, is clearly"
|
| 978 |
+
},
|
| 979 |
+
{
|
| 980 |
+
"type": "table",
|
| 981 |
+
"bbox": [
|
| 982 |
+
0.511,
|
| 983 |
+
0.266,
|
| 984 |
+
0.891,
|
| 985 |
+
0.4
|
| 986 |
+
],
|
| 987 |
+
"angle": 0,
|
| 988 |
+
"content": "<table><tr><td></td><td>AP</td><td>AUC</td><td>F1+</td><td>F1-</td></tr><tr><td>Random</td><td>0.52</td><td>0.50</td><td>0.49</td><td>0.47</td></tr><tr><td>NBSVM</td><td>0.66</td><td>0.65</td><td>0.60</td><td>0.51</td></tr><tr><td>Forest</td><td>0.64</td><td>0.65</td><td>0.64</td><td>0.50</td></tr><tr><td>MLP</td><td>0.79</td><td>0.79</td><td>0.73</td><td>0.69</td></tr><tr><td>GRU</td><td>0.79</td><td>0.79</td><td>0.68</td><td>0.71</td></tr><tr><td>GreekBERT:M</td><td>0.95</td><td>0.94</td><td>0.88</td><td>0.88</td></tr><tr><td>GreekBERT:M+A</td><td>0.97</td><td>0.97</td><td>0.90</td><td>0.91</td></tr></table>"
|
| 989 |
+
},
|
| 990 |
+
{
|
| 991 |
+
"type": "table_caption",
|
| 992 |
+
"bbox": [
|
| 993 |
+
0.509,
|
| 994 |
+
0.409,
|
| 995 |
+
0.885,
|
| 996 |
+
0.482
|
| 997 |
+
],
|
| 998 |
+
"angle": 0,
|
| 999 |
+
"content": "Table 3: Evaluation with Average Precision (AP), AUC, \\( F1 \\) for the classification of HTRed texts to flawed (+) or flawless (-) transcription. Random (uniform) classification was used as a baseline. GreekBERT was pre-trained in modern (:M) or in modern and ancient Greek (:A)."
|
| 1000 |
+
},
|
| 1001 |
+
{
|
| 1002 |
+
"type": "text",
|
| 1003 |
+
"bbox": [
|
| 1004 |
+
0.508,
|
| 1005 |
+
0.505,
|
| 1006 |
+
0.884,
|
| 1007 |
+
0.665
|
| 1008 |
+
],
|
| 1009 |
+
"angle": 0,
|
| 1010 |
+
"content": "outperformed in all metrics by GreekBERT. Two GreekBERT models were used, one pre-trained in modern Greek (:M) and one in modern and then in ancient Greek (:M+A). Byzantine Greek, as already discussed (Section 3), combines language elements found in both ancient and modern Greek. This is probably why GreekBERT:M+A, which was pretrained in modern and then in ancient Greek, was better compared to GreekBERT:M, which was pretrained only in modern Greek.[13]"
|
| 1011 |
+
},
|
| 1012 |
+
{
|
| 1013 |
+
"type": "title",
|
| 1014 |
+
"bbox": [
|
| 1015 |
+
0.509,
|
| 1016 |
+
0.676,
|
| 1017 |
+
0.74,
|
| 1018 |
+
0.692
|
| 1019 |
+
],
|
| 1020 |
+
"angle": 0,
|
| 1021 |
+
"content": "4.2 Evaluation per century"
|
| 1022 |
+
},
|
| 1023 |
+
{
|
| 1024 |
+
"type": "text",
|
| 1025 |
+
"bbox": [
|
| 1026 |
+
0.508,
|
| 1027 |
+
0.697,
|
| 1028 |
+
0.884,
|
| 1029 |
+
0.826
|
| 1030 |
+
],
|
| 1031 |
+
"angle": 0,
|
| 1032 |
+
"content": "We separated the lines of the test data based on the century of the manuscript that they came from. For each century, then, we evaluated the two Transformers, GreekBERT:M and GreekBERT:M+A. As can be seen in Fig. 4,\\(^{14}\\) GreekBERT:M+A is better on the 10th (five percent units) and 11th century CE, with models performing similarly on the 12th and after the 13th century, when both models achieve a"
|
| 1033 |
+
},
|
| 1034 |
+
{
|
| 1035 |
+
"type": "page_footnote",
|
| 1036 |
+
"bbox": [
|
| 1037 |
+
0.509,
|
| 1038 |
+
0.833,
|
| 1039 |
+
0.883,
|
| 1040 |
+
0.869
|
| 1041 |
+
],
|
| 1042 |
+
"angle": 0,
|
| 1043 |
+
"content": "<sup>13</sup>We verified the consistency of this finding by repeating the experiments three times, reporting an average AUC of 0.97 over 0.94 (st.d. lower than 0.05)."
|
| 1044 |
+
},
|
| 1045 |
+
{
|
| 1046 |
+
"type": "page_footnote",
|
| 1047 |
+
"bbox": [
|
| 1048 |
+
0.509,
|
| 1049 |
+
0.87,
|
| 1050 |
+
0.882,
|
| 1051 |
+
0.918
|
| 1052 |
+
],
|
| 1053 |
+
"angle": 0,
|
| 1054 |
+
"content": "For statistical significance, we sampled twenty lines per century, repeating the sampling process ten times. We focus on Average Precision, but similar findings were observed with the other metrics."
|
| 1055 |
+
},
|
| 1056 |
+
{
|
| 1057 |
+
"type": "list",
|
| 1058 |
+
"bbox": [
|
| 1059 |
+
0.509,
|
| 1060 |
+
0.833,
|
| 1061 |
+
0.883,
|
| 1062 |
+
0.918
|
| 1063 |
+
],
|
| 1064 |
+
"angle": 0,
|
| 1065 |
+
"content": null
|
| 1066 |
+
},
|
| 1067 |
+
{
|
| 1068 |
+
"type": "page_footnote",
|
| 1069 |
+
"bbox": [
|
| 1070 |
+
0.114,
|
| 1071 |
+
0.806,
|
| 1072 |
+
0.461,
|
| 1073 |
+
0.856
|
| 1074 |
+
],
|
| 1075 |
+
"angle": 0,
|
| 1076 |
+
"content": "\\(^{9}\\)https://scikit-learn.org/stable/modules/ generated/sklearn.neural_network \\({ }^{10}\\)https://fasttext.cc/docs/en/crawl-vectors. htm1"
|
| 1077 |
+
},
|
| 1078 |
+
{
|
| 1079 |
+
"type": "page_footnote",
|
| 1080 |
+
"bbox": [
|
| 1081 |
+
0.114,
|
| 1082 |
+
0.857,
|
| 1083 |
+
0.488,
|
| 1084 |
+
0.904
|
| 1085 |
+
],
|
| 1086 |
+
"angle": 0,
|
| 1087 |
+
"content": "11 Ancient Greek texts, which can be used for pre-training, are much fewer in number compared to publicly available modern Greek data. Hence, the option of pre-training directly in ancient Greek was not considered viable."
|
| 1088 |
+
},
|
| 1089 |
+
{
|
| 1090 |
+
"type": "page_footnote",
|
| 1091 |
+
"bbox": [
|
| 1092 |
+
0.133,
|
| 1093 |
+
0.905,
|
| 1094 |
+
0.388,
|
| 1095 |
+
0.918
|
| 1096 |
+
],
|
| 1097 |
+
"angle": 0,
|
| 1098 |
+
"content": "12https://scikit-learn.org/stable/"
|
| 1099 |
+
},
|
| 1100 |
+
{
|
| 1101 |
+
"type": "list",
|
| 1102 |
+
"bbox": [
|
| 1103 |
+
0.114,
|
| 1104 |
+
0.806,
|
| 1105 |
+
0.488,
|
| 1106 |
+
0.918
|
| 1107 |
+
],
|
| 1108 |
+
"angle": 0,
|
| 1109 |
+
"content": null
|
| 1110 |
+
},
|
| 1111 |
+
{
|
| 1112 |
+
"type": "page_number",
|
| 1113 |
+
"bbox": [
|
| 1114 |
+
0.481,
|
| 1115 |
+
0.928,
|
| 1116 |
+
0.521,
|
| 1117 |
+
0.941
|
| 1118 |
+
],
|
| 1119 |
+
"angle": 0,
|
| 1120 |
+
"content": "7822"
|
| 1121 |
+
}
|
| 1122 |
+
],
|
| 1123 |
+
[
|
| 1124 |
+
{
|
| 1125 |
+
"type": "image",
|
| 1126 |
+
"bbox": [
|
| 1127 |
+
0.175,
|
| 1128 |
+
0.101,
|
| 1129 |
+
0.812,
|
| 1130 |
+
0.25
|
| 1131 |
+
],
|
| 1132 |
+
"angle": 0,
|
| 1133 |
+
"content": null
|
| 1134 |
+
},
|
| 1135 |
+
{
|
| 1136 |
+
"type": "image_caption",
|
| 1137 |
+
"bbox": [
|
| 1138 |
+
0.113,
|
| 1139 |
+
0.26,
|
| 1140 |
+
0.885,
|
| 1141 |
+
0.292
|
| 1142 |
+
],
|
| 1143 |
+
"angle": 0,
|
| 1144 |
+
"content": "Figure 4: Average Precision per c. CE of GreekBERT:M, pretrained on modern Greek (solid), and GreekBERT:M+A, further pre-trained on ancient Greek (dashed) - error bands show the \\(95\\%\\) bootstrap confidence intervals"
|
| 1145 |
+
},
|
| 1146 |
+
{
|
| 1147 |
+
"type": "text",
|
| 1148 |
+
"bbox": [
|
| 1149 |
+
0.113,
|
| 1150 |
+
0.314,
|
| 1151 |
+
0.49,
|
| 1152 |
+
0.475
|
| 1153 |
+
],
|
| 1154 |
+
"angle": 0,
|
| 1155 |
+
"content": "higher score. On the 13th century, the performance of both models drops, but considerably more for GreekBERT:M. The 14th, 15th and 16th century were more challenging in HTR (Platanou et al., 2022), which could explain the better performance of the classifiers. That is, more errors in the recognised output could potentially help the classifier distinguish between the two classes (correct/not).<sup>15</sup> Based on the previous observations, we report three findings:"
|
| 1156 |
+
},
|
| 1157 |
+
{
|
| 1158 |
+
"type": "text",
|
| 1159 |
+
"bbox": [
|
| 1160 |
+
0.118,
|
| 1161 |
+
0.487,
|
| 1162 |
+
0.489,
|
| 1163 |
+
0.52
|
| 1164 |
+
],
|
| 1165 |
+
"angle": 0,
|
| 1166 |
+
"content": "F1. The classification performance depends on the chronology of the manuscript."
|
| 1167 |
+
},
|
| 1168 |
+
{
|
| 1169 |
+
"type": "text",
|
| 1170 |
+
"bbox": [
|
| 1171 |
+
0.118,
|
| 1172 |
+
0.531,
|
| 1173 |
+
0.49,
|
| 1174 |
+
0.563
|
| 1175 |
+
],
|
| 1176 |
+
"angle": 0,
|
| 1177 |
+
"content": "F2. Older manuscripts are better handled by further pre-training on ancient Greek."
|
| 1178 |
+
},
|
| 1179 |
+
{
|
| 1180 |
+
"type": "text",
|
| 1181 |
+
"bbox": [
|
| 1182 |
+
0.118,
|
| 1183 |
+
0.574,
|
| 1184 |
+
0.49,
|
| 1185 |
+
0.621
|
| 1186 |
+
],
|
| 1187 |
+
"angle": 0,
|
| 1188 |
+
"content": "F3. Lines from recent manuscripts pose an easier classification challenge to both GreekBERT models."
|
| 1189 |
+
},
|
| 1190 |
+
{
|
| 1191 |
+
"type": "list",
|
| 1192 |
+
"bbox": [
|
| 1193 |
+
0.118,
|
| 1194 |
+
0.487,
|
| 1195 |
+
0.49,
|
| 1196 |
+
0.621
|
| 1197 |
+
],
|
| 1198 |
+
"angle": 0,
|
| 1199 |
+
"content": null
|
| 1200 |
+
},
|
| 1201 |
+
{
|
| 1202 |
+
"type": "title",
|
| 1203 |
+
"bbox": [
|
| 1204 |
+
0.114,
|
| 1205 |
+
0.634,
|
| 1206 |
+
0.367,
|
| 1207 |
+
0.649
|
| 1208 |
+
],
|
| 1209 |
+
"angle": 0,
|
| 1210 |
+
"content": "4.3 Evaluation per error zone"
|
| 1211 |
+
},
|
| 1212 |
+
{
|
| 1213 |
+
"type": "text",
|
| 1214 |
+
"bbox": [
|
| 1215 |
+
0.113,
|
| 1216 |
+
0.655,
|
| 1217 |
+
0.49,
|
| 1218 |
+
0.766
|
| 1219 |
+
],
|
| 1220 |
+
"angle": 0,
|
| 1221 |
+
"content": "Our dataset is balanced regarding whether the recognition output is erroneous (positive class) or not, yet it remains imbalanced regarding the CER level (see Fig. 1). In order to assess the two Transformers across different input types, we rolled a window of ten units, from low to high CER values, and we assessed the models per window (Fig. 5).<sup>16</sup>"
|
| 1222 |
+
},
|
| 1223 |
+
{
|
| 1224 |
+
"type": "text",
|
| 1225 |
+
"bbox": [
|
| 1226 |
+
0.113,
|
| 1227 |
+
0.768,
|
| 1228 |
+
0.49,
|
| 1229 |
+
0.848
|
| 1230 |
+
],
|
| 1231 |
+
"angle": 0,
|
| 1232 |
+
"content": "High-CER lines (i.e., lines with CER of thirty or more) appear to set an easy classification task to both models. Performance increases as the CER increases. This is reasonable considering that lines with a high CER comprise many errors and are"
|
| 1233 |
+
},
|
| 1234 |
+
{
|
| 1235 |
+
"type": "text",
|
| 1236 |
+
"bbox": [
|
| 1237 |
+
0.508,
|
| 1238 |
+
0.314,
|
| 1239 |
+
0.885,
|
| 1240 |
+
0.378
|
| 1241 |
+
],
|
| 1242 |
+
"angle": 0,
|
| 1243 |
+
"content": "hard to parse even by humans. This characteristic, however, makes them easier to distinguish from flawless lines, which comprise no errors from the recognition."
|
| 1244 |
+
},
|
| 1245 |
+
{
|
| 1246 |
+
"type": "text",
|
| 1247 |
+
"bbox": [
|
| 1248 |
+
0.508,
|
| 1249 |
+
0.38,
|
| 1250 |
+
0.887,
|
| 1251 |
+
0.525
|
| 1252 |
+
],
|
| 1253 |
+
"angle": 0,
|
| 1254 |
+
"content": "Low-CER lines (i.e., lines with CER of zero to twenty) lead to a different picture, since Greek-BERT:M+A is consistently better, overall, than GreekBERT:M. Low CER means small differences between the two texts (flawless-flawed), which makes the classification task more difficult. In this zone, further pre-training on ancient Greek had a bigger impact, compared to zones with a higher error rate."
|
| 1255 |
+
},
|
| 1256 |
+
{
|
| 1257 |
+
"type": "title",
|
| 1258 |
+
"bbox": [
|
| 1259 |
+
0.509,
|
| 1260 |
+
0.541,
|
| 1261 |
+
0.638,
|
| 1262 |
+
0.557
|
| 1263 |
+
],
|
| 1264 |
+
"angle": 0,
|
| 1265 |
+
"content": "5 Discussion"
|
| 1266 |
+
},
|
| 1267 |
+
{
|
| 1268 |
+
"type": "text",
|
| 1269 |
+
"bbox": [
|
| 1270 |
+
0.508,
|
| 1271 |
+
0.57,
|
| 1272 |
+
0.886,
|
| 1273 |
+
0.634
|
| 1274 |
+
],
|
| 1275 |
+
"angle": 0,
|
| 1276 |
+
"content": "In this section, first, we assess the possibly adversarial nature of post-correction. Then, we describe a synthetic error detection application, followed by a century-based error analysis we performed."
|
| 1277 |
+
},
|
| 1278 |
+
{
|
| 1279 |
+
"type": "title",
|
| 1280 |
+
"bbox": [
|
| 1281 |
+
0.509,
|
| 1282 |
+
0.648,
|
| 1283 |
+
0.757,
|
| 1284 |
+
0.664
|
| 1285 |
+
],
|
| 1286 |
+
"angle": 0,
|
| 1287 |
+
"content": "5.1 Substantiality assessment"
|
| 1288 |
+
},
|
| 1289 |
+
{
|
| 1290 |
+
"type": "text",
|
| 1291 |
+
"bbox": [
|
| 1292 |
+
0.507,
|
| 1293 |
+
0.672,
|
| 1294 |
+
0.885,
|
| 1295 |
+
0.88
|
| 1296 |
+
],
|
| 1297 |
+
"angle": 0,
|
| 1298 |
+
"content": "Error-correction systems may introduce errors, even when applied to flawless HTRed texts. To assess the substantiality of this claim, we experimented with a neural encoder-decoder postcorrector. In specific, we employed a multilingual variant of the T5 Text-to-Text Transfer Transformer (Raffel et al., 2019), called MT5 (Xue et al., 2020), which was pre-trained on a dataset covering 101 languages.[17] MT5 has been used for Grammatical Error Correction in modern Greek and sets a strong baseline for HTR Error Correction (Korre and Pavlopoulos, 2022). We fine-tuned this model on the 1,875 training instances of the HTREC"
|
| 1299 |
+
},
|
| 1300 |
+
{
|
| 1301 |
+
"type": "page_footnote",
|
| 1302 |
+
"bbox": [
|
| 1303 |
+
0.509,
|
| 1304 |
+
0.893,
|
| 1305 |
+
0.883,
|
| 1306 |
+
0.919
|
| 1307 |
+
],
|
| 1308 |
+
"angle": 0,
|
| 1309 |
+
"content": "17The Greek language was on the 20th position with 43 billion tokens extracted from 42 million pages"
|
| 1310 |
+
},
|
| 1311 |
+
{
|
| 1312 |
+
"type": "page_footnote",
|
| 1313 |
+
"bbox": [
|
| 1314 |
+
0.113,
|
| 1315 |
+
0.856,
|
| 1316 |
+
0.488,
|
| 1317 |
+
0.919
|
| 1318 |
+
],
|
| 1319 |
+
"angle": 0,
|
| 1320 |
+
"content": "<sup>15</sup>It remains unclear to the authors whether more hands were present during these centuries, explaining the performance of the HTR and the classification models, or if this was due to another reason; e.g., writing became more cursive over time. <sup>16</sup>We sampled thirty lines, repeating sampling ten times."
|
| 1321 |
+
},
|
| 1322 |
+
{
|
| 1323 |
+
"type": "page_number",
|
| 1324 |
+
"bbox": [
|
| 1325 |
+
0.481,
|
| 1326 |
+
0.928,
|
| 1327 |
+
0.521,
|
| 1328 |
+
0.941
|
| 1329 |
+
],
|
| 1330 |
+
"angle": 0,
|
| 1331 |
+
"content": "7823"
|
| 1332 |
+
}
|
| 1333 |
+
],
|
| 1334 |
+
[
|
| 1335 |
+
{
|
| 1336 |
+
"type": "image",
|
| 1337 |
+
"bbox": [
|
| 1338 |
+
0.175,
|
| 1339 |
+
0.101,
|
| 1340 |
+
0.812,
|
| 1341 |
+
0.252
|
| 1342 |
+
],
|
| 1343 |
+
"angle": 0,
|
| 1344 |
+
"content": null
|
| 1345 |
+
},
|
| 1346 |
+
{
|
| 1347 |
+
"type": "image_caption",
|
| 1348 |
+
"bbox": [
|
| 1349 |
+
0.113,
|
| 1350 |
+
0.26,
|
| 1351 |
+
0.885,
|
| 1352 |
+
0.304
|
| 1353 |
+
],
|
| 1354 |
+
"angle": 0,
|
| 1355 |
+
"content": "Figure 5: Average Precision of GreekBERT:M, pretrained on modern Greek (blue, solid), and GreekBERT:M+A, further pre-trained on ancient Greek (orange, dashed), using a rolling window over CER (left edge shown horizontally) - error bands depict \\(95\\%\\) bootstrap confidence intervals"
|
| 1356 |
+
},
|
| 1357 |
+
{
|
| 1358 |
+
"type": "text",
|
| 1359 |
+
"bbox": [
|
| 1360 |
+
0.117,
|
| 1361 |
+
0.329,
|
| 1362 |
+
0.491,
|
| 1363 |
+
0.668
|
| 1364 |
+
],
|
| 1365 |
+
"angle": 0,
|
| 1366 |
+
"content": "challenge, by encoding the system- and decoding the human-transcriptions.\\(^{18}\\) This model is a neural error correction baseline that reduced the CER in 19 out of the 180 HTRed texts in the official HTREC2022 evaluation set. We applied this corrector on the respective 180 transcriptions of these data (the ground truth evaluation instances in HTREC2022) and found that 144 \\((80\\%)\\) were mistakenly altered by our MT5 corrector. For example, the line 'αν τους μηδους οινες έτε αργυρτω παρα' was altered to 'αν τους μηδους οινες έτε αργυρτω παρα' (word division, 4th word). Similarly, 'χευσης μη φονευσης μη κλε' was altered to 'χλευσεως μη φονευσεως μη κλεπτ'. Most of these adversarial mistakes (all but the top three of Table 4) would have been avoided if our GreekBERT:M+A classifier had been applied prior to the application of this neural corrector. Conversely, only four (i.e., the rest in Table 4) would have been mistakenly found as correct from the system-transcribed instances."
|
| 1367 |
+
},
|
| 1368 |
+
{
|
| 1369 |
+
"type": "title",
|
| 1370 |
+
"bbox": [
|
| 1371 |
+
0.114,
|
| 1372 |
+
0.679,
|
| 1373 |
+
0.484,
|
| 1374 |
+
0.695
|
| 1375 |
+
],
|
| 1376 |
+
"angle": 0,
|
| 1377 |
+
"content": "5.2 A synthetic application of error detection"
|
| 1378 |
+
},
|
| 1379 |
+
{
|
| 1380 |
+
"type": "text",
|
| 1381 |
+
"bbox": [
|
| 1382 |
+
0.113,
|
| 1383 |
+
0.7,
|
| 1384 |
+
0.49,
|
| 1385 |
+
0.86
|
| 1386 |
+
],
|
| 1387 |
+
"angle": 0,
|
| 1388 |
+
"content": "We experimented with the HTREC2022 evaluation dataset, which was used to assess the participating systems. This dataset comprises 180 lines that were transcribed from nine images. Out of these lines, one had zero CER achieved by the HTR model (perfect transcription), which was correctly classified by our GreekBERT:M+A model. We then performed two analyses, first by applying our model on the flawless human transcriptions (as if a transcription was the HTR output) and then by applying"
|
| 1389 |
+
},
|
| 1390 |
+
{
|
| 1391 |
+
"type": "text",
|
| 1392 |
+
"bbox": [
|
| 1393 |
+
0.508,
|
| 1394 |
+
0.329,
|
| 1395 |
+
0.885,
|
| 1396 |
+
0.442
|
| 1397 |
+
],
|
| 1398 |
+
"angle": 0,
|
| 1399 |
+
"content": "it on the flawed system recognitions (the same lines were used). The human transcriptions were correctly classified as flawless, all except three \\((1.7\\%)\\) error rate), which are shown in the top three rows of Table 4. The system recognitions were also correctly classified as flawed, all except four \\((2.3\\%)\\) error rate), shown in the last four rows of Table 4."
|
| 1400 |
+
},
|
| 1401 |
+
{
|
| 1402 |
+
"type": "title",
|
| 1403 |
+
"bbox": [
|
| 1404 |
+
0.509,
|
| 1405 |
+
0.465,
|
| 1406 |
+
0.671,
|
| 1407 |
+
0.48
|
| 1408 |
+
],
|
| 1409 |
+
"angle": 0,
|
| 1410 |
+
"content": "5.3 Error analysis"
|
| 1411 |
+
},
|
| 1412 |
+
{
|
| 1413 |
+
"type": "text",
|
| 1414 |
+
"bbox": [
|
| 1415 |
+
0.507,
|
| 1416 |
+
0.492,
|
| 1417 |
+
0.884,
|
| 1418 |
+
0.589
|
| 1419 |
+
],
|
| 1420 |
+
"angle": 0,
|
| 1421 |
+
"content": "An error detection by experts in Table 4,\\(^{19}\\) showed that no clue (indicating an error) was found for the first line (except from the rare ‘φιλαχόλουνός’ with double accent). As is shown in Figure 6 (a), which depicts the attention on the subwords of this line, this was indeed the network’s focus."
|
| 1422 |
+
},
|
| 1423 |
+
{
|
| 1424 |
+
"type": "text",
|
| 1425 |
+
"bbox": [
|
| 1426 |
+
0.507,
|
| 1427 |
+
0.593,
|
| 1428 |
+
0.884,
|
| 1429 |
+
0.753
|
| 1430 |
+
],
|
| 1431 |
+
"angle": 0,
|
| 1432 |
+
"content": "On the second line, word 'iσμαηλήτι' was considered as the outcome of misspelling of the word 'iσμαηλιτη', matching the algorithm's decision. In this case, it was the ending of the word that attracted attention (Fig. 6), but the network focused more on the article 'των' preceding the word rather than on the word itself. The article is in plural form, not matching a word in singular. Apparently, 'iσμαηλήτι' is not a misspelling, but part of the word 'iσμαηλιτιχων' that was corrupted."
|
| 1433 |
+
},
|
| 1434 |
+
{
|
| 1435 |
+
"type": "text",
|
| 1436 |
+
"bbox": [
|
| 1437 |
+
0.508,
|
| 1438 |
+
0.758,
|
| 1439 |
+
0.885,
|
| 1440 |
+
0.87
|
| 1441 |
+
],
|
| 1442 |
+
"angle": 0,
|
| 1443 |
+
"content": "In the last four lines, that were classified as correct, several flaws were raised, indicating a failure of the algorithm. For example, word divisions, such as in the case of \\(\\omega \\sigma x\\alpha\\) instead of \\(\\omega \\varsigma \\chi \\alpha \\iota\\); added characters, such as in the case of \\(\\varepsilon \\dot{\\upsilon}\\upsilon \\chi \\eta \\varsigma\\) instead of \\(\\varepsilon \\dot{\\upsilon}\\chi \\eta \\varsigma\\); character replacements, such as in the case of \\(\\zeta \\kappa \\tau \\varepsilon \\iota \\alpha \\nu\\) instead of \\(\\iota \\kappa \\varepsilon \\tau \\varepsilon \\iota \\alpha \\nu\\)."
|
| 1444 |
+
},
|
| 1445 |
+
{
|
| 1446 |
+
"type": "page_footnote",
|
| 1447 |
+
"bbox": [
|
| 1448 |
+
0.113,
|
| 1449 |
+
0.869,
|
| 1450 |
+
0.49,
|
| 1451 |
+
0.919
|
| 1452 |
+
],
|
| 1453 |
+
"angle": 0,
|
| 1454 |
+
"content": "<sup>18</sup>We used the SimpleT5 implementation (https://github.com/Shivanandroy/simpleT5) with 100 epochs, early stopping (patience of 2 epochs), 15 tokens max. length, batch size of 4, and best loss found at the 12th epoch (2.64)."
|
| 1455 |
+
},
|
| 1456 |
+
{
|
| 1457 |
+
"type": "page_footnote",
|
| 1458 |
+
"bbox": [
|
| 1459 |
+
0.509,
|
| 1460 |
+
0.893,
|
| 1461 |
+
0.884,
|
| 1462 |
+
0.919
|
| 1463 |
+
],
|
| 1464 |
+
"angle": 0,
|
| 1465 |
+
"content": "\\(^{19}\\)No access was given to the manuscript or the human transcription, for fair comparison with the setting of the algorithm."
|
| 1466 |
+
},
|
| 1467 |
+
{
|
| 1468 |
+
"type": "page_number",
|
| 1469 |
+
"bbox": [
|
| 1470 |
+
0.481,
|
| 1471 |
+
0.928,
|
| 1472 |
+
0.521,
|
| 1473 |
+
0.941
|
| 1474 |
+
],
|
| 1475 |
+
"angle": 0,
|
| 1476 |
+
"content": "7824"
|
| 1477 |
+
}
|
| 1478 |
+
],
|
| 1479 |
+
[
|
| 1480 |
+
{
|
| 1481 |
+
"type": "table",
|
| 1482 |
+
"bbox": [
|
| 1483 |
+
0.127,
|
| 1484 |
+
0.082,
|
| 1485 |
+
0.871,
|
| 1486 |
+
0.33
|
| 1487 |
+
],
|
| 1488 |
+
"angle": 0,
|
| 1489 |
+
"content": "<table><tr><td>TRANSCRIPTIONS AND HTR OUTPUT</td><td>GREEKBERT:M+A</td><td>GT</td></tr><tr><td>èγώ δ ἀεί πως φιλαχόλουθός εἰμι(I am always readily following)</td><td>F</td><td>N</td></tr><tr><td>λα και γέδεων εκ τών σχύλων τών ομαηλητι(- and Gedeon from the dogs the - )</td><td>F</td><td>N</td></tr><tr><td>δραμων εἰς και γόνυπετη(having run to and falling on the knee)</td><td>F</td><td>N</td></tr><tr><td>τιθεις τας χειρας επαυτα(having put the hands on them)</td><td>F</td><td>N</td></tr><tr><td>ζετείαν χέδεσποτα, και ευμενώς Ἁκουσου τών τής προς εύυχης(- - - and favourably listen to the of the prayer)</td><td>N</td><td>F</td></tr><tr><td>èγενόμην icos. αραή τής μεό τιεγεζήθης ἐλειεμοήτιριος(became - - - - - )</td><td>N</td><td>F</td></tr><tr><td>ωσααι τής συνεχους διδασκαλιας τους βα(- of the continuous instruction the - )</td><td>N</td><td>F</td></tr></table>"
|
| 1490 |
+
},
|
| 1491 |
+
{
|
| 1492 |
+
"type": "table_caption",
|
| 1493 |
+
"bbox": [
|
| 1494 |
+
0.113,
|
| 1495 |
+
0.339,
|
| 1496 |
+
0.883,
|
| 1497 |
+
0.369
|
| 1498 |
+
],
|
| 1499 |
+
"angle": 0,
|
| 1500 |
+
"content": "Table 4: HTRed lines and transcriptions that GreekBERT:M+A mistakenly predicted as flawed (F) or not (N) - the ground truth (GT) on the right shows whether there was an error or not"
|
| 1501 |
+
},
|
| 1502 |
+
{
|
| 1503 |
+
"type": "title",
|
| 1504 |
+
"bbox": [
|
| 1505 |
+
0.114,
|
| 1506 |
+
0.395,
|
| 1507 |
+
0.236,
|
| 1508 |
+
0.409
|
| 1509 |
+
],
|
| 1510 |
+
"angle": 0,
|
| 1511 |
+
"content": "Error patterns"
|
| 1512 |
+
},
|
| 1513 |
+
{
|
| 1514 |
+
"type": "text",
|
| 1515 |
+
"bbox": [
|
| 1516 |
+
0.113,
|
| 1517 |
+
0.414,
|
| 1518 |
+
0.49,
|
| 1519 |
+
0.542
|
| 1520 |
+
],
|
| 1521 |
+
"angle": 0,
|
| 1522 |
+
"content": "Next, we proceed with an analysis of the recognition errors, using data from three centuries. We opt for 16th CE, the century on which both our models perform considerably well (Fig. 4). Next, we focus on the 14th CE, going back two centuries, but still observing good performance by both models. Last is shown the 13th CE, where GreekBERT:M performs much worse than GreekBERT:M+A."
|
| 1523 |
+
},
|
| 1524 |
+
{
|
| 1525 |
+
"type": "text",
|
| 1526 |
+
"bbox": [
|
| 1527 |
+
0.113,
|
| 1528 |
+
0.554,
|
| 1529 |
+
0.49,
|
| 1530 |
+
0.797
|
| 1531 |
+
],
|
| 1532 |
+
"angle": 0,
|
| 1533 |
+
"content": "16th CE This is the data group with the highest average CER (see Figure 3). What seems to be challenging in this data group is the fact that there is a variety of punctuation marks which are sometimes read by the model as letters because of their shape. An illustrative example of this case is the word 'πλοῦς' which is read by the model as 'πλούου'. This is due to a comma following the word 'πλοῦς', which is very similar to the last letter of the word (ς). There are also many cases of ligatures in which the model fails to recognise both letters, especially the one written on the top of the ligature, such as the letter 'τ' in the combination 'τρ' as one can see in the following instance; 'ω πατρις' read as 'ως ωπαρις'."
|
| 1534 |
+
},
|
| 1535 |
+
{
|
| 1536 |
+
"type": "text",
|
| 1537 |
+
"bbox": [
|
| 1538 |
+
0.113,
|
| 1539 |
+
0.807,
|
| 1540 |
+
0.49,
|
| 1541 |
+
0.92
|
| 1542 |
+
],
|
| 1543 |
+
"angle": 0,
|
| 1544 |
+
"content": "14th CE The data from the 14th century show the second highest CER on average (see Figure 3). This is partly because of a great number of ligatures appearing in this data group. A common ligature among this group is the one which represents the group of the letters \\(\\varepsilon\\) and \\(\\rho\\). In this ligature it happens that the letter \\(\\varepsilon\\) is written above the letter"
|
| 1545 |
+
},
|
| 1546 |
+
{
|
| 1547 |
+
"type": "text",
|
| 1548 |
+
"bbox": [
|
| 1549 |
+
0.507,
|
| 1550 |
+
0.394,
|
| 1551 |
+
0.885,
|
| 1552 |
+
0.733
|
| 1553 |
+
],
|
| 1554 |
+
"angle": 0,
|
| 1555 |
+
"content": "\\(\\varphi^{\\prime}\\). The way the model interprets this structure can be seen in the following case; \\(\\varphi \\acute{\\varepsilon} \\rho^{\\prime} \\dot{\\varepsilon} \\pi^{\\prime} \\omega \\tau \\eta \\nu\\) \\(\\iota \\omega\\), where \\(\\varphi \\acute{\\varepsilon} \\rho^{\\prime}\\) consists of one letter \\((\\varphi)\\) and one ligature \\((\\varepsilon \\rho)\\) is read by the model as \\(\\varphi \\varepsilon \\pi \\alpha \\omega \\tau \\eta \\nu\\) \\(\\iota \\varsigma \\omega\\). The model fails reading correctly the letter combination and returns only the letter \\(\\varphi^{\\prime}\\) and one of the two letters involved in the \\(\\varepsilon \\rho^{\\prime}\\) combination \\((\\rho)\\), which is actually the one written in the position next to the letter \\(\\varphi^{\\prime}\\). The same instance shows clearly that there is a tendency towards adding characters because of different drawing representations of characters found in this data group. The letter \\(\\omega\\) can be considered such a case. In the previous example, we can see that the word \\(\\iota \\omega\\) is read by the model as \\(\\iota \\varsigma \\omega\\). This is because, in this instance, the letter \\(\\omega\\) has the shape of a laid eight. The same letter has the usual shape in other cases in the text of this century, which was quite confusing for the model and led the model to decide that it should be a combination of both \\(\\sigma^{\\prime}\\) and \\(\\omega^{\\prime}\\), since the former is quite close to the half laid-eight shape."
|
| 1556 |
+
},
|
| 1557 |
+
{
|
| 1558 |
+
"type": "text",
|
| 1559 |
+
"bbox": [
|
| 1560 |
+
0.508,
|
| 1561 |
+
0.743,
|
| 1562 |
+
0.887,
|
| 1563 |
+
0.92
|
| 1564 |
+
],
|
| 1565 |
+
"angle": 0,
|
| 1566 |
+
"content": "13th CE The data group that is easiest to read for the model seems to be the 13th century one. In this group, errors appear mainly because of special letter shapes and abbreviations. Such a letter shape is that of the letter \\(\\varepsilon\\) which is written as the letter \\(\\delta\\) with an added line pointing upwards. A characteristic example of the failure of the recognition task is this one; \\(\\tilde{\\varepsilon}\\omega\\varsigma\\) is read as \\(\\delta\\omega\\varsigma\\). Here the model has clearly classified the \\(\\tilde{\\varepsilon}\\) as a \\(\\delta\\). Regarding the abbreviations representing character groups, one can find among others the following"
|
| 1567 |
+
},
|
| 1568 |
+
{
|
| 1569 |
+
"type": "page_number",
|
| 1570 |
+
"bbox": [
|
| 1571 |
+
0.481,
|
| 1572 |
+
0.928,
|
| 1573 |
+
0.521,
|
| 1574 |
+
0.941
|
| 1575 |
+
],
|
| 1576 |
+
"angle": 0,
|
| 1577 |
+
"content": "7825"
|
| 1578 |
+
}
|
| 1579 |
+
],
|
| 1580 |
+
[
|
| 1581 |
+
{
|
| 1582 |
+
"type": "image",
|
| 1583 |
+
"bbox": [
|
| 1584 |
+
0.117,
|
| 1585 |
+
0.084,
|
| 1586 |
+
0.88,
|
| 1587 |
+
0.205
|
| 1588 |
+
],
|
| 1589 |
+
"angle": 0,
|
| 1590 |
+
"content": null
|
| 1591 |
+
},
|
| 1592 |
+
{
|
| 1593 |
+
"type": "image_caption",
|
| 1594 |
+
"bbox": [
|
| 1595 |
+
0.407,
|
| 1596 |
+
0.212,
|
| 1597 |
+
0.593,
|
| 1598 |
+
0.225
|
| 1599 |
+
],
|
| 1600 |
+
"angle": 0,
|
| 1601 |
+
"content": "(c) \\(\\delta \\rho \\alpha \\mu \\omega \\nu \\varepsilon \\varepsilon \\varepsilon \\varepsilon \\varepsilon \\varepsilon \\varepsilon \\varepsilon \\varepsilon \\varepsilon \\varepsilon \\varepsilon \\varepsilon \\varepsilon \\varepsilon \\varepsilon \\varepsilon \\varepsilon \\varepsilon \\varepsilon \\varepsilon \\varepsilon \\varepsilon \\varepsilon \\varepsilon \\vareeta\\)"
|
| 1602 |
+
},
|
| 1603 |
+
{
|
| 1604 |
+
"type": "image_caption",
|
| 1605 |
+
"bbox": [
|
| 1606 |
+
0.113,
|
| 1607 |
+
0.24,
|
| 1608 |
+
0.882,
|
| 1609 |
+
0.27
|
| 1610 |
+
],
|
| 1611 |
+
"angle": 0,
|
| 1612 |
+
"content": "Figure 6: The attention of GreekBERT:M+A (darker is more) for the three top (missclassified) lines of Table 4 - the symbol ## is used to concatenate a subword with the preceding one during tokenisation (\\(\\delta \\rho \\alpha \\mu \\omega \\nu\\) is \\(\\delta \\rho \\alpha \\# \\mu \\omega \\nu\\))"
|
| 1613 |
+
},
|
| 1614 |
+
{
|
| 1615 |
+
"type": "text",
|
| 1616 |
+
"bbox": [
|
| 1617 |
+
0.113,
|
| 1618 |
+
0.295,
|
| 1619 |
+
0.489,
|
| 1620 |
+
0.359
|
| 1621 |
+
],
|
| 1622 |
+
"angle": 0,
|
| 1623 |
+
"content": "one; \\(\\alpha v\\) . In the case of ouxioov, where the last two letters are represented by the abbreviation, the model reads ouxoX, where \\(\\omega\\) has replaced the abbreviation because of similarity in shape."
|
| 1624 |
+
},
|
| 1625 |
+
{
|
| 1626 |
+
"type": "title",
|
| 1627 |
+
"bbox": [
|
| 1628 |
+
0.114,
|
| 1629 |
+
0.373,
|
| 1630 |
+
0.437,
|
| 1631 |
+
0.388
|
| 1632 |
+
],
|
| 1633 |
+
"angle": 0,
|
| 1634 |
+
"content": "5.4 Language and script generalisation"
|
| 1635 |
+
},
|
| 1636 |
+
{
|
| 1637 |
+
"type": "text",
|
| 1638 |
+
"bbox": [
|
| 1639 |
+
0.113,
|
| 1640 |
+
0.395,
|
| 1641 |
+
0.49,
|
| 1642 |
+
0.572
|
| 1643 |
+
],
|
| 1644 |
+
"angle": 0,
|
| 1645 |
+
"content": "Our work can potentially inspire analogous pretraining in other languages with a long documented history. To provide an example: Old, Middle, and Modern English and Japanese (Lyovin, 1997, pp. 2) can qualify for pre-training on both Old and Modern data, as in the Greek language in our case. The scripts our results are based on, however, are very common both in Greek and Latin manuscripts while common handwritten character shapes, e.g., epsilon (E) (Chambers and Chambers, 1891, pp. 703), may illuminate error patterns in Latin scripts."
|
| 1646 |
+
},
|
| 1647 |
+
{
|
| 1648 |
+
"type": "title",
|
| 1649 |
+
"bbox": [
|
| 1650 |
+
0.114,
|
| 1651 |
+
0.587,
|
| 1652 |
+
0.247,
|
| 1653 |
+
0.601
|
| 1654 |
+
],
|
| 1655 |
+
"angle": 0,
|
| 1656 |
+
"content": "6 Conclusion"
|
| 1657 |
+
},
|
| 1658 |
+
{
|
| 1659 |
+
"type": "text",
|
| 1660 |
+
"bbox": [
|
| 1661 |
+
0.113,
|
| 1662 |
+
0.614,
|
| 1663 |
+
0.49,
|
| 1664 |
+
0.919
|
| 1665 |
+
],
|
| 1666 |
+
"angle": 0,
|
| 1667 |
+
"content": "This work showed that detecting erroneous recognised lines improves the accuracy of handwritten Byzantine text recognition, aiming to assist the disciplines struggling with vast corpora and little man power. By contrast to printed text, errors in handwritten text vary greatly, some of which are easier and others difficult to catch. Our experiments showed that two BERT models, one pre-trained in modern and the other pre-trained in modern then in ancient Greek perform well for the task of erroneous handwritten recognised text classification. The latter performs better, especially for manuscripts from older centuries and for lines with higher recognition error rate. By using a neural text-to-text Transformer for error correction along with our best performing classifier, we found that adversarial behaviour is not uncommon in the neural corrector's output which could have been significantly limited if a BERT classifier, pre-trained and"
|
| 1668 |
+
},
|
| 1669 |
+
{
|
| 1670 |
+
"type": "text",
|
| 1671 |
+
"bbox": [
|
| 1672 |
+
0.509,
|
| 1673 |
+
0.295,
|
| 1674 |
+
0.805,
|
| 1675 |
+
0.31
|
| 1676 |
+
],
|
| 1677 |
+
"angle": 0,
|
| 1678 |
+
"content": "fine-tuned, had classified the input first."
|
| 1679 |
+
},
|
| 1680 |
+
{
|
| 1681 |
+
"type": "text",
|
| 1682 |
+
"bbox": [
|
| 1683 |
+
0.508,
|
| 1684 |
+
0.311,
|
| 1685 |
+
0.884,
|
| 1686 |
+
0.456
|
| 1687 |
+
],
|
| 1688 |
+
"angle": 0,
|
| 1689 |
+
"content": "Directions of future work comprise the development of a larger dataset, which, although not easily developed in our domain of focus, it could potentially allow us to draw more conclusions and lead to further findings. Furthermore, we plan to extend our dataset with calibrated evaluation subsets, in order to gain more perspective on the performance of systems for specific error types, including ones that occur naturally and are not meant to be corrected."
|
| 1690 |
+
},
|
| 1691 |
+
{
|
| 1692 |
+
"type": "title",
|
| 1693 |
+
"bbox": [
|
| 1694 |
+
0.51,
|
| 1695 |
+
0.469,
|
| 1696 |
+
0.615,
|
| 1697 |
+
0.483
|
| 1698 |
+
],
|
| 1699 |
+
"angle": 0,
|
| 1700 |
+
"content": "Limitations"
|
| 1701 |
+
},
|
| 1702 |
+
{
|
| 1703 |
+
"type": "text",
|
| 1704 |
+
"bbox": [
|
| 1705 |
+
0.532,
|
| 1706 |
+
0.494,
|
| 1707 |
+
0.884,
|
| 1708 |
+
0.591
|
| 1709 |
+
],
|
| 1710 |
+
"angle": 0,
|
| 1711 |
+
"content": "- Our study is focused on Byzantine Greek, from the 10th to the 16th century. Our hypothesis, that text classification could assist the post correction of HTRd output, should be studied for more languages and covering a longer period to draw general conclusions."
|
| 1712 |
+
},
|
| 1713 |
+
{
|
| 1714 |
+
"type": "text",
|
| 1715 |
+
"bbox": [
|
| 1716 |
+
0.532,
|
| 1717 |
+
0.602,
|
| 1718 |
+
0.885,
|
| 1719 |
+
0.795
|
| 1720 |
+
],
|
| 1721 |
+
"angle": 0,
|
| 1722 |
+
"content": "- By contrast to OCR, where low CER values are reported, HTRd output can significantly differ from the human transcription. For example, correct text may be misplaced (e.g., due to mistaken word division) or by the introduction of an extra character (e.g., the last word of the fifth line in Table 4). Hence, the creation of ground truth at the character level is very challenging in this context, hindering experimentation at the token or the character level, as in OCR (Schulz and Kuhn, 2017; Schaefer and Neudecker, 2020)."
|
| 1723 |
+
},
|
| 1724 |
+
{
|
| 1725 |
+
"type": "text",
|
| 1726 |
+
"bbox": [
|
| 1727 |
+
0.532,
|
| 1728 |
+
0.807,
|
| 1729 |
+
0.885,
|
| 1730 |
+
0.919
|
| 1731 |
+
],
|
| 1732 |
+
"angle": 0,
|
| 1733 |
+
"content": "- Sensitivity analysis has not been performed. Although we repeated our experiments to verify the validity of our findings regarding GreekBERT, we have not experimented with cross validation over the centuries, as in (Platanou et al., 2022). Training, however, an algorithm on texts from specific centuries, then as"
|
| 1734 |
+
},
|
| 1735 |
+
{
|
| 1736 |
+
"type": "list",
|
| 1737 |
+
"bbox": [
|
| 1738 |
+
0.532,
|
| 1739 |
+
0.494,
|
| 1740 |
+
0.885,
|
| 1741 |
+
0.919
|
| 1742 |
+
],
|
| 1743 |
+
"angle": 0,
|
| 1744 |
+
"content": null
|
| 1745 |
+
},
|
| 1746 |
+
{
|
| 1747 |
+
"type": "page_number",
|
| 1748 |
+
"bbox": [
|
| 1749 |
+
0.481,
|
| 1750 |
+
0.929,
|
| 1751 |
+
0.521,
|
| 1752 |
+
0.941
|
| 1753 |
+
],
|
| 1754 |
+
"angle": 0,
|
| 1755 |
+
"content": "7826"
|
| 1756 |
+
}
|
| 1757 |
+
],
|
| 1758 |
+
[
|
| 1759 |
+
{
|
| 1760 |
+
"type": "text",
|
| 1761 |
+
"bbox": [
|
| 1762 |
+
0.15,
|
| 1763 |
+
0.086,
|
| 1764 |
+
0.489,
|
| 1765 |
+
0.117
|
| 1766 |
+
],
|
| 1767 |
+
"angle": 0,
|
| 1768 |
+
"content": "sessing on ones from previous or future ones, could potentially reveal interesting patterns."
|
| 1769 |
+
},
|
| 1770 |
+
{
|
| 1771 |
+
"type": "text",
|
| 1772 |
+
"bbox": [
|
| 1773 |
+
0.137,
|
| 1774 |
+
0.128,
|
| 1775 |
+
0.49,
|
| 1776 |
+
0.336
|
| 1777 |
+
],
|
| 1778 |
+
"angle": 0,
|
| 1779 |
+
"content": "- Diplomatic transcriptions may lead to naturally-occurring errors (i.e., ones the editors would want to keep, to stay as close to the original as possible), which our proposed classifiers could and probably would classify as incorrect recognition output. This limitation could be bypassed if the proposed systems are used complementary with an expert, not trying to substitute one. For example, the expert could view only lines the classifier labelled as incorrect, bypassing or acknowledging errors which were meant to be there."
|
| 1780 |
+
},
|
| 1781 |
+
{
|
| 1782 |
+
"type": "title",
|
| 1783 |
+
"bbox": [
|
| 1784 |
+
0.116,
|
| 1785 |
+
0.376,
|
| 1786 |
+
0.214,
|
| 1787 |
+
0.391
|
| 1788 |
+
],
|
| 1789 |
+
"angle": 0,
|
| 1790 |
+
"content": "References"
|
| 1791 |
+
},
|
| 1792 |
+
{
|
| 1793 |
+
"type": "ref_text",
|
| 1794 |
+
"bbox": [
|
| 1795 |
+
0.117,
|
| 1796 |
+
0.399,
|
| 1797 |
+
0.49,
|
| 1798 |
+
0.466
|
| 1799 |
+
],
|
| 1800 |
+
"angle": 0,
|
| 1801 |
+
"content": "Chantal Amrhein and Simon Clematide. 2018. SupervisedOCR error detection and correction using statistical and neural machine translation methods. Journal for Language Technology and Computational Linguistics (JLCL), 33(1):49-76."
|
| 1802 |
+
},
|
| 1803 |
+
{
|
| 1804 |
+
"type": "ref_text",
|
| 1805 |
+
"bbox": [
|
| 1806 |
+
0.117,
|
| 1807 |
+
0.475,
|
| 1808 |
+
0.489,
|
| 1809 |
+
0.515
|
| 1810 |
+
],
|
| 1811 |
+
"angle": 0,
|
| 1812 |
+
"content": "William Chambers and Robert Chambers. 1891. Chambers' Encyclopaedia: A Dictionary of Universal Knowledge, volume 8. W. & R. Chambers."
|
| 1813 |
+
},
|
| 1814 |
+
{
|
| 1815 |
+
"type": "ref_text",
|
| 1816 |
+
"bbox": [
|
| 1817 |
+
0.117,
|
| 1818 |
+
0.525,
|
| 1819 |
+
0.49,
|
| 1820 |
+
0.605
|
| 1821 |
+
],
|
| 1822 |
+
"angle": 0,
|
| 1823 |
+
"content": "Guillaume Chiron, Antoine Doucet, Mickaël Coustaty, and Jean-Philippe Moreux. 2017. Icdar2017 competition on post-ocr text correction. In 2017 14th IAPR International Conference on Document Analysis and Recognition (ICDAR), volume 1, pages 1423-1428, Kyoto, Japan."
|
| 1824 |
+
},
|
| 1825 |
+
{
|
| 1826 |
+
"type": "ref_text",
|
| 1827 |
+
"bbox": [
|
| 1828 |
+
0.117,
|
| 1829 |
+
0.614,
|
| 1830 |
+
0.49,
|
| 1831 |
+
0.668
|
| 1832 |
+
],
|
| 1833 |
+
"angle": 0,
|
| 1834 |
+
"content": "Dana Dannélls and Shafqat Virk. 2021. A supervised machine learning approach for post-ocr error detection for historical text. In Swedish Language Technology Conference and NLP4CALL, pages 13-20."
|
| 1835 |
+
},
|
| 1836 |
+
{
|
| 1837 |
+
"type": "ref_text",
|
| 1838 |
+
"bbox": [
|
| 1839 |
+
0.117,
|
| 1840 |
+
0.677,
|
| 1841 |
+
0.489,
|
| 1842 |
+
0.73
|
| 1843 |
+
],
|
| 1844 |
+
"angle": 0,
|
| 1845 |
+
"content": "Jacob Devlin, Ming-Wei Chang, Kenton Lee, and Kristina Toutanova. 2018. Bert: Pre-training of deep bidirectional transformers for language understanding. arXiv preprint arXiv:1810.04805."
|
| 1846 |
+
},
|
| 1847 |
+
{
|
| 1848 |
+
"type": "ref_text",
|
| 1849 |
+
"bbox": [
|
| 1850 |
+
0.117,
|
| 1851 |
+
0.74,
|
| 1852 |
+
0.49,
|
| 1853 |
+
0.807
|
| 1854 |
+
],
|
| 1855 |
+
"angle": 0,
|
| 1856 |
+
"content": "Tobias Mathias Hodel, David Selim Schoch, Christa Schneider, and Jake Purcell. 2021. General models for handwritten text recognition: feasibility and state-of-the-art. german current as an example. Journal of open humanities data, 7(13):1-10."
|
| 1857 |
+
},
|
| 1858 |
+
{
|
| 1859 |
+
"type": "ref_text",
|
| 1860 |
+
"bbox": [
|
| 1861 |
+
0.117,
|
| 1862 |
+
0.816,
|
| 1863 |
+
0.489,
|
| 1864 |
+
0.843
|
| 1865 |
+
],
|
| 1866 |
+
"angle": 0,
|
| 1867 |
+
"content": "Geoffrey Horrocks. 2014. Greek: A History of the Language and its Speakers. John Wiley & Sons."
|
| 1868 |
+
},
|
| 1869 |
+
{
|
| 1870 |
+
"type": "ref_text",
|
| 1871 |
+
"bbox": [
|
| 1872 |
+
0.117,
|
| 1873 |
+
0.853,
|
| 1874 |
+
0.49,
|
| 1875 |
+
0.919
|
| 1876 |
+
],
|
| 1877 |
+
"angle": 0,
|
| 1878 |
+
"content": "Adam Jatowt, Mickaël Coustaty, Nhu-Van Nguyen, Antoine Doucet, et al. 2019. Post-ocr error detection by generating plausible candidates. In 2019 International Conference on Document Analysis and Recognition (ICDAR), pages 876-881, Sydney, Australia."
|
| 1879 |
+
},
|
| 1880 |
+
{
|
| 1881 |
+
"type": "list",
|
| 1882 |
+
"bbox": [
|
| 1883 |
+
0.117,
|
| 1884 |
+
0.399,
|
| 1885 |
+
0.49,
|
| 1886 |
+
0.919
|
| 1887 |
+
],
|
| 1888 |
+
"angle": 0,
|
| 1889 |
+
"content": null
|
| 1890 |
+
},
|
| 1891 |
+
{
|
| 1892 |
+
"type": "ref_text",
|
| 1893 |
+
"bbox": [
|
| 1894 |
+
0.513,
|
| 1895 |
+
0.086,
|
| 1896 |
+
0.885,
|
| 1897 |
+
0.179
|
| 1898 |
+
],
|
| 1899 |
+
"angle": 0,
|
| 1900 |
+
"content": "Armand Joulin, Edouard Grave, Piotr Bojanowski, and Tomas Mikolov. 2017. Bag of tricks for efficient text classification. In Proceedings of the 15th Conference of the European Chapter of the Association for Computational Linguistics: Volume 2, Short Papers, pages 427-431. Association for Computational Linguistics."
|
| 1901 |
+
},
|
| 1902 |
+
{
|
| 1903 |
+
"type": "ref_text",
|
| 1904 |
+
"bbox": [
|
| 1905 |
+
0.512,
|
| 1906 |
+
0.187,
|
| 1907 |
+
0.885,
|
| 1908 |
+
0.266
|
| 1909 |
+
],
|
| 1910 |
+
"angle": 0,
|
| 1911 |
+
"content": "Philip Kahle, Sebastian Colutto, Günter Hackl, and Günter Mühlberger. 2017. Transkribus - a service platform for transcription, recognition and retrieval of historical documents. In 2017 14th IAPR International Conference on Document Analysis and Recognition (ICDAR), volume 04, pages 19-24."
|
| 1912 |
+
},
|
| 1913 |
+
{
|
| 1914 |
+
"type": "ref_text",
|
| 1915 |
+
"bbox": [
|
| 1916 |
+
0.512,
|
| 1917 |
+
0.274,
|
| 1918 |
+
0.885,
|
| 1919 |
+
0.352
|
| 1920 |
+
],
|
| 1921 |
+
"angle": 0,
|
| 1922 |
+
"content": "Katerina Korre and John Pavlopoulos. 2022. Enriching grammatical error correction resources for Modern Greek. In Proceedings of the Thirteenth Language Resources and Evaluation Conference, pages 4984-4991, Marseille, France. European Language Resources Association."
|
| 1923 |
+
},
|
| 1924 |
+
{
|
| 1925 |
+
"type": "ref_text",
|
| 1926 |
+
"bbox": [
|
| 1927 |
+
0.512,
|
| 1928 |
+
0.362,
|
| 1929 |
+
0.885,
|
| 1930 |
+
0.415
|
| 1931 |
+
],
|
| 1932 |
+
"angle": 0,
|
| 1933 |
+
"content": "John Koutsikakis, Ilias Chalkidis, Prodromos Malakasiotis, and Ion Androutsopoulos. 2020. Greek-bert: The greeks visiting sesame street. In 11th Hellenic Conference on Artificial Intelligence, pages 110-117."
|
| 1934 |
+
},
|
| 1935 |
+
{
|
| 1936 |
+
"type": "ref_text",
|
| 1937 |
+
"bbox": [
|
| 1938 |
+
0.512,
|
| 1939 |
+
0.423,
|
| 1940 |
+
0.885,
|
| 1941 |
+
0.489
|
| 1942 |
+
],
|
| 1943 |
+
"angle": 0,
|
| 1944 |
+
"content": "Qian Li, Hao Peng, Jianxin Li, Congying Xia, Renyu Yang, Lichao Sun, Philip S Yu, and Lifang He. 2022. A survey on text classification: From traditional to deep learning. ACM Transactions on Intelligent Systems and Technology (TIST), 13(2):1-41."
|
| 1945 |
+
},
|
| 1946 |
+
{
|
| 1947 |
+
"type": "ref_text",
|
| 1948 |
+
"bbox": [
|
| 1949 |
+
0.512,
|
| 1950 |
+
0.498,
|
| 1951 |
+
0.885,
|
| 1952 |
+
0.525
|
| 1953 |
+
],
|
| 1954 |
+
"angle": 0,
|
| 1955 |
+
"content": "Anatole Lyovin. 1997. An Introduction to the Languages of the World. Oxford University Press, USA."
|
| 1956 |
+
},
|
| 1957 |
+
{
|
| 1958 |
+
"type": "ref_text",
|
| 1959 |
+
"bbox": [
|
| 1960 |
+
0.512,
|
| 1961 |
+
0.533,
|
| 1962 |
+
0.885,
|
| 1963 |
+
0.587
|
| 1964 |
+
],
|
| 1965 |
+
"angle": 0,
|
| 1966 |
+
"content": "Lijun Lyu, Maria Koutraki, Martin Krickl, and Besnik Fetahu. 2021. NeuralOCR post-hoc correction of historical corpora. Transactions of the Association for Computational Linguistics, pages 479-493."
|
| 1967 |
+
},
|
| 1968 |
+
{
|
| 1969 |
+
"type": "ref_text",
|
| 1970 |
+
"bbox": [
|
| 1971 |
+
0.512,
|
| 1972 |
+
0.594,
|
| 1973 |
+
0.885,
|
| 1974 |
+
0.634
|
| 1975 |
+
],
|
| 1976 |
+
"angle": 0,
|
| 1977 |
+
"content": "Arun S. Maiya. 2020. ktrain: A low-code library for augmented machine learning. arXiv preprint arXiv:2004.10703."
|
| 1978 |
+
},
|
| 1979 |
+
{
|
| 1980 |
+
"type": "ref_text",
|
| 1981 |
+
"bbox": [
|
| 1982 |
+
0.512,
|
| 1983 |
+
0.643,
|
| 1984 |
+
0.885,
|
| 1985 |
+
0.683
|
| 1986 |
+
],
|
| 1987 |
+
"angle": 0,
|
| 1988 |
+
"content": "Barbara McGillivray, Thierry Poibeaun, and Pablo Ruiz Fabo. 2020. Digital humanities and natural language processing: \"je t'aime... moi non plus\"."
|
| 1989 |
+
},
|
| 1990 |
+
{
|
| 1991 |
+
"type": "ref_text",
|
| 1992 |
+
"bbox": [
|
| 1993 |
+
0.512,
|
| 1994 |
+
0.691,
|
| 1995 |
+
0.885,
|
| 1996 |
+
0.757
|
| 1997 |
+
],
|
| 1998 |
+
"angle": 0,
|
| 1999 |
+
"content": "Shervin Minaee, Nal Kalchbrenner, Erik Cambria, Narjes Nikzad, Meysam Chenaghlu, and Jianfeng Gao. 2021. Deep learning-based text classification: a comprehensive review. ACM Computing Surveys (CSUR), 54(3):1-40."
|
| 2000 |
+
},
|
| 2001 |
+
{
|
| 2002 |
+
"type": "ref_text",
|
| 2003 |
+
"bbox": [
|
| 2004 |
+
0.512,
|
| 2005 |
+
0.765,
|
| 2006 |
+
0.885,
|
| 2007 |
+
0.843
|
| 2008 |
+
],
|
| 2009 |
+
"angle": 0,
|
| 2010 |
+
"content": "Thi Tuyet Hai Nguyen, Adam Jatowt, Nhu-Van Nguyen, Mickael Coustaty, and Antoine Doucet. 2020. Neural machine translation with bert for post-ocr error detection and correction. In Proceedings of the ACM/IEEE joint conference on digital libraries in 2020, pages 333-336."
|
| 2011 |
+
},
|
| 2012 |
+
{
|
| 2013 |
+
"type": "ref_text",
|
| 2014 |
+
"bbox": [
|
| 2015 |
+
0.512,
|
| 2016 |
+
0.853,
|
| 2017 |
+
0.885,
|
| 2018 |
+
0.918
|
| 2019 |
+
],
|
| 2020 |
+
"angle": 0,
|
| 2021 |
+
"content": "John Pavlopoulos, Vasiliki Kougia, Paraskevi Platanou, Stepan Shabalin, Konstantina Liagkou, Emmanouil Papadatos, Holger Essler, Jean-Baptiste Camps, and Franz Fischer. 2023. Error correcting htr'ed byzantine text."
|
| 2022 |
+
},
|
| 2023 |
+
{
|
| 2024 |
+
"type": "list",
|
| 2025 |
+
"bbox": [
|
| 2026 |
+
0.512,
|
| 2027 |
+
0.086,
|
| 2028 |
+
0.885,
|
| 2029 |
+
0.918
|
| 2030 |
+
],
|
| 2031 |
+
"angle": 0,
|
| 2032 |
+
"content": null
|
| 2033 |
+
},
|
| 2034 |
+
{
|
| 2035 |
+
"type": "page_number",
|
| 2036 |
+
"bbox": [
|
| 2037 |
+
0.481,
|
| 2038 |
+
0.929,
|
| 2039 |
+
0.521,
|
| 2040 |
+
0.941
|
| 2041 |
+
],
|
| 2042 |
+
"angle": 0,
|
| 2043 |
+
"content": "7827"
|
| 2044 |
+
}
|
| 2045 |
+
],
|
| 2046 |
+
[
|
| 2047 |
+
{
|
| 2048 |
+
"type": "ref_text",
|
| 2049 |
+
"bbox": [
|
| 2050 |
+
0.117,
|
| 2051 |
+
0.086,
|
| 2052 |
+
0.49,
|
| 2053 |
+
0.152
|
| 2054 |
+
],
|
| 2055 |
+
"angle": 0,
|
| 2056 |
+
"content": "Paraskevi Platanou, John Pavlopoulos, and Georgios Papaioannou. 2022. Handwritten paleographic greek text recognition: A century-based approach. In Proceedings of the Thirteenth Language Resources and Evaluation Conference, pages 6585-6589."
|
| 2057 |
+
},
|
| 2058 |
+
{
|
| 2059 |
+
"type": "ref_text",
|
| 2060 |
+
"bbox": [
|
| 2061 |
+
0.117,
|
| 2062 |
+
0.165,
|
| 2063 |
+
0.488,
|
| 2064 |
+
0.23
|
| 2065 |
+
],
|
| 2066 |
+
"angle": 0,
|
| 2067 |
+
"content": "Colin Raffel, Noam Shazeer, Adam Roberts, Katherine Lee, Sharan Narang, Michael Matena, Yanqi Zhou, Wei Li, and Peter J Liu. 2019. Exploring the limits of transfer learning with a unified text-to-text transformer. arXiv preprint arXiv:1910.10683."
|
| 2068 |
+
},
|
| 2069 |
+
{
|
| 2070 |
+
"type": "ref_text",
|
| 2071 |
+
"bbox": [
|
| 2072 |
+
0.117,
|
| 2073 |
+
0.242,
|
| 2074 |
+
0.488,
|
| 2075 |
+
0.308
|
| 2076 |
+
],
|
| 2077 |
+
"angle": 0,
|
| 2078 |
+
"content": "Christophe Rigaud, Antoine Doucet, Mickaël Coustaty, and Jean-Philippe Moreux. 2019. Icdar 2019 competition on post-ocr text correction. In 2019 international conference on document analysis and recognition (ICDAR), pages 1588-1593, Sydney, Australia."
|
| 2079 |
+
},
|
| 2080 |
+
{
|
| 2081 |
+
"type": "ref_text",
|
| 2082 |
+
"bbox": [
|
| 2083 |
+
0.117,
|
| 2084 |
+
0.32,
|
| 2085 |
+
0.488,
|
| 2086 |
+
0.398
|
| 2087 |
+
],
|
| 2088 |
+
"angle": 0,
|
| 2089 |
+
"content": "Robin Schaefer and Clemens Neudecker. 2020. A two-step approach for automaticOCR post-correction. In Proceedings of the The 4th Joint SIGHUM Workshop on Computational Linguistics for Cultural Heritage, Social Sciences, Humanities and Literature, pages 52-57, held online."
|
| 2090 |
+
},
|
| 2091 |
+
{
|
| 2092 |
+
"type": "ref_text",
|
| 2093 |
+
"bbox": [
|
| 2094 |
+
0.117,
|
| 2095 |
+
0.411,
|
| 2096 |
+
0.488,
|
| 2097 |
+
0.476
|
| 2098 |
+
],
|
| 2099 |
+
"angle": 0,
|
| 2100 |
+
"content": "Sarah Schulz and Jonas Kuhn. 2017. Multi-modular domain-tailoredOCR post-correction. In Proceedings of the 2017 Conference on Empirical Methods in Natural Language Processing, pages 2716-2726, Copenhagen, Denmark."
|
| 2101 |
+
},
|
| 2102 |
+
{
|
| 2103 |
+
"type": "ref_text",
|
| 2104 |
+
"bbox": [
|
| 2105 |
+
0.117,
|
| 2106 |
+
0.489,
|
| 2107 |
+
0.488,
|
| 2108 |
+
0.58
|
| 2109 |
+
],
|
| 2110 |
+
"angle": 0,
|
| 2111 |
+
"content": "Pranaydeep Singh, Gorik Rutten, and Els Lefever. 2021. A pilot study for bert language modelling and morphological analysis for ancient and medieval greek. In The 5th Joint SIGHUM Workshop on Computational Linguistics for Cultural Heritage, Social Sciences, Humanities and Literature (LaTeCH-CLfL 2021)."
|
| 2112 |
+
},
|
| 2113 |
+
{
|
| 2114 |
+
"type": "ref_text",
|
| 2115 |
+
"bbox": [
|
| 2116 |
+
0.117,
|
| 2117 |
+
0.593,
|
| 2118 |
+
0.488,
|
| 2119 |
+
0.658
|
| 2120 |
+
],
|
| 2121 |
+
"angle": 0,
|
| 2122 |
+
"content": "Phillip Benjamin Ströbel, Simon Clematide, Martin Volk, Raphael Schwitter, Tobias Hodel, and David Schoch. 2022. Evaluation of htr models without ground truth material. arXiv preprint arXiv:2201.06170."
|
| 2123 |
+
},
|
| 2124 |
+
{
|
| 2125 |
+
"type": "ref_text",
|
| 2126 |
+
"bbox": [
|
| 2127 |
+
0.117,
|
| 2128 |
+
0.671,
|
| 2129 |
+
0.488,
|
| 2130 |
+
0.75
|
| 2131 |
+
],
|
| 2132 |
+
"angle": 0,
|
| 2133 |
+
"content": "Shafqat Mumtaz Virk, Dana Dannélls, and Azam Sheikh Muhammad. 2021. A novel machine learning based approach for post-ocr error detection. In Proceedings of the International Conference on Recent Advances in Natural Language Processing (RANLP 2021), pages 1463–1470, Varna, Bulgaria."
|
| 2134 |
+
},
|
| 2135 |
+
{
|
| 2136 |
+
"type": "ref_text",
|
| 2137 |
+
"bbox": [
|
| 2138 |
+
0.117,
|
| 2139 |
+
0.762,
|
| 2140 |
+
0.488,
|
| 2141 |
+
0.841
|
| 2142 |
+
],
|
| 2143 |
+
"angle": 0,
|
| 2144 |
+
"content": "Sida Wang and Christopher Manning. 2012. Baselines and bigrams: Simple, good sentiment and topic classification. In Proceedings of the 50th Annual Meeting of the Association for Computational Linguistics (Volume 2: Short Papers), pages 90-94, Jeju Island, Korea. Association for Computational Linguistics."
|
| 2145 |
+
},
|
| 2146 |
+
{
|
| 2147 |
+
"type": "ref_text",
|
| 2148 |
+
"bbox": [
|
| 2149 |
+
0.117,
|
| 2150 |
+
0.853,
|
| 2151 |
+
0.488,
|
| 2152 |
+
0.918
|
| 2153 |
+
],
|
| 2154 |
+
"angle": 0,
|
| 2155 |
+
"content": "Linting Xue, Noah Constant, Adam Roberts, Mihir Kale, Rami Al-Rfou, Aditya Siddhant, Aditya Barua, and Colin Raffel. 2020. mt5: A massively multilingual pre-trained text-to-text transformer. arXiv preprint arXiv:2010.11934."
|
| 2156 |
+
},
|
| 2157 |
+
{
|
| 2158 |
+
"type": "list",
|
| 2159 |
+
"bbox": [
|
| 2160 |
+
0.117,
|
| 2161 |
+
0.086,
|
| 2162 |
+
0.49,
|
| 2163 |
+
0.918
|
| 2164 |
+
],
|
| 2165 |
+
"angle": 0,
|
| 2166 |
+
"content": null
|
| 2167 |
+
},
|
| 2168 |
+
{
|
| 2169 |
+
"type": "ref_text",
|
| 2170 |
+
"bbox": [
|
| 2171 |
+
0.512,
|
| 2172 |
+
0.086,
|
| 2173 |
+
0.884,
|
| 2174 |
+
0.191
|
| 2175 |
+
],
|
| 2176 |
+
"angle": 0,
|
| 2177 |
+
"content": "Linting Xue, Noah Constant, Adam Roberts, Mihir Kale, Rami Al-Rfou, Aditya Siddhant, Aditya Barua, and Colin Raffel. 2021. mT5: A massively multilingual pre-trained text-to-text transformer. In Proceedings of the 2021 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, pages 483-498, Online. Association for Computational Linguistics."
|
| 2178 |
+
},
|
| 2179 |
+
{
|
| 2180 |
+
"type": "page_number",
|
| 2181 |
+
"bbox": [
|
| 2182 |
+
0.481,
|
| 2183 |
+
0.929,
|
| 2184 |
+
0.521,
|
| 2185 |
+
0.941
|
| 2186 |
+
],
|
| 2187 |
+
"angle": 0,
|
| 2188 |
+
"content": "7828"
|
| 2189 |
+
}
|
| 2190 |
+
]
|
| 2191 |
+
]
|
2023/Detecting Erroneously Recognized Handwritten Byzantine Text/e23fb75f-6ceb-4c26-9972-d5c23aa51bcb_origin.pdf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:d6751e64f403b4d5e3632e22bbd41aaa2232baa250bee11f449c25dd60363501
|
| 3 |
+
size 437113
|
2023/Detecting Erroneously Recognized Handwritten Byzantine Text/full.md
ADDED
|
@@ -0,0 +1,275 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Detecting Erroneous Handwritten Byzantine Text Recognition
|
| 2 |
+
|
| 3 |
+
John Pavlopoulos
|
| 4 |
+
|
| 5 |
+
Department of Informatics
|
| 6 |
+
|
| 7 |
+
Athens University of Economics and Business
|
| 8 |
+
|
| 9 |
+
Greece
|
| 10 |
+
|
| 11 |
+
annis@aueb.gr
|
| 12 |
+
|
| 13 |
+
Vasiliki Kougia
|
| 14 |
+
|
| 15 |
+
Faculty of Computer Science
|
| 16 |
+
|
| 17 |
+
University of Vienna, Austria
|
| 18 |
+
|
| 19 |
+
UniVie Doctoral School Computer Science
|
| 20 |
+
|
| 21 |
+
vasiliki.kougia@univie.ac.at
|
| 22 |
+
|
| 23 |
+
Paraskevi Platanou
|
| 24 |
+
|
| 25 |
+
Department of Philology, School of Philosophy
|
| 26 |
+
|
| 27 |
+
University of Athens, Greece
|
| 28 |
+
|
| 29 |
+
pplatanou@phil.uoa.gr
|
| 30 |
+
|
| 31 |
+
Holger Essler
|
| 32 |
+
|
| 33 |
+
Department of Humanities
|
| 34 |
+
|
| 35 |
+
Ca'Foscari University of Venice, Italy
|
| 36 |
+
|
| 37 |
+
holger.essler@unive.it
|
| 38 |
+
|
| 39 |
+
# Abstract
|
| 40 |
+
|
| 41 |
+
Handwritten text recognition (HTR) yields textual output that comprises errors, which are considerably more compared to that of recognised printed (OCRed) text. Post-correcting methods can eliminate such errors but may also introduce errors. In this study, we investigate the issues arising from this reality in Byzantine Greek. We investigate the properties of the texts that lead post-correction systems to this adversarial behaviour and we experiment with text classification systems that learn to detect incorrect recognition output. A large masked language model, pre-trained in modern and fine-tuned in Byzantine Greek, achieves an Average Precision score of $95\%$ . The score improves to $97\%$ when using a model that is pretrained in modern and then in ancient Greek, the two language forms Byzantine Greek combines elements from. A century-based analysis shows that the advantage of the classifier that is further-pre-trained in ancient Greek concerns texts of older centuries. The application of this classifier before a neural post-corrector on HTRed text reduced significantly the post-correction mistakes.
|
| 42 |
+
|
| 43 |
+
# 1 Introduction
|
| 44 |
+
|
| 45 |
+
Handwritten Text Recognition (HTR) concerns the automated transcription of a handwritten text, extracting its computerised form from an image. Applying HTR on an old manuscript can lead to a high character error rate (CER), often due to the lack of training data (Pavlopoulos et al., 2023). In the real world, this erroneous HTR output is post-corrected by experts, who get involved, typically, in a tedious and time-consuming task. Delaying the delivery of manually curated data, hinders both: the preservation of digitised manuscripts that have not yet been
|
| 46 |
+
|
| 47 |
+

|
| 48 |
+
Figure 1: Number of HTRed-lines according to their CER as presented by Pavlopoulos et al. (2023)
|
| 49 |
+
|
| 50 |
+
transcribed; and the progress of HTR for historical manuscripts, which struggles with low resources. This is why researchers from Digital Humanities have started encouraging the development of Natural Language Processing (NLP) solutions, in an attempt to assist the experts toward this goal, since improving the accuracy of recognition will be exciting for the disciplines struggling with vast corpora and little man power (McGillivray et al., 2020).
|
| 51 |
+
|
| 52 |
+
# 1.1 Background
|
| 53 |
+
|
| 54 |
+
Although detecting erroneous recognised output is not a novel task (Chiron et al., 2017; Amrhein and Clematide, 2018; Rigaud et al., 2019; Jatowt et al., 2019; Nguyen et al., 2020; Schaefer and Neudecker, 2020), existing published studies focus on printed material (i.e., OCRed). Handwritten text, on the other hand, increases the challenge in recognition compared to printed material and hence, leads to more errors. The different hands, the greater time period, morphology and spelling
|
| 55 |
+
|
| 56 |
+
<table><tr><td></td><td>Transcription</td><td>Recognition</td></tr><tr><td>a.</td><td>tov ποδων</td><td>τωη ποδων</td></tr><tr><td>b.</td><td>tov ποδων</td><td>αχοασδδεδ</td></tr><tr><td rowspan="2">a.</td><td>έγγινουμένα πάθη</td><td>έγγινουμένα πάθη</td></tr><tr><td>μή σβενύντε</td><td>μή σβενύντε</td></tr><tr><td rowspan="2">b.</td><td>έγγινουμένα πάθη</td><td>έγγινουμένδπάθη</td></tr><tr><td>μή σβενύντε</td><td>μαε σβανησοτε</td></tr><tr><td rowspan="3">a.</td><td>τες εμπυρίζουσι</td><td>τες εμπυρίζουσι</td></tr><tr><td>tόν ἀμπελώνα ἀλλὰ</td><td>tόν ἀμπελΟνα ἀλλὰ</td></tr><tr><td>xαλό διὰ τες</td><td>xαλό διὰ τες</td></tr><tr><td rowspan="3">b.</td><td>τες εμπυρίζουσι</td><td>τεσέμπυρίσουβοι</td></tr><tr><td>tόν ἀμπελώνα ἀλλὰ</td><td>xδα ἀμπελοαα xδλὰ</td></tr><tr><td>xαλό διὰ τες</td><td>xxxxαλ αδιοτες</td></tr></table>
|
| 57 |
+
|
| 58 |
+
Table 1: Synthetic transcription (human-generated) and recognition (system-generated) output with few (a) and many (b) errors. Finding the differences between the transcription and the recognition is easier for the three examples shown in red (b).
|
| 59 |
+
|
| 60 |
+

|
| 61 |
+
Figure 2: Image of the handwritten text 'των ποδων' - in the recognised text, the third character was misspelled, written as eta ('η') instead of 'v' (Table 1, 1st row)
|
| 62 |
+
|
| 63 |
+
(see Section 3), can explain the greater diversity of error rates (Fig. 1). The recognition quality, however, is related to the detection quality of erroneous output. To give an example, the detection of an erroneous recognition is easier when the recognition output is scrambled compared with a single incorrect character. This is shown in Table 1, where classifying recognised text (as erroneous/not) is easier for the human eye in (b) compared to that of (a). We hypothesise that this applies also to models.
|
| 64 |
+
|
| 65 |
+
We argue that detecting erroneously recognised text can improve automatic error correction. Current approaches to post-correcting the often flawed recognised text, disregard the likelihood of a flawless recognition, assuming that the correct text can be simply copied (e.g., with an encoder-decoder-based correction). Consequently, they are faced with the possibility of introducing, instead of mitigating, errors that would be absent if post-correction hadn't been applied. Taking the case of a misspelled article (e.g., see Fig. 2), for instance, there is a variety of letters to choose from, for replacement, always accordingly to the declension and the case of the noun. Even if grammatical rules are set (e.g., in a rule-based system), an
|
| 66 |
+
|
| 67 |
+
HTR system working at the character level is likely examining morphological aspects and often disregards semantic and pragmatic levels. A vowel replacement function addressing the morphological level, however, may omit important semantic aspects and relationships between sentence elements at the syntactic level and thus, misinterpret the case. For example, the line “λεντιον διεζωσεν εαυτόν” was HTRed as “λεντιον διεζωσενεαυτόν”. A neural corrector, then, which received as input the HTRed output, yielded “λεντιον διεζωσεν εαυτόν” (Pavlopoulos et al., 2023), correctly separating the two last words but incorrectly removing the accent. In this way and in this instance, post-correcting involves the risk of introducing errors by transforming probably correct output cases.
|
| 68 |
+
|
| 69 |
+
# 1.2 The focus of the study
|
| 70 |
+
|
| 71 |
+
This study quantifies the hazards of the above-mentioned adversarial post-correction, by focusing on the Byzantine Greek language. The development of this language entails a comprehensive examination of written language throughout the centuries under study. In essence, Byzantine Greek emerged as an academic style known as Atticised Greek, incorporating religious topics. As time progressed, elements of contemporary spoken Greek gradually became integrated into the language (Horrocks, 2014). As the results of our study also show, the combination of pre-trained data on Modern Greek, resembling what was considered as spoken language back then, and Ancient Greek, including the above-mentioned Atticised Greek, is beneficial for text classifiers detecting incorrect recognition output. Furthermore, by covering a period of more than seven centuries, the already challenging nature of recognition (Platanou et al., 2022) is increased, hence allowing a more diverse material for our investigation on post-correction. Errors in handwritten text recognition are often due to different hands (scribes) and scripts that evolved for many centuries. Printed text, on the other hand, exists for a much narrower period, there are no hands to cause similar errors, $^{1}$ and no clitics. As we show in this work, lower recognition error rate means more difficult classification of erroneous lines. By contrast, recognised handwritten text is often hard to parse even for humans, which makes an easier classification challenge and a much more difficult
|
| 72 |
+
|
| 73 |
+
error-correction task, as shown in Table 1.
|
| 74 |
+
|
| 75 |
+
# 1.3 The contributions
|
| 76 |
+
|
| 77 |
+
We explore the extent to which classification to flawless/flawed texts can improve the post-correction of recognised output, by avoiding adversarial errors introduced when applied to flawless texts. We benchmark machine- and deep-learning-based text classifiers, showing that a Transformer that is pre-trained in modern Greek and then finetuned to detect erroneously recognised Byzantine Greek (10th-16th CE) text achieves an Average Precision of $95\%$ . When the same Transformer is further pre-trained in ancient Greek prior to fine-tuning, the score increases to $97\%$ . We quantify the benefits of employing our text classifier in the real world, by training an MT5 (Xue et al., 2021) encoder-decoder error-corrector, which altered $80\%$ of the flawless texts. If our best-performing classifier had been applied prior to correction, the percentage would have been decreased to $2\%$ with a trade-off of $2\%$ texts being incorrectly classified as flawless.
|
| 78 |
+
|
| 79 |
+
The better performance of a Transformer that is not pre-trained only in modern Greek can be explained by the fact that Byzantine Greek combines language elements from both, ancient and modern Greek. Since our study covers a broad historical period, we separated the evaluation dataset based on the century in order to investigate this hypothesis. Our results show that the detection of erroneous recognition depends on the chronology of the manuscript and that further pre-training in ancient Greek benefits the classification of lines from manuscripts in the following three centuries: 10thCE, 11thCE, and 13thCE. By following a similar segmentation-based evaluation method for the error rate level, instead of the century, we show that higher error rates make an easier classification goal. By contrast, the problem is harder for low error rates, when flawed and flawless texts look alike.
|
| 80 |
+
|
| 81 |
+
# 2 Related work
|
| 82 |
+
|
| 83 |
+
Our work focuses on the text classification of recognised handwritten text. In the absence of published studies for handwritten text, however, we summarise work focused on the recognition of printed text. Printed and handwritten materials differ, because the latter often yields scrambled recognition output (Table 1). This is probably what motivated Ströbel et al. (2022) in using the perplexity of lan
|
| 84 |
+
|
| 85 |
+
guage models to detect the erroneous output in an unsupervised manner. On the other hand, although we consider that recognition errors are overall more for handwritten text compared to printed material, the quality of recognition can vary significantly for the former (Hodel et al., 2021), as is also shown in Fig. 1, and does not always come with a high error rate. Therefore, the detection of erroneously recognised handwritten text is also related to that for printed text, regarding their low error output.
|
| 86 |
+
|
| 87 |
+
# Erroneous recognised printed text detection
|
| 88 |
+
|
| 89 |
+
Initial work using rule-based approaches could not address all errors, and was followed by machine and deep learning approaches (Lyu et al., 2021). Standard approaches include support vector machines on top of n-gram-based features (Dannélls and Virk, 2021; Virk et al., 2021). Jatowt et al. (2019) used a gradient tree boosting binary classifier on top of various features, including character and word n-grams, part-of-speech, token frequency based on automatically created resources.
|
| 90 |
+
|
| 91 |
+
Amrhein and Clematide (2018) performed detailed analyses and experiments of error detection and post-correction with various statistical and neural machine-translation methods. In general, they found that the former perform better in error correction, while the latter models are better in error detection. However, they concluded that there is not a single method that works best on all datasets while the results are highly affected by the data a model is trained on. Furthermore, they suggested that post-correction of recognised printed text should focus more on the improvement of error detection.
|
| 92 |
+
|
| 93 |
+
Nguyen et al. (2020) used BERT pre-trained on named-entity recognition for token classification in order to perform error detection. After substring tokenization they obtain Glove or Fasttext word embeddings, which are combined with segment and positional embeddings and given as input to BERT (Devlin et al., 2018). The hidden states are fed to a dense layer on top that classifies each token as erroneous or not. Although interesting, token-level detection is not suited for high-error settings.
|
| 94 |
+
|
| 95 |
+
# The ICDAR challenge
|
| 96 |
+
|
| 97 |
+
ICDAR organised a competition focused on post-correcting text recognised from newspapers, shopping receipts, and other printed sources, including two subtasks: error detection, i.e., to detect the position and the length of the errors, and error correction (Chiron et al., 2017; Rigaud et al., 2019).
|
| 98 |
+
|
| 99 |
+
In 2017, the best-performing method for the error detection subtask employed probabilistic character error models and weighted finite-state transducers while in 2019, the best was a pre-trained multilingual BERT with convolutional and fully-connected layers on top that classified each sub-token as erroneous or not. Schaefer and Neudecker (2020) followed a similar classification scheme, but focused on characters and not sub-tokens. Then, by excluding lines with at least one classified character from post-correction, they showed that false alteration (i.e., of correctly OCR red lines) by an encoder-decoder model could be avoided. Our work shows that casting this problem as a text classification task can lead to high accuracy for handwritten text, although similar benefits may apply to printed text.
|
| 100 |
+
|
| 101 |
+
# 3 Data
|
| 102 |
+
|
| 103 |
+
The written language of the manuscripts and papyri used in this study is Byzantine Greek.3 Within these texts, morphological categories such as the optative, the pluperfect, and the perfect have disappeared, while others such as the dative case have gradually decreased. Infinitives and participles are still there in the texts, as reminiscents of the classical tradition, encouraging one to treat the language as a unique variant, different from modern Greek. There are several spelling conventions that deviate from the older orthographic rules while the ancient punctuation signs are still in use, albeit not always with the same function. Therefore, following Classical and preceding Modern Greek, this language can be considered a combination of the two.
|
| 104 |
+
|
| 105 |
+
The transcriptions and the HTR output were provided by the organisers of the recent HTREC challenge, which regarded the automated correction of HTR errors in Byzantine Greek (Pavlopoulos et al., 2023). Selected images of handwritten text in respective manuscripts (10th to 16th CE) were transcribed by a human expert. The training dataset of the challenge consists of 1,875 lines of transcribed text by a human expert and by an HTR model (examples shown in Table 2). Transkribus (Kahle et al., 2017) was used by the organisers to produce the system transcriptions, trained on seven images one per century. Our investigation of the CER of the opted HTR model reveals
|
| 106 |
+
|
| 107 |
+

|
| 108 |
+
Figure 3: Violinplot of CER per century
|
| 109 |
+
|
| 110 |
+
that a diversity of errors is produced, from very few to many per line (Fig. 1). This fact makes this dataset optimal for our training purposes, because we need a diversity of errors to train our classifiers. Furthermore, the errors are not uniformly distributed across centuries (Fig. 3), motivating a time/CER-based segmentation for evaluation purposes (discussed in Section 4.2).
|
| 111 |
+
|
| 112 |
+
Our classification dataset consists of the 1,875 human-transcribed texts (lines), treated as the flawless negative (0) class, and the respective system-transcribed texts, treated as the flawed, positive (1) class. This resulted in total to an almost perfectly balanced dataset of 3,744 text lines, which we split to train, development and test subsets by using a 80/10/10 ratio. The average length of the transcription is 40.10 characters (6.83 words), and that of the HTR output is 37.09 characters (5.89 words).
|
| 113 |
+
|
| 114 |
+
# 4 Experimental analysis
|
| 115 |
+
|
| 116 |
+
We opted for machine and deep learning benchmarks, with different transfer learning settings.
|
| 117 |
+
|
| 118 |
+
# Machine learning benchmarks
|
| 119 |
+
|
| 120 |
+
Machine learning methods include a variant of Naive Bayes and Support Vector Machines (NB-SVM), which is often used as a baseline for text classification (Wang and Manning, 2012). Also, we experimented with a Random Forest and a multi-layer perceptron (MLP) using character n-grams
|
| 121 |
+
|
| 122 |
+
<table><tr><td>Transcription by expert</td><td>HTR output</td></tr><tr><td>èγγινόμενα πάθη μή σβενύντες ἀλλὰ τή εχλύσει (the born-in passions not extinguishing but the release)</td><td>èγγενομεναπαδημησεννωτες ἀλλατήε κλησει</td></tr><tr><td>του βίου του καῦ ́ εαυτός πολλα γένεσθουσυ υμχωρουν (of the life of themselves many happening forgive)</td><td>του β ou του καλεαυτός πολλαγινεσθουσι συγχωρόν</td></tr><tr><td>τες ἄμυριζουσι του ὄμελώνα ἀλλα καὶ ὅ διὰ τες (- set on fire the vineyard but and the due to the)</td><td>εμμυριζου σιμαμπελώνα ἀλλακαι ὅδξα</td></tr></table>
|
| 123 |
+
|
| 124 |
+
$(n \in 1,5)$ , term-frequency inverse document frequency, and default parameters otherwise.
|
| 125 |
+
|
| 126 |
+
# Deep learning benchmarks
|
| 127 |
+
|
| 128 |
+
Deep learning methods comprise a recurrent neural network using Gated Recurrent Units (GRU) and trainable word embeddings of 300 dimensions, originally pre-trained on (modern) Greek (Joulin et al., 2017). Also, we experimented with the state-of-the-art in text classification, which is BERT (Devlin et al., 2018) and its variants (Li et al., 2022; Minaee et al., 2021). In specific, we also fine-tuned two BERT models pre-trained in Greek. The first (GreekBERT) is pre-trained in modern Greek (Koutsikakis et al., 2020) while the second extends the first by being further pre-trained in ancient Greek (Singh et al., 2021).
|
| 129 |
+
|
| 130 |
+
# Evaluation measures
|
| 131 |
+
|
| 132 |
+
We opted for the $F1$ score per class, the Area under the Receiver Operating Characteristic Curve (AUC), and Average Precision (AP) that is preferred in class-imbalanced settings. All evaluation measures were implemented in SCIKIT-LEARN. $^{12}$
|
| 133 |
+
|
| 134 |
+
# 4.1 Text classification benchmark
|
| 135 |
+
|
| 136 |
+
Table 3 shows the results of all our text classification benchmarks, including a random baseline (responding uniformly) that draws the lower performance limit. NBSVM is the worst machine learning model, followed by Forest and MLP. The latter achieves promising results, close to GRU (better in AP and $F1^{-}$ ). GRU, on the other hand, is clearly
|
| 137 |
+
|
| 138 |
+
Table 2: Human (on the left) and HTR-based (on the right) transcription (lines) from the 'Commentary on Isaiah' by Basil the Great (fol. 75r, Oxford, Bodleian Library MS. Barocci 102)
|
| 139 |
+
|
| 140 |
+
<table><tr><td></td><td>AP</td><td>AUC</td><td>F1+</td><td>F1-</td></tr><tr><td>Random</td><td>0.52</td><td>0.50</td><td>0.49</td><td>0.47</td></tr><tr><td>NBSVM</td><td>0.66</td><td>0.65</td><td>0.60</td><td>0.51</td></tr><tr><td>Forest</td><td>0.64</td><td>0.65</td><td>0.64</td><td>0.50</td></tr><tr><td>MLP</td><td>0.79</td><td>0.79</td><td>0.73</td><td>0.69</td></tr><tr><td>GRU</td><td>0.79</td><td>0.79</td><td>0.68</td><td>0.71</td></tr><tr><td>GreekBERT:M</td><td>0.95</td><td>0.94</td><td>0.88</td><td>0.88</td></tr><tr><td>GreekBERT:M+A</td><td>0.97</td><td>0.97</td><td>0.90</td><td>0.91</td></tr></table>
|
| 141 |
+
|
| 142 |
+
Table 3: Evaluation with Average Precision (AP), AUC, $F1$ for the classification of HTRed texts to flawed (+) or flawless (-) transcription. Random (uniform) classification was used as a baseline. GreekBERT was pre-trained in modern (:M) or in modern and ancient Greek (:A).
|
| 143 |
+
|
| 144 |
+
outperformed in all metrics by GreekBERT. Two GreekBERT models were used, one pre-trained in modern Greek (:M) and one in modern and then in ancient Greek (:M+A). Byzantine Greek, as already discussed (Section 3), combines language elements found in both ancient and modern Greek. This is probably why GreekBERT:M+A, which was pretrained in modern and then in ancient Greek, was better compared to GreekBERT:M, which was pretrained only in modern Greek.[13]
|
| 145 |
+
|
| 146 |
+
# 4.2 Evaluation per century
|
| 147 |
+
|
| 148 |
+
We separated the lines of the test data based on the century of the manuscript that they came from. For each century, then, we evaluated the two Transformers, GreekBERT:M and GreekBERT:M+A. As can be seen in Fig. 4, $^{14}$ GreekBERT:M+A is better on the 10th (five percent units) and 11th century CE, with models performing similarly on the 12th and after the 13th century, when both models achieve a
|
| 149 |
+
|
| 150 |
+

|
| 151 |
+
Figure 4: Average Precision per c. CE of GreekBERT:M, pretrained on modern Greek (solid), and GreekBERT:M+A, further pre-trained on ancient Greek (dashed) - error bands show the $95\%$ bootstrap confidence intervals
|
| 152 |
+
|
| 153 |
+
higher score. On the 13th century, the performance of both models drops, but considerably more for GreekBERT:M. The 14th, 15th and 16th century were more challenging in HTR (Platanou et al., 2022), which could explain the better performance of the classifiers. That is, more errors in the recognised output could potentially help the classifier distinguish between the two classes (correct/not).<sup>15</sup> Based on the previous observations, we report three findings:
|
| 154 |
+
|
| 155 |
+
F1. The classification performance depends on the chronology of the manuscript.
|
| 156 |
+
F2. Older manuscripts are better handled by further pre-training on ancient Greek.
|
| 157 |
+
F3. Lines from recent manuscripts pose an easier classification challenge to both GreekBERT models.
|
| 158 |
+
|
| 159 |
+
# 4.3 Evaluation per error zone
|
| 160 |
+
|
| 161 |
+
Our dataset is balanced regarding whether the recognition output is erroneous (positive class) or not, yet it remains imbalanced regarding the CER level (see Fig. 1). In order to assess the two Transformers across different input types, we rolled a window of ten units, from low to high CER values, and we assessed the models per window (Fig. 5).<sup>16</sup>
|
| 162 |
+
|
| 163 |
+
High-CER lines (i.e., lines with CER of thirty or more) appear to set an easy classification task to both models. Performance increases as the CER increases. This is reasonable considering that lines with a high CER comprise many errors and are
|
| 164 |
+
|
| 165 |
+
hard to parse even by humans. This characteristic, however, makes them easier to distinguish from flawless lines, which comprise no errors from the recognition.
|
| 166 |
+
|
| 167 |
+
Low-CER lines (i.e., lines with CER of zero to twenty) lead to a different picture, since Greek-BERT:M+A is consistently better, overall, than GreekBERT:M. Low CER means small differences between the two texts (flawless-flawed), which makes the classification task more difficult. In this zone, further pre-training on ancient Greek had a bigger impact, compared to zones with a higher error rate.
|
| 168 |
+
|
| 169 |
+
# 5 Discussion
|
| 170 |
+
|
| 171 |
+
In this section, first, we assess the possibly adversarial nature of post-correction. Then, we describe a synthetic error detection application, followed by a century-based error analysis we performed.
|
| 172 |
+
|
| 173 |
+
# 5.1 Substantiality assessment
|
| 174 |
+
|
| 175 |
+
Error-correction systems may introduce errors, even when applied to flawless HTRed texts. To assess the substantiality of this claim, we experimented with a neural encoder-decoder postcorrector. In specific, we employed a multilingual variant of the T5 Text-to-Text Transfer Transformer (Raffel et al., 2019), called MT5 (Xue et al., 2020), which was pre-trained on a dataset covering 101 languages.[17] MT5 has been used for Grammatical Error Correction in modern Greek and sets a strong baseline for HTR Error Correction (Korre and Pavlopoulos, 2022). We fine-tuned this model on the 1,875 training instances of the HTREC
|
| 176 |
+
|
| 177 |
+

|
| 178 |
+
Figure 5: Average Precision of GreekBERT:M, pretrained on modern Greek (blue, solid), and GreekBERT:M+A, further pre-trained on ancient Greek (orange, dashed), using a rolling window over CER (left edge shown horizontally) - error bands depict $95\%$ bootstrap confidence intervals
|
| 179 |
+
|
| 180 |
+
challenge, by encoding the system- and decoding the human-transcriptions. $^{18}$ This model is a neural error correction baseline that reduced the CER in 19 out of the 180 HTRed texts in the official HTREC2022 evaluation set. We applied this corrector on the respective 180 transcriptions of these data (the ground truth evaluation instances in HTREC2022) and found that 144 $(80\%)$ were mistakenly altered by our MT5 corrector. For example, the line 'αν τους μηδους οινες έτε αργυρτω παρα' was altered to 'αν τους μηδους οινες έτε αργυρτω παρα' (word division, 4th word). Similarly, 'χευσης μη φονευσης μη κλε' was altered to 'χλευσεως μη φονευσεως μη κλεπτ'. Most of these adversarial mistakes (all but the top three of Table 4) would have been avoided if our GreekBERT:M+A classifier had been applied prior to the application of this neural corrector. Conversely, only four (i.e., the rest in Table 4) would have been mistakenly found as correct from the system-transcribed instances.
|
| 181 |
+
|
| 182 |
+
# 5.2 A synthetic application of error detection
|
| 183 |
+
|
| 184 |
+
We experimented with the HTREC2022 evaluation dataset, which was used to assess the participating systems. This dataset comprises 180 lines that were transcribed from nine images. Out of these lines, one had zero CER achieved by the HTR model (perfect transcription), which was correctly classified by our GreekBERT:M+A model. We then performed two analyses, first by applying our model on the flawless human transcriptions (as if a transcription was the HTR output) and then by applying
|
| 185 |
+
|
| 186 |
+
it on the flawed system recognitions (the same lines were used). The human transcriptions were correctly classified as flawless, all except three $(1.7\%)$ error rate), which are shown in the top three rows of Table 4. The system recognitions were also correctly classified as flawed, all except four $(2.3\%)$ error rate), shown in the last four rows of Table 4.
|
| 187 |
+
|
| 188 |
+
# 5.3 Error analysis
|
| 189 |
+
|
| 190 |
+
An error detection by experts in Table 4, $^{19}$ showed that no clue (indicating an error) was found for the first line (except from the rare ‘φιλαχόλουνός’ with double accent). As is shown in Figure 6 (a), which depicts the attention on the subwords of this line, this was indeed the network’s focus.
|
| 191 |
+
|
| 192 |
+
On the second line, word 'iσμαηλήτι' was considered as the outcome of misspelling of the word 'iσμαηλιτη', matching the algorithm's decision. In this case, it was the ending of the word that attracted attention (Fig. 6), but the network focused more on the article 'των' preceding the word rather than on the word itself. The article is in plural form, not matching a word in singular. Apparently, 'iσμαηλήτι' is not a misspelling, but part of the word 'iσμαηλιτιχων' that was corrupted.
|
| 193 |
+
|
| 194 |
+
In the last four lines, that were classified as correct, several flaws were raised, indicating a failure of the algorithm. For example, word divisions, such as in the case of $\omega \sigma x\alpha$ instead of $\omega \varsigma \chi \alpha \iota$ ; added characters, such as in the case of $\varepsilon \dot{\upsilon}\upsilon \chi \eta \varsigma$ instead of $\varepsilon \dot{\upsilon}\chi \eta \varsigma$ ; character replacements, such as in the case of $\zeta \kappa \tau \varepsilon \iota \alpha \nu$ instead of $\iota \kappa \varepsilon \tau \varepsilon \iota \alpha \nu$ .
|
| 195 |
+
|
| 196 |
+
<table><tr><td>TRANSCRIPTIONS AND HTR OUTPUT</td><td>GREEKBERT:M+A</td><td>GT</td></tr><tr><td>èγώ δ ἀεί πως φιλαχόλουθός εἰμι(I am always readily following)</td><td>F</td><td>N</td></tr><tr><td>λα και γέδεων εκ τών σχύλων τών ομαηλητι(- and Gedeon from the dogs the - )</td><td>F</td><td>N</td></tr><tr><td>δραμων εἰς και γόνυπετη(having run to and falling on the knee)</td><td>F</td><td>N</td></tr><tr><td>τιθεις τας χειρας επαυτα(having put the hands on them)</td><td>F</td><td>N</td></tr><tr><td>ζετείαν χέδεσποτα, και ευμενώς Ἁκουσου τών τής προς εύυχης(- - - and favourably listen to the of the prayer)</td><td>N</td><td>F</td></tr><tr><td>èγενόμην icos. αραή τής μεό τιεγεζήθης ἐλειεμοήτιριος(became - - - - - )</td><td>N</td><td>F</td></tr><tr><td>ωσααι τής συνεχους διδασκαλιας τους βα(- of the continuous instruction the - )</td><td>N</td><td>F</td></tr></table>
|
| 197 |
+
|
| 198 |
+
Table 4: HTRed lines and transcriptions that GreekBERT:M+A mistakenly predicted as flawed (F) or not (N) - the ground truth (GT) on the right shows whether there was an error or not
|
| 199 |
+
|
| 200 |
+
# Error patterns
|
| 201 |
+
|
| 202 |
+
Next, we proceed with an analysis of the recognition errors, using data from three centuries. We opt for 16th CE, the century on which both our models perform considerably well (Fig. 4). Next, we focus on the 14th CE, going back two centuries, but still observing good performance by both models. Last is shown the 13th CE, where GreekBERT:M performs much worse than GreekBERT:M+A.
|
| 203 |
+
|
| 204 |
+
16th CE This is the data group with the highest average CER (see Figure 3). What seems to be challenging in this data group is the fact that there is a variety of punctuation marks which are sometimes read by the model as letters because of their shape. An illustrative example of this case is the word 'πλοῦς' which is read by the model as 'πλούου'. This is due to a comma following the word 'πλοῦς', which is very similar to the last letter of the word (ς). There are also many cases of ligatures in which the model fails to recognise both letters, especially the one written on the top of the ligature, such as the letter 'τ' in the combination 'τρ' as one can see in the following instance; 'ω πατρις' read as 'ως ωπαρις'.
|
| 205 |
+
|
| 206 |
+
14th CE The data from the 14th century show the second highest CER on average (see Figure 3). This is partly because of a great number of ligatures appearing in this data group. A common ligature among this group is the one which represents the group of the letters $\varepsilon$ and $\rho$ . In this ligature it happens that the letter $\varepsilon$ is written above the letter
|
| 207 |
+
|
| 208 |
+
$\varphi^{\prime}$ . The way the model interprets this structure can be seen in the following case; $\varphi \acute{\varepsilon} \rho^{\prime} \dot{\varepsilon} \pi^{\prime} \omega \tau \eta \nu$ $\iota \omega$ , where $\varphi \acute{\varepsilon} \rho^{\prime}$ consists of one letter $(\varphi)$ and one ligature $(\varepsilon \rho)$ is read by the model as $\varphi \varepsilon \pi \alpha \omega \tau \eta \nu$ $\iota \varsigma \omega$ . The model fails reading correctly the letter combination and returns only the letter $\varphi^{\prime}$ and one of the two letters involved in the $\varepsilon \rho^{\prime}$ combination $(\rho)$ , which is actually the one written in the position next to the letter $\varphi^{\prime}$ . The same instance shows clearly that there is a tendency towards adding characters because of different drawing representations of characters found in this data group. The letter $\omega$ can be considered such a case. In the previous example, we can see that the word $\iota \omega$ is read by the model as $\iota \varsigma \omega$ . This is because, in this instance, the letter $\omega$ has the shape of a laid eight. The same letter has the usual shape in other cases in the text of this century, which was quite confusing for the model and led the model to decide that it should be a combination of both $\sigma^{\prime}$ and $\omega^{\prime}$ , since the former is quite close to the half laid-eight shape.
|
| 209 |
+
|
| 210 |
+
13th CE The data group that is easiest to read for the model seems to be the 13th century one. In this group, errors appear mainly because of special letter shapes and abbreviations. Such a letter shape is that of the letter $\varepsilon$ which is written as the letter $\delta$ with an added line pointing upwards. A characteristic example of the failure of the recognition task is this one; $\tilde{\varepsilon}\omega\varsigma$ is read as $\delta\omega\varsigma$ . Here the model has clearly classified the $\tilde{\varepsilon}$ as a $\delta$ . Regarding the abbreviations representing character groups, one can find among others the following
|
| 211 |
+
|
| 212 |
+

|
| 213 |
+
(c) $\delta \rho \alpha \mu \omega \nu \varepsilon \varepsilon \varepsilon \varepsilon \varepsilon \varepsilon \varepsilon \varepsilon \varepsilon \varepsilon \varepsilon \varepsilon \varepsilon \varepsilon \varepsilon \varepsilon \varepsilon \varepsilon \varepsilon \varepsilon \varepsilon \varepsilon \varepsilon \varepsilon \varepsilon \vareeta$
|
| 214 |
+
Figure 6: The attention of GreekBERT:M+A (darker is more) for the three top (missclassified) lines of Table 4 - the symbol ## is used to concatenate a subword with the preceding one during tokenisation ( $\delta \rho \alpha \mu \omega \nu$ is $\delta \rho \alpha \# \mu \omega \nu$ )
|
| 215 |
+
|
| 216 |
+
one; $\alpha v$ . In the case of ouxioov, where the last two letters are represented by the abbreviation, the model reads ouxoX, where $\omega$ has replaced the abbreviation because of similarity in shape.
|
| 217 |
+
|
| 218 |
+
# 5.4 Language and script generalisation
|
| 219 |
+
|
| 220 |
+
Our work can potentially inspire analogous pretraining in other languages with a long documented history. To provide an example: Old, Middle, and Modern English and Japanese (Lyovin, 1997, pp. 2) can qualify for pre-training on both Old and Modern data, as in the Greek language in our case. The scripts our results are based on, however, are very common both in Greek and Latin manuscripts while common handwritten character shapes, e.g., epsilon (E) (Chambers and Chambers, 1891, pp. 703), may illuminate error patterns in Latin scripts.
|
| 221 |
+
|
| 222 |
+
# 6 Conclusion
|
| 223 |
+
|
| 224 |
+
This work showed that detecting erroneous recognised lines improves the accuracy of handwritten Byzantine text recognition, aiming to assist the disciplines struggling with vast corpora and little man power. By contrast to printed text, errors in handwritten text vary greatly, some of which are easier and others difficult to catch. Our experiments showed that two BERT models, one pre-trained in modern and the other pre-trained in modern then in ancient Greek perform well for the task of erroneous handwritten recognised text classification. The latter performs better, especially for manuscripts from older centuries and for lines with higher recognition error rate. By using a neural text-to-text Transformer for error correction along with our best performing classifier, we found that adversarial behaviour is not uncommon in the neural corrector's output which could have been significantly limited if a BERT classifier, pre-trained and
|
| 225 |
+
|
| 226 |
+
fine-tuned, had classified the input first.
|
| 227 |
+
|
| 228 |
+
Directions of future work comprise the development of a larger dataset, which, although not easily developed in our domain of focus, it could potentially allow us to draw more conclusions and lead to further findings. Furthermore, we plan to extend our dataset with calibrated evaluation subsets, in order to gain more perspective on the performance of systems for specific error types, including ones that occur naturally and are not meant to be corrected.
|
| 229 |
+
|
| 230 |
+
# Limitations
|
| 231 |
+
|
| 232 |
+
- Our study is focused on Byzantine Greek, from the 10th to the 16th century. Our hypothesis, that text classification could assist the post correction of HTRd output, should be studied for more languages and covering a longer period to draw general conclusions.
|
| 233 |
+
- By contrast to OCR, where low CER values are reported, HTRd output can significantly differ from the human transcription. For example, correct text may be misplaced (e.g., due to mistaken word division) or by the introduction of an extra character (e.g., the last word of the fifth line in Table 4). Hence, the creation of ground truth at the character level is very challenging in this context, hindering experimentation at the token or the character level, as in OCR (Schulz and Kuhn, 2017; Schaefer and Neudecker, 2020).
|
| 234 |
+
- Sensitivity analysis has not been performed. Although we repeated our experiments to verify the validity of our findings regarding GreekBERT, we have not experimented with cross validation over the centuries, as in (Platanou et al., 2022). Training, however, an algorithm on texts from specific centuries, then as
|
| 235 |
+
|
| 236 |
+
sessing on ones from previous or future ones, could potentially reveal interesting patterns.
|
| 237 |
+
|
| 238 |
+
- Diplomatic transcriptions may lead to naturally-occurring errors (i.e., ones the editors would want to keep, to stay as close to the original as possible), which our proposed classifiers could and probably would classify as incorrect recognition output. This limitation could be bypassed if the proposed systems are used complementary with an expert, not trying to substitute one. For example, the expert could view only lines the classifier labelled as incorrect, bypassing or acknowledging errors which were meant to be there.
|
| 239 |
+
|
| 240 |
+
# References
|
| 241 |
+
|
| 242 |
+
Chantal Amrhein and Simon Clematide. 2018. SupervisedOCR error detection and correction using statistical and neural machine translation methods. Journal for Language Technology and Computational Linguistics (JLCL), 33(1):49-76.
|
| 243 |
+
William Chambers and Robert Chambers. 1891. Chambers' Encyclopaedia: A Dictionary of Universal Knowledge, volume 8. W. & R. Chambers.
|
| 244 |
+
Guillaume Chiron, Antoine Doucet, Mickaël Coustaty, and Jean-Philippe Moreux. 2017. Icdar2017 competition on post-ocr text correction. In 2017 14th IAPR International Conference on Document Analysis and Recognition (ICDAR), volume 1, pages 1423-1428, Kyoto, Japan.
|
| 245 |
+
Dana Dannélls and Shafqat Virk. 2021. A supervised machine learning approach for post-ocr error detection for historical text. In Swedish Language Technology Conference and NLP4CALL, pages 13-20.
|
| 246 |
+
Jacob Devlin, Ming-Wei Chang, Kenton Lee, and Kristina Toutanova. 2018. Bert: Pre-training of deep bidirectional transformers for language understanding. arXiv preprint arXiv:1810.04805.
|
| 247 |
+
Tobias Mathias Hodel, David Selim Schoch, Christa Schneider, and Jake Purcell. 2021. General models for handwritten text recognition: feasibility and state-of-the-art. german current as an example. Journal of open humanities data, 7(13):1-10.
|
| 248 |
+
Geoffrey Horrocks. 2014. Greek: A History of the Language and its Speakers. John Wiley & Sons.
|
| 249 |
+
Adam Jatowt, Mickaël Coustaty, Nhu-Van Nguyen, Antoine Doucet, et al. 2019. Post-ocr error detection by generating plausible candidates. In 2019 International Conference on Document Analysis and Recognition (ICDAR), pages 876-881, Sydney, Australia.
|
| 250 |
+
|
| 251 |
+
Armand Joulin, Edouard Grave, Piotr Bojanowski, and Tomas Mikolov. 2017. Bag of tricks for efficient text classification. In Proceedings of the 15th Conference of the European Chapter of the Association for Computational Linguistics: Volume 2, Short Papers, pages 427-431. Association for Computational Linguistics.
|
| 252 |
+
Philip Kahle, Sebastian Colutto, Günter Hackl, and Günter Mühlberger. 2017. Transkribus - a service platform for transcription, recognition and retrieval of historical documents. In 2017 14th IAPR International Conference on Document Analysis and Recognition (ICDAR), volume 04, pages 19-24.
|
| 253 |
+
Katerina Korre and John Pavlopoulos. 2022. Enriching grammatical error correction resources for Modern Greek. In Proceedings of the Thirteenth Language Resources and Evaluation Conference, pages 4984-4991, Marseille, France. European Language Resources Association.
|
| 254 |
+
John Koutsikakis, Ilias Chalkidis, Prodromos Malakasiotis, and Ion Androutsopoulos. 2020. Greek-bert: The greeks visiting sesame street. In 11th Hellenic Conference on Artificial Intelligence, pages 110-117.
|
| 255 |
+
Qian Li, Hao Peng, Jianxin Li, Congying Xia, Renyu Yang, Lichao Sun, Philip S Yu, and Lifang He. 2022. A survey on text classification: From traditional to deep learning. ACM Transactions on Intelligent Systems and Technology (TIST), 13(2):1-41.
|
| 256 |
+
Anatole Lyovin. 1997. An Introduction to the Languages of the World. Oxford University Press, USA.
|
| 257 |
+
Lijun Lyu, Maria Koutraki, Martin Krickl, and Besnik Fetahu. 2021. NeuralOCR post-hoc correction of historical corpora. Transactions of the Association for Computational Linguistics, pages 479-493.
|
| 258 |
+
Arun S. Maiya. 2020. ktrain: A low-code library for augmented machine learning. arXiv preprint arXiv:2004.10703.
|
| 259 |
+
Barbara McGillivray, Thierry Poibeaun, and Pablo Ruiz Fabo. 2020. Digital humanities and natural language processing: "je t'aime... moi non plus".
|
| 260 |
+
Shervin Minaee, Nal Kalchbrenner, Erik Cambria, Narjes Nikzad, Meysam Chenaghlu, and Jianfeng Gao. 2021. Deep learning-based text classification: a comprehensive review. ACM Computing Surveys (CSUR), 54(3):1-40.
|
| 261 |
+
Thi Tuyet Hai Nguyen, Adam Jatowt, Nhu-Van Nguyen, Mickael Coustaty, and Antoine Doucet. 2020. Neural machine translation with bert for post-ocr error detection and correction. In Proceedings of the ACM/IEEE joint conference on digital libraries in 2020, pages 333-336.
|
| 262 |
+
John Pavlopoulos, Vasiliki Kougia, Paraskevi Platanou, Stepan Shabalin, Konstantina Liagkou, Emmanouil Papadatos, Holger Essler, Jean-Baptiste Camps, and Franz Fischer. 2023. Error correcting htr'ed byzantine text.
|
| 263 |
+
|
| 264 |
+
Paraskevi Platanou, John Pavlopoulos, and Georgios Papaioannou. 2022. Handwritten paleographic greek text recognition: A century-based approach. In Proceedings of the Thirteenth Language Resources and Evaluation Conference, pages 6585-6589.
|
| 265 |
+
Colin Raffel, Noam Shazeer, Adam Roberts, Katherine Lee, Sharan Narang, Michael Matena, Yanqi Zhou, Wei Li, and Peter J Liu. 2019. Exploring the limits of transfer learning with a unified text-to-text transformer. arXiv preprint arXiv:1910.10683.
|
| 266 |
+
Christophe Rigaud, Antoine Doucet, Mickaël Coustaty, and Jean-Philippe Moreux. 2019. Icdar 2019 competition on post-ocr text correction. In 2019 international conference on document analysis and recognition (ICDAR), pages 1588-1593, Sydney, Australia.
|
| 267 |
+
Robin Schaefer and Clemens Neudecker. 2020. A two-step approach for automaticOCR post-correction. In Proceedings of the The 4th Joint SIGHUM Workshop on Computational Linguistics for Cultural Heritage, Social Sciences, Humanities and Literature, pages 52-57, held online.
|
| 268 |
+
Sarah Schulz and Jonas Kuhn. 2017. Multi-modular domain-tailoredOCR post-correction. In Proceedings of the 2017 Conference on Empirical Methods in Natural Language Processing, pages 2716-2726, Copenhagen, Denmark.
|
| 269 |
+
Pranaydeep Singh, Gorik Rutten, and Els Lefever. 2021. A pilot study for bert language modelling and morphological analysis for ancient and medieval greek. In The 5th Joint SIGHUM Workshop on Computational Linguistics for Cultural Heritage, Social Sciences, Humanities and Literature (LaTeCH-CLfL 2021).
|
| 270 |
+
Phillip Benjamin Ströbel, Simon Clematide, Martin Volk, Raphael Schwitter, Tobias Hodel, and David Schoch. 2022. Evaluation of htr models without ground truth material. arXiv preprint arXiv:2201.06170.
|
| 271 |
+
Shafqat Mumtaz Virk, Dana Dannélls, and Azam Sheikh Muhammad. 2021. A novel machine learning based approach for post-ocr error detection. In Proceedings of the International Conference on Recent Advances in Natural Language Processing (RANLP 2021), pages 1463–1470, Varna, Bulgaria.
|
| 272 |
+
Sida Wang and Christopher Manning. 2012. Baselines and bigrams: Simple, good sentiment and topic classification. In Proceedings of the 50th Annual Meeting of the Association for Computational Linguistics (Volume 2: Short Papers), pages 90-94, Jeju Island, Korea. Association for Computational Linguistics.
|
| 273 |
+
Linting Xue, Noah Constant, Adam Roberts, Mihir Kale, Rami Al-Rfou, Aditya Siddhant, Aditya Barua, and Colin Raffel. 2020. mt5: A massively multilingual pre-trained text-to-text transformer. arXiv preprint arXiv:2010.11934.
|
| 274 |
+
|
| 275 |
+
Linting Xue, Noah Constant, Adam Roberts, Mihir Kale, Rami Al-Rfou, Aditya Siddhant, Aditya Barua, and Colin Raffel. 2021. mT5: A massively multilingual pre-trained text-to-text transformer. In Proceedings of the 2021 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, pages 483-498, Online. Association for Computational Linguistics.
|
2023/Detecting Erroneously Recognized Handwritten Byzantine Text/images.zip
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:782f850d4d1b1c2d9abfaa9793b7ee7f436cc57cefebc0a3e0f182b7f5e556bf
|
| 3 |
+
size 343986
|
2023/Detecting Erroneously Recognized Handwritten Byzantine Text/layout.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
2023/Detecting Syntactic Change with Pre-trained Transformer Models/5f1aa19b-edb6-4425-a7bb-8580ef6a41b6_content_list.json
ADDED
|
@@ -0,0 +1,1539 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[
|
| 2 |
+
{
|
| 3 |
+
"type": "text",
|
| 4 |
+
"text": "Detecting Syntactic Change with Pre-trained Transformer Models",
|
| 5 |
+
"text_level": 1,
|
| 6 |
+
"bbox": [
|
| 7 |
+
156,
|
| 8 |
+
89,
|
| 9 |
+
842,
|
| 10 |
+
111
|
| 11 |
+
],
|
| 12 |
+
"page_idx": 0
|
| 13 |
+
},
|
| 14 |
+
{
|
| 15 |
+
"type": "text",
|
| 16 |
+
"text": "Liwen Hou \nHarvard University \nliwenhou@fas.harvard.edu",
|
| 17 |
+
"bbox": [
|
| 18 |
+
211,
|
| 19 |
+
142,
|
| 20 |
+
457,
|
| 21 |
+
192
|
| 22 |
+
],
|
| 23 |
+
"page_idx": 0
|
| 24 |
+
},
|
| 25 |
+
{
|
| 26 |
+
"type": "text",
|
| 27 |
+
"text": "David A. Smith Northeastern University dasmith@ccs.neu.edu",
|
| 28 |
+
"bbox": [
|
| 29 |
+
566,
|
| 30 |
+
142,
|
| 31 |
+
764,
|
| 32 |
+
192
|
| 33 |
+
],
|
| 34 |
+
"page_idx": 0
|
| 35 |
+
},
|
| 36 |
+
{
|
| 37 |
+
"type": "text",
|
| 38 |
+
"text": "Abstract",
|
| 39 |
+
"text_level": 1,
|
| 40 |
+
"bbox": [
|
| 41 |
+
260,
|
| 42 |
+
252,
|
| 43 |
+
339,
|
| 44 |
+
268
|
| 45 |
+
],
|
| 46 |
+
"page_idx": 0
|
| 47 |
+
},
|
| 48 |
+
{
|
| 49 |
+
"type": "text",
|
| 50 |
+
"text": "We investigate the ability of Transformer-based language models to find syntactic differences between the English of the early 1800s and that of the late 1900s. First, we show that a fine-tuned BERT model can distinguish between text from these two periods using syntactic information only; to show this, we employ a strategy to hide semantic information from the text. Second, we make further use of fine-tuned BERT models to identify specific instances of syntactic change and specific words for which a new part of speech was introduced. To do this, we employ a part-of-speech (POS) tagger and use it to train corpora-specific taggers based only on BERT representations pretrained on different corpora. Notably, our methods of identifying specific candidates for syntactic change avoid using any automatic POS tagger on old text, where its performance may be unreliable; instead, our methods only use untagged old text together with tagged modern text. We examine samples and distributional properties of the model output to validate automatically identified cases of syntactic change. Finally, we use our techniques to confirm the historical rise of the progressive construction, a known example of syntactic change.",
|
| 51 |
+
"bbox": [
|
| 52 |
+
142,
|
| 53 |
+
282,
|
| 54 |
+
460,
|
| 55 |
+
667
|
| 56 |
+
],
|
| 57 |
+
"page_idx": 0
|
| 58 |
+
},
|
| 59 |
+
{
|
| 60 |
+
"type": "text",
|
| 61 |
+
"text": "1 Introduction",
|
| 62 |
+
"text_level": 1,
|
| 63 |
+
"bbox": [
|
| 64 |
+
114,
|
| 65 |
+
682,
|
| 66 |
+
260,
|
| 67 |
+
697
|
| 68 |
+
],
|
| 69 |
+
"page_idx": 0
|
| 70 |
+
},
|
| 71 |
+
{
|
| 72 |
+
"type": "text",
|
| 73 |
+
"text": "Many researchers have taken advantage of the availability of pre-trained language models to study semantic change (e.g., Giulianelli et al., 2020; Hu et al., 2019; Fonteyn, 2020), but computational studies of syntactic change are more sporadic, relying on specially trained models (Merrill et al., 2019). In this paper, we investigate the extent to which BERT (Devlin et al., 2019) is able to distinguish between the syntax of English from the early 1800s and that of the late 1900s. To do so, we use the British Hansard corpus, which consists of a digitized version of the U.K. Parliamentary debates starting in the early 1800s and spanning",
|
| 74 |
+
"bbox": [
|
| 75 |
+
112,
|
| 76 |
+
709,
|
| 77 |
+
490,
|
| 78 |
+
919
|
| 79 |
+
],
|
| 80 |
+
"page_idx": 0
|
| 81 |
+
},
|
| 82 |
+
{
|
| 83 |
+
"type": "text",
|
| 84 |
+
"text": "across two centuries. We isolate all of the parliamentary debates from the 1830s and the 1990s.<sup>1</sup> These debates can be found on the U.K. Parliament Website's Hansard archive<sup>2</sup>.",
|
| 85 |
+
"bbox": [
|
| 86 |
+
507,
|
| 87 |
+
253,
|
| 88 |
+
884,
|
| 89 |
+
315
|
| 90 |
+
],
|
| 91 |
+
"page_idx": 0
|
| 92 |
+
},
|
| 93 |
+
{
|
| 94 |
+
"type": "text",
|
| 95 |
+
"text": "We fine-tune BERT-base-uncased, which has around 110 million parameters and was pre-trained on approximately 3.3 billion words. When training or testing BERT on a sentence, we first tokenize it using the original BERT-base-uncased tokenizer, as implemented by Hugging Face (Wolf et al., 2020).",
|
| 96 |
+
"bbox": [
|
| 97 |
+
507,
|
| 98 |
+
318,
|
| 99 |
+
884,
|
| 100 |
+
414
|
| 101 |
+
],
|
| 102 |
+
"page_idx": 0
|
| 103 |
+
},
|
| 104 |
+
{
|
| 105 |
+
"type": "text",
|
| 106 |
+
"text": "We focus on two questions: First, to what extent can BERT distinguish text from different time periods on the basis of syntactic features alone? Second, can we use BERT to help identify words or sentences whose analysis reflects syntactic change in an unsupervised way?",
|
| 107 |
+
"bbox": [
|
| 108 |
+
507,
|
| 109 |
+
416,
|
| 110 |
+
882,
|
| 111 |
+
511
|
| 112 |
+
],
|
| 113 |
+
"page_idx": 0
|
| 114 |
+
},
|
| 115 |
+
{
|
| 116 |
+
"type": "text",
|
| 117 |
+
"text": "In §2, we find evidence that BERT can be used to detect syntactic differences between the English of the 1830s and that of the 1990s. Specifically, even after we control for confounders, a fine-tuned BERT model can still distinguish between these two periods even when the semantic information is hidden.",
|
| 118 |
+
"bbox": [
|
| 119 |
+
507,
|
| 120 |
+
513,
|
| 121 |
+
882,
|
| 122 |
+
624
|
| 123 |
+
],
|
| 124 |
+
"page_idx": 0
|
| 125 |
+
},
|
| 126 |
+
{
|
| 127 |
+
"type": "text",
|
| 128 |
+
"text": "In §3, we describe how we train classifiers that can assign POS tags to words based on a 1830s and a 1990s understanding of English, respectively. Our main contribution comes in §4, where we use these classifiers to identify words whose analysis reflects syntactic change. Our method can automatically find words whose part of speech has changed. Moreover, our method avoids running a POS tagger on old text, since automatic tagging may be unreliable in that scenario. We emphasize that our change-detection techniques work with no manual annotation and identify examples of language change without any manual filtering; see Appendix B for a list of the top automatically detected words whose part of speech has changed.",
|
| 129 |
+
"bbox": [
|
| 130 |
+
507,
|
| 131 |
+
626,
|
| 132 |
+
884,
|
| 133 |
+
868
|
| 134 |
+
],
|
| 135 |
+
"page_idx": 0
|
| 136 |
+
},
|
| 137 |
+
{
|
| 138 |
+
"type": "page_footnote",
|
| 139 |
+
"text": "<sup>1</sup>We chose these decades because they were the earliest and latest decade with large amounts of data in every year. <sup>2</sup>https://www.hansard-archive.parliament.uk/",
|
| 140 |
+
"bbox": [
|
| 141 |
+
507,
|
| 142 |
+
879,
|
| 143 |
+
882,
|
| 144 |
+
917
|
| 145 |
+
],
|
| 146 |
+
"page_idx": 0
|
| 147 |
+
},
|
| 148 |
+
{
|
| 149 |
+
"type": "page_number",
|
| 150 |
+
"text": "3564",
|
| 151 |
+
"bbox": [
|
| 152 |
+
480,
|
| 153 |
+
927,
|
| 154 |
+
519,
|
| 155 |
+
940
|
| 156 |
+
],
|
| 157 |
+
"page_idx": 0
|
| 158 |
+
},
|
| 159 |
+
{
|
| 160 |
+
"type": "footer",
|
| 161 |
+
"text": "Findings of the Association for Computational Linguistics: EMNLP 2023, pages 3564-3574 December 6-10, 2023 ©2023 Association for Computational Linguistics",
|
| 162 |
+
"bbox": [
|
| 163 |
+
216,
|
| 164 |
+
945,
|
| 165 |
+
779,
|
| 166 |
+
972
|
| 167 |
+
],
|
| 168 |
+
"page_idx": 0
|
| 169 |
+
},
|
| 170 |
+
{
|
| 171 |
+
"type": "text",
|
| 172 |
+
"text": "To the best of our knowledge, such unsupervised syntactic change detection has not been previously done.",
|
| 173 |
+
"bbox": [
|
| 174 |
+
112,
|
| 175 |
+
84,
|
| 176 |
+
487,
|
| 177 |
+
130
|
| 178 |
+
],
|
| 179 |
+
"page_idx": 1
|
| 180 |
+
},
|
| 181 |
+
{
|
| 182 |
+
"type": "text",
|
| 183 |
+
"text": "Finally, we confirm a known change (an increase in the frequency of progressives) using our classifiers. We show that a BERT model fine-tuned on text from the 1830s displays a poorer understanding of the progressive construction compared to a similar model trained on text from the 1990s.",
|
| 184 |
+
"bbox": [
|
| 185 |
+
112,
|
| 186 |
+
133,
|
| 187 |
+
489,
|
| 188 |
+
229
|
| 189 |
+
],
|
| 190 |
+
"page_idx": 1
|
| 191 |
+
},
|
| 192 |
+
{
|
| 193 |
+
"type": "text",
|
| 194 |
+
"text": "2 Detecting Syntactic Change While Masking Semantics",
|
| 195 |
+
"text_level": 1,
|
| 196 |
+
"bbox": [
|
| 197 |
+
112,
|
| 198 |
+
242,
|
| 199 |
+
443,
|
| 200 |
+
275
|
| 201 |
+
],
|
| 202 |
+
"page_idx": 1
|
| 203 |
+
},
|
| 204 |
+
{
|
| 205 |
+
"type": "text",
|
| 206 |
+
"text": "In this section, we check the extent to which BERT is sensitive to changes in the syntax of English over time. This acts as a sanity check for later sections, in which we use BERT in a different way to identify specific instances of syntactic change.",
|
| 207 |
+
"bbox": [
|
| 208 |
+
112,
|
| 209 |
+
285,
|
| 210 |
+
487,
|
| 211 |
+
365
|
| 212 |
+
],
|
| 213 |
+
"page_idx": 1
|
| 214 |
+
},
|
| 215 |
+
{
|
| 216 |
+
"type": "text",
|
| 217 |
+
"text": "We start by fine-tuning BERT-base-uncased on the classification task of predicting whether sentences come from the 1830s or the 1990s. To do so, we use the representation of the CLS token in the last layer of BERT and add a linear layer to it; this model is then fine-tuned using labeled sentences from the 1830s and the 1990s.",
|
| 218 |
+
"bbox": [
|
| 219 |
+
112,
|
| 220 |
+
366,
|
| 221 |
+
487,
|
| 222 |
+
476
|
| 223 |
+
],
|
| 224 |
+
"page_idx": 1
|
| 225 |
+
},
|
| 226 |
+
{
|
| 227 |
+
"type": "text",
|
| 228 |
+
"text": "After we fine-tune it on 100,000 sentences per time period, the BERT model achieves $98.6\\%$ accuracy; however, it may use semantic information to distinguish between text from the two time periods, and we want to limit ourselves to syntactic information only in order to check the extent to which BERT can detect syntactic change over time.",
|
| 229 |
+
"bbox": [
|
| 230 |
+
112,
|
| 231 |
+
480,
|
| 232 |
+
487,
|
| 233 |
+
590
|
| 234 |
+
],
|
| 235 |
+
"page_idx": 1
|
| 236 |
+
},
|
| 237 |
+
{
|
| 238 |
+
"type": "text",
|
| 239 |
+
"text": "To make BERT use syntactic information only, we mask semantic information by replacing all the open class words in each sentence with their POS tags, obtained using Stanford CoreNLP (Manning et al., 2014). In order to leverage BERT's pretrained knowledge of English, we then replace each POS tag with a common English word that usually has that tag (in a similar vein to Gulordava et al., 2018); this way, the input to BERT looks more like \"colorless green ideas\" and not \"JJ JJ NNS\".",
|
| 240 |
+
"bbox": [
|
| 241 |
+
112,
|
| 242 |
+
593,
|
| 243 |
+
487,
|
| 244 |
+
752
|
| 245 |
+
],
|
| 246 |
+
"page_idx": 1
|
| 247 |
+
},
|
| 248 |
+
{
|
| 249 |
+
"type": "text",
|
| 250 |
+
"text": "After replacing words (other than forms of \"to be\" and \"to have\", prepositions, and determiners) with POS tags and after replacing each POS tag with a representative word for that part of speech, we fine-tune BERT (with the added layer described above) on the resulting data. The BERT model performs surprisingly well on this classification task, achieving over $90\\%$ accuracy for the task of pre",
|
| 251 |
+
"bbox": [
|
| 252 |
+
112,
|
| 253 |
+
753,
|
| 254 |
+
487,
|
| 255 |
+
882
|
| 256 |
+
],
|
| 257 |
+
"page_idx": 1
|
| 258 |
+
},
|
| 259 |
+
{
|
| 260 |
+
"type": "text",
|
| 261 |
+
"text": "dicting whether a sentence comes from the 1830s or the 1990s. However, there are still several ways for such a model to use non-syntactic information. First, the model may use sentence lengths, since the distribution of the sentence lengths is different for the 1830s than for the 1990s. Second, the BERT model may simply be using the counts of the POS tags rather than real syntactic information.",
|
| 262 |
+
"bbox": [
|
| 263 |
+
507,
|
| 264 |
+
84,
|
| 265 |
+
882,
|
| 266 |
+
212
|
| 267 |
+
],
|
| 268 |
+
"page_idx": 1
|
| 269 |
+
},
|
| 270 |
+
{
|
| 271 |
+
"type": "text",
|
| 272 |
+
"text": "To mitigate the length confounder, we place restrictions on the lengths of our training sentences. We run experiments separately for the length bins 11-15 words, 21-25 words, 31-35 words, and 20 words. To check the extent to which BERT relies on syntactic information other than the counts of tags, we separately train a model on shuffled input data, in which the sequence of tags in the sentence appears out of order. Such shuffled data retains no information other than the tag counts; we then compare whether BERT trained on unshuffled data can outperform BERT trained on shuffled data. The results are summarized in Table 1.",
|
| 273 |
+
"bbox": [
|
| 274 |
+
507,
|
| 275 |
+
212,
|
| 276 |
+
882,
|
| 277 |
+
420
|
| 278 |
+
],
|
| 279 |
+
"page_idx": 1
|
| 280 |
+
},
|
| 281 |
+
{
|
| 282 |
+
"type": "text",
|
| 283 |
+
"text": "We compare these results to a logistic regression model that takes in the frequencies for the 100 most common vocabulary items in the replaced corpus $^{4}$ (plus a catch-all category for the remaining items) and the sentence length as features. Such a logistic regression model achieves an accuracy of $85.45\\%$ , which means it performs about as well as BERT fine-tuned on shuffled tags but loses to BERT when the latter is fine-tuned on unshuffled tags. Using sentence length as the only feature yields an accuracy of $60.33\\%$ .",
|
| 284 |
+
"bbox": [
|
| 285 |
+
507,
|
| 286 |
+
423,
|
| 287 |
+
882,
|
| 288 |
+
598
|
| 289 |
+
],
|
| 290 |
+
"page_idx": 1
|
| 291 |
+
},
|
| 292 |
+
{
|
| 293 |
+
"type": "text",
|
| 294 |
+
"text": "The conclusion of this experiment is that the fine-tuned BERT model must be using syntactic information to tell apart sentences from the 1830s and the 1990s. Indeed, even when the length of the sentence is fixed, and even when the words have been replaced by their parts of speech, the model gains advantage from seeing the true order of the tags as they appeared in the sentence, instead of seeing shuffled tags. This advantage must fundamentally come from differences in syntax that are present between the 1830s and 1990s sentences (and moreover, these differences must take a form that is not simply tag counts).",
|
| 295 |
+
"bbox": [
|
| 296 |
+
507,
|
| 297 |
+
599,
|
| 298 |
+
882,
|
| 299 |
+
808
|
| 300 |
+
],
|
| 301 |
+
"page_idx": 1
|
| 302 |
+
},
|
| 303 |
+
{
|
| 304 |
+
"type": "text",
|
| 305 |
+
"text": "Having established that BERT is sensitive to changes in the syntax of English, we next train BERT in a different way to identify specific instances of such change. Importantly, from here on",
|
| 306 |
+
"bbox": [
|
| 307 |
+
507,
|
| 308 |
+
809,
|
| 309 |
+
882,
|
| 310 |
+
872
|
| 311 |
+
],
|
| 312 |
+
"page_idx": 1
|
| 313 |
+
},
|
| 314 |
+
{
|
| 315 |
+
"type": "page_footnote",
|
| 316 |
+
"text": "4 In addition to the typical words that represent different parts of speech, this replaced corpus also contains prepositions, determiners, and forms of \"to be\" and \"to have\".",
|
| 317 |
+
"bbox": [
|
| 318 |
+
507,
|
| 319 |
+
879,
|
| 320 |
+
882,
|
| 321 |
+
917
|
| 322 |
+
],
|
| 323 |
+
"page_idx": 1
|
| 324 |
+
},
|
| 325 |
+
{
|
| 326 |
+
"type": "page_footnote",
|
| 327 |
+
"text": "3The code for our experiments is available here: https://github.com/houliwen/detecting-syntactic-change",
|
| 328 |
+
"bbox": [
|
| 329 |
+
112,
|
| 330 |
+
892,
|
| 331 |
+
487,
|
| 332 |
+
917
|
| 333 |
+
],
|
| 334 |
+
"page_idx": 1
|
| 335 |
+
},
|
| 336 |
+
{
|
| 337 |
+
"type": "page_number",
|
| 338 |
+
"text": "3565",
|
| 339 |
+
"bbox": [
|
| 340 |
+
480,
|
| 341 |
+
928,
|
| 342 |
+
519,
|
| 343 |
+
940
|
| 344 |
+
],
|
| 345 |
+
"page_idx": 1
|
| 346 |
+
},
|
| 347 |
+
{
|
| 348 |
+
"type": "table",
|
| 349 |
+
"img_path": "images/4c1fefc37a810e339ed362df82ab658d41f83a63f796ef21152d75145f957300.jpg",
|
| 350 |
+
"table_caption": [],
|
| 351 |
+
"table_footnote": [],
|
| 352 |
+
"table_body": "<table><tr><td>sent.\nlength</td><td>shuffled\nplaced</td><td>unshuffled\nplaced</td><td>shuffled\nplain</td><td>unshuffled\nplain</td></tr><tr><td>11-15</td><td>83.37</td><td>87.74</td><td>94.70</td><td>96.69</td></tr><tr><td>21-25</td><td>86.44</td><td>90.54</td><td>97.39</td><td>98.63</td></tr><tr><td>31-35</td><td>89.37</td><td>93.12</td><td>98.20</td><td>98.90</td></tr><tr><td>20</td><td>85.20</td><td>89.30</td><td>96.60</td><td>97.40</td></tr></table>",
|
| 353 |
+
"bbox": [
|
| 354 |
+
115,
|
| 355 |
+
80,
|
| 356 |
+
485,
|
| 357 |
+
156
|
| 358 |
+
],
|
| 359 |
+
"page_idx": 2
|
| 360 |
+
},
|
| 361 |
+
{
|
| 362 |
+
"type": "text",
|
| 363 |
+
"text": "Table 1: Accuracy of BERT fine-tuned on different types of data for predicting time period. All models were trained on 20,000 sentences and tested on 2,000 (half from the 1830s and half from the 1990s); the exception was the last line, for which only 10,000 training sentences were used due to lack of data. Since test data contained an even mixture of 1830s and 1990s sentences, baseline accuracy is $50\\%$ . These numbers are based on a single run; however, note that an accuracy of $p$ will have standard deviation around $\\sqrt{p(1 - p) / 2000}$ , which ranges from $0.23\\%$ to $0.83\\%$ for the above, with higher accuracies having lower standard deviations.",
|
| 364 |
+
"bbox": [
|
| 365 |
+
112,
|
| 366 |
+
167,
|
| 367 |
+
489,
|
| 368 |
+
338
|
| 369 |
+
],
|
| 370 |
+
"page_idx": 2
|
| 371 |
+
},
|
| 372 |
+
{
|
| 373 |
+
"type": "text",
|
| 374 |
+
"text": "out, we avoid using a POS tagger on older English.",
|
| 375 |
+
"bbox": [
|
| 376 |
+
112,
|
| 377 |
+
363,
|
| 378 |
+
487,
|
| 379 |
+
381
|
| 380 |
+
],
|
| 381 |
+
"page_idx": 2
|
| 382 |
+
},
|
| 383 |
+
{
|
| 384 |
+
"type": "text",
|
| 385 |
+
"text": "3 Training Classifiers",
|
| 386 |
+
"text_level": 1,
|
| 387 |
+
"bbox": [
|
| 388 |
+
112,
|
| 389 |
+
393,
|
| 390 |
+
317,
|
| 391 |
+
409
|
| 392 |
+
],
|
| 393 |
+
"page_idx": 2
|
| 394 |
+
},
|
| 395 |
+
{
|
| 396 |
+
"type": "text",
|
| 397 |
+
"text": "We use BERT to identify specific instances of change. To do so, we train two POS taggers, one based on text from the 1830s and the other based on text from the 1990s; in the subsequent sections, we will use these taggers and their errors to identify words or sentences that display syntactic change. In this section, we will focus on describing how these taggers are trained and their performance. Crucially, we will train these taggers without ever tagging text from the 1830s; all POS tags are only ever associated with text from the 1990s.",
|
| 398 |
+
"bbox": [
|
| 399 |
+
112,
|
| 400 |
+
419,
|
| 401 |
+
489,
|
| 402 |
+
594
|
| 403 |
+
],
|
| 404 |
+
"page_idx": 2
|
| 405 |
+
},
|
| 406 |
+
{
|
| 407 |
+
"type": "text",
|
| 408 |
+
"text": "We start by fine-tuning two instances of BERT-base-uncased: one on text from the 1990s and the other on text from the 1830s. This is done via Masked-Language Modeling in PyTorch (Paszke et al., 2019), where we process one sentence at a time with $15\\%$ of the tokens masked, and the model is trained to predict the masked tokens. We use each fine-tuned model to obtain BERT token representations for 1990s text and then average the token representations for all the WordPiece tokens within each word to obtain a representation of a word. We do this twice: once with the model fine-tuned on text from the 1830s and once with the model fine-tuned on text from the 1990s (yielding two different embeddings of each word). However, even though we have models trained on two time periods, we use both models only to embed words from the 1990s and not any words from the 1830s. At the end of this process, each word from the 1990s has two different BERT embeddings.",
|
| 409 |
+
"bbox": [
|
| 410 |
+
112,
|
| 411 |
+
596,
|
| 412 |
+
489,
|
| 413 |
+
917
|
| 414 |
+
],
|
| 415 |
+
"page_idx": 2
|
| 416 |
+
},
|
| 417 |
+
{
|
| 418 |
+
"type": "text",
|
| 419 |
+
"text": "Next, using POS tags obtained from Stanford CoreNLP for the 1990s portion of the British Hansard, we train a 2-layer perceptron (with one hidden layer of size 50) to assign a Penn Treebank tag to each BERT representation of each word. An input to this 2-layer perceptron is a BERT embedding of a word (extracted as described above), and the output is a POS tag. This classification task ignores punctuation and has 21 classes: We merge the 'NN', 'NNP', 'NNS', and 'NNPS' tags into one single tag called 'Noun', after which we take the 20 most common tags ('Noun', 'IN', 'DT', 'JJ', 'VB', 'PRP', 'RB', 'VBN', 'VBZ', 'VBP', 'CC', 'MD', 'TO', 'VBD', 'CD', 'VBG', 'PRPS', 'WDT', 'WP', 'WRB') and then group the remaining POS tags into a catch-all class called 'other'. We actually train two such perceptrons separately: one for the 1830s BERT embeddings (of words from the 1990s only) and one for the 1990s BERT embeddings (also only of words from the 1990s).",
|
| 420 |
+
"bbox": [
|
| 421 |
+
505,
|
| 422 |
+
84,
|
| 423 |
+
884,
|
| 424 |
+
405
|
| 425 |
+
],
|
| 426 |
+
"page_idx": 2
|
| 427 |
+
},
|
| 428 |
+
{
|
| 429 |
+
"type": "text",
|
| 430 |
+
"text": "Note that the training and test data for this procedure consist only of sentences from the 1990s; this is done because the POS tags obtained from Stanford CoreNLP are likely to be more accurate on our modern data. Using the representations from the final layer of BERT (when the classifier has access to 50,000 training sentences, containing 815,578 words, and when the test set has 50,000 sentences, containing 816,428 words), the accuracy obtained by the 1990s model is $97.6\\%$ , and the accuracy of the 1830s model is $97.2\\%$ .",
|
| 431 |
+
"bbox": [
|
| 432 |
+
507,
|
| 433 |
+
407,
|
| 434 |
+
884,
|
| 435 |
+
582
|
| 436 |
+
],
|
| 437 |
+
"page_idx": 2
|
| 438 |
+
},
|
| 439 |
+
{
|
| 440 |
+
"type": "text",
|
| 441 |
+
"text": "We repeat the above analysis using POS tags from Trankit (Nguyen et al., 2021) instead of Stanford CoreNLP because Trankit is a state-of-the-art parser and tagger. By using Trankit tags to train and test the above classifiers based on BERT representations, the accuracy obtained by the 1990s model was $98.4\\%$ (instead of $97.6\\%$ using CoreNLP tags) and the accuracy obtained by the 1830s model was $98.0\\%$ (instead of $97.2\\%$ using CoreNLP tags). The higher accuracy means that the task became easier when predicting Trankit tags instead of CoreNLP tags; since Trankit tags are also more accurate, it suggests that our pipeline is working as expected.",
|
| 442 |
+
"bbox": [
|
| 443 |
+
507,
|
| 444 |
+
585,
|
| 445 |
+
884,
|
| 446 |
+
809
|
| 447 |
+
],
|
| 448 |
+
"page_idx": 2
|
| 449 |
+
},
|
| 450 |
+
{
|
| 451 |
+
"type": "text",
|
| 452 |
+
"text": "In §4 and later, we will use these pipelines (and the differences between their predictions) to iden-",
|
| 453 |
+
"bbox": [
|
| 454 |
+
507,
|
| 455 |
+
810,
|
| 456 |
+
882,
|
| 457 |
+
843
|
| 458 |
+
],
|
| 459 |
+
"page_idx": 2
|
| 460 |
+
},
|
| 461 |
+
{
|
| 462 |
+
"type": "page_footnote",
|
| 463 |
+
"text": "<sup>5</sup>We tried hidden layer sizes 100 and 200; this hyperparameter did not make a large difference.",
|
| 464 |
+
"bbox": [
|
| 465 |
+
507,
|
| 466 |
+
854,
|
| 467 |
+
885,
|
| 468 |
+
879
|
| 469 |
+
],
|
| 470 |
+
"page_idx": 2
|
| 471 |
+
},
|
| 472 |
+
{
|
| 473 |
+
"type": "page_footnote",
|
| 474 |
+
"text": "$^{6}$ www.cis.upenn.edu/~bies/manuals/tagguide.pdf",
|
| 475 |
+
"bbox": [
|
| 476 |
+
532,
|
| 477 |
+
879,
|
| 478 |
+
873,
|
| 479 |
+
892
|
| 480 |
+
],
|
| 481 |
+
"page_idx": 2
|
| 482 |
+
},
|
| 483 |
+
{
|
| 484 |
+
"type": "page_footnote",
|
| 485 |
+
"text": "$^{7}$ https://trankit.readthedocs.io/en/latest/performance.html",
|
| 486 |
+
"bbox": [
|
| 487 |
+
510,
|
| 488 |
+
892,
|
| 489 |
+
852,
|
| 490 |
+
917
|
| 491 |
+
],
|
| 492 |
+
"page_idx": 2
|
| 493 |
+
},
|
| 494 |
+
{
|
| 495 |
+
"type": "page_number",
|
| 496 |
+
"text": "3566",
|
| 497 |
+
"bbox": [
|
| 498 |
+
480,
|
| 499 |
+
928,
|
| 500 |
+
519,
|
| 501 |
+
940
|
| 502 |
+
],
|
| 503 |
+
"page_idx": 2
|
| 504 |
+
},
|
| 505 |
+
{
|
| 506 |
+
"type": "text",
|
| 507 |
+
"text": "tify specific instances of syntactic change between the 1830s and the 1990s.",
|
| 508 |
+
"bbox": [
|
| 509 |
+
112,
|
| 510 |
+
84,
|
| 511 |
+
487,
|
| 512 |
+
116
|
| 513 |
+
],
|
| 514 |
+
"page_idx": 3
|
| 515 |
+
},
|
| 516 |
+
{
|
| 517 |
+
"type": "text",
|
| 518 |
+
"text": "4 Identifying Words that Underwent Change",
|
| 519 |
+
"text_level": 1,
|
| 520 |
+
"bbox": [
|
| 521 |
+
112,
|
| 522 |
+
130,
|
| 523 |
+
448,
|
| 524 |
+
165
|
| 525 |
+
],
|
| 526 |
+
"page_idx": 3
|
| 527 |
+
},
|
| 528 |
+
{
|
| 529 |
+
"type": "text",
|
| 530 |
+
"text": "We now attempt to use the POS taggers trained above to identify words that underwent change. We employ two methods to do this: First, we find the instances for which the two trained models disagree on a POS tag (indicating that the model familiar with text from the 1830s would tag the word differently compared to the one familiar with text from the 1990s). The second method involves masking out the target word to see if the 1830s model predicts the tag correctly on the masked word. If the masked word is tagged correctly but the un-masked word is tagged incorrectly, it suggests that the 1830s model can correctly parse the rest of the sentence but is specifically confused by the target word; when this happens, it indicates that the target word may have undergone change. This latter strategy is depicted in Figure 1.",
|
| 531 |
+
"bbox": [
|
| 532 |
+
112,
|
| 533 |
+
175,
|
| 534 |
+
489,
|
| 535 |
+
450
|
| 536 |
+
],
|
| 537 |
+
"page_idx": 3
|
| 538 |
+
},
|
| 539 |
+
{
|
| 540 |
+
"type": "text",
|
| 541 |
+
"text": "4.1 Tagging Disagreements",
|
| 542 |
+
"text_level": 1,
|
| 543 |
+
"bbox": [
|
| 544 |
+
112,
|
| 545 |
+
461,
|
| 546 |
+
344,
|
| 547 |
+
476
|
| 548 |
+
],
|
| 549 |
+
"page_idx": 3
|
| 550 |
+
},
|
| 551 |
+
{
|
| 552 |
+
"type": "text",
|
| 553 |
+
"text": "After training, we have two new POS taggers, one based on an 1830s understanding of English and one based on a 1990s understanding. We now run these taggers on test data (from the 1990s) to find words on which they disagree. In particular, we find words for which the model trained on text from the 1990s agrees with the Trankit tag but where the 1830s model disagrees. The cases where such a disagreement occurs should be the cases in which an 1830s grammar leads the model to incorrectly parse the sentence (likely due to a change in English grammar for the relevant word or perhaps one of its neighbors). Moreover, we use our classifiers to extract probabilistic predictions for the tags, and we search for word instances where probability assigned to the correct tag by the 1830s model was at least 50 percentage points lower than that assigned by the 1990s model.",
|
| 554 |
+
"bbox": [
|
| 555 |
+
112,
|
| 556 |
+
483,
|
| 557 |
+
489,
|
| 558 |
+
772
|
| 559 |
+
],
|
| 560 |
+
"page_idx": 3
|
| 561 |
+
},
|
| 562 |
+
{
|
| 563 |
+
"type": "text",
|
| 564 |
+
"text": "We do this for each word in each sentence of the 1990s test data. To help isolate interesting cases, we filter the words under consideration to those that occur at least 10 times in the 1830s text (indicating that they are not new words). We remove numbers, punctuation, and words written entirely in capital letters (likely acronyms). We also restrict to words for which such a tagging disagreement occurred at least twice. We then sort the resulting words",
|
| 565 |
+
"bbox": [
|
| 566 |
+
112,
|
| 567 |
+
774,
|
| 568 |
+
489,
|
| 569 |
+
920
|
| 570 |
+
],
|
| 571 |
+
"page_idx": 3
|
| 572 |
+
},
|
| 573 |
+
{
|
| 574 |
+
"type": "text",
|
| 575 |
+
"text": "by the total number of tag disagreements for that word, normalized by the frequency of the word in the 1990s data, with additional weight given to words which were common in the 1830s (to reduce the number of rare words in the final list). We run this experiment on 100,000 test sentences, using classifiers trained on 25,000 sentences each.",
|
| 576 |
+
"bbox": [
|
| 577 |
+
507,
|
| 578 |
+
84,
|
| 579 |
+
884,
|
| 580 |
+
197
|
| 581 |
+
],
|
| 582 |
+
"page_idx": 3
|
| 583 |
+
},
|
| 584 |
+
{
|
| 585 |
+
"type": "text",
|
| 586 |
+
"text": "We then manually examine the top resulting words to check whether the identified words have truly undergone change; see §4.3. One example can be seen in the following sentence: \"My right hon. Friend last met M. Chevenement to discuss cooperative weapons development among other topics on 4 May.\" In this example, the model trained on text from the 1990s tags the word \"co-operative\" as an adjective whereas the model trained on the 1830s believes that \"co-operative\" is a noun; the 1990s model is correct in this case.",
|
| 587 |
+
"bbox": [
|
| 588 |
+
507,
|
| 589 |
+
199,
|
| 590 |
+
885,
|
| 591 |
+
375
|
| 592 |
+
],
|
| 593 |
+
"page_idx": 3
|
| 594 |
+
},
|
| 595 |
+
{
|
| 596 |
+
"type": "text",
|
| 597 |
+
"text": "4.2 Masking and Confusion",
|
| 598 |
+
"text_level": 1,
|
| 599 |
+
"bbox": [
|
| 600 |
+
507,
|
| 601 |
+
393,
|
| 602 |
+
742,
|
| 603 |
+
407
|
| 604 |
+
],
|
| 605 |
+
"page_idx": 3
|
| 606 |
+
},
|
| 607 |
+
{
|
| 608 |
+
"type": "text",
|
| 609 |
+
"text": "As before, we use both the 1830s model and the 1990s model to predict the POS tag of each word in held-out 1990s sentences. This time, we additionally repeat this process with one word in the sentence masked out: we ask both the 1990s model and the 1830s model to predict the POS tag of the masked word (without knowing what it is). We mask out each word in each sentence, one at a time; since the BERT embedding for a single word depends on the entire sentence, this requires passing the same sentence repeatedly through BERT with a different word masked each time. To speed up this process, we skip applying the mask to words that are too common (within the one thousand most common words in the 1990s), since these constitute the majority of word occurrences and yet are less likely to exhibit syntactic change.",
|
| 610 |
+
"bbox": [
|
| 611 |
+
507,
|
| 612 |
+
416,
|
| 613 |
+
884,
|
| 614 |
+
690
|
| 615 |
+
],
|
| 616 |
+
"page_idx": 3
|
| 617 |
+
},
|
| 618 |
+
{
|
| 619 |
+
"type": "text",
|
| 620 |
+
"text": "After this process, each word in each sentence (except those we have deliberately skipped) will have four different contextual BERT embeddings: one by the 1830s model when the word was masked, one by the 1830s model when the word was unmasked, one by the 1990s model when the word was masked, and one by the 1990s model when the word was unmasked.",
|
| 621 |
+
"bbox": [
|
| 622 |
+
507,
|
| 623 |
+
692,
|
| 624 |
+
884,
|
| 625 |
+
820
|
| 626 |
+
],
|
| 627 |
+
"page_idx": 3
|
| 628 |
+
},
|
| 629 |
+
{
|
| 630 |
+
"type": "text",
|
| 631 |
+
"text": "We now examine words for which the 1830s model gives a better prediction of the POS tag when the word is masked compared to when it is unmasked. When this happens, it means that the 1830s model correctly identified which tag to expect in the position of the masked word, and yet",
|
| 632 |
+
"bbox": [
|
| 633 |
+
507,
|
| 634 |
+
822,
|
| 635 |
+
884,
|
| 636 |
+
920
|
| 637 |
+
],
|
| 638 |
+
"page_idx": 3
|
| 639 |
+
},
|
| 640 |
+
{
|
| 641 |
+
"type": "page_number",
|
| 642 |
+
"text": "3567",
|
| 643 |
+
"bbox": [
|
| 644 |
+
480,
|
| 645 |
+
927,
|
| 646 |
+
519,
|
| 647 |
+
940
|
| 648 |
+
],
|
| 649 |
+
"page_idx": 3
|
| 650 |
+
},
|
| 651 |
+
{
|
| 652 |
+
"type": "image",
|
| 653 |
+
"img_path": "images/8e1b734a3e8f9f745a0dab9b7fe9a79581b457fe1d249adea6f45db393b179fa.jpg",
|
| 654 |
+
"image_caption": [
|
| 655 |
+
"There is no example of sovereign countries which have given up their currencies. There is no example of [MASK] countries which have given up their currencies.",
|
| 656 |
+
"Figure 1: A depiction of the models' predictive process. The 1830s model predicts the correct tag when the word \"sovereign\" was masked (the tags assigned the highest likelihood after JJ were VBG with $21\\%$ and DT with $20\\%$ probability) but predicts it incorrectly when it was unmasked; this is the opposite of the usual pattern, in which the prediction is worse in the masked scenario. This type of tagging error indicates that the 1830s model expects \"sovereign\" to be a noun instead of an adjective."
|
| 657 |
+
],
|
| 658 |
+
"image_footnote": [],
|
| 659 |
+
"bbox": [
|
| 660 |
+
221,
|
| 661 |
+
112,
|
| 662 |
+
776,
|
| 663 |
+
260
|
| 664 |
+
],
|
| 665 |
+
"page_idx": 4
|
| 666 |
+
},
|
| 667 |
+
{
|
| 668 |
+
"type": "text",
|
| 669 |
+
"text": "after the mask is lifted (and the word itself was revealed) the 1830s model \"changed its mind\" and assigned the wrong tag instead. In such cases, we say that the 1830s model was \"confused\" by the token. We restrict to cases where the 1990s model correctly tagged the word, even when it was un-masked; this helps remove Trankit tagging errors as well as typographical errors in the text.",
|
| 670 |
+
"bbox": [
|
| 671 |
+
112,
|
| 672 |
+
366,
|
| 673 |
+
487,
|
| 674 |
+
495
|
| 675 |
+
],
|
| 676 |
+
"page_idx": 4
|
| 677 |
+
},
|
| 678 |
+
{
|
| 679 |
+
"type": "text",
|
| 680 |
+
"text": "We then consider the remaining words for which the 1830s BERT model was confused more than once; specifically, we restrict to words for which there were at least two separate occurrences where the 1990s model tagged the word correctly (with a confidence of at least $90\\%$ ) and the 1830s model assigned a probability that is at least 25 percentage points higher to the correct POS tag when seeing the masked version of the sentence than it did when seeing the unmasked version. We run this experiment on 100,000 test sentences; to train the 1990s and 1830s models, we use 25,000 sentences each (just as in the previous section). To help isolate interesting cases, we employ the same filters and the same sorting strategy as we did in §4.1.",
|
| 681 |
+
"bbox": [
|
| 682 |
+
112,
|
| 683 |
+
497,
|
| 684 |
+
487,
|
| 685 |
+
738
|
| 686 |
+
],
|
| 687 |
+
"page_idx": 4
|
| 688 |
+
},
|
| 689 |
+
{
|
| 690 |
+
"type": "text",
|
| 691 |
+
"text": "An example of a word that we found this way is \"material\", which was an adjective in the early 1800s but whose noun usage is modern. For instance, in the sentence \"the inquiry will be free to publish whatever material it wishes,\" Trankit correctly tags \"material\" as a noun, and so does the 1990s pipeline, but the 1830s pipeline only gives the correct tag when the word \"material\" is masked out in that sentence; when it is unmasked, an adjective is predicted.",
|
| 692 |
+
"bbox": [
|
| 693 |
+
112,
|
| 694 |
+
741,
|
| 695 |
+
487,
|
| 696 |
+
901
|
| 697 |
+
],
|
| 698 |
+
"page_idx": 4
|
| 699 |
+
},
|
| 700 |
+
{
|
| 701 |
+
"type": "text",
|
| 702 |
+
"text": "A list of the top resulting words (with exam-",
|
| 703 |
+
"bbox": [
|
| 704 |
+
132,
|
| 705 |
+
903,
|
| 706 |
+
487,
|
| 707 |
+
917
|
| 708 |
+
],
|
| 709 |
+
"page_idx": 4
|
| 710 |
+
},
|
| 711 |
+
{
|
| 712 |
+
"type": "text",
|
| 713 |
+
"text": "ple sentences and tags provided by the models) is given in Appendix B. The words in this table were automatically generated with no manual curation.",
|
| 714 |
+
"bbox": [
|
| 715 |
+
507,
|
| 716 |
+
366,
|
| 717 |
+
880,
|
| 718 |
+
414
|
| 719 |
+
],
|
| 720 |
+
"page_idx": 4
|
| 721 |
+
},
|
| 722 |
+
{
|
| 723 |
+
"type": "text",
|
| 724 |
+
"text": "4.3 Evaluation",
|
| 725 |
+
"text_level": 1,
|
| 726 |
+
"bbox": [
|
| 727 |
+
507,
|
| 728 |
+
428,
|
| 729 |
+
640,
|
| 730 |
+
442
|
| 731 |
+
],
|
| 732 |
+
"page_idx": 4
|
| 733 |
+
},
|
| 734 |
+
{
|
| 735 |
+
"type": "text",
|
| 736 |
+
"text": "To evaluate the resulting words, we manually analyzed the top 20 candidates produced by §4.1 and the top 20 candidates produced by §4.2. For each candidate word, we examined 10 randomly sampled sentences containing that word from the 1990s and also 10 sentences from the 1830s, and we manually checked whether their syntax appeared to have changed.",
|
| 737 |
+
"bbox": [
|
| 738 |
+
505,
|
| 739 |
+
450,
|
| 740 |
+
882,
|
| 741 |
+
577
|
| 742 |
+
],
|
| 743 |
+
"page_idx": 4
|
| 744 |
+
},
|
| 745 |
+
{
|
| 746 |
+
"type": "text",
|
| 747 |
+
"text": "Of the top 20 words from §4.1, seven (or $35\\%$ ) were identified as having undergone syntactic change, with a part of speech in the 1990s that is either new or greatly increased in frequency. Of the top 20 words from §4.2, 11 (or $55\\%$ ) were identified as having undergone syntactic change.",
|
| 748 |
+
"bbox": [
|
| 749 |
+
507,
|
| 750 |
+
579,
|
| 751 |
+
882,
|
| 752 |
+
675
|
| 753 |
+
],
|
| 754 |
+
"page_idx": 4
|
| 755 |
+
},
|
| 756 |
+
{
|
| 757 |
+
"type": "text",
|
| 758 |
+
"text": "We note also that these two approaches identified different sets of words: Of the top 20 words on each list, there were only 4 words of overlap, while of the top 100 there were 15 words of overlap.",
|
| 759 |
+
"bbox": [
|
| 760 |
+
507,
|
| 761 |
+
676,
|
| 762 |
+
880,
|
| 763 |
+
740
|
| 764 |
+
],
|
| 765 |
+
"page_idx": 4
|
| 766 |
+
},
|
| 767 |
+
{
|
| 768 |
+
"type": "text",
|
| 769 |
+
"text": "We also attempt an automatic evaluation by using Trankit to tag words from the 1830s and checking if these tags changed. Of course, our identification methods purposely avoided using a tagger on old text, since it may be unreliable, and a manual check reveals that the tagger made mistakes. Still, as a sanity check, we use it to compare the two methods for identifying syntactic change.",
|
| 770 |
+
"bbox": [
|
| 771 |
+
507,
|
| 772 |
+
741,
|
| 773 |
+
882,
|
| 774 |
+
869
|
| 775 |
+
],
|
| 776 |
+
"page_idx": 4
|
| 777 |
+
},
|
| 778 |
+
{
|
| 779 |
+
"type": "text",
|
| 780 |
+
"text": "For the purpose of automatic evaluation, we say that a word has changed and gained a new POS if the tag is at least twice as likely to appear for",
|
| 781 |
+
"bbox": [
|
| 782 |
+
507,
|
| 783 |
+
871,
|
| 784 |
+
880,
|
| 785 |
+
917
|
| 786 |
+
],
|
| 787 |
+
"page_idx": 4
|
| 788 |
+
},
|
| 789 |
+
{
|
| 790 |
+
"type": "page_number",
|
| 791 |
+
"text": "3568",
|
| 792 |
+
"bbox": [
|
| 793 |
+
480,
|
| 794 |
+
927,
|
| 795 |
+
519,
|
| 796 |
+
940
|
| 797 |
+
],
|
| 798 |
+
"page_idx": 4
|
| 799 |
+
},
|
| 800 |
+
{
|
| 801 |
+
"type": "text",
|
| 802 |
+
"text": "1990s usages of the word than for 1830s usages of the word. Under this criterion for change, and using the Trankit tags for both 1830s and 1990s data, we get that the top 100 candidates from the simpler identification method (\\$4.1) contained 20 changed words, while the top 100 candidates from our masking strategy (\\$4.2) had 35 changed words. Note that of the manually evaluated words, the automatic evaluation agreed with $75\\%$ of the human judgements. These should be interpreted with caution, but these results agree with our conclusion that the masking strategy is better at identifying changed words.",
|
| 803 |
+
"bbox": [
|
| 804 |
+
112,
|
| 805 |
+
84,
|
| 806 |
+
489,
|
| 807 |
+
294
|
| 808 |
+
],
|
| 809 |
+
"page_idx": 5
|
| 810 |
+
},
|
| 811 |
+
{
|
| 812 |
+
"type": "text",
|
| 813 |
+
"text": "5 Confusion Scores at the Sentence Level",
|
| 814 |
+
"text_level": 1,
|
| 815 |
+
"bbox": [
|
| 816 |
+
112,
|
| 817 |
+
309,
|
| 818 |
+
485,
|
| 819 |
+
325
|
| 820 |
+
],
|
| 821 |
+
"page_idx": 5
|
| 822 |
+
},
|
| 823 |
+
{
|
| 824 |
+
"type": "text",
|
| 825 |
+
"text": "In this next experiment, we try to discern the extent to which masking out a word in a sentence makes the sentence more difficult for a fine-tuned BERT model to parse. The idea is that, for a typical word, once the word is masked out the model has less information about the sentence, and its syntactic understanding should therefore decrease; on the other hand, for a word that has an atypical or new usage, the model may end up being more confused after seeing the word than it is when the word is masked out. In the latter situation, we would expect the model's syntactic understanding of the sentence to improve if the word is masked out because, from the model's point of view, the word is misleading. A similar idea was used in §4.2 at the word level; in this section we will look at the accuracy of the tags for the whole sentence before and after a single word is masked.",
|
| 826 |
+
"bbox": [
|
| 827 |
+
112,
|
| 828 |
+
337,
|
| 829 |
+
489,
|
| 830 |
+
626
|
| 831 |
+
],
|
| 832 |
+
"page_idx": 5
|
| 833 |
+
},
|
| 834 |
+
{
|
| 835 |
+
"type": "text",
|
| 836 |
+
"text": "For example, consider the following sentence: \"Opposition Members think that is how peace processes work.\" A model trained on English from the 1830s is likely to think that the word \"work\" is a noun rather than a verb. This could lead such a model to consider an incorrect way to parse this sentence, where the subject \"peace\" is doing the action of processing the object \"work\". In this case, if the word \"work\" is masked out, the sentence will be more likely to be parsed correctly.",
|
| 837 |
+
"bbox": [
|
| 838 |
+
110,
|
| 839 |
+
627,
|
| 840 |
+
489,
|
| 841 |
+
788
|
| 842 |
+
],
|
| 843 |
+
"page_idx": 5
|
| 844 |
+
},
|
| 845 |
+
{
|
| 846 |
+
"type": "text",
|
| 847 |
+
"text": "As a proxy for the success of the parsing of the sentence, we feed in the sentence to the classifiers from §3 to get predicted tags for all the words in the sentence. We can use these classifiers to get probabilistic predictions, and in particular, we can get a probability assigned to the correct tag for each word in the sentence (using Trankit tags as ground truth). We then multiply together all",
|
| 848 |
+
"bbox": [
|
| 849 |
+
112,
|
| 850 |
+
790,
|
| 851 |
+
489,
|
| 852 |
+
919
|
| 853 |
+
],
|
| 854 |
+
"page_idx": 5
|
| 855 |
+
},
|
| 856 |
+
{
|
| 857 |
+
"type": "text",
|
| 858 |
+
"text": "these probabilities to get a measure of the overall probability the model assigns to the correct tags of the sentence. We can repeat this for both the 1830s and 1990s classifiers, and we can also repeat this when a specific word is either masked or unmasked.",
|
| 859 |
+
"bbox": [
|
| 860 |
+
507,
|
| 861 |
+
84,
|
| 862 |
+
884,
|
| 863 |
+
164
|
| 864 |
+
],
|
| 865 |
+
"page_idx": 5
|
| 866 |
+
},
|
| 867 |
+
{
|
| 868 |
+
"type": "text",
|
| 869 |
+
"text": "We say a model is \"confused\" if the product of probabilities assigned to the correct (Trankit) tags is higher when the word is masked than when it is unmasked. For instance, in the above example sentence \"Opposition Members think that is how peace processes work,\" the 1830s model may assign a wrong tag to the word \"processes\" when the word \"work\" is unmasked, but it might correctly parse the sentence if the word \"work\" is masked (in the latter case, it will assume the masked word is an unknown verb, while in the former case it will try to parse the sentence with a noun in that position if it believes that \"work\" is a noun). In other words, if the 1830s model is confused by a word, it could be because this word underwent change from the 1830s to the 1990s. We create a \"confusion score\" by taking the logarithm of the ratio of the two aforementioned products (i.e. the product of probabilities assigned to the other words when the selected word is masked, and the corresponding product when the selected word is unmasked).",
|
| 870 |
+
"bbox": [
|
| 871 |
+
507,
|
| 872 |
+
167,
|
| 873 |
+
884,
|
| 874 |
+
502
|
| 875 |
+
],
|
| 876 |
+
"page_idx": 5
|
| 877 |
+
},
|
| 878 |
+
{
|
| 879 |
+
"type": "text",
|
| 880 |
+
"text": "We can get such a confusion score for any word in any sentence, and for either the 1830s model or the 1990s model. We focus on sentences from the 1990s that were not part of the training data. Since calculating confusion scores is resource-intensive, we focus on a pre-selected set of word instances, such as those identified as likely having undergone syntactic change in §4.",
|
| 881 |
+
"bbox": [
|
| 882 |
+
507,
|
| 883 |
+
506,
|
| 884 |
+
885,
|
| 885 |
+
634
|
| 886 |
+
],
|
| 887 |
+
"page_idx": 5
|
| 888 |
+
},
|
| 889 |
+
{
|
| 890 |
+
"type": "text",
|
| 891 |
+
"text": "5.1 Comparing Selected Words to Random Words",
|
| 892 |
+
"text_level": 1,
|
| 893 |
+
"bbox": [
|
| 894 |
+
507,
|
| 895 |
+
651,
|
| 896 |
+
865,
|
| 897 |
+
682
|
| 898 |
+
],
|
| 899 |
+
"page_idx": 5
|
| 900 |
+
},
|
| 901 |
+
{
|
| 902 |
+
"type": "text",
|
| 903 |
+
"text": "We select 10,000 word occurrences for which the tag is predicted differently by the 1830s model and the 1990s model (as discussed in §4.1). For each word occurrence, we calculate a confusion score. We then compare these scores to the confusion scores of 10,000 randomly chosen word instances. Our goal is to check whether the confusion scores of the 10,000 selected words were higher than those of random words.",
|
| 904 |
+
"bbox": [
|
| 905 |
+
507,
|
| 906 |
+
692,
|
| 907 |
+
884,
|
| 908 |
+
835
|
| 909 |
+
],
|
| 910 |
+
"page_idx": 5
|
| 911 |
+
},
|
| 912 |
+
{
|
| 913 |
+
"type": "text",
|
| 914 |
+
"text": "One possible confounder is that the selected words may be rarer than the random words. To adjust for this, we choose the random words more carefully: for each non-random word in the first set, we pick a random word conditional on its overall",
|
| 915 |
+
"bbox": [
|
| 916 |
+
507,
|
| 917 |
+
839,
|
| 918 |
+
884,
|
| 919 |
+
919
|
| 920 |
+
],
|
| 921 |
+
"page_idx": 5
|
| 922 |
+
},
|
| 923 |
+
{
|
| 924 |
+
"type": "page_number",
|
| 925 |
+
"text": "3569",
|
| 926 |
+
"bbox": [
|
| 927 |
+
480,
|
| 928 |
+
927,
|
| 929 |
+
521,
|
| 930 |
+
940
|
| 931 |
+
],
|
| 932 |
+
"page_idx": 5
|
| 933 |
+
},
|
| 934 |
+
{
|
| 935 |
+
"type": "image",
|
| 936 |
+
"img_path": "images/479a0c1717d54892947873d4695c0c65fa0259c0e4eb5ced8bb051b1633e021f.jpg",
|
| 937 |
+
"image_caption": [
|
| 938 |
+
"Figure 2: Distribution of confusion scores for selected words and random words."
|
| 939 |
+
],
|
| 940 |
+
"image_footnote": [],
|
| 941 |
+
"bbox": [
|
| 942 |
+
117,
|
| 943 |
+
80,
|
| 944 |
+
484,
|
| 945 |
+
250
|
| 946 |
+
],
|
| 947 |
+
"page_idx": 6
|
| 948 |
+
},
|
| 949 |
+
{
|
| 950 |
+
"type": "text",
|
| 951 |
+
"text": "frequency being close to that of the original word. We define close to be within 10 percentage points in the percentile of their frequencies. The resulting distribution of the confusion scores for the random words had lighter tails than the distribution of the selected words, especially on the right-hand side of the distribution. See Figure 2.",
|
| 952 |
+
"bbox": [
|
| 953 |
+
112,
|
| 954 |
+
316,
|
| 955 |
+
489,
|
| 956 |
+
429
|
| 957 |
+
],
|
| 958 |
+
"page_idx": 6
|
| 959 |
+
},
|
| 960 |
+
{
|
| 961 |
+
"type": "text",
|
| 962 |
+
"text": "As the figure shows, the selected word instances (for which the 1990s model and 1830s model disagree on the tags) have a higher proportion of high confusion scores than random words. Therefore, calculating confusion scores for the selected word occurrences is a more resource-efficient way to find instances of high confusion scores.",
|
| 963 |
+
"bbox": [
|
| 964 |
+
112,
|
| 965 |
+
431,
|
| 966 |
+
489,
|
| 967 |
+
542
|
| 968 |
+
],
|
| 969 |
+
"page_idx": 6
|
| 970 |
+
},
|
| 971 |
+
{
|
| 972 |
+
"type": "text",
|
| 973 |
+
"text": "5.2 Further Refinements",
|
| 974 |
+
"text_level": 1,
|
| 975 |
+
"bbox": [
|
| 976 |
+
112,
|
| 977 |
+
557,
|
| 978 |
+
326,
|
| 979 |
+
571
|
| 980 |
+
],
|
| 981 |
+
"page_idx": 6
|
| 982 |
+
},
|
| 983 |
+
{
|
| 984 |
+
"type": "text",
|
| 985 |
+
"text": "In addition to calculating confusion scores for a word in a given sentence using the 1830s model, we also calculate confusion scores in a similar way using the 1990s model. Recall that the confusion score tells us the extent to which the BERT-based tagger performs better when a word is masked out than when it is not. Since we have two such taggers (one fine-tuned on parliamentary speeches from the 1830s and one fine-tuned on speeches from the 1990s), we can get two confusion scores for a single word in a single sentence.",
|
| 986 |
+
"bbox": [
|
| 987 |
+
112,
|
| 988 |
+
580,
|
| 989 |
+
489,
|
| 990 |
+
755
|
| 991 |
+
],
|
| 992 |
+
"page_idx": 6
|
| 993 |
+
},
|
| 994 |
+
{
|
| 995 |
+
"type": "text",
|
| 996 |
+
"text": "In order to zoom in on syntactic change, we restrict our attention to instances where the 1990s confusion score is less than or equal to zero. Since the confusion score is the logarithm of the ratio of masked to unmasked probabilities, this means we are restricting to word instances where the 1990s model gave a better prediction of the tags when the word was unmasked than it did when the word was masked. Applying this restriction helps to remove cases that are confusing for reasons other",
|
| 997 |
+
"bbox": [
|
| 998 |
+
112,
|
| 999 |
+
758,
|
| 1000 |
+
490,
|
| 1001 |
+
919
|
| 1002 |
+
],
|
| 1003 |
+
"page_idx": 6
|
| 1004 |
+
},
|
| 1005 |
+
{
|
| 1006 |
+
"type": "text",
|
| 1007 |
+
"text": "than language change: for example, sentences that contain typographical errors, sentences that are incorrectly parsed by Trankit, sentences that were ungrammatical when originally spoken, or other special cases. By focusing on instances that the 1830s model found confusing but that the 1990s model did not find confusing, we increase the likelihood of finding syntactic change.",
|
| 1008 |
+
"bbox": [
|
| 1009 |
+
507,
|
| 1010 |
+
84,
|
| 1011 |
+
885,
|
| 1012 |
+
214
|
| 1013 |
+
],
|
| 1014 |
+
"page_idx": 6
|
| 1015 |
+
},
|
| 1016 |
+
{
|
| 1017 |
+
"type": "text",
|
| 1018 |
+
"text": "5.3 Manual Evaluation",
|
| 1019 |
+
"text_level": 1,
|
| 1020 |
+
"bbox": [
|
| 1021 |
+
507,
|
| 1022 |
+
225,
|
| 1023 |
+
709,
|
| 1024 |
+
240
|
| 1025 |
+
],
|
| 1026 |
+
"page_idx": 6
|
| 1027 |
+
},
|
| 1028 |
+
{
|
| 1029 |
+
"type": "text",
|
| 1030 |
+
"text": "We generate a list of top 100 candidates for syntactic change based on these confusion scores. Of those 100 sentences, our manual evaluation determined that 33 sentences were valid instances of syntactic change. We also computed the sum of the reciprocal ranks of the 33 manually selected sentences that exhibited syntactic change. This sum was 2.802, while the maximum possible sum of reciprocal ranks would be $\\frac{1}{1} + \\frac{1}{2} + \\ldots + \\frac{1}{33} \\approx 4.089$ .",
|
| 1031 |
+
"bbox": [
|
| 1032 |
+
507,
|
| 1033 |
+
248,
|
| 1034 |
+
885,
|
| 1035 |
+
395
|
| 1036 |
+
],
|
| 1037 |
+
"page_idx": 6
|
| 1038 |
+
},
|
| 1039 |
+
{
|
| 1040 |
+
"type": "text",
|
| 1041 |
+
"text": "6 Detecting the Rise of the Progressive",
|
| 1042 |
+
"text_level": 1,
|
| 1043 |
+
"bbox": [
|
| 1044 |
+
507,
|
| 1045 |
+
407,
|
| 1046 |
+
858,
|
| 1047 |
+
423
|
| 1048 |
+
],
|
| 1049 |
+
"page_idx": 6
|
| 1050 |
+
},
|
| 1051 |
+
{
|
| 1052 |
+
"type": "text",
|
| 1053 |
+
"text": "In this section, we check the extent to which our techniques can identify syntactic change that was previously known to exist.",
|
| 1054 |
+
"bbox": [
|
| 1055 |
+
507,
|
| 1056 |
+
434,
|
| 1057 |
+
882,
|
| 1058 |
+
481
|
| 1059 |
+
],
|
| 1060 |
+
"page_idx": 6
|
| 1061 |
+
},
|
| 1062 |
+
{
|
| 1063 |
+
"type": "text",
|
| 1064 |
+
"text": "The frequency of the progressive has been increasing over time (e.g. Leech et al., 2009; Hou and Smith, 2021). An example of a progressive is \"he is reading\" (as opposed to \"he reads\"); the former has a form of \"to be\" followed by a verb that ends in \"-ing\". We identify progressive constructions using the dependency parse obtained from Trankit (Nguyen et al., 2021). We then mask out the present participle if it has the tag \"VBG\" and if the previous word is an inflection of the verb \"to be\". (This means that we mask out the tokens constituting the \"-ing\" word as well as the \"-ing\" suffix itself.)",
|
| 1065 |
+
"bbox": [
|
| 1066 |
+
505,
|
| 1067 |
+
483,
|
| 1068 |
+
885,
|
| 1069 |
+
690
|
| 1070 |
+
],
|
| 1071 |
+
"page_idx": 6
|
| 1072 |
+
},
|
| 1073 |
+
{
|
| 1074 |
+
"type": "text",
|
| 1075 |
+
"text": "Next, we use both the 1990s model and the 1830s model to predict the POS tags of all the words in these masked sentences. We compare these predictions to each other and also to the predictions that both models give for the unmasked versions of these sentences. Finally, we take randomly chosen words in randomly chosen sentences as a control group and repeat the process for this group.",
|
| 1076 |
+
"bbox": [
|
| 1077 |
+
507,
|
| 1078 |
+
693,
|
| 1079 |
+
885,
|
| 1080 |
+
821
|
| 1081 |
+
],
|
| 1082 |
+
"page_idx": 6
|
| 1083 |
+
},
|
| 1084 |
+
{
|
| 1085 |
+
"type": "text",
|
| 1086 |
+
"text": "We summarize the results in two figures. First, Figure 3 shows the confusion scores for the 1830s model on the progressive sentences compared to random sentences. As the figure shows, the 1830s model is negatively confused when we mask out progressives, which means that it gets the predic",
|
| 1087 |
+
"bbox": [
|
| 1088 |
+
507,
|
| 1089 |
+
822,
|
| 1090 |
+
885,
|
| 1091 |
+
919
|
| 1092 |
+
],
|
| 1093 |
+
"page_idx": 6
|
| 1094 |
+
},
|
| 1095 |
+
{
|
| 1096 |
+
"type": "page_number",
|
| 1097 |
+
"text": "3570",
|
| 1098 |
+
"bbox": [
|
| 1099 |
+
480,
|
| 1100 |
+
927,
|
| 1101 |
+
521,
|
| 1102 |
+
940
|
| 1103 |
+
],
|
| 1104 |
+
"page_idx": 6
|
| 1105 |
+
},
|
| 1106 |
+
{
|
| 1107 |
+
"type": "image",
|
| 1108 |
+
"img_path": "images/e4da15d8762aab18a0de5e880f8a1957059d101324d1d04ea001633ad1c4ea47.jpg",
|
| 1109 |
+
"image_caption": [
|
| 1110 |
+
"Figure 3: A histogram for the confusion scores of the 1830s model on progressives and on random sentences."
|
| 1111 |
+
],
|
| 1112 |
+
"image_footnote": [],
|
| 1113 |
+
"bbox": [
|
| 1114 |
+
117,
|
| 1115 |
+
80,
|
| 1116 |
+
485,
|
| 1117 |
+
253
|
| 1118 |
+
],
|
| 1119 |
+
"page_idx": 7
|
| 1120 |
+
},
|
| 1121 |
+
{
|
| 1122 |
+
"type": "text",
|
| 1123 |
+
"text": "tion right more often on the unmasked version of these sentences than it does on the masked versions. This makes sense, as it corresponds to the insight that the 1830s model has a difficult time correctly tagging the masked progressives.",
|
| 1124 |
+
"bbox": [
|
| 1125 |
+
112,
|
| 1126 |
+
317,
|
| 1127 |
+
489,
|
| 1128 |
+
398
|
| 1129 |
+
],
|
| 1130 |
+
"page_idx": 7
|
| 1131 |
+
},
|
| 1132 |
+
{
|
| 1133 |
+
"type": "image",
|
| 1134 |
+
"img_path": "images/1610561e4206ac7e202022963eebc08063fe57eca2dc6d970b421f4d51c7bd97.jpg",
|
| 1135 |
+
"image_caption": [
|
| 1136 |
+
"Figure 4: A histogram for the logarithm of the ratios between the products of probabilities assigned to the true tags by the 1990s model and the 1830s model. We compare this for progressive sentences and random sentences. In all cases, both models were given the masked version of the sentences."
|
| 1137 |
+
],
|
| 1138 |
+
"image_footnote": [],
|
| 1139 |
+
"bbox": [
|
| 1140 |
+
131,
|
| 1141 |
+
409,
|
| 1142 |
+
470,
|
| 1143 |
+
576
|
| 1144 |
+
],
|
| 1145 |
+
"page_idx": 7
|
| 1146 |
+
},
|
| 1147 |
+
{
|
| 1148 |
+
"type": "text",
|
| 1149 |
+
"text": "Figure 4 compares the predictions of the 1990s model to those of the 1830s model for the masked sentences. It shows that the 1990s model predicts the tags of the progressive sentences better than the 1830s model does, and the gap between their predictions is larger than it is for random sentences. This is evidence that the 1830s model is unfamiliar with progressive constructions.",
|
| 1150 |
+
"bbox": [
|
| 1151 |
+
112,
|
| 1152 |
+
688,
|
| 1153 |
+
489,
|
| 1154 |
+
816
|
| 1155 |
+
],
|
| 1156 |
+
"page_idx": 7
|
| 1157 |
+
},
|
| 1158 |
+
{
|
| 1159 |
+
"type": "text",
|
| 1160 |
+
"text": "7 Related Work",
|
| 1161 |
+
"text_level": 1,
|
| 1162 |
+
"bbox": [
|
| 1163 |
+
112,
|
| 1164 |
+
828,
|
| 1165 |
+
268,
|
| 1166 |
+
844
|
| 1167 |
+
],
|
| 1168 |
+
"page_idx": 7
|
| 1169 |
+
},
|
| 1170 |
+
{
|
| 1171 |
+
"type": "text",
|
| 1172 |
+
"text": "It has been claimed that the performance of Transformers on downstream tasks is insensitive to word order (Hessel and Schofield, 2021; Sinha et al., 2021a; Sinha et al., 2021b; Pham et al., 2021;",
|
| 1173 |
+
"bbox": [
|
| 1174 |
+
112,
|
| 1175 |
+
854,
|
| 1176 |
+
489,
|
| 1177 |
+
917
|
| 1178 |
+
],
|
| 1179 |
+
"page_idx": 7
|
| 1180 |
+
},
|
| 1181 |
+
{
|
| 1182 |
+
"type": "text",
|
| 1183 |
+
"text": "Gupta et al., 2021), which is consistent with our observation that BERT fine-tuned on shuffled text can distinguish between two time periods with high accuracy; however, our experiments indicate BERT's accuracy still improves when it has access to word order, consistent with Papadimitriou et al. (2022), who argue that word order sometimes matters by considering non-prototypical cases where meanings and lexical expectations do not match.",
|
| 1184 |
+
"bbox": [
|
| 1185 |
+
507,
|
| 1186 |
+
84,
|
| 1187 |
+
884,
|
| 1188 |
+
227
|
| 1189 |
+
],
|
| 1190 |
+
"page_idx": 7
|
| 1191 |
+
},
|
| 1192 |
+
{
|
| 1193 |
+
"type": "text",
|
| 1194 |
+
"text": "A sizable literature considers syntactic probes for BERT embeddings (e.g. Tenney et al., 2019; Jawahar et al., 2019; Hewitt and Manning, 2019; Pimentel et al., 2020), but to our knowledge none of the works that probe syntax consider Transformers fine-tuned on different time periods.",
|
| 1195 |
+
"bbox": [
|
| 1196 |
+
507,
|
| 1197 |
+
230,
|
| 1198 |
+
884,
|
| 1199 |
+
326
|
| 1200 |
+
],
|
| 1201 |
+
"page_idx": 7
|
| 1202 |
+
},
|
| 1203 |
+
{
|
| 1204 |
+
"type": "text",
|
| 1205 |
+
"text": "Syntactic change detection has been understudied in the computational linguistics and NLP literature. One work on this topic is Merrill et al. (2019), in which an LSTM achieved higher accuracy compared to a model consisting of feedforward networks on the task of predicting the year of composition of sentences. However, in addition to predicting the time period of text, we also identify specific instances of syntactic change. Computational methods for the study of syntactic change also appear in Hou and Smith (2018); this work examined possible causes of the decline in the rate of passivization over time. Another related work is Lei and Wen (2020), which found dependency distance to be decreasing over time (between the years 1790 and 2017).",
|
| 1206 |
+
"bbox": [
|
| 1207 |
+
507,
|
| 1208 |
+
328,
|
| 1209 |
+
884,
|
| 1210 |
+
583
|
| 1211 |
+
],
|
| 1212 |
+
"page_idx": 7
|
| 1213 |
+
},
|
| 1214 |
+
{
|
| 1215 |
+
"type": "text",
|
| 1216 |
+
"text": "Many studies have used BERT to detect semantic change, including Giulianelli et al. (2020), Hu et al. (2019), and Fonteyn (2020). In addition, Beelen et al. (2021) fine-tune historical BERT models on a corpus of $19^{\\mathrm{th}}$ -century English books in order to tackle the task of time-sensitive Targeted Sense Disambiguation and find that \"BERT works better when it is fine-tuned on data contemporaneous to the target period\".",
|
| 1217 |
+
"bbox": [
|
| 1218 |
+
507,
|
| 1219 |
+
586,
|
| 1220 |
+
882,
|
| 1221 |
+
731
|
| 1222 |
+
],
|
| 1223 |
+
"page_idx": 7
|
| 1224 |
+
},
|
| 1225 |
+
{
|
| 1226 |
+
"type": "text",
|
| 1227 |
+
"text": "8 Conclusion",
|
| 1228 |
+
"text_level": 1,
|
| 1229 |
+
"bbox": [
|
| 1230 |
+
507,
|
| 1231 |
+
745,
|
| 1232 |
+
640,
|
| 1233 |
+
760
|
| 1234 |
+
],
|
| 1235 |
+
"page_idx": 7
|
| 1236 |
+
},
|
| 1237 |
+
{
|
| 1238 |
+
"type": "text",
|
| 1239 |
+
"text": "We investigated the extent to which fine-tuned BERT models can distinguish between the syntax of 1830s English and 1990s English. Our approach used masking techniques, and we repeatedly compared BERT models on masked and unmasked text.",
|
| 1240 |
+
"bbox": [
|
| 1241 |
+
507,
|
| 1242 |
+
772,
|
| 1243 |
+
884,
|
| 1244 |
+
852
|
| 1245 |
+
],
|
| 1246 |
+
"page_idx": 7
|
| 1247 |
+
},
|
| 1248 |
+
{
|
| 1249 |
+
"type": "text",
|
| 1250 |
+
"text": "First, in §2, we hid semantic information by replacing each word with its POS tag (and representing that tag as a common English word that exemplifies that tag). We fine-tuned BERT on such",
|
| 1251 |
+
"bbox": [
|
| 1252 |
+
507,
|
| 1253 |
+
854,
|
| 1254 |
+
882,
|
| 1255 |
+
917
|
| 1256 |
+
],
|
| 1257 |
+
"page_idx": 7
|
| 1258 |
+
},
|
| 1259 |
+
{
|
| 1260 |
+
"type": "page_number",
|
| 1261 |
+
"text": "3571",
|
| 1262 |
+
"bbox": [
|
| 1263 |
+
480,
|
| 1264 |
+
927,
|
| 1265 |
+
517,
|
| 1266 |
+
940
|
| 1267 |
+
],
|
| 1268 |
+
"page_idx": 7
|
| 1269 |
+
},
|
| 1270 |
+
{
|
| 1271 |
+
"type": "text",
|
| 1272 |
+
"text": "syntax-only data to see if it could tell apart text from the 1830s and text from the 1990s. We found evidence that BERT can be used to detect syntactic differences between these two time periods.",
|
| 1273 |
+
"bbox": [
|
| 1274 |
+
112,
|
| 1275 |
+
84,
|
| 1276 |
+
487,
|
| 1277 |
+
148
|
| 1278 |
+
],
|
| 1279 |
+
"page_idx": 8
|
| 1280 |
+
},
|
| 1281 |
+
{
|
| 1282 |
+
"type": "text",
|
| 1283 |
+
"text": "In the later sections, we masked out individual words to see whether a POS tagger based on BERT embeddings (fine-tuned on either 1830s or 1990s) can still tag correctly when the word is masked. We filtered for a specific type of error, where the 1830s model predicts the correct tag when the word is masked but not when it is unmasked, and where the 1990s model is correct even when the word is unmasked. This procedure identified candidates for syntactic change, examples of which we provide in Appendix B. We were also able to confirm the rise of the progressive construction.",
|
| 1284 |
+
"bbox": [
|
| 1285 |
+
115,
|
| 1286 |
+
149,
|
| 1287 |
+
489,
|
| 1288 |
+
341
|
| 1289 |
+
],
|
| 1290 |
+
"page_idx": 8
|
| 1291 |
+
},
|
| 1292 |
+
{
|
| 1293 |
+
"type": "text",
|
| 1294 |
+
"text": "An important point to highlight is that our identification of syntactic change relied on an automatic POS tagger only for the 1990s text; we avoided running any automatic tagging software on older English data. In fact, from §3 onwards, all we did with the older 1830s data was to fine-tune BERT on it in an unsupervised fashion. Despite this restriction, we were able to automatically identify words whose part of speech had undergone change between the two time periods.",
|
| 1295 |
+
"bbox": [
|
| 1296 |
+
112,
|
| 1297 |
+
342,
|
| 1298 |
+
489,
|
| 1299 |
+
502
|
| 1300 |
+
],
|
| 1301 |
+
"page_idx": 8
|
| 1302 |
+
},
|
| 1303 |
+
{
|
| 1304 |
+
"type": "text",
|
| 1305 |
+
"text": "Limitations",
|
| 1306 |
+
"text_level": 1,
|
| 1307 |
+
"bbox": [
|
| 1308 |
+
112,
|
| 1309 |
+
514,
|
| 1310 |
+
218,
|
| 1311 |
+
531
|
| 1312 |
+
],
|
| 1313 |
+
"page_idx": 8
|
| 1314 |
+
},
|
| 1315 |
+
{
|
| 1316 |
+
"type": "text",
|
| 1317 |
+
"text": "There are several limitations to this work. First, we worked only with English and only with text from the 1830s and 1990s. Our work also required the use of GPUs; see Appendix A for details of resources used. Although we were able to automatically identify specific instances of change (and we show automatically generated examples in Appendix B), our evaluation was limited to the manual judgement of one author, and we were unable to determine the recall of our detection system (because of the lack of objective criteria for what constitutes syntactic change). Additionally, our techniques are limited in the kinds of change we can detect: we focus on finding words whose typical part of speech has changed and on validating known syntactic changes such as the rise of the progressive. We hope that similar techniques can be extended to other types of syntactic change in future work.",
|
| 1318 |
+
"bbox": [
|
| 1319 |
+
112,
|
| 1320 |
+
541,
|
| 1321 |
+
489,
|
| 1322 |
+
832
|
| 1323 |
+
],
|
| 1324 |
+
"page_idx": 8
|
| 1325 |
+
},
|
| 1326 |
+
{
|
| 1327 |
+
"type": "text",
|
| 1328 |
+
"text": "Acknowledgments",
|
| 1329 |
+
"text_level": 1,
|
| 1330 |
+
"bbox": [
|
| 1331 |
+
112,
|
| 1332 |
+
845,
|
| 1333 |
+
278,
|
| 1334 |
+
860
|
| 1335 |
+
],
|
| 1336 |
+
"page_idx": 8
|
| 1337 |
+
},
|
| 1338 |
+
{
|
| 1339 |
+
"type": "text",
|
| 1340 |
+
"text": "We thank Jacob Eisenstein and the anonymous reviewers for their helpful feedback.",
|
| 1341 |
+
"bbox": [
|
| 1342 |
+
112,
|
| 1343 |
+
871,
|
| 1344 |
+
487,
|
| 1345 |
+
903
|
| 1346 |
+
],
|
| 1347 |
+
"page_idx": 8
|
| 1348 |
+
},
|
| 1349 |
+
{
|
| 1350 |
+
"type": "text",
|
| 1351 |
+
"text": "References",
|
| 1352 |
+
"text_level": 1,
|
| 1353 |
+
"bbox": [
|
| 1354 |
+
510,
|
| 1355 |
+
83,
|
| 1356 |
+
608,
|
| 1357 |
+
98
|
| 1358 |
+
],
|
| 1359 |
+
"page_idx": 8
|
| 1360 |
+
},
|
| 1361 |
+
{
|
| 1362 |
+
"type": "list",
|
| 1363 |
+
"sub_type": "ref_text",
|
| 1364 |
+
"list_items": [
|
| 1365 |
+
"Marc Alexander and Mark Davies. 2015. The Hansard Corpus 1803-2005. http://www.hansard-archive.parliament.uk/.",
|
| 1366 |
+
"Kaspar Beelen, Federico Nanni, Mariona Coll Ardanuy, Kasra Hosseini, Giorgia Tolfo, and Barbara McGillivray. 2021. When time makes sense: A historically-aware approach to targeted sense disambiguation. In Findings of ACL-IJCNLP, pages 2751-2761.",
|
| 1367 |
+
"Jacob Devlin, Ming-Wei Chang, Kenton Lee, and Kristina Toutanova. 2019. BERT: Pre-training of deep bidirectional transformers for language understanding. In *NAACL*, pages 4171–4186.",
|
| 1368 |
+
"Lauren Fonteyn. 2020. What about grammar? Using BERT embeddings to explore functional-semantic shifts of semi-lexical and grammatical constructions. Computational Humanities Research, pages 257-268.",
|
| 1369 |
+
"Mario Giulianielli, Marco Del Tredici, and Raquel Fernandez. 2020. Analysing lexical semantic change with contextualised word representations. In ACL, pages 3960-3973.",
|
| 1370 |
+
"Kristina Gulordava, Piotr Bojanowski, Edouard Grave, Tal Linzen, and Marco Baroni. 2018. Colorless green recurrent networks dream hierarchically. In *NAACL*, pages 1195–1205.",
|
| 1371 |
+
"Ashim Gupta, Giorgi Kvernadze, and Vivek Srikumar. 2021. BERT & family eat word salad: Experiments with text understanding. In AAAI, pages 12946-12954.",
|
| 1372 |
+
"Jack Hessel and Alexandra Schofield. 2021. How effective is BERT without word ordering? implications for language understanding and data privacy. In ACLIJCNLP, pages 204-211.",
|
| 1373 |
+
"John Hewitt and Christopher D. Manning. 2019. A structural probe for finding syntax in word representations. In *NAACL*, pages 4129-4138.",
|
| 1374 |
+
"Liwen Hou. 2022. Detecting and Modeling Syntactic Change. Ph.D. thesis, Northeastern University.",
|
| 1375 |
+
"Liwen Hou and David A Smith. 2018. Modeling the decline in English passivization. In SCiL, pages 34-43.",
|
| 1376 |
+
"Liwen Hou and David A. Smith. 2021. Drivers of English syntactic change in the Canadian parliament. In *SCiL*, pages 51–60.",
|
| 1377 |
+
"Renfen Hu, Shen Li, and Shichen Liang. 2019. Diachronic sense modeling with deep contextualized word embeddings: An ecological view. In ACL, pages 3899-3908.",
|
| 1378 |
+
"Ganesh Jawahar, Benoit Sagot, and Djamé Seddah. 2019. What does BERT learn about the structure of language? In ACL, pages 3651-3657."
|
| 1379 |
+
],
|
| 1380 |
+
"bbox": [
|
| 1381 |
+
509,
|
| 1382 |
+
105,
|
| 1383 |
+
885,
|
| 1384 |
+
919
|
| 1385 |
+
],
|
| 1386 |
+
"page_idx": 8
|
| 1387 |
+
},
|
| 1388 |
+
{
|
| 1389 |
+
"type": "page_number",
|
| 1390 |
+
"text": "3572",
|
| 1391 |
+
"bbox": [
|
| 1392 |
+
480,
|
| 1393 |
+
927,
|
| 1394 |
+
521,
|
| 1395 |
+
940
|
| 1396 |
+
],
|
| 1397 |
+
"page_idx": 8
|
| 1398 |
+
},
|
| 1399 |
+
{
|
| 1400 |
+
"type": "list",
|
| 1401 |
+
"sub_type": "ref_text",
|
| 1402 |
+
"list_items": [
|
| 1403 |
+
"Geoffrey Leech, Marianne Hundt, Christian Mair, and Nicholas Smith. 2009. Change in Contemporary English: A Grammatical Study. Studies in English Language. Cambridge University Press.",
|
| 1404 |
+
"Lei Lei and Ju Wen. 2020. Is dependency distance experiencing a process of minimization? A diachronic study based on the State of the Union addresses. *Lingua*, 239:102762.",
|
| 1405 |
+
"Christopher D. Manning, Mihai Surdeanu, John Bauer, Jenny Finkel, Steven J. Bethard, and David McClosky. 2014. The Stanford CoreNLP natural language processing toolkit. In ACL System Demonstrations, pages 55-60.",
|
| 1406 |
+
"William Merrill, Gigi Stark, and Robert Frank. 2019. Detecting syntactic change using a neural part-of-speech tagger. In International Workshop on Computational Approaches to Historical Language Change, pages 167-174.",
|
| 1407 |
+
"Minh Van Nguyen, Viet Dac Lai, Amir Pouran Ben Veyseh, and Thien Huu Nguyen. 2021. Trankit: A lightweight transformer-based toolkit for multilingual natural language processing. In EACL System Demonstrations, pages 80-90.",
|
| 1408 |
+
"Isabel Papadimitriou, Richard Futrell, and Kyle Mahowald. 2022. When classifying grammatical role, BERT doesn't care about word order... except when it matters. In ACL, pages 636-643.",
|
| 1409 |
+
"Adam Paszke, Sam Gross, Francisco Massa, Adam Lerer, James Bradbury, Gregory Chanan, Trevor Killeen, Zeming Lin, Natalia Gimelshein, Luca Antiga, Alban Desmaison, Andreas Kopf, Edward Yang, Zachary DeVito, Martin Raison, Alykhan Tejani, Sasank Chilamkurthy, Benoit Steiner, Lu Fang, Junjie Bai, and Soumith Chintala. 2019. PyTorch: An imperative style, high-performance deep learning library. In NeurIPS, pages 8024-8035.",
|
| 1410 |
+
"Thang Pham, Trung Bui, Long Mai, and Anh Nguyen. 2021. Out of order: How important is the sequential order of words in a sentence in natural language understanding tasks? In Findings of ACL-IJCNLP, pages 1145-1160.",
|
| 1411 |
+
"Tiago Pimentel, Josef Valvoda, Rowan Hall Maudslay, Ran Zmigrod, Adina Williams, and Ryan Cotterell. 2020. Information-theoretic probing for linguistic structure. In ACL, pages 4609-4622.",
|
| 1412 |
+
"Koustuv Sinha, Robin Jia, Dieuwke Hupkes, Joelle Pineau, Adina Williams, and Douwe Kiela. 2021a. Masked language modeling and the distributional hypothesis: Order word matters pre-training for little. In EMNLP, pages 2888-2913.",
|
| 1413 |
+
"Koustuv Sinha, Prasanna Parthasarathi, Joelle Pineau, and Adina Williams. 2021b. UnNatural Language Inference. In ACL-IJCNLP, pages 7329-7346.",
|
| 1414 |
+
"Ian Tenney, Dipanjan Das, and Ellie Pavlick. 2019. BERT rediscovers the classical NLP pipeline. In ACL, pages 4593-4601."
|
| 1415 |
+
],
|
| 1416 |
+
"bbox": [
|
| 1417 |
+
115,
|
| 1418 |
+
85,
|
| 1419 |
+
487,
|
| 1420 |
+
917
|
| 1421 |
+
],
|
| 1422 |
+
"page_idx": 9
|
| 1423 |
+
},
|
| 1424 |
+
{
|
| 1425 |
+
"type": "ref_text",
|
| 1426 |
+
"text": "Thomas Wolf, Lysandre Debut, Victor Sanh, Julien Chaumond, Clement Delangue, Anthony Moi, Pierric Cistac, Tim Rault, Remi Louf, Morgan Funtowicz, Joe Davison, Sam Shleifer, Patrick von Platen, Clara Ma, Yacine Jernite, Julien Plu, Canwen Xu, Teven Le Scao, Sylvain Gugger, Mariama Drame, Quentin Lhoest, and Alexander Rush. 2020. Transformers: State-of-the-art natural language processing. In EMNLP System Demonstrations, pages 38-45.",
|
| 1427 |
+
"bbox": [
|
| 1428 |
+
510,
|
| 1429 |
+
85,
|
| 1430 |
+
882,
|
| 1431 |
+
203
|
| 1432 |
+
],
|
| 1433 |
+
"page_idx": 9
|
| 1434 |
+
},
|
| 1435 |
+
{
|
| 1436 |
+
"type": "text",
|
| 1437 |
+
"text": "A Resources Used",
|
| 1438 |
+
"text_level": 1,
|
| 1439 |
+
"bbox": [
|
| 1440 |
+
510,
|
| 1441 |
+
214,
|
| 1442 |
+
682,
|
| 1443 |
+
228
|
| 1444 |
+
],
|
| 1445 |
+
"page_idx": 9
|
| 1446 |
+
},
|
| 1447 |
+
{
|
| 1448 |
+
"type": "text",
|
| 1449 |
+
"text": "In this work, we mentioned and used the following licensed resources: BERT (Devlin et al., 2019), which uses Apache 2.0 license; UK Parliament Hansard Corpus (Alexander and Davies, 2015), which uses Open Parliament Licence; Trankit large version 1.1.0 (Nguyen et al., 2021), which uses Apache 2.0 license; and Stanford CoreNLP version 4.2.2 (Manning et al., 2014), which uses the GNU General Public License v3.0. All of these licenses allow the type of research conducted in our work. Moreover, our work falls within the intended use of each of these resources.",
|
| 1450 |
+
"bbox": [
|
| 1451 |
+
507,
|
| 1452 |
+
239,
|
| 1453 |
+
882,
|
| 1454 |
+
430
|
| 1455 |
+
],
|
| 1456 |
+
"page_idx": 9
|
| 1457 |
+
},
|
| 1458 |
+
{
|
| 1459 |
+
"type": "text",
|
| 1460 |
+
"text": "Our work required GPU computation. We used NVIDIA Tesla V100 and P100 GPUs over several months while working on the results of this paper. Running Trankit was the slowest step and took around 72 GPU hours; the total GPU time to reproduce our final results would be under a week.",
|
| 1461 |
+
"bbox": [
|
| 1462 |
+
507,
|
| 1463 |
+
432,
|
| 1464 |
+
882,
|
| 1465 |
+
527
|
| 1466 |
+
],
|
| 1467 |
+
"page_idx": 9
|
| 1468 |
+
},
|
| 1469 |
+
{
|
| 1470 |
+
"type": "text",
|
| 1471 |
+
"text": "B Automatically Identified Words",
|
| 1472 |
+
"text_level": 1,
|
| 1473 |
+
"bbox": [
|
| 1474 |
+
509,
|
| 1475 |
+
539,
|
| 1476 |
+
816,
|
| 1477 |
+
555
|
| 1478 |
+
],
|
| 1479 |
+
"page_idx": 9
|
| 1480 |
+
},
|
| 1481 |
+
{
|
| 1482 |
+
"type": "text",
|
| 1483 |
+
"text": "Table 2 shows the top of the list of automatically identified words whose part-of-speech usage may have changed; a longer list can be found in Appendix A of the first author's thesis (Hou, 2022). For each word, we give an example sentence from the 1990s on which the 1830s model was \"confused\". For each example sentence, we give the Trankit tag and two sets of probabilistic tag predictions given by the 1830s model; one set corresponds to the tags predicted by the 1830s model for the highlighted word when the word was masked, and the other set corresponds to the tags predicted by the 1830s model for the highlighted word when the word was unmasked. (For brevity, we only list the tag predictions to which the model assigns at least $30\\%$ probability.) An arrow such as 'JJ $\\rightarrow$ Noun' indicates that the correct tag in the 1990s was 'Noun' but that the unmasked 1830s model put a high weight on 'JJ' instead; this suggests the word changed from 'JJ' in the 1830s to 'Noun' in the 1990s. (Recall that all POS tags for nouns were merged into a single 'Noun' category.)",
|
| 1484 |
+
"bbox": [
|
| 1485 |
+
507,
|
| 1486 |
+
565,
|
| 1487 |
+
882,
|
| 1488 |
+
917
|
| 1489 |
+
],
|
| 1490 |
+
"page_idx": 9
|
| 1491 |
+
},
|
| 1492 |
+
{
|
| 1493 |
+
"type": "page_number",
|
| 1494 |
+
"text": "3573",
|
| 1495 |
+
"bbox": [
|
| 1496 |
+
480,
|
| 1497 |
+
927,
|
| 1498 |
+
519,
|
| 1499 |
+
940
|
| 1500 |
+
],
|
| 1501 |
+
"page_idx": 9
|
| 1502 |
+
},
|
| 1503 |
+
{
|
| 1504 |
+
"type": "table",
|
| 1505 |
+
"img_path": "images/458e61b411ddf01828f69463869fa73eba1c8a66bbeb4709ffab62ba8b18addc.jpg",
|
| 1506 |
+
"table_caption": [],
|
| 1507 |
+
"table_footnote": [],
|
| 1508 |
+
"table_body": "<table><tr><td rowspan=\"2\">opposite\nJJ→Noun</td><td colspan=\"3\">“The mandatory life sentence does the opposite of what it sets out to achieve, and it should go.”</td></tr><tr><td>Trankit: Noun</td><td>masked tag: 84% Noun</td><td>unmasked tag: 93% JJ</td></tr><tr><td rowspan=\"2\">presume\nVB→VBP</td><td colspan=\"3\">“I presume that that shows they will be on message until they die.”</td></tr><tr><td>Trankit: VBP</td><td>masked tag: 98% VBP</td><td>unmasked tag: 38% VB, 32% VBP</td></tr><tr><td rowspan=\"2\">corporal\nNoun→JJ</td><td colspan=\"3\">“The school board wrote to me on 29 October advocating the reintroduction of corporal punishment in schools as a deterrent of last resort.”</td></tr><tr><td>Trankit: JJ</td><td>masked tag: 74% JJ</td><td>unmasked tag: 95% Noun</td></tr><tr><td rowspan=\"2\">intrepid\nJJ→Noun</td><td colspan=\"3\">“The second category are the Royal Marine's principal transport and landing ships, Fearless and Intrepid.”</td></tr><tr><td>Trankit: Noun</td><td>masked tag: 64% Noun</td><td>unmasked tag: 97% JJ</td></tr><tr><td rowspan=\"2\">evil\nNoun→JJ</td><td colspan=\"3\">“The gunmen, in the evil atrocity that they committed, symbolised the past.”</td></tr><tr><td>Trankit: JJ</td><td>masked tag: 82% JJ</td><td>unmasked tag: 99% Noun</td></tr><tr><td rowspan=\"2\">remembered\nJJ→VBN</td><td colspan=\"3\">“It should be remembered that, during the period 1974 – 79, when he was a senior Cabinet Minister, the steel industry was inefficient and unprofitable.”</td></tr><tr><td>Trankit: VBN</td><td>masked tag: 86% VBN</td><td>unmasked tag: 64% JJ, 36% VBN</td></tr><tr><td rowspan=\"2\">shut\nVBD→VBN</td><td colspan=\"3\">“My second charge is that the Prime Minister has consistently talked about the incentive society with open opportunities for all, yet her policies have effectively shut out a quarter of the nation.”</td></tr><tr><td>Trankit: VBN</td><td>masked tag: 97% VBN</td><td>unmasked tag: 86% VBD</td></tr><tr><td rowspan=\"2\">offending\nJJ→Noun</td><td colspan=\"3\">“I can vouch for the fact that juvenile offending is a major problem in my constituency.”</td></tr><tr><td>Trankit: Noun</td><td>masked tag: 98% Noun</td><td>unmasked tag: 58% JJ</td></tr><tr><td rowspan=\"2\">granting\nVBG→Noun</td><td colspan=\"3\">“In most normal cases there will be the usual opportunity for consultation and granting of opinion from the local community.”</td></tr><tr><td>Trankit: Noun</td><td>masked tag: 99% Noun</td><td>unmasked tag: 98% VBG</td></tr><tr><td rowspan=\"2\">disposed\nNoun→VBN</td><td colspan=\"3\">“Mr. Streeter: To ask the Secretary of State for Defence what Ministry of Defence land and buildings in Plymouth he expects to be surplus to MOD requirement in the next five years and to be disposed of to the private sector.”</td></tr><tr><td>Trankit: VBN</td><td>masked tag: 87% VBN</td><td>unmasked tag: 48% Noun, 31% VBN</td></tr><tr><td rowspan=\"2\">exciting\nVBG→JJ</td><td colspan=\"3\">“We should also encourage housing associations to feel the exciting and exhilarating wind of competition.”</td></tr><tr><td>Trankit: JJ</td><td>masked tag: 99% JJ</td><td>unmasked tag: 94% VBG</td></tr><tr><td rowspan=\"2\">laying\nVBG→Noun</td><td colspan=\"3\">“More significant orders, especially those exercising the so-called Henry VIII powers, are to be subject to laying in draft and affirmative resolution.”</td></tr><tr><td>Trankit: Noun</td><td>masked tag: 98% Noun</td><td>unmasked tag: 98% VBG</td></tr><tr><td rowspan=\"2\">notwithstanding\nVBG→IN</td><td colspan=\"3\">"Notwithstanding signal failures and operational difficulties, I look forward to using that fast service.”</td></tr><tr><td>Trankit: IN</td><td>masked tag: 84% IN</td><td>unmasked tag: 86% VBG</td></tr></table>",
|
| 1509 |
+
"bbox": [
|
| 1510 |
+
117,
|
| 1511 |
+
166,
|
| 1512 |
+
878,
|
| 1513 |
+
804
|
| 1514 |
+
],
|
| 1515 |
+
"page_idx": 10
|
| 1516 |
+
},
|
| 1517 |
+
{
|
| 1518 |
+
"type": "text",
|
| 1519 |
+
"text": "Table 2: Automatically identified words whose part-of-speech usage may have changed",
|
| 1520 |
+
"bbox": [
|
| 1521 |
+
201,
|
| 1522 |
+
814,
|
| 1523 |
+
794,
|
| 1524 |
+
829
|
| 1525 |
+
],
|
| 1526 |
+
"page_idx": 10
|
| 1527 |
+
},
|
| 1528 |
+
{
|
| 1529 |
+
"type": "page_number",
|
| 1530 |
+
"text": "3574",
|
| 1531 |
+
"bbox": [
|
| 1532 |
+
480,
|
| 1533 |
+
928,
|
| 1534 |
+
521,
|
| 1535 |
+
940
|
| 1536 |
+
],
|
| 1537 |
+
"page_idx": 10
|
| 1538 |
+
}
|
| 1539 |
+
]
|
2023/Detecting Syntactic Change with Pre-trained Transformer Models/5f1aa19b-edb6-4425-a7bb-8580ef6a41b6_model.json
ADDED
|
@@ -0,0 +1,1839 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[
|
| 2 |
+
[
|
| 3 |
+
{
|
| 4 |
+
"type": "title",
|
| 5 |
+
"bbox": [
|
| 6 |
+
0.157,
|
| 7 |
+
0.09,
|
| 8 |
+
0.843,
|
| 9 |
+
0.112
|
| 10 |
+
],
|
| 11 |
+
"angle": 0,
|
| 12 |
+
"content": "Detecting Syntactic Change with Pre-trained Transformer Models"
|
| 13 |
+
},
|
| 14 |
+
{
|
| 15 |
+
"type": "text",
|
| 16 |
+
"bbox": [
|
| 17 |
+
0.212,
|
| 18 |
+
0.143,
|
| 19 |
+
0.458,
|
| 20 |
+
0.193
|
| 21 |
+
],
|
| 22 |
+
"angle": 0,
|
| 23 |
+
"content": "Liwen Hou \nHarvard University \nliwenhou@fas.harvard.edu"
|
| 24 |
+
},
|
| 25 |
+
{
|
| 26 |
+
"type": "text",
|
| 27 |
+
"bbox": [
|
| 28 |
+
0.567,
|
| 29 |
+
0.143,
|
| 30 |
+
0.765,
|
| 31 |
+
0.193
|
| 32 |
+
],
|
| 33 |
+
"angle": 0,
|
| 34 |
+
"content": "David A. Smith Northeastern University dasmith@ccs.neu.edu"
|
| 35 |
+
},
|
| 36 |
+
{
|
| 37 |
+
"type": "title",
|
| 38 |
+
"bbox": [
|
| 39 |
+
0.261,
|
| 40 |
+
0.253,
|
| 41 |
+
0.341,
|
| 42 |
+
0.269
|
| 43 |
+
],
|
| 44 |
+
"angle": 0,
|
| 45 |
+
"content": "Abstract"
|
| 46 |
+
},
|
| 47 |
+
{
|
| 48 |
+
"type": "text",
|
| 49 |
+
"bbox": [
|
| 50 |
+
0.144,
|
| 51 |
+
0.284,
|
| 52 |
+
0.461,
|
| 53 |
+
0.668
|
| 54 |
+
],
|
| 55 |
+
"angle": 0,
|
| 56 |
+
"content": "We investigate the ability of Transformer-based language models to find syntactic differences between the English of the early 1800s and that of the late 1900s. First, we show that a fine-tuned BERT model can distinguish between text from these two periods using syntactic information only; to show this, we employ a strategy to hide semantic information from the text. Second, we make further use of fine-tuned BERT models to identify specific instances of syntactic change and specific words for which a new part of speech was introduced. To do this, we employ a part-of-speech (POS) tagger and use it to train corpora-specific taggers based only on BERT representations pretrained on different corpora. Notably, our methods of identifying specific candidates for syntactic change avoid using any automatic POS tagger on old text, where its performance may be unreliable; instead, our methods only use untagged old text together with tagged modern text. We examine samples and distributional properties of the model output to validate automatically identified cases of syntactic change. Finally, we use our techniques to confirm the historical rise of the progressive construction, a known example of syntactic change."
|
| 57 |
+
},
|
| 58 |
+
{
|
| 59 |
+
"type": "title",
|
| 60 |
+
"bbox": [
|
| 61 |
+
0.115,
|
| 62 |
+
0.683,
|
| 63 |
+
0.262,
|
| 64 |
+
0.699
|
| 65 |
+
],
|
| 66 |
+
"angle": 0,
|
| 67 |
+
"content": "1 Introduction"
|
| 68 |
+
},
|
| 69 |
+
{
|
| 70 |
+
"type": "text",
|
| 71 |
+
"bbox": [
|
| 72 |
+
0.113,
|
| 73 |
+
0.71,
|
| 74 |
+
0.491,
|
| 75 |
+
0.92
|
| 76 |
+
],
|
| 77 |
+
"angle": 0,
|
| 78 |
+
"content": "Many researchers have taken advantage of the availability of pre-trained language models to study semantic change (e.g., Giulianelli et al., 2020; Hu et al., 2019; Fonteyn, 2020), but computational studies of syntactic change are more sporadic, relying on specially trained models (Merrill et al., 2019). In this paper, we investigate the extent to which BERT (Devlin et al., 2019) is able to distinguish between the syntax of English from the early 1800s and that of the late 1900s. To do so, we use the British Hansard corpus, which consists of a digitized version of the U.K. Parliamentary debates starting in the early 1800s and spanning"
|
| 79 |
+
},
|
| 80 |
+
{
|
| 81 |
+
"type": "text",
|
| 82 |
+
"bbox": [
|
| 83 |
+
0.508,
|
| 84 |
+
0.254,
|
| 85 |
+
0.885,
|
| 86 |
+
0.316
|
| 87 |
+
],
|
| 88 |
+
"angle": 0,
|
| 89 |
+
"content": "across two centuries. We isolate all of the parliamentary debates from the 1830s and the 1990s.<sup>1</sup> These debates can be found on the U.K. Parliament Website's Hansard archive<sup>2</sup>."
|
| 90 |
+
},
|
| 91 |
+
{
|
| 92 |
+
"type": "text",
|
| 93 |
+
"bbox": [
|
| 94 |
+
0.508,
|
| 95 |
+
0.319,
|
| 96 |
+
0.885,
|
| 97 |
+
0.415
|
| 98 |
+
],
|
| 99 |
+
"angle": 0,
|
| 100 |
+
"content": "We fine-tune BERT-base-uncased, which has around 110 million parameters and was pre-trained on approximately 3.3 billion words. When training or testing BERT on a sentence, we first tokenize it using the original BERT-base-uncased tokenizer, as implemented by Hugging Face (Wolf et al., 2020)."
|
| 101 |
+
},
|
| 102 |
+
{
|
| 103 |
+
"type": "text",
|
| 104 |
+
"bbox": [
|
| 105 |
+
0.508,
|
| 106 |
+
0.417,
|
| 107 |
+
0.884,
|
| 108 |
+
0.512
|
| 109 |
+
],
|
| 110 |
+
"angle": 0,
|
| 111 |
+
"content": "We focus on two questions: First, to what extent can BERT distinguish text from different time periods on the basis of syntactic features alone? Second, can we use BERT to help identify words or sentences whose analysis reflects syntactic change in an unsupervised way?"
|
| 112 |
+
},
|
| 113 |
+
{
|
| 114 |
+
"type": "text",
|
| 115 |
+
"bbox": [
|
| 116 |
+
0.508,
|
| 117 |
+
0.514,
|
| 118 |
+
0.884,
|
| 119 |
+
0.625
|
| 120 |
+
],
|
| 121 |
+
"angle": 0,
|
| 122 |
+
"content": "In §2, we find evidence that BERT can be used to detect syntactic differences between the English of the 1830s and that of the 1990s. Specifically, even after we control for confounders, a fine-tuned BERT model can still distinguish between these two periods even when the semantic information is hidden."
|
| 123 |
+
},
|
| 124 |
+
{
|
| 125 |
+
"type": "text",
|
| 126 |
+
"bbox": [
|
| 127 |
+
0.508,
|
| 128 |
+
0.627,
|
| 129 |
+
0.885,
|
| 130 |
+
0.869
|
| 131 |
+
],
|
| 132 |
+
"angle": 0,
|
| 133 |
+
"content": "In §3, we describe how we train classifiers that can assign POS tags to words based on a 1830s and a 1990s understanding of English, respectively. Our main contribution comes in §4, where we use these classifiers to identify words whose analysis reflects syntactic change. Our method can automatically find words whose part of speech has changed. Moreover, our method avoids running a POS tagger on old text, since automatic tagging may be unreliable in that scenario. We emphasize that our change-detection techniques work with no manual annotation and identify examples of language change without any manual filtering; see Appendix B for a list of the top automatically detected words whose part of speech has changed."
|
| 134 |
+
},
|
| 135 |
+
{
|
| 136 |
+
"type": "page_footnote",
|
| 137 |
+
"bbox": [
|
| 138 |
+
0.508,
|
| 139 |
+
0.88,
|
| 140 |
+
0.883,
|
| 141 |
+
0.918
|
| 142 |
+
],
|
| 143 |
+
"angle": 0,
|
| 144 |
+
"content": "<sup>1</sup>We chose these decades because they were the earliest and latest decade with large amounts of data in every year. <sup>2</sup>https://www.hansard-archive.parliament.uk/"
|
| 145 |
+
},
|
| 146 |
+
{
|
| 147 |
+
"type": "page_number",
|
| 148 |
+
"bbox": [
|
| 149 |
+
0.481,
|
| 150 |
+
0.928,
|
| 151 |
+
0.521,
|
| 152 |
+
0.941
|
| 153 |
+
],
|
| 154 |
+
"angle": 0,
|
| 155 |
+
"content": "3564"
|
| 156 |
+
},
|
| 157 |
+
{
|
| 158 |
+
"type": "footer",
|
| 159 |
+
"bbox": [
|
| 160 |
+
0.218,
|
| 161 |
+
0.946,
|
| 162 |
+
0.78,
|
| 163 |
+
0.973
|
| 164 |
+
],
|
| 165 |
+
"angle": 0,
|
| 166 |
+
"content": "Findings of the Association for Computational Linguistics: EMNLP 2023, pages 3564-3574 December 6-10, 2023 ©2023 Association for Computational Linguistics"
|
| 167 |
+
}
|
| 168 |
+
],
|
| 169 |
+
[
|
| 170 |
+
{
|
| 171 |
+
"type": "text",
|
| 172 |
+
"bbox": [
|
| 173 |
+
0.113,
|
| 174 |
+
0.085,
|
| 175 |
+
0.488,
|
| 176 |
+
0.131
|
| 177 |
+
],
|
| 178 |
+
"angle": 0,
|
| 179 |
+
"content": "To the best of our knowledge, such unsupervised syntactic change detection has not been previously done."
|
| 180 |
+
},
|
| 181 |
+
{
|
| 182 |
+
"type": "text",
|
| 183 |
+
"bbox": [
|
| 184 |
+
0.114,
|
| 185 |
+
0.134,
|
| 186 |
+
0.49,
|
| 187 |
+
0.23
|
| 188 |
+
],
|
| 189 |
+
"angle": 0,
|
| 190 |
+
"content": "Finally, we confirm a known change (an increase in the frequency of progressives) using our classifiers. We show that a BERT model fine-tuned on text from the 1830s displays a poorer understanding of the progressive construction compared to a similar model trained on text from the 1990s."
|
| 191 |
+
},
|
| 192 |
+
{
|
| 193 |
+
"type": "title",
|
| 194 |
+
"bbox": [
|
| 195 |
+
0.114,
|
| 196 |
+
0.243,
|
| 197 |
+
0.444,
|
| 198 |
+
0.276
|
| 199 |
+
],
|
| 200 |
+
"angle": 0,
|
| 201 |
+
"content": "2 Detecting Syntactic Change While Masking Semantics"
|
| 202 |
+
},
|
| 203 |
+
{
|
| 204 |
+
"type": "text",
|
| 205 |
+
"bbox": [
|
| 206 |
+
0.113,
|
| 207 |
+
0.286,
|
| 208 |
+
0.489,
|
| 209 |
+
0.366
|
| 210 |
+
],
|
| 211 |
+
"angle": 0,
|
| 212 |
+
"content": "In this section, we check the extent to which BERT is sensitive to changes in the syntax of English over time. This acts as a sanity check for later sections, in which we use BERT in a different way to identify specific instances of syntactic change."
|
| 213 |
+
},
|
| 214 |
+
{
|
| 215 |
+
"type": "text",
|
| 216 |
+
"bbox": [
|
| 217 |
+
0.113,
|
| 218 |
+
0.367,
|
| 219 |
+
0.489,
|
| 220 |
+
0.478
|
| 221 |
+
],
|
| 222 |
+
"angle": 0,
|
| 223 |
+
"content": "We start by fine-tuning BERT-base-uncased on the classification task of predicting whether sentences come from the 1830s or the 1990s. To do so, we use the representation of the CLS token in the last layer of BERT and add a linear layer to it; this model is then fine-tuned using labeled sentences from the 1830s and the 1990s."
|
| 224 |
+
},
|
| 225 |
+
{
|
| 226 |
+
"type": "text",
|
| 227 |
+
"bbox": [
|
| 228 |
+
0.113,
|
| 229 |
+
0.481,
|
| 230 |
+
0.489,
|
| 231 |
+
0.592
|
| 232 |
+
],
|
| 233 |
+
"angle": 0,
|
| 234 |
+
"content": "After we fine-tune it on 100,000 sentences per time period, the BERT model achieves \\(98.6\\%\\) accuracy; however, it may use semantic information to distinguish between text from the two time periods, and we want to limit ourselves to syntactic information only in order to check the extent to which BERT can detect syntactic change over time."
|
| 235 |
+
},
|
| 236 |
+
{
|
| 237 |
+
"type": "text",
|
| 238 |
+
"bbox": [
|
| 239 |
+
0.113,
|
| 240 |
+
0.594,
|
| 241 |
+
0.489,
|
| 242 |
+
0.753
|
| 243 |
+
],
|
| 244 |
+
"angle": 0,
|
| 245 |
+
"content": "To make BERT use syntactic information only, we mask semantic information by replacing all the open class words in each sentence with their POS tags, obtained using Stanford CoreNLP (Manning et al., 2014). In order to leverage BERT's pretrained knowledge of English, we then replace each POS tag with a common English word that usually has that tag (in a similar vein to Gulordava et al., 2018); this way, the input to BERT looks more like \"colorless green ideas\" and not \"JJ JJ NNS\"."
|
| 246 |
+
},
|
| 247 |
+
{
|
| 248 |
+
"type": "text",
|
| 249 |
+
"bbox": [
|
| 250 |
+
0.113,
|
| 251 |
+
0.755,
|
| 252 |
+
0.489,
|
| 253 |
+
0.883
|
| 254 |
+
],
|
| 255 |
+
"angle": 0,
|
| 256 |
+
"content": "After replacing words (other than forms of \"to be\" and \"to have\", prepositions, and determiners) with POS tags and after replacing each POS tag with a representative word for that part of speech, we fine-tune BERT (with the added layer described above) on the resulting data. The BERT model performs surprisingly well on this classification task, achieving over \\(90\\%\\) accuracy for the task of pre"
|
| 257 |
+
},
|
| 258 |
+
{
|
| 259 |
+
"type": "text",
|
| 260 |
+
"bbox": [
|
| 261 |
+
0.508,
|
| 262 |
+
0.085,
|
| 263 |
+
0.883,
|
| 264 |
+
0.213
|
| 265 |
+
],
|
| 266 |
+
"angle": 0,
|
| 267 |
+
"content": "dicting whether a sentence comes from the 1830s or the 1990s. However, there are still several ways for such a model to use non-syntactic information. First, the model may use sentence lengths, since the distribution of the sentence lengths is different for the 1830s than for the 1990s. Second, the BERT model may simply be using the counts of the POS tags rather than real syntactic information."
|
| 268 |
+
},
|
| 269 |
+
{
|
| 270 |
+
"type": "text",
|
| 271 |
+
"bbox": [
|
| 272 |
+
0.508,
|
| 273 |
+
0.214,
|
| 274 |
+
0.884,
|
| 275 |
+
0.421
|
| 276 |
+
],
|
| 277 |
+
"angle": 0,
|
| 278 |
+
"content": "To mitigate the length confounder, we place restrictions on the lengths of our training sentences. We run experiments separately for the length bins 11-15 words, 21-25 words, 31-35 words, and 20 words. To check the extent to which BERT relies on syntactic information other than the counts of tags, we separately train a model on shuffled input data, in which the sequence of tags in the sentence appears out of order. Such shuffled data retains no information other than the tag counts; we then compare whether BERT trained on unshuffled data can outperform BERT trained on shuffled data. The results are summarized in Table 1."
|
| 279 |
+
},
|
| 280 |
+
{
|
| 281 |
+
"type": "text",
|
| 282 |
+
"bbox": [
|
| 283 |
+
0.508,
|
| 284 |
+
0.424,
|
| 285 |
+
0.883,
|
| 286 |
+
0.599
|
| 287 |
+
],
|
| 288 |
+
"angle": 0,
|
| 289 |
+
"content": "We compare these results to a logistic regression model that takes in the frequencies for the 100 most common vocabulary items in the replaced corpus\\(^{4}\\) (plus a catch-all category for the remaining items) and the sentence length as features. Such a logistic regression model achieves an accuracy of \\(85.45\\%\\), which means it performs about as well as BERT fine-tuned on shuffled tags but loses to BERT when the latter is fine-tuned on unshuffled tags. Using sentence length as the only feature yields an accuracy of \\(60.33\\%\\)."
|
| 290 |
+
},
|
| 291 |
+
{
|
| 292 |
+
"type": "text",
|
| 293 |
+
"bbox": [
|
| 294 |
+
0.508,
|
| 295 |
+
0.6,
|
| 296 |
+
0.883,
|
| 297 |
+
0.809
|
| 298 |
+
],
|
| 299 |
+
"angle": 0,
|
| 300 |
+
"content": "The conclusion of this experiment is that the fine-tuned BERT model must be using syntactic information to tell apart sentences from the 1830s and the 1990s. Indeed, even when the length of the sentence is fixed, and even when the words have been replaced by their parts of speech, the model gains advantage from seeing the true order of the tags as they appeared in the sentence, instead of seeing shuffled tags. This advantage must fundamentally come from differences in syntax that are present between the 1830s and 1990s sentences (and moreover, these differences must take a form that is not simply tag counts)."
|
| 301 |
+
},
|
| 302 |
+
{
|
| 303 |
+
"type": "text",
|
| 304 |
+
"bbox": [
|
| 305 |
+
0.508,
|
| 306 |
+
0.81,
|
| 307 |
+
0.883,
|
| 308 |
+
0.873
|
| 309 |
+
],
|
| 310 |
+
"angle": 0,
|
| 311 |
+
"content": "Having established that BERT is sensitive to changes in the syntax of English, we next train BERT in a different way to identify specific instances of such change. Importantly, from here on"
|
| 312 |
+
},
|
| 313 |
+
{
|
| 314 |
+
"type": "page_footnote",
|
| 315 |
+
"bbox": [
|
| 316 |
+
0.508,
|
| 317 |
+
0.881,
|
| 318 |
+
0.883,
|
| 319 |
+
0.918
|
| 320 |
+
],
|
| 321 |
+
"angle": 0,
|
| 322 |
+
"content": "4 In addition to the typical words that represent different parts of speech, this replaced corpus also contains prepositions, determiners, and forms of \"to be\" and \"to have\"."
|
| 323 |
+
},
|
| 324 |
+
{
|
| 325 |
+
"type": "page_footnote",
|
| 326 |
+
"bbox": [
|
| 327 |
+
0.114,
|
| 328 |
+
0.893,
|
| 329 |
+
0.488,
|
| 330 |
+
0.918
|
| 331 |
+
],
|
| 332 |
+
"angle": 0,
|
| 333 |
+
"content": "3The code for our experiments is available here: https://github.com/houliwen/detecting-syntactic-change"
|
| 334 |
+
},
|
| 335 |
+
{
|
| 336 |
+
"type": "page_number",
|
| 337 |
+
"bbox": [
|
| 338 |
+
0.481,
|
| 339 |
+
0.929,
|
| 340 |
+
0.521,
|
| 341 |
+
0.941
|
| 342 |
+
],
|
| 343 |
+
"angle": 0,
|
| 344 |
+
"content": "3565"
|
| 345 |
+
}
|
| 346 |
+
],
|
| 347 |
+
[
|
| 348 |
+
{
|
| 349 |
+
"type": "table",
|
| 350 |
+
"bbox": [
|
| 351 |
+
0.117,
|
| 352 |
+
0.082,
|
| 353 |
+
0.486,
|
| 354 |
+
0.158
|
| 355 |
+
],
|
| 356 |
+
"angle": 0,
|
| 357 |
+
"content": "<table><tr><td>sent.\nlength</td><td>shuffled\nplaced</td><td>unshuffled\nplaced</td><td>shuffled\nplain</td><td>unshuffled\nplain</td></tr><tr><td>11-15</td><td>83.37</td><td>87.74</td><td>94.70</td><td>96.69</td></tr><tr><td>21-25</td><td>86.44</td><td>90.54</td><td>97.39</td><td>98.63</td></tr><tr><td>31-35</td><td>89.37</td><td>93.12</td><td>98.20</td><td>98.90</td></tr><tr><td>20</td><td>85.20</td><td>89.30</td><td>96.60</td><td>97.40</td></tr></table>"
|
| 358 |
+
},
|
| 359 |
+
{
|
| 360 |
+
"type": "table_caption",
|
| 361 |
+
"bbox": [
|
| 362 |
+
0.113,
|
| 363 |
+
0.168,
|
| 364 |
+
0.49,
|
| 365 |
+
0.34
|
| 366 |
+
],
|
| 367 |
+
"angle": 0,
|
| 368 |
+
"content": "Table 1: Accuracy of BERT fine-tuned on different types of data for predicting time period. All models were trained on 20,000 sentences and tested on 2,000 (half from the 1830s and half from the 1990s); the exception was the last line, for which only 10,000 training sentences were used due to lack of data. Since test data contained an even mixture of 1830s and 1990s sentences, baseline accuracy is \\(50\\%\\). These numbers are based on a single run; however, note that an accuracy of \\(p\\) will have standard deviation around \\(\\sqrt{p(1 - p) / 2000}\\), which ranges from \\(0.23\\%\\) to \\(0.83\\%\\) for the above, with higher accuracies having lower standard deviations."
|
| 369 |
+
},
|
| 370 |
+
{
|
| 371 |
+
"type": "text",
|
| 372 |
+
"bbox": [
|
| 373 |
+
0.114,
|
| 374 |
+
0.365,
|
| 375 |
+
0.489,
|
| 376 |
+
0.382
|
| 377 |
+
],
|
| 378 |
+
"angle": 0,
|
| 379 |
+
"content": "out, we avoid using a POS tagger on older English."
|
| 380 |
+
},
|
| 381 |
+
{
|
| 382 |
+
"type": "title",
|
| 383 |
+
"bbox": [
|
| 384 |
+
0.114,
|
| 385 |
+
0.394,
|
| 386 |
+
0.319,
|
| 387 |
+
0.41
|
| 388 |
+
],
|
| 389 |
+
"angle": 0,
|
| 390 |
+
"content": "3 Training Classifiers"
|
| 391 |
+
},
|
| 392 |
+
{
|
| 393 |
+
"type": "text",
|
| 394 |
+
"bbox": [
|
| 395 |
+
0.113,
|
| 396 |
+
0.42,
|
| 397 |
+
0.49,
|
| 398 |
+
0.595
|
| 399 |
+
],
|
| 400 |
+
"angle": 0,
|
| 401 |
+
"content": "We use BERT to identify specific instances of change. To do so, we train two POS taggers, one based on text from the 1830s and the other based on text from the 1990s; in the subsequent sections, we will use these taggers and their errors to identify words or sentences that display syntactic change. In this section, we will focus on describing how these taggers are trained and their performance. Crucially, we will train these taggers without ever tagging text from the 1830s; all POS tags are only ever associated with text from the 1990s."
|
| 402 |
+
},
|
| 403 |
+
{
|
| 404 |
+
"type": "text",
|
| 405 |
+
"bbox": [
|
| 406 |
+
0.113,
|
| 407 |
+
0.598,
|
| 408 |
+
0.49,
|
| 409 |
+
0.919
|
| 410 |
+
],
|
| 411 |
+
"angle": 0,
|
| 412 |
+
"content": "We start by fine-tuning two instances of BERT-base-uncased: one on text from the 1990s and the other on text from the 1830s. This is done via Masked-Language Modeling in PyTorch (Paszke et al., 2019), where we process one sentence at a time with \\(15\\%\\) of the tokens masked, and the model is trained to predict the masked tokens. We use each fine-tuned model to obtain BERT token representations for 1990s text and then average the token representations for all the WordPiece tokens within each word to obtain a representation of a word. We do this twice: once with the model fine-tuned on text from the 1830s and once with the model fine-tuned on text from the 1990s (yielding two different embeddings of each word). However, even though we have models trained on two time periods, we use both models only to embed words from the 1990s and not any words from the 1830s. At the end of this process, each word from the 1990s has two different BERT embeddings."
|
| 413 |
+
},
|
| 414 |
+
{
|
| 415 |
+
"type": "text",
|
| 416 |
+
"bbox": [
|
| 417 |
+
0.507,
|
| 418 |
+
0.085,
|
| 419 |
+
0.885,
|
| 420 |
+
0.406
|
| 421 |
+
],
|
| 422 |
+
"angle": 0,
|
| 423 |
+
"content": "Next, using POS tags obtained from Stanford CoreNLP for the 1990s portion of the British Hansard, we train a 2-layer perceptron (with one hidden layer of size 50) to assign a Penn Treebank tag to each BERT representation of each word. An input to this 2-layer perceptron is a BERT embedding of a word (extracted as described above), and the output is a POS tag. This classification task ignores punctuation and has 21 classes: We merge the 'NN', 'NNP', 'NNS', and 'NNPS' tags into one single tag called 'Noun', after which we take the 20 most common tags ('Noun', 'IN', 'DT', 'JJ', 'VB', 'PRP', 'RB', 'VBN', 'VBZ', 'VBP', 'CC', 'MD', 'TO', 'VBD', 'CD', 'VBG', 'PRPS', 'WDT', 'WP', 'WRB') and then group the remaining POS tags into a catch-all class called 'other'. We actually train two such perceptrons separately: one for the 1830s BERT embeddings (of words from the 1990s only) and one for the 1990s BERT embeddings (also only of words from the 1990s)."
|
| 424 |
+
},
|
| 425 |
+
{
|
| 426 |
+
"type": "text",
|
| 427 |
+
"bbox": [
|
| 428 |
+
0.508,
|
| 429 |
+
0.408,
|
| 430 |
+
0.885,
|
| 431 |
+
0.583
|
| 432 |
+
],
|
| 433 |
+
"angle": 0,
|
| 434 |
+
"content": "Note that the training and test data for this procedure consist only of sentences from the 1990s; this is done because the POS tags obtained from Stanford CoreNLP are likely to be more accurate on our modern data. Using the representations from the final layer of BERT (when the classifier has access to 50,000 training sentences, containing 815,578 words, and when the test set has 50,000 sentences, containing 816,428 words), the accuracy obtained by the 1990s model is \\(97.6\\%\\), and the accuracy of the 1830s model is \\(97.2\\%\\)."
|
| 435 |
+
},
|
| 436 |
+
{
|
| 437 |
+
"type": "text",
|
| 438 |
+
"bbox": [
|
| 439 |
+
0.508,
|
| 440 |
+
0.586,
|
| 441 |
+
0.885,
|
| 442 |
+
0.81
|
| 443 |
+
],
|
| 444 |
+
"angle": 0,
|
| 445 |
+
"content": "We repeat the above analysis using POS tags from Trankit (Nguyen et al., 2021) instead of Stanford CoreNLP because Trankit is a state-of-the-art parser and tagger. By using Trankit tags to train and test the above classifiers based on BERT representations, the accuracy obtained by the 1990s model was \\(98.4\\%\\) (instead of \\(97.6\\%\\) using CoreNLP tags) and the accuracy obtained by the 1830s model was \\(98.0\\%\\) (instead of \\(97.2\\%\\) using CoreNLP tags). The higher accuracy means that the task became easier when predicting Trankit tags instead of CoreNLP tags; since Trankit tags are also more accurate, it suggests that our pipeline is working as expected."
|
| 446 |
+
},
|
| 447 |
+
{
|
| 448 |
+
"type": "text",
|
| 449 |
+
"bbox": [
|
| 450 |
+
0.508,
|
| 451 |
+
0.812,
|
| 452 |
+
0.884,
|
| 453 |
+
0.844
|
| 454 |
+
],
|
| 455 |
+
"angle": 0,
|
| 456 |
+
"content": "In §4 and later, we will use these pipelines (and the differences between their predictions) to iden-"
|
| 457 |
+
},
|
| 458 |
+
{
|
| 459 |
+
"type": "page_footnote",
|
| 460 |
+
"bbox": [
|
| 461 |
+
0.508,
|
| 462 |
+
0.855,
|
| 463 |
+
0.887,
|
| 464 |
+
0.88
|
| 465 |
+
],
|
| 466 |
+
"angle": 0,
|
| 467 |
+
"content": "<sup>5</sup>We tried hidden layer sizes 100 and 200; this hyperparameter did not make a large difference."
|
| 468 |
+
},
|
| 469 |
+
{
|
| 470 |
+
"type": "page_footnote",
|
| 471 |
+
"bbox": [
|
| 472 |
+
0.534,
|
| 473 |
+
0.881,
|
| 474 |
+
0.874,
|
| 475 |
+
0.894
|
| 476 |
+
],
|
| 477 |
+
"angle": 0,
|
| 478 |
+
"content": "\\(^{6}\\)www.cis.upenn.edu/~bies/manuals/tagguide.pdf"
|
| 479 |
+
},
|
| 480 |
+
{
|
| 481 |
+
"type": "page_footnote",
|
| 482 |
+
"bbox": [
|
| 483 |
+
0.511,
|
| 484 |
+
0.894,
|
| 485 |
+
0.853,
|
| 486 |
+
0.918
|
| 487 |
+
],
|
| 488 |
+
"angle": 0,
|
| 489 |
+
"content": "\\(^{7}\\)https://trankit.readthedocs.io/en/latest/performance.html"
|
| 490 |
+
},
|
| 491 |
+
{
|
| 492 |
+
"type": "list",
|
| 493 |
+
"bbox": [
|
| 494 |
+
0.508,
|
| 495 |
+
0.855,
|
| 496 |
+
0.887,
|
| 497 |
+
0.918
|
| 498 |
+
],
|
| 499 |
+
"angle": 0,
|
| 500 |
+
"content": null
|
| 501 |
+
},
|
| 502 |
+
{
|
| 503 |
+
"type": "page_number",
|
| 504 |
+
"bbox": [
|
| 505 |
+
0.481,
|
| 506 |
+
0.929,
|
| 507 |
+
0.521,
|
| 508 |
+
0.941
|
| 509 |
+
],
|
| 510 |
+
"angle": 0,
|
| 511 |
+
"content": "3566"
|
| 512 |
+
}
|
| 513 |
+
],
|
| 514 |
+
[
|
| 515 |
+
{
|
| 516 |
+
"type": "text",
|
| 517 |
+
"bbox": [
|
| 518 |
+
0.114,
|
| 519 |
+
0.085,
|
| 520 |
+
0.488,
|
| 521 |
+
0.117
|
| 522 |
+
],
|
| 523 |
+
"angle": 0,
|
| 524 |
+
"content": "tify specific instances of syntactic change between the 1830s and the 1990s."
|
| 525 |
+
},
|
| 526 |
+
{
|
| 527 |
+
"type": "title",
|
| 528 |
+
"bbox": [
|
| 529 |
+
0.114,
|
| 530 |
+
0.131,
|
| 531 |
+
0.449,
|
| 532 |
+
0.166
|
| 533 |
+
],
|
| 534 |
+
"angle": 0,
|
| 535 |
+
"content": "4 Identifying Words that Underwent Change"
|
| 536 |
+
},
|
| 537 |
+
{
|
| 538 |
+
"type": "text",
|
| 539 |
+
"bbox": [
|
| 540 |
+
0.113,
|
| 541 |
+
0.176,
|
| 542 |
+
0.49,
|
| 543 |
+
0.451
|
| 544 |
+
],
|
| 545 |
+
"angle": 0,
|
| 546 |
+
"content": "We now attempt to use the POS taggers trained above to identify words that underwent change. We employ two methods to do this: First, we find the instances for which the two trained models disagree on a POS tag (indicating that the model familiar with text from the 1830s would tag the word differently compared to the one familiar with text from the 1990s). The second method involves masking out the target word to see if the 1830s model predicts the tag correctly on the masked word. If the masked word is tagged correctly but the un-masked word is tagged incorrectly, it suggests that the 1830s model can correctly parse the rest of the sentence but is specifically confused by the target word; when this happens, it indicates that the target word may have undergone change. This latter strategy is depicted in Figure 1."
|
| 547 |
+
},
|
| 548 |
+
{
|
| 549 |
+
"type": "title",
|
| 550 |
+
"bbox": [
|
| 551 |
+
0.114,
|
| 552 |
+
0.462,
|
| 553 |
+
0.345,
|
| 554 |
+
0.478
|
| 555 |
+
],
|
| 556 |
+
"angle": 0,
|
| 557 |
+
"content": "4.1 Tagging Disagreements"
|
| 558 |
+
},
|
| 559 |
+
{
|
| 560 |
+
"type": "text",
|
| 561 |
+
"bbox": [
|
| 562 |
+
0.113,
|
| 563 |
+
0.485,
|
| 564 |
+
0.49,
|
| 565 |
+
0.773
|
| 566 |
+
],
|
| 567 |
+
"angle": 0,
|
| 568 |
+
"content": "After training, we have two new POS taggers, one based on an 1830s understanding of English and one based on a 1990s understanding. We now run these taggers on test data (from the 1990s) to find words on which they disagree. In particular, we find words for which the model trained on text from the 1990s agrees with the Trankit tag but where the 1830s model disagrees. The cases where such a disagreement occurs should be the cases in which an 1830s grammar leads the model to incorrectly parse the sentence (likely due to a change in English grammar for the relevant word or perhaps one of its neighbors). Moreover, we use our classifiers to extract probabilistic predictions for the tags, and we search for word instances where probability assigned to the correct tag by the 1830s model was at least 50 percentage points lower than that assigned by the 1990s model."
|
| 569 |
+
},
|
| 570 |
+
{
|
| 571 |
+
"type": "text",
|
| 572 |
+
"bbox": [
|
| 573 |
+
0.113,
|
| 574 |
+
0.775,
|
| 575 |
+
0.49,
|
| 576 |
+
0.921
|
| 577 |
+
],
|
| 578 |
+
"angle": 0,
|
| 579 |
+
"content": "We do this for each word in each sentence of the 1990s test data. To help isolate interesting cases, we filter the words under consideration to those that occur at least 10 times in the 1830s text (indicating that they are not new words). We remove numbers, punctuation, and words written entirely in capital letters (likely acronyms). We also restrict to words for which such a tagging disagreement occurred at least twice. We then sort the resulting words"
|
| 580 |
+
},
|
| 581 |
+
{
|
| 582 |
+
"type": "text",
|
| 583 |
+
"bbox": [
|
| 584 |
+
0.508,
|
| 585 |
+
0.085,
|
| 586 |
+
0.885,
|
| 587 |
+
0.198
|
| 588 |
+
],
|
| 589 |
+
"angle": 0,
|
| 590 |
+
"content": "by the total number of tag disagreements for that word, normalized by the frequency of the word in the 1990s data, with additional weight given to words which were common in the 1830s (to reduce the number of rare words in the final list). We run this experiment on 100,000 test sentences, using classifiers trained on 25,000 sentences each."
|
| 591 |
+
},
|
| 592 |
+
{
|
| 593 |
+
"type": "text",
|
| 594 |
+
"bbox": [
|
| 595 |
+
0.508,
|
| 596 |
+
0.2,
|
| 597 |
+
0.887,
|
| 598 |
+
0.376
|
| 599 |
+
],
|
| 600 |
+
"angle": 0,
|
| 601 |
+
"content": "We then manually examine the top resulting words to check whether the identified words have truly undergone change; see §4.3. One example can be seen in the following sentence: \"My right hon. Friend last met M. Chevenement to discuss cooperative weapons development among other topics on 4 May.\" In this example, the model trained on text from the 1990s tags the word \"co-operative\" as an adjective whereas the model trained on the 1830s believes that \"co-operative\" is a noun; the 1990s model is correct in this case."
|
| 602 |
+
},
|
| 603 |
+
{
|
| 604 |
+
"type": "title",
|
| 605 |
+
"bbox": [
|
| 606 |
+
0.509,
|
| 607 |
+
0.394,
|
| 608 |
+
0.744,
|
| 609 |
+
0.409
|
| 610 |
+
],
|
| 611 |
+
"angle": 0,
|
| 612 |
+
"content": "4.2 Masking and Confusion"
|
| 613 |
+
},
|
| 614 |
+
{
|
| 615 |
+
"type": "text",
|
| 616 |
+
"bbox": [
|
| 617 |
+
0.508,
|
| 618 |
+
0.417,
|
| 619 |
+
0.885,
|
| 620 |
+
0.691
|
| 621 |
+
],
|
| 622 |
+
"angle": 0,
|
| 623 |
+
"content": "As before, we use both the 1830s model and the 1990s model to predict the POS tag of each word in held-out 1990s sentences. This time, we additionally repeat this process with one word in the sentence masked out: we ask both the 1990s model and the 1830s model to predict the POS tag of the masked word (without knowing what it is). We mask out each word in each sentence, one at a time; since the BERT embedding for a single word depends on the entire sentence, this requires passing the same sentence repeatedly through BERT with a different word masked each time. To speed up this process, we skip applying the mask to words that are too common (within the one thousand most common words in the 1990s), since these constitute the majority of word occurrences and yet are less likely to exhibit syntactic change."
|
| 624 |
+
},
|
| 625 |
+
{
|
| 626 |
+
"type": "text",
|
| 627 |
+
"bbox": [
|
| 628 |
+
0.508,
|
| 629 |
+
0.693,
|
| 630 |
+
0.885,
|
| 631 |
+
0.821
|
| 632 |
+
],
|
| 633 |
+
"angle": 0,
|
| 634 |
+
"content": "After this process, each word in each sentence (except those we have deliberately skipped) will have four different contextual BERT embeddings: one by the 1830s model when the word was masked, one by the 1830s model when the word was unmasked, one by the 1990s model when the word was masked, and one by the 1990s model when the word was unmasked."
|
| 635 |
+
},
|
| 636 |
+
{
|
| 637 |
+
"type": "text",
|
| 638 |
+
"bbox": [
|
| 639 |
+
0.508,
|
| 640 |
+
0.823,
|
| 641 |
+
0.885,
|
| 642 |
+
0.921
|
| 643 |
+
],
|
| 644 |
+
"angle": 0,
|
| 645 |
+
"content": "We now examine words for which the 1830s model gives a better prediction of the POS tag when the word is masked compared to when it is unmasked. When this happens, it means that the 1830s model correctly identified which tag to expect in the position of the masked word, and yet"
|
| 646 |
+
},
|
| 647 |
+
{
|
| 648 |
+
"type": "page_number",
|
| 649 |
+
"bbox": [
|
| 650 |
+
0.481,
|
| 651 |
+
0.928,
|
| 652 |
+
0.521,
|
| 653 |
+
0.941
|
| 654 |
+
],
|
| 655 |
+
"angle": 0,
|
| 656 |
+
"content": "3567"
|
| 657 |
+
}
|
| 658 |
+
],
|
| 659 |
+
[
|
| 660 |
+
{
|
| 661 |
+
"type": "image_caption",
|
| 662 |
+
"bbox": [
|
| 663 |
+
0.219,
|
| 664 |
+
0.082,
|
| 665 |
+
0.747,
|
| 666 |
+
0.112
|
| 667 |
+
],
|
| 668 |
+
"angle": 0,
|
| 669 |
+
"content": "There is no example of sovereign countries which have given up their currencies. There is no example of [MASK] countries which have given up their currencies."
|
| 670 |
+
},
|
| 671 |
+
{
|
| 672 |
+
"type": "image",
|
| 673 |
+
"bbox": [
|
| 674 |
+
0.222,
|
| 675 |
+
0.113,
|
| 676 |
+
0.778,
|
| 677 |
+
0.261
|
| 678 |
+
],
|
| 679 |
+
"angle": 0,
|
| 680 |
+
"content": null
|
| 681 |
+
},
|
| 682 |
+
{
|
| 683 |
+
"type": "image_caption",
|
| 684 |
+
"bbox": [
|
| 685 |
+
0.112,
|
| 686 |
+
0.271,
|
| 687 |
+
0.882,
|
| 688 |
+
0.342
|
| 689 |
+
],
|
| 690 |
+
"angle": 0,
|
| 691 |
+
"content": "Figure 1: A depiction of the models' predictive process. The 1830s model predicts the correct tag when the word \"sovereign\" was masked (the tags assigned the highest likelihood after JJ were VBG with \\(21\\%\\) and DT with \\(20\\%\\) probability) but predicts it incorrectly when it was unmasked; this is the opposite of the usual pattern, in which the prediction is worse in the masked scenario. This type of tagging error indicates that the 1830s model expects \"sovereign\" to be a noun instead of an adjective."
|
| 692 |
+
},
|
| 693 |
+
{
|
| 694 |
+
"type": "text",
|
| 695 |
+
"bbox": [
|
| 696 |
+
0.113,
|
| 697 |
+
0.367,
|
| 698 |
+
0.489,
|
| 699 |
+
0.496
|
| 700 |
+
],
|
| 701 |
+
"angle": 0,
|
| 702 |
+
"content": "after the mask is lifted (and the word itself was revealed) the 1830s model \"changed its mind\" and assigned the wrong tag instead. In such cases, we say that the 1830s model was \"confused\" by the token. We restrict to cases where the 1990s model correctly tagged the word, even when it was un-masked; this helps remove Trankit tagging errors as well as typographical errors in the text."
|
| 703 |
+
},
|
| 704 |
+
{
|
| 705 |
+
"type": "text",
|
| 706 |
+
"bbox": [
|
| 707 |
+
0.113,
|
| 708 |
+
0.498,
|
| 709 |
+
0.489,
|
| 710 |
+
0.739
|
| 711 |
+
],
|
| 712 |
+
"angle": 0,
|
| 713 |
+
"content": "We then consider the remaining words for which the 1830s BERT model was confused more than once; specifically, we restrict to words for which there were at least two separate occurrences where the 1990s model tagged the word correctly (with a confidence of at least \\(90\\%\\)) and the 1830s model assigned a probability that is at least 25 percentage points higher to the correct POS tag when seeing the masked version of the sentence than it did when seeing the unmasked version. We run this experiment on 100,000 test sentences; to train the 1990s and 1830s models, we use 25,000 sentences each (just as in the previous section). To help isolate interesting cases, we employ the same filters and the same sorting strategy as we did in §4.1."
|
| 714 |
+
},
|
| 715 |
+
{
|
| 716 |
+
"type": "text",
|
| 717 |
+
"bbox": [
|
| 718 |
+
0.113,
|
| 719 |
+
0.742,
|
| 720 |
+
0.489,
|
| 721 |
+
0.902
|
| 722 |
+
],
|
| 723 |
+
"angle": 0,
|
| 724 |
+
"content": "An example of a word that we found this way is \"material\", which was an adjective in the early 1800s but whose noun usage is modern. For instance, in the sentence \"the inquiry will be free to publish whatever material it wishes,\" Trankit correctly tags \"material\" as a noun, and so does the 1990s pipeline, but the 1830s pipeline only gives the correct tag when the word \"material\" is masked out in that sentence; when it is unmasked, an adjective is predicted."
|
| 725 |
+
},
|
| 726 |
+
{
|
| 727 |
+
"type": "text",
|
| 728 |
+
"bbox": [
|
| 729 |
+
0.133,
|
| 730 |
+
0.904,
|
| 731 |
+
0.489,
|
| 732 |
+
0.919
|
| 733 |
+
],
|
| 734 |
+
"angle": 0,
|
| 735 |
+
"content": "A list of the top resulting words (with exam-"
|
| 736 |
+
},
|
| 737 |
+
{
|
| 738 |
+
"type": "text",
|
| 739 |
+
"bbox": [
|
| 740 |
+
0.508,
|
| 741 |
+
0.367,
|
| 742 |
+
0.882,
|
| 743 |
+
0.415
|
| 744 |
+
],
|
| 745 |
+
"angle": 0,
|
| 746 |
+
"content": "ple sentences and tags provided by the models) is given in Appendix B. The words in this table were automatically generated with no manual curation."
|
| 747 |
+
},
|
| 748 |
+
{
|
| 749 |
+
"type": "title",
|
| 750 |
+
"bbox": [
|
| 751 |
+
0.509,
|
| 752 |
+
0.429,
|
| 753 |
+
0.642,
|
| 754 |
+
0.443
|
| 755 |
+
],
|
| 756 |
+
"angle": 0,
|
| 757 |
+
"content": "4.3 Evaluation"
|
| 758 |
+
},
|
| 759 |
+
{
|
| 760 |
+
"type": "text",
|
| 761 |
+
"bbox": [
|
| 762 |
+
0.507,
|
| 763 |
+
0.451,
|
| 764 |
+
0.884,
|
| 765 |
+
0.579
|
| 766 |
+
],
|
| 767 |
+
"angle": 0,
|
| 768 |
+
"content": "To evaluate the resulting words, we manually analyzed the top 20 candidates produced by §4.1 and the top 20 candidates produced by §4.2. For each candidate word, we examined 10 randomly sampled sentences containing that word from the 1990s and also 10 sentences from the 1830s, and we manually checked whether their syntax appeared to have changed."
|
| 769 |
+
},
|
| 770 |
+
{
|
| 771 |
+
"type": "text",
|
| 772 |
+
"bbox": [
|
| 773 |
+
0.508,
|
| 774 |
+
0.58,
|
| 775 |
+
0.884,
|
| 776 |
+
0.676
|
| 777 |
+
],
|
| 778 |
+
"angle": 0,
|
| 779 |
+
"content": "Of the top 20 words from §4.1, seven (or \\(35\\%\\)) were identified as having undergone syntactic change, with a part of speech in the 1990s that is either new or greatly increased in frequency. Of the top 20 words from §4.2, 11 (or \\(55\\%\\)) were identified as having undergone syntactic change."
|
| 780 |
+
},
|
| 781 |
+
{
|
| 782 |
+
"type": "text",
|
| 783 |
+
"bbox": [
|
| 784 |
+
0.508,
|
| 785 |
+
0.677,
|
| 786 |
+
0.882,
|
| 787 |
+
0.741
|
| 788 |
+
],
|
| 789 |
+
"angle": 0,
|
| 790 |
+
"content": "We note also that these two approaches identified different sets of words: Of the top 20 words on each list, there were only 4 words of overlap, while of the top 100 there were 15 words of overlap."
|
| 791 |
+
},
|
| 792 |
+
{
|
| 793 |
+
"type": "text",
|
| 794 |
+
"bbox": [
|
| 795 |
+
0.508,
|
| 796 |
+
0.742,
|
| 797 |
+
0.884,
|
| 798 |
+
0.87
|
| 799 |
+
],
|
| 800 |
+
"angle": 0,
|
| 801 |
+
"content": "We also attempt an automatic evaluation by using Trankit to tag words from the 1830s and checking if these tags changed. Of course, our identification methods purposely avoided using a tagger on old text, since it may be unreliable, and a manual check reveals that the tagger made mistakes. Still, as a sanity check, we use it to compare the two methods for identifying syntactic change."
|
| 802 |
+
},
|
| 803 |
+
{
|
| 804 |
+
"type": "text",
|
| 805 |
+
"bbox": [
|
| 806 |
+
0.508,
|
| 807 |
+
0.872,
|
| 808 |
+
0.882,
|
| 809 |
+
0.919
|
| 810 |
+
],
|
| 811 |
+
"angle": 0,
|
| 812 |
+
"content": "For the purpose of automatic evaluation, we say that a word has changed and gained a new POS if the tag is at least twice as likely to appear for"
|
| 813 |
+
},
|
| 814 |
+
{
|
| 815 |
+
"type": "page_number",
|
| 816 |
+
"bbox": [
|
| 817 |
+
0.481,
|
| 818 |
+
0.928,
|
| 819 |
+
0.521,
|
| 820 |
+
0.941
|
| 821 |
+
],
|
| 822 |
+
"angle": 0,
|
| 823 |
+
"content": "3568"
|
| 824 |
+
}
|
| 825 |
+
],
|
| 826 |
+
[
|
| 827 |
+
{
|
| 828 |
+
"type": "text",
|
| 829 |
+
"bbox": [
|
| 830 |
+
0.113,
|
| 831 |
+
0.085,
|
| 832 |
+
0.49,
|
| 833 |
+
0.295
|
| 834 |
+
],
|
| 835 |
+
"angle": 0,
|
| 836 |
+
"content": "1990s usages of the word than for 1830s usages of the word. Under this criterion for change, and using the Trankit tags for both 1830s and 1990s data, we get that the top 100 candidates from the simpler identification method (\\$4.1) contained 20 changed words, while the top 100 candidates from our masking strategy (\\$4.2) had 35 changed words. Note that of the manually evaluated words, the automatic evaluation agreed with \\(75\\%\\) of the human judgements. These should be interpreted with caution, but these results agree with our conclusion that the masking strategy is better at identifying changed words."
|
| 837 |
+
},
|
| 838 |
+
{
|
| 839 |
+
"type": "title",
|
| 840 |
+
"bbox": [
|
| 841 |
+
0.114,
|
| 842 |
+
0.31,
|
| 843 |
+
0.486,
|
| 844 |
+
0.326
|
| 845 |
+
],
|
| 846 |
+
"angle": 0,
|
| 847 |
+
"content": "5 Confusion Scores at the Sentence Level"
|
| 848 |
+
},
|
| 849 |
+
{
|
| 850 |
+
"type": "text",
|
| 851 |
+
"bbox": [
|
| 852 |
+
0.113,
|
| 853 |
+
0.338,
|
| 854 |
+
0.49,
|
| 855 |
+
0.627
|
| 856 |
+
],
|
| 857 |
+
"angle": 0,
|
| 858 |
+
"content": "In this next experiment, we try to discern the extent to which masking out a word in a sentence makes the sentence more difficult for a fine-tuned BERT model to parse. The idea is that, for a typical word, once the word is masked out the model has less information about the sentence, and its syntactic understanding should therefore decrease; on the other hand, for a word that has an atypical or new usage, the model may end up being more confused after seeing the word than it is when the word is masked out. In the latter situation, we would expect the model's syntactic understanding of the sentence to improve if the word is masked out because, from the model's point of view, the word is misleading. A similar idea was used in §4.2 at the word level; in this section we will look at the accuracy of the tags for the whole sentence before and after a single word is masked."
|
| 859 |
+
},
|
| 860 |
+
{
|
| 861 |
+
"type": "text",
|
| 862 |
+
"bbox": [
|
| 863 |
+
0.112,
|
| 864 |
+
0.629,
|
| 865 |
+
0.49,
|
| 866 |
+
0.789
|
| 867 |
+
],
|
| 868 |
+
"angle": 0,
|
| 869 |
+
"content": "For example, consider the following sentence: \"Opposition Members think that is how peace processes work.\" A model trained on English from the 1830s is likely to think that the word \"work\" is a noun rather than a verb. This could lead such a model to consider an incorrect way to parse this sentence, where the subject \"peace\" is doing the action of processing the object \"work\". In this case, if the word \"work\" is masked out, the sentence will be more likely to be parsed correctly."
|
| 870 |
+
},
|
| 871 |
+
{
|
| 872 |
+
"type": "text",
|
| 873 |
+
"bbox": [
|
| 874 |
+
0.113,
|
| 875 |
+
0.791,
|
| 876 |
+
0.49,
|
| 877 |
+
0.92
|
| 878 |
+
],
|
| 879 |
+
"angle": 0,
|
| 880 |
+
"content": "As a proxy for the success of the parsing of the sentence, we feed in the sentence to the classifiers from §3 to get predicted tags for all the words in the sentence. We can use these classifiers to get probabilistic predictions, and in particular, we can get a probability assigned to the correct tag for each word in the sentence (using Trankit tags as ground truth). We then multiply together all"
|
| 881 |
+
},
|
| 882 |
+
{
|
| 883 |
+
"type": "text",
|
| 884 |
+
"bbox": [
|
| 885 |
+
0.508,
|
| 886 |
+
0.085,
|
| 887 |
+
0.885,
|
| 888 |
+
0.165
|
| 889 |
+
],
|
| 890 |
+
"angle": 0,
|
| 891 |
+
"content": "these probabilities to get a measure of the overall probability the model assigns to the correct tags of the sentence. We can repeat this for both the 1830s and 1990s classifiers, and we can also repeat this when a specific word is either masked or unmasked."
|
| 892 |
+
},
|
| 893 |
+
{
|
| 894 |
+
"type": "text",
|
| 895 |
+
"bbox": [
|
| 896 |
+
0.508,
|
| 897 |
+
0.168,
|
| 898 |
+
0.885,
|
| 899 |
+
0.504
|
| 900 |
+
],
|
| 901 |
+
"angle": 0,
|
| 902 |
+
"content": "We say a model is \"confused\" if the product of probabilities assigned to the correct (Trankit) tags is higher when the word is masked than when it is unmasked. For instance, in the above example sentence \"Opposition Members think that is how peace processes work,\" the 1830s model may assign a wrong tag to the word \"processes\" when the word \"work\" is unmasked, but it might correctly parse the sentence if the word \"work\" is masked (in the latter case, it will assume the masked word is an unknown verb, while in the former case it will try to parse the sentence with a noun in that position if it believes that \"work\" is a noun). In other words, if the 1830s model is confused by a word, it could be because this word underwent change from the 1830s to the 1990s. We create a \"confusion score\" by taking the logarithm of the ratio of the two aforementioned products (i.e. the product of probabilities assigned to the other words when the selected word is masked, and the corresponding product when the selected word is unmasked)."
|
| 903 |
+
},
|
| 904 |
+
{
|
| 905 |
+
"type": "text",
|
| 906 |
+
"bbox": [
|
| 907 |
+
0.508,
|
| 908 |
+
0.507,
|
| 909 |
+
0.887,
|
| 910 |
+
0.636
|
| 911 |
+
],
|
| 912 |
+
"angle": 0,
|
| 913 |
+
"content": "We can get such a confusion score for any word in any sentence, and for either the 1830s model or the 1990s model. We focus on sentences from the 1990s that were not part of the training data. Since calculating confusion scores is resource-intensive, we focus on a pre-selected set of word instances, such as those identified as likely having undergone syntactic change in §4."
|
| 914 |
+
},
|
| 915 |
+
{
|
| 916 |
+
"type": "title",
|
| 917 |
+
"bbox": [
|
| 918 |
+
0.509,
|
| 919 |
+
0.652,
|
| 920 |
+
0.866,
|
| 921 |
+
0.683
|
| 922 |
+
],
|
| 923 |
+
"angle": 0,
|
| 924 |
+
"content": "5.1 Comparing Selected Words to Random Words"
|
| 925 |
+
},
|
| 926 |
+
{
|
| 927 |
+
"type": "text",
|
| 928 |
+
"bbox": [
|
| 929 |
+
0.508,
|
| 930 |
+
0.693,
|
| 931 |
+
0.885,
|
| 932 |
+
0.837
|
| 933 |
+
],
|
| 934 |
+
"angle": 0,
|
| 935 |
+
"content": "We select 10,000 word occurrences for which the tag is predicted differently by the 1830s model and the 1990s model (as discussed in §4.1). For each word occurrence, we calculate a confusion score. We then compare these scores to the confusion scores of 10,000 randomly chosen word instances. Our goal is to check whether the confusion scores of the 10,000 selected words were higher than those of random words."
|
| 936 |
+
},
|
| 937 |
+
{
|
| 938 |
+
"type": "text",
|
| 939 |
+
"bbox": [
|
| 940 |
+
0.508,
|
| 941 |
+
0.84,
|
| 942 |
+
0.885,
|
| 943 |
+
0.92
|
| 944 |
+
],
|
| 945 |
+
"angle": 0,
|
| 946 |
+
"content": "One possible confounder is that the selected words may be rarer than the random words. To adjust for this, we choose the random words more carefully: for each non-random word in the first set, we pick a random word conditional on its overall"
|
| 947 |
+
},
|
| 948 |
+
{
|
| 949 |
+
"type": "page_number",
|
| 950 |
+
"bbox": [
|
| 951 |
+
0.481,
|
| 952 |
+
0.928,
|
| 953 |
+
0.522,
|
| 954 |
+
0.941
|
| 955 |
+
],
|
| 956 |
+
"angle": 0,
|
| 957 |
+
"content": "3569"
|
| 958 |
+
}
|
| 959 |
+
],
|
| 960 |
+
[
|
| 961 |
+
{
|
| 962 |
+
"type": "image",
|
| 963 |
+
"bbox": [
|
| 964 |
+
0.118,
|
| 965 |
+
0.081,
|
| 966 |
+
0.485,
|
| 967 |
+
0.252
|
| 968 |
+
],
|
| 969 |
+
"angle": 0,
|
| 970 |
+
"content": null
|
| 971 |
+
},
|
| 972 |
+
{
|
| 973 |
+
"type": "image_caption",
|
| 974 |
+
"bbox": [
|
| 975 |
+
0.114,
|
| 976 |
+
0.261,
|
| 977 |
+
0.489,
|
| 978 |
+
0.292
|
| 979 |
+
],
|
| 980 |
+
"angle": 0,
|
| 981 |
+
"content": "Figure 2: Distribution of confusion scores for selected words and random words."
|
| 982 |
+
},
|
| 983 |
+
{
|
| 984 |
+
"type": "text",
|
| 985 |
+
"bbox": [
|
| 986 |
+
0.113,
|
| 987 |
+
0.317,
|
| 988 |
+
0.49,
|
| 989 |
+
0.43
|
| 990 |
+
],
|
| 991 |
+
"angle": 0,
|
| 992 |
+
"content": "frequency being close to that of the original word. We define close to be within 10 percentage points in the percentile of their frequencies. The resulting distribution of the confusion scores for the random words had lighter tails than the distribution of the selected words, especially on the right-hand side of the distribution. See Figure 2."
|
| 993 |
+
},
|
| 994 |
+
{
|
| 995 |
+
"type": "text",
|
| 996 |
+
"bbox": [
|
| 997 |
+
0.113,
|
| 998 |
+
0.432,
|
| 999 |
+
0.49,
|
| 1000 |
+
0.543
|
| 1001 |
+
],
|
| 1002 |
+
"angle": 0,
|
| 1003 |
+
"content": "As the figure shows, the selected word instances (for which the 1990s model and 1830s model disagree on the tags) have a higher proportion of high confusion scores than random words. Therefore, calculating confusion scores for the selected word occurrences is a more resource-efficient way to find instances of high confusion scores."
|
| 1004 |
+
},
|
| 1005 |
+
{
|
| 1006 |
+
"type": "title",
|
| 1007 |
+
"bbox": [
|
| 1008 |
+
0.114,
|
| 1009 |
+
0.558,
|
| 1010 |
+
0.327,
|
| 1011 |
+
0.572
|
| 1012 |
+
],
|
| 1013 |
+
"angle": 0,
|
| 1014 |
+
"content": "5.2 Further Refinements"
|
| 1015 |
+
},
|
| 1016 |
+
{
|
| 1017 |
+
"type": "text",
|
| 1018 |
+
"bbox": [
|
| 1019 |
+
0.113,
|
| 1020 |
+
0.581,
|
| 1021 |
+
0.49,
|
| 1022 |
+
0.756
|
| 1023 |
+
],
|
| 1024 |
+
"angle": 0,
|
| 1025 |
+
"content": "In addition to calculating confusion scores for a word in a given sentence using the 1830s model, we also calculate confusion scores in a similar way using the 1990s model. Recall that the confusion score tells us the extent to which the BERT-based tagger performs better when a word is masked out than when it is not. Since we have two such taggers (one fine-tuned on parliamentary speeches from the 1830s and one fine-tuned on speeches from the 1990s), we can get two confusion scores for a single word in a single sentence."
|
| 1026 |
+
},
|
| 1027 |
+
{
|
| 1028 |
+
"type": "text",
|
| 1029 |
+
"bbox": [
|
| 1030 |
+
0.113,
|
| 1031 |
+
0.759,
|
| 1032 |
+
0.491,
|
| 1033 |
+
0.92
|
| 1034 |
+
],
|
| 1035 |
+
"angle": 0,
|
| 1036 |
+
"content": "In order to zoom in on syntactic change, we restrict our attention to instances where the 1990s confusion score is less than or equal to zero. Since the confusion score is the logarithm of the ratio of masked to unmasked probabilities, this means we are restricting to word instances where the 1990s model gave a better prediction of the tags when the word was unmasked than it did when the word was masked. Applying this restriction helps to remove cases that are confusing for reasons other"
|
| 1037 |
+
},
|
| 1038 |
+
{
|
| 1039 |
+
"type": "text",
|
| 1040 |
+
"bbox": [
|
| 1041 |
+
0.508,
|
| 1042 |
+
0.085,
|
| 1043 |
+
0.886,
|
| 1044 |
+
0.215
|
| 1045 |
+
],
|
| 1046 |
+
"angle": 0,
|
| 1047 |
+
"content": "than language change: for example, sentences that contain typographical errors, sentences that are incorrectly parsed by Trankit, sentences that were ungrammatical when originally spoken, or other special cases. By focusing on instances that the 1830s model found confusing but that the 1990s model did not find confusing, we increase the likelihood of finding syntactic change."
|
| 1048 |
+
},
|
| 1049 |
+
{
|
| 1050 |
+
"type": "title",
|
| 1051 |
+
"bbox": [
|
| 1052 |
+
0.509,
|
| 1053 |
+
0.227,
|
| 1054 |
+
0.71,
|
| 1055 |
+
0.241
|
| 1056 |
+
],
|
| 1057 |
+
"angle": 0,
|
| 1058 |
+
"content": "5.3 Manual Evaluation"
|
| 1059 |
+
},
|
| 1060 |
+
{
|
| 1061 |
+
"type": "text",
|
| 1062 |
+
"bbox": [
|
| 1063 |
+
0.508,
|
| 1064 |
+
0.249,
|
| 1065 |
+
0.886,
|
| 1066 |
+
0.396
|
| 1067 |
+
],
|
| 1068 |
+
"angle": 0,
|
| 1069 |
+
"content": "We generate a list of top 100 candidates for syntactic change based on these confusion scores. Of those 100 sentences, our manual evaluation determined that 33 sentences were valid instances of syntactic change. We also computed the sum of the reciprocal ranks of the 33 manually selected sentences that exhibited syntactic change. This sum was 2.802, while the maximum possible sum of reciprocal ranks would be \\( \\frac{1}{1} + \\frac{1}{2} + \\ldots + \\frac{1}{33} \\approx 4.089 \\)."
|
| 1070 |
+
},
|
| 1071 |
+
{
|
| 1072 |
+
"type": "title",
|
| 1073 |
+
"bbox": [
|
| 1074 |
+
0.508,
|
| 1075 |
+
0.408,
|
| 1076 |
+
0.859,
|
| 1077 |
+
0.424
|
| 1078 |
+
],
|
| 1079 |
+
"angle": 0,
|
| 1080 |
+
"content": "6 Detecting the Rise of the Progressive"
|
| 1081 |
+
},
|
| 1082 |
+
{
|
| 1083 |
+
"type": "text",
|
| 1084 |
+
"bbox": [
|
| 1085 |
+
0.508,
|
| 1086 |
+
0.435,
|
| 1087 |
+
0.884,
|
| 1088 |
+
0.482
|
| 1089 |
+
],
|
| 1090 |
+
"angle": 0,
|
| 1091 |
+
"content": "In this section, we check the extent to which our techniques can identify syntactic change that was previously known to exist."
|
| 1092 |
+
},
|
| 1093 |
+
{
|
| 1094 |
+
"type": "text",
|
| 1095 |
+
"bbox": [
|
| 1096 |
+
0.507,
|
| 1097 |
+
0.484,
|
| 1098 |
+
0.886,
|
| 1099 |
+
0.692
|
| 1100 |
+
],
|
| 1101 |
+
"angle": 0,
|
| 1102 |
+
"content": "The frequency of the progressive has been increasing over time (e.g. Leech et al., 2009; Hou and Smith, 2021). An example of a progressive is \"he is reading\" (as opposed to \"he reads\"); the former has a form of \"to be\" followed by a verb that ends in \"-ing\". We identify progressive constructions using the dependency parse obtained from Trankit (Nguyen et al., 2021). We then mask out the present participle if it has the tag \"VBG\" and if the previous word is an inflection of the verb \"to be\". (This means that we mask out the tokens constituting the \"-ing\" word as well as the \"-ing\" suffix itself.)"
|
| 1103 |
+
},
|
| 1104 |
+
{
|
| 1105 |
+
"type": "text",
|
| 1106 |
+
"bbox": [
|
| 1107 |
+
0.508,
|
| 1108 |
+
0.694,
|
| 1109 |
+
0.886,
|
| 1110 |
+
0.822
|
| 1111 |
+
],
|
| 1112 |
+
"angle": 0,
|
| 1113 |
+
"content": "Next, we use both the 1990s model and the 1830s model to predict the POS tags of all the words in these masked sentences. We compare these predictions to each other and also to the predictions that both models give for the unmasked versions of these sentences. Finally, we take randomly chosen words in randomly chosen sentences as a control group and repeat the process for this group."
|
| 1114 |
+
},
|
| 1115 |
+
{
|
| 1116 |
+
"type": "text",
|
| 1117 |
+
"bbox": [
|
| 1118 |
+
0.508,
|
| 1119 |
+
0.824,
|
| 1120 |
+
0.886,
|
| 1121 |
+
0.92
|
| 1122 |
+
],
|
| 1123 |
+
"angle": 0,
|
| 1124 |
+
"content": "We summarize the results in two figures. First, Figure 3 shows the confusion scores for the 1830s model on the progressive sentences compared to random sentences. As the figure shows, the 1830s model is negatively confused when we mask out progressives, which means that it gets the predic"
|
| 1125 |
+
},
|
| 1126 |
+
{
|
| 1127 |
+
"type": "page_number",
|
| 1128 |
+
"bbox": [
|
| 1129 |
+
0.481,
|
| 1130 |
+
0.928,
|
| 1131 |
+
0.522,
|
| 1132 |
+
0.941
|
| 1133 |
+
],
|
| 1134 |
+
"angle": 0,
|
| 1135 |
+
"content": "3570"
|
| 1136 |
+
}
|
| 1137 |
+
],
|
| 1138 |
+
[
|
| 1139 |
+
{
|
| 1140 |
+
"type": "image",
|
| 1141 |
+
"bbox": [
|
| 1142 |
+
0.118,
|
| 1143 |
+
0.082,
|
| 1144 |
+
0.486,
|
| 1145 |
+
0.254
|
| 1146 |
+
],
|
| 1147 |
+
"angle": 0,
|
| 1148 |
+
"content": null
|
| 1149 |
+
},
|
| 1150 |
+
{
|
| 1151 |
+
"type": "image_caption",
|
| 1152 |
+
"bbox": [
|
| 1153 |
+
0.114,
|
| 1154 |
+
0.263,
|
| 1155 |
+
0.488,
|
| 1156 |
+
0.293
|
| 1157 |
+
],
|
| 1158 |
+
"angle": 0,
|
| 1159 |
+
"content": "Figure 3: A histogram for the confusion scores of the 1830s model on progressives and on random sentences."
|
| 1160 |
+
},
|
| 1161 |
+
{
|
| 1162 |
+
"type": "text",
|
| 1163 |
+
"bbox": [
|
| 1164 |
+
0.113,
|
| 1165 |
+
0.318,
|
| 1166 |
+
0.49,
|
| 1167 |
+
0.399
|
| 1168 |
+
],
|
| 1169 |
+
"angle": 0,
|
| 1170 |
+
"content": "tion right more often on the unmasked version of these sentences than it does on the masked versions. This makes sense, as it corresponds to the insight that the 1830s model has a difficult time correctly tagging the masked progressives."
|
| 1171 |
+
},
|
| 1172 |
+
{
|
| 1173 |
+
"type": "image",
|
| 1174 |
+
"bbox": [
|
| 1175 |
+
0.132,
|
| 1176 |
+
0.41,
|
| 1177 |
+
0.472,
|
| 1178 |
+
0.577
|
| 1179 |
+
],
|
| 1180 |
+
"angle": 0,
|
| 1181 |
+
"content": null
|
| 1182 |
+
},
|
| 1183 |
+
{
|
| 1184 |
+
"type": "image_caption",
|
| 1185 |
+
"bbox": [
|
| 1186 |
+
0.113,
|
| 1187 |
+
0.587,
|
| 1188 |
+
0.49,
|
| 1189 |
+
0.673
|
| 1190 |
+
],
|
| 1191 |
+
"angle": 0,
|
| 1192 |
+
"content": "Figure 4: A histogram for the logarithm of the ratios between the products of probabilities assigned to the true tags by the 1990s model and the 1830s model. We compare this for progressive sentences and random sentences. In all cases, both models were given the masked version of the sentences."
|
| 1193 |
+
},
|
| 1194 |
+
{
|
| 1195 |
+
"type": "text",
|
| 1196 |
+
"bbox": [
|
| 1197 |
+
0.113,
|
| 1198 |
+
0.689,
|
| 1199 |
+
0.49,
|
| 1200 |
+
0.817
|
| 1201 |
+
],
|
| 1202 |
+
"angle": 0,
|
| 1203 |
+
"content": "Figure 4 compares the predictions of the 1990s model to those of the 1830s model for the masked sentences. It shows that the 1990s model predicts the tags of the progressive sentences better than the 1830s model does, and the gap between their predictions is larger than it is for random sentences. This is evidence that the 1830s model is unfamiliar with progressive constructions."
|
| 1204 |
+
},
|
| 1205 |
+
{
|
| 1206 |
+
"type": "title",
|
| 1207 |
+
"bbox": [
|
| 1208 |
+
0.114,
|
| 1209 |
+
0.829,
|
| 1210 |
+
0.27,
|
| 1211 |
+
0.845
|
| 1212 |
+
],
|
| 1213 |
+
"angle": 0,
|
| 1214 |
+
"content": "7 Related Work"
|
| 1215 |
+
},
|
| 1216 |
+
{
|
| 1217 |
+
"type": "text",
|
| 1218 |
+
"bbox": [
|
| 1219 |
+
0.113,
|
| 1220 |
+
0.855,
|
| 1221 |
+
0.49,
|
| 1222 |
+
0.919
|
| 1223 |
+
],
|
| 1224 |
+
"angle": 0,
|
| 1225 |
+
"content": "It has been claimed that the performance of Transformers on downstream tasks is insensitive to word order (Hessel and Schofield, 2021; Sinha et al., 2021a; Sinha et al., 2021b; Pham et al., 2021;"
|
| 1226 |
+
},
|
| 1227 |
+
{
|
| 1228 |
+
"type": "text",
|
| 1229 |
+
"bbox": [
|
| 1230 |
+
0.508,
|
| 1231 |
+
0.085,
|
| 1232 |
+
0.885,
|
| 1233 |
+
0.228
|
| 1234 |
+
],
|
| 1235 |
+
"angle": 0,
|
| 1236 |
+
"content": "Gupta et al., 2021), which is consistent with our observation that BERT fine-tuned on shuffled text can distinguish between two time periods with high accuracy; however, our experiments indicate BERT's accuracy still improves when it has access to word order, consistent with Papadimitriou et al. (2022), who argue that word order sometimes matters by considering non-prototypical cases where meanings and lexical expectations do not match."
|
| 1237 |
+
},
|
| 1238 |
+
{
|
| 1239 |
+
"type": "text",
|
| 1240 |
+
"bbox": [
|
| 1241 |
+
0.508,
|
| 1242 |
+
0.231,
|
| 1243 |
+
0.885,
|
| 1244 |
+
0.327
|
| 1245 |
+
],
|
| 1246 |
+
"angle": 0,
|
| 1247 |
+
"content": "A sizable literature considers syntactic probes for BERT embeddings (e.g. Tenney et al., 2019; Jawahar et al., 2019; Hewitt and Manning, 2019; Pimentel et al., 2020), but to our knowledge none of the works that probe syntax consider Transformers fine-tuned on different time periods."
|
| 1248 |
+
},
|
| 1249 |
+
{
|
| 1250 |
+
"type": "text",
|
| 1251 |
+
"bbox": [
|
| 1252 |
+
0.508,
|
| 1253 |
+
0.329,
|
| 1254 |
+
0.885,
|
| 1255 |
+
0.585
|
| 1256 |
+
],
|
| 1257 |
+
"angle": 0,
|
| 1258 |
+
"content": "Syntactic change detection has been understudied in the computational linguistics and NLP literature. One work on this topic is Merrill et al. (2019), in which an LSTM achieved higher accuracy compared to a model consisting of feedforward networks on the task of predicting the year of composition of sentences. However, in addition to predicting the time period of text, we also identify specific instances of syntactic change. Computational methods for the study of syntactic change also appear in Hou and Smith (2018); this work examined possible causes of the decline in the rate of passivization over time. Another related work is Lei and Wen (2020), which found dependency distance to be decreasing over time (between the years 1790 and 2017)."
|
| 1259 |
+
},
|
| 1260 |
+
{
|
| 1261 |
+
"type": "text",
|
| 1262 |
+
"bbox": [
|
| 1263 |
+
0.508,
|
| 1264 |
+
0.587,
|
| 1265 |
+
0.884,
|
| 1266 |
+
0.732
|
| 1267 |
+
],
|
| 1268 |
+
"angle": 0,
|
| 1269 |
+
"content": "Many studies have used BERT to detect semantic change, including Giulianelli et al. (2020), Hu et al. (2019), and Fonteyn (2020). In addition, Beelen et al. (2021) fine-tune historical BERT models on a corpus of \\(19^{\\mathrm{th}}\\)-century English books in order to tackle the task of time-sensitive Targeted Sense Disambiguation and find that \"BERT works better when it is fine-tuned on data contemporaneous to the target period\"."
|
| 1270 |
+
},
|
| 1271 |
+
{
|
| 1272 |
+
"type": "title",
|
| 1273 |
+
"bbox": [
|
| 1274 |
+
0.509,
|
| 1275 |
+
0.746,
|
| 1276 |
+
0.642,
|
| 1277 |
+
0.761
|
| 1278 |
+
],
|
| 1279 |
+
"angle": 0,
|
| 1280 |
+
"content": "8 Conclusion"
|
| 1281 |
+
},
|
| 1282 |
+
{
|
| 1283 |
+
"type": "text",
|
| 1284 |
+
"bbox": [
|
| 1285 |
+
0.508,
|
| 1286 |
+
0.774,
|
| 1287 |
+
0.885,
|
| 1288 |
+
0.853
|
| 1289 |
+
],
|
| 1290 |
+
"angle": 0,
|
| 1291 |
+
"content": "We investigated the extent to which fine-tuned BERT models can distinguish between the syntax of 1830s English and 1990s English. Our approach used masking techniques, and we repeatedly compared BERT models on masked and unmasked text."
|
| 1292 |
+
},
|
| 1293 |
+
{
|
| 1294 |
+
"type": "text",
|
| 1295 |
+
"bbox": [
|
| 1296 |
+
0.508,
|
| 1297 |
+
0.855,
|
| 1298 |
+
0.884,
|
| 1299 |
+
0.919
|
| 1300 |
+
],
|
| 1301 |
+
"angle": 0,
|
| 1302 |
+
"content": "First, in §2, we hid semantic information by replacing each word with its POS tag (and representing that tag as a common English word that exemplifies that tag). We fine-tuned BERT on such"
|
| 1303 |
+
},
|
| 1304 |
+
{
|
| 1305 |
+
"type": "page_number",
|
| 1306 |
+
"bbox": [
|
| 1307 |
+
0.481,
|
| 1308 |
+
0.928,
|
| 1309 |
+
0.519,
|
| 1310 |
+
0.941
|
| 1311 |
+
],
|
| 1312 |
+
"angle": 0,
|
| 1313 |
+
"content": "3571"
|
| 1314 |
+
}
|
| 1315 |
+
],
|
| 1316 |
+
[
|
| 1317 |
+
{
|
| 1318 |
+
"type": "text",
|
| 1319 |
+
"bbox": [
|
| 1320 |
+
0.113,
|
| 1321 |
+
0.085,
|
| 1322 |
+
0.489,
|
| 1323 |
+
0.149
|
| 1324 |
+
],
|
| 1325 |
+
"angle": 0,
|
| 1326 |
+
"content": "syntax-only data to see if it could tell apart text from the 1830s and text from the 1990s. We found evidence that BERT can be used to detect syntactic differences between these two time periods."
|
| 1327 |
+
},
|
| 1328 |
+
{
|
| 1329 |
+
"type": "text",
|
| 1330 |
+
"bbox": [
|
| 1331 |
+
0.117,
|
| 1332 |
+
0.151,
|
| 1333 |
+
0.49,
|
| 1334 |
+
0.342
|
| 1335 |
+
],
|
| 1336 |
+
"angle": 0,
|
| 1337 |
+
"content": "In the later sections, we masked out individual words to see whether a POS tagger based on BERT embeddings (fine-tuned on either 1830s or 1990s) can still tag correctly when the word is masked. We filtered for a specific type of error, where the 1830s model predicts the correct tag when the word is masked but not when it is unmasked, and where the 1990s model is correct even when the word is unmasked. This procedure identified candidates for syntactic change, examples of which we provide in Appendix B. We were also able to confirm the rise of the progressive construction."
|
| 1338 |
+
},
|
| 1339 |
+
{
|
| 1340 |
+
"type": "text",
|
| 1341 |
+
"bbox": [
|
| 1342 |
+
0.113,
|
| 1343 |
+
0.343,
|
| 1344 |
+
0.49,
|
| 1345 |
+
0.504
|
| 1346 |
+
],
|
| 1347 |
+
"angle": 0,
|
| 1348 |
+
"content": "An important point to highlight is that our identification of syntactic change relied on an automatic POS tagger only for the 1990s text; we avoided running any automatic tagging software on older English data. In fact, from §3 onwards, all we did with the older 1830s data was to fine-tune BERT on it in an unsupervised fashion. Despite this restriction, we were able to automatically identify words whose part of speech had undergone change between the two time periods."
|
| 1349 |
+
},
|
| 1350 |
+
{
|
| 1351 |
+
"type": "title",
|
| 1352 |
+
"bbox": [
|
| 1353 |
+
0.114,
|
| 1354 |
+
0.516,
|
| 1355 |
+
0.22,
|
| 1356 |
+
0.532
|
| 1357 |
+
],
|
| 1358 |
+
"angle": 0,
|
| 1359 |
+
"content": "Limitations"
|
| 1360 |
+
},
|
| 1361 |
+
{
|
| 1362 |
+
"type": "text",
|
| 1363 |
+
"bbox": [
|
| 1364 |
+
0.113,
|
| 1365 |
+
0.542,
|
| 1366 |
+
0.49,
|
| 1367 |
+
0.833
|
| 1368 |
+
],
|
| 1369 |
+
"angle": 0,
|
| 1370 |
+
"content": "There are several limitations to this work. First, we worked only with English and only with text from the 1830s and 1990s. Our work also required the use of GPUs; see Appendix A for details of resources used. Although we were able to automatically identify specific instances of change (and we show automatically generated examples in Appendix B), our evaluation was limited to the manual judgement of one author, and we were unable to determine the recall of our detection system (because of the lack of objective criteria for what constitutes syntactic change). Additionally, our techniques are limited in the kinds of change we can detect: we focus on finding words whose typical part of speech has changed and on validating known syntactic changes such as the rise of the progressive. We hope that similar techniques can be extended to other types of syntactic change in future work."
|
| 1371 |
+
},
|
| 1372 |
+
{
|
| 1373 |
+
"type": "title",
|
| 1374 |
+
"bbox": [
|
| 1375 |
+
0.114,
|
| 1376 |
+
0.846,
|
| 1377 |
+
0.279,
|
| 1378 |
+
0.862
|
| 1379 |
+
],
|
| 1380 |
+
"angle": 0,
|
| 1381 |
+
"content": "Acknowledgments"
|
| 1382 |
+
},
|
| 1383 |
+
{
|
| 1384 |
+
"type": "text",
|
| 1385 |
+
"bbox": [
|
| 1386 |
+
0.113,
|
| 1387 |
+
0.872,
|
| 1388 |
+
0.489,
|
| 1389 |
+
0.904
|
| 1390 |
+
],
|
| 1391 |
+
"angle": 0,
|
| 1392 |
+
"content": "We thank Jacob Eisenstein and the anonymous reviewers for their helpful feedback."
|
| 1393 |
+
},
|
| 1394 |
+
{
|
| 1395 |
+
"type": "title",
|
| 1396 |
+
"bbox": [
|
| 1397 |
+
0.511,
|
| 1398 |
+
0.084,
|
| 1399 |
+
0.61,
|
| 1400 |
+
0.099
|
| 1401 |
+
],
|
| 1402 |
+
"angle": 0,
|
| 1403 |
+
"content": "References"
|
| 1404 |
+
},
|
| 1405 |
+
{
|
| 1406 |
+
"type": "ref_text",
|
| 1407 |
+
"bbox": [
|
| 1408 |
+
0.51,
|
| 1409 |
+
0.107,
|
| 1410 |
+
0.886,
|
| 1411 |
+
0.147
|
| 1412 |
+
],
|
| 1413 |
+
"angle": 0,
|
| 1414 |
+
"content": "Marc Alexander and Mark Davies. 2015. The Hansard Corpus 1803-2005. http://www.hansard-archive.parliament.uk/."
|
| 1415 |
+
},
|
| 1416 |
+
{
|
| 1417 |
+
"type": "ref_text",
|
| 1418 |
+
"bbox": [
|
| 1419 |
+
0.512,
|
| 1420 |
+
0.156,
|
| 1421 |
+
0.886,
|
| 1422 |
+
0.236
|
| 1423 |
+
],
|
| 1424 |
+
"angle": 0,
|
| 1425 |
+
"content": "Kaspar Beelen, Federico Nanni, Mariona Coll Ardanuy, Kasra Hosseini, Giorgia Tolfo, and Barbara McGillivray. 2021. When time makes sense: A historically-aware approach to targeted sense disambiguation. In Findings of ACL-IJCNLP, pages 2751-2761."
|
| 1426 |
+
},
|
| 1427 |
+
{
|
| 1428 |
+
"type": "ref_text",
|
| 1429 |
+
"bbox": [
|
| 1430 |
+
0.512,
|
| 1431 |
+
0.244,
|
| 1432 |
+
0.885,
|
| 1433 |
+
0.299
|
| 1434 |
+
],
|
| 1435 |
+
"angle": 0,
|
| 1436 |
+
"content": "Jacob Devlin, Ming-Wei Chang, Kenton Lee, and Kristina Toutanova. 2019. BERT: Pre-training of deep bidirectional transformers for language understanding. In *NAACL*, pages 4171–4186."
|
| 1437 |
+
},
|
| 1438 |
+
{
|
| 1439 |
+
"type": "ref_text",
|
| 1440 |
+
"bbox": [
|
| 1441 |
+
0.511,
|
| 1442 |
+
0.307,
|
| 1443 |
+
0.886,
|
| 1444 |
+
0.373
|
| 1445 |
+
],
|
| 1446 |
+
"angle": 0,
|
| 1447 |
+
"content": "Lauren Fonteyn. 2020. What about grammar? Using BERT embeddings to explore functional-semantic shifts of semi-lexical and grammatical constructions. Computational Humanities Research, pages 257-268."
|
| 1448 |
+
},
|
| 1449 |
+
{
|
| 1450 |
+
"type": "ref_text",
|
| 1451 |
+
"bbox": [
|
| 1452 |
+
0.511,
|
| 1453 |
+
0.382,
|
| 1454 |
+
0.885,
|
| 1455 |
+
0.436
|
| 1456 |
+
],
|
| 1457 |
+
"angle": 0,
|
| 1458 |
+
"content": "Mario Giulianielli, Marco Del Tredici, and Raquel Fernandez. 2020. Analysing lexical semantic change with contextualised word representations. In ACL, pages 3960-3973."
|
| 1459 |
+
},
|
| 1460 |
+
{
|
| 1461 |
+
"type": "ref_text",
|
| 1462 |
+
"bbox": [
|
| 1463 |
+
0.511,
|
| 1464 |
+
0.445,
|
| 1465 |
+
0.885,
|
| 1466 |
+
0.499
|
| 1467 |
+
],
|
| 1468 |
+
"angle": 0,
|
| 1469 |
+
"content": "Kristina Gulordava, Piotr Bojanowski, Edouard Grave, Tal Linzen, and Marco Baroni. 2018. Colorless green recurrent networks dream hierarchically. In *NAACL*, pages 1195–1205."
|
| 1470 |
+
},
|
| 1471 |
+
{
|
| 1472 |
+
"type": "ref_text",
|
| 1473 |
+
"bbox": [
|
| 1474 |
+
0.511,
|
| 1475 |
+
0.507,
|
| 1476 |
+
0.886,
|
| 1477 |
+
0.56
|
| 1478 |
+
],
|
| 1479 |
+
"angle": 0,
|
| 1480 |
+
"content": "Ashim Gupta, Giorgi Kvernadze, and Vivek Srikumar. 2021. BERT & family eat word salad: Experiments with text understanding. In AAAI, pages 12946-12954."
|
| 1481 |
+
},
|
| 1482 |
+
{
|
| 1483 |
+
"type": "ref_text",
|
| 1484 |
+
"bbox": [
|
| 1485 |
+
0.511,
|
| 1486 |
+
0.569,
|
| 1487 |
+
0.885,
|
| 1488 |
+
0.624
|
| 1489 |
+
],
|
| 1490 |
+
"angle": 0,
|
| 1491 |
+
"content": "Jack Hessel and Alexandra Schofield. 2021. How effective is BERT without word ordering? implications for language understanding and data privacy. In ACLIJCNLP, pages 204-211."
|
| 1492 |
+
},
|
| 1493 |
+
{
|
| 1494 |
+
"type": "ref_text",
|
| 1495 |
+
"bbox": [
|
| 1496 |
+
0.511,
|
| 1497 |
+
0.632,
|
| 1498 |
+
0.885,
|
| 1499 |
+
0.673
|
| 1500 |
+
],
|
| 1501 |
+
"angle": 0,
|
| 1502 |
+
"content": "John Hewitt and Christopher D. Manning. 2019. A structural probe for finding syntax in word representations. In *NAACL*, pages 4129-4138."
|
| 1503 |
+
},
|
| 1504 |
+
{
|
| 1505 |
+
"type": "ref_text",
|
| 1506 |
+
"bbox": [
|
| 1507 |
+
0.511,
|
| 1508 |
+
0.681,
|
| 1509 |
+
0.885,
|
| 1510 |
+
0.71
|
| 1511 |
+
],
|
| 1512 |
+
"angle": 0,
|
| 1513 |
+
"content": "Liwen Hou. 2022. Detecting and Modeling Syntactic Change. Ph.D. thesis, Northeastern University."
|
| 1514 |
+
},
|
| 1515 |
+
{
|
| 1516 |
+
"type": "ref_text",
|
| 1517 |
+
"bbox": [
|
| 1518 |
+
0.511,
|
| 1519 |
+
0.717,
|
| 1520 |
+
0.885,
|
| 1521 |
+
0.758
|
| 1522 |
+
],
|
| 1523 |
+
"angle": 0,
|
| 1524 |
+
"content": "Liwen Hou and David A Smith. 2018. Modeling the decline in English passivization. In SCiL, pages 34-43."
|
| 1525 |
+
},
|
| 1526 |
+
{
|
| 1527 |
+
"type": "ref_text",
|
| 1528 |
+
"bbox": [
|
| 1529 |
+
0.511,
|
| 1530 |
+
0.766,
|
| 1531 |
+
0.885,
|
| 1532 |
+
0.808
|
| 1533 |
+
],
|
| 1534 |
+
"angle": 0,
|
| 1535 |
+
"content": "Liwen Hou and David A. Smith. 2021. Drivers of English syntactic change in the Canadian parliament. In *SCiL*, pages 51–60."
|
| 1536 |
+
},
|
| 1537 |
+
{
|
| 1538 |
+
"type": "ref_text",
|
| 1539 |
+
"bbox": [
|
| 1540 |
+
0.511,
|
| 1541 |
+
0.816,
|
| 1542 |
+
0.885,
|
| 1543 |
+
0.87
|
| 1544 |
+
],
|
| 1545 |
+
"angle": 0,
|
| 1546 |
+
"content": "Renfen Hu, Shen Li, and Shichen Liang. 2019. Diachronic sense modeling with deep contextualized word embeddings: An ecological view. In ACL, pages 3899-3908."
|
| 1547 |
+
},
|
| 1548 |
+
{
|
| 1549 |
+
"type": "ref_text",
|
| 1550 |
+
"bbox": [
|
| 1551 |
+
0.511,
|
| 1552 |
+
0.878,
|
| 1553 |
+
0.885,
|
| 1554 |
+
0.92
|
| 1555 |
+
],
|
| 1556 |
+
"angle": 0,
|
| 1557 |
+
"content": "Ganesh Jawahar, Benoit Sagot, and Djamé Seddah. 2019. What does BERT learn about the structure of language? In ACL, pages 3651-3657."
|
| 1558 |
+
},
|
| 1559 |
+
{
|
| 1560 |
+
"type": "list",
|
| 1561 |
+
"bbox": [
|
| 1562 |
+
0.51,
|
| 1563 |
+
0.107,
|
| 1564 |
+
0.886,
|
| 1565 |
+
0.92
|
| 1566 |
+
],
|
| 1567 |
+
"angle": 0,
|
| 1568 |
+
"content": null
|
| 1569 |
+
},
|
| 1570 |
+
{
|
| 1571 |
+
"type": "page_number",
|
| 1572 |
+
"bbox": [
|
| 1573 |
+
0.481,
|
| 1574 |
+
0.928,
|
| 1575 |
+
0.522,
|
| 1576 |
+
0.941
|
| 1577 |
+
],
|
| 1578 |
+
"angle": 0,
|
| 1579 |
+
"content": "3572"
|
| 1580 |
+
}
|
| 1581 |
+
],
|
| 1582 |
+
[
|
| 1583 |
+
{
|
| 1584 |
+
"type": "ref_text",
|
| 1585 |
+
"bbox": [
|
| 1586 |
+
0.116,
|
| 1587 |
+
0.086,
|
| 1588 |
+
0.487,
|
| 1589 |
+
0.139
|
| 1590 |
+
],
|
| 1591 |
+
"angle": 0,
|
| 1592 |
+
"content": "Geoffrey Leech, Marianne Hundt, Christian Mair, and Nicholas Smith. 2009. Change in Contemporary English: A Grammatical Study. Studies in English Language. Cambridge University Press."
|
| 1593 |
+
},
|
| 1594 |
+
{
|
| 1595 |
+
"type": "ref_text",
|
| 1596 |
+
"bbox": [
|
| 1597 |
+
0.117,
|
| 1598 |
+
0.147,
|
| 1599 |
+
0.488,
|
| 1600 |
+
0.2
|
| 1601 |
+
],
|
| 1602 |
+
"angle": 0,
|
| 1603 |
+
"content": "Lei Lei and Ju Wen. 2020. Is dependency distance experiencing a process of minimization? A diachronic study based on the State of the Union addresses. *Lingua*, 239:102762."
|
| 1604 |
+
},
|
| 1605 |
+
{
|
| 1606 |
+
"type": "ref_text",
|
| 1607 |
+
"bbox": [
|
| 1608 |
+
0.117,
|
| 1609 |
+
0.209,
|
| 1610 |
+
0.488,
|
| 1611 |
+
0.275
|
| 1612 |
+
],
|
| 1613 |
+
"angle": 0,
|
| 1614 |
+
"content": "Christopher D. Manning, Mihai Surdeanu, John Bauer, Jenny Finkel, Steven J. Bethard, and David McClosky. 2014. The Stanford CoreNLP natural language processing toolkit. In ACL System Demonstrations, pages 55-60."
|
| 1615 |
+
},
|
| 1616 |
+
{
|
| 1617 |
+
"type": "ref_text",
|
| 1618 |
+
"bbox": [
|
| 1619 |
+
0.117,
|
| 1620 |
+
0.283,
|
| 1621 |
+
0.488,
|
| 1622 |
+
0.349
|
| 1623 |
+
],
|
| 1624 |
+
"angle": 0,
|
| 1625 |
+
"content": "William Merrill, Gigi Stark, and Robert Frank. 2019. Detecting syntactic change using a neural part-of-speech tagger. In International Workshop on Computational Approaches to Historical Language Change, pages 167-174."
|
| 1626 |
+
},
|
| 1627 |
+
{
|
| 1628 |
+
"type": "ref_text",
|
| 1629 |
+
"bbox": [
|
| 1630 |
+
0.117,
|
| 1631 |
+
0.358,
|
| 1632 |
+
0.488,
|
| 1633 |
+
0.423
|
| 1634 |
+
],
|
| 1635 |
+
"angle": 0,
|
| 1636 |
+
"content": "Minh Van Nguyen, Viet Dac Lai, Amir Pouran Ben Veyseh, and Thien Huu Nguyen. 2021. Trankit: A lightweight transformer-based toolkit for multilingual natural language processing. In EACL System Demonstrations, pages 80-90."
|
| 1637 |
+
},
|
| 1638 |
+
{
|
| 1639 |
+
"type": "ref_text",
|
| 1640 |
+
"bbox": [
|
| 1641 |
+
0.117,
|
| 1642 |
+
0.432,
|
| 1643 |
+
0.488,
|
| 1644 |
+
0.485
|
| 1645 |
+
],
|
| 1646 |
+
"angle": 0,
|
| 1647 |
+
"content": "Isabel Papadimitriou, Richard Futrell, and Kyle Mahowald. 2022. When classifying grammatical role, BERT doesn't care about word order... except when it matters. In ACL, pages 636-643."
|
| 1648 |
+
},
|
| 1649 |
+
{
|
| 1650 |
+
"type": "ref_text",
|
| 1651 |
+
"bbox": [
|
| 1652 |
+
0.117,
|
| 1653 |
+
0.493,
|
| 1654 |
+
0.488,
|
| 1655 |
+
0.611
|
| 1656 |
+
],
|
| 1657 |
+
"angle": 0,
|
| 1658 |
+
"content": "Adam Paszke, Sam Gross, Francisco Massa, Adam Lerer, James Bradbury, Gregory Chanan, Trevor Killeen, Zeming Lin, Natalia Gimelshein, Luca Antiga, Alban Desmaison, Andreas Kopf, Edward Yang, Zachary DeVito, Martin Raison, Alykhan Tejani, Sasank Chilamkurthy, Benoit Steiner, Lu Fang, Junjie Bai, and Soumith Chintala. 2019. PyTorch: An imperative style, high-performance deep learning library. In NeurIPS, pages 8024-8035."
|
| 1659 |
+
},
|
| 1660 |
+
{
|
| 1661 |
+
"type": "ref_text",
|
| 1662 |
+
"bbox": [
|
| 1663 |
+
0.117,
|
| 1664 |
+
0.62,
|
| 1665 |
+
0.488,
|
| 1666 |
+
0.686
|
| 1667 |
+
],
|
| 1668 |
+
"angle": 0,
|
| 1669 |
+
"content": "Thang Pham, Trung Bui, Long Mai, and Anh Nguyen. 2021. Out of order: How important is the sequential order of words in a sentence in natural language understanding tasks? In Findings of ACL-IJCNLP, pages 1145-1160."
|
| 1670 |
+
},
|
| 1671 |
+
{
|
| 1672 |
+
"type": "ref_text",
|
| 1673 |
+
"bbox": [
|
| 1674 |
+
0.117,
|
| 1675 |
+
0.694,
|
| 1676 |
+
0.488,
|
| 1677 |
+
0.747
|
| 1678 |
+
],
|
| 1679 |
+
"angle": 0,
|
| 1680 |
+
"content": "Tiago Pimentel, Josef Valvoda, Rowan Hall Maudslay, Ran Zmigrod, Adina Williams, and Ryan Cotterell. 2020. Information-theoretic probing for linguistic structure. In ACL, pages 4609-4622."
|
| 1681 |
+
},
|
| 1682 |
+
{
|
| 1683 |
+
"type": "ref_text",
|
| 1684 |
+
"bbox": [
|
| 1685 |
+
0.117,
|
| 1686 |
+
0.755,
|
| 1687 |
+
0.488,
|
| 1688 |
+
0.821
|
| 1689 |
+
],
|
| 1690 |
+
"angle": 0,
|
| 1691 |
+
"content": "Koustuv Sinha, Robin Jia, Dieuwke Hupkes, Joelle Pineau, Adina Williams, and Douwe Kiela. 2021a. Masked language modeling and the distributional hypothesis: Order word matters pre-training for little. In EMNLP, pages 2888-2913."
|
| 1692 |
+
},
|
| 1693 |
+
{
|
| 1694 |
+
"type": "ref_text",
|
| 1695 |
+
"bbox": [
|
| 1696 |
+
0.117,
|
| 1697 |
+
0.83,
|
| 1698 |
+
0.488,
|
| 1699 |
+
0.87
|
| 1700 |
+
],
|
| 1701 |
+
"angle": 0,
|
| 1702 |
+
"content": "Koustuv Sinha, Prasanna Parthasarathi, Joelle Pineau, and Adina Williams. 2021b. UnNatural Language Inference. In ACL-IJCNLP, pages 7329-7346."
|
| 1703 |
+
},
|
| 1704 |
+
{
|
| 1705 |
+
"type": "ref_text",
|
| 1706 |
+
"bbox": [
|
| 1707 |
+
0.117,
|
| 1708 |
+
0.878,
|
| 1709 |
+
0.488,
|
| 1710 |
+
0.918
|
| 1711 |
+
],
|
| 1712 |
+
"angle": 0,
|
| 1713 |
+
"content": "Ian Tenney, Dipanjan Das, and Ellie Pavlick. 2019. BERT rediscovers the classical NLP pipeline. In ACL, pages 4593-4601."
|
| 1714 |
+
},
|
| 1715 |
+
{
|
| 1716 |
+
"type": "list",
|
| 1717 |
+
"bbox": [
|
| 1718 |
+
0.116,
|
| 1719 |
+
0.086,
|
| 1720 |
+
0.488,
|
| 1721 |
+
0.918
|
| 1722 |
+
],
|
| 1723 |
+
"angle": 0,
|
| 1724 |
+
"content": null
|
| 1725 |
+
},
|
| 1726 |
+
{
|
| 1727 |
+
"type": "ref_text",
|
| 1728 |
+
"bbox": [
|
| 1729 |
+
0.511,
|
| 1730 |
+
0.086,
|
| 1731 |
+
0.883,
|
| 1732 |
+
0.204
|
| 1733 |
+
],
|
| 1734 |
+
"angle": 0,
|
| 1735 |
+
"content": "Thomas Wolf, Lysandre Debut, Victor Sanh, Julien Chaumond, Clement Delangue, Anthony Moi, Pierric Cistac, Tim Rault, Remi Louf, Morgan Funtowicz, Joe Davison, Sam Shleifer, Patrick von Platen, Clara Ma, Yacine Jernite, Julien Plu, Canwen Xu, Teven Le Scao, Sylvain Gugger, Mariama Drame, Quentin Lhoest, and Alexander Rush. 2020. Transformers: State-of-the-art natural language processing. In EMNLP System Demonstrations, pages 38-45."
|
| 1736 |
+
},
|
| 1737 |
+
{
|
| 1738 |
+
"type": "title",
|
| 1739 |
+
"bbox": [
|
| 1740 |
+
0.511,
|
| 1741 |
+
0.215,
|
| 1742 |
+
0.684,
|
| 1743 |
+
0.229
|
| 1744 |
+
],
|
| 1745 |
+
"angle": 0,
|
| 1746 |
+
"content": "A Resources Used"
|
| 1747 |
+
},
|
| 1748 |
+
{
|
| 1749 |
+
"type": "text",
|
| 1750 |
+
"bbox": [
|
| 1751 |
+
0.508,
|
| 1752 |
+
0.24,
|
| 1753 |
+
0.884,
|
| 1754 |
+
0.431
|
| 1755 |
+
],
|
| 1756 |
+
"angle": 0,
|
| 1757 |
+
"content": "In this work, we mentioned and used the following licensed resources: BERT (Devlin et al., 2019), which uses Apache 2.0 license; UK Parliament Hansard Corpus (Alexander and Davies, 2015), which uses Open Parliament Licence; Trankit large version 1.1.0 (Nguyen et al., 2021), which uses Apache 2.0 license; and Stanford CoreNLP version 4.2.2 (Manning et al., 2014), which uses the GNU General Public License v3.0. All of these licenses allow the type of research conducted in our work. Moreover, our work falls within the intended use of each of these resources."
|
| 1758 |
+
},
|
| 1759 |
+
{
|
| 1760 |
+
"type": "text",
|
| 1761 |
+
"bbox": [
|
| 1762 |
+
0.508,
|
| 1763 |
+
0.433,
|
| 1764 |
+
0.884,
|
| 1765 |
+
0.528
|
| 1766 |
+
],
|
| 1767 |
+
"angle": 0,
|
| 1768 |
+
"content": "Our work required GPU computation. We used NVIDIA Tesla V100 and P100 GPUs over several months while working on the results of this paper. Running Trankit was the slowest step and took around 72 GPU hours; the total GPU time to reproduce our final results would be under a week."
|
| 1769 |
+
},
|
| 1770 |
+
{
|
| 1771 |
+
"type": "title",
|
| 1772 |
+
"bbox": [
|
| 1773 |
+
0.51,
|
| 1774 |
+
0.541,
|
| 1775 |
+
0.818,
|
| 1776 |
+
0.556
|
| 1777 |
+
],
|
| 1778 |
+
"angle": 0,
|
| 1779 |
+
"content": "B Automatically Identified Words"
|
| 1780 |
+
},
|
| 1781 |
+
{
|
| 1782 |
+
"type": "text",
|
| 1783 |
+
"bbox": [
|
| 1784 |
+
0.508,
|
| 1785 |
+
0.566,
|
| 1786 |
+
0.884,
|
| 1787 |
+
0.919
|
| 1788 |
+
],
|
| 1789 |
+
"angle": 0,
|
| 1790 |
+
"content": "Table 2 shows the top of the list of automatically identified words whose part-of-speech usage may have changed; a longer list can be found in Appendix A of the first author's thesis (Hou, 2022). For each word, we give an example sentence from the 1990s on which the 1830s model was \"confused\". For each example sentence, we give the Trankit tag and two sets of probabilistic tag predictions given by the 1830s model; one set corresponds to the tags predicted by the 1830s model for the highlighted word when the word was masked, and the other set corresponds to the tags predicted by the 1830s model for the highlighted word when the word was unmasked. (For brevity, we only list the tag predictions to which the model assigns at least \\(30\\%\\) probability.) An arrow such as 'JJ \\(\\rightarrow\\) Noun' indicates that the correct tag in the 1990s was 'Noun' but that the unmasked 1830s model put a high weight on 'JJ' instead; this suggests the word changed from 'JJ' in the 1830s to 'Noun' in the 1990s. (Recall that all POS tags for nouns were merged into a single 'Noun' category.)"
|
| 1791 |
+
},
|
| 1792 |
+
{
|
| 1793 |
+
"type": "page_number",
|
| 1794 |
+
"bbox": [
|
| 1795 |
+
0.481,
|
| 1796 |
+
0.928,
|
| 1797 |
+
0.521,
|
| 1798 |
+
0.941
|
| 1799 |
+
],
|
| 1800 |
+
"angle": 0,
|
| 1801 |
+
"content": "3573"
|
| 1802 |
+
}
|
| 1803 |
+
],
|
| 1804 |
+
[
|
| 1805 |
+
{
|
| 1806 |
+
"type": "table",
|
| 1807 |
+
"bbox": [
|
| 1808 |
+
0.118,
|
| 1809 |
+
0.167,
|
| 1810 |
+
0.88,
|
| 1811 |
+
0.805
|
| 1812 |
+
],
|
| 1813 |
+
"angle": 0,
|
| 1814 |
+
"content": "<table><tr><td rowspan=\"2\">opposite\nJJ→Noun</td><td colspan=\"3\">“The mandatory life sentence does the opposite of what it sets out to achieve, and it should go.”</td></tr><tr><td>Trankit: Noun</td><td>masked tag: 84% Noun</td><td>unmasked tag: 93% JJ</td></tr><tr><td rowspan=\"2\">presume\nVB→VBP</td><td colspan=\"3\">“I presume that that shows they will be on message until they die.”</td></tr><tr><td>Trankit: VBP</td><td>masked tag: 98% VBP</td><td>unmasked tag: 38% VB, 32% VBP</td></tr><tr><td rowspan=\"2\">corporal\nNoun→JJ</td><td colspan=\"3\">“The school board wrote to me on 29 October advocating the reintroduction of corporal punishment in schools as a deterrent of last resort.”</td></tr><tr><td>Trankit: JJ</td><td>masked tag: 74% JJ</td><td>unmasked tag: 95% Noun</td></tr><tr><td rowspan=\"2\">intrepid\nJJ→Noun</td><td colspan=\"3\">“The second category are the Royal Marine's principal transport and landing ships, Fearless and Intrepid.”</td></tr><tr><td>Trankit: Noun</td><td>masked tag: 64% Noun</td><td>unmasked tag: 97% JJ</td></tr><tr><td rowspan=\"2\">evil\nNoun→JJ</td><td colspan=\"3\">“The gunmen, in the evil atrocity that they committed, symbolised the past.”</td></tr><tr><td>Trankit: JJ</td><td>masked tag: 82% JJ</td><td>unmasked tag: 99% Noun</td></tr><tr><td rowspan=\"2\">remembered\nJJ→VBN</td><td colspan=\"3\">“It should be remembered that, during the period 1974 – 79, when he was a senior Cabinet Minister, the steel industry was inefficient and unprofitable.”</td></tr><tr><td>Trankit: VBN</td><td>masked tag: 86% VBN</td><td>unmasked tag: 64% JJ, 36% VBN</td></tr><tr><td rowspan=\"2\">shut\nVBD→VBN</td><td colspan=\"3\">“My second charge is that the Prime Minister has consistently talked about the incentive society with open opportunities for all, yet her policies have effectively shut out a quarter of the nation.”</td></tr><tr><td>Trankit: VBN</td><td>masked tag: 97% VBN</td><td>unmasked tag: 86% VBD</td></tr><tr><td rowspan=\"2\">offending\nJJ→Noun</td><td colspan=\"3\">“I can vouch for the fact that juvenile offending is a major problem in my constituency.”</td></tr><tr><td>Trankit: Noun</td><td>masked tag: 98% Noun</td><td>unmasked tag: 58% JJ</td></tr><tr><td rowspan=\"2\">granting\nVBG→Noun</td><td colspan=\"3\">“In most normal cases there will be the usual opportunity for consultation and granting of opinion from the local community.”</td></tr><tr><td>Trankit: Noun</td><td>masked tag: 99% Noun</td><td>unmasked tag: 98% VBG</td></tr><tr><td rowspan=\"2\">disposed\nNoun→VBN</td><td colspan=\"3\">“Mr. Streeter: To ask the Secretary of State for Defence what Ministry of Defence land and buildings in Plymouth he expects to be surplus to MOD requirement in the next five years and to be disposed of to the private sector.”</td></tr><tr><td>Trankit: VBN</td><td>masked tag: 87% VBN</td><td>unmasked tag: 48% Noun, 31% VBN</td></tr><tr><td rowspan=\"2\">exciting\nVBG→JJ</td><td colspan=\"3\">“We should also encourage housing associations to feel the exciting and exhilarating wind of competition.”</td></tr><tr><td>Trankit: JJ</td><td>masked tag: 99% JJ</td><td>unmasked tag: 94% VBG</td></tr><tr><td rowspan=\"2\">laying\nVBG→Noun</td><td colspan=\"3\">“More significant orders, especially those exercising the so-called Henry VIII powers, are to be subject to laying in draft and affirmative resolution.”</td></tr><tr><td>Trankit: Noun</td><td>masked tag: 98% Noun</td><td>unmasked tag: 98% VBG</td></tr><tr><td rowspan=\"2\">notwithstanding\nVBG→IN</td><td colspan=\"3\">"Notwithstanding signal failures and operational difficulties, I look forward to using that fast service.”</td></tr><tr><td>Trankit: IN</td><td>masked tag: 84% IN</td><td>unmasked tag: 86% VBG</td></tr></table>"
|
| 1815 |
+
},
|
| 1816 |
+
{
|
| 1817 |
+
"type": "table_caption",
|
| 1818 |
+
"bbox": [
|
| 1819 |
+
0.202,
|
| 1820 |
+
0.815,
|
| 1821 |
+
0.795,
|
| 1822 |
+
0.83
|
| 1823 |
+
],
|
| 1824 |
+
"angle": 0,
|
| 1825 |
+
"content": "Table 2: Automatically identified words whose part-of-speech usage may have changed"
|
| 1826 |
+
},
|
| 1827 |
+
{
|
| 1828 |
+
"type": "page_number",
|
| 1829 |
+
"bbox": [
|
| 1830 |
+
0.481,
|
| 1831 |
+
0.929,
|
| 1832 |
+
0.522,
|
| 1833 |
+
0.941
|
| 1834 |
+
],
|
| 1835 |
+
"angle": 0,
|
| 1836 |
+
"content": "3574"
|
| 1837 |
+
}
|
| 1838 |
+
]
|
| 1839 |
+
]
|
2023/Detecting Syntactic Change with Pre-trained Transformer Models/5f1aa19b-edb6-4425-a7bb-8580ef6a41b6_origin.pdf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:00c79584a7d7fa2eef79ff00a3d2793328a6a6a1fc7c907a56fe61840d5a48a1
|
| 3 |
+
size 472916
|
2023/Detecting Syntactic Change with Pre-trained Transformer Models/full.md
ADDED
|
@@ -0,0 +1,278 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Detecting Syntactic Change with Pre-trained Transformer Models
|
| 2 |
+
|
| 3 |
+
Liwen Hou
|
| 4 |
+
Harvard University
|
| 5 |
+
liwenhou@fas.harvard.edu
|
| 6 |
+
|
| 7 |
+
David A. Smith Northeastern University dasmith@ccs.neu.edu
|
| 8 |
+
|
| 9 |
+
# Abstract
|
| 10 |
+
|
| 11 |
+
We investigate the ability of Transformer-based language models to find syntactic differences between the English of the early 1800s and that of the late 1900s. First, we show that a fine-tuned BERT model can distinguish between text from these two periods using syntactic information only; to show this, we employ a strategy to hide semantic information from the text. Second, we make further use of fine-tuned BERT models to identify specific instances of syntactic change and specific words for which a new part of speech was introduced. To do this, we employ a part-of-speech (POS) tagger and use it to train corpora-specific taggers based only on BERT representations pretrained on different corpora. Notably, our methods of identifying specific candidates for syntactic change avoid using any automatic POS tagger on old text, where its performance may be unreliable; instead, our methods only use untagged old text together with tagged modern text. We examine samples and distributional properties of the model output to validate automatically identified cases of syntactic change. Finally, we use our techniques to confirm the historical rise of the progressive construction, a known example of syntactic change.
|
| 12 |
+
|
| 13 |
+
# 1 Introduction
|
| 14 |
+
|
| 15 |
+
Many researchers have taken advantage of the availability of pre-trained language models to study semantic change (e.g., Giulianelli et al., 2020; Hu et al., 2019; Fonteyn, 2020), but computational studies of syntactic change are more sporadic, relying on specially trained models (Merrill et al., 2019). In this paper, we investigate the extent to which BERT (Devlin et al., 2019) is able to distinguish between the syntax of English from the early 1800s and that of the late 1900s. To do so, we use the British Hansard corpus, which consists of a digitized version of the U.K. Parliamentary debates starting in the early 1800s and spanning
|
| 16 |
+
|
| 17 |
+
across two centuries. We isolate all of the parliamentary debates from the 1830s and the 1990s.<sup>1</sup> These debates can be found on the U.K. Parliament Website's Hansard archive<sup>2</sup>.
|
| 18 |
+
|
| 19 |
+
We fine-tune BERT-base-uncased, which has around 110 million parameters and was pre-trained on approximately 3.3 billion words. When training or testing BERT on a sentence, we first tokenize it using the original BERT-base-uncased tokenizer, as implemented by Hugging Face (Wolf et al., 2020).
|
| 20 |
+
|
| 21 |
+
We focus on two questions: First, to what extent can BERT distinguish text from different time periods on the basis of syntactic features alone? Second, can we use BERT to help identify words or sentences whose analysis reflects syntactic change in an unsupervised way?
|
| 22 |
+
|
| 23 |
+
In §2, we find evidence that BERT can be used to detect syntactic differences between the English of the 1830s and that of the 1990s. Specifically, even after we control for confounders, a fine-tuned BERT model can still distinguish between these two periods even when the semantic information is hidden.
|
| 24 |
+
|
| 25 |
+
In §3, we describe how we train classifiers that can assign POS tags to words based on a 1830s and a 1990s understanding of English, respectively. Our main contribution comes in §4, where we use these classifiers to identify words whose analysis reflects syntactic change. Our method can automatically find words whose part of speech has changed. Moreover, our method avoids running a POS tagger on old text, since automatic tagging may be unreliable in that scenario. We emphasize that our change-detection techniques work with no manual annotation and identify examples of language change without any manual filtering; see Appendix B for a list of the top automatically detected words whose part of speech has changed.
|
| 26 |
+
|
| 27 |
+
To the best of our knowledge, such unsupervised syntactic change detection has not been previously done.
|
| 28 |
+
|
| 29 |
+
Finally, we confirm a known change (an increase in the frequency of progressives) using our classifiers. We show that a BERT model fine-tuned on text from the 1830s displays a poorer understanding of the progressive construction compared to a similar model trained on text from the 1990s.
|
| 30 |
+
|
| 31 |
+
# 2 Detecting Syntactic Change While Masking Semantics
|
| 32 |
+
|
| 33 |
+
In this section, we check the extent to which BERT is sensitive to changes in the syntax of English over time. This acts as a sanity check for later sections, in which we use BERT in a different way to identify specific instances of syntactic change.
|
| 34 |
+
|
| 35 |
+
We start by fine-tuning BERT-base-uncased on the classification task of predicting whether sentences come from the 1830s or the 1990s. To do so, we use the representation of the CLS token in the last layer of BERT and add a linear layer to it; this model is then fine-tuned using labeled sentences from the 1830s and the 1990s.
|
| 36 |
+
|
| 37 |
+
After we fine-tune it on 100,000 sentences per time period, the BERT model achieves $98.6\%$ accuracy; however, it may use semantic information to distinguish between text from the two time periods, and we want to limit ourselves to syntactic information only in order to check the extent to which BERT can detect syntactic change over time.
|
| 38 |
+
|
| 39 |
+
To make BERT use syntactic information only, we mask semantic information by replacing all the open class words in each sentence with their POS tags, obtained using Stanford CoreNLP (Manning et al., 2014). In order to leverage BERT's pretrained knowledge of English, we then replace each POS tag with a common English word that usually has that tag (in a similar vein to Gulordava et al., 2018); this way, the input to BERT looks more like "colorless green ideas" and not "JJ JJ NNS".
|
| 40 |
+
|
| 41 |
+
After replacing words (other than forms of "to be" and "to have", prepositions, and determiners) with POS tags and after replacing each POS tag with a representative word for that part of speech, we fine-tune BERT (with the added layer described above) on the resulting data. The BERT model performs surprisingly well on this classification task, achieving over $90\%$ accuracy for the task of pre
|
| 42 |
+
|
| 43 |
+
dicting whether a sentence comes from the 1830s or the 1990s. However, there are still several ways for such a model to use non-syntactic information. First, the model may use sentence lengths, since the distribution of the sentence lengths is different for the 1830s than for the 1990s. Second, the BERT model may simply be using the counts of the POS tags rather than real syntactic information.
|
| 44 |
+
|
| 45 |
+
To mitigate the length confounder, we place restrictions on the lengths of our training sentences. We run experiments separately for the length bins 11-15 words, 21-25 words, 31-35 words, and 20 words. To check the extent to which BERT relies on syntactic information other than the counts of tags, we separately train a model on shuffled input data, in which the sequence of tags in the sentence appears out of order. Such shuffled data retains no information other than the tag counts; we then compare whether BERT trained on unshuffled data can outperform BERT trained on shuffled data. The results are summarized in Table 1.
|
| 46 |
+
|
| 47 |
+
We compare these results to a logistic regression model that takes in the frequencies for the 100 most common vocabulary items in the replaced corpus $^{4}$ (plus a catch-all category for the remaining items) and the sentence length as features. Such a logistic regression model achieves an accuracy of $85.45\%$ , which means it performs about as well as BERT fine-tuned on shuffled tags but loses to BERT when the latter is fine-tuned on unshuffled tags. Using sentence length as the only feature yields an accuracy of $60.33\%$ .
|
| 48 |
+
|
| 49 |
+
The conclusion of this experiment is that the fine-tuned BERT model must be using syntactic information to tell apart sentences from the 1830s and the 1990s. Indeed, even when the length of the sentence is fixed, and even when the words have been replaced by their parts of speech, the model gains advantage from seeing the true order of the tags as they appeared in the sentence, instead of seeing shuffled tags. This advantage must fundamentally come from differences in syntax that are present between the 1830s and 1990s sentences (and moreover, these differences must take a form that is not simply tag counts).
|
| 50 |
+
|
| 51 |
+
Having established that BERT is sensitive to changes in the syntax of English, we next train BERT in a different way to identify specific instances of such change. Importantly, from here on
|
| 52 |
+
|
| 53 |
+
<table><tr><td>sent.
|
| 54 |
+
length</td><td>shuffled
|
| 55 |
+
placed</td><td>unshuffled
|
| 56 |
+
placed</td><td>shuffled
|
| 57 |
+
plain</td><td>unshuffled
|
| 58 |
+
plain</td></tr><tr><td>11-15</td><td>83.37</td><td>87.74</td><td>94.70</td><td>96.69</td></tr><tr><td>21-25</td><td>86.44</td><td>90.54</td><td>97.39</td><td>98.63</td></tr><tr><td>31-35</td><td>89.37</td><td>93.12</td><td>98.20</td><td>98.90</td></tr><tr><td>20</td><td>85.20</td><td>89.30</td><td>96.60</td><td>97.40</td></tr></table>
|
| 59 |
+
|
| 60 |
+
Table 1: Accuracy of BERT fine-tuned on different types of data for predicting time period. All models were trained on 20,000 sentences and tested on 2,000 (half from the 1830s and half from the 1990s); the exception was the last line, for which only 10,000 training sentences were used due to lack of data. Since test data contained an even mixture of 1830s and 1990s sentences, baseline accuracy is $50\%$ . These numbers are based on a single run; however, note that an accuracy of $p$ will have standard deviation around $\sqrt{p(1 - p) / 2000}$ , which ranges from $0.23\%$ to $0.83\%$ for the above, with higher accuracies having lower standard deviations.
|
| 61 |
+
|
| 62 |
+
out, we avoid using a POS tagger on older English.
|
| 63 |
+
|
| 64 |
+
# 3 Training Classifiers
|
| 65 |
+
|
| 66 |
+
We use BERT to identify specific instances of change. To do so, we train two POS taggers, one based on text from the 1830s and the other based on text from the 1990s; in the subsequent sections, we will use these taggers and their errors to identify words or sentences that display syntactic change. In this section, we will focus on describing how these taggers are trained and their performance. Crucially, we will train these taggers without ever tagging text from the 1830s; all POS tags are only ever associated with text from the 1990s.
|
| 67 |
+
|
| 68 |
+
We start by fine-tuning two instances of BERT-base-uncased: one on text from the 1990s and the other on text from the 1830s. This is done via Masked-Language Modeling in PyTorch (Paszke et al., 2019), where we process one sentence at a time with $15\%$ of the tokens masked, and the model is trained to predict the masked tokens. We use each fine-tuned model to obtain BERT token representations for 1990s text and then average the token representations for all the WordPiece tokens within each word to obtain a representation of a word. We do this twice: once with the model fine-tuned on text from the 1830s and once with the model fine-tuned on text from the 1990s (yielding two different embeddings of each word). However, even though we have models trained on two time periods, we use both models only to embed words from the 1990s and not any words from the 1830s. At the end of this process, each word from the 1990s has two different BERT embeddings.
|
| 69 |
+
|
| 70 |
+
Next, using POS tags obtained from Stanford CoreNLP for the 1990s portion of the British Hansard, we train a 2-layer perceptron (with one hidden layer of size 50) to assign a Penn Treebank tag to each BERT representation of each word. An input to this 2-layer perceptron is a BERT embedding of a word (extracted as described above), and the output is a POS tag. This classification task ignores punctuation and has 21 classes: We merge the 'NN', 'NNP', 'NNS', and 'NNPS' tags into one single tag called 'Noun', after which we take the 20 most common tags ('Noun', 'IN', 'DT', 'JJ', 'VB', 'PRP', 'RB', 'VBN', 'VBZ', 'VBP', 'CC', 'MD', 'TO', 'VBD', 'CD', 'VBG', 'PRPS', 'WDT', 'WP', 'WRB') and then group the remaining POS tags into a catch-all class called 'other'. We actually train two such perceptrons separately: one for the 1830s BERT embeddings (of words from the 1990s only) and one for the 1990s BERT embeddings (also only of words from the 1990s).
|
| 71 |
+
|
| 72 |
+
Note that the training and test data for this procedure consist only of sentences from the 1990s; this is done because the POS tags obtained from Stanford CoreNLP are likely to be more accurate on our modern data. Using the representations from the final layer of BERT (when the classifier has access to 50,000 training sentences, containing 815,578 words, and when the test set has 50,000 sentences, containing 816,428 words), the accuracy obtained by the 1990s model is $97.6\%$ , and the accuracy of the 1830s model is $97.2\%$ .
|
| 73 |
+
|
| 74 |
+
We repeat the above analysis using POS tags from Trankit (Nguyen et al., 2021) instead of Stanford CoreNLP because Trankit is a state-of-the-art parser and tagger. By using Trankit tags to train and test the above classifiers based on BERT representations, the accuracy obtained by the 1990s model was $98.4\%$ (instead of $97.6\%$ using CoreNLP tags) and the accuracy obtained by the 1830s model was $98.0\%$ (instead of $97.2\%$ using CoreNLP tags). The higher accuracy means that the task became easier when predicting Trankit tags instead of CoreNLP tags; since Trankit tags are also more accurate, it suggests that our pipeline is working as expected.
|
| 75 |
+
|
| 76 |
+
In §4 and later, we will use these pipelines (and the differences between their predictions) to iden-
|
| 77 |
+
|
| 78 |
+
tify specific instances of syntactic change between the 1830s and the 1990s.
|
| 79 |
+
|
| 80 |
+
# 4 Identifying Words that Underwent Change
|
| 81 |
+
|
| 82 |
+
We now attempt to use the POS taggers trained above to identify words that underwent change. We employ two methods to do this: First, we find the instances for which the two trained models disagree on a POS tag (indicating that the model familiar with text from the 1830s would tag the word differently compared to the one familiar with text from the 1990s). The second method involves masking out the target word to see if the 1830s model predicts the tag correctly on the masked word. If the masked word is tagged correctly but the un-masked word is tagged incorrectly, it suggests that the 1830s model can correctly parse the rest of the sentence but is specifically confused by the target word; when this happens, it indicates that the target word may have undergone change. This latter strategy is depicted in Figure 1.
|
| 83 |
+
|
| 84 |
+
# 4.1 Tagging Disagreements
|
| 85 |
+
|
| 86 |
+
After training, we have two new POS taggers, one based on an 1830s understanding of English and one based on a 1990s understanding. We now run these taggers on test data (from the 1990s) to find words on which they disagree. In particular, we find words for which the model trained on text from the 1990s agrees with the Trankit tag but where the 1830s model disagrees. The cases where such a disagreement occurs should be the cases in which an 1830s grammar leads the model to incorrectly parse the sentence (likely due to a change in English grammar for the relevant word or perhaps one of its neighbors). Moreover, we use our classifiers to extract probabilistic predictions for the tags, and we search for word instances where probability assigned to the correct tag by the 1830s model was at least 50 percentage points lower than that assigned by the 1990s model.
|
| 87 |
+
|
| 88 |
+
We do this for each word in each sentence of the 1990s test data. To help isolate interesting cases, we filter the words under consideration to those that occur at least 10 times in the 1830s text (indicating that they are not new words). We remove numbers, punctuation, and words written entirely in capital letters (likely acronyms). We also restrict to words for which such a tagging disagreement occurred at least twice. We then sort the resulting words
|
| 89 |
+
|
| 90 |
+
by the total number of tag disagreements for that word, normalized by the frequency of the word in the 1990s data, with additional weight given to words which were common in the 1830s (to reduce the number of rare words in the final list). We run this experiment on 100,000 test sentences, using classifiers trained on 25,000 sentences each.
|
| 91 |
+
|
| 92 |
+
We then manually examine the top resulting words to check whether the identified words have truly undergone change; see §4.3. One example can be seen in the following sentence: "My right hon. Friend last met M. Chevenement to discuss cooperative weapons development among other topics on 4 May." In this example, the model trained on text from the 1990s tags the word "co-operative" as an adjective whereas the model trained on the 1830s believes that "co-operative" is a noun; the 1990s model is correct in this case.
|
| 93 |
+
|
| 94 |
+
# 4.2 Masking and Confusion
|
| 95 |
+
|
| 96 |
+
As before, we use both the 1830s model and the 1990s model to predict the POS tag of each word in held-out 1990s sentences. This time, we additionally repeat this process with one word in the sentence masked out: we ask both the 1990s model and the 1830s model to predict the POS tag of the masked word (without knowing what it is). We mask out each word in each sentence, one at a time; since the BERT embedding for a single word depends on the entire sentence, this requires passing the same sentence repeatedly through BERT with a different word masked each time. To speed up this process, we skip applying the mask to words that are too common (within the one thousand most common words in the 1990s), since these constitute the majority of word occurrences and yet are less likely to exhibit syntactic change.
|
| 97 |
+
|
| 98 |
+
After this process, each word in each sentence (except those we have deliberately skipped) will have four different contextual BERT embeddings: one by the 1830s model when the word was masked, one by the 1830s model when the word was unmasked, one by the 1990s model when the word was masked, and one by the 1990s model when the word was unmasked.
|
| 99 |
+
|
| 100 |
+
We now examine words for which the 1830s model gives a better prediction of the POS tag when the word is masked compared to when it is unmasked. When this happens, it means that the 1830s model correctly identified which tag to expect in the position of the masked word, and yet
|
| 101 |
+
|
| 102 |
+

|
| 103 |
+
There is no example of sovereign countries which have given up their currencies. There is no example of [MASK] countries which have given up their currencies.
|
| 104 |
+
Figure 1: A depiction of the models' predictive process. The 1830s model predicts the correct tag when the word "sovereign" was masked (the tags assigned the highest likelihood after JJ were VBG with $21\%$ and DT with $20\%$ probability) but predicts it incorrectly when it was unmasked; this is the opposite of the usual pattern, in which the prediction is worse in the masked scenario. This type of tagging error indicates that the 1830s model expects "sovereign" to be a noun instead of an adjective.
|
| 105 |
+
|
| 106 |
+
after the mask is lifted (and the word itself was revealed) the 1830s model "changed its mind" and assigned the wrong tag instead. In such cases, we say that the 1830s model was "confused" by the token. We restrict to cases where the 1990s model correctly tagged the word, even when it was un-masked; this helps remove Trankit tagging errors as well as typographical errors in the text.
|
| 107 |
+
|
| 108 |
+
We then consider the remaining words for which the 1830s BERT model was confused more than once; specifically, we restrict to words for which there were at least two separate occurrences where the 1990s model tagged the word correctly (with a confidence of at least $90\%$ ) and the 1830s model assigned a probability that is at least 25 percentage points higher to the correct POS tag when seeing the masked version of the sentence than it did when seeing the unmasked version. We run this experiment on 100,000 test sentences; to train the 1990s and 1830s models, we use 25,000 sentences each (just as in the previous section). To help isolate interesting cases, we employ the same filters and the same sorting strategy as we did in §4.1.
|
| 109 |
+
|
| 110 |
+
An example of a word that we found this way is "material", which was an adjective in the early 1800s but whose noun usage is modern. For instance, in the sentence "the inquiry will be free to publish whatever material it wishes," Trankit correctly tags "material" as a noun, and so does the 1990s pipeline, but the 1830s pipeline only gives the correct tag when the word "material" is masked out in that sentence; when it is unmasked, an adjective is predicted.
|
| 111 |
+
|
| 112 |
+
A list of the top resulting words (with exam-
|
| 113 |
+
|
| 114 |
+
ple sentences and tags provided by the models) is given in Appendix B. The words in this table were automatically generated with no manual curation.
|
| 115 |
+
|
| 116 |
+
# 4.3 Evaluation
|
| 117 |
+
|
| 118 |
+
To evaluate the resulting words, we manually analyzed the top 20 candidates produced by §4.1 and the top 20 candidates produced by §4.2. For each candidate word, we examined 10 randomly sampled sentences containing that word from the 1990s and also 10 sentences from the 1830s, and we manually checked whether their syntax appeared to have changed.
|
| 119 |
+
|
| 120 |
+
Of the top 20 words from §4.1, seven (or $35\%$ ) were identified as having undergone syntactic change, with a part of speech in the 1990s that is either new or greatly increased in frequency. Of the top 20 words from §4.2, 11 (or $55\%$ ) were identified as having undergone syntactic change.
|
| 121 |
+
|
| 122 |
+
We note also that these two approaches identified different sets of words: Of the top 20 words on each list, there were only 4 words of overlap, while of the top 100 there were 15 words of overlap.
|
| 123 |
+
|
| 124 |
+
We also attempt an automatic evaluation by using Trankit to tag words from the 1830s and checking if these tags changed. Of course, our identification methods purposely avoided using a tagger on old text, since it may be unreliable, and a manual check reveals that the tagger made mistakes. Still, as a sanity check, we use it to compare the two methods for identifying syntactic change.
|
| 125 |
+
|
| 126 |
+
For the purpose of automatic evaluation, we say that a word has changed and gained a new POS if the tag is at least twice as likely to appear for
|
| 127 |
+
|
| 128 |
+
1990s usages of the word than for 1830s usages of the word. Under this criterion for change, and using the Trankit tags for both 1830s and 1990s data, we get that the top 100 candidates from the simpler identification method (\$4.1) contained 20 changed words, while the top 100 candidates from our masking strategy (\$4.2) had 35 changed words. Note that of the manually evaluated words, the automatic evaluation agreed with $75\%$ of the human judgements. These should be interpreted with caution, but these results agree with our conclusion that the masking strategy is better at identifying changed words.
|
| 129 |
+
|
| 130 |
+
# 5 Confusion Scores at the Sentence Level
|
| 131 |
+
|
| 132 |
+
In this next experiment, we try to discern the extent to which masking out a word in a sentence makes the sentence more difficult for a fine-tuned BERT model to parse. The idea is that, for a typical word, once the word is masked out the model has less information about the sentence, and its syntactic understanding should therefore decrease; on the other hand, for a word that has an atypical or new usage, the model may end up being more confused after seeing the word than it is when the word is masked out. In the latter situation, we would expect the model's syntactic understanding of the sentence to improve if the word is masked out because, from the model's point of view, the word is misleading. A similar idea was used in §4.2 at the word level; in this section we will look at the accuracy of the tags for the whole sentence before and after a single word is masked.
|
| 133 |
+
|
| 134 |
+
For example, consider the following sentence: "Opposition Members think that is how peace processes work." A model trained on English from the 1830s is likely to think that the word "work" is a noun rather than a verb. This could lead such a model to consider an incorrect way to parse this sentence, where the subject "peace" is doing the action of processing the object "work". In this case, if the word "work" is masked out, the sentence will be more likely to be parsed correctly.
|
| 135 |
+
|
| 136 |
+
As a proxy for the success of the parsing of the sentence, we feed in the sentence to the classifiers from §3 to get predicted tags for all the words in the sentence. We can use these classifiers to get probabilistic predictions, and in particular, we can get a probability assigned to the correct tag for each word in the sentence (using Trankit tags as ground truth). We then multiply together all
|
| 137 |
+
|
| 138 |
+
these probabilities to get a measure of the overall probability the model assigns to the correct tags of the sentence. We can repeat this for both the 1830s and 1990s classifiers, and we can also repeat this when a specific word is either masked or unmasked.
|
| 139 |
+
|
| 140 |
+
We say a model is "confused" if the product of probabilities assigned to the correct (Trankit) tags is higher when the word is masked than when it is unmasked. For instance, in the above example sentence "Opposition Members think that is how peace processes work," the 1830s model may assign a wrong tag to the word "processes" when the word "work" is unmasked, but it might correctly parse the sentence if the word "work" is masked (in the latter case, it will assume the masked word is an unknown verb, while in the former case it will try to parse the sentence with a noun in that position if it believes that "work" is a noun). In other words, if the 1830s model is confused by a word, it could be because this word underwent change from the 1830s to the 1990s. We create a "confusion score" by taking the logarithm of the ratio of the two aforementioned products (i.e. the product of probabilities assigned to the other words when the selected word is masked, and the corresponding product when the selected word is unmasked).
|
| 141 |
+
|
| 142 |
+
We can get such a confusion score for any word in any sentence, and for either the 1830s model or the 1990s model. We focus on sentences from the 1990s that were not part of the training data. Since calculating confusion scores is resource-intensive, we focus on a pre-selected set of word instances, such as those identified as likely having undergone syntactic change in §4.
|
| 143 |
+
|
| 144 |
+
# 5.1 Comparing Selected Words to Random Words
|
| 145 |
+
|
| 146 |
+
We select 10,000 word occurrences for which the tag is predicted differently by the 1830s model and the 1990s model (as discussed in §4.1). For each word occurrence, we calculate a confusion score. We then compare these scores to the confusion scores of 10,000 randomly chosen word instances. Our goal is to check whether the confusion scores of the 10,000 selected words were higher than those of random words.
|
| 147 |
+
|
| 148 |
+
One possible confounder is that the selected words may be rarer than the random words. To adjust for this, we choose the random words more carefully: for each non-random word in the first set, we pick a random word conditional on its overall
|
| 149 |
+
|
| 150 |
+

|
| 151 |
+
Figure 2: Distribution of confusion scores for selected words and random words.
|
| 152 |
+
|
| 153 |
+
frequency being close to that of the original word. We define close to be within 10 percentage points in the percentile of their frequencies. The resulting distribution of the confusion scores for the random words had lighter tails than the distribution of the selected words, especially on the right-hand side of the distribution. See Figure 2.
|
| 154 |
+
|
| 155 |
+
As the figure shows, the selected word instances (for which the 1990s model and 1830s model disagree on the tags) have a higher proportion of high confusion scores than random words. Therefore, calculating confusion scores for the selected word occurrences is a more resource-efficient way to find instances of high confusion scores.
|
| 156 |
+
|
| 157 |
+
# 5.2 Further Refinements
|
| 158 |
+
|
| 159 |
+
In addition to calculating confusion scores for a word in a given sentence using the 1830s model, we also calculate confusion scores in a similar way using the 1990s model. Recall that the confusion score tells us the extent to which the BERT-based tagger performs better when a word is masked out than when it is not. Since we have two such taggers (one fine-tuned on parliamentary speeches from the 1830s and one fine-tuned on speeches from the 1990s), we can get two confusion scores for a single word in a single sentence.
|
| 160 |
+
|
| 161 |
+
In order to zoom in on syntactic change, we restrict our attention to instances where the 1990s confusion score is less than or equal to zero. Since the confusion score is the logarithm of the ratio of masked to unmasked probabilities, this means we are restricting to word instances where the 1990s model gave a better prediction of the tags when the word was unmasked than it did when the word was masked. Applying this restriction helps to remove cases that are confusing for reasons other
|
| 162 |
+
|
| 163 |
+
than language change: for example, sentences that contain typographical errors, sentences that are incorrectly parsed by Trankit, sentences that were ungrammatical when originally spoken, or other special cases. By focusing on instances that the 1830s model found confusing but that the 1990s model did not find confusing, we increase the likelihood of finding syntactic change.
|
| 164 |
+
|
| 165 |
+
# 5.3 Manual Evaluation
|
| 166 |
+
|
| 167 |
+
We generate a list of top 100 candidates for syntactic change based on these confusion scores. Of those 100 sentences, our manual evaluation determined that 33 sentences were valid instances of syntactic change. We also computed the sum of the reciprocal ranks of the 33 manually selected sentences that exhibited syntactic change. This sum was 2.802, while the maximum possible sum of reciprocal ranks would be $\frac{1}{1} + \frac{1}{2} + \ldots + \frac{1}{33} \approx 4.089$ .
|
| 168 |
+
|
| 169 |
+
# 6 Detecting the Rise of the Progressive
|
| 170 |
+
|
| 171 |
+
In this section, we check the extent to which our techniques can identify syntactic change that was previously known to exist.
|
| 172 |
+
|
| 173 |
+
The frequency of the progressive has been increasing over time (e.g. Leech et al., 2009; Hou and Smith, 2021). An example of a progressive is "he is reading" (as opposed to "he reads"); the former has a form of "to be" followed by a verb that ends in "-ing". We identify progressive constructions using the dependency parse obtained from Trankit (Nguyen et al., 2021). We then mask out the present participle if it has the tag "VBG" and if the previous word is an inflection of the verb "to be". (This means that we mask out the tokens constituting the "-ing" word as well as the "-ing" suffix itself.)
|
| 174 |
+
|
| 175 |
+
Next, we use both the 1990s model and the 1830s model to predict the POS tags of all the words in these masked sentences. We compare these predictions to each other and also to the predictions that both models give for the unmasked versions of these sentences. Finally, we take randomly chosen words in randomly chosen sentences as a control group and repeat the process for this group.
|
| 176 |
+
|
| 177 |
+
We summarize the results in two figures. First, Figure 3 shows the confusion scores for the 1830s model on the progressive sentences compared to random sentences. As the figure shows, the 1830s model is negatively confused when we mask out progressives, which means that it gets the predic
|
| 178 |
+
|
| 179 |
+

|
| 180 |
+
Figure 3: A histogram for the confusion scores of the 1830s model on progressives and on random sentences.
|
| 181 |
+
|
| 182 |
+
tion right more often on the unmasked version of these sentences than it does on the masked versions. This makes sense, as it corresponds to the insight that the 1830s model has a difficult time correctly tagging the masked progressives.
|
| 183 |
+
|
| 184 |
+

|
| 185 |
+
Figure 4: A histogram for the logarithm of the ratios between the products of probabilities assigned to the true tags by the 1990s model and the 1830s model. We compare this for progressive sentences and random sentences. In all cases, both models were given the masked version of the sentences.
|
| 186 |
+
|
| 187 |
+
Figure 4 compares the predictions of the 1990s model to those of the 1830s model for the masked sentences. It shows that the 1990s model predicts the tags of the progressive sentences better than the 1830s model does, and the gap between their predictions is larger than it is for random sentences. This is evidence that the 1830s model is unfamiliar with progressive constructions.
|
| 188 |
+
|
| 189 |
+
# 7 Related Work
|
| 190 |
+
|
| 191 |
+
It has been claimed that the performance of Transformers on downstream tasks is insensitive to word order (Hessel and Schofield, 2021; Sinha et al., 2021a; Sinha et al., 2021b; Pham et al., 2021;
|
| 192 |
+
|
| 193 |
+
Gupta et al., 2021), which is consistent with our observation that BERT fine-tuned on shuffled text can distinguish between two time periods with high accuracy; however, our experiments indicate BERT's accuracy still improves when it has access to word order, consistent with Papadimitriou et al. (2022), who argue that word order sometimes matters by considering non-prototypical cases where meanings and lexical expectations do not match.
|
| 194 |
+
|
| 195 |
+
A sizable literature considers syntactic probes for BERT embeddings (e.g. Tenney et al., 2019; Jawahar et al., 2019; Hewitt and Manning, 2019; Pimentel et al., 2020), but to our knowledge none of the works that probe syntax consider Transformers fine-tuned on different time periods.
|
| 196 |
+
|
| 197 |
+
Syntactic change detection has been understudied in the computational linguistics and NLP literature. One work on this topic is Merrill et al. (2019), in which an LSTM achieved higher accuracy compared to a model consisting of feedforward networks on the task of predicting the year of composition of sentences. However, in addition to predicting the time period of text, we also identify specific instances of syntactic change. Computational methods for the study of syntactic change also appear in Hou and Smith (2018); this work examined possible causes of the decline in the rate of passivization over time. Another related work is Lei and Wen (2020), which found dependency distance to be decreasing over time (between the years 1790 and 2017).
|
| 198 |
+
|
| 199 |
+
Many studies have used BERT to detect semantic change, including Giulianelli et al. (2020), Hu et al. (2019), and Fonteyn (2020). In addition, Beelen et al. (2021) fine-tune historical BERT models on a corpus of $19^{\mathrm{th}}$ -century English books in order to tackle the task of time-sensitive Targeted Sense Disambiguation and find that "BERT works better when it is fine-tuned on data contemporaneous to the target period".
|
| 200 |
+
|
| 201 |
+
# 8 Conclusion
|
| 202 |
+
|
| 203 |
+
We investigated the extent to which fine-tuned BERT models can distinguish between the syntax of 1830s English and 1990s English. Our approach used masking techniques, and we repeatedly compared BERT models on masked and unmasked text.
|
| 204 |
+
|
| 205 |
+
First, in §2, we hid semantic information by replacing each word with its POS tag (and representing that tag as a common English word that exemplifies that tag). We fine-tuned BERT on such
|
| 206 |
+
|
| 207 |
+
syntax-only data to see if it could tell apart text from the 1830s and text from the 1990s. We found evidence that BERT can be used to detect syntactic differences between these two time periods.
|
| 208 |
+
|
| 209 |
+
In the later sections, we masked out individual words to see whether a POS tagger based on BERT embeddings (fine-tuned on either 1830s or 1990s) can still tag correctly when the word is masked. We filtered for a specific type of error, where the 1830s model predicts the correct tag when the word is masked but not when it is unmasked, and where the 1990s model is correct even when the word is unmasked. This procedure identified candidates for syntactic change, examples of which we provide in Appendix B. We were also able to confirm the rise of the progressive construction.
|
| 210 |
+
|
| 211 |
+
An important point to highlight is that our identification of syntactic change relied on an automatic POS tagger only for the 1990s text; we avoided running any automatic tagging software on older English data. In fact, from §3 onwards, all we did with the older 1830s data was to fine-tune BERT on it in an unsupervised fashion. Despite this restriction, we were able to automatically identify words whose part of speech had undergone change between the two time periods.
|
| 212 |
+
|
| 213 |
+
# Limitations
|
| 214 |
+
|
| 215 |
+
There are several limitations to this work. First, we worked only with English and only with text from the 1830s and 1990s. Our work also required the use of GPUs; see Appendix A for details of resources used. Although we were able to automatically identify specific instances of change (and we show automatically generated examples in Appendix B), our evaluation was limited to the manual judgement of one author, and we were unable to determine the recall of our detection system (because of the lack of objective criteria for what constitutes syntactic change). Additionally, our techniques are limited in the kinds of change we can detect: we focus on finding words whose typical part of speech has changed and on validating known syntactic changes such as the rise of the progressive. We hope that similar techniques can be extended to other types of syntactic change in future work.
|
| 216 |
+
|
| 217 |
+
# Acknowledgments
|
| 218 |
+
|
| 219 |
+
We thank Jacob Eisenstein and the anonymous reviewers for their helpful feedback.
|
| 220 |
+
|
| 221 |
+
# References
|
| 222 |
+
|
| 223 |
+
Marc Alexander and Mark Davies. 2015. The Hansard Corpus 1803-2005. http://www.hansard-archive.parliament.uk/.
|
| 224 |
+
Kaspar Beelen, Federico Nanni, Mariona Coll Ardanuy, Kasra Hosseini, Giorgia Tolfo, and Barbara McGillivray. 2021. When time makes sense: A historically-aware approach to targeted sense disambiguation. In Findings of ACL-IJCNLP, pages 2751-2761.
|
| 225 |
+
Jacob Devlin, Ming-Wei Chang, Kenton Lee, and Kristina Toutanova. 2019. BERT: Pre-training of deep bidirectional transformers for language understanding. In *NAACL*, pages 4171–4186.
|
| 226 |
+
Lauren Fonteyn. 2020. What about grammar? Using BERT embeddings to explore functional-semantic shifts of semi-lexical and grammatical constructions. Computational Humanities Research, pages 257-268.
|
| 227 |
+
Mario Giulianielli, Marco Del Tredici, and Raquel Fernandez. 2020. Analysing lexical semantic change with contextualised word representations. In ACL, pages 3960-3973.
|
| 228 |
+
Kristina Gulordava, Piotr Bojanowski, Edouard Grave, Tal Linzen, and Marco Baroni. 2018. Colorless green recurrent networks dream hierarchically. In *NAACL*, pages 1195–1205.
|
| 229 |
+
Ashim Gupta, Giorgi Kvernadze, and Vivek Srikumar. 2021. BERT & family eat word salad: Experiments with text understanding. In AAAI, pages 12946-12954.
|
| 230 |
+
Jack Hessel and Alexandra Schofield. 2021. How effective is BERT without word ordering? implications for language understanding and data privacy. In ACLIJCNLP, pages 204-211.
|
| 231 |
+
John Hewitt and Christopher D. Manning. 2019. A structural probe for finding syntax in word representations. In *NAACL*, pages 4129-4138.
|
| 232 |
+
Liwen Hou. 2022. Detecting and Modeling Syntactic Change. Ph.D. thesis, Northeastern University.
|
| 233 |
+
Liwen Hou and David A Smith. 2018. Modeling the decline in English passivization. In SCiL, pages 34-43.
|
| 234 |
+
Liwen Hou and David A. Smith. 2021. Drivers of English syntactic change in the Canadian parliament. In *SCiL*, pages 51–60.
|
| 235 |
+
Renfen Hu, Shen Li, and Shichen Liang. 2019. Diachronic sense modeling with deep contextualized word embeddings: An ecological view. In ACL, pages 3899-3908.
|
| 236 |
+
Ganesh Jawahar, Benoit Sagot, and Djamé Seddah. 2019. What does BERT learn about the structure of language? In ACL, pages 3651-3657.
|
| 237 |
+
|
| 238 |
+
Geoffrey Leech, Marianne Hundt, Christian Mair, and Nicholas Smith. 2009. Change in Contemporary English: A Grammatical Study. Studies in English Language. Cambridge University Press.
|
| 239 |
+
Lei Lei and Ju Wen. 2020. Is dependency distance experiencing a process of minimization? A diachronic study based on the State of the Union addresses. *Lingua*, 239:102762.
|
| 240 |
+
Christopher D. Manning, Mihai Surdeanu, John Bauer, Jenny Finkel, Steven J. Bethard, and David McClosky. 2014. The Stanford CoreNLP natural language processing toolkit. In ACL System Demonstrations, pages 55-60.
|
| 241 |
+
William Merrill, Gigi Stark, and Robert Frank. 2019. Detecting syntactic change using a neural part-of-speech tagger. In International Workshop on Computational Approaches to Historical Language Change, pages 167-174.
|
| 242 |
+
Minh Van Nguyen, Viet Dac Lai, Amir Pouran Ben Veyseh, and Thien Huu Nguyen. 2021. Trankit: A lightweight transformer-based toolkit for multilingual natural language processing. In EACL System Demonstrations, pages 80-90.
|
| 243 |
+
Isabel Papadimitriou, Richard Futrell, and Kyle Mahowald. 2022. When classifying grammatical role, BERT doesn't care about word order... except when it matters. In ACL, pages 636-643.
|
| 244 |
+
Adam Paszke, Sam Gross, Francisco Massa, Adam Lerer, James Bradbury, Gregory Chanan, Trevor Killeen, Zeming Lin, Natalia Gimelshein, Luca Antiga, Alban Desmaison, Andreas Kopf, Edward Yang, Zachary DeVito, Martin Raison, Alykhan Tejani, Sasank Chilamkurthy, Benoit Steiner, Lu Fang, Junjie Bai, and Soumith Chintala. 2019. PyTorch: An imperative style, high-performance deep learning library. In NeurIPS, pages 8024-8035.
|
| 245 |
+
Thang Pham, Trung Bui, Long Mai, and Anh Nguyen. 2021. Out of order: How important is the sequential order of words in a sentence in natural language understanding tasks? In Findings of ACL-IJCNLP, pages 1145-1160.
|
| 246 |
+
Tiago Pimentel, Josef Valvoda, Rowan Hall Maudslay, Ran Zmigrod, Adina Williams, and Ryan Cotterell. 2020. Information-theoretic probing for linguistic structure. In ACL, pages 4609-4622.
|
| 247 |
+
Koustuv Sinha, Robin Jia, Dieuwke Hupkes, Joelle Pineau, Adina Williams, and Douwe Kiela. 2021a. Masked language modeling and the distributional hypothesis: Order word matters pre-training for little. In EMNLP, pages 2888-2913.
|
| 248 |
+
Koustuv Sinha, Prasanna Parthasarathi, Joelle Pineau, and Adina Williams. 2021b. UnNatural Language Inference. In ACL-IJCNLP, pages 7329-7346.
|
| 249 |
+
Ian Tenney, Dipanjan Das, and Ellie Pavlick. 2019. BERT rediscovers the classical NLP pipeline. In ACL, pages 4593-4601.
|
| 250 |
+
|
| 251 |
+
Thomas Wolf, Lysandre Debut, Victor Sanh, Julien Chaumond, Clement Delangue, Anthony Moi, Pierric Cistac, Tim Rault, Remi Louf, Morgan Funtowicz, Joe Davison, Sam Shleifer, Patrick von Platen, Clara Ma, Yacine Jernite, Julien Plu, Canwen Xu, Teven Le Scao, Sylvain Gugger, Mariama Drame, Quentin Lhoest, and Alexander Rush. 2020. Transformers: State-of-the-art natural language processing. In EMNLP System Demonstrations, pages 38-45.
|
| 252 |
+
|
| 253 |
+
# A Resources Used
|
| 254 |
+
|
| 255 |
+
In this work, we mentioned and used the following licensed resources: BERT (Devlin et al., 2019), which uses Apache 2.0 license; UK Parliament Hansard Corpus (Alexander and Davies, 2015), which uses Open Parliament Licence; Trankit large version 1.1.0 (Nguyen et al., 2021), which uses Apache 2.0 license; and Stanford CoreNLP version 4.2.2 (Manning et al., 2014), which uses the GNU General Public License v3.0. All of these licenses allow the type of research conducted in our work. Moreover, our work falls within the intended use of each of these resources.
|
| 256 |
+
|
| 257 |
+
Our work required GPU computation. We used NVIDIA Tesla V100 and P100 GPUs over several months while working on the results of this paper. Running Trankit was the slowest step and took around 72 GPU hours; the total GPU time to reproduce our final results would be under a week.
|
| 258 |
+
|
| 259 |
+
# B Automatically Identified Words
|
| 260 |
+
|
| 261 |
+
Table 2 shows the top of the list of automatically identified words whose part-of-speech usage may have changed; a longer list can be found in Appendix A of the first author's thesis (Hou, 2022). For each word, we give an example sentence from the 1990s on which the 1830s model was "confused". For each example sentence, we give the Trankit tag and two sets of probabilistic tag predictions given by the 1830s model; one set corresponds to the tags predicted by the 1830s model for the highlighted word when the word was masked, and the other set corresponds to the tags predicted by the 1830s model for the highlighted word when the word was unmasked. (For brevity, we only list the tag predictions to which the model assigns at least $30\%$ probability.) An arrow such as 'JJ $\rightarrow$ Noun' indicates that the correct tag in the 1990s was 'Noun' but that the unmasked 1830s model put a high weight on 'JJ' instead; this suggests the word changed from 'JJ' in the 1830s to 'Noun' in the 1990s. (Recall that all POS tags for nouns were merged into a single 'Noun' category.)
|
| 262 |
+
|
| 263 |
+
<table><tr><td rowspan="2">opposite
|
| 264 |
+
JJ→Noun</td><td colspan="3">“The mandatory life sentence does the opposite of what it sets out to achieve, and it should go.”</td></tr><tr><td>Trankit: Noun</td><td>masked tag: 84% Noun</td><td>unmasked tag: 93% JJ</td></tr><tr><td rowspan="2">presume
|
| 265 |
+
VB→VBP</td><td colspan="3">“I presume that that shows they will be on message until they die.”</td></tr><tr><td>Trankit: VBP</td><td>masked tag: 98% VBP</td><td>unmasked tag: 38% VB, 32% VBP</td></tr><tr><td rowspan="2">corporal
|
| 266 |
+
Noun→JJ</td><td colspan="3">“The school board wrote to me on 29 October advocating the reintroduction of corporal punishment in schools as a deterrent of last resort.”</td></tr><tr><td>Trankit: JJ</td><td>masked tag: 74% JJ</td><td>unmasked tag: 95% Noun</td></tr><tr><td rowspan="2">intrepid
|
| 267 |
+
JJ→Noun</td><td colspan="3">“The second category are the Royal Marine's principal transport and landing ships, Fearless and Intrepid.”</td></tr><tr><td>Trankit: Noun</td><td>masked tag: 64% Noun</td><td>unmasked tag: 97% JJ</td></tr><tr><td rowspan="2">evil
|
| 268 |
+
Noun→JJ</td><td colspan="3">“The gunmen, in the evil atrocity that they committed, symbolised the past.”</td></tr><tr><td>Trankit: JJ</td><td>masked tag: 82% JJ</td><td>unmasked tag: 99% Noun</td></tr><tr><td rowspan="2">remembered
|
| 269 |
+
JJ→VBN</td><td colspan="3">“It should be remembered that, during the period 1974 – 79, when he was a senior Cabinet Minister, the steel industry was inefficient and unprofitable.”</td></tr><tr><td>Trankit: VBN</td><td>masked tag: 86% VBN</td><td>unmasked tag: 64% JJ, 36% VBN</td></tr><tr><td rowspan="2">shut
|
| 270 |
+
VBD→VBN</td><td colspan="3">“My second charge is that the Prime Minister has consistently talked about the incentive society with open opportunities for all, yet her policies have effectively shut out a quarter of the nation.”</td></tr><tr><td>Trankit: VBN</td><td>masked tag: 97% VBN</td><td>unmasked tag: 86% VBD</td></tr><tr><td rowspan="2">offending
|
| 271 |
+
JJ→Noun</td><td colspan="3">“I can vouch for the fact that juvenile offending is a major problem in my constituency.”</td></tr><tr><td>Trankit: Noun</td><td>masked tag: 98% Noun</td><td>unmasked tag: 58% JJ</td></tr><tr><td rowspan="2">granting
|
| 272 |
+
VBG→Noun</td><td colspan="3">“In most normal cases there will be the usual opportunity for consultation and granting of opinion from the local community.”</td></tr><tr><td>Trankit: Noun</td><td>masked tag: 99% Noun</td><td>unmasked tag: 98% VBG</td></tr><tr><td rowspan="2">disposed
|
| 273 |
+
Noun→VBN</td><td colspan="3">“Mr. Streeter: To ask the Secretary of State for Defence what Ministry of Defence land and buildings in Plymouth he expects to be surplus to MOD requirement in the next five years and to be disposed of to the private sector.”</td></tr><tr><td>Trankit: VBN</td><td>masked tag: 87% VBN</td><td>unmasked tag: 48% Noun, 31% VBN</td></tr><tr><td rowspan="2">exciting
|
| 274 |
+
VBG→JJ</td><td colspan="3">“We should also encourage housing associations to feel the exciting and exhilarating wind of competition.”</td></tr><tr><td>Trankit: JJ</td><td>masked tag: 99% JJ</td><td>unmasked tag: 94% VBG</td></tr><tr><td rowspan="2">laying
|
| 275 |
+
VBG→Noun</td><td colspan="3">“More significant orders, especially those exercising the so-called Henry VIII powers, are to be subject to laying in draft and affirmative resolution.”</td></tr><tr><td>Trankit: Noun</td><td>masked tag: 98% Noun</td><td>unmasked tag: 98% VBG</td></tr><tr><td rowspan="2">notwithstanding
|
| 276 |
+
VBG→IN</td><td colspan="3">"Notwithstanding signal failures and operational difficulties, I look forward to using that fast service.”</td></tr><tr><td>Trankit: IN</td><td>masked tag: 84% IN</td><td>unmasked tag: 86% VBG</td></tr></table>
|
| 277 |
+
|
| 278 |
+
Table 2: Automatically identified words whose part-of-speech usage may have changed
|
2023/Detecting Syntactic Change with Pre-trained Transformer Models/images.zip
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:9504779080062c63524025b74ae9e8c5c4af4136fe8e9b69a4859cac0c9edba6
|
| 3 |
+
size 489339
|
2023/Detecting Syntactic Change with Pre-trained Transformer Models/layout.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
2023/Detrimental Contexts in Open-Domain Question Answering/1aae5c2b-0c07-4ccb-ad79-139133468d78_content_list.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|