Chelsea707 commited on
Commit
acbb753
·
verified ·
1 Parent(s): 6f2132d

Add Batch 86e84251-afd0-4a36-90f1-e1681024dcc7 data

Browse files
This view is limited to 50 files because it contains too many changes.   See raw diff
Files changed (50) hide show
  1. .gitattributes +64 -0
  2. 2023/Common Law Annotations_ Investigating the Stability of Dialog System Output Annotations/954eaa6a-8529-416a-8e69-2af9134bed4d_content_list.json +0 -0
  3. 2023/Common Law Annotations_ Investigating the Stability of Dialog System Output Annotations/954eaa6a-8529-416a-8e69-2af9134bed4d_model.json +0 -0
  4. 2023/Common Law Annotations_ Investigating the Stability of Dialog System Output Annotations/954eaa6a-8529-416a-8e69-2af9134bed4d_origin.pdf +3 -0
  5. 2023/Common Law Annotations_ Investigating the Stability of Dialog System Output Annotations/full.md +922 -0
  6. 2023/Common Law Annotations_ Investigating the Stability of Dialog System Output Annotations/images.zip +3 -0
  7. 2023/Common Law Annotations_ Investigating the Stability of Dialog System Output Annotations/layout.json +0 -0
  8. 2023/Commonsense Knowledge Graph Completion Via Contrastive Pretraining and Node Clustering/8ad456f0-7f0d-40ee-8bd0-7b70b4a0c21c_content_list.json +2450 -0
  9. 2023/Commonsense Knowledge Graph Completion Via Contrastive Pretraining and Node Clustering/8ad456f0-7f0d-40ee-8bd0-7b70b4a0c21c_model.json +0 -0
  10. 2023/Commonsense Knowledge Graph Completion Via Contrastive Pretraining and Node Clustering/8ad456f0-7f0d-40ee-8bd0-7b70b4a0c21c_origin.pdf +3 -0
  11. 2023/Commonsense Knowledge Graph Completion Via Contrastive Pretraining and Node Clustering/full.md +433 -0
  12. 2023/Commonsense Knowledge Graph Completion Via Contrastive Pretraining and Node Clustering/images.zip +3 -0
  13. 2023/Commonsense Knowledge Graph Completion Via Contrastive Pretraining and Node Clustering/layout.json +0 -0
  14. 2023/Commonsense Knowledge Transfer for Pre-trained Language Models/f96ae55a-934d-4cd1-b9c6-f4ed8849b12f_content_list.json +1784 -0
  15. 2023/Commonsense Knowledge Transfer for Pre-trained Language Models/f96ae55a-934d-4cd1-b9c6-f4ed8849b12f_model.json +0 -0
  16. 2023/Commonsense Knowledge Transfer for Pre-trained Language Models/f96ae55a-934d-4cd1-b9c6-f4ed8849b12f_origin.pdf +3 -0
  17. 2023/Commonsense Knowledge Transfer for Pre-trained Language Models/full.md +325 -0
  18. 2023/Commonsense Knowledge Transfer for Pre-trained Language Models/images.zip +3 -0
  19. 2023/Commonsense Knowledge Transfer for Pre-trained Language Models/layout.json +0 -0
  20. 2023/Communication Efficient Federated Learning for Multilingual Neural Machine Translation with Adapter/6f207301-9f3f-466d-aed1-4bdd052903e2_content_list.json +2078 -0
  21. 2023/Communication Efficient Federated Learning for Multilingual Neural Machine Translation with Adapter/6f207301-9f3f-466d-aed1-4bdd052903e2_model.json +0 -0
  22. 2023/Communication Efficient Federated Learning for Multilingual Neural Machine Translation with Adapter/6f207301-9f3f-466d-aed1-4bdd052903e2_origin.pdf +3 -0
  23. 2023/Communication Efficient Federated Learning for Multilingual Neural Machine Translation with Adapter/full.md +415 -0
  24. 2023/Communication Efficient Federated Learning for Multilingual Neural Machine Translation with Adapter/images.zip +3 -0
  25. 2023/Communication Efficient Federated Learning for Multilingual Neural Machine Translation with Adapter/layout.json +0 -0
  26. 2023/Complementary Explanations for Effective In-Context Learning/a50d012a-1115-4961-8cce-819a0bcf40d0_content_list.json +0 -0
  27. 2023/Complementary Explanations for Effective In-Context Learning/a50d012a-1115-4961-8cce-819a0bcf40d0_model.json +0 -0
  28. 2023/Complementary Explanations for Effective In-Context Learning/a50d012a-1115-4961-8cce-819a0bcf40d0_origin.pdf +3 -0
  29. 2023/Complementary Explanations for Effective In-Context Learning/full.md +469 -0
  30. 2023/Complementary Explanations for Effective In-Context Learning/images.zip +3 -0
  31. 2023/Complementary Explanations for Effective In-Context Learning/layout.json +0 -0
  32. 2023/Compositional Mathematical Encoding for Math Word Problems/801bbb7b-d8b8-4c19-87bf-9a90de8c668a_content_list.json +1750 -0
  33. 2023/Compositional Mathematical Encoding for Math Word Problems/801bbb7b-d8b8-4c19-87bf-9a90de8c668a_model.json +2046 -0
  34. 2023/Compositional Mathematical Encoding for Math Word Problems/801bbb7b-d8b8-4c19-87bf-9a90de8c668a_origin.pdf +3 -0
  35. 2023/Compositional Mathematical Encoding for Math Word Problems/full.md +329 -0
  36. 2023/Compositional Mathematical Encoding for Math Word Problems/images.zip +3 -0
  37. 2023/Compositional Mathematical Encoding for Math Word Problems/layout.json +0 -0
  38. 2023/Computer says “No”_ The Case Against Empathetic Conversational AI/919d9a05-5ebb-4c0e-a1de-82ff5cd4abb0_content_list.json +1296 -0
  39. 2023/Computer says “No”_ The Case Against Empathetic Conversational AI/919d9a05-5ebb-4c0e-a1de-82ff5cd4abb0_model.json +1547 -0
  40. 2023/Computer says “No”_ The Case Against Empathetic Conversational AI/919d9a05-5ebb-4c0e-a1de-82ff5cd4abb0_origin.pdf +3 -0
  41. 2023/Computer says “No”_ The Case Against Empathetic Conversational AI/full.md +222 -0
  42. 2023/Computer says “No”_ The Case Against Empathetic Conversational AI/layout.json +0 -0
  43. 2023/ConKI_ Contrastive Knowledge Injection for Multimodal Sentiment Analysis/b434c033-5cf4-43ce-8d1a-9159c5428ecf_content_list.json +0 -0
  44. 2023/ConKI_ Contrastive Knowledge Injection for Multimodal Sentiment Analysis/b434c033-5cf4-43ce-8d1a-9159c5428ecf_model.json +0 -0
  45. 2023/ConKI_ Contrastive Knowledge Injection for Multimodal Sentiment Analysis/b434c033-5cf4-43ce-8d1a-9159c5428ecf_origin.pdf +3 -0
  46. 2023/ConKI_ Contrastive Knowledge Injection for Multimodal Sentiment Analysis/full.md +467 -0
  47. 2023/ConKI_ Contrastive Knowledge Injection for Multimodal Sentiment Analysis/images.zip +3 -0
  48. 2023/ConKI_ Contrastive Knowledge Injection for Multimodal Sentiment Analysis/layout.json +0 -0
  49. 2023/Concept2Box_ Joint Geometric Embeddings for Learning Two-View Knowledge Graphs/a7ac92f6-3015-4bc3-abcd-68379068a363_content_list.json +2118 -0
  50. 2023/Concept2Box_ Joint Geometric Embeddings for Learning Two-View Knowledge Graphs/a7ac92f6-3015-4bc3-abcd-68379068a363_model.json +0 -0
.gitattributes CHANGED
@@ -5219,3 +5219,67 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
5219
  2023/Code-Switched[[:space:]]Text[[:space:]]Synthesis[[:space:]]in[[:space:]]Unseen[[:space:]]Language[[:space:]]Pairs/b627b8b3-6d9e-49f2-a9f8-3a27be6b8015_origin.pdf filter=lfs diff=lfs merge=lfs -text
5220
  2023/CodePrompt_[[:space:]]Task-Agnostic[[:space:]]Prefix[[:space:]]Tuning[[:space:]]for[[:space:]]Program[[:space:]]and[[:space:]]Language[[:space:]]Generation/7f6aa9d3-5907-4e0f-8830-86a860ebc33b_origin.pdf filter=lfs diff=lfs merge=lfs -text
5221
  2023/Coherent[[:space:]]or[[:space:]]Not_[[:space:]]Stressing[[:space:]]a[[:space:]]Neural[[:space:]]Language[[:space:]]Model[[:space:]]for[[:space:]]Discourse[[:space:]]Coherence[[:space:]]in[[:space:]]Multiple[[:space:]]Languages/30e11dca-164c-4670-973d-dc3881674ea2_origin.pdf filter=lfs diff=lfs merge=lfs -text
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
5219
  2023/Code-Switched[[:space:]]Text[[:space:]]Synthesis[[:space:]]in[[:space:]]Unseen[[:space:]]Language[[:space:]]Pairs/b627b8b3-6d9e-49f2-a9f8-3a27be6b8015_origin.pdf filter=lfs diff=lfs merge=lfs -text
5220
  2023/CodePrompt_[[:space:]]Task-Agnostic[[:space:]]Prefix[[:space:]]Tuning[[:space:]]for[[:space:]]Program[[:space:]]and[[:space:]]Language[[:space:]]Generation/7f6aa9d3-5907-4e0f-8830-86a860ebc33b_origin.pdf filter=lfs diff=lfs merge=lfs -text
5221
  2023/Coherent[[:space:]]or[[:space:]]Not_[[:space:]]Stressing[[:space:]]a[[:space:]]Neural[[:space:]]Language[[:space:]]Model[[:space:]]for[[:space:]]Discourse[[:space:]]Coherence[[:space:]]in[[:space:]]Multiple[[:space:]]Languages/30e11dca-164c-4670-973d-dc3881674ea2_origin.pdf filter=lfs diff=lfs merge=lfs -text
5222
+ 2023/Common[[:space:]]Law[[:space:]]Annotations_[[:space:]]Investigating[[:space:]]the[[:space:]]Stability[[:space:]]of[[:space:]]Dialog[[:space:]]System[[:space:]]Output[[:space:]]Annotations/954eaa6a-8529-416a-8e69-2af9134bed4d_origin.pdf filter=lfs diff=lfs merge=lfs -text
5223
+ 2023/Commonsense[[:space:]]Knowledge[[:space:]]Graph[[:space:]]Completion[[:space:]]Via[[:space:]]Contrastive[[:space:]]Pretraining[[:space:]]and[[:space:]]Node[[:space:]]Clustering/8ad456f0-7f0d-40ee-8bd0-7b70b4a0c21c_origin.pdf filter=lfs diff=lfs merge=lfs -text
5224
+ 2023/Commonsense[[:space:]]Knowledge[[:space:]]Transfer[[:space:]]for[[:space:]]Pre-trained[[:space:]]Language[[:space:]]Models/f96ae55a-934d-4cd1-b9c6-f4ed8849b12f_origin.pdf filter=lfs diff=lfs merge=lfs -text
5225
+ 2023/Communication[[:space:]]Efficient[[:space:]]Federated[[:space:]]Learning[[:space:]]for[[:space:]]Multilingual[[:space:]]Neural[[:space:]]Machine[[:space:]]Translation[[:space:]]with[[:space:]]Adapter/6f207301-9f3f-466d-aed1-4bdd052903e2_origin.pdf filter=lfs diff=lfs merge=lfs -text
5226
+ 2023/Complementary[[:space:]]Explanations[[:space:]]for[[:space:]]Effective[[:space:]]In-Context[[:space:]]Learning/a50d012a-1115-4961-8cce-819a0bcf40d0_origin.pdf filter=lfs diff=lfs merge=lfs -text
5227
+ 2023/Compositional[[:space:]]Mathematical[[:space:]]Encoding[[:space:]]for[[:space:]]Math[[:space:]]Word[[:space:]]Problems/801bbb7b-d8b8-4c19-87bf-9a90de8c668a_origin.pdf filter=lfs diff=lfs merge=lfs -text
5228
+ 2023/Computer[[:space:]]says[[:space:]]“No”_[[:space:]]The[[:space:]]Case[[:space:]]Against[[:space:]]Empathetic[[:space:]]Conversational[[:space:]]AI/919d9a05-5ebb-4c0e-a1de-82ff5cd4abb0_origin.pdf filter=lfs diff=lfs merge=lfs -text
5229
+ 2023/ConKI_[[:space:]]Contrastive[[:space:]]Knowledge[[:space:]]Injection[[:space:]]for[[:space:]]Multimodal[[:space:]]Sentiment[[:space:]]Analysis/b434c033-5cf4-43ce-8d1a-9159c5428ecf_origin.pdf filter=lfs diff=lfs merge=lfs -text
5230
+ 2023/Concept2Box_[[:space:]]Joint[[:space:]]Geometric[[:space:]]Embeddings[[:space:]]for[[:space:]]Learning[[:space:]]Two-View[[:space:]]Knowledge[[:space:]]Graphs/a7ac92f6-3015-4bc3-abcd-68379068a363_origin.pdf filter=lfs diff=lfs merge=lfs -text
5231
+ 2023/Conformal[[:space:]]Nucleus[[:space:]]Sampling/39826fe0-3dde-4001-a9ca-9e6036bc530d_origin.pdf filter=lfs diff=lfs merge=lfs -text
5232
+ 2023/Connectivity[[:space:]]Patterns[[:space:]]are[[:space:]]Task[[:space:]]Embeddings/2edb6b34-fce4-4345-b22d-ee57d10cffcd_origin.pdf filter=lfs diff=lfs merge=lfs -text
5233
+ 2023/Constructing[[:space:]]Code-mixed[[:space:]]Universal[[:space:]]Dependency[[:space:]]Forest[[:space:]]for[[:space:]]Unbiased[[:space:]]Cross-lingual[[:space:]]Relation[[:space:]]Extraction/429c226a-56a4-4156-971d-3a66e0e9b66b_origin.pdf filter=lfs diff=lfs merge=lfs -text
5234
+ 2023/Constructing[[:space:]]Procedural[[:space:]]Graphs[[:space:]]with[[:space:]]Multiple[[:space:]]Dependency[[:space:]]Relations_[[:space:]]A[[:space:]]New[[:space:]]Dataset[[:space:]]and[[:space:]]Baseline/5b1bfda9-cf73-4295-b9e0-bfde530e97f1_origin.pdf filter=lfs diff=lfs merge=lfs -text
5235
+ 2023/Constructing[[:space:]]Word-Context-Coupled[[:space:]]Space[[:space:]]Aligned[[:space:]]with[[:space:]]Associative[[:space:]]Knowledge[[:space:]]Relations[[:space:]]for[[:space:]]Interpretable[[:space:]]Language[[:space:]]Modeling/8b4df5c0-9402-4afb-be44-169f19da2689_origin.pdf filter=lfs diff=lfs merge=lfs -text
5236
+ 2023/Context[[:space:]]or[[:space:]]Knowledge[[:space:]]is[[:space:]]Not[[:space:]]Always[[:space:]]Necessary_[[:space:]]A[[:space:]]Contrastive[[:space:]]Learning[[:space:]]Framework[[:space:]]for[[:space:]]Emotion[[:space:]]Recognition[[:space:]]in[[:space:]]Conversations/acb9a5c0-b7ea-46aa-b58f-31bf099745e8_origin.pdf filter=lfs diff=lfs merge=lfs -text
5237
+ 2023/Context-Aware[[:space:]]Document[[:space:]]Simplification/3a00946c-ec4c-4520-a60c-6f2337b5b9fc_origin.pdf filter=lfs diff=lfs merge=lfs -text
5238
+ 2023/Contextualized[[:space:]]Semantic[[:space:]]Distance[[:space:]]between[[:space:]]Highly[[:space:]]Overlapped[[:space:]]Texts/9fe0fdbd-465f-4d9b-bd88-b892cf6a144f_origin.pdf filter=lfs diff=lfs merge=lfs -text
5239
+ 2023/Contextualized[[:space:]]Soft[[:space:]]Prompts[[:space:]]for[[:space:]]Extraction[[:space:]]of[[:space:]]Event[[:space:]]Arguments/a537edee-bb8c-41b5-b6f8-eccc0b23c307_origin.pdf filter=lfs diff=lfs merge=lfs -text
5240
+ 2023/Contrastive[[:space:]]Learning[[:space:]]of[[:space:]]Sociopragmatic[[:space:]]Meaning[[:space:]]in[[:space:]]Social[[:space:]]Media/e55c419a-045c-4945-830d-cfb5b7e031d0_origin.pdf filter=lfs diff=lfs merge=lfs -text
5241
+ 2023/Contrastive[[:space:]]Learning[[:space:]]with[[:space:]]Generated[[:space:]]Representations[[:space:]]for[[:space:]]Inductive[[:space:]]Knowledge[[:space:]]Graph[[:space:]]Embedding/343e40b9-1aff-40d5-b4ec-dbd1369b1299_origin.pdf filter=lfs diff=lfs merge=lfs -text
5242
+ 2023/Contrastive[[:space:]]Token-Wise[[:space:]]Meta-Learning[[:space:]]for[[:space:]]Unseen[[:space:]]Performer[[:space:]]Visual[[:space:]]Temporal-Aligned[[:space:]]Translation/958bf3a6-c967-4fc4-8fb2-fcb56acfa1a8_origin.pdf filter=lfs diff=lfs merge=lfs -text
5243
+ 2023/Contrastive[[:space:]]Training[[:space:]]Improves[[:space:]]Zero-Shot[[:space:]]Classification[[:space:]]of[[:space:]]Semi-structured[[:space:]]Documents/d276a959-8684-4308-919d-45092a02bda6_origin.pdf filter=lfs diff=lfs merge=lfs -text
5244
+ 2023/Controllable[[:space:]]Conversation[[:space:]]Generation[[:space:]]with[[:space:]]Conversation[[:space:]]Structures[[:space:]]via[[:space:]]Diffusion[[:space:]]Models/2b5fbf94-c9ae-4927-9078-e78e607c20c5_origin.pdf filter=lfs diff=lfs merge=lfs -text
5245
+ 2023/Controlled[[:space:]]Text[[:space:]]Generation[[:space:]]with[[:space:]]Hidden[[:space:]]Representation[[:space:]]Transformations/4c66b10a-fd66-4289-847c-ba27e096727b_origin.pdf filter=lfs diff=lfs merge=lfs -text
5246
+ 2023/Controlling[[:space:]]Styles[[:space:]]in[[:space:]]Neural[[:space:]]Machine[[:space:]]Translation[[:space:]]with[[:space:]]Activation[[:space:]]Prompt/c0680bdc-4c76-47f5-ae4c-4a0733d3fb0c_origin.pdf filter=lfs diff=lfs merge=lfs -text
5247
+ 2023/Correction[[:space:]]of[[:space:]]Errors[[:space:]]in[[:space:]]Preference[[:space:]]Ratings[[:space:]]from[[:space:]]Automated[[:space:]]Metrics[[:space:]]for[[:space:]]Text[[:space:]]Generation/f9517422-ff31-4ee6-b543-974f1a3bcbec_origin.pdf filter=lfs diff=lfs merge=lfs -text
5248
+ 2023/Cost-effective[[:space:]]Distillation[[:space:]]of[[:space:]]Large[[:space:]]Language[[:space:]]Models/265abe14-6ef5-4eb2-a29c-3219a00ee31b_origin.pdf filter=lfs diff=lfs merge=lfs -text
5249
+ 2023/Counterfactual[[:space:]]Probing[[:space:]]for[[:space:]]the[[:space:]]Influence[[:space:]]of[[:space:]]Affect[[:space:]]and[[:space:]]Specificity[[:space:]]on[[:space:]]Intergroup[[:space:]]Bias/b14b15cf-04a6-4ab7-a421-a395d36324f2_origin.pdf filter=lfs diff=lfs merge=lfs -text
5250
+ 2023/Counterfactuals[[:space:]]of[[:space:]]Counterfactuals_[[:space:]]a[[:space:]]back-translation-inspired[[:space:]]approach[[:space:]]to[[:space:]]analyse[[:space:]]counterfactual[[:space:]]editors/3a3957f5-d5b3-4162-9856-974e40ae3d89_origin.pdf filter=lfs diff=lfs merge=lfs -text
5251
+ 2023/Coupling[[:space:]]Large[[:space:]]Language[[:space:]]Models[[:space:]]with[[:space:]]Logic[[:space:]]Programming[[:space:]]for[[:space:]]Robust[[:space:]]and[[:space:]]General[[:space:]]Reasoning[[:space:]]from[[:space:]]Text/a7aeff65-0fe1-4520-b8dd-3902f7f2e3b0_origin.pdf filter=lfs diff=lfs merge=lfs -text
5252
+ 2023/Critic-Guided[[:space:]]Decoding[[:space:]]for[[:space:]]Controlled[[:space:]]Text[[:space:]]Generation/81402f2c-cabd-453f-8428-d7dd6f5f45ac_origin.pdf filter=lfs diff=lfs merge=lfs -text
5253
+ 2023/Cross[[:space:]]Encoding[[:space:]]as[[:space:]]Augmentation_[[:space:]]Towards[[:space:]]Effective[[:space:]]Educational[[:space:]]Text[[:space:]]Classification/1cb6dcbd-a06c-4faa-a7d8-8437c9243be8_origin.pdf filter=lfs diff=lfs merge=lfs -text
5254
+ 2023/Cross-Domain[[:space:]]Argument[[:space:]]Quality[[:space:]]Estimation/edd3df0c-d46b-4ae6-94b9-810e4dce4c9d_origin.pdf filter=lfs diff=lfs merge=lfs -text
5255
+ 2023/Cross-Lingual[[:space:]]Knowledge[[:space:]]Distillation[[:space:]]for[[:space:]]Answer[[:space:]]Sentence[[:space:]]Selection[[:space:]]in[[:space:]]Low-Resource[[:space:]]Languages/1c072d91-6caa-4b05-8bcb-98f19a996249_origin.pdf filter=lfs diff=lfs merge=lfs -text
5256
+ 2023/Cross-Lingual[[:space:]]Retrieval[[:space:]]Augmented[[:space:]]Prompt[[:space:]]for[[:space:]]Low-Resource[[:space:]]Languages/25111c68-eed8-430a-a63d-eebb12c573d1_origin.pdf filter=lfs diff=lfs merge=lfs -text
5257
+ 2023/Cross-Lingual[[:space:]]Transfer[[:space:]]with[[:space:]]Target[[:space:]]Language-Ready[[:space:]]Task[[:space:]]Adapters/590ff230-f4d2-4c89-bbd2-57ac17933f66_origin.pdf filter=lfs diff=lfs merge=lfs -text
5258
+ 2023/Cross-lingual[[:space:]]AMR[[:space:]]Aligner_[[:space:]]Paying[[:space:]]Attention[[:space:]]to[[:space:]]Cross-Attention/c6ec5440-480a-49de-aa43-cbde925d1346_origin.pdf filter=lfs diff=lfs merge=lfs -text
5259
+ 2023/Cross-task[[:space:]]Knowledge[[:space:]]Transfer[[:space:]]for[[:space:]]Extremely[[:space:]]Weakly[[:space:]]Supervised[[:space:]]Text[[:space:]]Classification/c8f8c5aa-39ea-40f6-b9de-6c91f7a6ba3d_origin.pdf filter=lfs diff=lfs merge=lfs -text
5260
+ 2023/Curating[[:space:]]Datasets[[:space:]]for[[:space:]]Better[[:space:]]Performance[[:space:]]with[[:space:]]Example[[:space:]]Training[[:space:]]Dynamics/4d9b1605-a43c-46f6-a166-6873f3f856db_origin.pdf filter=lfs diff=lfs merge=lfs -text
5261
+ 2023/D-CALM_[[:space:]]A[[:space:]]Dynamic[[:space:]]Clustering-based[[:space:]]Active[[:space:]]Learning[[:space:]]Approach[[:space:]]for[[:space:]]Mitigating[[:space:]]Bias/afde61a8-fe10-4965-8479-c70148009a80_origin.pdf filter=lfs diff=lfs merge=lfs -text
5262
+ 2023/DEnsity_[[:space:]]Open-domain[[:space:]]Dialogue[[:space:]]Evaluation[[:space:]]Metric[[:space:]]using[[:space:]]Density[[:space:]]Estimation/40d36ed3-20d6-45bb-8fb7-8aa55d911b82_origin.pdf filter=lfs diff=lfs merge=lfs -text
5263
+ 2023/DKAF_[[:space:]]KB[[:space:]]Arbitration[[:space:]]for[[:space:]]Learning[[:space:]]Task-Oriented[[:space:]]Dialog[[:space:]]Systems[[:space:]]with[[:space:]]Dialog-KB[[:space:]]Inconsistencies/b221ac28-aa5f-4416-8f5a-0f37b594d14f_origin.pdf filter=lfs diff=lfs merge=lfs -text
5264
+ 2023/DLAMA_[[:space:]]A[[:space:]]Framework[[:space:]]for[[:space:]]Curating[[:space:]]Culturally[[:space:]]Diverse[[:space:]]Facts[[:space:]]for[[:space:]]Probing[[:space:]]the[[:space:]]Knowledge[[:space:]]of[[:space:]]Pretrained[[:space:]]Language[[:space:]]Models/eeb16766-7c13-4756-baad-fbd788f05546_origin.pdf filter=lfs diff=lfs merge=lfs -text
5265
+ 2023/DMLM_[[:space:]]Descriptive[[:space:]]Masked[[:space:]]Language[[:space:]]Modeling/1cfec941-5a85-4563-9aa7-b6dbcf333d14_origin.pdf filter=lfs diff=lfs merge=lfs -text
5266
+ 2023/DP-BART[[:space:]]for[[:space:]]Privatized[[:space:]]Text[[:space:]]Rewriting[[:space:]]under[[:space:]]Local[[:space:]]Differential[[:space:]]Privacy/cc468bce-8339-4836-98cf-48dfab039b0e_origin.pdf filter=lfs diff=lfs merge=lfs -text
5267
+ 2023/DSPM-NLG_[[:space:]]A[[:space:]]Dual[[:space:]]Supervised[[:space:]]Pre-trained[[:space:]]Model[[:space:]]for[[:space:]]Few-shot[[:space:]]Natural[[:space:]]Language[[:space:]]Generation[[:space:]]in[[:space:]]Task-oriented[[:space:]]Dialogue[[:space:]]System/aad8557f-c209-4d81-9cde-1703b3231533_origin.pdf filter=lfs diff=lfs merge=lfs -text
5268
+ 2023/DSP_[[:space:]]Discriminative[[:space:]]Soft[[:space:]]Prompts[[:space:]]for[[:space:]]Zero-Shot[[:space:]]Entity[[:space:]]and[[:space:]]Relation[[:space:]]Extraction/3d440a89-46fe-4618-a123-fd3355a4f7c6_origin.pdf filter=lfs diff=lfs merge=lfs -text
5269
+ 2023/DUB_[[:space:]]Discrete[[:space:]]Unit[[:space:]]Back-translation[[:space:]]for[[:space:]]Speech[[:space:]]Translation/ee55f951-6e95-4cd4-91e9-06a9789b84ab_origin.pdf filter=lfs diff=lfs merge=lfs -text
5270
+ 2023/Data[[:space:]]Augmentation[[:space:]]for[[:space:]]Low-Resource[[:space:]]Keyphrase[[:space:]]Generation/bfb0d361-2f82-4bb3-8cfc-1d9a0c30958b_origin.pdf filter=lfs diff=lfs merge=lfs -text
5271
+ 2023/Data[[:space:]]Sampling[[:space:]]and[[:space:]](In)stability[[:space:]]in[[:space:]]Machine[[:space:]]Translation[[:space:]]Evaluation/b7905956-85f1-4e80-b5f1-c64e6f94aa98_origin.pdf filter=lfs diff=lfs merge=lfs -text
5272
+ 2023/Data-Efficient[[:space:]]Finetuning[[:space:]]Using[[:space:]]Cross-Task[[:space:]]Nearest[[:space:]]Neighbors/53aa6bd8-b2b8-491c-8fb0-41aa0e44d63b_origin.pdf filter=lfs diff=lfs merge=lfs -text
5273
+ 2023/Data-Efficient[[:space:]]French[[:space:]]Language[[:space:]]Modeling[[:space:]]with[[:space:]]CamemBERTa/b1f59b13-e450-4b6d-8a5f-8e934e90fb9d_origin.pdf filter=lfs diff=lfs merge=lfs -text
5274
+ 2023/DePlot_[[:space:]]One-shot[[:space:]]visual[[:space:]]language[[:space:]]reasoning[[:space:]]by[[:space:]]plot-to-table[[:space:]]translation/d26ecb38-9865-4528-9ec3-70dfa8c3a536_origin.pdf filter=lfs diff=lfs merge=lfs -text
5275
+ 2023/Debiasing[[:space:]]should[[:space:]]be[[:space:]]Good[[:space:]]and[[:space:]]Bad_[[:space:]]Measuring[[:space:]]the[[:space:]]Consistency[[:space:]]of[[:space:]]Debiasing[[:space:]]Techniques[[:space:]]in[[:space:]]Language[[:space:]]Models/a9777a7b-6646-4124-87ff-6ba7ec88155f_origin.pdf filter=lfs diff=lfs merge=lfs -text
5276
+ 2023/Decker_[[:space:]]Double[[:space:]]Check[[:space:]]with[[:space:]]Heterogeneous[[:space:]]Knowledge[[:space:]]for[[:space:]]Commonsense[[:space:]]Fact[[:space:]]Verification/4b1d0827-a3c0-4745-9abc-2ca9cac4d5c5_origin.pdf filter=lfs diff=lfs merge=lfs -text
5277
+ 2023/Decouple[[:space:]]knowledge[[:space:]]from[[:space:]]paramters[[:space:]]for[[:space:]]plug-and-play[[:space:]]language[[:space:]]modeling/5bd03a64-ca5f-4ce9-b4e2-801af535b03b_origin.pdf filter=lfs diff=lfs merge=lfs -text
5278
+ 2023/Deep[[:space:]]Equilibrium[[:space:]]Non-Autoregressive[[:space:]]Sequence[[:space:]]Learning/0b65959f-c2d8-4bb5-85f3-25a7b15005af_origin.pdf filter=lfs diff=lfs merge=lfs -text
5279
+ 2023/Deep[[:space:]]Span[[:space:]]Representations[[:space:]]for[[:space:]]Named[[:space:]]Entity[[:space:]]Recognition/723978ee-bbb8-495a-8d8c-94880d1fb3a2_origin.pdf filter=lfs diff=lfs merge=lfs -text
5280
+ 2023/Deeply[[:space:]]Coupled[[:space:]]Cross-Modal[[:space:]]Prompt[[:space:]]Learning/5cbfd784-20c8-43aa-9536-e638a1b3531d_origin.pdf filter=lfs diff=lfs merge=lfs -text
5281
+ 2023/Defending[[:space:]]against[[:space:]]Insertion-based[[:space:]]Textual[[:space:]]Backdoor[[:space:]]Attacks[[:space:]]via[[:space:]]Attribution/fdca1ae0-d1e8-417f-a0ab-cc1c4dc42fbb_origin.pdf filter=lfs diff=lfs merge=lfs -text
5282
+ 2023/Define,[[:space:]]Evaluate,[[:space:]]and[[:space:]]Improve[[:space:]]Task-Oriented[[:space:]]Cognitive[[:space:]]Capabilities[[:space:]]for[[:space:]]Instruction[[:space:]]Generation[[:space:]]Models/f3a90270-f098-41cf-886e-6143a5ef25c7_origin.pdf filter=lfs diff=lfs merge=lfs -text
5283
+ 2023/Delving[[:space:]]into[[:space:]]the[[:space:]]Openness[[:space:]]of[[:space:]]CLIP/ed1bf016-42f7-4d79-bc29-546fb1136f00_origin.pdf filter=lfs diff=lfs merge=lfs -text
5284
+ 2023/Denoising[[:space:]]Enhanced[[:space:]]Distantly[[:space:]]Supervised[[:space:]]Ultrafine[[:space:]]Entity[[:space:]]Typing/c5172952-75a5-4f7f-bd8c-cde461dd15d3_origin.pdf filter=lfs diff=lfs merge=lfs -text
5285
+ 2023/Detecting[[:space:]]Adversarial[[:space:]]Samples[[:space:]]through[[:space:]]Sharpness[[:space:]]of[[:space:]]Loss[[:space:]]Landscape/4b2e1f19-b274-4374-9187-0a2e5928490c_origin.pdf filter=lfs diff=lfs merge=lfs -text
2023/Common Law Annotations_ Investigating the Stability of Dialog System Output Annotations/954eaa6a-8529-416a-8e69-2af9134bed4d_content_list.json ADDED
The diff for this file is too large to render. See raw diff
 
2023/Common Law Annotations_ Investigating the Stability of Dialog System Output Annotations/954eaa6a-8529-416a-8e69-2af9134bed4d_model.json ADDED
The diff for this file is too large to render. See raw diff
 
2023/Common Law Annotations_ Investigating the Stability of Dialog System Output Annotations/954eaa6a-8529-416a-8e69-2af9134bed4d_origin.pdf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:aa07e96f8cdbafa8a82c6874603f517d3d58b32bce39be45d92f7ed74ab26ac0
3
+ size 7660748
2023/Common Law Annotations_ Investigating the Stability of Dialog System Output Annotations/full.md ADDED
@@ -0,0 +1,922 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Common Law Annotations: Investigating the Stability of Dialog System Output Annotations
2
+
3
+ Seunggun Lee $^{1}$ Alexandra DeLucia $^{2}$ Nikita Nangia $^{1}$ Praneeth S. Ganedi $^{1}$ Ryan Min Guan $^{3}$ Rubing Li $^{1}$ Britney A. Ngaw $^{1}$ Aditya Singhal $^{1}$ Shalaka Vaidya $^{1}$ Zijun Yuan $^{1}$ Lining Zhang $^{1}$ Joao Sedoc $^{1}$
4
+
5
+ $^{1}$ New York University $^{2}$ Johns Hopkins University $^{3}$ University of Pennsylvania jsedoc@stern.nyu.edu
6
+
7
+ # Abstract
8
+
9
+ Metrics for Inter-Annotator Agreement (IAA), like Cohen's Kappa, are crucial for validating annotated datasets. Although high agreement is often used to show the reliability of annotation procedures, it is insufficient to ensure validity or reproducibility. While researchers are encouraged to increase annotator agreement, this can lead to specific and tailored annotation guidelines. We hypothesize that this may result in diverging annotations from different groups. To study this, we first propose the Lee et al. Protocol (LEAP), a standardized and codified annotation protocol. LEAP strictly enforces transparency in the annotation process, which ensures reproducibility of annotation guidelines. Using LEAP to annotate a dialog dataset, we empirically show that while research groups may create reliable guidelines by raising agreement, this can cause divergent annotations across different research groups, thus questioning the validity of the annotations. Therefore, we caution NLP researchers against using reliability as a proxy for reproducibility and validity.
10
+
11
+ https://github.com/jsedoc/common-law-annotations
12
+
13
+ # 1 Introduction
14
+
15
+ The acquisition of reliable, valid, and reproducible human annotations is an essential component of Natural Language Processing (NLP) research. However, human annotations are inherently subjective (Basile et al., 2021) and each annotator has their own biases (Paun et al., 2022). To overcome this subjectivity, research groups aim to develop annotation guidelines that increase Inter-annotator Agreement (IAA) among annotators, also known as inter-rater reliability. Reliability—the level of agreement between the annotators—is a necessary, but not sufficient condition for reproducibility (Artstein, 2017). If the precise details
16
+
17
+ of the annotation process—from creating the annotation guidelines to executing the annotations themselves—are not transparent, the annotations may not be reproducible. Furthermore, high reliability does not guarantee validity—the extent to which annotations accurately capture what is intended to be measured (Paun et al., 2022).
18
+
19
+ To address these challenges, we first propose Lee et al. Protocol (LEAP) a codified annotation guideline creation process that standardizes the way research groups create, publicize, and implement annotation guidelines. LEAP ensures transparency in the annotation process through its step-by-step procedure, which is crucial to allow for better reproducibility and cross-paper analyses.
20
+
21
+ Second, we use LEAP to investigate agreement by having pairs of researchers simulate the annotation procedure of different research groups on a common dataset, in order to observe the change in agreement within and between these groups. Within the simulation, we observe that each group creates their own unique guidelines, despite working on the same dataset and annotation categories. We leverage the metaphor of a common law, in which country/region-specific laws are based on precedent, much like researchers agreeing on common rules for edge cases to increase agreement. Similar to common laws differing between countries, the rules governing annotation guidelines can become increasingly research group-specific and divergent from other groups, as each group strives to raise their IAA. After developing annotation guidelines, we analyze if these observations persist when crowdsourcing the data with each guideline.
22
+
23
+ While LEAP has broader applications, here we apply it to a conversational AI task, where common human annotation metrics include Appropriateness, Information content of output, and Humanlikeness (Howcroft et al., 2020). The popularity and recent advances in dialog agents, such as OpenAI's GPT-
24
+
25
+ 3 (Brown et al., 2020), ChatGPT, $^{1}$ and YouChat $^{2}$ motivated us to showcase our method in the dialog domain.
26
+
27
+ In our investigation, we ask the following research questions:
28
+
29
+ 1. How are the agreement levels different for researchers within and across groups?
30
+ 2. Do groups converge or diverge in their annotation guidelines?
31
+ 3. Which groups are able to get the crowdsourced workers to agree most? Is it the same as the other groups?
32
+ 4. Do crowdsourced workers converge or diverge within and between groups?
33
+
34
+ Ultimately, we make the following contributions:
35
+
36
+ - Empirically show that while groups may create reliable guidelines by artificially raising agreement, this can lead to divergent annotations across different research groups, thus questioning annotation validity.
37
+ - Propose LEAP as a standardized and transparent annotation protocol which ensures reproducibility of annotation guidelines, while also allowing for deeper analysis of validity influenced by divergent annotation guidelines.
38
+
39
+ # 2 Related Work
40
+
41
+ This paper contributes to the ongoing discourse on the 'science' of annotations (Hovy and Lavid, 2010). Similar to Hober et al. (2023), we call for improved reliability and transparency in annotations.
42
+
43
+ # 2.1 Reporting Pitfalls & Errors
44
+
45
+ The NLP / NLG community generally lacks error reporting (van Miltenburg et al., 2021). Agreement studies and works involving annotations are no exception to this problem. We assert that papers should report the caveats of their work, especially regarding agreement analysis, which we believe makes research more robust. We offer a standardized solution through LEAP, where our protocol ensures each published work exposes its entire annotation life-cycle.
46
+
47
+ # 2.2 Annotation Protocols
48
+
49
+ The benefits of crowdsourcing methods are widely recognized and used in fields beyond NLP, including healthcare studies (Hamilton et al., 1994) as
50
+
51
+ well as Psychology (Cuccolo et al., 2021). In particular, the Psychology research community has established notable researcher crowdsourcing initiatives, such as CREP (Grahe et al., 2020), the Pipeline Project (Schweinsberg et al., 2016), and Psi Chi's Network for International Collaborative Exchange: Crowd component (NICE: Crowd) (Cuccolo et al., 2022), which outline standardized practices and methodologies to ensure quality data collection.
52
+
53
+ Within the NLP field, there are several annotation protocols that outline steps within the annotation development cycle. The MATTER cycle (Model, Annotate, Train, Test, Evaluate, Revise) offers a high-level outline for collecting annotations to train and develop machine learning models (Pustejovsky and Stubbs, 2012). The MAMA (Model-Annotate-Model-Annotate) cycle-a subsection of the MATTER cycle-describes the iterative procedure of refining guidelines and collecting annotations to arrive at an optimal annotation model (Pustejovsky and Stubbs, 2012). The CASCADES model further extends the Model and Revise portion of MATTER, with the steps Conceptual Analysis, Abstract Syntax, Semantics, and Concrete Syntax (Bunt et al., 2010). For a deeper analysis of these protocols and their implementations, see Artstein (2017). With GENIE, Khashabi et al. (2022) address reproducibility concerns by providing a platform to run and study annotation results across a variety of text generation tasks.
54
+
55
+ While such annotation protocols help standardize the annotation procedures, they do not entirely enforce the total transparency of the annotation procedures. To the best of our knowledge, LEAP is the first annotation protocol to strictly require complete transparency in the annotation guideline creation process through recorded discussions and transcripts to ensure full reproducibility and effective cross-paper analysis.
56
+
57
+ # 2.3 Divergent Annotation Guidelines
58
+
59
+ Though divergent annotation guidelines between research groups may seem natural due to each group's unique research purpose, this often occurs among research groups who have similar purposes (e.g., evaluating a new dialogue system). Researchers would benefit by using consistent standardized annotation approaches.
60
+
61
+ For example, numerous papers created their own definitions for the category of Appropriateness (Reiter et al., 2000; van Deemter, 2000), Information
62
+
63
+ ![](images/dd5efbb7209e2dd12f3ead33c7defe43071f8b742545322935db42d557455f31.jpg)
64
+ Figure 1: A flowchart of LEAP used for our experiments.
65
+
66
+ content of outputs (Carenini and Cheung, 2008; Filippova and Strube, 2008), and Humanlikeness (Agirrezabal et al., 2013; Cercas Curry et al., 2015) (See Appendix A.3 for more examples). Furthermore, though papers may use annotation categories that are different verbatim, the categories often overlap in meaning and purpose (Finch and Choi, 2020).
67
+
68
+ # 2.4 Disagreement in Annotations
69
+
70
+ Basile et al. (2021) emphasizes the importance of observing and embracing inherent disagreement in annotation tasks, arguing that focusing on a single 'ground truth' reference obscures the complexity and subjectivity of human-annotated data (Pavlick
71
+
72
+ and Kwiatkowski, 2019; Uma et al., 2022).
73
+
74
+ In fact, in SummEval (Fabbri et al., 2021) they found that crowd worker annotations had reasonable IAA but were uncorrelated to expert annotators who also had high IAA. This suggests a flaw in the current annotation paradigm. Instead, we propose in our work that a pair of researchers should first converge with high IAA on a subset of the dataset. Then the pair should create the instructions and design for the crowd annotation task and validate the agreement.
75
+
76
+ In our work, we extend this study of disagreement by empirically illustrating how artificially eradicating irreconcilable disagreement can harm accuracy (and thus potentially harm validity).
77
+
78
+ # 3 Experiment Design
79
+
80
+ # 3.1 LEAP
81
+
82
+ Figure 1 illustrates the codified steps of LEAP for our experiment. In the following paragraphs, we explain the core components of LEAP. While the procedure outlined below is tailored for dialog annotations, the overall method can be adapted to other tasks (see Appendix subsection A.1).
83
+
84
+ Parameters To customize LEAP for a specific annotation task, several parameters need to be selected. These parameters include:
85
+
86
+ - Minimum and maximum number of rounds
87
+ - Agreement criteria and threshold
88
+ Common law discussion time limit
89
+ - Number of researchers involved (minimum of 2)
90
+ Number of items per small iteration
91
+ - Number of items for the larger annotation
92
+
93
+ Our advice to practitioners is that while each of these can be modified during an annotation process, the best practice is to set them a priori based on a smaller pilot, prior studies, or budget limitations.
94
+
95
+ Annotations Annotations are done independently, on the same subset of data. During the annotation, annotators are not allowed to communicate with each other. After each iteration of annotations, the agreement score is calculated for each annotation category. The agreement scores are shared with the annotators.
96
+
97
+ Annotation Discussions Each pair of annotators in a research group use discussions to walk through and compare their annotations. During discussions, annotators are asked to resolve edge cases that are causing disagreement, ultimately working towards a shared understanding of each category's annotation guidelines.
98
+
99
+ All discussions are conducted using a recorded video-conference platform, such as Zoom, $^{3}$ to ensure full transparency of the annotation process. Discussions are limited to a pre-specified amount of time. As researchers compare individual annotation examples, screen-share is enabled to make the process transparent, while transcript tools are enabled to allow for efficient analysis post-experiment. $^{4}$
100
+
101
+ The quintessential idea for the records is to ensure that the decisions made during the meeting are documented as they may provide insights into
102
+
103
+ construct validity and also help in understanding survey design. Since recording may not be available for all situations (e.g., automatic transcription does not support all languages), an alternative is to maintain detailed notes during the discussions.
104
+
105
+ Rounds & Iterations Prior to developing the final annotation guidelines, LEAP requires researchers to annotate multiple subsets of data.
106
+
107
+ Each round consists of a subset of a given dataset. Each annotation session is termed as an iteration. After a pair of researchers complete an iteration of annotations, the agreement score for each annotation category is calculated. The average of the agreement scores across the annotation categories is used to compare against a pre-designated threshold level of agreement.
108
+
109
+ If the category average agreement score meets the threshold, the researchers move on to the next round of annotations. This next round uses a new subset of the dataset. However, if the category average agreement score does not meet the threshold, the researchers are unable to move to the next round of annotations. Rather, the researchers discuss the most recent iteration of annotations to fine-tune their shared understanding of the annotation categories. Then the researchers conduct the next iteration of annotations. In the new iteration, researchers annotate the same subset of data, however, the presentation order is shuffled. Iterations allow researchers to test their level of convergence. This step is repeated until the researchers are able to meet their desired threshold, upon which they move on to the next round of annotations.
110
+
111
+ Post Convergence Round Once the researchers complete their rounds of annotations, they annotate a larger set of new items. This larger round of items is used to compare the crowd worker ratings with the researchers and evaluate consistency over a large set of annotations.
112
+
113
+ Creating the Annotation Guidelines The final component of the protocol is creating the annotation guidelines. Similar to the discussions, this process is made transparent through recorded screen share and live transcripts.
114
+
115
+ There are several benefits to such an iterative annotation procedure. First, researchers are able to find and fix pitfalls and mistakes in the anno
116
+
117
+ tation process by experiencing them directly. Furthermore, through the iterative process, researchers are able to systemically fine-tune their annotations to construct a shared understanding of the annotation categories. Finally, the iterative process allows the researchers to retroactively analyze the discussions conducted after each annotation session in a structured manner.
118
+
119
+ # 3.2 Experimental Design
120
+
121
+ Data For this task, we generated model responses using prompts from the English as a Second Language (ESL) (Sedoc et al., 2019) and Daily Dialog (Li et al., 2017) evaluation sets (1,323 prompts). For each prompt, we generated model responses using eight state-of-the-art conversational models, including DialoGPT (Zhang et al., 2020), GPT-3 (Brown et al., 2020), Plato2 (Bao et al., 2021), and BlenderBot 2 (Weston and Shuster, 2021; Komeili et al., 2022; Xu et al., 2022). In total, we created 11,907 prompt-response pairs. The prompts and model responses have been detokenized to avoid revealing the model origins to the annotator. We used the dialog prompts and the language generation systems within their intended usage. For more information on the model parameters, see Appendix A.4.
122
+
123
+ Instructions The experiment followed the LEAP architecture. The goal of each group was to create annotation guidelines that would help other annotators annotate conversational text data as similarly as possible. The annotations consisted of static evaluations, as they are one of the most used forms of human evaluations in NLP (Finch and Choi, 2020). Following Howcroft et al. (2020), we provided the following base definitions for three annotation categories:
124
+
125
+ 1. Appropriateness: The degree to which the output is appropriate in the given context.
126
+ 2. Information content of outputs: The amount of information conveyed by an output.
127
+ 3. Humanlikeness: The degree to which the output could have been produced by a human.
128
+
129
+ We intentionally kept the category definitions simple to give each group freedom in devising their own annotation guidelines. See Appendix Figure 6 for an example of the prompt and response annotated by the researchers.
130
+
131
+ See Appendix Figure 8 for the tabular step-by-step instructions-created using LEAP-shared with all researcher annotators. For specific instructions
132
+
133
+ on creating annotation guidelines, shared with all researcher annotators, see Appendix Figure 7.
134
+
135
+ LEAP parameters In order to maintain intergroup consistency, each group was instructed to use a five-point ordinal scale. For our agreement criteria, we chose linear Cohen's $\kappa$ as it is commonly used. We ran a small pilot and estimated that the Cohen's $\kappa$ $95\%$ confidence interval was $\pm 0.1$ with 50 annotations and $\pm 0.05$ with 400 annotations. Cohen's $\kappa$ of 0.6 to 0.8 is commonly regarded as a threshold for sufficient inter-annotator agreement in NLP research (Landis and Koch, 1977) thus we chose a category average Cohen's $\kappa$ of 0.7 as the threshold. To time-bound the process, we chose a minimum of 2 rounds and a maximum of 5 rounds. In our pilot, we also found that 30 minutes was sufficient to discuss annotation differences.
136
+
137
+ Groups We simulated the process of six individual research groups (Group 1-6) defining guidelines for human annotation of conversational data. Each group consisted of two researchers. The group pairings had diverse members in terms of gender identity and annotation experience.[7]
138
+
139
+ # 3.3 Crowdsourced Annotation Parameters
140
+
141
+ Once all the annotation guidelines have been created, we used Amazon Mechanical Turk (MTurk) to collect crowdsourced data. For our experiment, groups did not iterate over the annotation guidelines with crowd workers.
142
+
143
+ Instructions Each crowd worker was given the following instructions:
144
+
145
+ The annotation task is to label responses to a given prompt. The prompt consists of two people (A and B) talking to each other. The response is the next utterance after the final utterance in the prompt.
146
+
147
+ Then the annotators were given the annotation guideline based on the group task chosen (see Figures 9 to 14 in the Appendix).
148
+
149
+ All MTurk tasks were deployed using the same portion of the dataset as the round of 400 prompts and responses that were annotated by the researchers. This choice was made because the round
150
+
151
+ of 400 annotations was the latest set of annotations done by the researchers, meaning the researchers' annotations were most calibrated with the annotation guidelines.9 Groups 1 and 2 used the full LEAP protocol with iterations.
152
+
153
+ # 3.4 Testing Iteration-Free LEAP
154
+
155
+ While the iterations in LEAP give researchers the opportunity to converge on their common law annotation guidelines, we acknowledge that this may require additional time and resources. Furthermore, it reduces the independent relationship between annotations. Thus, we tested an iteration-free version of LEAP (see Figure 5 for a flowchart).
156
+
157
+ The iteration-free version of LEAP excludes the iteration component. If a group is unable to reach the pre-designated agreement threshold, they move on to the next round of annotations. This allows researchers to annotate more data while converging; however, they cannot discuss a subset of data multiple times. Iteration-free LEAP favors coverage over convergence. A new round of annotations consists of a new subset of data. Groups 3, 4, 5, and 6 used the iteration-free LEAP.
158
+
159
+ # 4 Results & Discussion
160
+
161
+ # 4.1 Agreement Analysis - LEAP
162
+
163
+ Within Group By using the iterative annotation procedure of LEAP, Group 1 and Group 2 were able to achieve a high level of agreement on the second iteration of the second round of annotations. Figure 2 illustrates the change in agreement for Groups 1 and 2.
164
+
165
+ We also observed a drop in agreement for both groups when moving from round 1 to round 2. This is expected, as the change in annotated data introduces new edge cases, causing divergence between annotators. However, as both groups were able to calibrate their annotations via the iterations in round 1, round 2 required substantially fewer amounts of iterations to achieve the threshold of 0.7.
166
+
167
+ Between Groups Taking advantage of the standardized annotation protocol codified through LEAP, we analyzed the changes in the agreement between annotators of different groups. Figure 3 illustrates the changes in agreement for annota
168
+
169
+ ![](images/09400688475d4430faede9b1473f9efc3a4c328654a950760a96fbb440feb2ec.jpg)
170
+
171
+ ![](images/a7e72ad354e15bf1ef1c179350dc7366f92ffaf0bb963205eff863494802c898.jpg)
172
+ Figure 2: Agreement scores for Groups 1 (above) and 2 (below) with using LEAP.
173
+
174
+ tors within the same group and between different groups.
175
+
176
+ In round 1 and round 2, for all three categories, within-group agreement—that is the level of agreement between annotators of the same group—was relatively higher than between-group agreement, or the level of agreement between annotators of different groups. Such observation suggests that raising agreement levels through fine-tuned annotation guidelines can cause divergence across different research groups.
177
+
178
+ Interestingly, we observed a relatively higher level of between-group agreement for Appropriateness, despite the fact that researchers in Group 1 and Group 2 never communicated with one another. This suggests that certain annotation categories, such as Appropriatness, have a stronger shared construct than others.
179
+
180
+ # 4.2 Agreement Analysis - Iteration-Free LEAP
181
+
182
+ Groups 3, 4, 5, and 6 tested the iteration-free LEAP. None of the groups were able to reach the designated threshold of an average Cohen's $\kappa > 0.7$ . In addition, we found supporting evidence of divergence across annotators of different groups.
183
+
184
+ ![](images/efdb8f00dd423cb48cfbe13ad62d2875a32d2df3b406c1c26273e1dc40ad0ebd.jpg)
185
+ Figure 3: Contingency table of annotations for Group 1 (researchers 1 and 2) and Group 2 (researchers 3 and 4) - From top to bottom: Appropriateness, Information content of outputs, and Humanlikeness. The graphs for Round 1 and Round 2 show the figures for the final iteration of each round. Round 400 indicates the final round of annotations in LEAP with 400 items. Red borders indicate within-group agreement. Darker blue indicates higher agreement (Cohen's $\kappa$ ).
186
+
187
+ We present the detailed results in Appendix A.9. Remarkably, the iterations were important to solidify common law rules, since moving to new samples (i.e., new rounds) caused more confusion and the rules did not ground well.
188
+
189
+ # 4.3 Annotation Guidelines
190
+
191
+ We analyzed each group's annotation guideline and its creation process by examining the Zoom recordings of discussions. For the final version of the guidelines for all groups see Figures 9 to 14 in the Appendix.
192
+
193
+ Appropriateness The group discussion transcripts and written guidelines showed that the different groups took a similar approach when annotating Appropriateness. Primarily, all groups based their Appropriateness score on whether the model response "made sense" in relation to the prompt itself. Also, all groups considered the contextual relevance of the response in relation to the prompt. This reinforces our observation that annotators overall
194
+
195
+ had a strong shared construct of Appropriateness, which resulted in high levels of agreement for the category.
196
+
197
+ Information content of output Unlike Appropriateness, agreement levels between groups for Information content of output were relatively low. While Group 1 gauged the category based on the specificity of the information provided by the response, Group 2 based the category score on the length of the response (ie. the number of sentences), as well as the correctness of the response (ie. if the information provided is factually correct). Such divergences in annotation guidelines explain the low level of agreement between annotators of different groups.
198
+
199
+ We conducted a similar analysis on Groups 3, 4, 5, and 6. As discussed in Appendix A.9, we observed two distinct silos of convergence in agreement. The annotation discussion transcripts revealed that Group 3 and Group 6 quantified the
200
+
201
+ amount of new information stated in the response to score Information of content, while Group 4 and Group 5 did not. For example, if a response did not reveal any new information, but was relevant to the prompt, Group 4 and Group 5 would give at least a 3 for Information content of output. However, as Group 3 and Group 6 focused on the quantity of new information when annotating Information content of output, they would give it a low score.
202
+
203
+ Furthermore, Groups 3 and 6 solely looked at the response field to judge Information content of output, meaning a short, generic response would receive a low score for this category. In comparison, Groups 4 and 5 created guidelines that looked at both the prompt and response to judge the level of information given, meaning a short, generic response could still receive a higher score depending on the broader context.
204
+
205
+ The divergence in annotation guidelines not only explains the low average agreement between groups for Information content of output but also uncovers why different clusters of agreement occur between certain groups.
206
+
207
+ Humanlikeness While both Groups 1 and 2 based Humanlikeness on whether a real human would have said the response, both groups had diverging approaches for the annotation category. Group 1 emphasized that the annotator should not consider the appropriateness of the response when judging Humanlikeness. On the other hand, Group 2 simply evaluated whether a real human could have said the response, while also taking into consideration grammatical errors.
208
+
209
+ For Groups 3, 4, 5, and 6 two separate clusters of agreement occurred between the groups—one between Group 3 and Group 6, another between Group 4 and Group 5. The clusters of agreement can be attributed to the differing annotation procedures that emerged between these silos. Group 3 and Group 6 annotated by ignoring the prompt and judging solely the Humanlikeness of the response. On the other hand, Group 4 and Group 5 took into consideration the response's context. For example, following Group 3 and Group 6's guidelines, even if the response was a complete replica of an utterance in the prompt, the response could receive a high score for Humanlikeness. In contrast, if the response repeated content from the prompt, Group 4 and Group 5 gave the response a low Humanlikeness score.
210
+
211
+ The two different interpretations of a category re
212
+
213
+ inforce the notion that a "ground truth" annotation value is difficult to reach, especially for categories that have less of a shared construct - like Information content of output and Humanlikeness.
214
+
215
+ # 4.4 Crowdsourced Data
216
+
217
+ In order to examine how diverging annotation guidelines impact agreement levels for crowdsourced annotations, we employed batches of Human Intelligence Tasks (HITs) on Amazon Mechanical Turk (MTurk). We recruited and filtered MTurk workers who were able to achieve a category average $\kappa > 0.7$ agreement with the researchers on a pilot HIT. These workers were then given a larger MTurk task of annotating the same set of 400 prompt-response questions from the guideline creations, with 55 prompt-response questions per HIT (for details see subsection A.7).
218
+
219
+ Agreement Between Researchers & Crowdsourced Workers The average agreement between the crowdsourced workers and the researcher for each Group is illustrated in Figure 15 in the Appendix. For all Groups except Group 1, Appropriateness was the category with the highest agreement between the researchers and the HIT workers. Overall, HIT workers who used Group 4's guideline had the highest average agreement scores with the Group's researchers. Furthermore, the variable levels of agreement for LEAP indicate that annotations are relatively noisy even with a well-defined protocol.
220
+
221
+ Group 1 & Group 2 We calculated the agreement between MTurk annotators of the same group's annotation guidelines, as well as the agreement between annotators of Groups 1 and 2 (see Table 1.
222
+
223
+ <table><tr><td>Groups</td><td>App.</td><td>Info.</td><td>Human.</td></tr><tr><td>Group 1</td><td>0.37</td><td>0.09</td><td>0.19</td></tr><tr><td>Group 2</td><td>0.58</td><td>0.20</td><td>0.30</td></tr><tr><td>Between Groups 1 &amp; 2</td><td>0.37</td><td>0.13</td><td>0.09</td></tr></table>
224
+
225
+ Table 1: IAA within and between crowd workers using Group 1's and Group 2's guidelines
226
+
227
+ Of the three categories, again, Appropriateness had the strongest shared construct with the highest level of agreement. Group 1 and Group 2 had higher agreement within groups for Humanlikeness compared to the IAA from between Groups 1 and 2. As with the researcher annotators, crowd workers
228
+
229
+ who followed different annotation guidelines were unable to achieve high agreement.
230
+
231
+ Groups 3, 4, 5, & 6 Similarly, we analyzed the differences in agreement levels for crowd workers using guidelines created by Groups 3, 4, 5, and 6 (see Table 2 and Table 3).
232
+
233
+ <table><tr><td>Groups</td><td>App.</td><td>Info.</td><td>Human.</td></tr><tr><td>Group 3</td><td>0.38</td><td>0.16</td><td>0.25</td></tr><tr><td>Group 4</td><td>0.46</td><td>0.54</td><td>0.56</td></tr><tr><td>Group 5</td><td>0.38</td><td>0.30</td><td>0.23</td></tr><tr><td>Group 6</td><td>0.47</td><td>0.22</td><td>0.43</td></tr><tr><td>Average</td><td>0.42</td><td>0.31</td><td>0.37</td></tr></table>
234
+
235
+ Table 2: IAA within group for crowdsourced workers using guidelines created by Groups 3, 4, 5, and 6.
236
+
237
+ <table><tr><td>Groups</td><td>App.</td><td>Info.</td><td>Human.</td></tr><tr><td>Groups 3 &amp; 4</td><td>0.38</td><td>0.20</td><td>0.20</td></tr><tr><td>Groups 3 &amp; 5</td><td>0.32</td><td>0.23</td><td>0.18</td></tr><tr><td>Groups 3 &amp; 6</td><td>0.37</td><td>0.27</td><td>0.23</td></tr><tr><td>Groups 4 &amp; 5</td><td>0.32</td><td>0.17</td><td>0.22</td></tr><tr><td>Groups 4 &amp; 6</td><td>0.3</td><td>0.15</td><td>0.24</td></tr><tr><td>Groups 5 &amp; 6</td><td>0.57</td><td>0.27</td><td>0.27</td></tr><tr><td>Average</td><td>0.38</td><td>0.22</td><td>0.22</td></tr></table>
238
+
239
+ Table 3: IAA between groups for crowdsourced workers using guidelines created by Groups 3, 4, 5, and 6.
240
+
241
+ Similar to Groups 1 and 2, crowd workers for Groups 3, 4, 5, and 6 had relatively higher agreement within group compared to between different groups.
242
+
243
+ # 5 Conclusion
244
+
245
+ In this paper, we caution NLP researchers against using reliability as a proxy for reproducibility and validity. While LEAP does not strictly enforce validity, it creates transparency in the "common law" annotation rules. This transparency can enable others to assess the validity of the choices. We propose and encourage researchers to use LEAP as a solution to ensure reproducibility by rendering the annotation protocol completely transparent while allowing for deeper cross-paper analysis on validity through the standardized annotation procedure.
246
+
247
+ Using LEAP, we simulated a parallel series of independent annotation procedures, illustrating how even if a research group achieves agreement, their agreement with annotators from differ
248
+
249
+ ent groups can be low for certain categories due to diverging annotation guidelines.
250
+
251
+ Overall, research groups should use agreement metrics with care. While a high agreement score is often a community-recognized threshold required for research groups to publish their annotated datasets, research groups should be aware of the pitfalls in raising agreement metrics. Furthermore, research groups should follow a standardized annotation guideline creation process, such as LEAP, and make the entire procedure transparent. With such standardization and transparency, we will be able to better understand the issues associated with simply using agreement metrics as the main threshold to cross for publications.
252
+
253
+ # 6 Limitations
254
+
255
+ LEAP requires access to a telecommunication platform, such as Zoom, which can record, screen-share, and save live transcripts of the discussions. The dialogue data used in the annotations, as well as the annotation categories and their respective guidelines, were all in English. Furthermore, the researcher participants of the study were all co-authors of the paper and did not include professional annotators. We tested LEAP using only conversational dialogue. We only used three annotation categories. Though there are other protocols that could have helped in the analysis, we only experimented with LEAP and an ablation of LEAP. Some model responses may have contained bias.
256
+
257
+ # Acknowledgements
258
+
259
+ We thank the reviewers for their comments and suggestions. We thank Mark Liberman for suggesting the common law metaphor and for his helpful feedback. We also thank Nicholas Lourie for his help with the project. We would like to thank Claire Daniele for her help with figures and editorial support.
260
+
261
+ # References
262
+
263
+ Manex Agirrezabal, Bertol Arrieta, Aitzol Astigarraga, and Mans Hulden. 2013. POS-tag based poetry generation with WordNet. In Proceedings of the 14th European Workshop on Natural Language Generation, pages 162-166, Sofia, Bulgaria. Association for Computational Linguistics.
264
+
265
+ Ron Artstein. 2017. Inter-annotator Agreement. In Nancy Ide and James Pustejovsky, editors, Hand
266
+
267
+ book of Linguistic Annotation, pages 297-313. Springer Netherlands, Dordrecht.
268
+ Siqi Bao, Huang He, Fan Wang, Hua Wu, Haifeng Wang, Wenquan Wu, Zhen Guo, Zhibin Liu, and Xinchao Xu. 2021. PLATO-2: Towards Building an Open-Domain Chatbot via Curriculum Learning. In Findings of the Association for Computational Linguistics: ACL-IJCNLP 2021, pages 2513-2525, Online. Association for Computational Linguistics.
269
+ Valerio Basile, Michael Fell, Tommaso Fornaciari, Dirk Hovy, Silviu Paun, Barbara Plank, Massimo Poesio, and Alexandra Uma. 2021. We Need to Consider Disagreement in Evaluation. In Proceedings of the 1st Workshop on Benchmarking: Past, Present and Future, pages 15-21, Online. Association for Computational Linguistics.
270
+ Tom Brown, Benjamin Mann, Nick Ryder, Melanie Subbiah, Jared D Kaplan, Prafulla Dhariwal, Arvind Neelakantan, Pranav Shyam, Girish Sastry, Amanda Askell, Sandhini Agarwal, Ariel Herbert-Voss, Gretchen Krueger, Tom Henighan, Rewon Child, Aditya Ramesh, Daniel Ziegler, Jeffrey Wu, Clemens Winter, Chris Hesse, Mark Chen, Eric Sigler, Mateusz Litwin, Scott Gray, Benjamin Chess, Jack Clark, Christopher Berner, Sam McCandlish, Alec Radford, Ilya Sutskever, and Dario Amodei. 2020. Language Models are Few-Shot Learners. In Advances in Neural Information Processing Systems, volume 33, pages 1877-1901. Curran Associates, Inc.
271
+ Harry Bunt, Alex Chengyu Fang, Nancy M. Ide, and Jonathan J. Webster. 2010. A methodology for designing semantic annotation languages exploiting syntactic-semantic iso-morphisms. In Proceedings of the Second International Conference on Global Interoperability for Language Resources (ICGL 2010), Hong Kong, pages 29-46.
272
+ Joan Byamugisha, C. Maria Keet, and Brian DeRenzi. 2017. Evaluation of a Runyankore grammar engine for healthcare messages. In Proceedings of the 10th International Conference on Natural Language Generation, pages 105-113, Santiago de Compostela, Spain. Association for Computational Linguistics.
273
+ Giuseppe Carenini and Jackie C. K. Cheung. 2008. Extractive vs. NLG-based abstractive summarization of evaluative text: The effect of corpus controversiality. In Proceedings of the Fifth International Natural Language Generation Conference, pages 33-41, Salt Fork, Ohio, USA. Association for Computational Linguistics.
274
+ Amanda Cercas Curry, Dimitra Gkatzia, and Verena Rieser. 2015. Generating and Evaluating Landmark-Based Navigation Instructions in Virtual Environments. In Proceedings of the 15th European Workshop on Natural Language Generation (ENLG), pages 90-94, Brighton, UK. Association for Computational Linguistics.
275
+
276
+ Hyungtak Choi, Siddarth K.M., Haehun Yang, Heesik Jeon, Inchul Hwang, and Jihie Kim. 2018. Self-Learning Architecture for Natural Language Generation. In Proceedings of the 11th International Conference on Natural Language Generation, pages 165-170, Tilburg University, The Netherlands. Association for Computational Linguistics.
277
+ Philipp Cimiano, Janna Lüker, David Nagel, and Christina Unger. 2013. Exploiting ontology lexic a for generating natural language texts from RDF data. In Proceedings of the 14th European Workshop on Natural Language Generation, pages 10-19, Sofia, Bulgaria. Association for Computational Linguistics.
278
+ Jacob Cohen. 1968. Weighted kappa: Nominal scale agreement provision for scaled disagreement or partial credit. Psychological Bulletin, 70(4):213-220.
279
+ Kelly Cuccolo, Jon E Grahe, Martha S Zlokovich, John Edlund, rick miller, Susana Gallor, Jordan R Wagge, Kaitlyn M Werner, Albert L Ly, Fanli Jia, and et al. 2022. NICE: CROWD.
280
+ Kelly Cuccolo, Megan S. Irgens, Martha S. Zlokovich, Jon Grahe, and John E. Edlund. 2021. What Crowdsourcing Can Offer to Cross-Cultural Psychological Science. *Cross-Cultural Research*, 55(1):3-28. Publisher: SAGE Publications Inc.
281
+ Seniz Demir, Sandra Carberry, and Kathleen F. McCoy. 2008. Generating textual summaries of bar charts. In Proceedings of the Fifth International Natural Language Generation Conference on - INLG '08, page 7, Salt Fork, Ohio. Association for Computational Linguistics.
282
+ Jan Milan Deriu and Mark Cieliebak. 2018. Syntactic Manipulation for Generating more Diverse and Interesting Texts. In Proceedings of the 11th International Conference on Natural Language Generation, pages 22-34, Tilburg University, The Netherlands. Association for Computational Linguistics.
283
+ Alexander R. Fabbri, Wojciech Krysciński, Bryan McCann, Caiming Xiong, Richard Socher, and Dragomir Radev. 2021. SummEval: Re-evaluating summarization evaluation. Transactions of the Association for Computational Linguistics, 9:391-409.
284
+ Abdurrisyad Fikri, Hiroya Takamura, and Manabu Okumura. 2018. Stylistically User-Specific Generation. In Proceedings of the 11th International Conference on Natural Language Generation, pages 89-98, Tilburg University, The Netherlands. Association for Computational Linguistics.
285
+ Katja Filippova and Michael Strube. 2008. Dependency tree based sentence compression. In Proceedings of the Fifth International Natural Language Generation Conference on - INLG '08, page 25, Salt Fork, Ohio. Association for Computational Linguistics.
286
+
287
+ Sarah E. Finch and Jinho D. Choi. 2020. Towards Unified Dialogue System Evaluation: A Comprehensive Analysis of Current Evaluation Protocols. In Proceedings of the 21th Annual Meeting of the Special Interest Group on Discourse and Dialogue, pages 236-245, 1st virtual meeting. Association for Computational Linguistics.
288
+ Dimitra Gkatzia, Helen Hastie, Srinivasan Janarthanam, and Oliver Lemon. 2013. Generating student feedback from time-series data using reinforcement learning. In Proceedings of the 14th European Workshop on Natural Language Generation, pages 115-124, Sofia, Bulgaria. Association for Computational Linguistics.
289
+ Jon E. Grahe, Kelly Cuccolo, Dana C. Leighton, and Leslie D. Cromblet Alvarez. 2020. Open Science Promotes Diverse, Just, and Sustainable Research and Educational Outcomes. Psychology Learning & Teaching, 19(1):5-20. _eprint: https://doi.org/10.1177/1475725719869164.
290
+ Byron B. Hamilton, Judith A. Laughlin, Roger C. Fiedler, and Carl V. Granger. 1994. Interrater reliability of the 7-level functional independence measure (FIM). Scandinavian journal of rehabilitation medicine, 26(3):115-119.
291
+ Vrindavan Harrison and Marilyn Walker. 2018. Neural Generation of Diverse Questions using Answer Focus, Contextual and Linguistic Features. In Proceedings of the 11th International Conference on Natural Language Generation, pages 296-306, Tilburg University, The Netherlands. Association for Computational Linguistics.
292
+ Nicole Hober, Tulay Dixon, and Tove Larsson. 2023. Toward increased reliability and transparency in projects with manual linguistic coding. Corpora, 18.
293
+ Ari Holtzman, Jan Buys, Li Du, Maxwell Forbes, and Yejin Choi. 2019. The Curious Case of Neural Text Degeneration. In International Conference on Learning Representations.
294
+ Eduard Hovy and Julia Lavid. 2010. Towards a 'Science' of Corpus Annotation: A New Methodological Challenge for Corpus Linguistics. International journal of translation, 22(1):13-36.
295
+ David M. Howcroft, Anya Belz, Miruna Clinciu, Dimitra Gkatzia, Sadid A. Hasan, Saad Mahamood, Simon Mille, Emiel van Miltenburg, Sashank Santhanam, and Verena Rieser. 2020. Twenty years of confusion in human evaluation: NLG needs evaluation sheets and standardised definitions. In Proceedings of the 13th International Conference on Natural Language Generation, pages 169-182, Dublin, Ireland. Association for Computational Linguistics.
296
+ Stephanie Inglis. 2015. Summarising Unreliable Data. In Proceedings of the 15th European Workshop on
297
+
298
+ Natural Language Generation (ENLG), pages 95-99, Brighton, UK. Association for Computational Linguistics.
299
+ Stephanie Inglis, Ehud Reiter, and Somayajulu Sripada. 2017. Textually Summarising Incomplete Data. In Proceedings of the 10th International Conference on Natural Language Generation, pages 228-232, Santiago de Compostela, Spain. Association for Computational Linguistics.
300
+ Daniel Khashabi, Gabriel Stanovsky, Jonathan Bragg, Nicholas Lourie, Jungo Kasai, Yejin Choi, Noah A. Smith, and Daniel Weld. 2022. GENIE: Toward reproducible and standardized human evaluation for text generation. In Proceedings of the 2022 Conference on Empirical Methods in Natural Language Processing, pages 11444-11458, Abu Dhabi, United Arab Emirates. Association for Computational Linguistics.
301
+ Mojtaba Komeili, Kurt Shuster, and Jason Weston. 2022. Internet-Augmented Dialogue Generation. In Proceedings of the 60th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pages 8460-8478, Dublin, Ireland. Association for Computational Linguistics.
302
+ Kittipitch Kuptavanich, Ehud Reiter, Kees Van Deemter, and Advaith Siddharthan. 2018. Generating Summaries of Sets of Consumer Products: Learning from Experiments. In Proceedings of the 11th International Conference on Natural Language Generation, pages 403-407, Tilburg University, The Netherlands. Association for Computational Linguistics.
303
+ J. Richard Landis and Gary G. Koch. 1977. The Measurement of Observer Agreement for Categorical Data. Biometrics, 33(1):159-174. Publisher: [Wiley, International Biometric Society].
304
+ Yanran Li, Hui Su, Xiaoyu Shen, Wenjie Li, Ziqiang Cao, and Shuzi Niu. 2017. DailyDialog: A manually labelled multi-turn dialogue dataset. In Proceedings of the Eighth International Joint Conference on Natural Language Processing (Volume 1: Long Papers), pages 986-995, Taipei, Taiwan. Asian Federation of Natural Language Processing.
305
+ Rensis Likert. 1932. A technique for the measurement of attitudes. Archives of Psychology, 22 140:55-55.
306
+ Saad Mahamood and Ehud Reiter. 2011. Generating affective natural language for parents of neonatal infants. In Proceedings of the 13th European Workshop on Natural Language Generation, pages 12-21, Nancy, France. Association for Computational Linguistics.
307
+ Saad Mahamood and Ehud Reiter. 2012. Working with clinicians to improve a patient-information NLG system. In INLG 2012 Proceedings of the Seventh International Natural Language Generation Conference, pages 100-104, Utica, IL. Association for Computational Linguistics.
308
+
309
+ Alexander Miller, Will Feng, Dhruv Batra, Antoine Bordes, Adam Fisch, Jiasen Lu, Devi Parikh, and Jason Weston. 2017. ParlAI: A Dialog Research Software Platform. In Proceedings of the 2017 Conference on Empirical Methods in Natural Language Processing: System Demonstrations, pages 79-84, Copenhagen, Denmark. Association for Computational Linguistics.
310
+ Priscilla Moraes, Kathy McCoy, and Sandra Carberry. 2014. Adapting Graph Summaries to the Users' Reading Levels. In Proceedings of the 8th International Natural Language Generation Conference (INLG), pages 64-73, Philadelphia, Pennsylvania, U.S.A. Association for Computational Linguistics.
311
+ Yusuke Mori, Hiroaki Yamane, Yusuke Mukuta, and Tatsuya Harada. 2019. Toward a Better Story End: Collecting Human Evaluation with Reasons. In Proceedings of the 12th International Conference on Natural Language Generation, pages 383-390, Tokyo, Japan. Association for Computational Linguistics.
312
+ Gabriel Murray, Giuseppe Carenini, and Raymond Ng. 2010. Generating and validating abstracts of meeting conversations: a user study. In Proceedings of the 6th International Natural Language Generation Conference. Association for Computational Linguistics.
313
+ Alice Oh and Howard Shrobe. 2008. Generating baseball summaries from multiple perspectives by reordering content. In Proceedings of the Fifth International Natural Language Generation Conference on - INLG '08, page 173, Salt Fork, Ohio. Association for Computational Linguistics.
314
+ Silviu Paun, Ron Artstein, and Massimo Poesio. 2022. Learning from Multi-Annotated Corpora. In *Statistical Methods for Annotation Analysis*, pages 147-165. Springer International Publishing, Cham.
315
+ Ellie Pavlick and Tom Kwiatkowski. 2019. Inherent Disagreements in Human Textual Inferences. Transactions of the Association for Computational Linguistics, 7:677-694. Place: Cambridge, MA Publisher: MIT Press.
316
+ James Pustejovsky and Amber Stubbs. 2012. *Natural Language Annotation for Machine Learning*. O'Reilly Media, Inc.
317
+ Raheel Qader, Khoder Jneid, François Portet, and Cyril Labbe. 2018. Generation of Company descriptions using concept-to-text and text-to-text deep models: dataset collection and systems evaluation. In Proceedings of the 11th International Conference on Natural Language Generation, pages 254-263, Tilburg University, The Netherlands. Association for Computational Linguistics.
318
+ Ehud Reiter, Albert Gatt, François Portet, and Marian van der Meulen. 2008. The importance of narrative and other lessons from an evaluation of an NLG system that summarizes clinical data. In Proceedings
319
+
320
+ of the Fifth International Natural Language Generation Conference on - INLG '08, page 147, Salt Fork, Ohio. Association for Computational Linguistics.
321
+ Ehud Reiter, Roma Robertson, and Liesl Osman. 2000. Knowledge acquisition for natural language generation. In Proceedings of the first international conference on Natural language generation - INLG '00, volume 14, page 217, Mitzpe Ramon, Israel. Association for Computational Linguistics.
322
+ Sashank Santhanam and Samira Shaikh. 2019. Towards Best Experiment Design for Evaluating Dialogue System Output. In Proceedings of the 12th International Conference on Natural Language Generation, pages 88-94, Tokyo, Japan. Association for Computational Linguistics.
323
+ Björn Schlünder and Ralf Klabunde. 2013. Greetings generation in video role playing games. In Proceedings of the 14th European Workshop on Natural Language Generation, pages 167-171, Sofia, Bulgaria. Association for Computational Linguistics.
324
+
325
+ Martin Schweinsberg, Nikhil Madan, Michelangelo Vianello, S. Amy Sommer, Jennifer Jordan, Warren Tierney, Eli Awtrey, Luke Lei Zhu, Daniel Diermeier, Justin E. Heinze, Malavika Srinivasan, David Tannenbaum, Eliza Bivolaru, Jason Dana, Clintin P. Davis-Stober, Christilene du Plessis, Quentin F. Gronau, Andrew C. Hafenbrack, Eko Yi Liao, Alexander Ly, Maarten Marsman, Toshio Murase, Israr Qureshi, Michael Schaerer, Nico Thornley, Christina M. Tworek, Eric-Jan Wagenmakers, Lynn Wong, Tabitha Anderson, Christopher W. Bauman, Wendy L. Bedwell, Victoria Brescoll, Andrew Canavan, Jesse J. Chandler, Erik Cheries, Sapna Cheryan, Felix Cheung, Andrei Cimpian, Mark A. Clark, Diana Cordon, Fiery Cushman, Peter H. Ditto, Thomas Donahue, Sarah E. Frick, Monica Gamez-Djokic, Rebecca Hofstein Grady, Jesse Graham, Jun Gu, Adam Hahn, Brittany E. Hanson, Nicole J. Hartwich, Kristie Hein, Yoel Inbar, Lily Jiang, Tehlyr Kellogg, Deanna M. Kennedy, Nicole Legate, Timo P. Luoma, Heidi Maibuecher, Peter Meindl, Jennifer Miles, Alexandra Mislin, Daniel C. Molden, Matt Motyl, George Newman, Hoai Huong Ngo, Harvey Packham, Philip S. Ramsay, Jennifer L. Ray, Aaron M. Sackett, Anne-Laure Sellier, Tatiana Sokolova, Walter Sowden, Daniel Storage, Xiaomin Sun, Jay J. Van Bavel, Anthony N. Washburn, Cong Wei, Erik Wetter, Carlos T. Wilson, Sophie-Charlotte Darroux, and Eric Luis Uhlmann. 2016. The pipeline project: Pre-publication independent replications of a single laboratory's research pipeline. Journal of Experimental Social Psychology, 66:55-67.
326
+
327
+ João Sedoc, Daphne Ippolito, Arun Kirubarajan, Jai Thirani, Lyle Ungar, and Chris Callison-Burch. 2019. ChatEval: A tool for chatbot evaluation. In Proceedings of the 2019 Conference of the North American Chapter of the Association for Computational Linguistics (Demonstrations), pages 60-65, Minneapolis, Minnesota. Association for Computational Linguistics.
328
+
329
+ Advaith Siddharthan, Matthew Green, Kees van Deemter, Chris Mellish, and René van der Wal. 2012. Blogging birds: Generating narratives about reintroduced species to promote public engagement. In INLG 2012 Proceedings of the Seventh International Natural Language Generation Conference, pages 120-124, Utica, IL. Association for Computational Linguistics.
330
+ Alexandra N. Uma, Tommaso Fornaciari, Dirk Hovy, Silviu Paun, Barbara Plank, and Massimo Poesio. 2022. Learning from Disagreement: A Survey. J. Artif. Int. Res., 72:1385-1470. Place: El Segundo, CA, USA Publisher: AI Access Foundation.
331
+ Kees van Deemter. 2000. Generating vague descriptions. In Proceedings of the first international conference on Natural language generation - INLG '00, volume 14, page 179, Mitzpe Ramon, Israel. Association for Computational Linguistics.
332
+ Emiel van Miltenburg, Miruna Clinciu, Ondrej Dušek, Dimitra Gkatzia, Stephanie Inglis, Leo Leppänen, Saad Mahamood, Emma Manning, Stephanie Schoch, Craig Thomson, and Luou Wen. 2021. Underreporting of errors in NLG output, and what to do about it. In Proceedings of the 14th International Conference on Natural Language Generation, pages 140-153, Aberdeen, Scotland, UK. Association for Computational Linguistics.
333
+ Sebastian Varges. 2006. Overgeneration and ranking for spoken dialogue systems. In Proceedings of the Fourth International Natural Language Generation Conference on - INLG '06, page 20, Sydney, Australia. Association for Computational Linguistics.
334
+ Jason Weston and Kurt Shuster. 2021. Blender Bot 2.0: An open source chatbot that builds long-term memory and searches the internet.
335
+ Jing Xu, Arthur Szlam, and Jason Weston. 2022. Beyond Goldfish Memory: Long-Term Open-Domain Conversation. In Proceedings of the 60th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pages 5180-5197, Dublin, Ireland. Association for Computational Linguistics.
336
+ Yizhe Zhang, Siqi Sun, Michel Galley, Yen-Chun Chen, Chris Brockett, Xiang Gao, Jianfeng Gao, Jingjing Liu, and Bill Dolan. 2020. DIALOGPT: Large-Scale Generative Pre-training for Conversational Response Generation. In Proceedings of the 58th Annual Meeting of the Association for Computational Linguistics: System Demonstrations, pages 270-278, Online. Association for Computational Linguistics.
337
+ Tianyu Zhao, Divesh Lala, and Tatsuya Kawahara. 2020. Designing Precise and Robust Dialogue Response Evaluators. In Proceedings of the 58th Annual Meeting of the Association for Computational Linguistics, pages 26-33, Online. Association for Computational Linguistics.
338
+
339
+ ![](images/f8226cdf1f1c238984552fc3127dfc8a0d076fe7fb158da638048322096c6e61.jpg)
340
+ Figure 4: A flowchart of LEAP - a standardized and transparent annotation protocol. It has the following parameters: the minimum and maximum number of rounds ( $N_{min}$ and $N_{max}$ ), agreement criteria and threshold, common law discussion time limit ( $T$ ), number of researchers involved (minimum of 2), the number of items per small iteration (A), the number of items for the larger annotation (B).
341
+
342
+ # A Appendix
343
+
344
+ # A.1 Generic LEAP
345
+
346
+ As stated in subsection 3.1 has task-specific properties that need to be chosen by researchers. We used LEAP with a particular set of parameters for our experiment. Figure 4 is a generic flowchart for LEAP. We acknowledge that LEAP is extremely rigid. For our experiments, this was important as we desired to minimize variance between groups. In practice, researchers may desire more flexibility (e.g., discussion time cap or the number of examples per iteration). If this is the case then we encourage the documentation of deviations from the protocol.
347
+
348
+ ![](images/929a7461db00359d69fbf499107e04fd177023c447ab16788ddcedd6917a2f1b.jpg)
349
+ Figure 5: A flowchart of iteration-free LEAP.
350
+
351
+ # A.2 Iteration-Free LEAP
352
+
353
+ Figure 5 shows iteration-free LEAP. Iteration-free LEAP might be more attractive for researchers who are concerned about the independent nature of annotations of each round. We suggest that iterations within a round are important since researchers may not have explicitly agreed on the common law rule.
354
+
355
+ # A.3 NLP Work Using Appropriateness, Information content of output, and Humanlikeness
356
+
357
+ Various papers created their own definitions for the category of Appropriateness (Varges, 2006; Reiter et al., 2008; Oh and Shrobe, 2008; Murray et al., 2010; Mahamood and Reiter, 2011; Schlünder and Klabunde, 2013; Gatzia et al., 2013; Cimiano et al., 2013; Inglis et al., 2017; Harrison and Walker, 2018; Mori et al., 2019; Santhanam and Shaikh, 2019), Information content of outputs (Demir et al., 2008; Siddharthan et al., 2012; Mahamood and Reiter, 2012; Moraes et al., 2014; Inglis, 2015; Kuptavanich et al., 2018; Qader et al., 2018; Choi et al., 2018), and for Humanlikeness (Byamugisha et al., 2017; Deriu and Cieliebak, 2018; Fikri et al., 2018).
358
+
359
+ # A.4 Dialog Model Parameters
360
+
361
+ For DialogGPT, which was trained on 147M dialogue instances created from Reddit threads (Zhang et al., 2020), we used the pre-trained model with the medium (345M) model checkpoint, using the top-K sorting algorithm. For GPT-3 (Brown et al., 2020), we used a temperature of 0.9 and a top-p decoding strategy (Holtzman et al., 2019) with $p = 0.92$ . We used the following format for the prompt for GPT-3:
362
+
363
+ The following is a conversation between A and B.
364
+
365
+ A: Oh, I am so tired.
366
+
367
+ B: I know what you mean.
368
+
369
+ A: I don't know if I can continue working like this.
370
+
371
+ B:
372
+
373
+ For Plato2, we used two model sizes, 24L (with 310M parameters), and 32L (with 1.6B parameters) (Bao et al., 2021). For BlenderBot, two model sizes were used: 2.7B and 9B (Miller et al., 2017). For BlenderBot 2, two model sizes were used as well: 400M and 3B (Weston and Shuster, 2021; Komeili et al., 2022; Xu et al., 2022). Finally, we used the original human responses that are a part of the ESL (Sedoc et al., 2019) and Daily Dialog (Li et al., 2017) evaluation sets.
374
+
375
+ <table><tr><td>prompt</td><td>response</td></tr><tr><td>A: Oh, I am so tired.</td><td></td></tr><tr><td>B: I know what you mean.</td><td>Why don&#x27;t</td></tr><tr><td>A: I don&#x27;t know if I can</td><td>you take a</td></tr><tr><td>continue working like this.</td><td>break?</td></tr></table>
376
+
377
+ Figure 6: An example prompt and response annotated by the researchers and crowdsourced workers.
378
+
379
+ # A.5 Instructions
380
+
381
+ # Common Law Annotations
382
+
383
+ # Creating Annotation Guidelines
384
+
385
+ The goal is to create guidelines that help people annotate conversational text data as similarly as possible. In order to increase agreement with your annotation partner, you will meet with them to discuss a common annotation methodology.
386
+
387
+ The annotation task is to label chatbot responses to prompts, using three annotation criteria:
388
+
389
+ - Appropriateness: The degree to which the output is appropriate in the given context/situation.
390
+ Information content of outputs: The amount of information conveyed by an output.
391
+ Human-likeness: The degree to which an output could have been produced by a human.
392
+
393
+ Each criteria is annotated on a 5-point scale where 1 is worst and 5 is best.
394
+
395
+ # Annotating Model Responses
396
+
397
+ For each round of annotations, you will be provided with a Google Sheets document containing 50 prompts and responses. During these annotations, you may not communicate with your partner annotator.
398
+
399
+ The prompt column contains a single utterance or multiple-utterance conversation. The response column contains the chatbot's response to the last utterance in the prompt.
400
+
401
+ Utterances are separated by A: and B:, which indicate two speakers. There are at most two speakers per prompt, though there may be prompts with only one speaker.
402
+
403
+ For example,
404
+
405
+ <table><tr><td>prompt</td><td>response</td><td>Appropriateness</td><td>Information content of outputs</td><td>Humanlikeness</td></tr><tr><td>A: Oh, I am so tired.
406
+ B: I know what you mean.
407
+ A: I don&#x27;t know if I can
408
+ continue working like this.</td><td>Why don&#x27;t you take a break?</td><td>enter annotation here</td><td>enter annotation here</td><td>enter annotation here</td></tr></table>
409
+
410
+ Remember that the annotation values should be a number between 1 and 5. You will annotate 50 prompt-response pairs each round. Please time yourself at the start and end of each annotation session.
411
+
412
+ Figure 7: The annotation and discussion instructions shared to all groups.
413
+
414
+ # Annotation & Discussion Plan [Annotator]
415
+
416
+ Objective: Annotators repeat annotation and discussion in order to increase their inter-annotator agreement.
417
+
418
+ <table><tr><td>Step</td><td>Title</td><td>Time Needed (Approx.)</td><td>Instructions</td><td>Notes</td></tr><tr><td>1</td><td>Discuss initial annotation methodology</td><td>30 min.</td><td>Schedule a common time using the Doodle poll
419
+ Join this public Zoom call on your scheduled time and discuss annotation methodologies</td><td></td></tr><tr><td>2</td><td>1st Annotation Session</td><td>-</td><td>Annotate 50 model responses</td><td></td></tr><tr><td>3</td><td>Discuss annotation methodology</td><td>30 min.</td><td>Schedule a common time using the Doodle poll
420
+ Join this public Zoom call on your scheduled time and discuss annotation methodologies</td><td></td></tr><tr><td>4</td><td>2nd Annotation Session</td><td>-</td><td>Annotate 50 model responses</td><td></td></tr><tr><td>5</td><td>Discuss annotation methodology</td><td>30 min.</td><td>Schedule a common time using the Doodle poll
421
+ Join your designated Zoom call on your scheduled time and discuss annotation methodologies</td><td></td></tr><tr><td colspan="5">If Inter-Annotator Agreement is below 0.7: proceed to STEP 6 and STEP 7
422
+ If Inter-Annotator Agreement is above 0.7: proceed to STEP 8</td></tr><tr><td>6</td><td>Annotation Session</td><td>-</td><td>Annotate 50 model responses</td><td></td></tr><tr><td>7</td><td>Discuss annotation methodology</td><td>30 min.</td><td>Schedule a common time using the Doodle poll
423
+ Join your designated Zoom call on your scheduled time and discuss annotation methodologies</td><td></td></tr><tr><td colspan="5">If Inter-Annotator Agreement is below 0.7: repeat STEP 6 and STEP 7
424
+ If Inter-Annotator Agreement is above 0.7: proceed to STEP 8
425
+ → Maximum of 5 annotation- discussion repetitions</td></tr><tr><td>8</td><td>Annotate 400 responses</td><td>-</td><td>Annotate 400 model responses</td><td></td></tr><tr><td>9</td><td>Create Individual Annotation Guideline</td><td>-</td><td>Each annotator creates their own annotation guideline</td><td></td></tr><tr><td>10</td><td>Merge Annotation Guideline</td><td>-</td><td>The annotator pair merges their annotation guideline</td><td></td></tr><tr><td>11</td><td>150 AMT Annotations</td><td>-</td><td>Annotate 150 items through the Amazon Mechanical Turk (AMT) platform - 50 using your own guideline, 50 using a different group&#x27;s guideline, and 50 using another group&#x27;s guideline</td><td></td></tr></table>
426
+
427
+ Figure 8: The step-by-step LEAP instructions shared among researcher annotators.
428
+
429
+ # A.6 Annotation Guidelines
430
+
431
+ # Instructions
432
+
433
+ # NOTE: THERE ARE A MAXIMUM OF 5 HITs YOU CAN COMPLETE. COMPLETING ALL 5 HITs WILL GIVE YOU A BONUS! WE ENCOURAGE YOU TO DO ALL 5 HITs
434
+
435
+ The annotation task is to label responses to a given prompt. The prompt consists of two people (A and B) talking to each other. The response is the next utterance after the final utterance in the prompt. The three base annotation criteria are:
436
+
437
+ 1. Appropriateness: The degree to which the output is appropriate in the given context/situation.
438
+ 2. Information content of outputs: The amount of information conveyed by an output.
439
+ 3. Human-likeness: The degree to which an output could have been produced by a human.
440
+
441
+ # Each criteria is annotated on a 5-point scale where 1 is worst and 5 is best. Specific Definitions
442
+
443
+ # Tips:
444
+
445
+ - Do not consider the humanlkeness of the response when judging its appropriateness. If the response fits the context, but sounds weird, mark it as highly appropriate.
446
+ - Do not consider the appropriateness of the response when judging its humanlikeness. Humanlikeness should depend only on the response itself, ignoring the context.
447
+
448
+ <table><tr><td>#</td><td>Appropriateness</td><td>Information content of output</td><td>Humanlikeness</td></tr><tr><td></td><td>Does the response fit the context well?</td><td>Is the response specific or generic?</td><td>Could a human have said this response?</td></tr><tr><td>1</td><td>The response is completely irrelevant. It does not match or reference the context at all.</td><td>The response could follow almost any statement or context, for example “How so?” or “Yeah”.</td><td>The response is garbled text or nonsensical. It has no reasonable interpretation. For example, “He green a”.</td></tr><tr><td>2</td><td>The response matches or references the context, but is highly unexpected. For example, it might contradict a previous statement, repeat word-for-word something already said, or respond to an earlier part of the conversation.</td><td>The response could follow a large category of statements, but not any statement, for example, “Why not?” or “I&#x27;m down for that.”</td><td>The response has some well-formed parts that you can interpret, but it&#x27;s completely unbelievable that the response came from a human. For example, “It&#x27;s just north of here UUUU.”</td></tr><tr><td>3</td><td>The response has at least one interpretation that makes sense in the conversation; however, the interpretation is a stretch or strange given the context.</td><td>The response talks about something generic in a vague way, for example: “Yeah, I love that.” or “It really is great.”</td><td>The response is well-formed, but doesn&#x27;t seem realistic, sounds like a poorly written fictional person, or over-explains. For example, “I am sleepy because it&#x27;s night time, so now I will nap in my bed.”</td></tr><tr><td>4</td><td>The first interpretation of the response makes sense in the conversation; however, it&#x27;s a bit strange, awkward, or unexpected.</td><td>The response talks about something specific to the conversation in a vague way, for example: “Park street is great.”</td><td>The response is mostly believable as coming from a person, but seems a bit strange. For example, the response is unreasonably polite.</td></tr><tr><td>5</td><td>The response perfectly fits the conversation.</td><td>The response is highly specific to the conversation. It discusses something from the conversation in a specific way, for example “I really miss them, now that they&#x27;re gone.”</td><td>The response is perfectly believable as coming from a human. You would not be surprised at all if a person had actually said it.</td></tr></table>
449
+
450
+ # Examples:
451
+
452
+ <table><tr><td>Prompt</td><td>Response</td><td>Appropriateness</td><td>Information content of output</td><td>Humanlikeness</td></tr><tr><td>A: This floor is falling apart.
453
+ B: How can you tell?
454
+ A: Are you kidding me? Step over here.</td><td>That&#x27;s what I was thinking.</td><td>1</td><td>2</td><td>5</td></tr><tr><td>A: The prices on fruit have really gone up this year!
455
+ B: Yes, they have. It&#x27;s ridiculous!
456
+ A: The fruit is not of good quality, either.</td><td>I&#x27;ve also noticed the drop in quality.</td><td>5</td><td>5</td><td>5</td></tr><tr><td>A: I&#x27;m making the food for the party tomorrow.
457
+ B: I heard you are a fantastic cook!
458
+ A: Thank you! I do my best.</td><td>I&#x27;m sure you do!</td><td>4</td><td>2</td><td>4</td></tr></table>
459
+
460
+ Figure 9: Annotation Guideline for Group 1.
461
+
462
+ # Instructions
463
+
464
+ # NOTE: THERE ARE A MAXIMUM OF 5 HITs YOU CAN COMPLETE. COMPLETING ALL 5 HITs WILL GIVE YOU A BONUS! WE ENCOURAGE YOU TO DO ALL 5 HITs
465
+
466
+ The a t the three base annotation criteria are:
467
+
468
+ 1. Appropriateness: The degree to which the output is appropriate in the given context/situation.
469
+ 2. Information content of outputs: The amount of information conveyed by an output.
470
+ 3. Human-likeness: The degree to which an output could have been produced by a human.
471
+
472
+ Each criteria is annotated on a 5-point scale where 1 is worst and 5 is best.
473
+
474
+ # Specific Definitions
475
+
476
+ # Appropriateness
477
+
478
+ Given the context in the prompt, we will consider the following aspects when assigning the score for appropriateness:
479
+
480
+ 1. Answer the question
481
+ 2. Talk about the same thing in the prompt
482
+
483
+ If the response satisfies all the above requirements, we will assign a score of 5. If the response somehow answers the question but does not satisfy one of the other two requirements, we will assign a score of 4. If the response only answers the question partially, we will assign a score of 3. If the response does not answer the question but satisfies one of the other two requirements, we will assign a score of 2. If the response does not satisfy all the above requirements, we will assign a score of 1.
484
+
485
+ # Information content of outputs
486
+
487
+ For this part, we will take the information conveyed in the response and the length of the response into consideration. To be detailed, we will consider the following aspects when assigning the score for information content of outputs:
488
+
489
+ 1. The information covered for the question
490
+ 2. The number of sentence $(>= 4$ long; $>= 3$ median; $>= 1$ short)
491
+ 3. Information is valid (even if it is not related to the prompt)
492
+
493
+ If the response satisfies all the above requirements (long sentences), we will assign a score of 5. If the response contains enough and valid information but does not have a reasonable length (median), we will assign a score of 4. If the response contains some information, but the information may not be valid or the response does not have a reasonable length (median), we will assign a score of 3. If the response contains limited information and the length of the response is short, we will assign a score of 2. If the response does not satisfy all the above requirements, we will assign a score of 1.
494
+
495
+ # Humanlikeness
496
+
497
+ We will evaluate the degree to which the response looks like a human sentence. We will consider the following aspects when assigning the score for human-likeness:
498
+
499
+ 1. First impression of reading as a human sentence
500
+ 2. Check grammar and syntax error
501
+
502
+ If the response satisfies all the above requirements, we will assign a score of 5. If the response contains minor grammar or syntax errors but overall looks like a human sentence, we will assign a score of 4. If the response contains a few grammar or syntax errors but still looks like a human sentence, we will assign a score of 3. If the response somehow does not look like a human sentence slightly but there are few grammar or syntax errors in the response, we will assign a score of 2. If the response does not satisfy all the above requirements, we will assign a score of 1.
503
+
504
+ Figure 10: Annotation Guideline for Group 2.
505
+
506
+ # Instructions
507
+
508
+ # NOTE: THERE ARE A MAXIMUM OF 5 HITs YOU CAN COMPLETE. COMPLETING ALL 5 HITs WILL GIVE YOU A BONUS! WE ENCOURAGE YOU TO DO ALL 5 HITs
509
+
510
+ The annotation task is to label responses to a given prompt. The prompt consists of two people (A and B) talking to each other. The response is the next utterance after the final utterance in the prompt. The three base annotation criteria are:
511
+
512
+ 1. Appropriateness: The degree to which the output is appropriate in the given context/situation.
513
+ 2. Information content of outputs: The amount of information conveyed by an output.
514
+ 3. Human-likeness: The degree to which an output could have been produced by a human.
515
+
516
+ Each criteria is annotated on a 5-point scale where 1 is worst and 5 is best.
517
+
518
+ # Specific Definitions
519
+
520
+ Laurel: Ben let out the cats this morning but one of them didn't come back into the house. Dara: oh no, was it Tom?
521
+
522
+ # Appropriateness:
523
+
524
+ 1. Completely irrelevant and non-topical response
525
+ Laurel: Did you get dinner?
526
+ 2. Response is on topic, but not appropriate.
527
+ Laurel: Cats are cute
528
+ 3. Half of response is appropriate, half is not
529
+ Laurel: Thankfully, it wasn't Tom, but I want some hotdogs
530
+ 4. Response is mostly appropriate, albeit slightly awkward.
531
+ Laurel: Jerry
532
+ 5. Response is
533
+ Laurel: No, it was Jerry ... He's always crawling under the house.
534
+
535
+ # Information content of output
536
+
537
+ 1. Repetition of something said in the prompt Laurel: The cats were let out by Ben
538
+ 2. A generic answer or a question
539
+ Laurel: Maybe
540
+ Laurel: Do you like cats?
541
+ 3. One type of information conveyed (information about self or the world)
542
+ Laurel: No, it was Jerry.
543
+ Laurel: Cats often run away.
544
+ 4. Both types of information conveyed (information about self and the world)
545
+ Laurel: No Jerry; (I am really worried.
546
+ 5. 3 or more distinct pieces of information conveyed.
547
+ Laurel: No it is Jerry. I'm really worried. $90\%$ of cats that aren't found within 5 hours are roadkill.
548
+
549
+ Humanlikeness The extent to which the response BY ITSELF (ignore context) could have been written by a person
550
+
551
+ 1. Self-contradictory or ungrammatical Laurel: Yes it's Jerry. But Jerry is Tom.
552
+ 2. Incorrect obvious facts about the world
553
+ Laurel: Jerry is mostly a cat name as in Tom and Jerry
554
+ 3. Too long or unnatural sounding (lack of conversationalist properties)
555
+ Laurel: Jerry got lost then he might have gone under the house just like I drew in my drawing. Maybe this was all a dream
556
+ 4. Close but not right almost like a non-native English speaker.
557
+ Laurel: Jerry ran away ... Sad feelings.
558
+ 5. Perfectly fluent. You could imagine yourself saying this.
559
+ Laurel: Unfortunately both Jerry and Tom that ran away. I'm not sure what to do.
560
+
561
+ Figure 11: Annotation Guideline for Group 3.
562
+
563
+ # Instructions
564
+
565
+ # NOTE: THERE ARE A MAXIMUM OF 5 HITs YOU CAN COMPLETE. COMPLETING ALL 5 HITs WILL GIVE YOU A BONUS! WE ENCOURAGE YOU TO DO ALL 5 HITs
566
+
567
+ The annotation task is to label responses to a given prompt. The prompt consists of two people (A and B) talking to each other. The response is the next utterance after the final utterance in the prompt. The three base annotation criteria are:
568
+
569
+ 1. Appropriateness: The degree to which the output is appropriate in the given context/situation.
570
+ 2. Information content of outputs: The amount of information conveyed by an output.
571
+ 3. Human-likeness: The degree to which an output could have been produced by a human.
572
+
573
+ Each criteria is annotated on a 5-point scale where 1 is worst and 5 is best.
574
+
575
+ # Specific Definitions
576
+
577
+ Information content of output, Appropriateness:
578
+
579
+ Appropriateness: 1
580
+
581
+ Information content of output: 1
582
+
583
+ If the response doesn't make sense, doesn't relate to the previous conversation, doesn't have some new information
584
+
585
+ Appropriateness: 1
586
+
587
+ Information content of output: 2
588
+
589
+ If the response doesn't make sense, doesn't relate to the previous conversation, has some new information
590
+
591
+ Appropriateness: 2
592
+
593
+ Information content of output: 1
594
+
595
+ If the response doesn't make sense, but still relates to the previous conversation, doesn't have new information
596
+
597
+ Appropriateness: 4
598
+
599
+ Information content of output: 3
600
+
601
+ If the response does make sense, but still relate to the previous conversation, doesn't have new information
602
+
603
+ Appropriateness: 5
604
+
605
+ Information content of output: 5
606
+
607
+ If the response does make sense, but still relate to the previous conversation, has some new information
608
+
609
+ Appropriateness: 4
610
+
611
+ Information content of output: 3
612
+
613
+ If the response does make sense, not quite appropriate, has new information
614
+
615
+ Appropriateness: 4
616
+
617
+ Information content of output: 4
618
+
619
+ If the response does make sense, not as appropriate, has new information
620
+
621
+ Humanlikeness
622
+
623
+ Humanlikeness: 1
624
+
625
+ If the response doesn't make sense, doesn't relate to the previous conversation, repeat previous information,
626
+
627
+ Humanlikeness: 1
628
+
629
+ If the response doesn't make sense, doesn't relate to the previous conversation, doesn't repeat previous information,
630
+
631
+ Humanlikeness: 2
632
+
633
+ If the response doesn't make sense, but still relates to the previous conversation, repeats previous information,
634
+
635
+ Humanlikeness: 2
636
+
637
+ If the response doesn't make sense, but still relates to the previous conversation, doesn't repeat previous information,
638
+
639
+ Humanlikeness: 1
640
+
641
+ If the response does make sense, doesn't relate to the previous conversation, repeats previous information,
642
+
643
+ Humanlikeness: 1
644
+
645
+ If the response does make sense, doesn't relate to the previous conversation, doesn't repeat previous information,
646
+
647
+ Humanlikeness: 3
648
+
649
+ If the response does make sense, but still relates to the previous conversation, repeats previous information,
650
+
651
+ Humanlikeness: 4
652
+
653
+ If the response does make sense, relates to the previous conversation, and paraphrases previous information
654
+
655
+ Humanlikeness: 5
656
+
657
+ If the response does make sense, still relates to the previous conversation, doesn't repeat previous information,
658
+
659
+ Figure 12: Annotation Guideline for Group 4.
660
+
661
+ # Instructions
662
+
663
+ NOTE: THERE ARE A MAXIMUM OF 5 HITs YOU CAN COMPLETE. COMPLETING ALL 5 HITs WILL GIVE YOU A BONUS! WE ENCOURAGE YOU TO DO ALL 5 HITs The annotation task is to label responses to a given prompt. The prompt consists of two people (A and B) talking to each other. The response is the next utterance after the final utterance in the prompt. The three base annotation criteria are:
664
+
665
+ 1. Appropriateness: The degree to which the output is appropriate in the given context/situation.
666
+ 2. Information content of outputs: The amount of information conveyed by an output.
667
+ 3. Human-likeness: The degree to which an output could have been produced by a human.
668
+
669
+ Each criteria is annotated on a 5-point scale where 1 is worst and 5 is best.
670
+
671
+ # Specific Definitions
672
+
673
+ Appropriateness:
674
+
675
+ Lower score:
676
+
677
+ Confusing response, off-topic
678
+ - Offensive, aggressive
679
+ - Condtradiction
680
+
681
+ Higher score:
682
+
683
+ - Empathetic, compassionate responses
684
+ - Apt responses, matching emotional toll of the situation
685
+
686
+ Information Content:
687
+
688
+ Lower score:
689
+
690
+ - Contradiction
691
+ - Off-topic
692
+ - Repetition
693
+ - Standalone response doesn't make sense
694
+
695
+ Higher score:
696
+
697
+ - Reasoning, could be indicated by joint statements/multiple clauses
698
+
699
+ Humanlikeness
700
+
701
+ Lower score:
702
+
703
+ - Extensive repetition
704
+ - Contradiction
705
+ - Off-topic
706
+ - Generic responses ("I am sorry to hear that", "How can i help you?".
707
+
708
+ Higher score:
709
+
710
+ - Appropriate emojis
711
+ - First person pronouns ("I", "We")
712
+ - Referring to familial relationships
713
+ Colloquial language ("wanna", etc.)
714
+ - Contractions ("I'm", "aren't", etc.)
715
+ - Discuss of emotions ("I feel" statements for example)
716
+ - Expression of surprise ("oh!", etc.)
717
+
718
+ Figure 13: Annotation Guideline for Group 5.
719
+
720
+ # Instructions
721
+
722
+ # NOTE: THERE ARE A MAXIMUM OF 5 HITs YOU CAN COMPLETE. COMPLETING ALL 5 HITs WILL GIVE YOU A BONUS! WE ENCOURAGE YOU TO DO ALL 5 HITs
723
+
724
+ The annotation task is to label responses to a given prompt. The prompt consists of two people (A and B) talking to each other. The response is the next utterance after the final utterance in the prompt. The three base annotation criteria are:
725
+
726
+ 1. Appropriateness: The degree to which the output is appropriate in the given context/situation.
727
+ 2. Information content of outputs: The amount of information conveyed by an output.
728
+ 3. Human-likeness: The degree to which an output could have been produced by a human.
729
+
730
+ Each criteria is annotated on a 5-point scale where 1 is worst and 5 is best.
731
+
732
+ # Specific Definitions
733
+
734
+ # Appropriateness:
735
+
736
+ 1. "this had nothing to do with the conversation whatsoever"
737
+ 2. "huh, wait, that's very weird"
738
+
739
+ $\mathrm{O}$ Response has at least a mild relevance to the topic discussed in prompt but otherwise is a very unusual sentence
740
+
741
+ 3. "that's absurd but lets move on"
742
+ An unusual sentence given topic-prompt or sentence construction but people would just ignore it if someone said that - because its not THAT weird
743
+
744
+ 4. "Hm. I guess that makes sense"
745
+ - Follows logically from the prompt; typical response given the context in the prompt. Sort of what was expected.
746
+
747
+ 5. "That helped the conversation"
748
+
749
+ This adds new and relevant information to the conversation. This is going above and beyond in the right direction for this conversation.
750
+
751
+ # Information Content:
752
+
753
+ 1. Hard to infer anything about the conversation. Very generic.
754
+ Example:"okay".
755
+
756
+ 2. I know one thing that this conversations is about
757
+
758
+ Example:"Yeah I've been there"
759
+ - You know they are talking about a place which counts as 1 thing
760
+
761
+ 3. I know 2 things. Longer sentence.
762
+
763
+ Example: "Yeah I've been there. I thought it was quite nice actually"
764
+
765
+ 4. Multiple sentences with with 3 or more things.
766
+ Example:"Yeah I've been there. I thought it was quite nice. My mom liked it too."
767
+
768
+ 5. A long informative sentence ( $\sim > 10$ words) with LOTs to add in terms of specific.
769
+
770
+ Example: "The thing I like about the Taj Mahal is that it is all one block or marble [...]
771
+
772
+ # Human-likeness:
773
+
774
+ 1. Impossible for a human to say in any context
775
+
776
+ Gibberish: "trhaiotjhoath $\wedge \wedge$ blah_cat"
777
+
778
+ 2. Correct words but very wrong
779
+
780
+ ○ grammar or word order "Go blue stuff very, I said?"
781
+
782
+ 3. some beginner ESL person could say this, i guess
783
+
784
+ - ESL: "Very nice that thing is"
785
+
786
+ 4. Someone would only say this in a weirdly specific situation
787
+
788
+ "it would have been nice if they had dunked it"
789
+ Technical language: "compile down your source code into binary bits via the JVM"
790
+
791
+ 5. literally me or my circle would legitimately say this "Yeah i get you"
792
+
793
+ Figure 14: Annotation Guideline for Group 6.
794
+
795
+ Figure 15: Average agreement between Researchers and Amazon Mechanical Turk Workers, using each Group's guidelines.
796
+ Figure 16: An example attention check question asked to crowdsourced workers.
797
+ ![](images/6b43de6b71ab6589e5cc171a9fc726ab29d1b43cd91010d7723d5055836ed3d7.jpg)
798
+ To verify that you've read the instructions, please read the following prompt and write an example Response that satisfies the following: Appropriateness: 5, Information content of Output: 2, Humanlikeness: 5
799
+
800
+ A: Oh, I am so tired.
801
+ B: I know what you mean.
802
+ A: I don't know if I can continue working like this.
803
+
804
+ # A.7 Crowdsourced Annotations
805
+
806
+ Metadata Using guidelines created by Groups 1 and 2, which were created using LEAP, we deployed an initial screening round of annotations to distinguish the workers who were able to have high agreement with the researchers of the respective groups. Each screening round consisted of 1 HIT task and 10 unique workers completed the HITs. Workers who were able to achieve a category average $\kappa > 0.7$ agreement with the researchers were noted as quality workers. The qualified workers were then given a larger MTurk task of 400 prompt-response questions, where each HIT asked 55 prompt-response questions.
807
+
808
+ Three workers qualified for Group 1 and four workers qualified for Group 2. A total of 24 HITs were created for the three workers using Group 1's guidelines and a total of 32 HITs were published for the four workers using Group 2's guidelines. The workers for Group 1 completed a total of 23 HITs and the workers for Group 2 completed a total of 19 HITs.
809
+
810
+ The workers were notified the annotations will be used for research purposes.
811
+
812
+ Compensation We conducted an initial pilot run of a HIT and learned the workers took an average of 25 minutes to complete a HIT of 55 items. We paid each worker $6.25 per HIT.
813
+
814
+ Qualifications We required a minimum of 500 approved tasks on MTurk. Second, the workers were chosen from a group of workers whose quality was verified for other text-generation evaluation tasks (e.g., summarization evaluation).
815
+
816
+ Quality Checks In order to ensure the quality of the crowdsourced data, we implemented several different quality and attention checks. For each HIT, we asked two quality-check questions to confirm that the
817
+
818
+ worker read and understood the annotation guidelines (Figure 16). We asked an attention-check question to ensure the worker was not randomly participating in the HIT without reading the prompt and responses. Finally, we excluded all workers who did not pass the attention checks or had a category average $\kappa < 0.1$ .
819
+
820
+ # A.8 Average Annotation Ratings per Conversational Model
821
+
822
+ <table><tr><td>Model</td><td>App.</td><td>Info.</td><td>Human.</td></tr><tr><td>BlenderBot 2 - 3b</td><td>3.58</td><td>3.12</td><td>4.78</td></tr><tr><td>BlenderBot 2 - 400m</td><td>3.10</td><td>4.10</td><td>4.32</td></tr><tr><td>BlenderBot - 3b</td><td>2.38</td><td>4.75</td><td>3.30</td></tr><tr><td>BlenderBot - 9b</td><td>3.62</td><td>4.05</td><td>4.25</td></tr><tr><td>DiaLoGPT</td><td>3.19</td><td>4.13</td><td>3.86</td></tr><tr><td>GPT-3</td><td>4.42</td><td>3.90</td><td>4.63</td></tr><tr><td>Ground truth</td><td>4.08</td><td>4.48</td><td>4.50</td></tr><tr><td>Plato 2</td><td>3.16</td><td>4.07</td><td>3.57</td></tr><tr><td>Plato 2 - 24L</td><td>4.30</td><td>4.70</td><td>3.80</td></tr><tr><td>Plato 2 - 32L</td><td>4.40</td><td>5.00</td><td>4.60</td></tr></table>
823
+
824
+ Table 4: Average annotation ratings per conversational model for Group 1.
825
+
826
+ <table><tr><td>Model</td><td>App.</td><td>Info.</td><td>Human.</td></tr><tr><td>BlenderBot 2 - 3b</td><td>3.63</td><td>2.53</td><td>4.30</td></tr><tr><td>BlenderBot 2 - 400m</td><td>3.24</td><td>3.52</td><td>4.58</td></tr><tr><td>BlenderBot - 3b</td><td>2.84</td><td>3.87</td><td>4.21</td></tr><tr><td>BlenderBot - 9b</td><td>3.54</td><td>3.46</td><td>4.25</td></tr><tr><td>DiaLoGPT</td><td>3.54</td><td>3.31</td><td>4.41</td></tr><tr><td>GPT-3</td><td>3.95</td><td>3.33</td><td>4.53</td></tr><tr><td>Ground truth</td><td>3.89</td><td>3.23</td><td>4.87</td></tr><tr><td>Plato 2</td><td>3.47</td><td>3.61</td><td>4.27</td></tr><tr><td>Plato 2 - 24L</td><td>3.85</td><td>4.30</td><td>4.50</td></tr><tr><td>Plato 2 - 32L</td><td>4.40</td><td>4.50</td><td>4.80</td></tr></table>
827
+
828
+ Table 5: Average annotation ratings per conversational model for Group 2.
829
+
830
+ <table><tr><td>Model</td><td>App.</td><td>Info.</td><td>Human.</td></tr><tr><td>BlenderBot 2 - 3b</td><td>2.74</td><td>2.88</td><td>4.61</td></tr><tr><td>BlenderBot 2 - 400m</td><td>2.45</td><td>2.94</td><td>4.64</td></tr><tr><td>BlenderBot - 3b</td><td>3.22</td><td>3.70</td><td>4.71</td></tr><tr><td>BlenderBot - 9b</td><td>3.21</td><td>3.49</td><td>4.97</td></tr><tr><td>DiaLoGPT</td><td>3.35</td><td>2.77</td><td>4.60</td></tr><tr><td>GPT-3</td><td>4.75</td><td>2.77</td><td>4.86</td></tr><tr><td>Ground truth</td><td>4.31</td><td>3.01</td><td>4.95</td></tr><tr><td>Plato 2</td><td>3.64</td><td>3.30</td><td>4.28</td></tr><tr><td>Plato 2 - 24L</td><td>3.02</td><td>3.42</td><td>3.68</td></tr><tr><td>Plato 2 - 32L</td><td>3.61</td><td>3.40</td><td>4.25</td></tr></table>
831
+
832
+ Table 6: Average annotation ratings per conversational model for Group 3.
833
+
834
+ <table><tr><td>Model</td><td>App.</td><td>Info.</td><td>Human.</td></tr><tr><td>BlenderBot 2 - 3b</td><td>2.72</td><td>2.19</td><td>2.42</td></tr><tr><td>BlenderBot 2 - 400m</td><td>2.24</td><td>1.95</td><td>2.17</td></tr><tr><td>BlenderBot - 3b</td><td>3.64</td><td>3.85</td><td>3.60</td></tr><tr><td>BlenderBot - 9b</td><td>3.16</td><td>3.18</td><td>3.18</td></tr><tr><td>DiaLoGPT</td><td>3.24</td><td>2.94</td><td>3.13</td></tr><tr><td>GPT-3</td><td>4.54</td><td>4.31</td><td>4.53</td></tr><tr><td>Ground truth</td><td>4.16</td><td>3.94</td><td>4.14</td></tr><tr><td>Plato 2</td><td>3.86</td><td>3.78</td><td>3.83</td></tr><tr><td>Plato 2 - 24L</td><td>2.65</td><td>2.63</td><td>2.65</td></tr><tr><td>Plato 2 - 32L</td><td>3.92</td><td>3.99</td><td>3.65</td></tr></table>
835
+
836
+ Table 7: Average annotation ratings per conversational model for Group 4.
837
+
838
+ <table><tr><td>Model</td><td>App.</td><td>Info.</td><td>Human.</td></tr><tr><td>BlenderBot 2 - 3b</td><td>2.94</td><td>3.02</td><td>3.16</td></tr><tr><td>BlenderBot 2 - 400m</td><td>2.95</td><td>3.52</td><td>2.92</td></tr><tr><td>BlenderBot - 3b</td><td>3.99</td><td>4.26</td><td>3.94</td></tr><tr><td>BlenderBot - 9b</td><td>3.57</td><td>4.10</td><td>3.79</td></tr><tr><td>DiaLoGPT</td><td>3.58</td><td>3.52</td><td>3.67</td></tr><tr><td>GPT-3</td><td>4.49</td><td>4.20</td><td>4.60</td></tr><tr><td>Ground truth</td><td>4.48</td><td>4.35</td><td>4.57</td></tr><tr><td>Plato 2</td><td>4.08</td><td>4.18</td><td>4.19</td></tr><tr><td>Plato 2 - 24L</td><td>3.17</td><td>3.90</td><td>3.57</td></tr><tr><td>Plato 2 - 32L</td><td>4.12</td><td>4.50</td><td>3.57</td></tr></table>
839
+
840
+ Table 8: Average annotation ratings per conversational model for Group 5.
841
+
842
+ <table><tr><td>Model</td><td>App.</td><td>Info.</td><td>Human.</td></tr><tr><td>BlenderBot 2 - 3b</td><td>2.85</td><td>2.59</td><td>4.79</td></tr><tr><td>BlenderBot 2 - 400m</td><td>2.82</td><td>2.96</td><td>4.68</td></tr><tr><td>BlenderBot - 3b</td><td>3.70</td><td>3.38</td><td>4.74</td></tr><tr><td>BlenderBot - 9b</td><td>3.42</td><td>3.48</td><td>4.81</td></tr><tr><td>DiaLoGPT</td><td>3.40</td><td>2.37</td><td>4.66</td></tr><tr><td>GPT-3</td><td>4.56</td><td>2.56</td><td>4.95</td></tr><tr><td>Ground truth</td><td>4.31</td><td>2.77</td><td>4.92</td></tr><tr><td>Plato 2</td><td>3.77</td><td>3.46</td><td>4.27</td></tr><tr><td>Plato 2 - 24L</td><td>3.12</td><td>4.18</td><td>3.92</td></tr><tr><td>Plato 2 - 32L</td><td>3.63</td><td>3.90</td><td>4.30</td></tr></table>
843
+
844
+ Table 9: Average annotation ratings per conversational model for Group 6.
845
+
846
+ ![](images/e14fcfa2b3c1a6365e717e01c9ba0e70dd6f092def44f2ab5d6e9996931c6fb0.jpg)
847
+ Figure 17: Contingency table of annotations for Groups 3, 4, 5, and 6 - From top to bottom: Appropriateness, Information content of outputs, and Humanlikeness. Round 400 indicates the final round of annotations in LEAP with 400 items. Red borders indicate within-group agreement.
848
+
849
+ # A.9 IAA analysis - Iteration-free LEAP
850
+
851
+ Within Group The red borders in Figure 17 show the change in within-group agreement for Groups 3, 4, 5, and 6. We observed that agreement scores for Appropriateness were relatively higher than other categories for most rounds across all groups. This coincides with our earlier findings that certain categories, such as Appropriateness, may have stronger shared constructs than others.
852
+
853
+ Between Groups While each group's annotation guideline helped the researchers achieve high agreement within-group, Figure 17 shows that agreement between annotators of different groups remained low throughout the five rounds. Surprisingly, we can observe that agreement between annotators across different groups remained high throughout all five rounds for Appropriateness, suggesting that certain annotation categories have a strong shared understanding across annotators of the different groups.
854
+
855
+ Another interesting observation can be seen in Figure 18, which shows the level of agreement for Information content of output during Round 4. The green border shows a distinct silo of agreement between annotators of Groups 4 and 5. We can see that Researcher 10 (Group 5) has low agreement scores of 0.09 and 0.01 with Researchers 5 and 6 (Group 3) and 0.07 and 0.02 with Researchers 11 and 12 (Group 6).
856
+
857
+ However, Researcher 10 has a relatively high agreement of 0.5 and 0.43 with Researchers 5 and 6 (Group 5). With Researcher 7, who also belongs to Group 4, Researcher 10 has an agreement score of 0.39. While the distinction is not as clear, annotators of Group 3 (Researchers 5 and 6) show higher agreement with annotators of Group 6 (Researchers 11 and 12) compared to annotators of Group 4 and Group 5.
858
+
859
+ Similar distinct silos of agreement can be observed in Figure 17 for Humanlikeness, one between Groups 4 and 5 and another between Groups 3 and 6.
860
+
861
+ ![](images/699322f68b5cf2008fdd8b1fbe1dbfb57da9851645fab6da8a8aa5acc51fe41e.jpg)
862
+ Figure 18: Example of distinct silo of agreement between Group 4 and Group 5 for Information content of output, Round 4. The Green border show agreement between annotators of Group 4 and Group 5.
863
+
864
+ # A.10 Cohen's Kappa
865
+
866
+ Counting the raw number of matching annotations is one of the simplest ways to measure agreement. However, the raw agreement fails to account for the possibility of random chance agreement, which becomes problematic when the random chance is very high (Artstein, 2017). To overcome this limitation, Cohen's Kappa $(\kappa)$ measures observed agreement above the expected agreement (Cohen, 1968), more formally stated,
867
+
868
+ $$
869
+ \kappa = \frac {p _ {o} - p _ {e}}{1 - p _ {e}}
870
+ $$
871
+
872
+ where $p_{o}$ is the relative observed agreement among annotators, and $p_{e}$ is the expected probability of random chance agreement. Cohen's Kappa measures agreement between two annotators, treating any disagreement linearly. If a pair of annotators matches on all annotations (thus $p_{o} = 1$ ), then $\kappa = 1$ . On the other hand, if the pair has no agreement other than what is expected by chance (thus $p_{o} = p_{e}$ ), then $\kappa = 0$ . $\kappa < 0$ is also possible when the pair annotates worse than expected chance agreement ( $p_{0} < p_{e}$ ).
873
+
874
+ Some annotation studies require different weights to be applied to different levels of agreement between annotators. For example, on a 5-point Likert scale (Likert, 1932), annotation scores 4 and 5 should be regarded as being in higher agreement than annotation scores 1 and 5. To account for this, the weighted Cohen's Kappa (Cohen, 1968) is often used to measure IAA in annotation tasks, in order to weigh disagreement differently, thus,
875
+
876
+ $$
877
+ \kappa = 1 - \frac {\sum_ {i = 1} ^ {k} \sum_ {j = 1} ^ {k} w _ {i j} x _ {i j}}{\sum_ {i = 1} ^ {k} \sum_ {j = 1} ^ {k} w _ {i j} m _ {i j}},
878
+ $$
879
+
880
+ where $w_{ij}$ is the weight matrix, $x_{ij}$ is the observed matrix, and $m_{ij}$ is the expected matrix.
881
+
882
+ Cohen's Kappa of 0.6 to 0.8 is commonly regarded as a threshold for sufficient inter-annotator agreement in NLP research (Landis and Koch, 1977). In order to strengthen the reliability of annotation guidelines, various methods have been used to raise the kappa above the threshold, such as taking out outlier anomalous annotations from the dataset (Zhao et al., 2020). However, this is no guarantee that the validity of the dataset is improved by the discarded outliers.
883
+
884
+ A For every submission:
885
+
886
+ A1. Did you describe the limitations of your work? Section 6
887
+ A2. Did you discuss any potential risks of your work? Section 6 - particularly some models generated responses containing biases.
888
+ A3. Do the abstract and introduction summarize the paper's main claims? Abstract and Section 1
889
+ A4. Have you used AI writing assistants when working on this paper? Left blank.
890
+
891
+ B Did you use or create scientific artifacts?
892
+
893
+ Yes, Section 3
894
+
895
+ B1. Did you cite the creators of artifacts you used? Yes, Section 3.2
896
+ B2. Did you discuss the license or terms for use and / or distribution of any artifacts? Not relevant.
897
+ B3. Did you discuss if your use of existing artifact(s) was consistent with their intended use, provided that it was specified? For the artifacts you create, do you specify intended use and whether that is compatible with the original access conditions (in particular, derivatives of data accessed for research purposes should not be used outside of research contexts)? Section 1
898
+ B4. Did you discuss the steps taken to check whether the data that was collected / used contains any information that names or uniquely identifies individual people or offensive content, and the steps taken to protect / anonymize it? Section 3.2
899
+ B5. Did you provide documentation of the artifacts, e.g., coverage of domains, languages, and linguistic phenomena, demographic groups represented, etc.? Section 3.2
900
+ B6. Did you report relevant statistics like the number of examples, details of train / test / dev splits, etc. for the data that you used / created? Even for commonly-used benchmark datasets, include the number of examples in train / validation / test splits, as these provide necessary context for a reader to understand experimental results. For example, small differences in accuracy on large test sets may be significant, while on small test sets they may not be. Section 3.2
901
+
902
+ C Did you run computational experiments?
903
+
904
+ Left blank.
905
+
906
+ C1. Did you report the number of parameters in the models used, the total computational budget (e.g., GPU hours), and computing infrastructure used? No response.
907
+
908
+ The Responsible NLP Checklist used at ACL 2023 is adopted from NAACL 2022, with the addition of a question on AI writing assistance.
909
+
910
+ C2. Did you discuss the experimental setup, including hyperparameter search and best-found hyperparameter values? No response.
911
+ C3. Did you report descriptive statistics about your results (e.g., error bars around results, summary statistics from sets of experiments), and is it transparent whether you are reporting the max, mean, etc. or just a single run? No response.
912
+ C4. If you used existing packages (e.g., for preprocessing, for normalization, or for evaluation), did you report the implementation, model, and parameter settings used (e.g., NLTK, Spacy, ROUGE, etc.)? No response.
913
+
914
+ # D Did you use human annotators (e.g., crowdworkers) or research with human participants?
915
+
916
+ Section 3.3
917
+
918
+ D1. Did you report the full text of instructions given to participants, including e.g., screenshots, disclaimers of any risks to participants or annotators, etc.? Section 3.3, Appendix A.5
919
+ D2. Did you report information about how you recruited (e.g., crowdsourcing platform, students) and paid participants, and discuss if such payment is adequate given the participants' demographic (e.g., country of residence)? Appendix A.5
920
+ D3. Did you discuss whether and how consent was obtained from people whose data you're using/curating? For example, if you collected data via crowdsourcing, did your instructions to crowdworkers explain how the data would be used? Appendix A.5
921
+ D4. Was the data collection protocol approved (or determined exempt) by an ethics review board? All of the expert annotators are co-authors of the paper. The annotations from AMT workers would be considered IRB exempt.
922
+ D5. Did you report the basic demographic and geographic characteristics of the annotator population that is the source of the data? Section 3.3
2023/Common Law Annotations_ Investigating the Stability of Dialog System Output Annotations/images.zip ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1e72a117e70f9af1b1916936e104164c612ff0dd42d7a9b22300d206450d4295
3
+ size 1315375
2023/Common Law Annotations_ Investigating the Stability of Dialog System Output Annotations/layout.json ADDED
The diff for this file is too large to render. See raw diff
 
2023/Commonsense Knowledge Graph Completion Via Contrastive Pretraining and Node Clustering/8ad456f0-7f0d-40ee-8bd0-7b70b4a0c21c_content_list.json ADDED
@@ -0,0 +1,2450 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [
2
+ {
3
+ "type": "text",
4
+ "text": "Commonsense Knowledge Graph Completion Via Contrastive Pretraining and Node Clustering",
5
+ "text_level": 1,
6
+ "bbox": [
7
+ 243,
8
+ 90,
9
+ 754,
10
+ 130
11
+ ],
12
+ "page_idx": 0
13
+ },
14
+ {
15
+ "type": "text",
16
+ "text": "Siwei Wu, Xiangqing Shen, and Rui Xia*",
17
+ "bbox": [
18
+ 326,
19
+ 149,
20
+ 680,
21
+ 165
22
+ ],
23
+ "page_idx": 0
24
+ },
25
+ {
26
+ "type": "text",
27
+ "text": "School of Computer Science and Engineering, Nanjing University of Science and Technology, China {wusiwei, xiangqing.shen, rxia}@njust.edu.cn",
28
+ "bbox": [
29
+ 278,
30
+ 167,
31
+ 722,
32
+ 216
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": "The nodes in the commonsense knowledge graph (CSKG) are normally represented by free-form short text (e.g., word or phrase). Different nodes may represent the same concept. This leads to the problems of edge sparsity and node redundancy, which challenges CSKG representation and completion. On the one hand, edge sparsity limits the performance of graph representation learning; On the other hand, node redundancy makes different nodes corresponding to the same concept have inconsistent relations with other nodes. To address the two problems, we propose a new CSKG completion framework based on Contrastive Pretraining and Node Clustering (CPNC). Contrastive Pretraining constructs positive and negative head-tail node pairs on CSKG and utilizes contrastive learning to obtain better semantic node representation. Node Clustering aggregates nodes with the same concept into a latent concept, assisting the task of CSKG completion. We evaluate our CPNC approach on two CSKG completion benchmarks (CN-100K and ATOMIC), where CPNC outperforms the state-of-the-art methods. Extensive experiments demonstrate that both Contrastive Pretraining and Node Clustering can significantly improve the performance of CSKG completion. The source code of CPNC is publicly available on https://github.com/NUSTM/CPNC.",
51
+ "bbox": [
52
+ 141,
53
+ 277,
54
+ 460,
55
+ 703
56
+ ],
57
+ "page_idx": 0
58
+ },
59
+ {
60
+ "type": "text",
61
+ "text": "1 Introduction",
62
+ "text_level": 1,
63
+ "bbox": [
64
+ 114,
65
+ 713,
66
+ 258,
67
+ 727
68
+ ],
69
+ "page_idx": 0
70
+ },
71
+ {
72
+ "type": "text",
73
+ "text": "Commonsense knowledge graphs (CSKG) have been widely used to build commonsense-grounded AI applications, such as question answering (Lv et al., 2020), visual question answering (Zhu et al., 2020), sentiment analysis (Li et al., 2022), dialogue system (Tu et al., 2022), etc. Commonsense knowledge graphs such as ConceptNet (Speer et al., 2017) and ATOMIC (Sap et al., 2019) provide a structured way of representing a commonsense concept, which consists of a head node, a tail node, and",
74
+ "bbox": [
75
+ 112,
76
+ 738,
77
+ 489,
78
+ 898
79
+ ],
80
+ "page_idx": 0
81
+ },
82
+ {
83
+ "type": "image",
84
+ "img_path": "images/477f90750452fd158a58c16e870cff0691e813899b344b3a6b73d148925898f3.jpg",
85
+ "image_caption": [],
86
+ "image_footnote": [],
87
+ "bbox": [
88
+ 515,
89
+ 250,
90
+ 875,
91
+ 326
92
+ ],
93
+ "page_idx": 0
94
+ },
95
+ {
96
+ "type": "image",
97
+ "img_path": "images/1fa42bc1f39770a20c77bd3edd2c2862265687be3fdb675ccadbdc2a71a03c16.jpg",
98
+ "image_caption": [
99
+ "Figure 1: Illustration of a subgraph and the latent concept in ConceptNet. The nodes of the same color belong to the same latent concept."
100
+ ],
101
+ "image_footnote": [],
102
+ "bbox": [
103
+ 515,
104
+ 326,
105
+ 875,
106
+ 476
107
+ ],
108
+ "page_idx": 0
109
+ },
110
+ {
111
+ "type": "text",
112
+ "text": "the relation edge. Nodes in commonsense knowledge graphs are typically represented by free-form short text (word or phrase), resulting in many different nodes representing the same concept. Figure 1 shows a subgraph of ConceptNet, where nodes in the same color indicate the same concept. E.g., \"have breakfast\", \"take breakfast\" and \"eat breakfast\" all express the concept of \"eat breakfast\". This problem also results in a large number of missing edges between nodes, as illustrated by the dashed lines in Figure 1. E.g., \"eat breakfast\" and \"prepare food\" have a \"HasPrerequisite\" relation, but such relation is missing between \"eat breakfast\" and \"cook food\".",
113
+ "bbox": [
114
+ 505,
115
+ 562,
116
+ 884,
117
+ 785
118
+ ],
119
+ "page_idx": 0
120
+ },
121
+ {
122
+ "type": "text",
123
+ "text": "On the one hand, node redundancy in CSKG makes different nodes of the same concept have inconsistent relations with other nodes. In CSKG representation and completion, it would be beneficial to make use of the latent concept information behind different nodes to help learn more semantic-general representations. However, this intuition was ignored by most of the existing work in",
124
+ "bbox": [
125
+ 507,
126
+ 790,
127
+ 884,
128
+ 917
129
+ ],
130
+ "page_idx": 0
131
+ },
132
+ {
133
+ "type": "page_footnote",
134
+ "text": "*Corresponding author",
135
+ "bbox": [
136
+ 141,
137
+ 904,
138
+ 285,
139
+ 917
140
+ ],
141
+ "page_idx": 0
142
+ },
143
+ {
144
+ "type": "page_number",
145
+ "text": "13977",
146
+ "bbox": [
147
+ 475,
148
+ 927,
149
+ 524,
150
+ 940
151
+ ],
152
+ "page_idx": 0
153
+ },
154
+ {
155
+ "type": "footer",
156
+ "text": "Findings of the Association for Computational Linguistics: ACL 2023, pages 13977-13989 July 9-14, 2023 ©2023 Association for Computational Linguistics",
157
+ "bbox": [
158
+ 220,
159
+ 945,
160
+ 778,
161
+ 972
162
+ ],
163
+ "page_idx": 0
164
+ },
165
+ {
166
+ "type": "text",
167
+ "text": "CSKG completion. On the other hand, as analyzed by Malaviya et al. (2020), edge sparsity in CSKG limits information propagation in graph neural networks. Upon graph neural networks, researchers further incorporated pre-trained language model such as BERT to enhance the semantic representation of nodes (Malaviya et al., 2020; Ju et al., 2022; Wang et al., 2021). However, fine-tuning BERT is still imperfect in representing the commonsense knowledge graph, which is made up of linked nodes represented in a free-form short text.",
168
+ "bbox": [
169
+ 112,
170
+ 84,
171
+ 490,
172
+ 261
173
+ ],
174
+ "page_idx": 1
175
+ },
176
+ {
177
+ "type": "text",
178
+ "text": "To tackle the two issues, we propose a new CSKG completion framework based on the Encoder-Decoder architecture, which contains two core modules Contrastive Pretraining and Node Clustering (CPNC). Contrastive Pretraining is to alleviate the difficulty of node representation learning induced by edge sparsity. Through contrastive learning on positive and negative head-tail node pairs, the embedding distance between related nodes becomes closer, and that between unrelated nodes becomes farther so as to learn better node representations. Node Clustering aims to address the edge inconsistency issue caused by node redundancy. We cluster nodes with close semantic representations and take the mean vector as the latent concept representation for nodes in this cluster. To assist CSKG completion, the latent concept representation is fused with the node representation.",
179
+ "bbox": [
180
+ 115,
181
+ 261,
182
+ 489,
183
+ 549
184
+ ],
185
+ "page_idx": 1
186
+ },
187
+ {
188
+ "type": "text",
189
+ "text": "We evaluate our CPNC framework on two CSKG completion benchmarks, i.e., CN-100K and ATOMIC. The results show that our model outperforms the state-of-the-art models for this task significantly. Ablation studies demonstrate that both Contrastive Pretraining and Node Clustering modules can significantly improve the performance of CSKG completion. Further experiments verify that our model can consistently improve as the sparsity of knowledge graphs increases: the higher the sparsity, the more improvement our model achieves.",
190
+ "bbox": [
191
+ 112,
192
+ 551,
193
+ 489,
194
+ 728
195
+ ],
196
+ "page_idx": 1
197
+ },
198
+ {
199
+ "type": "text",
200
+ "text": "2 Related Work",
201
+ "text_level": 1,
202
+ "bbox": [
203
+ 112,
204
+ 740,
205
+ 270,
206
+ 755
207
+ ],
208
+ "page_idx": 1
209
+ },
210
+ {
211
+ "type": "text",
212
+ "text": "We briefly review traditional knowledge graph completion, and then pay more attention to commonsense knowledge graph completion.",
213
+ "bbox": [
214
+ 112,
215
+ 765,
216
+ 490,
217
+ 813
218
+ ],
219
+ "page_idx": 1
220
+ },
221
+ {
222
+ "type": "text",
223
+ "text": "Traditional Knowledge Graph Completion Many knowledge graph completion methods have been proposed, which can be classified into three types: embedding-based completion methods, path-finding-based completion methods, and logical rule-based completion methods. The embedding-",
224
+ "bbox": [
225
+ 112,
226
+ 822,
227
+ 489,
228
+ 917
229
+ ],
230
+ "page_idx": 1
231
+ },
232
+ {
233
+ "type": "text",
234
+ "text": "based method learned the relation and node embedding by shortening the distance between the head-relation pair representation and the tail node representation, which had good scalability. Moreover, convolution has been proven to be an effective operation for acquiring the head-relation representation (Dettmers et al., 2018; Shang et al., 2019) in the embedding-based method. The path-based methods used the random walk inference based algorithm to find the related path. They achieved the prediction of missing tuples by comparing the related path with the relation to be predicted (Lao and Cohen, 2010; Khot et al., 2011). The rule-based methods utilized the induction rules to simplify the path-finding process in the knowledge graphs (Ren et al., 2020; Yang and Song, 2020). We refer the reader to (Ji et al., 2022) for more details about knowledge graph completion.",
235
+ "bbox": [
236
+ 507,
237
+ 84,
238
+ 884,
239
+ 375
240
+ ],
241
+ "page_idx": 1
242
+ },
243
+ {
244
+ "type": "text",
245
+ "text": "Commonsense Knowledge Graph Completion",
246
+ "text_level": 1,
247
+ "bbox": [
248
+ 507,
249
+ 386,
250
+ 882,
251
+ 401
252
+ ],
253
+ "page_idx": 1
254
+ },
255
+ {
256
+ "type": "text",
257
+ "text": "The existing methods assume specific relations, dense edges, and sufficient training samples in the knowledge graph. However, the sparsity of edges and the abstract nature of relations pose challenges for directly applying these methods to the CSKG.",
258
+ "bbox": [
259
+ 507,
260
+ 401,
261
+ 882,
262
+ 482
263
+ ],
264
+ "page_idx": 1
265
+ },
266
+ {
267
+ "type": "text",
268
+ "text": "Early methods in this field employed a strategy where, for a given head and tail, all relations were used to generate a large number of tuples. BiLSTMs and linear transformations were then utilized to score these tuples, allowing for the prediction of missing tuples in the CSKG (Saito et al., 2018; Li et al., 2016; Jastrzebski et al., 2018). Building upon this foundation, Shen et al. (2022) took a step further. They normalized the tail nodes and used RoBERTa to score these tuples. This approach resulted in the curation of Dense-ATOMIC, a CSKG with increased coverage and a richer set of multi-hop paths.",
269
+ "bbox": [
270
+ 507,
271
+ 483,
272
+ 882,
273
+ 692
274
+ ],
275
+ "page_idx": 1
276
+ },
277
+ {
278
+ "type": "text",
279
+ "text": "these methods did not take into account structural information and may suffer from computational inefficiency during inference. Another line of studies attempted to use the translated-based approach to reduce computational consumption (Malaviya et al., 2020; Ju et al., 2022; Wang et al., 2021). Furthermore, they incorporated GCN for extracting graph representations and fine-tuned BERT in the CSKG to obtain semantic representations. This integration capitalizes on the complementary nature of these two representations. In addition, these methods have applied convolutional layers to enhance the performance of CSKG completion. This further improves the effectiveness of the com",
280
+ "bbox": [
281
+ 507,
282
+ 694,
283
+ 884,
284
+ 917
285
+ ],
286
+ "page_idx": 1
287
+ },
288
+ {
289
+ "type": "page_number",
290
+ "text": "13978",
291
+ "bbox": [
292
+ 477,
293
+ 927,
294
+ 524,
295
+ 940
296
+ ],
297
+ "page_idx": 1
298
+ },
299
+ {
300
+ "type": "image",
301
+ "img_path": "images/3366c71a2d3c7a89e62ef37b89eada80383cdc3ece5460df6cd96e6ffd2b2603.jpg",
302
+ "image_caption": [
303
+ "Figure 2: Overall architecture of CPNC. The Encoder is to get node embedding. Harnessing the power of GCN and Contractive Pretraining, the Encoder transforms CSKG into rich semantic and structural representations. In detail, the lower left section utilizes the mechanism of Contrastive Pretraining. Then, we describe the node clustering process in the lower right, driven by semantic representations from Contractive Pretraining. Finally, the fusion of semantic, structure, and latent concepts in the upper right yields node embeddings. The Decoder part is to rank the nodes in candidates set by Node Embedding."
304
+ ],
305
+ "image_footnote": [],
306
+ "bbox": [
307
+ 122,
308
+ 82,
309
+ 877,
310
+ 294
311
+ ],
312
+ "page_idx": 2
313
+ },
314
+ {
315
+ "type": "text",
316
+ "text": "pletion task. However, it was observed that simply fine-tuning BERT (Devlin et al., 2019) with pretraining tasks is hard to effectively capture the sentence-level semantic connection between two nodes. In response to this limitation, Su et al. (2022) proposed MICO, which learns distinct node representations for head nodes under varying relations, proving evidence that high-quality node representation can significantly aid CSKG completion. Moreover, different nodes in the CSKG may express the same concept. The node redundancy will bring difficulties to the commonsense inference on the CSKG (Jung et al., 2022), while the previous CSKG completion methods ignored.",
317
+ "bbox": [
318
+ 110,
319
+ 416,
320
+ 487,
321
+ 640
322
+ ],
323
+ "page_idx": 2
324
+ },
325
+ {
326
+ "type": "text",
327
+ "text": "Compared to these methods, we address the issue of node redundancy by employing a clustering algorithm. Our work stands out by learning the semantic representations of nodes through sentence-level semantic connections and integrating latent concept information into node representations.",
328
+ "bbox": [
329
+ 112,
330
+ 640,
331
+ 489,
332
+ 737
333
+ ],
334
+ "page_idx": 2
335
+ },
336
+ {
337
+ "type": "text",
338
+ "text": "3 Task Definition",
339
+ "text_level": 1,
340
+ "bbox": [
341
+ 112,
342
+ 749,
343
+ 282,
344
+ 764
345
+ ],
346
+ "page_idx": 2
347
+ },
348
+ {
349
+ "type": "text",
350
+ "text": "Given a CSKG $G = (N, V, R)$ where $N$ is the set of nodes, $V$ is the set of edges and $R$ is the set of relations. We regard each tuple $v_{i} = (h, rel, t)$ in the CSKG as a sample, which is composed of head node $h$ , tail node $t$ and relation $rel$ , where $h, t \\in N$ , $v_{i} \\in V$ , and $rel \\in R$ . Given a query $(h, rel)$ formed by a head node $h$ and a relation $rel$ , the target of the CSKG completion is to maximize the score of the tail node $t$ . Following the",
351
+ "bbox": [
352
+ 112,
353
+ 772,
354
+ 487,
355
+ 917
356
+ ],
357
+ "page_idx": 2
358
+ },
359
+ {
360
+ "type": "text",
361
+ "text": "previous work (Malaviya et al., 2020), for an edge $(h,rel,t)$ existing in the CSKG, we also add an inverse edge $(t,rel^{-1},h)$ to the graph, where $rel^{-1}$ is the inverse relation of rel.",
362
+ "bbox": [
363
+ 507,
364
+ 416,
365
+ 882,
366
+ 479
367
+ ],
368
+ "page_idx": 2
369
+ },
370
+ {
371
+ "type": "text",
372
+ "text": "4 Approach",
373
+ "text_level": 1,
374
+ "bbox": [
375
+ 507,
376
+ 492,
377
+ 631,
378
+ 508
379
+ ],
380
+ "page_idx": 2
381
+ },
382
+ {
383
+ "type": "text",
384
+ "text": "In this paper, we propose a new framework, CPNC, for CSKG completion using an Encoder-Decoder architecture (see Figure 2). The Encoder incorporates semantic, graph structure, and latent concept representation obtained from Contrastive Pretraining, Graph Convolutional Network (GCN), and Node Clustering, respectively, to acquire node representations. Given query $(h,rel)$ , the Decoder ranks the nodes in the candidate set $N$ and finds tail nodes for the query by the rank.",
385
+ "bbox": [
386
+ 505,
387
+ 517,
388
+ 882,
389
+ 678
390
+ ],
391
+ "page_idx": 2
392
+ },
393
+ {
394
+ "type": "text",
395
+ "text": "4.1 Contrastive Pretraining",
396
+ "text_level": 1,
397
+ "bbox": [
398
+ 507,
399
+ 689,
400
+ 742,
401
+ 703
402
+ ],
403
+ "page_idx": 2
404
+ },
405
+ {
406
+ "type": "text",
407
+ "text": "The current mainstream approach for completing CSKG utilizes translation-based methods and relies on GCN to represent the graph structure of nodes. Although GCNs are effective in modeling graph structure, they have limitations in capturing graph structure information in CSKG due to sparse edges. To address this issue, these methods incorporate semantic information by fine-tuning BERT on CSKG using Masked Language Model (MLM) and Next Sentence Prediction (NSP) tasks.",
408
+ "bbox": [
409
+ 505,
410
+ 709,
411
+ 882,
412
+ 869
413
+ ],
414
+ "page_idx": 2
415
+ },
416
+ {
417
+ "type": "text",
418
+ "text": "However, those methods are imperfect in modeling CSKGs composed of nodes presented as short text. MLM, which is a token-level task, focuses on",
419
+ "bbox": [
420
+ 507,
421
+ 870,
422
+ 882,
423
+ 917
424
+ ],
425
+ "page_idx": 2
426
+ },
427
+ {
428
+ "type": "page_number",
429
+ "text": "13979",
430
+ "bbox": [
431
+ 477,
432
+ 927,
433
+ 524,
434
+ 940
435
+ ],
436
+ "page_idx": 2
437
+ },
438
+ {
439
+ "type": "text",
440
+ "text": "modeling the connection between masked words and other words, making it unsuitable for achieving sentence-level node representation. Similarly, NSP, while capable of modeling the semantic connection between two nodes at the sentence level, suffers from a mismatch between the input of the pretraining phase and the CSKG completion phase. During pretraining, NSP requires a pair of head and tail nodes for prediction, but during CSKG completion, only a single node is used for sentence representation. Consequently, NSP is not well-suited for the task of learning node representations, and similar observations have been made in the field of sentence representation learning (Li et al., 2020).",
441
+ "bbox": [
442
+ 112,
443
+ 84,
444
+ 489,
445
+ 309
446
+ ],
447
+ "page_idx": 3
448
+ },
449
+ {
450
+ "type": "text",
451
+ "text": "To obtain better node representations for the CSKG completion, we introduce Contrastive Pretraining (CP), a new method that sufficiently leverages semantic information at the sentence level. CP focuses on CSKG completion and differs from MICO (Su et al., 2022) by not incorporating relation categories. Instead, it fine-tunes BERT's node representation using contrastive learning and capture sentence-level connections between nodes.",
452
+ "bbox": [
453
+ 112,
454
+ 310,
455
+ 489,
456
+ 455
457
+ ],
458
+ "page_idx": 3
459
+ },
460
+ {
461
+ "type": "text",
462
+ "text": "4.1.1 Building Contrastive Learning Samples",
463
+ "text_level": 1,
464
+ "bbox": [
465
+ 112,
466
+ 464,
467
+ 484,
468
+ 481
469
+ ],
470
+ "page_idx": 3
471
+ },
472
+ {
473
+ "type": "text",
474
+ "text": "Assuming node pairs linked in the CSKG are semantically related, we consider node pairs without a link in the CSKG as semantically unrelated.",
475
+ "bbox": [
476
+ 112,
477
+ 485,
478
+ 489,
479
+ 533
480
+ ],
481
+ "page_idx": 3
482
+ },
483
+ {
484
+ "type": "text",
485
+ "text": "For each arbitrary edge $(h,rel,t)$ in CSKG, we randomly sample a node $\\bar{t}$ having no linking with the head node $h$ as its hard negative tail and construct a contrastive learning training sample $c = (h,t,\\bar{t})$ . As shown in Figure 3, \"take breakfast\" and \"cook food\" are the head and tail nodes in a edge of CSKG. We randomly select a node \"find information\" having no linking with \"take breakfast\" to construct a training sample (\"take breakfast\", \"cook food\", \"find information\").",
486
+ "bbox": [
487
+ 110,
488
+ 533,
489
+ 489,
490
+ 695
491
+ ],
492
+ "page_idx": 3
493
+ },
494
+ {
495
+ "type": "text",
496
+ "text": "The previous methods primarily focused on the head nodes while constructing negative samples, neglecting the importance of capturing unrelated semantics among the tail node set. To tackle this problem, we additionally constructed a contrastive learning sample $c_{\\text{reverse}} = (t, h, \\overline{h})$ for the tail node $t$ in the edge $(h, \\text{rel}, t)$ .",
497
+ "bbox": [
498
+ 112,
499
+ 696,
500
+ 489,
501
+ 808
502
+ ],
503
+ "page_idx": 3
504
+ },
505
+ {
506
+ "type": "text",
507
+ "text": "4.1.2 Multiple Negatives Ranking Loss",
508
+ "text_level": 1,
509
+ "bbox": [
510
+ 112,
511
+ 819,
512
+ 433,
513
+ 834
514
+ ],
515
+ "page_idx": 3
516
+ },
517
+ {
518
+ "type": "text",
519
+ "text": "We employ BERT for node embedding by inputting all nodes in a batch separately and applying Mean Pooling on the final layer's output. Then, we use $x(n)$ to denote the representation of a specific node $n$ obtained through BERT.",
520
+ "bbox": [
521
+ 112,
522
+ 838,
523
+ 487,
524
+ 917
525
+ ],
526
+ "page_idx": 3
527
+ },
528
+ {
529
+ "type": "image",
530
+ "img_path": "images/64cdbc3434e2f846addd358851f9d42c4924505760880259037f1f93c4b2929e.jpg",
531
+ "image_caption": [
532
+ "Figure 3: Main process of building Constructive Pretraining samples."
533
+ ],
534
+ "image_footnote": [],
535
+ "bbox": [
536
+ 534,
537
+ 82,
538
+ 863,
539
+ 401
540
+ ],
541
+ "page_idx": 3
542
+ },
543
+ {
544
+ "type": "text",
545
+ "text": "In order to ensure that semantically related nodes are positioned closely in the embedding space, we utilize contrastive learning and employ the Multiple Negatives Ranking Loss for contrastive learning.",
546
+ "bbox": [
547
+ 507,
548
+ 472,
549
+ 882,
550
+ 536
551
+ ],
552
+ "page_idx": 3
553
+ },
554
+ {
555
+ "type": "text",
556
+ "text": "For a given sample $c_{i} = (h_{i}, t_{i}, \\bar{t}_{i})$ in a batch, we employ the Multiple Negatives Ranking Loss. We consider $h_{i}$ paired with $t_{i}$ as the positive sample while treating $h_{i}$ paired with other tail nodes $t_{j}$ in the batch as negative samples. Additionally, we consider $h_{i}$ paired with all hard negative tails in the batch as negative samples as well. The objective is to minimize the semantic distance between the nodes in positive samples within the batch. The formulation of the multiple negatives ranking loss is as follows:",
557
+ "bbox": [
558
+ 507,
559
+ 537,
560
+ 882,
561
+ 712
562
+ ],
563
+ "page_idx": 3
564
+ },
565
+ {
566
+ "type": "equation",
567
+ "text": "\n$$\nL = - \\sum_ {i = 1} ^ {M} \\log \\frac {e ^ {D \\left(h _ {i} , t _ {i}\\right))}}{\\sum_ {j = 1} ^ {M} e ^ {D \\left(h _ {i} , t _ {j}\\right)} + e ^ {D \\left(h _ {i} , \\bar {t} _ {j}\\right)}}, \\tag {1}\n$$\n",
568
+ "text_format": "latex",
569
+ "bbox": [
570
+ 526,
571
+ 736,
572
+ 882,
573
+ 780
574
+ ],
575
+ "page_idx": 3
576
+ },
577
+ {
578
+ "type": "text",
579
+ "text": "where $D(h,t) = (x(h)\\cdot x(t)^T) / (\\| x(h)\\| \\cdot \\| x(t)\\|)$ represents the cosine similarity of two nodes, $M$ is the number of samples in the a batch.",
580
+ "bbox": [
581
+ 507,
582
+ 790,
583
+ 882,
584
+ 839
585
+ ],
586
+ "page_idx": 3
587
+ },
588
+ {
589
+ "type": "text",
590
+ "text": "4.2 Encoder",
591
+ "text_level": 1,
592
+ "bbox": [
593
+ 507,
594
+ 850,
595
+ 621,
596
+ 864
597
+ ],
598
+ "page_idx": 3
599
+ },
600
+ {
601
+ "type": "text",
602
+ "text": "The Encoder aims to generate node representations for CSKG completion, as illustrated in the left part of Figure 2.",
603
+ "bbox": [
604
+ 507,
605
+ 871,
606
+ 880,
607
+ 917
608
+ ],
609
+ "page_idx": 3
610
+ },
611
+ {
612
+ "type": "page_number",
613
+ "text": "13980",
614
+ "bbox": [
615
+ 477,
616
+ 927,
617
+ 524,
618
+ 940
619
+ ],
620
+ "page_idx": 3
621
+ },
622
+ {
623
+ "type": "text",
624
+ "text": "The node representation comprises two components,",
625
+ "bbox": [
626
+ 112,
627
+ 84,
628
+ 489,
629
+ 115
630
+ ],
631
+ "page_idx": 4
632
+ },
633
+ {
634
+ "type": "text",
635
+ "text": "1) the semantic representation matrix of nodes $E_{sem}$ obtained through Contrastive Pretraining:",
636
+ "bbox": [
637
+ 114,
638
+ 116,
639
+ 485,
640
+ 148
641
+ ],
642
+ "page_idx": 4
643
+ },
644
+ {
645
+ "type": "equation",
646
+ "text": "\n$$\nE _ {s e m} = \\text {C o n t r a s t i v e - P r e t r a i n i n g} (N), \\tag {2}\n$$\n",
647
+ "text_format": "latex",
648
+ "bbox": [
649
+ 161,
650
+ 158,
651
+ 487,
652
+ 174
653
+ ],
654
+ "page_idx": 4
655
+ },
656
+ {
657
+ "type": "text",
658
+ "text": "2) the graph structure representation matrix of nodes acquired using a Graph Convolutional Network (GCN),",
659
+ "bbox": [
660
+ 112,
661
+ 185,
662
+ 489,
663
+ 231
664
+ ],
665
+ "page_idx": 4
666
+ },
667
+ {
668
+ "type": "equation",
669
+ "text": "\n$$\nE _ {\\text {g r a p h}} = \\operatorname {G C N} (G). \\tag {3}\n$$\n",
670
+ "text_format": "latex",
671
+ "bbox": [
672
+ 223,
673
+ 242,
674
+ 487,
675
+ 260
676
+ ],
677
+ "page_idx": 4
678
+ },
679
+ {
680
+ "type": "text",
681
+ "text": "Specifically, $e_{sem}$ and $e_{graph}$ represent the semantic and graph representations of a particular node, respectively, which can be derived from $E_{sem}$ and $E_{graph}$ .",
682
+ "bbox": [
683
+ 112,
684
+ 269,
685
+ 487,
686
+ 335
687
+ ],
688
+ "page_idx": 4
689
+ },
690
+ {
691
+ "type": "text",
692
+ "text": "4.3 Node Clustering",
693
+ "text_level": 1,
694
+ "bbox": [
695
+ 112,
696
+ 343,
697
+ 290,
698
+ 359
699
+ ],
700
+ "page_idx": 4
701
+ },
702
+ {
703
+ "type": "text",
704
+ "text": "On the basis of the semantic node representation $e_{sem}$ , we use the K-means algorithm to cluster all nodes $N$ in the graph as follows:",
705
+ "bbox": [
706
+ 112,
707
+ 363,
708
+ 487,
709
+ 412
710
+ ],
711
+ "page_idx": 4
712
+ },
713
+ {
714
+ "type": "equation",
715
+ "text": "\n$$\n\\left\\{\\mathcal {C} _ {1}, \\mathcal {C} _ {2}, \\dots , \\mathcal {C} _ {K} \\right\\} = \\mathrm {K} - \\text {m e a n s} (N), \\tag {4}\n$$\n",
716
+ "text_format": "latex",
717
+ "bbox": [
718
+ 176,
719
+ 422,
720
+ 487,
721
+ 439
722
+ ],
723
+ "page_idx": 4
724
+ },
725
+ {
726
+ "type": "text",
727
+ "text": "where $\\mathcal{C}_i$ is the $i$ -th cluster, and $K$ represents the number of clusters. Nodes in $\\mathcal{C}_i$ are considered to have the same latent concept. As shown in the Node Clustering part of Figure 2, \"eat breakfast\", \"have breakfast\" and \"take breakfast\" are in the same cluster and have the same latent concept.",
728
+ "bbox": [
729
+ 112,
730
+ 448,
731
+ 487,
732
+ 543
733
+ ],
734
+ "page_idx": 4
735
+ },
736
+ {
737
+ "type": "text",
738
+ "text": "We define the representation of the latent concept as the mean of semantic representation of all nodes in a cluster, denoted as $\\mathrm{mean}(\\mathcal{C}_k)$ , where $\\mathcal{C}_k$ contains a set of nodes in the same cluster.",
739
+ "bbox": [
740
+ 112,
741
+ 545,
742
+ 487,
743
+ 608
744
+ ],
745
+ "page_idx": 4
746
+ },
747
+ {
748
+ "type": "text",
749
+ "text": "To acquire the final node representation, we combine the node semantic representation, $e_{sem}$ , the graph representation, $e_{graph}$ , and the latent concept representation, $\\mathrm{mean}(\\mathcal{C}_k)$ . This fusion is performed as follows:",
750
+ "bbox": [
751
+ 112,
752
+ 609,
753
+ 487,
754
+ 688
755
+ ],
756
+ "page_idx": 4
757
+ },
758
+ {
759
+ "type": "equation",
760
+ "text": "\n$$\ne = \\left[ e _ {s e m}; e _ {g r a p h}; \\operatorname {m e a n} \\left(\\mathcal {C} _ {k}\\right) \\right] \\cdot W _ {\\text {e m b e d d i n g}}, \\tag {5}\n$$\n",
761
+ "text_format": "latex",
762
+ "bbox": [
763
+ 129,
764
+ 699,
765
+ 487,
766
+ 717
767
+ ],
768
+ "page_idx": 4
769
+ },
770
+ {
771
+ "type": "text",
772
+ "text": "where $W_{embedding}$ is a weight matrix. The resulting node embeddings are considered as the node embedding space.",
773
+ "bbox": [
774
+ 112,
775
+ 726,
776
+ 487,
777
+ 772
778
+ ],
779
+ "page_idx": 4
780
+ },
781
+ {
782
+ "type": "text",
783
+ "text": "Intuitively, Node Clustering enhances CSKG completion by leveraging information from nodes within the same latent concept.",
784
+ "bbox": [
785
+ 112,
786
+ 774,
787
+ 487,
788
+ 822
789
+ ],
790
+ "page_idx": 4
791
+ },
792
+ {
793
+ "type": "text",
794
+ "text": "We also use a progressive masking process, following Malaviya et al. (2020), to integrate latent concept information. Initially, the latent concept representation is fully masked, and throughout the first 100 training epochs, it is gradually unmasked, improving the overall performance.",
795
+ "bbox": [
796
+ 112,
797
+ 822,
798
+ 487,
799
+ 917
800
+ ],
801
+ "page_idx": 4
802
+ },
803
+ {
804
+ "type": "text",
805
+ "text": "4.4 Decoder",
806
+ "text_level": 1,
807
+ "bbox": [
808
+ 507,
809
+ 84,
810
+ 621,
811
+ 98
812
+ ],
813
+ "page_idx": 4
814
+ },
815
+ {
816
+ "type": "text",
817
+ "text": "The goal of Decoder is to rank the nodes in the candidate set, which is considered as $N$ in our work.",
818
+ "bbox": [
819
+ 507,
820
+ 107,
821
+ 880,
822
+ 153
823
+ ],
824
+ "page_idx": 4
825
+ },
826
+ {
827
+ "type": "text",
828
+ "text": "In order to obtain the query representation, we first use a convolutional layer to fuse the relation and head node representation:",
829
+ "bbox": [
830
+ 507,
831
+ 156,
832
+ 880,
833
+ 203
834
+ ],
835
+ "page_idx": 4
836
+ },
837
+ {
838
+ "type": "equation",
839
+ "text": "\n$$\nq = \\operatorname {C o n v} \\left(e _ {h}, e _ {r e l}\\right), \\tag {6}\n$$\n",
840
+ "text_format": "latex",
841
+ "bbox": [
842
+ 620,
843
+ 219,
844
+ 880,
845
+ 237
846
+ ],
847
+ "page_idx": 4
848
+ },
849
+ {
850
+ "type": "text",
851
+ "text": "where $e_h$ is the representation of the head nodes in node embedding space obtained from Eq. 5, $e_{rel}$ is the representation of relation rel and Conv is a convolution operation.",
852
+ "bbox": [
853
+ 507,
854
+ 252,
855
+ 880,
856
+ 315
857
+ ],
858
+ "page_idx": 4
859
+ },
860
+ {
861
+ "type": "text",
862
+ "text": "Then, we predict a 0-1 distribution vector, based on the representation of the query $q$ , indicating the likelihood of each node in the candidate set $N$ becoming the tail node:",
863
+ "bbox": [
864
+ 507,
865
+ 317,
866
+ 880,
867
+ 380
868
+ ],
869
+ "page_idx": 4
870
+ },
871
+ {
872
+ "type": "equation",
873
+ "text": "\n$$\np _ {t} = \\delta \\left(q W _ {\\text {c o n v}} E _ {N}\\right), \\tag {7}\n$$\n",
874
+ "text_format": "latex",
875
+ "bbox": [
876
+ 616,
877
+ 397,
878
+ 880,
879
+ 414
880
+ ],
881
+ "page_idx": 4
882
+ },
883
+ {
884
+ "type": "text",
885
+ "text": "where $W_{conv}$ is a weight matrix, $E_N$ is the representation matrix of candidate nodes in node embedding space obtained from Eq. 5, and $\\delta$ is a sigmoid function.",
886
+ "bbox": [
887
+ 507,
888
+ 429,
889
+ 882,
890
+ 492
891
+ ],
892
+ "page_idx": 4
893
+ },
894
+ {
895
+ "type": "text",
896
+ "text": "5 Experiments",
897
+ "text_level": 1,
898
+ "bbox": [
899
+ 507,
900
+ 508,
901
+ 653,
902
+ 524
903
+ ],
904
+ "page_idx": 4
905
+ },
906
+ {
907
+ "type": "text",
908
+ "text": "5.1 Experimental Setup",
909
+ "text_level": 1,
910
+ "bbox": [
911
+ 507,
912
+ 536,
913
+ 712,
914
+ 552
915
+ ],
916
+ "page_idx": 4
917
+ },
918
+ {
919
+ "type": "text",
920
+ "text": "5.1.1 Datasets",
921
+ "text_level": 1,
922
+ "bbox": [
923
+ 507,
924
+ 558,
925
+ 636,
926
+ 571
927
+ ],
928
+ "page_idx": 4
929
+ },
930
+ {
931
+ "type": "text",
932
+ "text": "We evaluate our CPNC framework on two CSKG completion benchmarks, i.e., CN-100K (Speer et al., 2017) and ATOMIC (Sap et al., 2019).",
933
+ "bbox": [
934
+ 507,
935
+ 579,
936
+ 880,
937
+ 626
938
+ ],
939
+ "page_idx": 4
940
+ },
941
+ {
942
+ "type": "text",
943
+ "text": "CN-100K is a dataset that encompasses general commonsense knowledge. This version contains 36 relation types and the Open Mind Common Sense (OMCS) entries from ConceptNet (Speer and Havasi, 2013). The average length of the nodes in CN-100K is 2.85 words. Following Malaviya et al. (2020)'s split, the training set contains 10,000 tuples, and the validation set and test set both contain 1200 tuples.",
944
+ "bbox": [
945
+ 507,
946
+ 627,
947
+ 882,
948
+ 772
949
+ ],
950
+ "page_idx": 4
951
+ },
952
+ {
953
+ "type": "text",
954
+ "text": "ATOMIC is an atlas of everyday commonsense reasoning and primarily focuses on event-level commonsense knowledge in the form of if-then relations. It comprises 9 relation types, with an average of 4.40 words per node. We split ATOMIC following Malaviya et al. (2020)'s work, where the training set consists of 610,536 tuples, while the validation and test sets contain 87,700 tuples and 87,701 tuples, respectively.",
955
+ "bbox": [
956
+ 507,
957
+ 774,
958
+ 880,
959
+ 917
960
+ ],
961
+ "page_idx": 4
962
+ },
963
+ {
964
+ "type": "page_number",
965
+ "text": "13981",
966
+ "bbox": [
967
+ 477,
968
+ 927,
969
+ 522,
970
+ 940
971
+ ],
972
+ "page_idx": 4
973
+ },
974
+ {
975
+ "type": "table",
976
+ "img_path": "images/968994aebd9802d11e02be88fcca8e62e48a5cdb327eff338549c6d572a3ec91.jpg",
977
+ "table_caption": [],
978
+ "table_footnote": [],
979
+ "table_body": "<table><tr><td colspan=\"2\">Methods</td><td colspan=\"4\">CN-100K</td><td colspan=\"4\">ATOMIC</td></tr><tr><td>Type</td><td>Model</td><td>MRR</td><td>HITs@1</td><td>@3</td><td>@10</td><td>MRR</td><td>HITs@1</td><td>@3</td><td>@10</td></tr><tr><td rowspan=\"4\">KG-adapted</td><td>DistMult</td><td>8.97</td><td>4.51</td><td>9.76</td><td>17.44</td><td>12.39</td><td>9.24</td><td>15.18</td><td>18.30</td></tr><tr><td>ComplEx</td><td>11.40</td><td>7.42</td><td>12.45</td><td>19.01</td><td>14.24</td><td>13.27</td><td>14.13</td><td>15.96</td></tr><tr><td>ConvE</td><td>20.88</td><td>13.97</td><td>22.91</td><td>34.02</td><td>10.07</td><td>8.24</td><td>10.29</td><td>13.37</td></tr><tr><td>ConvTransE</td><td>18.68</td><td>7.87</td><td>23.87</td><td>38.95</td><td>12.94</td><td>12.92</td><td>12.95</td><td>12.98</td></tr><tr><td rowspan=\"2\">Generation-based</td><td>COMeT-Normalized</td><td>6.07</td><td>0.08</td><td>2.92</td><td>21.17</td><td>3.36</td><td>0.00</td><td>2.15</td><td>15.75</td></tr><tr><td>COMeT-Total</td><td>6.21</td><td>0.00</td><td>0.00</td><td>24.00</td><td>4.91</td><td>0.00</td><td>2.40</td><td>21.60</td></tr><tr><td rowspan=\"3\">CSKG-dedicated</td><td>RGAT</td><td>43.97</td><td>30.75</td><td>51.54</td><td>69.34</td><td>-</td><td>-</td><td>-</td><td>-</td></tr><tr><td>SGBC</td><td>49.12*</td><td>37.71*</td><td>56.67*</td><td>71.29*</td><td>10.25*</td><td>8.72*</td><td>10.54*</td><td>13.26*</td></tr><tr><td>Inductive</td><td>56.92*</td><td>45.54*</td><td>63.38*</td><td>78.63*</td><td>13.19*</td><td>10.26*</td><td>13.61*</td><td>18.83*</td></tr><tr><td rowspan=\"2\">Ours</td><td>CPNC-S</td><td>54.52</td><td>45.33</td><td>61.46</td><td>75.92</td><td>13.14</td><td>10.11</td><td>13.75</td><td>18.80</td></tr><tr><td>CPNC-I</td><td>59.00</td><td>48.29</td><td>65.04</td><td>79.13</td><td>14.38</td><td>10.53</td><td>15.22</td><td>21.79</td></tr></table>",
980
+ "bbox": [
981
+ 119,
982
+ 82,
983
+ 885,
984
+ 237
985
+ ],
986
+ "page_idx": 5
987
+ },
988
+ {
989
+ "type": "text",
990
+ "text": "Table 1: CSKG completion results on CN-100K and ATOMIC. The result of HITS@1 was not reported in Wang et al. (2021). To fairly compare our method with the previous method in the same setting, we rerun the code of InductivE and SGBC on ATOMIC and CN-100K and mark the results of rerun experiments with *. Those results are a little lower than that in the original paper. For KG-adapted and Generation methods, we reuse the results reported in Malaviya et al. (2020).",
991
+ "bbox": [
992
+ 112,
993
+ 252,
994
+ 884,
995
+ 324
996
+ ],
997
+ "page_idx": 5
998
+ },
999
+ {
1000
+ "type": "text",
1001
+ "text": "5.1.2 Evaluation Metric",
1002
+ "text_level": 1,
1003
+ "bbox": [
1004
+ 112,
1005
+ 349,
1006
+ 317,
1007
+ 362
1008
+ ],
1009
+ "page_idx": 5
1010
+ },
1011
+ {
1012
+ "type": "text",
1013
+ "text": "We evaluate the performance of our method using MRR and HITS, following previous CSKG completion methods (Wang et al., 2021; Malaviya et al., 2020; Ju et al., 2022). The results are reported by averaging over both forward tuples $(h, rel, t)$ and inverse tuples $(t, rel^{-1}, h)$ . Moreover, because the nodes in CSKG are represented in free-form text, it is possible for nodes other than the golden tail nodes to be considered reasonable tail nodes. To address this, we conduct a human evaluation to assess the predictions made by our models.",
1014
+ "bbox": [
1015
+ 112,
1016
+ 370,
1017
+ 487,
1018
+ 546
1019
+ ],
1020
+ "page_idx": 5
1021
+ },
1022
+ {
1023
+ "type": "text",
1024
+ "text": "5.1.3 Implementation Details",
1025
+ "text_level": 1,
1026
+ "bbox": [
1027
+ 112,
1028
+ 558,
1029
+ 359,
1030
+ 574
1031
+ ],
1032
+ "page_idx": 5
1033
+ },
1034
+ {
1035
+ "type": "text",
1036
+ "text": "To perform Contrastive Pretraining, we use the contrastive learning framework provided in https://github.com/UKPLab/sentence-transformers. Our approach employs BERT-large as the base model, which contains 340M parameters. During training, we utilized a batch size of 128 and conducted training for 3 epochs on the CN-100K and ATOMIC datasets. We choose the Adam optimizer for optimization, setting the learning rate to 1e-4 for BERT-large and 5e-5 for the MLP. For the remaining hyperparameters, we used the default values provided by the framework.",
1037
+ "bbox": [
1038
+ 112,
1039
+ 580,
1040
+ 489,
1041
+ 772
1042
+ ],
1043
+ "page_idx": 5
1044
+ },
1045
+ {
1046
+ "type": "text",
1047
+ "text": "For the CPNC-I and CPNC-S model, we use experimental settings proposed by Malaviya et al. (2020) and Wang et al. (2021), respectively. Both models are trained for a minimum of 200 epochs using BERT-large, which consists of 340M parameters, to encode semantic representations. During training, we evaluate the MRR on the development set every 10 epochs for CN-100K and ATOMIC. Training continues until no further improvement in",
1048
+ "bbox": [
1049
+ 112,
1050
+ 774,
1051
+ 489,
1052
+ 919
1053
+ ],
1054
+ "page_idx": 5
1055
+ },
1056
+ {
1057
+ "type": "text",
1058
+ "text": "MRR is observed. We select the model checkpoint that achieves the highest MRR on the development set for testing.",
1059
+ "bbox": [
1060
+ 507,
1061
+ 349,
1062
+ 882,
1063
+ 397
1064
+ ],
1065
+ "page_idx": 5
1066
+ },
1067
+ {
1068
+ "type": "text",
1069
+ "text": "5.2 Compared Systems",
1070
+ "text_level": 1,
1071
+ "bbox": [
1072
+ 507,
1073
+ 418,
1074
+ 707,
1075
+ 434
1076
+ ],
1077
+ "page_idx": 5
1078
+ },
1079
+ {
1080
+ "type": "text",
1081
+ "text": "We compare our approach with nine baseline systems across three categories.",
1082
+ "bbox": [
1083
+ 507,
1084
+ 444,
1085
+ 882,
1086
+ 476
1087
+ ],
1088
+ "page_idx": 5
1089
+ },
1090
+ {
1091
+ "type": "text",
1092
+ "text": "5.2.1 KG-adapted Methods",
1093
+ "text_level": 1,
1094
+ "bbox": [
1095
+ 507,
1096
+ 495,
1097
+ 741,
1098
+ 511
1099
+ ],
1100
+ "page_idx": 5
1101
+ },
1102
+ {
1103
+ "type": "text",
1104
+ "text": "We adapt classic knowledge graph completion methods for CSKG completion. DistMult (Yang et al., 2015) employed a bi-linear product to calculate score of a tuple; ComplE (Trouillon et al., 2016) utilized imaginary number representation to effectively handle a large number of relations in the knowledge graph; ConvE (Dettmers et al., 2018) fused the representation of the source node and the relation through a 2D convolution layer to obtain the representation of query (h, rel); ConvTransE extended ConvE by incorporating the translational properties of TransE.",
1105
+ "bbox": [
1106
+ 507,
1107
+ 521,
1108
+ 882,
1109
+ 714
1110
+ ],
1111
+ "page_idx": 5
1112
+ },
1113
+ {
1114
+ "type": "text",
1115
+ "text": "5.2.2 Generation-based Methods",
1116
+ "text_level": 1,
1117
+ "bbox": [
1118
+ 507,
1119
+ 733,
1120
+ 781,
1121
+ 747
1122
+ ],
1123
+ "page_idx": 5
1124
+ },
1125
+ {
1126
+ "type": "text",
1127
+ "text": "COMeT (Bosselut et al., 2019) is a Transformer-based knowledge generation model. Following Malaviya et al. (2020), we adapt COMeT for the CSKG completion and only evaluate in the forward direction. Additionally, we also use their modifications to the ranking method used in COMeT. Specifically, COMET-Normalized and COMET-Total use the normalized negative log-likelihood scores and total log-likelihood scores, respectively, to rank nodes in the candidate set.",
1128
+ "bbox": [
1129
+ 507,
1130
+ 757,
1131
+ 884,
1132
+ 917
1133
+ ],
1134
+ "page_idx": 5
1135
+ },
1136
+ {
1137
+ "type": "page_number",
1138
+ "text": "13982",
1139
+ "bbox": [
1140
+ 477,
1141
+ 927,
1142
+ 524,
1143
+ 940
1144
+ ],
1145
+ "page_idx": 5
1146
+ },
1147
+ {
1148
+ "type": "text",
1149
+ "text": "5.2.3 CSKG-dedicated Methods",
1150
+ "text_level": 1,
1151
+ "bbox": [
1152
+ 112,
1153
+ 84,
1154
+ 381,
1155
+ 99
1156
+ ],
1157
+ "page_idx": 6
1158
+ },
1159
+ {
1160
+ "type": "text",
1161
+ "text": "SIM+GCN+BERT+ConvTransE (SGBC) densified the CSKG by connecting the synthetic edges between similar semantic nodes, improving the graph structure representation (Malaviya et al., 2020). Moreover, they used fine-tuned BERT to encode the semantic information of the nodes.",
1162
+ "bbox": [
1163
+ 112,
1164
+ 103,
1165
+ 487,
1166
+ 198
1167
+ ],
1168
+ "page_idx": 6
1169
+ },
1170
+ {
1171
+ "type": "text",
1172
+ "text": "Inductive (Wang et al., 2021) is proposed to enhance the unseen entity representation with neighboring structural information by densifying Graph. Relational graph attention networks (RGAT) are proposed weighted the importance of neighbor nodes of each node to obtain a better node representation.",
1173
+ "bbox": [
1174
+ 112,
1175
+ 200,
1176
+ 489,
1177
+ 311
1178
+ ],
1179
+ "page_idx": 6
1180
+ },
1181
+ {
1182
+ "type": "text",
1183
+ "text": "5.2.4 Our CPNC Methods",
1184
+ "text_level": 1,
1185
+ "bbox": [
1186
+ 112,
1187
+ 321,
1188
+ 337,
1189
+ 336
1190
+ ],
1191
+ "page_idx": 6
1192
+ },
1193
+ {
1194
+ "type": "text",
1195
+ "text": "By incorporating CPNC with two CSKG-dedicated methods (SGBC and InductivE), we obtain two models, i.e., CPNC-S and CPNC-I.",
1196
+ "bbox": [
1197
+ 112,
1198
+ 340,
1199
+ 487,
1200
+ 388
1201
+ ],
1202
+ "page_idx": 6
1203
+ },
1204
+ {
1205
+ "type": "text",
1206
+ "text": "5.3 Main Results",
1207
+ "text_level": 1,
1208
+ "bbox": [
1209
+ 112,
1210
+ 399,
1211
+ 265,
1212
+ 413
1213
+ ],
1214
+ "page_idx": 6
1215
+ },
1216
+ {
1217
+ "type": "text",
1218
+ "text": "In Table 1, we report experimental results of KG-adapted methods, Generation methods, CSKG-dedicated methods and our methods on CN-100K and ATOMIC.",
1219
+ "bbox": [
1220
+ 112,
1221
+ 420,
1222
+ 489,
1223
+ 482
1224
+ ],
1225
+ "page_idx": 6
1226
+ },
1227
+ {
1228
+ "type": "text",
1229
+ "text": "On CN-100K, both KG-adapted methods and Generation methods exhibit unsatisfactory performance, with MRR values below $21\\%$ and HITS@1 values below $14\\%$ . These results demonstrate that directly applying KG-adapted and Generation methods to CSKG completion is ineffective. In contrast, CSKG-dedicated methods achieve significantly better results on CN-100K, with MRR values above $43\\%$ and HITS@1 values above $30\\%$ . These metrics are twice as high as those obtained by KG-adapted and Generation methods, highlighting the advantage of CSKG-dedicated methods. Comparing our proposed CPNC-S and CPNC-I models with mainstream CSKG-dedicated methods (SGBC and Inductive), we observe performance improvements of $5.40\\%$ and $2.08\\%$ on MRR, respectively. Notably, our CPNC-I model sets a new state-of-the-art result on CN-100K.",
1230
+ "bbox": [
1231
+ 112,
1232
+ 483,
1233
+ 489,
1234
+ 772
1235
+ ],
1236
+ "page_idx": 6
1237
+ },
1238
+ {
1239
+ "type": "text",
1240
+ "text": "On ATOMIC, we draw a similar conclusion. The KG-adapted methods exhibit poor performance, while CSKG-dedicated methods achieve better results. In addition, compared with the SGBC and Inductive models, our CPNC-S and CPNC-I models outperform the SGBC and Inductive models by $2.89\\%$ and $1.19\\%$ on MRR, respectively. And the CPNC-I model achieves the state-of-the-art result on ATOMIC.",
1241
+ "bbox": [
1242
+ 112,
1243
+ 774,
1244
+ 489,
1245
+ 917
1246
+ ],
1247
+ "page_idx": 6
1248
+ },
1249
+ {
1250
+ "type": "text",
1251
+ "text": "We conduct Paired t-Test and the result proves that the improvement of CPNC is significant.",
1252
+ "bbox": [
1253
+ 507,
1254
+ 84,
1255
+ 880,
1256
+ 116
1257
+ ],
1258
+ "page_idx": 6
1259
+ },
1260
+ {
1261
+ "type": "text",
1262
+ "text": "5.4 Ablation Study",
1263
+ "text_level": 1,
1264
+ "bbox": [
1265
+ 509,
1266
+ 127,
1267
+ 673,
1268
+ 143
1269
+ ],
1270
+ "page_idx": 6
1271
+ },
1272
+ {
1273
+ "type": "table",
1274
+ "img_path": "images/b590e1ca7184abac8b5af4ef9343528a3add76f24ede50ee6fe5d3aa5935cd40.jpg",
1275
+ "table_caption": [],
1276
+ "table_footnote": [],
1277
+ "table_body": "<table><tr><td></td><td></td><td>MRR</td><td>HITS@10</td></tr><tr><td rowspan=\"8\">CN-100K</td><td>CPNC-S</td><td>54.52</td><td>75.92</td></tr><tr><td>-w/o CP</td><td>51.90</td><td>76.08</td></tr><tr><td>-w/o NC</td><td>49.74</td><td>71.38</td></tr><tr><td>SGBC</td><td>49.12</td><td>71.29</td></tr><tr><td>CPNC-I</td><td>59.00</td><td>79.13</td></tr><tr><td>-w/o CP</td><td>57.16</td><td>74.90</td></tr><tr><td>-w/o NC</td><td>58.30</td><td>78.75</td></tr><tr><td>InductivE</td><td>56.92</td><td>78.63</td></tr><tr><td rowspan=\"8\">ATOMIC</td><td>CPNC-S</td><td>13.14</td><td>18.80</td></tr><tr><td>-w/o CP</td><td>12.77</td><td>17.15</td></tr><tr><td>-w/o NC</td><td>12.46</td><td>17.72</td></tr><tr><td>SGBC</td><td>10.25</td><td>13.26</td></tr><tr><td>CPNC-I</td><td>14.38</td><td>21.79</td></tr><tr><td>-w/o CP</td><td>13.22</td><td>19.16</td></tr><tr><td>-w/o NC</td><td>14.21</td><td>21.38</td></tr><tr><td>InductivE</td><td>13.19</td><td>18.83</td></tr></table>",
1278
+ "bbox": [
1279
+ 546,
1280
+ 158,
1281
+ 848,
1282
+ 366
1283
+ ],
1284
+ "page_idx": 6
1285
+ },
1286
+ {
1287
+ "type": "text",
1288
+ "text": "Table 2: MRR and HITS@10 of removing CP and NC from CPNC on CN-100K and ATOMIC.",
1289
+ "bbox": [
1290
+ 507,
1291
+ 374,
1292
+ 880,
1293
+ 403
1294
+ ],
1295
+ "page_idx": 6
1296
+ },
1297
+ {
1298
+ "type": "text",
1299
+ "text": "To demonstrate the effectiveness of Contrastive Pretraining (CP) and Node Clustering (NC) on CSKG completion, we perform the ablation study where we removed CP and NC. The results are presented in Table 2.",
1300
+ "bbox": [
1301
+ 507,
1302
+ 420,
1303
+ 880,
1304
+ 500
1305
+ ],
1306
+ "page_idx": 6
1307
+ },
1308
+ {
1309
+ "type": "text",
1310
+ "text": "When NC was removed, we can observe that the performance of both CPNC-S and CPNC-I decreases on CN-100K and ATOMIC. This indicates that NC's latent concept representation effectively assists CSKG completion. It is worth noting that CP can still bring improvement compared with the previous method, showing that the semantic representation provided by CP is crucial for CSKG completion.",
1311
+ "bbox": [
1312
+ 507,
1313
+ 501,
1314
+ 882,
1315
+ 645
1316
+ ],
1317
+ "page_idx": 6
1318
+ },
1319
+ {
1320
+ "type": "text",
1321
+ "text": "CPNC, which combines NC and CP, consistently yields the highest result. By replacing CP with finetuned BERT (Malaviya et al., 2020), the performance of both CPNC-S and CPNC-I drops. However, they still achieve comparable results with the previous CSKG-dedicated methods. This demonstrates that the CP requires a high-quality semantic representation of nodes to acquire good latent concept representation.",
1322
+ "bbox": [
1323
+ 507,
1324
+ 646,
1325
+ 884,
1326
+ 790
1327
+ ],
1328
+ "page_idx": 6
1329
+ },
1330
+ {
1331
+ "type": "text",
1332
+ "text": "5.5 Human Evaluation",
1333
+ "text_level": 1,
1334
+ "bbox": [
1335
+ 507,
1336
+ 801,
1337
+ 705,
1338
+ 816
1339
+ ],
1340
+ "page_idx": 6
1341
+ },
1342
+ {
1343
+ "type": "text",
1344
+ "text": "For a given query $(h,rel)$ , additional nodes besides the golden tail node could also become reasonable tail nodes. For example, given a query “(do house-work, Causes)”, besides golden tail node “clean the house”, “house get clean” and “clean the room” are also reasonable tail nodes. However, automated",
1345
+ "bbox": [
1346
+ 507,
1347
+ 822,
1348
+ 882,
1349
+ 917
1350
+ ],
1351
+ "page_idx": 6
1352
+ },
1353
+ {
1354
+ "type": "page_number",
1355
+ "text": "13983",
1356
+ "bbox": [
1357
+ 477,
1358
+ 927,
1359
+ 524,
1360
+ 940
1361
+ ],
1362
+ "page_idx": 6
1363
+ },
1364
+ {
1365
+ "type": "text",
1366
+ "text": "metrics fail to cover these nodes. To address this issue, we randomly select 200 queries from the test set of the CN-100K and ATOMIC. For each query, we use our methods and current mainstream methods to rank the nodes in the candidate set, We manually calculate the number of reasonable tail nodes in the top 10 candidates. The results are shown in Table 3.",
1367
+ "bbox": [
1368
+ 112,
1369
+ 84,
1370
+ 487,
1371
+ 212
1372
+ ],
1373
+ "page_idx": 7
1374
+ },
1375
+ {
1376
+ "type": "table",
1377
+ "img_path": "images/f4b90a52c70e7729a2d48f119fe14ce868cc429af96343b89396da0d2b604c1e.jpg",
1378
+ "table_caption": [],
1379
+ "table_footnote": [],
1380
+ "table_body": "<table><tr><td></td><td>ATOMIC</td><td>CN-100K</td></tr><tr><td>CPNC-I</td><td>70.22</td><td>83.20</td></tr><tr><td>Inductive</td><td>64.45</td><td>76.40</td></tr><tr><td>CPNC-S</td><td>60.23</td><td>69.40</td></tr><tr><td>SGBC</td><td>62.11</td><td>65.40</td></tr></table>",
1381
+ "bbox": [
1382
+ 181,
1383
+ 222,
1384
+ 421,
1385
+ 286
1386
+ ],
1387
+ "page_idx": 7
1388
+ },
1389
+ {
1390
+ "type": "text",
1391
+ "text": "Table 3: Average percentage of reasonable tuples by human evaluation results.",
1392
+ "bbox": [
1393
+ 112,
1394
+ 296,
1395
+ 485,
1396
+ 324
1397
+ ],
1398
+ "page_idx": 7
1399
+ },
1400
+ {
1401
+ "type": "text",
1402
+ "text": "Observing human evaluation results, the CPNC model has an excellent performance in CSKG completion. Besides, our method is significantly higher than the current mainstream methods under the human evaluation results, which further validates the effectiveness of our approach.",
1403
+ "bbox": [
1404
+ 112,
1405
+ 344,
1406
+ 487,
1407
+ 442
1408
+ ],
1409
+ "page_idx": 7
1410
+ },
1411
+ {
1412
+ "type": "text",
1413
+ "text": "5.6 Model Adaptability",
1414
+ "text_level": 1,
1415
+ "bbox": [
1416
+ 112,
1417
+ 456,
1418
+ 314,
1419
+ 470
1420
+ ],
1421
+ "page_idx": 7
1422
+ },
1423
+ {
1424
+ "type": "text",
1425
+ "text": "The CPNC can be effectively applied to various methods. In our experiment, we incorporate CPNC into SGBC and InductivE, resulting in significant improvements.",
1426
+ "bbox": [
1427
+ 112,
1428
+ 479,
1429
+ 485,
1430
+ 542
1431
+ ],
1432
+ "page_idx": 7
1433
+ },
1434
+ {
1435
+ "type": "text",
1436
+ "text": "The SGBC method initializes the input of GCN randomly and combines graph structural representation acquired by GCN and semantic representation obtained by BERT as the node representation; InductiveE initializes the input of GCN with BERT and uses the output of GCN as the node representation. Despite the differences in their structures, both methods benefit from the application of CP and NC.",
1437
+ "bbox": [
1438
+ 112,
1439
+ 543,
1440
+ 487,
1441
+ 687
1442
+ ],
1443
+ "page_idx": 7
1444
+ },
1445
+ {
1446
+ "type": "text",
1447
+ "text": "On CN-100K, CPNC-S and CPNC-I bring improvements of $5.40\\%$ and $2.08\\%$ in MRR, respectively; On ATOMIC, CPNC-S and CPNC-I yield MRR improvements of $2.89\\%$ and $1.19\\%$ , respectively. This result demonstrates the adaptability of our method.",
1448
+ "bbox": [
1449
+ 112,
1450
+ 689,
1451
+ 487,
1452
+ 784
1453
+ ],
1454
+ "page_idx": 7
1455
+ },
1456
+ {
1457
+ "type": "text",
1458
+ "text": "5.7 Discussion on the Effect of Relieving Sparsity",
1459
+ "text_level": 1,
1460
+ "bbox": [
1461
+ 112,
1462
+ 800,
1463
+ 445,
1464
+ 832
1465
+ ],
1466
+ "page_idx": 7
1467
+ },
1468
+ {
1469
+ "type": "text",
1470
+ "text": "To evaluate the effectiveness of CPNC in mitigating the impact of edge sparsity in the CSKG, we conducted a comparative study between CPNC-S and SGBC on CN-100K with varying sparsity levels. The removal of edges in the CSKG results in",
1471
+ "bbox": [
1472
+ 112,
1473
+ 839,
1474
+ 487,
1475
+ 917
1476
+ ],
1477
+ "page_idx": 7
1478
+ },
1479
+ {
1480
+ "type": "text",
1481
+ "text": "increased sparsity, with a higher number of deleted edges corresponding to a higher sparsity degree.",
1482
+ "bbox": [
1483
+ 507,
1484
+ 84,
1485
+ 880,
1486
+ 116
1487
+ ],
1488
+ "page_idx": 7
1489
+ },
1490
+ {
1491
+ "type": "image",
1492
+ "img_path": "images/bd60b82d789d20f700afa3335a1117e68142408a574f2e866c234edb6a749002.jpg",
1493
+ "image_caption": [
1494
+ "Figure 4: CSKG completion results of SGBC and CPNC-S on CN-100K with various degrees of sparsity."
1495
+ ],
1496
+ "image_footnote": [],
1497
+ "bbox": [
1498
+ 534,
1499
+ 131,
1500
+ 857,
1501
+ 300
1502
+ ],
1503
+ "page_idx": 7
1504
+ },
1505
+ {
1506
+ "type": "text",
1507
+ "text": "As shown in Figure 4, when the sparsity degree increases, CSKG completion performance deteriorates. CPNC-S consistently outperforms SGBC in terms of MRR on CN-100K across different sparsity levels, indicating CPNC's ability to mitigate edge sparsity in the CSKG. CPNC-S achieves a $12.48\\%$ and $3.95\\%$ increase in MRR compared to SGBC at sparsity extents of $25\\%$ and $50\\%$ respectively. These results demonstrate that CPNC is more effective in alleviating edge sparsity in the CSKG, with greater improvements observed for sparser graphs.",
1508
+ "bbox": [
1509
+ 507,
1510
+ 374,
1511
+ 882,
1512
+ 567
1513
+ ],
1514
+ "page_idx": 7
1515
+ },
1516
+ {
1517
+ "type": "text",
1518
+ "text": "5.8 Discussion on the Number of Latent Concepts",
1519
+ "text_level": 1,
1520
+ "bbox": [
1521
+ 507,
1522
+ 577,
1523
+ 836,
1524
+ 609
1525
+ ],
1526
+ "page_idx": 7
1527
+ },
1528
+ {
1529
+ "type": "image",
1530
+ "img_path": "images/38e969457fec383c734630948f379dee9ade0538ffd83ca7cec056cbce55514e.jpg",
1531
+ "image_caption": [
1532
+ "Figure 5: CSKG completion performance with different cluster numbers on CN-100K and ATOMIC."
1533
+ ],
1534
+ "image_footnote": [],
1535
+ "bbox": [
1536
+ 534,
1537
+ 630,
1538
+ 852,
1539
+ 778
1540
+ ],
1541
+ "page_idx": 7
1542
+ },
1543
+ {
1544
+ "type": "text",
1545
+ "text": "Different numbers of clusters can lead to varying levels of granularity in latent concepts, which in turn can impact the performance of CSKG completion. In order to investigate this, we conducted experiments with the different numbers of clusters",
1546
+ "bbox": [
1547
+ 507,
1548
+ 839,
1549
+ 882,
1550
+ 917
1551
+ ],
1552
+ "page_idx": 7
1553
+ },
1554
+ {
1555
+ "type": "page_number",
1556
+ "text": "13984",
1557
+ "bbox": [
1558
+ 477,
1559
+ 927,
1560
+ 524,
1561
+ 940
1562
+ ],
1563
+ "page_idx": 7
1564
+ },
1565
+ {
1566
+ "type": "text",
1567
+ "text": "on CN-100K and ATOMIC datasets and present the results in Figure 5.",
1568
+ "bbox": [
1569
+ 112,
1570
+ 84,
1571
+ 485,
1572
+ 115
1573
+ ],
1574
+ "page_idx": 8
1575
+ },
1576
+ {
1577
+ "type": "text",
1578
+ "text": "On CN-100K, we observed an overall increasing trend in completion results as the number of clusters increased. However, the rate of improvement tends to diminish after reaching 900 clusters. The maximum MRR achieved when using the number of clusters is 1200.",
1579
+ "bbox": [
1580
+ 112,
1581
+ 116,
1582
+ 485,
1583
+ 211
1584
+ ],
1585
+ "page_idx": 8
1586
+ },
1587
+ {
1588
+ "type": "text",
1589
+ "text": "On ATOMIC, the MRR initially increases with an increasing number of clusters but starts to decline once the number of clusters reaches 900.",
1590
+ "bbox": [
1591
+ 112,
1592
+ 212,
1593
+ 485,
1594
+ 260
1595
+ ],
1596
+ "page_idx": 8
1597
+ },
1598
+ {
1599
+ "type": "text",
1600
+ "text": "Based on our main results, we selected 1200 clusters for CN-100K and 900 clusters for ATOMIC, allowing us to effectively capture latent concepts through cluster nodes.",
1601
+ "bbox": [
1602
+ 112,
1603
+ 262,
1604
+ 485,
1605
+ 326
1606
+ ],
1607
+ "page_idx": 8
1608
+ },
1609
+ {
1610
+ "type": "text",
1611
+ "text": "5.9 Discussing on Contrastive Learning Loss",
1612
+ "text_level": 1,
1613
+ "bbox": [
1614
+ 112,
1615
+ 338,
1616
+ 480,
1617
+ 354
1618
+ ],
1619
+ "page_idx": 8
1620
+ },
1621
+ {
1622
+ "type": "text",
1623
+ "text": "In order to obtain a better semantic representation of nodes, we experiment with five kinds of contrastive learning methods and observe their performance in CSKG completion. The result is shown in Table 4.",
1624
+ "bbox": [
1625
+ 112,
1626
+ 359,
1627
+ 485,
1628
+ 437
1629
+ ],
1630
+ "page_idx": 8
1631
+ },
1632
+ {
1633
+ "type": "table",
1634
+ "img_path": "images/fe43d802489fecc5c3a42d00b5dbd74bcb411859fedae62286618222228a4791.jpg",
1635
+ "table_caption": [],
1636
+ "table_footnote": [],
1637
+ "table_body": "<table><tr><td>Methods</td><td>MRR</td></tr><tr><td>Contrastive Loss</td><td>40.03</td></tr><tr><td>MTriplet Loss</td><td>44.36</td></tr><tr><td>MICO</td><td>45.93</td></tr><tr><td>Batch Semi Hard Triplet Loss</td><td>27.92</td></tr><tr><td>Multiple Negatives Ranking Loss</td><td>49.74</td></tr></table>",
1638
+ "bbox": [
1639
+ 137,
1640
+ 447,
1641
+ 463,
1642
+ 533
1643
+ ],
1644
+ "page_idx": 8
1645
+ },
1646
+ {
1647
+ "type": "text",
1648
+ "text": "Table 4: CSKG completion performance of CPNC-S using different Contrastive Learning Loss on CN-100K.",
1649
+ "bbox": [
1650
+ 112,
1651
+ 542,
1652
+ 485,
1653
+ 571
1654
+ ],
1655
+ "page_idx": 8
1656
+ },
1657
+ {
1658
+ "type": "text",
1659
+ "text": "In order to compare those contrastive learning methods, we use the node embedding obtained by those methods to complete CSKG without node clustering. Each contrastive learning method yields distinct results, and our main result selects Multiple Negatives Ranking Loss due to its highest MRR.",
1660
+ "bbox": [
1661
+ 112,
1662
+ 590,
1663
+ 485,
1664
+ 686
1665
+ ],
1666
+ "page_idx": 8
1667
+ },
1668
+ {
1669
+ "type": "text",
1670
+ "text": "6 Conclusion",
1671
+ "text_level": 1,
1672
+ "bbox": [
1673
+ 112,
1674
+ 700,
1675
+ 245,
1676
+ 714
1677
+ ],
1678
+ "page_idx": 8
1679
+ },
1680
+ {
1681
+ "type": "text",
1682
+ "text": "In this work, we propose a new CSKG completion framework CPNC to address issues arising from node redundancy and edge sparsity. CPNC obtains better semantic node information through Contrastive Pretraining, which alleviates the problems caused by edge sparsity. CPNC also utilizes the latent concept representation acquired through Node Clustering to alleviate the problem caused by node redundancy. On CN-100K and ATOMIC, experimental results and extensive analysis demonstrate the effectiveness of Contrastive Pretraining and Node Clustering.",
1683
+ "bbox": [
1684
+ 112,
1685
+ 726,
1686
+ 487,
1687
+ 917
1688
+ ],
1689
+ "page_idx": 8
1690
+ },
1691
+ {
1692
+ "type": "text",
1693
+ "text": "Limitations",
1694
+ "text_level": 1,
1695
+ "bbox": [
1696
+ 509,
1697
+ 83,
1698
+ 613,
1699
+ 98
1700
+ ],
1701
+ "page_idx": 8
1702
+ },
1703
+ {
1704
+ "type": "text",
1705
+ "text": "Due to the limitation of time and resources, in this work, we select a relatively small number of clusters during the clustering process, which results in coarse-grained clustering. Fine-grained clustering can provide a better latent concept but will also lead to increased computational resources and time consumption. We will attempt to trade-off between the cost and the granularity of clustering in future work to further explore the impact of the latent concept on CSKG completion. Besides, our Node Clustering module is not integrated in an end-to-end manner in our work; We will consider using the topic neural network to construct an end-to-end model.",
1706
+ "bbox": [
1707
+ 507,
1708
+ 111,
1709
+ 882,
1710
+ 335
1711
+ ],
1712
+ "page_idx": 8
1713
+ },
1714
+ {
1715
+ "type": "text",
1716
+ "text": "Ethics Statement",
1717
+ "text_level": 1,
1718
+ "bbox": [
1719
+ 509,
1720
+ 351,
1721
+ 660,
1722
+ 366
1723
+ ],
1724
+ "page_idx": 8
1725
+ },
1726
+ {
1727
+ "type": "text",
1728
+ "text": "We would like to thank Malaviya et al. (2020) and Wang et al. (2021) for their code on commonsense knowledge graph completion. Their models are licensed under MIT, which allows copying, modifying, merging, publishing, and distributing of the material.",
1729
+ "bbox": [
1730
+ 507,
1731
+ 378,
1732
+ 882,
1733
+ 473
1734
+ ],
1735
+ "page_idx": 8
1736
+ },
1737
+ {
1738
+ "type": "text",
1739
+ "text": "In the stage of human evaluation, we employed three graduate students experienced in natural language processing for human evaluation. We paid the graduate students about \\(8 per hour, well above the local average wage, and engaged in constructive discussions if they had concerns about the process.",
1740
+ "bbox": [
1741
+ 507,
1742
+ 476,
1743
+ 882,
1744
+ 571
1745
+ ],
1746
+ "page_idx": 8
1747
+ },
1748
+ {
1749
+ "type": "text",
1750
+ "text": "Acknowledgements",
1751
+ "text_level": 1,
1752
+ "bbox": [
1753
+ 509,
1754
+ 588,
1755
+ 680,
1756
+ 604
1757
+ ],
1758
+ "page_idx": 8
1759
+ },
1760
+ {
1761
+ "type": "text",
1762
+ "text": "This work was supported by the Natural Science Foundation of China (No. 62076133), and the Natural Science Foundation of Jiangsu Province for Distinguished Young Scholars (No. BK20200018).",
1763
+ "bbox": [
1764
+ 507,
1765
+ 615,
1766
+ 882,
1767
+ 678
1768
+ ],
1769
+ "page_idx": 8
1770
+ },
1771
+ {
1772
+ "type": "text",
1773
+ "text": "References",
1774
+ "text_level": 1,
1775
+ "bbox": [
1776
+ 510,
1777
+ 709,
1778
+ 608,
1779
+ 722
1780
+ ],
1781
+ "page_idx": 8
1782
+ },
1783
+ {
1784
+ "type": "list",
1785
+ "sub_type": "ref_text",
1786
+ "list_items": [
1787
+ "Antoine Bosselut, Hannah Rashkin, Maarten Sap, Chaitanya Malaviya, Asli Celikyilmaz, and Yejin Choi. 2019. COMET: commonsense transformers for automatic knowledge graph construction. 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 4762-4779. Association for Computational Linguistics.",
1788
+ "Tim Dettmers, Pasquale Minervini, Pontus Stenetorp, and Sebastian Riedel. 2018. Convolutional 2d knowledge graph embeddings. In Proceedings of the Thirty-Second AAAI Conference on Artificial Intelligence,"
1789
+ ],
1790
+ "bbox": [
1791
+ 509,
1792
+ 733,
1793
+ 882,
1794
+ 917
1795
+ ],
1796
+ "page_idx": 8
1797
+ },
1798
+ {
1799
+ "type": "page_number",
1800
+ "text": "13985",
1801
+ "bbox": [
1802
+ 477,
1803
+ 927,
1804
+ 524,
1805
+ 940
1806
+ ],
1807
+ "page_idx": 8
1808
+ },
1809
+ {
1810
+ "type": "list",
1811
+ "sub_type": "ref_text",
1812
+ "list_items": [
1813
+ "(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 1811-1818. AAAI Press.",
1814
+ "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.",
1815
+ "Stanislaw Jastrzebski, Dzmitry Bahdanau, Seyedarian Hosseini, Michael Noukhovitch, Yoshua Bengio, and Jackie Chi Kit Cheung. 2018. Commonsense mining as knowledge base completion? A study on the impact of novelty. CoRR, abs/1804.09259.",
1816
+ "Shaoxiong Ji, Shirui Pan, Erik Cambria, Pekka Martinen, and Philip S. Yu. 2022. A survey on knowledge graphs: Representation, acquisition, and applications. IEEE Trans. Neural Networks Learn. Syst., 33(2):494-514.",
1817
+ "Jinhao Ju, Deqing Yang, and Jingping Liu. 2022. Commonsense knowledge base completion with relational graph attention network and pre-trained language model. In Proceedings of the 31st ACM International Conference on Information & Knowledge Management, Atlanta, GA, USA, October 17-21, 2022, pages 4104-4108. ACM.",
1818
+ "Yong-Ho Jung, Jun-Hyung Park, Joon-Young Choi, Mingyu Lee, Junho Kim, Kang-Min Kim, and SangKeun Lee. 2022. Learning from missing relations: Contrastive learning with commonsense knowledge graphs for commonsense inference. In *Findings of the Association for Computational Linguistics: ACL* 2022, Dublin, Ireland, May 22-27, 2022, pages 1514-1523. Association for Computational Linguistics.",
1819
+ "Tushar Khot, Sriraam Natarajan, Kristian Kersting, and Jude W. Shavlik. 2011. Learning markov logic networks via functional gradient boosting. In 11th IEEE International Conference on Data Mining, ICDM 2011, Vancouver, BC, Canada, December 11-14, 2011, pages 320-329. IEEE Computer Society.",
1820
+ "Ni Lao and William W. Cohen. 2010. Relational retrieval using a combination of path-constrained random walks. Mach. Learn., 81(1):53-67.",
1821
+ "Bohan Li, Hao Zhou, Junxian He, Mingxuan Wang, Yiming Yang, and Lei Li. 2020. On the sentence embeddings from pre-trained language models. In Proceedings of the 2020 Conference on Empirical Methods in Natural Language Processing, EMNLP 2020, Online, November 16-20, 2020, pages 9119-9130. Association for Computational Linguistics."
1822
+ ],
1823
+ "bbox": [
1824
+ 115,
1825
+ 85,
1826
+ 489,
1827
+ 917
1828
+ ],
1829
+ "page_idx": 9
1830
+ },
1831
+ {
1832
+ "type": "list",
1833
+ "sub_type": "ref_text",
1834
+ "list_items": [
1835
+ "Jiangnan Li, Fandong Meng, Zheng Lin, Rui Liu, Peng Fu, Yanan Cao, Weiping Wang, and Jie Zhou. 2022. Neutral utterances are also causes: Enhancing conversational causal emotion entailment with social commonsense knowledge. In Proceedings of the Thirty-First International Joint Conference on Artificial Intelligence, IJCAI 2022, Vienna, Austria, 23-29 July 2022, pages 4209-4215. ijcai.org.",
1836
+ "Xiang Li, Aynaz Taheri, Lifu Tu, and Kevin Gimpel. 2016. Commonsense knowledge base completion. In Proceedings of the 54th Annual Meeting of the Association for Computational Linguistics, ACL 2016, August 7-12, 2016, Berlin, Germany, Volume 1: Long Papers. The Association for Computer Linguistics.",
1837
+ "Shangwen Lv, Daya Guo, Jingjing Xu, Duyu Tang, Nan Duan, Ming Gong, Linjun Shou, Daxin Jiang, Guihong Cao, and Songlin Hu. 2020. Graph-based reasoning over heterogeneous external knowledge for commonsense question answering. In The Thirty-Fourth AAAI Conference on Artificial Intelligence, AAAI 2020, The Thirty-Second Innovative Applications of Artificial Intelligence Conference, IAAI 2020, The Tenth AAAI Symposium on Educational Advances in Artificial Intelligence, EAAI 2020, New York, NY, USA, February 7-12, 2020, pages 8449-8456. AAAI Press.",
1838
+ "Chaitanya Malaviya, Chandra Bhagavatula, Antoine Bosselut, and Yejin Choi. 2020. Commonsense knowledge base completion with structural and semantic context. In The Thirty-Fourth AAAI Conference on Artificial Intelligence, AAAI 2020, The Thirty-Second Innovative Applications of Artificial Intelligence Conference, IAAI 2020, The Tenth AAAI Symposium on Educational Advances in Artificial Intelligence, EAAI 2020, New York, NY, USA, February 7-12, 2020, pages 2925-2933. AAAI Press.",
1839
+ "Hongyu Ren, Weihua Hu, and Jure Leskovec. 2020. Query2box: Reasoning over knowledge graphs in vector space using box embeddings. In 8th International Conference on Learning Representations, ICLR 2020, Addis Ababa, Ethiopia, April 26-30, 2020. OpenReview.net.",
1840
+ "Itsumi Saito, Kyosuke Nishida, Hisako Asano, and Junji Tomita. 2018. Commonsense knowledge base completion and generation. In Proceedings of the 22nd Conference on Computational Natural Language Learning, CoNLL 2018, Brussels, Belgium, October 31 - November 1, 2018, pages 141-150. Association for Computational Linguistics.",
1841
+ "Maarten Sap, Ronan Le Bras, Emily Allaway, Chandra Bhagavatula, Nicholas Lourie, Hannah Rashkin, Brendan Roof, Noah A. Smith, and Yejin Choi. 2019. ATOMIC: an atlas of machine commonsense for if-then reasoning. 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,"
1842
+ ],
1843
+ "bbox": [
1844
+ 510,
1845
+ 85,
1846
+ 884,
1847
+ 917
1848
+ ],
1849
+ "page_idx": 9
1850
+ },
1851
+ {
1852
+ "type": "page_number",
1853
+ "text": "13986",
1854
+ "bbox": [
1855
+ 477,
1856
+ 928,
1857
+ 524,
1858
+ 940
1859
+ ],
1860
+ "page_idx": 9
1861
+ },
1862
+ {
1863
+ "type": "list",
1864
+ "sub_type": "ref_text",
1865
+ "list_items": [
1866
+ "January 27 - February 1, 2019, pages 3027-3035. AAAI Press.",
1867
+ "Chao Shang, Yun Tang, Jing Huang, Jinbo Bi, Xiaodong He, and Bowen Zhou. 2019. End-to-end structure-aware convolutional networks for knowledge base completion. 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 3060-3067. AAAI Press.",
1868
+ "Xiangqing Shen, Siwei Wu, and Rui Xia. 2022. Dense-atomic: Construction of densely-connected and multihop commonsense knowledge graph upon ATOMIC. CoRR, abs/2210.07621.",
1869
+ "Robyn Speer, Joshua Chin, and Catherine Havasi. 2017. Conceptnet 5.5: An open multilingual graph of general knowledge. In Proceedings of the Thirty-First AAAI Conference on Artificial Intelligence, February 4-9, 2017, San Francisco, California, USA, pages 4444-4451. AAAI Press.",
1870
+ "Robyn Speer and Catherine Havasi. 2013. Conceptnet 5: A large semantic network for relational knowledge. In Iryna Gurevych and Jungi Kim, editors, The People's Web Meets NLP, Collaboratively Constructed Language Resources, Theory and Applications of Natural Language Processing, pages 161-176. Springer.",
1871
+ "Ying Su, Zihao Wang, Tianqing Fang, Hongming Zhang, Yangqiu Song, and Tong Zhang. 2022. MICO: A multi-alternative contrastive learning framework for commonsense knowledge representation. CoRR, abs/2210.07570.",
1872
+ "Théo Trouillon, Johannes Welbl, Sebastian Riedel, Éric Gaussier, and Guillaume Bouchard. 2016. Complex embeddings for simple link prediction. In Proceedings of the 33nd International Conference on Machine Learning, ICML 2016, New York City, NY, USA, June 19-24, 2016, volume 48 of JMLR Workshop and Conference Proceedings, pages 2071-2080. JMLR.org.",
1873
+ "Quan Tu, Yanran Li, Jianwei Cui, Bin Wang, Ji-Rong Wen, and Rui Yan. 2022. MISC: A mixed strategy-aware model integrating COMET for emotional support conversation. 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 308-319. Association for Computational Linguistics.",
1874
+ "Bin Wang, Guangtao Wang, Jing Huang, Jiaxuan You, Jure Leskovec, and C.-C. Jay Kuo. 2021. Inductive learning on commonsense knowledge graph completion. In International Joint Conference on Neural Networks, IJCNN 2021, Shenzhen, China, July 18-22, 2021, pages 1-8. IEEE."
1875
+ ],
1876
+ "bbox": [
1877
+ 115,
1878
+ 85,
1879
+ 489,
1880
+ 917
1881
+ ],
1882
+ "page_idx": 10
1883
+ },
1884
+ {
1885
+ "type": "list",
1886
+ "sub_type": "ref_text",
1887
+ "list_items": [
1888
+ "Bishan Yang, Wen-tau Yih, Xiaodong He, Jianfeng Gao, and Li Deng. 2015. Embedding entities and relations for learning and inference in knowledge bases. In 3rd International Conference on Learning Representations, ICLR 2015, San Diego, CA, USA, May 7-9, 2015, Conference Track Proceedings.",
1889
+ "Yuan Yang and Le Song. 2020. Learn to explain efficiently via neural logic inductive learning. In 8th International Conference on Learning Representations, ICLR 2020, Addis Ababa, Ethiopia, April 26-30, 2020. OpenReview.net.",
1890
+ "Zihao Zhu, Jing Yu, Yujing Wang, Yajing Sun, Yue Hu, and Qi Wu. 2020. Mucko: Multi-layer cross-modal knowledge reasoning for fact-based visual question answering. In Proceedings of the Twenty-Ninth International Joint Conference on Artificial Intelligence, IJCAI 2020, pages 1097-1103. ijcai.org."
1891
+ ],
1892
+ "bbox": [
1893
+ 510,
1894
+ 85,
1895
+ 882,
1896
+ 329
1897
+ ],
1898
+ "page_idx": 10
1899
+ },
1900
+ {
1901
+ "type": "page_number",
1902
+ "text": "13987",
1903
+ "bbox": [
1904
+ 477,
1905
+ 928,
1906
+ 524,
1907
+ 940
1908
+ ],
1909
+ "page_idx": 10
1910
+ },
1911
+ {
1912
+ "type": "text",
1913
+ "text": "A For every submission:",
1914
+ "bbox": [
1915
+ 114,
1916
+ 107,
1917
+ 322,
1918
+ 122
1919
+ ],
1920
+ "page_idx": 11
1921
+ },
1922
+ {
1923
+ "type": "text",
1924
+ "text": "A1. Did you describe the limitations of your work?",
1925
+ "bbox": [
1926
+ 129,
1927
+ 126,
1928
+ 532,
1929
+ 143
1930
+ ],
1931
+ "page_idx": 11
1932
+ },
1933
+ {
1934
+ "type": "text",
1935
+ "text": "Limitations section",
1936
+ "bbox": [
1937
+ 149,
1938
+ 145,
1939
+ 295,
1940
+ 156
1941
+ ],
1942
+ "page_idx": 11
1943
+ },
1944
+ {
1945
+ "type": "text",
1946
+ "text": "A2. Did you discuss any potential risks of your work?",
1947
+ "bbox": [
1948
+ 127,
1949
+ 170,
1950
+ 552,
1951
+ 186
1952
+ ],
1953
+ "page_idx": 11
1954
+ },
1955
+ {
1956
+ "type": "text",
1957
+ "text": "Not applicable. Left blank.",
1958
+ "bbox": [
1959
+ 149,
1960
+ 187,
1961
+ 349,
1962
+ 200
1963
+ ],
1964
+ "page_idx": 11
1965
+ },
1966
+ {
1967
+ "type": "text",
1968
+ "text": "A3. Do the abstract and introduction summarize the paper's main claims?",
1969
+ "bbox": [
1970
+ 129,
1971
+ 212,
1972
+ 695,
1973
+ 229
1974
+ ],
1975
+ "page_idx": 11
1976
+ },
1977
+ {
1978
+ "type": "text",
1979
+ "text": "Abstract section and section 1 Introduction",
1980
+ "bbox": [
1981
+ 149,
1982
+ 230,
1983
+ 470,
1984
+ 243
1985
+ ],
1986
+ "page_idx": 11
1987
+ },
1988
+ {
1989
+ "type": "text",
1990
+ "text": "A4. Have you used AI writing assistants when working on this paper?",
1991
+ "bbox": [
1992
+ 129,
1993
+ 255,
1994
+ 668,
1995
+ 272
1996
+ ],
1997
+ "page_idx": 11
1998
+ },
1999
+ {
2000
+ "type": "text",
2001
+ "text": "Left blank.",
2002
+ "bbox": [
2003
+ 149,
2004
+ 273,
2005
+ 231,
2006
+ 287
2007
+ ],
2008
+ "page_idx": 11
2009
+ },
2010
+ {
2011
+ "type": "text",
2012
+ "text": "B Did you use or create scientific artifacts?",
2013
+ "bbox": [
2014
+ 114,
2015
+ 299,
2016
+ 487,
2017
+ 316
2018
+ ],
2019
+ "page_idx": 11
2020
+ },
2021
+ {
2022
+ "type": "text",
2023
+ "text": "Section 5.1.3 Implementation Details",
2024
+ "bbox": [
2025
+ 132,
2026
+ 321,
2027
+ 410,
2028
+ 336
2029
+ ],
2030
+ "page_idx": 11
2031
+ },
2032
+ {
2033
+ "type": "text",
2034
+ "text": "B1. Did you cite the creators of artifacts you used?",
2035
+ "bbox": [
2036
+ 129,
2037
+ 346,
2038
+ 529,
2039
+ 363
2040
+ ],
2041
+ "page_idx": 11
2042
+ },
2043
+ {
2044
+ "type": "text",
2045
+ "text": "Section 5.1.3 Implementation Details",
2046
+ "bbox": [
2047
+ 149,
2048
+ 363,
2049
+ 428,
2050
+ 379
2051
+ ],
2052
+ "page_idx": 11
2053
+ },
2054
+ {
2055
+ "type": "text",
2056
+ "text": "B2. Did you discuss the license or terms for use and / or distribution of any artifacts?",
2057
+ "bbox": [
2058
+ 129,
2059
+ 388,
2060
+ 778,
2061
+ 406
2062
+ ],
2063
+ "page_idx": 11
2064
+ },
2065
+ {
2066
+ "type": "text",
2067
+ "text": "Ethics Statement Section",
2068
+ "bbox": [
2069
+ 149,
2070
+ 407,
2071
+ 336,
2072
+ 420
2073
+ ],
2074
+ "page_idx": 11
2075
+ },
2076
+ {
2077
+ "type": "text",
2078
+ "text": "B3. Did you discuss if your use of existing artifact(s) was consistent with their intended use, provided that it was specified? For the artifacts you create, do you specify intended use and whether that is compatible with the original access conditions (in particular, derivatives of data accessed for research purposes should not be used outside of research contexts)?",
2079
+ "bbox": [
2080
+ 129,
2081
+ 432,
2082
+ 880,
2083
+ 495
2084
+ ],
2085
+ "page_idx": 11
2086
+ },
2087
+ {
2088
+ "type": "text",
2089
+ "text": "Section 5.1.3 Implementation Details",
2090
+ "bbox": [
2091
+ 149,
2092
+ 497,
2093
+ 428,
2094
+ 512
2095
+ ],
2096
+ "page_idx": 11
2097
+ },
2098
+ {
2099
+ "type": "text",
2100
+ "text": "B4. Did you discuss the steps taken to check whether the data that was collected / used contains any information that names or uniquely identifies individual people or offensive content, and the steps taken to protect / anonymize it?",
2101
+ "bbox": [
2102
+ 129,
2103
+ 524,
2104
+ 880,
2105
+ 571
2106
+ ],
2107
+ "page_idx": 11
2108
+ },
2109
+ {
2110
+ "type": "text",
2111
+ "text": "We use publically available datasets, and the authors of the dataset have made the corresponding declaration.",
2112
+ "bbox": [
2113
+ 149,
2114
+ 573,
2115
+ 880,
2116
+ 602
2117
+ ],
2118
+ "page_idx": 11
2119
+ },
2120
+ {
2121
+ "type": "text",
2122
+ "text": "B5. Did you provide documentation of the artifacts, e.g., coverage of domains, languages, and linguistic phenomena, demographic groups represented, etc.?",
2123
+ "bbox": [
2124
+ 129,
2125
+ 615,
2126
+ 880,
2127
+ 646
2128
+ ],
2129
+ "page_idx": 11
2130
+ },
2131
+ {
2132
+ "type": "text",
2133
+ "text": "We will provide those data after the review process.",
2134
+ "bbox": [
2135
+ 149,
2136
+ 648,
2137
+ 529,
2138
+ 663
2139
+ ],
2140
+ "page_idx": 11
2141
+ },
2142
+ {
2143
+ "type": "text",
2144
+ "text": "B6. Did you report relevant statistics like the number of examples, details of train / test / dev splits, etc. for the data that you used / created? Even for commonly-used benchmark datasets, include the number of examples in train / validation / test splits, as these provide necessary context for a reader to understand experimental results. For example, small differences in accuracy on large test sets may be significant, while on small test sets they may not be.",
2145
+ "bbox": [
2146
+ 129,
2147
+ 673,
2148
+ 880,
2149
+ 753
2150
+ ],
2151
+ "page_idx": 11
2152
+ },
2153
+ {
2154
+ "type": "text",
2155
+ "text": "5.1.1 section Datasets",
2156
+ "bbox": [
2157
+ 149,
2158
+ 755,
2159
+ 317,
2160
+ 769
2161
+ ],
2162
+ "page_idx": 11
2163
+ },
2164
+ {
2165
+ "type": "text",
2166
+ "text": "C Did you run computational experiments?",
2167
+ "bbox": [
2168
+ 114,
2169
+ 780,
2170
+ 492,
2171
+ 797
2172
+ ],
2173
+ "page_idx": 11
2174
+ },
2175
+ {
2176
+ "type": "text",
2177
+ "text": "5.1.3 section Implementation Details",
2178
+ "bbox": [
2179
+ 132,
2180
+ 803,
2181
+ 406,
2182
+ 816
2183
+ ],
2184
+ "page_idx": 11
2185
+ },
2186
+ {
2187
+ "type": "text",
2188
+ "text": "C1. Did you report the number of parameters in the models used, the total computational budget (e.g., GPU hours), and computing infrastructure used?",
2189
+ "bbox": [
2190
+ 129,
2191
+ 828,
2192
+ 880,
2193
+ 860
2194
+ ],
2195
+ "page_idx": 11
2196
+ },
2197
+ {
2198
+ "type": "text",
2199
+ "text": "Section 5.1.3 Implementation Details",
2200
+ "bbox": [
2201
+ 149,
2202
+ 860,
2203
+ 428,
2204
+ 876
2205
+ ],
2206
+ "page_idx": 11
2207
+ },
2208
+ {
2209
+ "type": "header",
2210
+ "text": "ACL 2023 Responsible NLP Checklist",
2211
+ "bbox": [
2212
+ 132,
2213
+ 84,
2214
+ 433,
2215
+ 99
2216
+ ],
2217
+ "page_idx": 11
2218
+ },
2219
+ {
2220
+ "type": "page_footnote",
2221
+ "text": "The Responsible NLP Checklist used at ACL 2023 is adopted from NAACL 2022, with the addition of a question on AI writing assistance.",
2222
+ "bbox": [
2223
+ 112,
2224
+ 884,
2225
+ 877,
2226
+ 908
2227
+ ],
2228
+ "page_idx": 11
2229
+ },
2230
+ {
2231
+ "type": "page_number",
2232
+ "text": "13988",
2233
+ "bbox": [
2234
+ 477,
2235
+ 927,
2236
+ 524,
2237
+ 940
2238
+ ],
2239
+ "page_idx": 11
2240
+ },
2241
+ {
2242
+ "type": "text",
2243
+ "text": "C2. Did you discuss the experimental setup, including hyperparameter search and best-found hyperparameter values?",
2244
+ "bbox": [
2245
+ 129,
2246
+ 83,
2247
+ 878,
2248
+ 115
2249
+ ],
2250
+ "page_idx": 12
2251
+ },
2252
+ {
2253
+ "type": "text",
2254
+ "text": "Section 5.1.3 Implementation Details",
2255
+ "bbox": [
2256
+ 149,
2257
+ 117,
2258
+ 428,
2259
+ 131
2260
+ ],
2261
+ "page_idx": 12
2262
+ },
2263
+ {
2264
+ "type": "text",
2265
+ "text": "C3. Did you report descriptive statistics about your results (e.g., error bars around results, summary statistics from sets of experiments), and is it transparent whether you are reporting the max, mean, etc. or just a single run?",
2266
+ "bbox": [
2267
+ 129,
2268
+ 142,
2269
+ 882,
2270
+ 190
2271
+ ],
2272
+ "page_idx": 12
2273
+ },
2274
+ {
2275
+ "type": "text",
2276
+ "text": "5.3 Main Results",
2277
+ "bbox": [
2278
+ 149,
2279
+ 192,
2280
+ 278,
2281
+ 206
2282
+ ],
2283
+ "page_idx": 12
2284
+ },
2285
+ {
2286
+ "type": "text",
2287
+ "text": "C4. If you used existing packages (e.g., for preprocessing, for normalization, or for evaluation), did you report the implementation, model, and parameter settings used (e.g., NLTK, Spacy, ROUGE, etc.)?",
2288
+ "bbox": [
2289
+ 129,
2290
+ 217,
2291
+ 882,
2292
+ 265
2293
+ ],
2294
+ "page_idx": 12
2295
+ },
2296
+ {
2297
+ "type": "text",
2298
+ "text": "Section 5.1.3 Implementation Details",
2299
+ "bbox": [
2300
+ 149,
2301
+ 267,
2302
+ 428,
2303
+ 282
2304
+ ],
2305
+ "page_idx": 12
2306
+ },
2307
+ {
2308
+ "type": "text",
2309
+ "text": "D Did you use human annotators (e.g., crowdworkers) or research with human participants?",
2310
+ "bbox": [
2311
+ 114,
2312
+ 292,
2313
+ 877,
2314
+ 310
2315
+ ],
2316
+ "page_idx": 12
2317
+ },
2318
+ {
2319
+ "type": "text",
2320
+ "text": "3",
2321
+ "bbox": [
2322
+ 134,
2323
+ 315,
2324
+ 146,
2325
+ 326
2326
+ ],
2327
+ "page_idx": 12
2328
+ },
2329
+ {
2330
+ "type": "text",
2331
+ "text": "D1. Did you report the full text of instructions given to participants, including e.g., screenshots, disclaimers of any risks to participants or annotators, etc.?",
2332
+ "bbox": [
2333
+ 129,
2334
+ 338,
2335
+ 882,
2336
+ 372
2337
+ ],
2338
+ "page_idx": 12
2339
+ },
2340
+ {
2341
+ "type": "text",
2342
+ "text": "We perform simple human annotation and evaluation, there is no need of providing the full text.",
2343
+ "bbox": [
2344
+ 149,
2345
+ 373,
2346
+ 852,
2347
+ 388
2348
+ ],
2349
+ "page_idx": 12
2350
+ },
2351
+ {
2352
+ "type": "text",
2353
+ "text": "D2. Did you report information about how you recruited (e.g., crowdsourcing platform, students) and paid participants, and discuss if such payment is adequate given the participants' demographic (e.g., country of residence)?",
2354
+ "bbox": [
2355
+ 129,
2356
+ 398,
2357
+ 882,
2358
+ 447
2359
+ ],
2360
+ "page_idx": 12
2361
+ },
2362
+ {
2363
+ "type": "text",
2364
+ "text": "Ethics Statement section",
2365
+ "bbox": [
2366
+ 149,
2367
+ 449,
2368
+ 334,
2369
+ 462
2370
+ ],
2371
+ "page_idx": 12
2372
+ },
2373
+ {
2374
+ "type": "text",
2375
+ "text": "D3. Did you discuss whether and how consent was obtained from people whose data you're using/curating? For example, if you collected data via crowdsourcing, did your instructions to crowdworkers explain how the data would be used?",
2376
+ "bbox": [
2377
+ 129,
2378
+ 474,
2379
+ 882,
2380
+ 521
2381
+ ],
2382
+ "page_idx": 12
2383
+ },
2384
+ {
2385
+ "type": "text",
2386
+ "text": "Left blank.",
2387
+ "bbox": [
2388
+ 149,
2389
+ 523,
2390
+ 231,
2391
+ 538
2392
+ ],
2393
+ "page_idx": 12
2394
+ },
2395
+ {
2396
+ "type": "text",
2397
+ "text": "D4. Was the data collection protocol approved (or determined exempt) by an ethics review board?",
2398
+ "bbox": [
2399
+ 129,
2400
+ 549,
2401
+ 875,
2402
+ 565
2403
+ ],
2404
+ "page_idx": 12
2405
+ },
2406
+ {
2407
+ "type": "text",
2408
+ "text": "Not applicable. Left blank.",
2409
+ "bbox": [
2410
+ 149,
2411
+ 565,
2412
+ 349,
2413
+ 581
2414
+ ],
2415
+ "page_idx": 12
2416
+ },
2417
+ {
2418
+ "type": "text",
2419
+ "text": "D5. Did you report the basic demographic and geographic characteristics of the annotator population that is the source of the data?",
2420
+ "bbox": [
2421
+ 129,
2422
+ 590,
2423
+ 880,
2424
+ 623
2425
+ ],
2426
+ "page_idx": 12
2427
+ },
2428
+ {
2429
+ "type": "text",
2430
+ "text": "Ethics Statement section",
2431
+ "bbox": [
2432
+ 149,
2433
+ 625,
2434
+ 334,
2435
+ 639
2436
+ ],
2437
+ "page_idx": 12
2438
+ },
2439
+ {
2440
+ "type": "page_number",
2441
+ "text": "13989",
2442
+ "bbox": [
2443
+ 477,
2444
+ 927,
2445
+ 524,
2446
+ 940
2447
+ ],
2448
+ "page_idx": 12
2449
+ }
2450
+ ]
2023/Commonsense Knowledge Graph Completion Via Contrastive Pretraining and Node Clustering/8ad456f0-7f0d-40ee-8bd0-7b70b4a0c21c_model.json ADDED
The diff for this file is too large to render. See raw diff
 
2023/Commonsense Knowledge Graph Completion Via Contrastive Pretraining and Node Clustering/8ad456f0-7f0d-40ee-8bd0-7b70b4a0c21c_origin.pdf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:83cdff279fb940cf78ab8a28913f0a122ff60c4addb098333c051a0c6bf79c0c
3
+ size 645248
2023/Commonsense Knowledge Graph Completion Via Contrastive Pretraining and Node Clustering/full.md ADDED
@@ -0,0 +1,433 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Commonsense Knowledge Graph Completion Via Contrastive Pretraining and Node Clustering
2
+
3
+ Siwei Wu, Xiangqing Shen, and Rui Xia*
4
+
5
+ School of Computer Science and Engineering, Nanjing University of Science and Technology, China {wusiwei, xiangqing.shen, rxia}@njust.edu.cn
6
+
7
+ # Abstract
8
+
9
+ The nodes in the commonsense knowledge graph (CSKG) are normally represented by free-form short text (e.g., word or phrase). Different nodes may represent the same concept. This leads to the problems of edge sparsity and node redundancy, which challenges CSKG representation and completion. On the one hand, edge sparsity limits the performance of graph representation learning; On the other hand, node redundancy makes different nodes corresponding to the same concept have inconsistent relations with other nodes. To address the two problems, we propose a new CSKG completion framework based on Contrastive Pretraining and Node Clustering (CPNC). Contrastive Pretraining constructs positive and negative head-tail node pairs on CSKG and utilizes contrastive learning to obtain better semantic node representation. Node Clustering aggregates nodes with the same concept into a latent concept, assisting the task of CSKG completion. We evaluate our CPNC approach on two CSKG completion benchmarks (CN-100K and ATOMIC), where CPNC outperforms the state-of-the-art methods. Extensive experiments demonstrate that both Contrastive Pretraining and Node Clustering can significantly improve the performance of CSKG completion. The source code of CPNC is publicly available on https://github.com/NUSTM/CPNC.
10
+
11
+ # 1 Introduction
12
+
13
+ Commonsense knowledge graphs (CSKG) have been widely used to build commonsense-grounded AI applications, such as question answering (Lv et al., 2020), visual question answering (Zhu et al., 2020), sentiment analysis (Li et al., 2022), dialogue system (Tu et al., 2022), etc. Commonsense knowledge graphs such as ConceptNet (Speer et al., 2017) and ATOMIC (Sap et al., 2019) provide a structured way of representing a commonsense concept, which consists of a head node, a tail node, and
14
+
15
+ ![](images/477f90750452fd158a58c16e870cff0691e813899b344b3a6b73d148925898f3.jpg)
16
+
17
+ ![](images/1fa42bc1f39770a20c77bd3edd2c2862265687be3fdb675ccadbdc2a71a03c16.jpg)
18
+ Figure 1: Illustration of a subgraph and the latent concept in ConceptNet. The nodes of the same color belong to the same latent concept.
19
+
20
+ the relation edge. Nodes in commonsense knowledge graphs are typically represented by free-form short text (word or phrase), resulting in many different nodes representing the same concept. Figure 1 shows a subgraph of ConceptNet, where nodes in the same color indicate the same concept. E.g., "have breakfast", "take breakfast" and "eat breakfast" all express the concept of "eat breakfast". This problem also results in a large number of missing edges between nodes, as illustrated by the dashed lines in Figure 1. E.g., "eat breakfast" and "prepare food" have a "HasPrerequisite" relation, but such relation is missing between "eat breakfast" and "cook food".
21
+
22
+ On the one hand, node redundancy in CSKG makes different nodes of the same concept have inconsistent relations with other nodes. In CSKG representation and completion, it would be beneficial to make use of the latent concept information behind different nodes to help learn more semantic-general representations. However, this intuition was ignored by most of the existing work in
23
+
24
+ CSKG completion. On the other hand, as analyzed by Malaviya et al. (2020), edge sparsity in CSKG limits information propagation in graph neural networks. Upon graph neural networks, researchers further incorporated pre-trained language model such as BERT to enhance the semantic representation of nodes (Malaviya et al., 2020; Ju et al., 2022; Wang et al., 2021). However, fine-tuning BERT is still imperfect in representing the commonsense knowledge graph, which is made up of linked nodes represented in a free-form short text.
25
+
26
+ To tackle the two issues, we propose a new CSKG completion framework based on the Encoder-Decoder architecture, which contains two core modules Contrastive Pretraining and Node Clustering (CPNC). Contrastive Pretraining is to alleviate the difficulty of node representation learning induced by edge sparsity. Through contrastive learning on positive and negative head-tail node pairs, the embedding distance between related nodes becomes closer, and that between unrelated nodes becomes farther so as to learn better node representations. Node Clustering aims to address the edge inconsistency issue caused by node redundancy. We cluster nodes with close semantic representations and take the mean vector as the latent concept representation for nodes in this cluster. To assist CSKG completion, the latent concept representation is fused with the node representation.
27
+
28
+ We evaluate our CPNC framework on two CSKG completion benchmarks, i.e., CN-100K and ATOMIC. The results show that our model outperforms the state-of-the-art models for this task significantly. Ablation studies demonstrate that both Contrastive Pretraining and Node Clustering modules can significantly improve the performance of CSKG completion. Further experiments verify that our model can consistently improve as the sparsity of knowledge graphs increases: the higher the sparsity, the more improvement our model achieves.
29
+
30
+ # 2 Related Work
31
+
32
+ We briefly review traditional knowledge graph completion, and then pay more attention to commonsense knowledge graph completion.
33
+
34
+ Traditional Knowledge Graph Completion Many knowledge graph completion methods have been proposed, which can be classified into three types: embedding-based completion methods, path-finding-based completion methods, and logical rule-based completion methods. The embedding-
35
+
36
+ based method learned the relation and node embedding by shortening the distance between the head-relation pair representation and the tail node representation, which had good scalability. Moreover, convolution has been proven to be an effective operation for acquiring the head-relation representation (Dettmers et al., 2018; Shang et al., 2019) in the embedding-based method. The path-based methods used the random walk inference based algorithm to find the related path. They achieved the prediction of missing tuples by comparing the related path with the relation to be predicted (Lao and Cohen, 2010; Khot et al., 2011). The rule-based methods utilized the induction rules to simplify the path-finding process in the knowledge graphs (Ren et al., 2020; Yang and Song, 2020). We refer the reader to (Ji et al., 2022) for more details about knowledge graph completion.
37
+
38
+ # Commonsense Knowledge Graph Completion
39
+
40
+ The existing methods assume specific relations, dense edges, and sufficient training samples in the knowledge graph. However, the sparsity of edges and the abstract nature of relations pose challenges for directly applying these methods to the CSKG.
41
+
42
+ Early methods in this field employed a strategy where, for a given head and tail, all relations were used to generate a large number of tuples. BiLSTMs and linear transformations were then utilized to score these tuples, allowing for the prediction of missing tuples in the CSKG (Saito et al., 2018; Li et al., 2016; Jastrzebski et al., 2018). Building upon this foundation, Shen et al. (2022) took a step further. They normalized the tail nodes and used RoBERTa to score these tuples. This approach resulted in the curation of Dense-ATOMIC, a CSKG with increased coverage and a richer set of multi-hop paths.
43
+
44
+ these methods did not take into account structural information and may suffer from computational inefficiency during inference. Another line of studies attempted to use the translated-based approach to reduce computational consumption (Malaviya et al., 2020; Ju et al., 2022; Wang et al., 2021). Furthermore, they incorporated GCN for extracting graph representations and fine-tuned BERT in the CSKG to obtain semantic representations. This integration capitalizes on the complementary nature of these two representations. In addition, these methods have applied convolutional layers to enhance the performance of CSKG completion. This further improves the effectiveness of the com
45
+
46
+ ![](images/3366c71a2d3c7a89e62ef37b89eada80383cdc3ece5460df6cd96e6ffd2b2603.jpg)
47
+ Figure 2: Overall architecture of CPNC. The Encoder is to get node embedding. Harnessing the power of GCN and Contractive Pretraining, the Encoder transforms CSKG into rich semantic and structural representations. In detail, the lower left section utilizes the mechanism of Contrastive Pretraining. Then, we describe the node clustering process in the lower right, driven by semantic representations from Contractive Pretraining. Finally, the fusion of semantic, structure, and latent concepts in the upper right yields node embeddings. The Decoder part is to rank the nodes in candidates set by Node Embedding.
48
+
49
+ pletion task. However, it was observed that simply fine-tuning BERT (Devlin et al., 2019) with pretraining tasks is hard to effectively capture the sentence-level semantic connection between two nodes. In response to this limitation, Su et al. (2022) proposed MICO, which learns distinct node representations for head nodes under varying relations, proving evidence that high-quality node representation can significantly aid CSKG completion. Moreover, different nodes in the CSKG may express the same concept. The node redundancy will bring difficulties to the commonsense inference on the CSKG (Jung et al., 2022), while the previous CSKG completion methods ignored.
50
+
51
+ Compared to these methods, we address the issue of node redundancy by employing a clustering algorithm. Our work stands out by learning the semantic representations of nodes through sentence-level semantic connections and integrating latent concept information into node representations.
52
+
53
+ # 3 Task Definition
54
+
55
+ Given a CSKG $G = (N, V, R)$ where $N$ is the set of nodes, $V$ is the set of edges and $R$ is the set of relations. We regard each tuple $v_{i} = (h, rel, t)$ in the CSKG as a sample, which is composed of head node $h$ , tail node $t$ and relation $rel$ , where $h, t \in N$ , $v_{i} \in V$ , and $rel \in R$ . Given a query $(h, rel)$ formed by a head node $h$ and a relation $rel$ , the target of the CSKG completion is to maximize the score of the tail node $t$ . Following the
56
+
57
+ previous work (Malaviya et al., 2020), for an edge $(h,rel,t)$ existing in the CSKG, we also add an inverse edge $(t,rel^{-1},h)$ to the graph, where $rel^{-1}$ is the inverse relation of rel.
58
+
59
+ # 4 Approach
60
+
61
+ In this paper, we propose a new framework, CPNC, for CSKG completion using an Encoder-Decoder architecture (see Figure 2). The Encoder incorporates semantic, graph structure, and latent concept representation obtained from Contrastive Pretraining, Graph Convolutional Network (GCN), and Node Clustering, respectively, to acquire node representations. Given query $(h,rel)$ , the Decoder ranks the nodes in the candidate set $N$ and finds tail nodes for the query by the rank.
62
+
63
+ # 4.1 Contrastive Pretraining
64
+
65
+ The current mainstream approach for completing CSKG utilizes translation-based methods and relies on GCN to represent the graph structure of nodes. Although GCNs are effective in modeling graph structure, they have limitations in capturing graph structure information in CSKG due to sparse edges. To address this issue, these methods incorporate semantic information by fine-tuning BERT on CSKG using Masked Language Model (MLM) and Next Sentence Prediction (NSP) tasks.
66
+
67
+ However, those methods are imperfect in modeling CSKGs composed of nodes presented as short text. MLM, which is a token-level task, focuses on
68
+
69
+ modeling the connection between masked words and other words, making it unsuitable for achieving sentence-level node representation. Similarly, NSP, while capable of modeling the semantic connection between two nodes at the sentence level, suffers from a mismatch between the input of the pretraining phase and the CSKG completion phase. During pretraining, NSP requires a pair of head and tail nodes for prediction, but during CSKG completion, only a single node is used for sentence representation. Consequently, NSP is not well-suited for the task of learning node representations, and similar observations have been made in the field of sentence representation learning (Li et al., 2020).
70
+
71
+ To obtain better node representations for the CSKG completion, we introduce Contrastive Pretraining (CP), a new method that sufficiently leverages semantic information at the sentence level. CP focuses on CSKG completion and differs from MICO (Su et al., 2022) by not incorporating relation categories. Instead, it fine-tunes BERT's node representation using contrastive learning and capture sentence-level connections between nodes.
72
+
73
+ # 4.1.1 Building Contrastive Learning Samples
74
+
75
+ Assuming node pairs linked in the CSKG are semantically related, we consider node pairs without a link in the CSKG as semantically unrelated.
76
+
77
+ For each arbitrary edge $(h,rel,t)$ in CSKG, we randomly sample a node $\bar{t}$ having no linking with the head node $h$ as its hard negative tail and construct a contrastive learning training sample $c = (h,t,\bar{t})$ . As shown in Figure 3, "take breakfast" and "cook food" are the head and tail nodes in a edge of CSKG. We randomly select a node "find information" having no linking with "take breakfast" to construct a training sample ("take breakfast", "cook food", "find information").
78
+
79
+ The previous methods primarily focused on the head nodes while constructing negative samples, neglecting the importance of capturing unrelated semantics among the tail node set. To tackle this problem, we additionally constructed a contrastive learning sample $c_{\text{reverse}} = (t, h, \overline{h})$ for the tail node $t$ in the edge $(h, \text{rel}, t)$ .
80
+
81
+ # 4.1.2 Multiple Negatives Ranking Loss
82
+
83
+ We employ BERT for node embedding by inputting all nodes in a batch separately and applying Mean Pooling on the final layer's output. Then, we use $x(n)$ to denote the representation of a specific node $n$ obtained through BERT.
84
+
85
+ ![](images/64cdbc3434e2f846addd358851f9d42c4924505760880259037f1f93c4b2929e.jpg)
86
+ Figure 3: Main process of building Constructive Pretraining samples.
87
+
88
+ In order to ensure that semantically related nodes are positioned closely in the embedding space, we utilize contrastive learning and employ the Multiple Negatives Ranking Loss for contrastive learning.
89
+
90
+ For a given sample $c_{i} = (h_{i}, t_{i}, \bar{t}_{i})$ in a batch, we employ the Multiple Negatives Ranking Loss. We consider $h_{i}$ paired with $t_{i}$ as the positive sample while treating $h_{i}$ paired with other tail nodes $t_{j}$ in the batch as negative samples. Additionally, we consider $h_{i}$ paired with all hard negative tails in the batch as negative samples as well. The objective is to minimize the semantic distance between the nodes in positive samples within the batch. The formulation of the multiple negatives ranking loss is as follows:
91
+
92
+ $$
93
+ L = - \sum_ {i = 1} ^ {M} \log \frac {e ^ {D \left(h _ {i} , t _ {i}\right))}}{\sum_ {j = 1} ^ {M} e ^ {D \left(h _ {i} , t _ {j}\right)} + e ^ {D \left(h _ {i} , \bar {t} _ {j}\right)}}, \tag {1}
94
+ $$
95
+
96
+ where $D(h,t) = (x(h)\cdot x(t)^T) / (\| x(h)\| \cdot \| x(t)\|)$ represents the cosine similarity of two nodes, $M$ is the number of samples in the a batch.
97
+
98
+ # 4.2 Encoder
99
+
100
+ The Encoder aims to generate node representations for CSKG completion, as illustrated in the left part of Figure 2.
101
+
102
+ The node representation comprises two components,
103
+
104
+ 1) the semantic representation matrix of nodes $E_{sem}$ obtained through Contrastive Pretraining:
105
+
106
+ $$
107
+ E _ {s e m} = \text {C o n t r a s t i v e - P r e t r a i n i n g} (N), \tag {2}
108
+ $$
109
+
110
+ 2) the graph structure representation matrix of nodes acquired using a Graph Convolutional Network (GCN),
111
+
112
+ $$
113
+ E _ {\text {g r a p h}} = \operatorname {G C N} (G). \tag {3}
114
+ $$
115
+
116
+ Specifically, $e_{sem}$ and $e_{graph}$ represent the semantic and graph representations of a particular node, respectively, which can be derived from $E_{sem}$ and $E_{graph}$ .
117
+
118
+ # 4.3 Node Clustering
119
+
120
+ On the basis of the semantic node representation $e_{sem}$ , we use the K-means algorithm to cluster all nodes $N$ in the graph as follows:
121
+
122
+ $$
123
+ \left\{\mathcal {C} _ {1}, \mathcal {C} _ {2}, \dots , \mathcal {C} _ {K} \right\} = \mathrm {K} - \text {m e a n s} (N), \tag {4}
124
+ $$
125
+
126
+ where $\mathcal{C}_i$ is the $i$ -th cluster, and $K$ represents the number of clusters. Nodes in $\mathcal{C}_i$ are considered to have the same latent concept. As shown in the Node Clustering part of Figure 2, "eat breakfast", "have breakfast" and "take breakfast" are in the same cluster and have the same latent concept.
127
+
128
+ We define the representation of the latent concept as the mean of semantic representation of all nodes in a cluster, denoted as $\mathrm{mean}(\mathcal{C}_k)$ , where $\mathcal{C}_k$ contains a set of nodes in the same cluster.
129
+
130
+ To acquire the final node representation, we combine the node semantic representation, $e_{sem}$ , the graph representation, $e_{graph}$ , and the latent concept representation, $\mathrm{mean}(\mathcal{C}_k)$ . This fusion is performed as follows:
131
+
132
+ $$
133
+ e = \left[ e _ {s e m}; e _ {g r a p h}; \operatorname {m e a n} \left(\mathcal {C} _ {k}\right) \right] \cdot W _ {\text {e m b e d d i n g}}, \tag {5}
134
+ $$
135
+
136
+ where $W_{embedding}$ is a weight matrix. The resulting node embeddings are considered as the node embedding space.
137
+
138
+ Intuitively, Node Clustering enhances CSKG completion by leveraging information from nodes within the same latent concept.
139
+
140
+ We also use a progressive masking process, following Malaviya et al. (2020), to integrate latent concept information. Initially, the latent concept representation is fully masked, and throughout the first 100 training epochs, it is gradually unmasked, improving the overall performance.
141
+
142
+ # 4.4 Decoder
143
+
144
+ The goal of Decoder is to rank the nodes in the candidate set, which is considered as $N$ in our work.
145
+
146
+ In order to obtain the query representation, we first use a convolutional layer to fuse the relation and head node representation:
147
+
148
+ $$
149
+ q = \operatorname {C o n v} \left(e _ {h}, e _ {r e l}\right), \tag {6}
150
+ $$
151
+
152
+ where $e_h$ is the representation of the head nodes in node embedding space obtained from Eq. 5, $e_{rel}$ is the representation of relation rel and Conv is a convolution operation.
153
+
154
+ Then, we predict a 0-1 distribution vector, based on the representation of the query $q$ , indicating the likelihood of each node in the candidate set $N$ becoming the tail node:
155
+
156
+ $$
157
+ p _ {t} = \delta \left(q W _ {\text {c o n v}} E _ {N}\right), \tag {7}
158
+ $$
159
+
160
+ where $W_{conv}$ is a weight matrix, $E_N$ is the representation matrix of candidate nodes in node embedding space obtained from Eq. 5, and $\delta$ is a sigmoid function.
161
+
162
+ # 5 Experiments
163
+
164
+ # 5.1 Experimental Setup
165
+
166
+ # 5.1.1 Datasets
167
+
168
+ We evaluate our CPNC framework on two CSKG completion benchmarks, i.e., CN-100K (Speer et al., 2017) and ATOMIC (Sap et al., 2019).
169
+
170
+ CN-100K is a dataset that encompasses general commonsense knowledge. This version contains 36 relation types and the Open Mind Common Sense (OMCS) entries from ConceptNet (Speer and Havasi, 2013). The average length of the nodes in CN-100K is 2.85 words. Following Malaviya et al. (2020)'s split, the training set contains 10,000 tuples, and the validation set and test set both contain 1200 tuples.
171
+
172
+ ATOMIC is an atlas of everyday commonsense reasoning and primarily focuses on event-level commonsense knowledge in the form of if-then relations. It comprises 9 relation types, with an average of 4.40 words per node. We split ATOMIC following Malaviya et al. (2020)'s work, where the training set consists of 610,536 tuples, while the validation and test sets contain 87,700 tuples and 87,701 tuples, respectively.
173
+
174
+ <table><tr><td colspan="2">Methods</td><td colspan="4">CN-100K</td><td colspan="4">ATOMIC</td></tr><tr><td>Type</td><td>Model</td><td>MRR</td><td>HITs@1</td><td>@3</td><td>@10</td><td>MRR</td><td>HITs@1</td><td>@3</td><td>@10</td></tr><tr><td rowspan="4">KG-adapted</td><td>DistMult</td><td>8.97</td><td>4.51</td><td>9.76</td><td>17.44</td><td>12.39</td><td>9.24</td><td>15.18</td><td>18.30</td></tr><tr><td>ComplEx</td><td>11.40</td><td>7.42</td><td>12.45</td><td>19.01</td><td>14.24</td><td>13.27</td><td>14.13</td><td>15.96</td></tr><tr><td>ConvE</td><td>20.88</td><td>13.97</td><td>22.91</td><td>34.02</td><td>10.07</td><td>8.24</td><td>10.29</td><td>13.37</td></tr><tr><td>ConvTransE</td><td>18.68</td><td>7.87</td><td>23.87</td><td>38.95</td><td>12.94</td><td>12.92</td><td>12.95</td><td>12.98</td></tr><tr><td rowspan="2">Generation-based</td><td>COMeT-Normalized</td><td>6.07</td><td>0.08</td><td>2.92</td><td>21.17</td><td>3.36</td><td>0.00</td><td>2.15</td><td>15.75</td></tr><tr><td>COMeT-Total</td><td>6.21</td><td>0.00</td><td>0.00</td><td>24.00</td><td>4.91</td><td>0.00</td><td>2.40</td><td>21.60</td></tr><tr><td rowspan="3">CSKG-dedicated</td><td>RGAT</td><td>43.97</td><td>30.75</td><td>51.54</td><td>69.34</td><td>-</td><td>-</td><td>-</td><td>-</td></tr><tr><td>SGBC</td><td>49.12*</td><td>37.71*</td><td>56.67*</td><td>71.29*</td><td>10.25*</td><td>8.72*</td><td>10.54*</td><td>13.26*</td></tr><tr><td>Inductive</td><td>56.92*</td><td>45.54*</td><td>63.38*</td><td>78.63*</td><td>13.19*</td><td>10.26*</td><td>13.61*</td><td>18.83*</td></tr><tr><td rowspan="2">Ours</td><td>CPNC-S</td><td>54.52</td><td>45.33</td><td>61.46</td><td>75.92</td><td>13.14</td><td>10.11</td><td>13.75</td><td>18.80</td></tr><tr><td>CPNC-I</td><td>59.00</td><td>48.29</td><td>65.04</td><td>79.13</td><td>14.38</td><td>10.53</td><td>15.22</td><td>21.79</td></tr></table>
175
+
176
+ Table 1: CSKG completion results on CN-100K and ATOMIC. The result of HITS@1 was not reported in Wang et al. (2021). To fairly compare our method with the previous method in the same setting, we rerun the code of InductivE and SGBC on ATOMIC and CN-100K and mark the results of rerun experiments with *. Those results are a little lower than that in the original paper. For KG-adapted and Generation methods, we reuse the results reported in Malaviya et al. (2020).
177
+
178
+ # 5.1.2 Evaluation Metric
179
+
180
+ We evaluate the performance of our method using MRR and HITS, following previous CSKG completion methods (Wang et al., 2021; Malaviya et al., 2020; Ju et al., 2022). The results are reported by averaging over both forward tuples $(h, rel, t)$ and inverse tuples $(t, rel^{-1}, h)$ . Moreover, because the nodes in CSKG are represented in free-form text, it is possible for nodes other than the golden tail nodes to be considered reasonable tail nodes. To address this, we conduct a human evaluation to assess the predictions made by our models.
181
+
182
+ # 5.1.3 Implementation Details
183
+
184
+ To perform Contrastive Pretraining, we use the contrastive learning framework provided in https://github.com/UKPLab/sentence-transformers. Our approach employs BERT-large as the base model, which contains 340M parameters. During training, we utilized a batch size of 128 and conducted training for 3 epochs on the CN-100K and ATOMIC datasets. We choose the Adam optimizer for optimization, setting the learning rate to 1e-4 for BERT-large and 5e-5 for the MLP. For the remaining hyperparameters, we used the default values provided by the framework.
185
+
186
+ For the CPNC-I and CPNC-S model, we use experimental settings proposed by Malaviya et al. (2020) and Wang et al. (2021), respectively. Both models are trained for a minimum of 200 epochs using BERT-large, which consists of 340M parameters, to encode semantic representations. During training, we evaluate the MRR on the development set every 10 epochs for CN-100K and ATOMIC. Training continues until no further improvement in
187
+
188
+ MRR is observed. We select the model checkpoint that achieves the highest MRR on the development set for testing.
189
+
190
+ # 5.2 Compared Systems
191
+
192
+ We compare our approach with nine baseline systems across three categories.
193
+
194
+ # 5.2.1 KG-adapted Methods
195
+
196
+ We adapt classic knowledge graph completion methods for CSKG completion. DistMult (Yang et al., 2015) employed a bi-linear product to calculate score of a tuple; ComplE (Trouillon et al., 2016) utilized imaginary number representation to effectively handle a large number of relations in the knowledge graph; ConvE (Dettmers et al., 2018) fused the representation of the source node and the relation through a 2D convolution layer to obtain the representation of query (h, rel); ConvTransE extended ConvE by incorporating the translational properties of TransE.
197
+
198
+ # 5.2.2 Generation-based Methods
199
+
200
+ COMeT (Bosselut et al., 2019) is a Transformer-based knowledge generation model. Following Malaviya et al. (2020), we adapt COMeT for the CSKG completion and only evaluate in the forward direction. Additionally, we also use their modifications to the ranking method used in COMeT. Specifically, COMET-Normalized and COMET-Total use the normalized negative log-likelihood scores and total log-likelihood scores, respectively, to rank nodes in the candidate set.
201
+
202
+ # 5.2.3 CSKG-dedicated Methods
203
+
204
+ SIM+GCN+BERT+ConvTransE (SGBC) densified the CSKG by connecting the synthetic edges between similar semantic nodes, improving the graph structure representation (Malaviya et al., 2020). Moreover, they used fine-tuned BERT to encode the semantic information of the nodes.
205
+
206
+ Inductive (Wang et al., 2021) is proposed to enhance the unseen entity representation with neighboring structural information by densifying Graph. Relational graph attention networks (RGAT) are proposed weighted the importance of neighbor nodes of each node to obtain a better node representation.
207
+
208
+ # 5.2.4 Our CPNC Methods
209
+
210
+ By incorporating CPNC with two CSKG-dedicated methods (SGBC and InductivE), we obtain two models, i.e., CPNC-S and CPNC-I.
211
+
212
+ # 5.3 Main Results
213
+
214
+ In Table 1, we report experimental results of KG-adapted methods, Generation methods, CSKG-dedicated methods and our methods on CN-100K and ATOMIC.
215
+
216
+ On CN-100K, both KG-adapted methods and Generation methods exhibit unsatisfactory performance, with MRR values below $21\%$ and HITS@1 values below $14\%$ . These results demonstrate that directly applying KG-adapted and Generation methods to CSKG completion is ineffective. In contrast, CSKG-dedicated methods achieve significantly better results on CN-100K, with MRR values above $43\%$ and HITS@1 values above $30\%$ . These metrics are twice as high as those obtained by KG-adapted and Generation methods, highlighting the advantage of CSKG-dedicated methods. Comparing our proposed CPNC-S and CPNC-I models with mainstream CSKG-dedicated methods (SGBC and Inductive), we observe performance improvements of $5.40\%$ and $2.08\%$ on MRR, respectively. Notably, our CPNC-I model sets a new state-of-the-art result on CN-100K.
217
+
218
+ On ATOMIC, we draw a similar conclusion. The KG-adapted methods exhibit poor performance, while CSKG-dedicated methods achieve better results. In addition, compared with the SGBC and Inductive models, our CPNC-S and CPNC-I models outperform the SGBC and Inductive models by $2.89\%$ and $1.19\%$ on MRR, respectively. And the CPNC-I model achieves the state-of-the-art result on ATOMIC.
219
+
220
+ We conduct Paired t-Test and the result proves that the improvement of CPNC is significant.
221
+
222
+ # 5.4 Ablation Study
223
+
224
+ <table><tr><td></td><td></td><td>MRR</td><td>HITS@10</td></tr><tr><td rowspan="8">CN-100K</td><td>CPNC-S</td><td>54.52</td><td>75.92</td></tr><tr><td>-w/o CP</td><td>51.90</td><td>76.08</td></tr><tr><td>-w/o NC</td><td>49.74</td><td>71.38</td></tr><tr><td>SGBC</td><td>49.12</td><td>71.29</td></tr><tr><td>CPNC-I</td><td>59.00</td><td>79.13</td></tr><tr><td>-w/o CP</td><td>57.16</td><td>74.90</td></tr><tr><td>-w/o NC</td><td>58.30</td><td>78.75</td></tr><tr><td>InductivE</td><td>56.92</td><td>78.63</td></tr><tr><td rowspan="8">ATOMIC</td><td>CPNC-S</td><td>13.14</td><td>18.80</td></tr><tr><td>-w/o CP</td><td>12.77</td><td>17.15</td></tr><tr><td>-w/o NC</td><td>12.46</td><td>17.72</td></tr><tr><td>SGBC</td><td>10.25</td><td>13.26</td></tr><tr><td>CPNC-I</td><td>14.38</td><td>21.79</td></tr><tr><td>-w/o CP</td><td>13.22</td><td>19.16</td></tr><tr><td>-w/o NC</td><td>14.21</td><td>21.38</td></tr><tr><td>InductivE</td><td>13.19</td><td>18.83</td></tr></table>
225
+
226
+ Table 2: MRR and HITS@10 of removing CP and NC from CPNC on CN-100K and ATOMIC.
227
+
228
+ To demonstrate the effectiveness of Contrastive Pretraining (CP) and Node Clustering (NC) on CSKG completion, we perform the ablation study where we removed CP and NC. The results are presented in Table 2.
229
+
230
+ When NC was removed, we can observe that the performance of both CPNC-S and CPNC-I decreases on CN-100K and ATOMIC. This indicates that NC's latent concept representation effectively assists CSKG completion. It is worth noting that CP can still bring improvement compared with the previous method, showing that the semantic representation provided by CP is crucial for CSKG completion.
231
+
232
+ CPNC, which combines NC and CP, consistently yields the highest result. By replacing CP with finetuned BERT (Malaviya et al., 2020), the performance of both CPNC-S and CPNC-I drops. However, they still achieve comparable results with the previous CSKG-dedicated methods. This demonstrates that the CP requires a high-quality semantic representation of nodes to acquire good latent concept representation.
233
+
234
+ # 5.5 Human Evaluation
235
+
236
+ For a given query $(h,rel)$ , additional nodes besides the golden tail node could also become reasonable tail nodes. For example, given a query “(do house-work, Causes)”, besides golden tail node “clean the house”, “house get clean” and “clean the room” are also reasonable tail nodes. However, automated
237
+
238
+ metrics fail to cover these nodes. To address this issue, we randomly select 200 queries from the test set of the CN-100K and ATOMIC. For each query, we use our methods and current mainstream methods to rank the nodes in the candidate set, We manually calculate the number of reasonable tail nodes in the top 10 candidates. The results are shown in Table 3.
239
+
240
+ <table><tr><td></td><td>ATOMIC</td><td>CN-100K</td></tr><tr><td>CPNC-I</td><td>70.22</td><td>83.20</td></tr><tr><td>Inductive</td><td>64.45</td><td>76.40</td></tr><tr><td>CPNC-S</td><td>60.23</td><td>69.40</td></tr><tr><td>SGBC</td><td>62.11</td><td>65.40</td></tr></table>
241
+
242
+ Table 3: Average percentage of reasonable tuples by human evaluation results.
243
+
244
+ Observing human evaluation results, the CPNC model has an excellent performance in CSKG completion. Besides, our method is significantly higher than the current mainstream methods under the human evaluation results, which further validates the effectiveness of our approach.
245
+
246
+ # 5.6 Model Adaptability
247
+
248
+ The CPNC can be effectively applied to various methods. In our experiment, we incorporate CPNC into SGBC and InductivE, resulting in significant improvements.
249
+
250
+ The SGBC method initializes the input of GCN randomly and combines graph structural representation acquired by GCN and semantic representation obtained by BERT as the node representation; InductiveE initializes the input of GCN with BERT and uses the output of GCN as the node representation. Despite the differences in their structures, both methods benefit from the application of CP and NC.
251
+
252
+ On CN-100K, CPNC-S and CPNC-I bring improvements of $5.40\%$ and $2.08\%$ in MRR, respectively; On ATOMIC, CPNC-S and CPNC-I yield MRR improvements of $2.89\%$ and $1.19\%$ , respectively. This result demonstrates the adaptability of our method.
253
+
254
+ # 5.7 Discussion on the Effect of Relieving Sparsity
255
+
256
+ To evaluate the effectiveness of CPNC in mitigating the impact of edge sparsity in the CSKG, we conducted a comparative study between CPNC-S and SGBC on CN-100K with varying sparsity levels. The removal of edges in the CSKG results in
257
+
258
+ increased sparsity, with a higher number of deleted edges corresponding to a higher sparsity degree.
259
+
260
+ ![](images/bd60b82d789d20f700afa3335a1117e68142408a574f2e866c234edb6a749002.jpg)
261
+ Figure 4: CSKG completion results of SGBC and CPNC-S on CN-100K with various degrees of sparsity.
262
+
263
+ As shown in Figure 4, when the sparsity degree increases, CSKG completion performance deteriorates. CPNC-S consistently outperforms SGBC in terms of MRR on CN-100K across different sparsity levels, indicating CPNC's ability to mitigate edge sparsity in the CSKG. CPNC-S achieves a $12.48\%$ and $3.95\%$ increase in MRR compared to SGBC at sparsity extents of $25\%$ and $50\%$ respectively. These results demonstrate that CPNC is more effective in alleviating edge sparsity in the CSKG, with greater improvements observed for sparser graphs.
264
+
265
+ # 5.8 Discussion on the Number of Latent Concepts
266
+
267
+ ![](images/38e969457fec383c734630948f379dee9ade0538ffd83ca7cec056cbce55514e.jpg)
268
+ Figure 5: CSKG completion performance with different cluster numbers on CN-100K and ATOMIC.
269
+
270
+ Different numbers of clusters can lead to varying levels of granularity in latent concepts, which in turn can impact the performance of CSKG completion. In order to investigate this, we conducted experiments with the different numbers of clusters
271
+
272
+ on CN-100K and ATOMIC datasets and present the results in Figure 5.
273
+
274
+ On CN-100K, we observed an overall increasing trend in completion results as the number of clusters increased. However, the rate of improvement tends to diminish after reaching 900 clusters. The maximum MRR achieved when using the number of clusters is 1200.
275
+
276
+ On ATOMIC, the MRR initially increases with an increasing number of clusters but starts to decline once the number of clusters reaches 900.
277
+
278
+ Based on our main results, we selected 1200 clusters for CN-100K and 900 clusters for ATOMIC, allowing us to effectively capture latent concepts through cluster nodes.
279
+
280
+ # 5.9 Discussing on Contrastive Learning Loss
281
+
282
+ In order to obtain a better semantic representation of nodes, we experiment with five kinds of contrastive learning methods and observe their performance in CSKG completion. The result is shown in Table 4.
283
+
284
+ <table><tr><td>Methods</td><td>MRR</td></tr><tr><td>Contrastive Loss</td><td>40.03</td></tr><tr><td>MTriplet Loss</td><td>44.36</td></tr><tr><td>MICO</td><td>45.93</td></tr><tr><td>Batch Semi Hard Triplet Loss</td><td>27.92</td></tr><tr><td>Multiple Negatives Ranking Loss</td><td>49.74</td></tr></table>
285
+
286
+ Table 4: CSKG completion performance of CPNC-S using different Contrastive Learning Loss on CN-100K.
287
+
288
+ In order to compare those contrastive learning methods, we use the node embedding obtained by those methods to complete CSKG without node clustering. Each contrastive learning method yields distinct results, and our main result selects Multiple Negatives Ranking Loss due to its highest MRR.
289
+
290
+ # 6 Conclusion
291
+
292
+ In this work, we propose a new CSKG completion framework CPNC to address issues arising from node redundancy and edge sparsity. CPNC obtains better semantic node information through Contrastive Pretraining, which alleviates the problems caused by edge sparsity. CPNC also utilizes the latent concept representation acquired through Node Clustering to alleviate the problem caused by node redundancy. On CN-100K and ATOMIC, experimental results and extensive analysis demonstrate the effectiveness of Contrastive Pretraining and Node Clustering.
293
+
294
+ # Limitations
295
+
296
+ Due to the limitation of time and resources, in this work, we select a relatively small number of clusters during the clustering process, which results in coarse-grained clustering. Fine-grained clustering can provide a better latent concept but will also lead to increased computational resources and time consumption. We will attempt to trade-off between the cost and the granularity of clustering in future work to further explore the impact of the latent concept on CSKG completion. Besides, our Node Clustering module is not integrated in an end-to-end manner in our work; We will consider using the topic neural network to construct an end-to-end model.
297
+
298
+ # Ethics Statement
299
+
300
+ We would like to thank Malaviya et al. (2020) and Wang et al. (2021) for their code on commonsense knowledge graph completion. Their models are licensed under MIT, which allows copying, modifying, merging, publishing, and distributing of the material.
301
+
302
+ In the stage of human evaluation, we employed three graduate students experienced in natural language processing for human evaluation. We paid the graduate students about \(8 per hour, well above the local average wage, and engaged in constructive discussions if they had concerns about the process.
303
+
304
+ # Acknowledgements
305
+
306
+ This work was supported by the Natural Science Foundation of China (No. 62076133), and the Natural Science Foundation of Jiangsu Province for Distinguished Young Scholars (No. BK20200018).
307
+
308
+ # References
309
+
310
+ Antoine Bosselut, Hannah Rashkin, Maarten Sap, Chaitanya Malaviya, Asli Celikyilmaz, and Yejin Choi. 2019. COMET: commonsense transformers for automatic knowledge graph construction. 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 4762-4779. Association for Computational Linguistics.
311
+ Tim Dettmers, Pasquale Minervini, Pontus Stenetorp, and Sebastian Riedel. 2018. Convolutional 2d knowledge graph embeddings. In Proceedings of the Thirty-Second AAAI Conference on Artificial Intelligence,
312
+
313
+ (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 1811-1818. AAAI Press.
314
+ 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.
315
+ Stanislaw Jastrzebski, Dzmitry Bahdanau, Seyedarian Hosseini, Michael Noukhovitch, Yoshua Bengio, and Jackie Chi Kit Cheung. 2018. Commonsense mining as knowledge base completion? A study on the impact of novelty. CoRR, abs/1804.09259.
316
+ Shaoxiong Ji, Shirui Pan, Erik Cambria, Pekka Martinen, and Philip S. Yu. 2022. A survey on knowledge graphs: Representation, acquisition, and applications. IEEE Trans. Neural Networks Learn. Syst., 33(2):494-514.
317
+ Jinhao Ju, Deqing Yang, and Jingping Liu. 2022. Commonsense knowledge base completion with relational graph attention network and pre-trained language model. In Proceedings of the 31st ACM International Conference on Information & Knowledge Management, Atlanta, GA, USA, October 17-21, 2022, pages 4104-4108. ACM.
318
+ Yong-Ho Jung, Jun-Hyung Park, Joon-Young Choi, Mingyu Lee, Junho Kim, Kang-Min Kim, and SangKeun Lee. 2022. Learning from missing relations: Contrastive learning with commonsense knowledge graphs for commonsense inference. In *Findings of the Association for Computational Linguistics: ACL* 2022, Dublin, Ireland, May 22-27, 2022, pages 1514-1523. Association for Computational Linguistics.
319
+ Tushar Khot, Sriraam Natarajan, Kristian Kersting, and Jude W. Shavlik. 2011. Learning markov logic networks via functional gradient boosting. In 11th IEEE International Conference on Data Mining, ICDM 2011, Vancouver, BC, Canada, December 11-14, 2011, pages 320-329. IEEE Computer Society.
320
+ Ni Lao and William W. Cohen. 2010. Relational retrieval using a combination of path-constrained random walks. Mach. Learn., 81(1):53-67.
321
+ Bohan Li, Hao Zhou, Junxian He, Mingxuan Wang, Yiming Yang, and Lei Li. 2020. On the sentence embeddings from pre-trained language models. In Proceedings of the 2020 Conference on Empirical Methods in Natural Language Processing, EMNLP 2020, Online, November 16-20, 2020, pages 9119-9130. Association for Computational Linguistics.
322
+
323
+ Jiangnan Li, Fandong Meng, Zheng Lin, Rui Liu, Peng Fu, Yanan Cao, Weiping Wang, and Jie Zhou. 2022. Neutral utterances are also causes: Enhancing conversational causal emotion entailment with social commonsense knowledge. In Proceedings of the Thirty-First International Joint Conference on Artificial Intelligence, IJCAI 2022, Vienna, Austria, 23-29 July 2022, pages 4209-4215. ijcai.org.
324
+ Xiang Li, Aynaz Taheri, Lifu Tu, and Kevin Gimpel. 2016. Commonsense knowledge base completion. In Proceedings of the 54th Annual Meeting of the Association for Computational Linguistics, ACL 2016, August 7-12, 2016, Berlin, Germany, Volume 1: Long Papers. The Association for Computer Linguistics.
325
+ Shangwen Lv, Daya Guo, Jingjing Xu, Duyu Tang, Nan Duan, Ming Gong, Linjun Shou, Daxin Jiang, Guihong Cao, and Songlin Hu. 2020. Graph-based reasoning over heterogeneous external knowledge for commonsense question answering. In The Thirty-Fourth AAAI Conference on Artificial Intelligence, AAAI 2020, The Thirty-Second Innovative Applications of Artificial Intelligence Conference, IAAI 2020, The Tenth AAAI Symposium on Educational Advances in Artificial Intelligence, EAAI 2020, New York, NY, USA, February 7-12, 2020, pages 8449-8456. AAAI Press.
326
+ Chaitanya Malaviya, Chandra Bhagavatula, Antoine Bosselut, and Yejin Choi. 2020. Commonsense knowledge base completion with structural and semantic context. In The Thirty-Fourth AAAI Conference on Artificial Intelligence, AAAI 2020, The Thirty-Second Innovative Applications of Artificial Intelligence Conference, IAAI 2020, The Tenth AAAI Symposium on Educational Advances in Artificial Intelligence, EAAI 2020, New York, NY, USA, February 7-12, 2020, pages 2925-2933. AAAI Press.
327
+ Hongyu Ren, Weihua Hu, and Jure Leskovec. 2020. Query2box: Reasoning over knowledge graphs in vector space using box embeddings. In 8th International Conference on Learning Representations, ICLR 2020, Addis Ababa, Ethiopia, April 26-30, 2020. OpenReview.net.
328
+ Itsumi Saito, Kyosuke Nishida, Hisako Asano, and Junji Tomita. 2018. Commonsense knowledge base completion and generation. In Proceedings of the 22nd Conference on Computational Natural Language Learning, CoNLL 2018, Brussels, Belgium, October 31 - November 1, 2018, pages 141-150. Association for Computational Linguistics.
329
+ Maarten Sap, Ronan Le Bras, Emily Allaway, Chandra Bhagavatula, Nicholas Lourie, Hannah Rashkin, Brendan Roof, Noah A. Smith, and Yejin Choi. 2019. ATOMIC: an atlas of machine commonsense for if-then reasoning. 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,
330
+
331
+ January 27 - February 1, 2019, pages 3027-3035. AAAI Press.
332
+ Chao Shang, Yun Tang, Jing Huang, Jinbo Bi, Xiaodong He, and Bowen Zhou. 2019. End-to-end structure-aware convolutional networks for knowledge base completion. 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 3060-3067. AAAI Press.
333
+ Xiangqing Shen, Siwei Wu, and Rui Xia. 2022. Dense-atomic: Construction of densely-connected and multihop commonsense knowledge graph upon ATOMIC. CoRR, abs/2210.07621.
334
+ Robyn Speer, Joshua Chin, and Catherine Havasi. 2017. Conceptnet 5.5: An open multilingual graph of general knowledge. In Proceedings of the Thirty-First AAAI Conference on Artificial Intelligence, February 4-9, 2017, San Francisco, California, USA, pages 4444-4451. AAAI Press.
335
+ Robyn Speer and Catherine Havasi. 2013. Conceptnet 5: A large semantic network for relational knowledge. In Iryna Gurevych and Jungi Kim, editors, The People's Web Meets NLP, Collaboratively Constructed Language Resources, Theory and Applications of Natural Language Processing, pages 161-176. Springer.
336
+ Ying Su, Zihao Wang, Tianqing Fang, Hongming Zhang, Yangqiu Song, and Tong Zhang. 2022. MICO: A multi-alternative contrastive learning framework for commonsense knowledge representation. CoRR, abs/2210.07570.
337
+ Théo Trouillon, Johannes Welbl, Sebastian Riedel, Éric Gaussier, and Guillaume Bouchard. 2016. Complex embeddings for simple link prediction. In Proceedings of the 33nd International Conference on Machine Learning, ICML 2016, New York City, NY, USA, June 19-24, 2016, volume 48 of JMLR Workshop and Conference Proceedings, pages 2071-2080. JMLR.org.
338
+ Quan Tu, Yanran Li, Jianwei Cui, Bin Wang, Ji-Rong Wen, and Rui Yan. 2022. MISC: A mixed strategy-aware model integrating COMET for emotional support conversation. 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 308-319. Association for Computational Linguistics.
339
+ Bin Wang, Guangtao Wang, Jing Huang, Jiaxuan You, Jure Leskovec, and C.-C. Jay Kuo. 2021. Inductive learning on commonsense knowledge graph completion. In International Joint Conference on Neural Networks, IJCNN 2021, Shenzhen, China, July 18-22, 2021, pages 1-8. IEEE.
340
+
341
+ Bishan Yang, Wen-tau Yih, Xiaodong He, Jianfeng Gao, and Li Deng. 2015. Embedding entities and relations for learning and inference in knowledge bases. In 3rd International Conference on Learning Representations, ICLR 2015, San Diego, CA, USA, May 7-9, 2015, Conference Track Proceedings.
342
+ Yuan Yang and Le Song. 2020. Learn to explain efficiently via neural logic inductive learning. In 8th International Conference on Learning Representations, ICLR 2020, Addis Ababa, Ethiopia, April 26-30, 2020. OpenReview.net.
343
+ Zihao Zhu, Jing Yu, Yujing Wang, Yajing Sun, Yue Hu, and Qi Wu. 2020. Mucko: Multi-layer cross-modal knowledge reasoning for fact-based visual question answering. In Proceedings of the Twenty-Ninth International Joint Conference on Artificial Intelligence, IJCAI 2020, pages 1097-1103. ijcai.org.
344
+
345
+ A For every submission:
346
+
347
+ A1. Did you describe the limitations of your work?
348
+
349
+ Limitations section
350
+
351
+ A2. Did you discuss any potential risks of your work?
352
+
353
+ Not applicable. Left blank.
354
+
355
+ A3. Do the abstract and introduction summarize the paper's main claims?
356
+
357
+ Abstract section and section 1 Introduction
358
+
359
+ A4. Have you used AI writing assistants when working on this paper?
360
+
361
+ Left blank.
362
+
363
+ B Did you use or create scientific artifacts?
364
+
365
+ Section 5.1.3 Implementation Details
366
+
367
+ B1. Did you cite the creators of artifacts you used?
368
+
369
+ Section 5.1.3 Implementation Details
370
+
371
+ B2. Did you discuss the license or terms for use and / or distribution of any artifacts?
372
+
373
+ Ethics Statement Section
374
+
375
+ B3. Did you discuss if your use of existing artifact(s) was consistent with their intended use, provided that it was specified? For the artifacts you create, do you specify intended use and whether that is compatible with the original access conditions (in particular, derivatives of data accessed for research purposes should not be used outside of research contexts)?
376
+
377
+ Section 5.1.3 Implementation Details
378
+
379
+ B4. Did you discuss the steps taken to check whether the data that was collected / used contains any information that names or uniquely identifies individual people or offensive content, and the steps taken to protect / anonymize it?
380
+
381
+ We use publically available datasets, and the authors of the dataset have made the corresponding declaration.
382
+
383
+ B5. Did you provide documentation of the artifacts, e.g., coverage of domains, languages, and linguistic phenomena, demographic groups represented, etc.?
384
+
385
+ We will provide those data after the review process.
386
+
387
+ B6. Did you report relevant statistics like the number of examples, details of train / test / dev splits, etc. for the data that you used / created? Even for commonly-used benchmark datasets, include the number of examples in train / validation / test splits, as these provide necessary context for a reader to understand experimental results. For example, small differences in accuracy on large test sets may be significant, while on small test sets they may not be.
388
+
389
+ 5.1.1 section Datasets
390
+
391
+ C Did you run computational experiments?
392
+
393
+ 5.1.3 section Implementation Details
394
+
395
+ C1. Did you report the number of parameters in the models used, the total computational budget (e.g., GPU hours), and computing infrastructure used?
396
+
397
+ Section 5.1.3 Implementation Details
398
+
399
+ C2. Did you discuss the experimental setup, including hyperparameter search and best-found hyperparameter values?
400
+
401
+ Section 5.1.3 Implementation Details
402
+
403
+ C3. Did you report descriptive statistics about your results (e.g., error bars around results, summary statistics from sets of experiments), and is it transparent whether you are reporting the max, mean, etc. or just a single run?
404
+
405
+ 5.3 Main Results
406
+
407
+ C4. If you used existing packages (e.g., for preprocessing, for normalization, or for evaluation), did you report the implementation, model, and parameter settings used (e.g., NLTK, Spacy, ROUGE, etc.)?
408
+
409
+ Section 5.1.3 Implementation Details
410
+
411
+ D Did you use human annotators (e.g., crowdworkers) or research with human participants?
412
+
413
+ 3
414
+
415
+ D1. Did you report the full text of instructions given to participants, including e.g., screenshots, disclaimers of any risks to participants or annotators, etc.?
416
+
417
+ We perform simple human annotation and evaluation, there is no need of providing the full text.
418
+
419
+ D2. Did you report information about how you recruited (e.g., crowdsourcing platform, students) and paid participants, and discuss if such payment is adequate given the participants' demographic (e.g., country of residence)?
420
+
421
+ Ethics Statement section
422
+
423
+ D3. Did you discuss whether and how consent was obtained from people whose data you're using/curating? For example, if you collected data via crowdsourcing, did your instructions to crowdworkers explain how the data would be used?
424
+
425
+ Left blank.
426
+
427
+ D4. Was the data collection protocol approved (or determined exempt) by an ethics review board?
428
+
429
+ Not applicable. Left blank.
430
+
431
+ D5. Did you report the basic demographic and geographic characteristics of the annotator population that is the source of the data?
432
+
433
+ Ethics Statement section
2023/Commonsense Knowledge Graph Completion Via Contrastive Pretraining and Node Clustering/images.zip ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:02a4ee15955e91dd34ae6c358017cafa7a23bae442fda61cc58ff63c78ffb33c
3
+ size 435678
2023/Commonsense Knowledge Graph Completion Via Contrastive Pretraining and Node Clustering/layout.json ADDED
The diff for this file is too large to render. See raw diff
 
2023/Commonsense Knowledge Transfer for Pre-trained Language Models/f96ae55a-934d-4cd1-b9c6-f4ed8849b12f_content_list.json ADDED
@@ -0,0 +1,1784 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [
2
+ {
3
+ "type": "text",
4
+ "text": "Commonsense Knowledge Transfer for Pre-trained Language Models",
5
+ "text_level": 1,
6
+ "bbox": [
7
+ 139,
8
+ 89,
9
+ 860,
10
+ 111
11
+ ],
12
+ "page_idx": 0
13
+ },
14
+ {
15
+ "type": "text",
16
+ "text": "Wangchunshu Zhou*¹ Ronan Le Bras² Yejin Choi²³",
17
+ "bbox": [
18
+ 231,
19
+ 129,
20
+ 771,
21
+ 148
22
+ ],
23
+ "page_idx": 0
24
+ },
25
+ {
26
+ "type": "text",
27
+ "text": "$^{1}$ ETH Zurich",
28
+ "bbox": [
29
+ 447,
30
+ 148,
31
+ 557,
32
+ 162
33
+ ],
34
+ "page_idx": 0
35
+ },
36
+ {
37
+ "type": "text",
38
+ "text": "2Allen Institute for AI",
39
+ "bbox": [
40
+ 400,
41
+ 164,
42
+ 583,
43
+ 179
44
+ ],
45
+ "page_idx": 0
46
+ },
47
+ {
48
+ "type": "text",
49
+ "text": "<sup>3</sup>Paul G. Allen School of Computer Science & Engineering, University of Washington wangchunshu.zhou@inf.ethz.ch",
50
+ "bbox": [
51
+ 151,
52
+ 180,
53
+ 850,
54
+ 215
55
+ ],
56
+ "page_idx": 0
57
+ },
58
+ {
59
+ "type": "text",
60
+ "text": "Abstract",
61
+ "text_level": 1,
62
+ "bbox": [
63
+ 260,
64
+ 252,
65
+ 342,
66
+ 268
67
+ ],
68
+ "page_idx": 0
69
+ },
70
+ {
71
+ "type": "text",
72
+ "text": "Despite serving as the foundation models for a wide range of NLP benchmarks, pre-trained language models have shown limited capabilities of acquiring implicit commonsense knowledge from self-supervision alone, compared to learning linguistic and factual knowledge that appear more explicitly in the surface patterns in text.",
73
+ "bbox": [
74
+ 141,
75
+ 279,
76
+ 460,
77
+ 394
78
+ ],
79
+ "page_idx": 0
80
+ },
81
+ {
82
+ "type": "text",
83
+ "text": "In this work, we introduce commonsense knowledge transfer, a framework to transfer the commonsense knowledge stored in a neural commonsense knowledge model to a general-purpose pre-trained language model. It first exploits general texts to form queries for extracting commonsense knowledge from the neural commonsense knowledge model and then refines the language model with two self-supervised objectives: commonsense mask infilling and commonsense relation prediction, which align human language with the underlying commonsense knowledge.",
84
+ "bbox": [
85
+ 139,
86
+ 398,
87
+ 460,
88
+ 583
89
+ ],
90
+ "page_idx": 0
91
+ },
92
+ {
93
+ "type": "text",
94
+ "text": "Empirical results show that our approach consistently improves the model's performance on downstream tasks that require commonsense reasoning. Moreover, we find that the improvement is more significant in the few-shot setting. This suggests that our approach helps language models better transfer to downstream tasks without extensive supervision by injecting commonsense knowledge into their parameters.",
95
+ "bbox": [
96
+ 141,
97
+ 588,
98
+ 460,
99
+ 731
100
+ ],
101
+ "page_idx": 0
102
+ },
103
+ {
104
+ "type": "text",
105
+ "text": "1 Introduction",
106
+ "text_level": 1,
107
+ "bbox": [
108
+ 114,
109
+ 743,
110
+ 260,
111
+ 758
112
+ ],
113
+ "page_idx": 0
114
+ },
115
+ {
116
+ "type": "text",
117
+ "text": "Recent advances in pre-trained language models have transformed the landscape of natural language processing. Self-supervised pre-training objectives including masked language modeling (Devlin et al., 2019) and masked span infilling (Lewis et al., 2020) enable pre-trained models to acquire linguistic (Hewitt and Manning, 2019; Manning et al., 2020) and",
118
+ "bbox": [
119
+ 112,
120
+ 769,
121
+ 490,
122
+ 881
123
+ ],
124
+ "page_idx": 0
125
+ },
126
+ {
127
+ "type": "image",
128
+ "img_path": "images/1832410ace14b469811e8e90ee7af2805ccfeacefbfaf920aef3a7e20737e420.jpg",
129
+ "image_caption": [
130
+ "Figure 1: Illustration of the commonsense knowledge transfer framework. We first extract commonsense knowledge related to sentences in general text corpus from a neural commonsense knowledge model. We then use natural texts and the extracted commonsense knowledge to form self-supervised training data to refine a pre-trained model with commonsense knowledge."
131
+ ],
132
+ "image_footnote": [],
133
+ "bbox": [
134
+ 512,
135
+ 250,
136
+ 878,
137
+ 411
138
+ ],
139
+ "page_idx": 0
140
+ },
141
+ {
142
+ "type": "text",
143
+ "text": "factual knowledge (Petroni et al., 2019) by modeling the distribution of naturally occurring texts. However, most of these objectives are limited to exploiting the surface form of human language, and the lack of grounded supervision calls into question how well these representations can ever capture meaning (Bender and Koller, 2020), not to mention the underlying commonsense knowledge which is often reasoned implicitly and does not appear in the surface form of human language (Merrill et al., 2021; Zhou et al., 2020a; Hwang et al., 2021). On the other hand, commonsense reasoning is important for building generalizable models because it enables the model to reason about a great number of events, causes, and effects, while observing only a small fraction of them. The ineffectiveness of self-supervised language model pre-training on acquiring commonsense knowledge makes them require a relatively large number of labeled examples to succeed in a downstream task and prune to overfit task-specific correlations (Tu et al., 2020).",
144
+ "bbox": [
145
+ 507,
146
+ 546,
147
+ 884,
148
+ 885
149
+ ],
150
+ "page_idx": 0
151
+ },
152
+ {
153
+ "type": "text",
154
+ "text": "Therefore, equipping pre-trained language models with commonsense reasoning ability has at",
155
+ "bbox": [
156
+ 507,
157
+ 887,
158
+ 884,
159
+ 919
160
+ ],
161
+ "page_idx": 0
162
+ },
163
+ {
164
+ "type": "page_footnote",
165
+ "text": "*Work done while interning at the Allen Institute for AI",
166
+ "bbox": [
167
+ 147,
168
+ 903,
169
+ 487,
170
+ 917
171
+ ],
172
+ "page_idx": 0
173
+ },
174
+ {
175
+ "type": "page_number",
176
+ "text": "5946",
177
+ "bbox": [
178
+ 480,
179
+ 927,
180
+ 521,
181
+ 940
182
+ ],
183
+ "page_idx": 0
184
+ },
185
+ {
186
+ "type": "footer",
187
+ "text": "Findings of the Association for Computational Linguistics: ACL 2023, pages 5946-5960",
188
+ "bbox": [
189
+ 228,
190
+ 945,
191
+ 768,
192
+ 958
193
+ ],
194
+ "page_idx": 0
195
+ },
196
+ {
197
+ "type": "footer",
198
+ "text": "July 9-14, 2023 ©2023 Association for Computational Linguistics",
199
+ "bbox": [
200
+ 295,
201
+ 959,
202
+ 700,
203
+ 971
204
+ ],
205
+ "page_idx": 0
206
+ },
207
+ {
208
+ "type": "text",
209
+ "text": "tracted much attention. To this end, two distinct lines of research focus on improving commonsense reasoning ability of pre-trained language models. The first one focuses on incorporating external commonsense knowledge graph for commonsense reasoning (Lin et al., 2019; Liu et al., 2021; Cui and Chen, 2021) while the other attempts to inject commonsense knowledge into the parameters of pretrained models (Li et al., 2019; Zhou et al., 2021; Klein and Nabi, 2021). In this work we focus on the second type of method because it alleviates the need for external knowledge bases for training and inference on downstream tasks, thus simpler, more efficient, and not limited by the coverage issue of external knowledge bases.",
210
+ "bbox": [
211
+ 115,
212
+ 84,
213
+ 485,
214
+ 324
215
+ ],
216
+ "page_idx": 1
217
+ },
218
+ {
219
+ "type": "text",
220
+ "text": "Prior work injects commonsense knowledge into pre-trained models either on symbolic commonsense knowledge graphs with manually defined rules (Li et al., 2019) or masked language modeling (Hosseini et al., 2021) or on general text corpus with concept-centric self-supervised objectives (Zhou et al., 2021). The former method is limited by the coverage of knowledge graphs and human-written rules. It also fails to make use of large-scale diverse natural text corpus. Therefore, the training is limited to short and synthetic commonsense tuples, which affects its generalization ability on diverse downstream tasks. The latter method, however, only captures surface-level order relations between concepts and fails to learn commonsense relations between concepts such as cause, effect, intent, requirement, etc., which are crucial for commonsense reasoning but often implicitly reasoned, thus do not appear in the surface form of natural language.",
221
+ "bbox": [
222
+ 115,
223
+ 330,
224
+ 485,
225
+ 651
226
+ ],
227
+ "page_idx": 1
228
+ },
229
+ {
230
+ "type": "text",
231
+ "text": "In this work, we propose commonsense knowledge transfer, an alternative framework to refine a general purpose pre-trained model's commonsense reasoning ability. In contrast to previous work, it aims to transfer the commonsense knowledge stored in a neural commonsense knowledge model (e.g., COMET (Bosselut et al., 2019)) to a general purpose pre-trained model on large scale general text corpus. In this way, our approach combines the best of both worlds from prior art: the dense and informative commonsense knowledge from commonsense knowledge graphs and the accessibility of large-scale diverse general corpus.",
232
+ "bbox": [
233
+ 115,
234
+ 657,
235
+ 485,
236
+ 865
237
+ ],
238
+ "page_idx": 1
239
+ },
240
+ {
241
+ "type": "text",
242
+ "text": "Commonsense knowledge transfer is conceptually related to knowledge distillation (KD) (Hinton et al., 2015) since they both aim to trans",
243
+ "bbox": [
244
+ 115,
245
+ 871,
246
+ 485,
247
+ 917
248
+ ],
249
+ "page_idx": 1
250
+ },
251
+ {
252
+ "type": "text",
253
+ "text": "fer knowledge from a knowledge-rich model to another model that lacks it. However, different from conventional KD, in commonsense knowledge transfer, the source model (i.e., neural commonsense model) and the target model (i.e., pretrained model) are heterogeneous. Moreover, instead of simply mimicking the teacher model, commonsense knowledge transfer requires the target model to learn specialized knowledge from the source model while retaining its own capability. This poses unique challenges since the knowledge transfer can not be accomplished by simply matching the logits or feature distribution between the student and the teacher. To this end, we propose to first extract commonsense knowledge in textual form from the source model and then exploit the extracted knowledge to form self-supervised training data for the target model. As illustrated in Figure 1, commonsense knowledge transfer first exploits general texts to form queries for retrieving commonsense knowledge from the neural commonsense knowledge model. Then it refines a pretrained model with two self-supervised objectives that align the surface form of human language with its underlying commonsense inference: commonsense text infilling and commonsense relation prediction. The former objective concatenates natural text with its commonsense inference to form an input example, masks certain spans in it, and trains the model to reconstruct the original input. The latter method instead trains the model to distinguish valid commonsense inference from carefully constructed spurious commonsense inference given the original text and commonsense relation. Refining a pre-trained model by multi-tasking on both generation (former) and understanding (latter) tasks enables the model to better adapt to different kinds of downstream tasks.",
254
+ "bbox": [
255
+ 510,
256
+ 84,
257
+ 882,
258
+ 694
259
+ ],
260
+ "page_idx": 1
261
+ },
262
+ {
263
+ "type": "text",
264
+ "text": "We refine T5 (Raffel et al., 2020) with commonsense knowledge transfer and fine-tune the resulting model downstream tasks requiring commonsense reasoning ability in both the fully supervised setting and few-shot settings where only a percentage of labeled examples are available. Experimental results show substantial improvements in downstream tasks requiring commonsense reasoning, especially in the few-shot setting, demonstrating the effectiveness of our approach.",
265
+ "bbox": [
266
+ 512,
267
+ 758,
268
+ 882,
269
+ 917
270
+ ],
271
+ "page_idx": 1
272
+ },
273
+ {
274
+ "type": "page_number",
275
+ "text": "5947",
276
+ "bbox": [
277
+ 482,
278
+ 928,
279
+ 517,
280
+ 939
281
+ ],
282
+ "page_idx": 1
283
+ },
284
+ {
285
+ "type": "text",
286
+ "text": "2 Methodology",
287
+ "text_level": 1,
288
+ "bbox": [
289
+ 114,
290
+ 84,
291
+ 263,
292
+ 99
293
+ ],
294
+ "page_idx": 2
295
+ },
296
+ {
297
+ "type": "text",
298
+ "text": "Our proposed commonsense knowledge transfer framework consists of a neural commonsense knowledge model (e.g., COMET) and a pre-trained model (e.g., T5). The goal of commonsense knowledge transfer is to transfer the commonsense knowledge from the neural commonsense knowledge model (i.e., source model) to the pre-trained model (i.e., target model) so that it can generalize better to downstream tasks requiring commonsense reasoning ability.",
299
+ "bbox": [
300
+ 112,
301
+ 111,
302
+ 489,
303
+ 271
304
+ ],
305
+ "page_idx": 2
306
+ },
307
+ {
308
+ "type": "text",
309
+ "text": "Compared to conventional knowledge transfer methods such as knowledge distillation, commonsense knowledge transfer faces a unique challenge: the source model and the target model are heterogeneous because they are trained on different data with different objectives. As such, we can not simply feed a batch of data to both of the models and train the target model to match the source model's logits or feature distribution. To alleviate this problem, we propose a two-stage knowledge transfer scheme as illustrated in Figure 1. To be specific, we first use natural texts to form queries for retrieving commonsense knowledge (in text form) from the neural commonsense knowledge model. We then construct training data with two novel commonsense-related self-supervised objectives based on the retrieved commonsense knowledge and the corresponding natural text. Finally, we train the target model on the constructed training data to inject commonsense knowledge retrieved from the source model. We describe our method to extract commonsense knowledge from a neural commonsense knowledge model and the proposed commonsense-related self-supervised objectives in detail in this section.",
310
+ "bbox": [
311
+ 115,
312
+ 273,
313
+ 489,
314
+ 674
315
+ ],
316
+ "page_idx": 2
317
+ },
318
+ {
319
+ "type": "text",
320
+ "text": "2.1 Commonsense Knowledge Extraction",
321
+ "text_level": 1,
322
+ "bbox": [
323
+ 112,
324
+ 688,
325
+ 453,
326
+ 703
327
+ ],
328
+ "page_idx": 2
329
+ },
330
+ {
331
+ "type": "text",
332
+ "text": "We first describe the source model, i.e., neural commonsense knowledge model, in the commonsense knowledge transfer framework. It is a transformer (Vaswani et al., 2017) language model trained on commonsense knowledge graphs like ATOMIC (Sap et al., 2019a) and ConceptNet (Speer et al., 2017) with the objective of predicting the object (i.e., commonsense inference) with the subject (i.e., natural text) and relation as input. For example, given a commonsense tuple (s=\"take a nap\", r=Causes, o=\"have energy\"), the neural commonsense knowledge model is trained to generate $o$ given $s$ and $r$ as inputs. After training, it can gen",
333
+ "bbox": [
334
+ 112,
335
+ 709,
336
+ 489,
337
+ 919
338
+ ],
339
+ "page_idx": 2
340
+ },
341
+ {
342
+ "type": "text",
343
+ "text": "erate accurate, representative knowledge for new, unseen entities and events.",
344
+ "bbox": [
345
+ 507,
346
+ 84,
347
+ 882,
348
+ 115
349
+ ],
350
+ "page_idx": 2
351
+ },
352
+ {
353
+ "type": "text",
354
+ "text": "To extract commonsense knowledge stored in a neural commonsense knowledge model, we use a natural sentence as the subject $s$ (e.g., he wants to cook a meal) and concatenate it with a randomly selected commonsense relation $r$ (e.g., xNeed) from a pre-defined set to form a prompt (e.g., he wants to cook a meal xNeed). We then feed the prompt to the neural commonsense knowledge model and use it to generate a commonsense inference (e.g., to buy ingredients). In this way, the commonsense knowledge generation process resembles the way in which the neural commonsense knowledge model is trained. As such, we can get commonsense inferences of relatively high qualities.",
355
+ "bbox": [
356
+ 507,
357
+ 118,
358
+ 884,
359
+ 343
360
+ ],
361
+ "page_idx": 2
362
+ },
363
+ {
364
+ "type": "text",
365
+ "text": "Using a neural commonsense knowledge model as a knowledge source has two advantages. On one hand, compared to the previous method (Li et al., 2019) using a symbolic commonsense knowledge graph, a neural commonsense knowledge model can generalize to unseen subjects, thus enabling us to refine the target pre-trained model on large-scale natural text corpus together with its commonsense inferences. As such, the resulting model can better adapt to downstream tasks which are formulated in diverse natural texts. On the other hand, compared to another method (Zhou et al., 2021) that only uses plain text and is thus limited to the surface form of naturally occurring text, the use of a neural commonsense knowledge model provides much denser commonsense knowledge including a diverse set of commonsense relations between natural texts and the underlying commonsense knowledge.",
366
+ "bbox": [
367
+ 507,
368
+ 344,
369
+ 884,
370
+ 634
371
+ ],
372
+ "page_idx": 2
373
+ },
374
+ {
375
+ "type": "text",
376
+ "text": "2.2 Commonsense Knowledge Injection",
377
+ "text_level": 1,
378
+ "bbox": [
379
+ 507,
380
+ 651,
381
+ 836,
382
+ 668
383
+ ],
384
+ "page_idx": 2
385
+ },
386
+ {
387
+ "type": "text",
388
+ "text": "After commonsense knowledge extraction, we need to inject the extracted commonsense knowledge into the target model. A straightforward solution is to use sequence-level knowledge distillation (Kim and Rush, 2016) and continually train the student to generate retrieved commonsense inference given the original text and commonsense relation. However, this can be sub-optimal due to the domain discrepancy between commonsense knowledge and natural text, which introduces the catastrophic forgetting problem (Kirkpatrick et al., 2017) and hurts the performance on downstream tasks, which is also recently confirmed by Cui and Chen (2021).",
389
+ "bbox": [
390
+ 507,
391
+ 676,
392
+ 882,
393
+ 884
394
+ ],
395
+ "page_idx": 2
396
+ },
397
+ {
398
+ "type": "text",
399
+ "text": "To better inject the extracted commonsense knowledge into a pre-trained model without suf",
400
+ "bbox": [
401
+ 507,
402
+ 887,
403
+ 882,
404
+ 917
405
+ ],
406
+ "page_idx": 2
407
+ },
408
+ {
409
+ "type": "page_number",
410
+ "text": "5948",
411
+ "bbox": [
412
+ 480,
413
+ 928,
414
+ 519,
415
+ 940
416
+ ],
417
+ "page_idx": 2
418
+ },
419
+ {
420
+ "type": "image",
421
+ "img_path": "images/993820ac877f536970a3d0d6a6528f62eadeae6df0bc3dd649e531b33249fb65.jpg",
422
+ "image_caption": [
423
+ "Figure 2: Illustration of the commonsense text infilling objective. Given a commonsense tuple constructed in the commonsense knowledge retrieval phase, we randomly mask text spans in the commonsense tuple following different patterns and train the pre-trained model to reconstruct the masked spans. RL: Should the <mask> be \"xNeed\"?"
424
+ ],
425
+ "image_footnote": [],
426
+ "bbox": [
427
+ 117,
428
+ 82,
429
+ 484,
430
+ 223
431
+ ],
432
+ "page_idx": 3
433
+ },
434
+ {
435
+ "type": "text",
436
+ "text": "fering from catastrophic forgetting so that its capability on general NLP tasks is retained (or even improved), we propose two commonsense-related self-supervised objectives: commonsense text infilling and commonsense relation prediction. The former objective is generative while the latter is a discriminative objective. We refine the pre-trained model by multi-tasking on both objectives so that the model can better adapt to tasks requiring either generative or discriminative commonsense reasoning ability.",
437
+ "bbox": [
438
+ 112,
439
+ 354,
440
+ 489,
441
+ 530
442
+ ],
443
+ "page_idx": 3
444
+ },
445
+ {
446
+ "type": "text",
447
+ "text": "Commonsense Text Infilling Commonsense text infilling is a simple extension to the conventional text infilling objective used for pre-training BART and T5. It transforms each sentence to a commonsense tuple similar to that in a commonsense knowledge graph by appending the commonsense relation and the generated commonsense inference. We then mask text spans in the commonsense tuple by randomly selecting one masking scheme among text masking, commonsense masking, bidirectional masking, and relation masking. As illustrated in Fig 2, these masking strategies selectively mask different components in the input commonsense tuple and lead to different optimization objectives. Specifically, these masking schemes mask either spans in natural text $(\\mathrm{P}(s|\\tilde{s},r,o))$ , commonsense inference $(\\mathrm{P}(o|s,r,\\tilde{o}))$ , natural text/commonsense inference $(\\mathrm{P}(s,o|\\tilde{s},r,\\tilde{o}))$ , or commonsense relation $(\\mathrm{P}(r|s,\\tilde{r},o))$ , respectively. We then train the model to predict the masked spans autoregressively. The diverse masking strategies provide more diverse training signals compared to random masking, thus",
448
+ "bbox": [
449
+ 112,
450
+ 549,
451
+ 489,
452
+ 919
453
+ ],
454
+ "page_idx": 3
455
+ },
456
+ {
457
+ "type": "image",
458
+ "img_path": "images/5037654920a72b9799f8ae40dfb64768aae05d0b9d714a9457bdc51ecb09e694.jpg",
459
+ "image_caption": [
460
+ "Figure 3: Illustration of the commonsense relation prediction objective. We train the pre-trained model to predict the correct commonsense inference given the subject and relation from three distractors generated with either different subjects or relations as inputs."
461
+ ],
462
+ "image_footnote": [],
463
+ "bbox": [
464
+ 509,
465
+ 86,
466
+ 880,
467
+ 225
468
+ ],
469
+ "page_idx": 3
470
+ },
471
+ {
472
+ "type": "text",
473
+ "text": "enabling the model to better align the surface form of human language and the underlying commonsense knowledge.",
474
+ "bbox": [
475
+ 507,
476
+ 323,
477
+ 882,
478
+ 370
479
+ ],
480
+ "page_idx": 3
481
+ },
482
+ {
483
+ "type": "text",
484
+ "text": "In addition, unlike the conventional practice in masked span infilling objective that randomly masks text spans with the same probability, we propose to mask text spans including concepts (tokens recognized as nouns or verbs by a Spacy POS tagger) with a higher probability so that the model will be trained to predict concepts more frequently compared to non-content words that are generally not related to commonsense reasoning.",
485
+ "bbox": [
486
+ 507,
487
+ 372,
488
+ 882,
489
+ 517
490
+ ],
491
+ "page_idx": 3
492
+ },
493
+ {
494
+ "type": "text",
495
+ "text": "Commonsense Relation Prediction While the commonsense text infilling objective encourages the pre-trained model to align natural texts and their commonsense inferences, it is always trained on valid commonsense tuples. This can be suboptimal because we also want the model to be capable of discriminating invalid commonsense inferences, which is important for many commonsense-related downstream tasks.",
496
+ "bbox": [
497
+ 507,
498
+ 531,
499
+ 882,
500
+ 675
501
+ ],
502
+ "page_idx": 3
503
+ },
504
+ {
505
+ "type": "text",
506
+ "text": "To this end, we introduce a commonsense relation prediction task that trains the model to distinguish the correct commonsense inference corresponding to the input sentence and the commonsense relation from distractors. To be specific, the commonsense relation prediction objective is formulated as a multi-choice QA problem with an input sentence as the context, a commonsense relation as the question, and a set of four commonsense inferences as options. The set of options consists of one correct commonsense inference, which is generated by the neural commonsense model with the input sentence and commonsense relation as input, and three carefully curated distractors (i.e., negative examples) generated by the",
507
+ "bbox": [
508
+ 507,
509
+ 678,
510
+ 884,
511
+ 919
512
+ ],
513
+ "page_idx": 3
514
+ },
515
+ {
516
+ "type": "page_number",
517
+ "text": "5949",
518
+ "bbox": [
519
+ 480,
520
+ 928,
521
+ 519,
522
+ 940
523
+ ],
524
+ "page_idx": 3
525
+ },
526
+ {
527
+ "type": "table",
528
+ "img_path": "images/08469e2d6c43f673d4725ed8b5c05c59514c32958c49b36bad6c4c8db42fe40b.jpg",
529
+ "table_caption": [],
530
+ "table_footnote": [],
531
+ "table_body": "<table><tr><td>Methods</td><td>CSQA</td><td>OBQA</td><td>PIQA</td><td>aNLI</td><td>SOCIALQA</td><td>COPA</td></tr><tr><td>BERT-base</td><td>53.08(±0.16)</td><td>57.60(±0.8)</td><td>64.86(±0.52)</td><td>61.88(±0.56)</td><td>64.3(±0.4)</td><td>67.3(±0.4)</td></tr><tr><td>ERNIE-base</td><td>54.06(±0.12)</td><td>58.90(±0.9)</td><td>66.47(±0.58)</td><td>63.04(±0.46)</td><td>65.1(±0.4)</td><td>68.9(±0.4)</td></tr><tr><td>KnowBERT</td><td>53.88(±0.15)</td><td>58.50(±0.8)</td><td>66.61(±0.63)</td><td>63.18(±0.52)</td><td>65.4(±0.5)</td><td>69.4 (±0.4)</td></tr><tr><td>COMET</td><td>45.32(±0.28)</td><td>51.20(±1.1)</td><td>60.73(±0.51)</td><td>57.63(±0.61)</td><td>60.2(±0.7)</td><td>69.1 (±0.5)</td></tr><tr><td>T5-base</td><td>61.88(±0.08)</td><td>58.20(±1.0)</td><td>68.14(±0.73)</td><td>61.10(±0.38)</td><td>65.1(±0.5)</td><td>71.4 (±0.7)</td></tr><tr><td>T5-base + TI</td><td>62.05(±0.17)</td><td>58.43(±0.8)</td><td>68.32(±0.66)</td><td>61.42(±0.32)</td><td>65.3(±0.4)</td><td>71.8 (±0.8)</td></tr><tr><td>T5-base + SSM</td><td>62.37(±0.25)</td><td>58.60(±0.9)</td><td>68.48(±0.65)</td><td>61.57(±0.44)</td><td>65.5(±0.5)</td><td>72.1 (±0.6)</td></tr><tr><td>T5-base + KD</td><td>61.83(±0.42)</td><td>56.54(±0.7)</td><td>67.35(±0.63)</td><td>60.94(±0.66)</td><td>64.8(±0.5)</td><td>71.0 (±1.0)</td></tr><tr><td>T5-base + CSKG (TI)</td><td>60.22(±0.40)</td><td>56.17(±0.8)</td><td>66.51(±0.57)</td><td>59.92(±0.47)</td><td>62.7(±0.7)</td><td>68.5 (±1.1)</td></tr><tr><td>T5-base + CSKG (Rule)</td><td>63.10(±0.35)</td><td>57.97(±0.8)</td><td>68.27(±0.71)</td><td>60.15(±0.51)</td><td>65.7(±0.4)</td><td>72.4 (±0.9)</td></tr><tr><td>CALM</td><td>63.32(±0.35)</td><td>60.90(±0.4)</td><td>71.01(±0.61)</td><td>63.20(±0.52)</td><td>66.0(±0.5)</td><td>72.2 (±0.8)</td></tr><tr><td>CKT-base</td><td>64.11(±0.31)</td><td>61.58(±0.5)</td><td>72.26(±0.61)</td><td>64.37(±0.49)</td><td>67.3(±0.4)</td><td>73.4 (±0.5)</td></tr><tr><td>CKT w/ GPT-2</td><td>60.39(±0.61)</td><td>56.95(±0.7)</td><td>68.48(±0.44)</td><td>60.14(±0.52)</td><td>66.2(±0.6)</td><td>72.8 (±1.0)</td></tr></table>",
532
+ "bbox": [
533
+ 119,
534
+ 80,
535
+ 878,
536
+ 297
537
+ ],
538
+ "page_idx": 4
539
+ },
540
+ {
541
+ "type": "text",
542
+ "text": "Table 1: Experimental results on base-size models. Best models are bold and second best ones are underlined within each metric. Mean and standard deviation of 3 different runs with different random seeds are reported.",
543
+ "bbox": [
544
+ 112,
545
+ 307,
546
+ 880,
547
+ 338
548
+ ],
549
+ "page_idx": 4
550
+ },
551
+ {
552
+ "type": "text",
553
+ "text": "same neural commonsense knowledge model with different inputs. As illustrated in Figure 3, among the three distractors, one is generated with an input composed of the same sentence and a different commonsense relation, and another two are generated with an input composed of different sentences with the same commonsense relation. In this way, the model learns to align the natural texts with valid commonsense knowledge while also distinguishing commonsense inferences that do not make sense. Moreover, this objective is formulated as a multi-choice QA task that closely resembles several downstream commonsense-related tasks such as CommonsenseQA and SOCIALIQA, thus enabling easier transfer especially when labeled training examples are scarce.",
554
+ "bbox": [
555
+ 112,
556
+ 348,
557
+ 489,
558
+ 605
559
+ ],
560
+ "page_idx": 4
561
+ },
562
+ {
563
+ "type": "text",
564
+ "text": "3 Experiments",
565
+ "text_level": 1,
566
+ "bbox": [
567
+ 112,
568
+ 615,
569
+ 260,
570
+ 633
571
+ ],
572
+ "page_idx": 4
573
+ },
574
+ {
575
+ "type": "text",
576
+ "text": "3.1 Experimental Settings",
577
+ "text_level": 1,
578
+ "bbox": [
579
+ 112,
580
+ 640,
581
+ 334,
582
+ 657
583
+ ],
584
+ "page_idx": 4
585
+ },
586
+ {
587
+ "type": "text",
588
+ "text": "Models In our experiments we apply commonsense knowledge transfer to refine T5 (Raffel et al., 2019), a popular model pre-trained with the text infilling objective. We experiment with both T5-base and T5-large, which consist of 220 million and 774 million parameters respectively, as the target model in the commonsense knowledge transfer framework. We do not experiment with extremely large models like T5-11B because of the resource constraints and the fact that these models are hard to deploy in real-world applications. We use COMET-ATOMIC $^{20}$ a state-of-the-art neural commonsense knowledge model that can generate accurate, representative knowledge for new, unseen entities and events, as the source model. It is initialized with BART and continually trained",
589
+ "bbox": [
590
+ 112,
591
+ 661,
592
+ 489,
593
+ 917
594
+ ],
595
+ "page_idx": 4
596
+ },
597
+ {
598
+ "type": "text",
599
+ "text": "on $\\mathrm{ATOMIC}_{20}^{20}$ (Hwang et al., 2021), a new general purpose commonsense knowledge graph.",
600
+ "bbox": [
601
+ 507,
602
+ 348,
603
+ 880,
604
+ 381
605
+ ],
606
+ "page_idx": 4
607
+ },
608
+ {
609
+ "type": "text",
610
+ "text": "Data We randomly sample a subset consisting of 10 million sentences from the English Wikipedia and the BookCorpus (Zhu et al., 2015), which is used for pre-training BERT and its variants. We select a set of representative commonsense relations including intent, reason, effect, need, want, and react from relations used to train COMET-ATOMIC $_{20}$ . For each sentence, we randomly sample two relations and retrieve the corresponding commonsense explanation from COMET $_{20}$ . We randomly select one relation-explanation pair to form the input example and leave another as the distractor for the commonsense relation prediction objective.",
611
+ "bbox": [
612
+ 507,
613
+ 382,
614
+ 884,
615
+ 592
616
+ ],
617
+ "page_idx": 4
618
+ },
619
+ {
620
+ "type": "text",
621
+ "text": "Training We refine the pre-trained models on the self-supervised examples constructed with the sampled 10 million sentences for 100k steps with a batch size of 1024, a maximum sequence length of 256, and a learning rate of $5\\mathrm{e} - 5 / 2\\mathrm{e} - 5$ for base-size and large-size models respectively with a linear warm-up for the first 8,000 updates. After knowledge transfer, we fine-tune the models on downstream tasks by formulating the tasks into text-to-text problems. Pre-training and fine-tuning details are included in the Appendix.",
622
+ "bbox": [
623
+ 507,
624
+ 595,
625
+ 882,
626
+ 772
627
+ ],
628
+ "page_idx": 4
629
+ },
630
+ {
631
+ "type": "text",
632
+ "text": "Evaluation We evaluate the continual pre-trained models on downstream tasks that require commonsense reasoning including CommonsenseQA (Talmor et al., 2018), OpenbookQA (Mihaylov et al., 2018), PIQA (Bisk et al., 2020), aNLI (Bhagavatula et al., 2020), COPA (Roemmelo et al., 2011), and SOCAI LIQA (Sap et al., 2019b) In addition to the conventional fully supervised setting, we also test our approach in the few-shot setting by vary",
633
+ "bbox": [
634
+ 507,
635
+ 774,
636
+ 884,
637
+ 919
638
+ ],
639
+ "page_idx": 4
640
+ },
641
+ {
642
+ "type": "page_number",
643
+ "text": "5950",
644
+ "bbox": [
645
+ 480,
646
+ 927,
647
+ 521,
648
+ 940
649
+ ],
650
+ "page_idx": 4
651
+ },
652
+ {
653
+ "type": "table",
654
+ "img_path": "images/e87dcda1f6876e931637946206cda19593cfe6c57f4e0b12f03438e658557938.jpg",
655
+ "table_caption": [],
656
+ "table_footnote": [],
657
+ "table_body": "<table><tr><td>Methods</td><td>CSQA</td><td>OBQA</td><td>PIQA</td><td>aNLI</td><td>SOCIALQA</td><td>COPA</td></tr><tr><td>T5-large</td><td>69.81(±1.02)</td><td>61.40(±1.0)</td><td>72.19(±1.09)</td><td>75.54(±1.22)</td><td>71.3(±0.8)</td><td>83.6(±1.1)</td></tr><tr><td>CALM-large</td><td>71.31(±0.04)</td><td>66.00(±1.0)</td><td>75.11(±1.65)</td><td>77.12(±0.34)</td><td>72.7(±0.7)</td><td>84.9(±1.0)</td></tr><tr><td>CKT-large</td><td>72.15(±0.61)</td><td>66.70(±1.1)</td><td>76.07(±0.95)</td><td>77.94(±0.59)</td><td>73.8(±0.8)</td><td>86.0(±1.2)</td></tr></table>",
658
+ "bbox": [
659
+ 119,
660
+ 80,
661
+ 877,
662
+ 165
663
+ ],
664
+ "page_idx": 5
665
+ },
666
+ {
667
+ "type": "text",
668
+ "text": "Table 2: Experimental results on large-size models. Best models are bold and second best ones are underlined within each metric. Mean and variance of 3 different runs with different random seeds are reported.",
669
+ "bbox": [
670
+ 112,
671
+ 174,
672
+ 880,
673
+ 202
674
+ ],
675
+ "page_idx": 5
676
+ },
677
+ {
678
+ "type": "text",
679
+ "text": "ing the percentage of labeled examples from the original training set used for fine-tuning. The idea is that limited labeled examples can only help the model understand the task but are insufficient for the model to acquire enough commonsense knowledge to solve the task. As such, it requires the model to store enough commonsense knowledge in its parameters to succeed in the few-shot setting. For both the settings, we report the results on the official development set and tune the hyperparameters based on the models' performance on an in-house split dev set. We report the mean and variance of 3 individual runs with different random seeds because most datasets are relatively small, which makes the variance in results non-negligible.",
680
+ "bbox": [
681
+ 112,
682
+ 211,
683
+ 489,
684
+ 451
685
+ ],
686
+ "page_idx": 5
687
+ },
688
+ {
689
+ "type": "text",
690
+ "text": "Baselines We compare our approach with methods that continually train a pre-trained model with different objectives. We divide the baselines into two categories based on the source of their supervision. The first category includes methods that only exploit general text corpus, including (1) T5 + TI that continually pre-trains the public checkpoint of T5 with the same text infilling objective for more steps, (2) T5 + SSM that also continual pretrains T5 with the text infilling objective, but use salient span masking (Roberts et al., 2020) instead of random masking for data construction, (3) (T5 + KD) that uses sequence-level knowledge distillation (Kim and Rush, 2016) for knowledge transfer, where the student model is trained with the teacher output (i.e., $\\mathrm{P}(o|s,r)$ ), and (4) CALM (Zhou et al., 2021) that uses novel self-supervised objectives to construct concept-centric self-supervision from general text corpus. The second category instead exploits CSKG, including (5) T5 + CSKG (TI) train T5 with the text infilling objective on tuples in a CSKG, and (6) T5 + CSKG (Rule) (Li et al., 2019) that uses manually defined rules to construct training examples from a CSKG. We also include a COMET baseline where we directly fine-tune the pre-trained COMET-ATOMIC $^{20}$ model for the downstream tasks to verify the necessity of commonsense knowledge transfer, and a CKT w/ GPT",
691
+ "bbox": [
692
+ 110,
693
+ 468,
694
+ 489,
695
+ 917
696
+ ],
697
+ "page_idx": 5
698
+ },
699
+ {
700
+ "type": "image",
701
+ "img_path": "images/6696c0db6024ee79cf5541d77e1c0c9dfd3867fc4aae2e9fced1019ae42daf41.jpg",
702
+ "image_caption": [
703
+ "Figure 4: Performance of compared base-size models fine-tuned with different fraction of the datasets."
704
+ ],
705
+ "image_footnote": [],
706
+ "bbox": [
707
+ 515,
708
+ 216,
709
+ 687,
710
+ 340
711
+ ],
712
+ "page_idx": 5
713
+ },
714
+ {
715
+ "type": "image",
716
+ "img_path": "images/2f07e7f98aadcdf747fd79588a408c351d7197a44be95d323eeca04b0d1b01dc.jpg",
717
+ "image_caption": [],
718
+ "image_footnote": [],
719
+ "bbox": [
720
+ 707,
721
+ 216,
722
+ 875,
723
+ 340
724
+ ],
725
+ "page_idx": 5
726
+ },
727
+ {
728
+ "type": "text",
729
+ "text": "2 baseline where the commonsense inferences are generated by a pre-trained GPT-2 large model to verify whether the gain comes from transferring the commonsense knowledge from COMET, or simply from data augmentation from another generative model. For a fair comparison, we use the same data and training steps compared to our approach for baselines from the first category and use $\\mathrm{ATOMIC}_{20}^{20}$ , on which the teacher model in our framework is pre-train on, as the commonsense knowledge graph. For reference, we also include some popular knowledge-enhanced pre-trained models including ERNIE (Zhang et al., 2019) and KnowBERT (Peters et al., 2019).",
730
+ "bbox": [
731
+ 507,
732
+ 398,
733
+ 884,
734
+ 621
735
+ ],
736
+ "page_idx": 5
737
+ },
738
+ {
739
+ "type": "text",
740
+ "text": "3.2 Fully-supervised Results",
741
+ "text_level": 1,
742
+ "bbox": [
743
+ 507,
744
+ 638,
745
+ 747,
746
+ 653
747
+ ],
748
+ "page_idx": 5
749
+ },
750
+ {
751
+ "type": "text",
752
+ "text": "We first present results in the fully-supervised setting. Results on base-size models are presented in Table 1. We can see that our approach yields significant improvement compared to the T5 baseline (up to 4 absolute scores) and consistently outperform CALM, the state-of-the-art method of injecting commonsense knowledge into PTLMs.",
753
+ "bbox": [
754
+ 505,
755
+ 659,
756
+ 884,
757
+ 772
758
+ ],
759
+ "page_idx": 5
760
+ },
761
+ {
762
+ "type": "text",
763
+ "text": "In addition, we observe that simply using continual training with the original text-infilling objective or its variant with salient span masking only marginally improves the performance. Surprisingly, training with text infilling on a commonsense knowledge graph leads to degraded performance compared to the T5 baseline. We suspect this is because the commonsense tuples in commonsense knowledge graphs are generally too short",
764
+ "bbox": [
765
+ 507,
766
+ 774,
767
+ 884,
768
+ 917
769
+ ],
770
+ "page_idx": 5
771
+ },
772
+ {
773
+ "type": "page_number",
774
+ "text": "5951",
775
+ "bbox": [
776
+ 480,
777
+ 927,
778
+ 517,
779
+ 940
780
+ ],
781
+ "page_idx": 5
782
+ },
783
+ {
784
+ "type": "table",
785
+ "img_path": "images/6df0ff102d4ad7971431dbb93e09ad521c5d55883cd0b1067c5f1c48c573b810.jpg",
786
+ "table_caption": [],
787
+ "table_footnote": [],
788
+ "table_body": "<table><tr><td>Methods</td><td>CSQA</td><td>OBQA</td><td>PIQA</td><td>aNLI</td><td>SIQA</td><td>COPA</td></tr><tr><td>T5-base</td><td>61.88</td><td>58.20</td><td>68.14</td><td>61.10</td><td>65.1</td><td>71.4</td></tr><tr><td>CKT-base</td><td>64.57</td><td>62.77</td><td>73.26</td><td>64.75</td><td>68.3</td><td>73.4</td></tr><tr><td colspan=\"7\">Objective Analysis</td></tr><tr><td>CKT-base w/o CSTI</td><td>62.58</td><td>60.97</td><td>70.61</td><td>62.11</td><td>66.5</td><td>72.0</td></tr><tr><td>CKT-base w/o text masking</td><td>62.98</td><td>61.74</td><td>72.55</td><td>63.81</td><td>67.7</td><td>72.8</td></tr><tr><td>CKT-base w/o commonsense masking</td><td>63.61</td><td>62.03</td><td>72.83</td><td>64.40</td><td>67.5</td><td>72.7</td></tr><tr><td>CKT-base w/o bidirectional masking</td><td>63.52</td><td>62.11</td><td>72.30</td><td>64.24</td><td>67.6</td><td>72.9</td></tr><tr><td>CKT-base w/o relation masking</td><td>64.12</td><td>62.48</td><td>73.31</td><td>64.57</td><td>67.4</td><td>72.7</td></tr><tr><td>CKT-base w/o CSRIP</td><td>63.12</td><td>62.07</td><td>72.44</td><td>64.11</td><td>67.5</td><td>72.6</td></tr><tr><td>CKT-base w/ random distractors</td><td>64.04</td><td>62.29</td><td>72.95</td><td>64.48</td><td>68.0</td><td>73.1</td></tr><tr><td colspan=\"7\">Multi-task versus Sequential Transfer</td></tr><tr><td>CKT-base (CSTI → CSRIP)</td><td>64.69</td><td>62.51</td><td>73.35</td><td>64.11</td><td>67.9</td><td>73.5</td></tr><tr><td>CKT-base (CSRIP → CSTI)</td><td>63.49</td><td>61.33</td><td>71.54</td><td>63.41</td><td>67.0</td><td>72.0</td></tr><tr><td colspan=\"7\">Corpus Size</td></tr><tr><td>CKT-base w/ 10% data</td><td>64.18</td><td>62.21</td><td>71.86</td><td>64.31</td><td>67.7</td><td>73.1</td></tr><tr><td>CKT-base w/ 50% data</td><td>64.45</td><td>62.66</td><td>73.10</td><td>64.72</td><td>68.2</td><td>73.4</td></tr></table>",
789
+ "bbox": [
790
+ 174,
791
+ 80,
792
+ 823,
793
+ 380
794
+ ],
795
+ "page_idx": 6
796
+ },
797
+ {
798
+ "type": "text",
799
+ "text": "Table 3: Analysis of the proposed commonsense knowledge transfer framework. CSTI and CSRP denote the commonsense text infilling objective and the commonsense relation prediction objective, respectively.",
800
+ "bbox": [
801
+ 112,
802
+ 388,
803
+ 882,
804
+ 418
805
+ ],
806
+ "page_idx": 6
807
+ },
808
+ {
809
+ "type": "text",
810
+ "text": "and simple, making the pre-trained model unable to reason within relatively long contexts which is crucial for most downstream tasks. Moreover, we find that continually pre-training with training data constructed with commonsense tuples in a commonsense knowledge graph following manually designed rules leads to improvements in certain tasks. However, the improvement is inconsistent across different tasks and it even hurts the performance on certain tasks, which may be because the rules for constructing training data are tailored for certain tasks like CSQA. The inferior performance of using commonsense knowledge graphs as data sources also confirms the need of using natural text corpus during continual pre-training for better adapting to diverse downstream tasks. We also find directly applying sequence-level KD and training the student to mimic the teacher on the commonsense tuple generation task fails to improve the performance because the task is not general enough and thus cannot transfer to diverse downstream tasks well. Moreover, directly fine-tuning COMET or using GPT-2 as the commonsense knowledge source results in very poor performance. This confirms the necessity of commonsense knowledge transfer and shows that it is actually transferring commonsense knowledge instead of simple text augmentation.",
811
+ "bbox": [
812
+ 112,
813
+ 432,
814
+ 489,
815
+ 866
816
+ ],
817
+ "page_idx": 6
818
+ },
819
+ {
820
+ "type": "text",
821
+ "text": "To further confirm the effectiveness of commonsense knowledge transfer, we apply it to T5-large and compare it to competitive baselines in the base",
822
+ "bbox": [
823
+ 112,
824
+ 871,
825
+ 489,
826
+ 919
827
+ ],
828
+ "page_idx": 6
829
+ },
830
+ {
831
+ "type": "text",
832
+ "text": "size experiments. The results are presented in Table 2. We can see that our approach consistently outperforms T5-large and CALM-large. This suggests that our approach can successfully generalize to large-size pre-trained models.",
833
+ "bbox": [
834
+ 507,
835
+ 432,
836
+ 884,
837
+ 513
838
+ ],
839
+ "page_idx": 6
840
+ },
841
+ {
842
+ "type": "text",
843
+ "text": "3.3 Few-shot Results",
844
+ "text_level": 1,
845
+ "bbox": [
846
+ 509,
847
+ 525,
848
+ 690,
849
+ 539
850
+ ],
851
+ "page_idx": 6
852
+ },
853
+ {
854
+ "type": "text",
855
+ "text": "Injecting commonsense knowledge into pre-trained models is important because it enables the model to reason and generalize to unseen examples while observing only a few labeled examples. To this end, we fine-tune the compared models with different fractions of labeled training data to investigate the transition of the behavior of our model and baselines from the low-resource regime to the fully-supervised setting (Fig. 4). We observe that the performance improvement of our approach compared to the baselines is more significant in the low-resource regime. This shows that commonsense knowledge transfer can successfully transfer commonsense knowledge into pre-trained models so that they can generalize well while seeing only a small part of training data. This may also help the model reduce the risk/tendency of fitting the spurious correlations in the annotated datasets and thus generalize better.",
856
+ "bbox": [
857
+ 507,
858
+ 546,
859
+ 884,
860
+ 852
861
+ ],
862
+ "page_idx": 6
863
+ },
864
+ {
865
+ "type": "text",
866
+ "text": "3.4 Analysis",
867
+ "text_level": 1,
868
+ "bbox": [
869
+ 509,
870
+ 865,
871
+ 623,
872
+ 881
873
+ ],
874
+ "page_idx": 6
875
+ },
876
+ {
877
+ "type": "text",
878
+ "text": "To better understand the proposed commonsense knowledge transfer framework and the role of its",
879
+ "bbox": [
880
+ 507,
881
+ 887,
882
+ 882,
883
+ 917
884
+ ],
885
+ "page_idx": 6
886
+ },
887
+ {
888
+ "type": "page_number",
889
+ "text": "5952",
890
+ "bbox": [
891
+ 480,
892
+ 927,
893
+ 521,
894
+ 940
895
+ ],
896
+ "page_idx": 6
897
+ },
898
+ {
899
+ "type": "text",
900
+ "text": "different components, we conduct an ablation study about the impact of different proposed objectives, the impact of multi-tasking the commonsense-related self-supervised objective versus sequentially training, and the impact of the size of natural text corpus used for transfer (see Table 3).",
901
+ "bbox": [
902
+ 112,
903
+ 84,
904
+ 487,
905
+ 179
906
+ ],
907
+ "page_idx": 7
908
+ },
909
+ {
910
+ "type": "text",
911
+ "text": "Impact of Objectives We find that both the proposed objectives contribute to the performance improvement of our approach. The commonsense text infilling objective is shown to be more critical than the commonsense relation prediction task. We suspect this is because commonsense text infilling resembles the vanilla text infilling objective with which the T5 models are pre-trained, thus preventing the model from catastrophic forgetting. In addition, all four masking strategies are beneficial, and their contribution varies for different downstream tasks. This confirms the necessity of a diverse masking scheme. Moreover, our strategy for constructing distractors outperforms the random counterpart, demonstrating the necessity of hard negative examples for the commonsense relation prediction task.",
912
+ "bbox": [
913
+ 115,
914
+ 181,
915
+ 489,
916
+ 455
917
+ ],
918
+ "page_idx": 7
919
+ },
920
+ {
921
+ "type": "text",
922
+ "text": "Multi-task versus Sequential Transfer As for the training order between the two objectives, we find that starting from the commonsense text infilling task and then switching to the commonsense relation prediction task performs similarly with our multi-tasking strategy while significantly outperforming its counterpart training with the reverse direction. We think this is because the commonsense text infilling objective resembles the original pre-training while the commonsense relation prediction is more similar to downstream tasks. We opt for the multi-tasking strategy for simplicity.",
923
+ "bbox": [
924
+ 112,
925
+ 457,
926
+ 489,
927
+ 649
928
+ ],
929
+ "page_idx": 7
930
+ },
931
+ {
932
+ "type": "text",
933
+ "text": "Impact of Corpus Size We find that commonsense knowledge transfer significantly outperforms both the T5 baseline and the competitive CALM method with only 10 percent of the full data used for distillation. Nevertheless, the performance improvement also confirms that our approach can benefit from the accessibility of large-scale natural texts. For base-size models, the performance improvements seem to saturate after 10 million sentence pairs. However, we anticipate that larger-size models may still benefit from a larger amount of data, and leave this for future work.",
934
+ "bbox": [
935
+ 112,
936
+ 651,
937
+ 489,
938
+ 843
939
+ ],
940
+ "page_idx": 7
941
+ },
942
+ {
943
+ "type": "text",
944
+ "text": "4 Related Work",
945
+ "text_level": 1,
946
+ "bbox": [
947
+ 112,
948
+ 858,
949
+ 268,
950
+ 873
951
+ ],
952
+ "page_idx": 7
953
+ },
954
+ {
955
+ "type": "text",
956
+ "text": "Knowledge-augmented Pre-trained Models A number of recent works have examined the prob-",
957
+ "bbox": [
958
+ 112,
959
+ 887,
960
+ 489,
961
+ 917
962
+ ],
963
+ "page_idx": 7
964
+ },
965
+ {
966
+ "type": "text",
967
+ "text": "lem of incorporating world knowledge with the pre-trained models. A number of works use an external knowledge base to incorporate entity knowledge with pre-trained models (Zhang et al., 2019; Peters et al., 2019; Wang et al., 2020; Liu et al., 2020). However, these approaches require specialized resources like knowledge bases which are non-trivial to seek, thus limiting the domain they can be applied to. Xiong et al. (2020) proposed a novel entity replacement detection objective that incorporates Wikipedia to encode world knowledge into a BERT-like pre-trained model. He et al. (2020) proposed a generative and discriminative framework that pretrains the model to complete and correct knowledge spans. The aforementioned approaches generally focus on factual knowledge of entities while our work mainly focuses on commonsense knowledge.",
968
+ "bbox": [
969
+ 505,
970
+ 84,
971
+ 884,
972
+ 357
973
+ ],
974
+ "page_idx": 7
975
+ },
976
+ {
977
+ "type": "text",
978
+ "text": "Commonsense Reasoning for NLP Several recent studies (Talmor et al., 2018; Sap et al., 2019b; Zhou et al., 2020b; Lin et al., 2020; Xu et al., 2021) evaluate the performance of several pre-trained language models on tasks that require commonsense reasoning and find that it is still very hard for pre-trained language models to match or exceed human-level performance. Therefore, approaches to improve the commonsense reasoning ability of pre-trained language models has attracted much attention. These approaches can be divided into two categories. The first category focuses on incorporating an external commonsense knowledge graph for commonsense reasoning. For example, Lin et al. (2019), Cui and Chen (2021), and Liu et al. (2021) propose to exploit structured symbolic commonsense knowledge graphs to perform commonsense reasoning. The second one instead attempts to inject commonsense knowledge into the parameters of pre-trained models. For example, Ye et al. (2019); Li et al. (2019) proposed to use manually designed rules to construct commonsense related training examples from commonsense knowledge graphs. Zhou et al. (2021) instead only relies on general text corpus and proposed two concept-centric self-supervised objectives to refine pre-trained models with commonsense knowledge.",
979
+ "bbox": [
980
+ 507,
981
+ 359,
982
+ 884,
983
+ 793
984
+ ],
985
+ "page_idx": 7
986
+ },
987
+ {
988
+ "type": "text",
989
+ "text": "5 Conclusion",
990
+ "text_level": 1,
991
+ "bbox": [
992
+ 509,
993
+ 810,
994
+ 640,
995
+ 824
996
+ ],
997
+ "page_idx": 7
998
+ },
999
+ {
1000
+ "type": "text",
1001
+ "text": "We introduce commonsense knowledge transfer, a framework to transfer the commonsense knowledge stored in a neural commonsense knowledge model to a general-purpose pre-trained model. Our method extracts commonsense knowledge from",
1002
+ "bbox": [
1003
+ 507,
1004
+ 839,
1005
+ 882,
1006
+ 917
1007
+ ],
1008
+ "page_idx": 7
1009
+ },
1010
+ {
1011
+ "type": "page_number",
1012
+ "text": "5953",
1013
+ "bbox": [
1014
+ 480,
1015
+ 928,
1016
+ 519,
1017
+ 940
1018
+ ],
1019
+ "page_idx": 7
1020
+ },
1021
+ {
1022
+ "type": "text",
1023
+ "text": "the source model to construct self-supervised training data for the target model. Empirical results show that our approach consistently outperforms previous methods for improving the commonsense reasoning ability of pre-trained models that exploit either symbolic knowledge graphs or texts alone.",
1024
+ "bbox": [
1025
+ 112,
1026
+ 84,
1027
+ 487,
1028
+ 180
1029
+ ],
1030
+ "page_idx": 8
1031
+ },
1032
+ {
1033
+ "type": "text",
1034
+ "text": "Limitations",
1035
+ "text_level": 1,
1036
+ "bbox": [
1037
+ 114,
1038
+ 193,
1039
+ 220,
1040
+ 206
1041
+ ],
1042
+ "page_idx": 8
1043
+ },
1044
+ {
1045
+ "type": "text",
1046
+ "text": "In our experiments, we use T5-base and T5-large models as the target model since they are widely-used, representative pre-trained seq2seq models and use COMET-ATOMIC $^{20}$ as the commonsense knowledge source. However, there are other pretrained seq2seq models such as BART, and neural commonsense models such as COMET that we did not experiment with. Moreover, we only experimented with 10 million randomly sampled sentences from the English Wiki and BookCorpus datasets. It would be interesting to investigate whether continually pre-training with a larger scale dataset can further improve the performance.",
1047
+ "bbox": [
1048
+ 112,
1049
+ 218,
1050
+ 489,
1051
+ 426
1052
+ ],
1053
+ "page_idx": 8
1054
+ },
1055
+ {
1056
+ "type": "text",
1057
+ "text": "Ethical Considerations",
1058
+ "text_level": 1,
1059
+ "bbox": [
1060
+ 114,
1061
+ 439,
1062
+ 315,
1063
+ 454
1064
+ ],
1065
+ "page_idx": 8
1066
+ },
1067
+ {
1068
+ "type": "text",
1069
+ "text": "Our work focuses on improving the commonsense reasoning ability of pre-trained language models. It probably does not introduce extra ethical concerns. However, in commonsense knowledge extraction, the neural commonsense knowledge model may generate unexpected (e.g., biased) commonsense inferences, and training with these inferences may lead to additional bias in the pre-trained model. Nevertheless, all pre-trained language models contain bias and should be examined.",
1070
+ "bbox": [
1071
+ 112,
1072
+ 464,
1073
+ 489,
1074
+ 625
1075
+ ],
1076
+ "page_idx": 8
1077
+ },
1078
+ {
1079
+ "type": "text",
1080
+ "text": "References",
1081
+ "text_level": 1,
1082
+ "bbox": [
1083
+ 114,
1084
+ 652,
1085
+ 213,
1086
+ 667
1087
+ ],
1088
+ "page_idx": 8
1089
+ },
1090
+ {
1091
+ "type": "list",
1092
+ "sub_type": "ref_text",
1093
+ "list_items": [
1094
+ "Emily M. Bender and Alexander Koller. 2020. Climbing towards NLU: on meaning, form, and understanding in the age of data. In Proceedings of the 58th Annual Meeting of the Association for Computational Linguistics, ACL 2020, Online, July 5-10, 2020, pages 5185-5198. Association for Computational Linguistics.",
1095
+ "Chandra Bhagavatula, Ronan Le Bras, Chaitanya Malaviya, Keisuke Sakaguchi, Ari Holtzman, Hannah Rashkin, Doug Downey, Scott Wen-tau Yih, and Yejin Choi. 2020. Abductive commonsense reasoning. In ICLR.",
1096
+ "Yonatan Bisk, Rowan Zellers, Ronan Le Bras, Jianfeng Gao, and Yejin Choi. 2020. Piqa: Reasoning about physical commonsense in natural language. In Thirty-Fourth AAAI Conference on Artificial Intelligence (AAAI)."
1097
+ ],
1098
+ "bbox": [
1099
+ 115,
1100
+ 674,
1101
+ 489,
1102
+ 917
1103
+ ],
1104
+ "page_idx": 8
1105
+ },
1106
+ {
1107
+ "type": "list",
1108
+ "sub_type": "ref_text",
1109
+ "list_items": [
1110
+ "Antoine Bosselut, Hannah Rashkin, Maarten Sap, Chaitanya Malaviya, Asli Celikyilmaz, and Yejin Choi. 2019. COMET: commonsense transformers for automatic knowledge graph construction. In ACL (1), pages 4762-4779. Association for Computational Linguistics.",
1111
+ "Alexis Conneau and Douwe Kiela. 2018. Senteval: An evaluation toolkit for universal sentence representations. In LREC.",
1112
+ "Wanyun Cui and Xingran Chen. 2021. Enhancing language models with plug-and-play large-scale commonsense. CoRR, abs/2109.02572.",
1113
+ "Jacob Devlin, Ming-Wei Chang, Kenton Lee, and Kristina Toutanova. 2019. BERT: pre-training of deep bidirectional transformers for language understanding. In *NAACL-HLT* (1), pages 4171–4186. Association for Computational Linguistics.",
1114
+ "William B. Dolan and Chris Brockett. 2005. Automatically constructing a corpus of sentential paraphrases. In IWP@IJCNLP.",
1115
+ "WA Falcon. 2019. Pytorch lightning. GitHub. Note: https://github.com/PyTorchLightning/pytorchlightning, 3.",
1116
+ "Bin He, Xin Jiang, Jinghui Xiao, and Qun Liu. 2020. Kgplm: Knowledge-guided language model pretraining via generative and discriminative learning. CoRR, abs/2012.03551.",
1117
+ "John Hewitt and Christopher D. Manning. 2019. A structural probe for finding syntax in word representations. 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 4129-4138. Association for Computational Linguistics.",
1118
+ "Geoffrey E. Hinton, Oriol Vinyals, and Jeffrey Dean. 2015. Distilling the knowledge in a neural network. CoRR, abs/1503.02531.",
1119
+ "Pedram Hosseini, David A. Broniatowski, and Mona T. Diab. 2021. Commonsense knowledge-augmented pretrained language models for causal reasoning classification. CoRR, abs/2112.08615.",
1120
+ "Jena D. Hwang, Chandra Bhagavatula, Ronan Le Bras, Jeff Da, Keisuke Sakaguchi, Antoine Bosselut, and Yejin Choi. 2021. (comet-) atomic 2020: On symbolic and neural commonsense knowledge graphs. In AAAI, pages 6384-6392. AAAI Press.",
1121
+ "Yoon Kim and Alexander M. Rush. 2016. Sequence-level knowledge distillation. In Proceedings of the 2016 Conference on Empirical Methods in Natural Language Processing, EMNLP 2016, Austin, Texas, USA, November 1-4, 2016, pages 1317-1327. The Association for Computational Linguistics."
1122
+ ],
1123
+ "bbox": [
1124
+ 510,
1125
+ 85,
1126
+ 884,
1127
+ 917
1128
+ ],
1129
+ "page_idx": 8
1130
+ },
1131
+ {
1132
+ "type": "page_number",
1133
+ "text": "5954",
1134
+ "bbox": [
1135
+ 480,
1136
+ 928,
1137
+ 519,
1138
+ 940
1139
+ ],
1140
+ "page_idx": 8
1141
+ },
1142
+ {
1143
+ "type": "list",
1144
+ "sub_type": "ref_text",
1145
+ "list_items": [
1146
+ "James Kirkpatrick, Razvan Pascanu, Neil Rabinowitz, Joel Veness, Guillaume Desjardins, Andrei A. Rusu, Kieran Milan, John Quan, Tiago Ramalho, Agnieszka Grabska-Barwinska, Demis Hassabis, Claudia Clopath, Dharshan Kumaran, and Raia Hadsell. 2017. Overcoming catastrophic forgetting in neural networks. Proceedings of the National Academy of Sciences, 114(13):3521-3526.",
1147
+ "Tassilo Klein and Moin Nabi. 2021. Towards zero-shot commonsense reasoning with self-supervised refinement of language models. CoRR, abs/2109.05105.",
1148
+ "Mike Lewis, Yinhan Liu, Naman Goyal, Marjan Ghazvininejad, Abdelrahman Mohamed, Omer Levy, Veselin Stoyanov, and Luke Zettlemoyer. 2020. BART: denoising sequence-to-sequence pretraining for natural language generation, translation, and comprehension. In ACL, pages 7871-7880. Association for Computational Linguistics.",
1149
+ "Shiyang Li, Jianshu Chen, and Dian Yu. 2019. Teaching pretrained models with commonsense reasoning: A preliminary kb-based approach. CoRR, abs/1909.09743.",
1150
+ "Bill Yuchen Lin, Xinyue Chen, Jamin Chen, and Xiang Ren. 2019. _Kagnet: Knowledge-aware graph networks for commonsense reasoning_. In _EMNLP/IJCNLP (1)_, pages 2829-2839. Association for Computational Linguistics.",
1151
+ "Bill Yuchen Lin, Wangchunshu Zhou, Ming Shen, Pei Zhou, Chandra Bhagavatula, Yejin Choi, and Xiang Ren. 2020. *Commongen: A constrained text generation challenge for generative commonsense reasoning*. In *Findings of the Association for Computational Linguistics: EMNLP* 2020, Online Event, 16-20 November 2020, volume EMNLP 2020 of *Findings of ACL*, pages 1823-1840. Association for Computational Linguistics.",
1152
+ "Ye Liu, Yao Wan, Lifang He, Hao Peng, and Philip S. Yu. 2020. Kg-bart: Knowledge graph-augmented bart for generative commonsense reasoning.",
1153
+ "Ye Liu, Yao Wan, Lifang He, Hao Peng, and Philip S. Yu. 2021. KG-BART: knowledge graph-augmented BART for generative commonsense reasoning. In AAAI, pages 6418-6425. AAAI Press.",
1154
+ "Christopher D. Manning, Kevin Clark, John Hewitt, Urvashi Khandelwal, and Omer Levy. 2020. Emergent linguistic structure in artificial neural networks trained by self-supervision. Proc. Natl. Acad. Sci. USA, 117(48):30046-30054.",
1155
+ "William Merrill, Yoav Goldberg, Roy Schwartz, and Noah A. Smith. 2021. Provable limitations of acquiring meaning from ungrounded form: What will future language models understand? CoRR, abs/2104.10809.",
1156
+ "Todor Mihaylov, Peter Clark, Tushar Khot, and Ashish Sabharwal. 2018. Can a suit of armor conduct electricity? a new dataset for open book question answering. arXiv preprint arXiv:1809.02789."
1157
+ ],
1158
+ "bbox": [
1159
+ 115,
1160
+ 85,
1161
+ 489,
1162
+ 917
1163
+ ],
1164
+ "page_idx": 9
1165
+ },
1166
+ {
1167
+ "type": "list",
1168
+ "sub_type": "ref_text",
1169
+ "list_items": [
1170
+ "Matthew E Peters, Mark Neumann, Robert L Logan IV, Roy Schwartz, Vidur Joshi, Sameer Singh, and Noah A Smith. 2019. Knowledge enhanced contextual word representations. arXiv preprint arXiv:1909.04164.",
1171
+ "Fabio Petroni, Tim Roktaschel, Sebastian Riedel, Patrick S. H. Lewis, Anton Bakhtin, Yuxiang Wu, and Alexander H. Miller. 2019. Language models as knowledge bases? 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 2019, Hong Kong, China, November 3-7, 2019, pages 2463-2473. Association for Computational Linguistics.",
1172
+ "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.",
1173
+ "Colin Raffel, Noam Shazeer, Adam Roberts, Katherine Lee, Sharan Narang, Michael Matena, Yanqi Zhou, Wei Li, and Peter J. Liu. 2020. Exploring the limits of transfer learning with a unified text-to-text transformer. J. Mach. Learn. Res., 21:140:1-140:67.",
1174
+ "Pranav Rajpurkar, Jian Zhang, Konstantin Lopyrev, and Percy Liang. 2016. Squad: 100, $000+$ questions for machine comprehension of text. In EMNLP.",
1175
+ "Adam Roberts, Colin Raffel, and Noam Shazeer. 2020. How much knowledge can you pack into the parameters of a language model? In Proceedings of the 2020 Conference on Empirical Methods in Natural Language Processing, EMNLP 2020, Online, November 16-20, 2020, pages 5418-5426. Association for Computational Linguistics.",
1176
+ "Melissa Roemmele, Cosmin Adrian Bejan, and Andrew S. Gordon. 2011. Choice of plausible alternatives: An evaluation of commonsense causal reasoning. In *Logical Formalizations of Commonsense Reasoning*, Papers from the 2011 AAAI Spring Symposium, Technical Report SS-11-06, Stanford, California, USA, March 21-23, 2011. AAAI.",
1177
+ "Maarten Sap, Ronan Le Bras, Emily Allaway, Chandra Bhagavatula, Nicholas Lourie, Hannah Rashkin, Brendan Roof, Noah A. Smith, and Yejin Choi. 2019a. ATOMIC: an atlas of machine commonsense for if-then reasoning. In AAAI, pages 3027-3035. AAAI Press.",
1178
+ "Maarten Sap, Hannah Rashkin, Derek Chen, Ronan Le Bras, and Yejin Choi. 2019b. Socialiaq: Commonsense reasoning about social interactions. In EMNLP.",
1179
+ "Richard Socher, Alex Perelygin, Jean Wu, Jason Chuang, Christopher D. Manning, Andrew Y. Ng, and Christopher Potts. 2013. Recursive deep models for semantic compositionality over a sentiment treebank. In EMNLP."
1180
+ ],
1181
+ "bbox": [
1182
+ 510,
1183
+ 85,
1184
+ 884,
1185
+ 917
1186
+ ],
1187
+ "page_idx": 9
1188
+ },
1189
+ {
1190
+ "type": "page_number",
1191
+ "text": "5955",
1192
+ "bbox": [
1193
+ 480,
1194
+ 928,
1195
+ 519,
1196
+ 940
1197
+ ],
1198
+ "page_idx": 9
1199
+ },
1200
+ {
1201
+ "type": "list",
1202
+ "sub_type": "ref_text",
1203
+ "list_items": [
1204
+ "Robyn Speer, Joshua Chin, and Catherine Havasi. 2017. Conceptnet 5.5: An open multilingual graph of general knowledge. In AAAI, pages 4444-4451. AAAI Press.",
1205
+ "Alon Talmor, Jonathan Herzig, Nicholas Lourie, and Jonathan Berant. 2018. Commonsenseqa: A question answering challenge targeting commonsense knowledge. arXiv preprint arXiv:1811.00937.",
1206
+ "Lifu Tu, Garima Lalwani, Spandana Gella, and He He. 2020. An empirical study on robustness to spurious correlations using pre-trained language models. Trans. Assoc. Comput. Linguistics, 8:621-633.",
1207
+ "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 NIPS, pages 5998-6008.",
1208
+ "Alex Wang, Amanpreet Singh, Julian Michael, Felix Hill, Omer Levy, and Samuel R. Bowman. 2019. GLUE: A multi-task benchmark and analysis platform for natural language understanding. In ICLR.",
1209
+ "Ruize Wang, Duyu Tang, Nan Duan, Zhongyu Wei, Xuanjing Huang, Cuihong Cao, Daxin Jiang, Ming Zhou, et al. 2020. K-adapter: Infusing knowledge into pre-trained models with adapters. arXiv preprint arXiv:2002.01808.",
1210
+ "Alex Warstadt, Amanpreet Singh, and Samuel R. Bowman. 2019. Neural network acceptability judgments. TACL.",
1211
+ "Adina Williams, Nikita Nangia, and Samuel R. Bowman. 2018. A broad-coverage challenge corpus for sentence understanding through inference. In *NAACL-HLT*.",
1212
+ "Thomas Wolf, Lysandre Debut, Victor Sanh, Julien Chaumond, Clement Delangue, Anthony Moi, Pierric Cistac, Tim Rault, Rémi 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 M. Rush. 2019. Huggingface's transformers: State-of-the-art natural language processing. ArXiv, abs/1910.03771.",
1213
+ "Wenhan Xiong, Jingfei Du, William Yang Wang, and Veselin Stoyanov. 2020. Pretrained encyclopedia: Weakly supervised knowledge-pretrained language model. In International Conference on Learning Representations.",
1214
+ "Canwen Xu, Wangchunshu Zhou, Tao Ge, Ke Xu, Julian J. McAuley, and Furu Wei. 2021. Blow the dog whistle: A chinese dataset for cant understanding with common sense and world knowledge. In NAACL-HLT, pages 2139-2145. Association for Computational Linguistics."
1215
+ ],
1216
+ "bbox": [
1217
+ 115,
1218
+ 85,
1219
+ 485,
1220
+ 917
1221
+ ],
1222
+ "page_idx": 10
1223
+ },
1224
+ {
1225
+ "type": "list",
1226
+ "sub_type": "ref_text",
1227
+ "list_items": [
1228
+ "Zhi-Xiu Ye, Qian Chen, Wen Wang, and Zhen-Hua Ling. 2019. Align, mask and select: A simple method for incorporating commonsense knowledge into language representation models. CoRR, abs/1908.06725.",
1229
+ "Zhengyan Zhang, Xu Han, Zhiyuan Liu, Xin Jiang, Maosong Sun, and Qun Liu. 2019. Ernie: Enhanced language representation with informative entities. arXiv preprint arXiv:1905.07129.",
1230
+ "Wangchunshu Zhou, Dong-Ho Lee, Ravi Kiran Selvam, Seyeon Lee, and Xiang Ren. 2021. Pretraining text-to-text transformers for concept-centric common sense. In ICLR. OpenReview.net.",
1231
+ "Xuhui Zhou, Yue Zhang, Leyang Cui, and Dandan Huang. 2020a. Evaluating commonsense in pretrained language models. In AAAI, pages 9733-9740. AAAI Press.",
1232
+ "Xuhui Zhou, Yue Zhang, Leyang Cui, and Dandan Huang. 2020b. Evaluating commonsense in pretrained language models. In AAAI, pages 9733-9740.",
1233
+ "Yukun Zhu, Ryan Kiros, Richard S. Zemel, Ruslan Salakhutdinov, Raquel Urtasun, Antonio Torralba, and Sanja Fidler. 2015. Aligning books and movies: Towards story-like visual explanations by watching movies and reading books. In 2015 IEEE International Conference on Computer Vision, ICCV 2015, Santiago, Chile, December 7-13, 2015, pages 19-27. IEEE Computer Society."
1234
+ ],
1235
+ "bbox": [
1236
+ 510,
1237
+ 85,
1238
+ 880,
1239
+ 516
1240
+ ],
1241
+ "page_idx": 10
1242
+ },
1243
+ {
1244
+ "type": "page_number",
1245
+ "text": "5956",
1246
+ "bbox": [
1247
+ 480,
1248
+ 928,
1249
+ 519,
1250
+ 940
1251
+ ],
1252
+ "page_idx": 10
1253
+ },
1254
+ {
1255
+ "type": "text",
1256
+ "text": "A Pre-training and Fine-tuning Details",
1257
+ "text_level": 1,
1258
+ "bbox": [
1259
+ 112,
1260
+ 84,
1261
+ 465,
1262
+ 99
1263
+ ],
1264
+ "page_idx": 11
1265
+ },
1266
+ {
1267
+ "type": "text",
1268
+ "text": "A.1 Pre-Training Details",
1269
+ "text_level": 1,
1270
+ "bbox": [
1271
+ 112,
1272
+ 109,
1273
+ 324,
1274
+ 124
1275
+ ],
1276
+ "page_idx": 11
1277
+ },
1278
+ {
1279
+ "type": "text",
1280
+ "text": "We implement our models using Pytorchlightning (Falcon, 2019) and Hugginface's Pytorch Transformers (Wolf et al., 2019). For pre-training phase, we use the AdamW optimizer with maximum sequence length 256, train batch size 8, gradient accumulation 8, warmup steps 8000, weight decay 0.01 and adam epsilon 1e-6. We train the models with 8 V100 GPUs and FP32 precision. The model is pre-trained for 10 epochs. We searched for the best learning rate for our model out of [5e-6, 2e-5, 5e-5, 1e-4].",
1281
+ "bbox": [
1282
+ 112,
1283
+ 130,
1284
+ 489,
1285
+ 305
1286
+ ],
1287
+ "page_idx": 11
1288
+ },
1289
+ {
1290
+ "type": "text",
1291
+ "text": "A.2 Fine-Tuning Details",
1292
+ "text_level": 1,
1293
+ "bbox": [
1294
+ 112,
1295
+ 317,
1296
+ 319,
1297
+ 332
1298
+ ],
1299
+ "page_idx": 11
1300
+ },
1301
+ {
1302
+ "type": "text",
1303
+ "text": "For fine-tuning, we use 4 V100 GPUs and use FP32. For all tasks, we use the AdamW optimizer with learning rate from [1e-5, 2e-5, 5e-5, 1e-4, 2e-4], maximum sequence length 256, batch size from [4, 8, 16, 32]. For all tasks, we use a warmup fraction of 0.01, and max epoch of 20.",
1304
+ "bbox": [
1305
+ 112,
1306
+ 338,
1307
+ 487,
1308
+ 434
1309
+ ],
1310
+ "page_idx": 11
1311
+ },
1312
+ {
1313
+ "type": "text",
1314
+ "text": "B Additional Analysis",
1315
+ "text_level": 1,
1316
+ "bbox": [
1317
+ 112,
1318
+ 445,
1319
+ 322,
1320
+ 462
1321
+ ],
1322
+ "page_idx": 11
1323
+ },
1324
+ {
1325
+ "type": "text",
1326
+ "text": "B.1 Qualitative Analysis",
1327
+ "text_level": 1,
1328
+ "bbox": [
1329
+ 112,
1330
+ 472,
1331
+ 322,
1332
+ 488
1333
+ ],
1334
+ "page_idx": 11
1335
+ },
1336
+ {
1337
+ "type": "text",
1338
+ "text": "To better understand the proposed method, we present a case study in Figure 5. We can see that both the objectives introduced in the CALM model and the salient span masking (SSM) strategy fail to exploit the underlying commonsense rationale beyond the surface form of texts while our approach directly aligns texts with the corresponding commonsense inferences with different commonsense relations. That explains why commonsense knowledge transfer can effectively improve a pre-trained model's performance on downstream tasks requiring commonsense reasoning ability.",
1339
+ "bbox": [
1340
+ 112,
1341
+ 492,
1342
+ 489,
1343
+ 684
1344
+ ],
1345
+ "page_idx": 11
1346
+ },
1347
+ {
1348
+ "type": "text",
1349
+ "text": "B.2 Experimental Results on GLUE",
1350
+ "text_level": 1,
1351
+ "bbox": [
1352
+ 112,
1353
+ 696,
1354
+ 413,
1355
+ 711
1356
+ ],
1357
+ "page_idx": 11
1358
+ },
1359
+ {
1360
+ "type": "text",
1361
+ "text": "To verify that commonsense knowledge transfer is suitable for general-purpose pre-trained models, we fine-tune our model on the GLUE benchmark (Wang et al., 2019). Specifically, we test on MRPC (Dolan and Brockett, 2005), $\\mathrm{QQP}^1$ and STS-B (Conneau and Kiela, 2018) for Paraphrase Similarity Matching; SST-2 (Socher et al., 2013) for Sentiment Classification; MNLI (Williams et al., 2018), QNLI (Rajpurkar et al., 2016) and RTE (Wang et al., 2019) for the Natural Language",
1362
+ "bbox": [
1363
+ 112,
1364
+ 715,
1365
+ 487,
1366
+ 878
1367
+ ],
1368
+ "page_idx": 11
1369
+ },
1370
+ {
1371
+ "type": "image",
1372
+ "img_path": "images/a89e129b49bc350c147d63748da638dfdbafe7832ddb7d8c5efd8ff431cf4eae.jpg",
1373
+ "image_caption": [
1374
+ "Commonsense Text Infilling",
1375
+ "Figure 5: Performance on the CSQA dataset w.r.t. the size of training data used for commonsense knowledge transfer."
1376
+ ],
1377
+ "image_footnote": [],
1378
+ "bbox": [
1379
+ 515,
1380
+ 102,
1381
+ 877,
1382
+ 225
1383
+ ],
1384
+ "page_idx": 11
1385
+ },
1386
+ {
1387
+ "type": "image",
1388
+ "img_path": "images/3ef0bfdea7718e704a99b95df607d6ba624dbef9d1783bb645dbb79882ee4442.jpg",
1389
+ "image_caption": [
1390
+ "Figure 6: Performance on the CSQA dataset w.r.t. the size of training data used for commonsense knowledge transfer."
1391
+ ],
1392
+ "image_footnote": [],
1393
+ "bbox": [
1394
+ 519,
1395
+ 326,
1396
+ 848,
1397
+ 549
1398
+ ],
1399
+ "page_idx": 11
1400
+ },
1401
+ {
1402
+ "type": "text",
1403
+ "text": "Inference; CoLA (Warstadt et al., 2019) for Linguistic Acceptability.",
1404
+ "bbox": [
1405
+ 507,
1406
+ 639,
1407
+ 882,
1408
+ 671
1409
+ ],
1410
+ "page_idx": 11
1411
+ },
1412
+ {
1413
+ "type": "text",
1414
+ "text": "The results are shown on Table 4, we can see that after commonsense knowledge transfer, the resulting model's general natural language understanding ability is comparable with the original T5-base model. This shows that our approach does not affect the model's general transfer ability and thus can be applied to general-purpose language models.",
1415
+ "bbox": [
1416
+ 507,
1417
+ 673,
1418
+ 882,
1419
+ 800
1420
+ ],
1421
+ "page_idx": 11
1422
+ },
1423
+ {
1424
+ "type": "text",
1425
+ "text": "B.3 Experiments with BART",
1426
+ "text_level": 1,
1427
+ "bbox": [
1428
+ 507,
1429
+ 816,
1430
+ 752,
1431
+ 831
1432
+ ],
1433
+ "page_idx": 11
1434
+ },
1435
+ {
1436
+ "type": "text",
1437
+ "text": "To demonstrate the versatility of commonsense knowledge transfer for different backbones, we conduct additional experiments using BART as the backbone model. The results are shown in Table 5. We can see that commonsense knowledge trans",
1438
+ "bbox": [
1439
+ 507,
1440
+ 839,
1441
+ 882,
1442
+ 917
1443
+ ],
1444
+ "page_idx": 11
1445
+ },
1446
+ {
1447
+ "type": "page_footnote",
1448
+ "text": "<https://www.quora.com/q/quoradata/ First-Quora-Dataset-Release-Question-Pairs",
1449
+ "bbox": [
1450
+ 112,
1451
+ 892,
1452
+ 502,
1453
+ 917
1454
+ ],
1455
+ "page_idx": 11
1456
+ },
1457
+ {
1458
+ "type": "page_number",
1459
+ "text": "5957",
1460
+ "bbox": [
1461
+ 480,
1462
+ 927,
1463
+ 519,
1464
+ 940
1465
+ ],
1466
+ "page_idx": 11
1467
+ },
1468
+ {
1469
+ "type": "table",
1470
+ "img_path": "images/d41a20890e3219061d7702c62bf169b0ad7423711c646848d1b36dde53771d78.jpg",
1471
+ "table_caption": [],
1472
+ "table_footnote": [],
1473
+ "table_body": "<table><tr><td>Methods</td><td>CoLA</td><td>MNLI</td><td>MRPC</td><td>QNLI</td><td>QQP</td><td>RTE</td><td>SST-2</td><td>SST-B</td><td>Meta Score</td></tr><tr><td>BERT-base</td><td>58.9</td><td>84.7</td><td>89.6</td><td>91.2</td><td>90.0</td><td>71.4</td><td>93.0</td><td>90.0</td><td>83.6</td></tr><tr><td>T5-base</td><td>55.9</td><td>84.5</td><td>90.3</td><td>90.5</td><td>90.2</td><td>76.2</td><td>92.8</td><td>87.8</td><td>83.5</td></tr><tr><td>CKT-base</td><td>57.4</td><td>84.4</td><td>90.6</td><td>90.9</td><td>89.9</td><td>76.8</td><td>92.5</td><td>88.4</td><td>83.9</td></tr></table>",
1474
+ "bbox": [
1475
+ 121,
1476
+ 82,
1477
+ 873,
1478
+ 164
1479
+ ],
1480
+ "page_idx": 12
1481
+ },
1482
+ {
1483
+ "type": "table",
1484
+ "img_path": "images/2fba38be9c2b6c98f2a676bffb3cead7a9475154e92f32e169a9e579442d6822.jpg",
1485
+ "table_caption": [
1486
+ "Table 4: Experimental results of base-size models on the GLUE benchmark."
1487
+ ],
1488
+ "table_footnote": [],
1489
+ "table_body": "<table><tr><td>Methods</td><td>CSQA</td><td>OBQA</td><td>PIQA</td><td>aNLI</td><td>SOCIALIQA</td><td>COPA</td></tr><tr><td>BART</td><td>72.31</td><td>65.80</td><td>74.12</td><td>78.27</td><td>71.6</td><td>85.6</td></tr><tr><td>CKT-BART</td><td>73.14</td><td>68.20</td><td>76.95</td><td>79.52</td><td>73.3</td><td>87.2</td></tr></table>",
1490
+ "bbox": [
1491
+ 159,
1492
+ 189,
1493
+ 836,
1494
+ 266
1495
+ ],
1496
+ "page_idx": 12
1497
+ },
1498
+ {
1499
+ "type": "text",
1500
+ "text": "fer also consistently improves the BART model, demonstrating the versatility of our approach.",
1501
+ "bbox": [
1502
+ 112,
1503
+ 298,
1504
+ 487,
1505
+ 331
1506
+ ],
1507
+ "page_idx": 12
1508
+ },
1509
+ {
1510
+ "type": "table",
1511
+ "img_path": "images/e408fea8065c55cf7133a9681ce6537ef6ed1f5a6f869e625bf968b5aba03253.jpg",
1512
+ "table_caption": [
1513
+ "Table 5: Experimental results (mean of 3 random runs) with BART."
1514
+ ],
1515
+ "table_footnote": [],
1516
+ "table_body": "<table><tr><td>Methods</td><td>BLEU-4</td><td>METEOR</td><td>CIDEr</td><td>SPICE</td></tr><tr><td>T5-base</td><td>24.90</td><td>31.20</td><td>12.99</td><td>32.40</td></tr><tr><td>CALM-base</td><td>26.40</td><td>31.40</td><td>13.88</td><td>33.00</td></tr><tr><td>CKT-base</td><td>26.20</td><td>31.40</td><td>13.65</td><td>33.10</td></tr></table>",
1517
+ "bbox": [
1518
+ 119,
1519
+ 342,
1520
+ 482,
1521
+ 407
1522
+ ],
1523
+ "page_idx": 12
1524
+ },
1525
+ {
1526
+ "type": "text",
1527
+ "text": "Table 6: Experimental results (mean of 3 random runs) with BART.",
1528
+ "bbox": [
1529
+ 112,
1530
+ 417,
1531
+ 485,
1532
+ 444
1533
+ ],
1534
+ "page_idx": 12
1535
+ },
1536
+ {
1537
+ "type": "text",
1538
+ "text": "B.4 Experiments on CommonGEN",
1539
+ "text_level": 1,
1540
+ "bbox": [
1541
+ 114,
1542
+ 466,
1543
+ 403,
1544
+ 481
1545
+ ],
1546
+ "page_idx": 12
1547
+ },
1548
+ {
1549
+ "type": "text",
1550
+ "text": "We also experiment on the CommonGEN dataset, a generative commonsense reasoning dataset where the model is required to take several keywords as inputs and output a sentence that makes sense. The results are shown in Table 6. We can see that our approach performs similarly with the CALM model, which includes the CommonGEN task objective as one of the pre-training tasks.",
1551
+ "bbox": [
1552
+ 112,
1553
+ 487,
1554
+ 487,
1555
+ 615
1556
+ ],
1557
+ "page_idx": 12
1558
+ },
1559
+ {
1560
+ "type": "text",
1561
+ "text": "B.5 Impact of Pre-training Data Size",
1562
+ "text_level": 1,
1563
+ "bbox": [
1564
+ 112,
1565
+ 626,
1566
+ 420,
1567
+ 642
1568
+ ],
1569
+ "page_idx": 12
1570
+ },
1571
+ {
1572
+ "type": "text",
1573
+ "text": "We also conduct experiments to investigate the sample-efficiency of commonsense knowledge transfer. We present the trend of performance improvement in Figure 6. We can see that our method achieves significant performance improvement upon the T5 baseline with only $10\\%$ of the total training data, which confirms the sample-efficiency of commonsense knowledge transfer.",
1574
+ "bbox": [
1575
+ 112,
1576
+ 646,
1577
+ 489,
1578
+ 776
1579
+ ],
1580
+ "page_idx": 12
1581
+ },
1582
+ {
1583
+ "type": "page_number",
1584
+ "text": "5958",
1585
+ "bbox": [
1586
+ 480,
1587
+ 928,
1588
+ 519,
1589
+ 940
1590
+ ],
1591
+ "page_idx": 12
1592
+ },
1593
+ {
1594
+ "type": "text",
1595
+ "text": "A For every submission:",
1596
+ "bbox": [
1597
+ 114,
1598
+ 107,
1599
+ 322,
1600
+ 122
1601
+ ],
1602
+ "page_idx": 13
1603
+ },
1604
+ {
1605
+ "type": "list",
1606
+ "sub_type": "text",
1607
+ "list_items": [
1608
+ "A1. Did you describe the limitations of your work? limitation",
1609
+ "A2. Did you discuss any potential risks of your work? ethical statement",
1610
+ "A3. Do the abstract and introduction summarize the paper's main claims? abstract and introduction",
1611
+ "A4. Have you used AI writing assistants when working on this paper? Left blank."
1612
+ ],
1613
+ "bbox": [
1614
+ 129,
1615
+ 126,
1616
+ 695,
1617
+ 287
1618
+ ],
1619
+ "page_idx": 13
1620
+ },
1621
+ {
1622
+ "type": "text",
1623
+ "text": "B Did you use or create scientific artifacts?",
1624
+ "bbox": [
1625
+ 114,
1626
+ 299,
1627
+ 487,
1628
+ 316
1629
+ ],
1630
+ "page_idx": 13
1631
+ },
1632
+ {
1633
+ "type": "text",
1634
+ "text": "experiment",
1635
+ "bbox": [
1636
+ 132,
1637
+ 322,
1638
+ 218,
1639
+ 336
1640
+ ],
1641
+ "page_idx": 13
1642
+ },
1643
+ {
1644
+ "type": "list",
1645
+ "sub_type": "text",
1646
+ "list_items": [
1647
+ "B1. Did you cite the creators of artifacts you used? experiment",
1648
+ "B2. Did you discuss the license or terms for use and / or distribution of any artifacts? they're commonly used datasets",
1649
+ "B3. Did you discuss if your use of existing artifact(s) was consistent with their intended use, provided that it was specified? For the artifacts you create, do you specify intended use and whether that is compatible with the original access conditions (in particular, derivatives of data accessed for research purposes should not be used outside of research contexts)? they're commonly used datasets",
1650
+ "B4. Did you discuss the steps taken to check whether the data that was collected / used contains any information that names or uniquely identifies individual people or offensive content, and the steps taken to protect / anonymize it? they're commonly used datasets",
1651
+ "B5. Did you provide documentation of the artifacts, e.g., coverage of domains, languages, and linguistic phenomena, demographic groups represented, etc.? they're commonly used datasets",
1652
+ "B6. Did you report relevant statistics like the number of examples, details of train / test / dev splits, etc. for the data that you used / created? Even for commonly-used benchmark datasets, include the number of examples in train / validation / test splits, as these provide necessary context for a reader to understand experimental results. For example, small differences in accuracy on large test sets may be significant, while on small test sets they may not be. they're commonly used datasets"
1653
+ ],
1654
+ "bbox": [
1655
+ 129,
1656
+ 346,
1657
+ 880,
1658
+ 753
1659
+ ],
1660
+ "page_idx": 13
1661
+ },
1662
+ {
1663
+ "type": "text",
1664
+ "text": "C Did you run computational experiments?",
1665
+ "bbox": [
1666
+ 114,
1667
+ 764,
1668
+ 492,
1669
+ 781
1670
+ ],
1671
+ "page_idx": 13
1672
+ },
1673
+ {
1674
+ "type": "text",
1675
+ "text": "experiment",
1676
+ "bbox": [
1677
+ 132,
1678
+ 788,
1679
+ 218,
1680
+ 802
1681
+ ],
1682
+ "page_idx": 13
1683
+ },
1684
+ {
1685
+ "type": "text",
1686
+ "text": "C1. Did you report the number of parameters in the models used, the total computational budget (e.g., GPU hours), and computing infrastructure used? experiment",
1687
+ "bbox": [
1688
+ 129,
1689
+ 812,
1690
+ 880,
1691
+ 860
1692
+ ],
1693
+ "page_idx": 13
1694
+ },
1695
+ {
1696
+ "type": "text",
1697
+ "text": "The Responsible NLP Checklist used at ACL 2023 is adopted from NAACL 2022, with the addition of a question on AI writing assistance.",
1698
+ "bbox": [
1699
+ 112,
1700
+ 868,
1701
+ 877,
1702
+ 892
1703
+ ],
1704
+ "page_idx": 13
1705
+ },
1706
+ {
1707
+ "type": "header",
1708
+ "text": "ACL 2023 Responsible NLP Checklist",
1709
+ "bbox": [
1710
+ 132,
1711
+ 84,
1712
+ 433,
1713
+ 99
1714
+ ],
1715
+ "page_idx": 13
1716
+ },
1717
+ {
1718
+ "type": "page_number",
1719
+ "text": "5959",
1720
+ "bbox": [
1721
+ 480,
1722
+ 928,
1723
+ 519,
1724
+ 940
1725
+ ],
1726
+ "page_idx": 13
1727
+ },
1728
+ {
1729
+ "type": "list",
1730
+ "sub_type": "text",
1731
+ "list_items": [
1732
+ "C2. Did you discuss the experimental setup, including hyperparameter search and best-found hyperparameter values? experiment",
1733
+ "C3. Did you report descriptive statistics about your results (e.g., error bars around results, summary statistics from sets of experiments), and is it transparent whether you are reporting the max, mean, etc. or just a single run? experiment",
1734
+ "C4. If you used existing packages (e.g., for preprocessing, for normalization, or for evaluation), did you report the implementation, model, and parameter settings used (e.g., NLTK, Spacy, ROUGE, etc.)? experiment"
1735
+ ],
1736
+ "bbox": [
1737
+ 129,
1738
+ 83,
1739
+ 878,
1740
+ 282
1741
+ ],
1742
+ "page_idx": 14
1743
+ },
1744
+ {
1745
+ "type": "text",
1746
+ "text": "D Did you use human annotators (e.g., crowdworkers) or research with human participants? Left blank.",
1747
+ "bbox": [
1748
+ 112,
1749
+ 293,
1750
+ 877,
1751
+ 330
1752
+ ],
1753
+ "page_idx": 14
1754
+ },
1755
+ {
1756
+ "type": "list",
1757
+ "sub_type": "text",
1758
+ "list_items": [
1759
+ "D1. Did you report the full text of instructions given to participants, including e.g., screenshots, disclaimers of any risks to participants or annotators, etc.? Left blank.",
1760
+ "D2. Did you report information about how you recruited (e.g., crowdsourcing platform, students) and paid participants, and discuss if such payment is adequate given the participants' demographic (e.g., country of residence)? Left blank.",
1761
+ "D3. Did you discuss whether and how consent was obtained from people whose data you're using/curating? For example, if you collected data via crowdsourcing, did your instructions to crowdworkers explain how the data would be used? No response.",
1762
+ "D4. Was the data collection protocol approved (or determined exempt) by an ethics review board? No response.",
1763
+ "D5. Did you report the basic demographic and geographic characteristics of the annotator population that is the source of the data? No response."
1764
+ ],
1765
+ "bbox": [
1766
+ 127,
1767
+ 340,
1768
+ 878,
1769
+ 640
1770
+ ],
1771
+ "page_idx": 14
1772
+ },
1773
+ {
1774
+ "type": "page_number",
1775
+ "text": "5960",
1776
+ "bbox": [
1777
+ 480,
1778
+ 928,
1779
+ 521,
1780
+ 940
1781
+ ],
1782
+ "page_idx": 14
1783
+ }
1784
+ ]
2023/Commonsense Knowledge Transfer for Pre-trained Language Models/f96ae55a-934d-4cd1-b9c6-f4ed8849b12f_model.json ADDED
The diff for this file is too large to render. See raw diff
 
2023/Commonsense Knowledge Transfer for Pre-trained Language Models/f96ae55a-934d-4cd1-b9c6-f4ed8849b12f_origin.pdf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:cbdffb32d95770a39c2cf2cf399cf72f5ba6f909f590e8b9dddda5d67d8ff872
3
+ size 2666992
2023/Commonsense Knowledge Transfer for Pre-trained Language Models/full.md ADDED
@@ -0,0 +1,325 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Commonsense Knowledge Transfer for Pre-trained Language Models
2
+
3
+ Wangchunshu Zhou*¹ Ronan Le Bras² Yejin Choi²³
4
+
5
+ $^{1}$ ETH Zurich
6
+
7
+ 2Allen Institute for AI
8
+
9
+ <sup>3</sup>Paul G. Allen School of Computer Science & Engineering, University of Washington wangchunshu.zhou@inf.ethz.ch
10
+
11
+ # Abstract
12
+
13
+ Despite serving as the foundation models for a wide range of NLP benchmarks, pre-trained language models have shown limited capabilities of acquiring implicit commonsense knowledge from self-supervision alone, compared to learning linguistic and factual knowledge that appear more explicitly in the surface patterns in text.
14
+
15
+ In this work, we introduce commonsense knowledge transfer, a framework to transfer the commonsense knowledge stored in a neural commonsense knowledge model to a general-purpose pre-trained language model. It first exploits general texts to form queries for extracting commonsense knowledge from the neural commonsense knowledge model and then refines the language model with two self-supervised objectives: commonsense mask infilling and commonsense relation prediction, which align human language with the underlying commonsense knowledge.
16
+
17
+ Empirical results show that our approach consistently improves the model's performance on downstream tasks that require commonsense reasoning. Moreover, we find that the improvement is more significant in the few-shot setting. This suggests that our approach helps language models better transfer to downstream tasks without extensive supervision by injecting commonsense knowledge into their parameters.
18
+
19
+ # 1 Introduction
20
+
21
+ Recent advances in pre-trained language models have transformed the landscape of natural language processing. Self-supervised pre-training objectives including masked language modeling (Devlin et al., 2019) and masked span infilling (Lewis et al., 2020) enable pre-trained models to acquire linguistic (Hewitt and Manning, 2019; Manning et al., 2020) and
22
+
23
+ ![](images/1832410ace14b469811e8e90ee7af2805ccfeacefbfaf920aef3a7e20737e420.jpg)
24
+ Figure 1: Illustration of the commonsense knowledge transfer framework. We first extract commonsense knowledge related to sentences in general text corpus from a neural commonsense knowledge model. We then use natural texts and the extracted commonsense knowledge to form self-supervised training data to refine a pre-trained model with commonsense knowledge.
25
+
26
+ factual knowledge (Petroni et al., 2019) by modeling the distribution of naturally occurring texts. However, most of these objectives are limited to exploiting the surface form of human language, and the lack of grounded supervision calls into question how well these representations can ever capture meaning (Bender and Koller, 2020), not to mention the underlying commonsense knowledge which is often reasoned implicitly and does not appear in the surface form of human language (Merrill et al., 2021; Zhou et al., 2020a; Hwang et al., 2021). On the other hand, commonsense reasoning is important for building generalizable models because it enables the model to reason about a great number of events, causes, and effects, while observing only a small fraction of them. The ineffectiveness of self-supervised language model pre-training on acquiring commonsense knowledge makes them require a relatively large number of labeled examples to succeed in a downstream task and prune to overfit task-specific correlations (Tu et al., 2020).
27
+
28
+ Therefore, equipping pre-trained language models with commonsense reasoning ability has at
29
+
30
+ tracted much attention. To this end, two distinct lines of research focus on improving commonsense reasoning ability of pre-trained language models. The first one focuses on incorporating external commonsense knowledge graph for commonsense reasoning (Lin et al., 2019; Liu et al., 2021; Cui and Chen, 2021) while the other attempts to inject commonsense knowledge into the parameters of pretrained models (Li et al., 2019; Zhou et al., 2021; Klein and Nabi, 2021). In this work we focus on the second type of method because it alleviates the need for external knowledge bases for training and inference on downstream tasks, thus simpler, more efficient, and not limited by the coverage issue of external knowledge bases.
31
+
32
+ Prior work injects commonsense knowledge into pre-trained models either on symbolic commonsense knowledge graphs with manually defined rules (Li et al., 2019) or masked language modeling (Hosseini et al., 2021) or on general text corpus with concept-centric self-supervised objectives (Zhou et al., 2021). The former method is limited by the coverage of knowledge graphs and human-written rules. It also fails to make use of large-scale diverse natural text corpus. Therefore, the training is limited to short and synthetic commonsense tuples, which affects its generalization ability on diverse downstream tasks. The latter method, however, only captures surface-level order relations between concepts and fails to learn commonsense relations between concepts such as cause, effect, intent, requirement, etc., which are crucial for commonsense reasoning but often implicitly reasoned, thus do not appear in the surface form of natural language.
33
+
34
+ In this work, we propose commonsense knowledge transfer, an alternative framework to refine a general purpose pre-trained model's commonsense reasoning ability. In contrast to previous work, it aims to transfer the commonsense knowledge stored in a neural commonsense knowledge model (e.g., COMET (Bosselut et al., 2019)) to a general purpose pre-trained model on large scale general text corpus. In this way, our approach combines the best of both worlds from prior art: the dense and informative commonsense knowledge from commonsense knowledge graphs and the accessibility of large-scale diverse general corpus.
35
+
36
+ Commonsense knowledge transfer is conceptually related to knowledge distillation (KD) (Hinton et al., 2015) since they both aim to trans
37
+
38
+ fer knowledge from a knowledge-rich model to another model that lacks it. However, different from conventional KD, in commonsense knowledge transfer, the source model (i.e., neural commonsense model) and the target model (i.e., pretrained model) are heterogeneous. Moreover, instead of simply mimicking the teacher model, commonsense knowledge transfer requires the target model to learn specialized knowledge from the source model while retaining its own capability. This poses unique challenges since the knowledge transfer can not be accomplished by simply matching the logits or feature distribution between the student and the teacher. To this end, we propose to first extract commonsense knowledge in textual form from the source model and then exploit the extracted knowledge to form self-supervised training data for the target model. As illustrated in Figure 1, commonsense knowledge transfer first exploits general texts to form queries for retrieving commonsense knowledge from the neural commonsense knowledge model. Then it refines a pretrained model with two self-supervised objectives that align the surface form of human language with its underlying commonsense inference: commonsense text infilling and commonsense relation prediction. The former objective concatenates natural text with its commonsense inference to form an input example, masks certain spans in it, and trains the model to reconstruct the original input. The latter method instead trains the model to distinguish valid commonsense inference from carefully constructed spurious commonsense inference given the original text and commonsense relation. Refining a pre-trained model by multi-tasking on both generation (former) and understanding (latter) tasks enables the model to better adapt to different kinds of downstream tasks.
39
+
40
+ We refine T5 (Raffel et al., 2020) with commonsense knowledge transfer and fine-tune the resulting model downstream tasks requiring commonsense reasoning ability in both the fully supervised setting and few-shot settings where only a percentage of labeled examples are available. Experimental results show substantial improvements in downstream tasks requiring commonsense reasoning, especially in the few-shot setting, demonstrating the effectiveness of our approach.
41
+
42
+ # 2 Methodology
43
+
44
+ Our proposed commonsense knowledge transfer framework consists of a neural commonsense knowledge model (e.g., COMET) and a pre-trained model (e.g., T5). The goal of commonsense knowledge transfer is to transfer the commonsense knowledge from the neural commonsense knowledge model (i.e., source model) to the pre-trained model (i.e., target model) so that it can generalize better to downstream tasks requiring commonsense reasoning ability.
45
+
46
+ Compared to conventional knowledge transfer methods such as knowledge distillation, commonsense knowledge transfer faces a unique challenge: the source model and the target model are heterogeneous because they are trained on different data with different objectives. As such, we can not simply feed a batch of data to both of the models and train the target model to match the source model's logits or feature distribution. To alleviate this problem, we propose a two-stage knowledge transfer scheme as illustrated in Figure 1. To be specific, we first use natural texts to form queries for retrieving commonsense knowledge (in text form) from the neural commonsense knowledge model. We then construct training data with two novel commonsense-related self-supervised objectives based on the retrieved commonsense knowledge and the corresponding natural text. Finally, we train the target model on the constructed training data to inject commonsense knowledge retrieved from the source model. We describe our method to extract commonsense knowledge from a neural commonsense knowledge model and the proposed commonsense-related self-supervised objectives in detail in this section.
47
+
48
+ # 2.1 Commonsense Knowledge Extraction
49
+
50
+ We first describe the source model, i.e., neural commonsense knowledge model, in the commonsense knowledge transfer framework. It is a transformer (Vaswani et al., 2017) language model trained on commonsense knowledge graphs like ATOMIC (Sap et al., 2019a) and ConceptNet (Speer et al., 2017) with the objective of predicting the object (i.e., commonsense inference) with the subject (i.e., natural text) and relation as input. For example, given a commonsense tuple (s="take a nap", r=Causes, o="have energy"), the neural commonsense knowledge model is trained to generate $o$ given $s$ and $r$ as inputs. After training, it can gen
51
+
52
+ erate accurate, representative knowledge for new, unseen entities and events.
53
+
54
+ To extract commonsense knowledge stored in a neural commonsense knowledge model, we use a natural sentence as the subject $s$ (e.g., he wants to cook a meal) and concatenate it with a randomly selected commonsense relation $r$ (e.g., xNeed) from a pre-defined set to form a prompt (e.g., he wants to cook a meal xNeed). We then feed the prompt to the neural commonsense knowledge model and use it to generate a commonsense inference (e.g., to buy ingredients). In this way, the commonsense knowledge generation process resembles the way in which the neural commonsense knowledge model is trained. As such, we can get commonsense inferences of relatively high qualities.
55
+
56
+ Using a neural commonsense knowledge model as a knowledge source has two advantages. On one hand, compared to the previous method (Li et al., 2019) using a symbolic commonsense knowledge graph, a neural commonsense knowledge model can generalize to unseen subjects, thus enabling us to refine the target pre-trained model on large-scale natural text corpus together with its commonsense inferences. As such, the resulting model can better adapt to downstream tasks which are formulated in diverse natural texts. On the other hand, compared to another method (Zhou et al., 2021) that only uses plain text and is thus limited to the surface form of naturally occurring text, the use of a neural commonsense knowledge model provides much denser commonsense knowledge including a diverse set of commonsense relations between natural texts and the underlying commonsense knowledge.
57
+
58
+ # 2.2 Commonsense Knowledge Injection
59
+
60
+ After commonsense knowledge extraction, we need to inject the extracted commonsense knowledge into the target model. A straightforward solution is to use sequence-level knowledge distillation (Kim and Rush, 2016) and continually train the student to generate retrieved commonsense inference given the original text and commonsense relation. However, this can be sub-optimal due to the domain discrepancy between commonsense knowledge and natural text, which introduces the catastrophic forgetting problem (Kirkpatrick et al., 2017) and hurts the performance on downstream tasks, which is also recently confirmed by Cui and Chen (2021).
61
+
62
+ To better inject the extracted commonsense knowledge into a pre-trained model without suf
63
+
64
+ ![](images/993820ac877f536970a3d0d6a6528f62eadeae6df0bc3dd649e531b33249fb65.jpg)
65
+ Figure 2: Illustration of the commonsense text infilling objective. Given a commonsense tuple constructed in the commonsense knowledge retrieval phase, we randomly mask text spans in the commonsense tuple following different patterns and train the pre-trained model to reconstruct the masked spans. RL: Should the <mask> be "xNeed"?
66
+
67
+ fering from catastrophic forgetting so that its capability on general NLP tasks is retained (or even improved), we propose two commonsense-related self-supervised objectives: commonsense text infilling and commonsense relation prediction. The former objective is generative while the latter is a discriminative objective. We refine the pre-trained model by multi-tasking on both objectives so that the model can better adapt to tasks requiring either generative or discriminative commonsense reasoning ability.
68
+
69
+ Commonsense Text Infilling Commonsense text infilling is a simple extension to the conventional text infilling objective used for pre-training BART and T5. It transforms each sentence to a commonsense tuple similar to that in a commonsense knowledge graph by appending the commonsense relation and the generated commonsense inference. We then mask text spans in the commonsense tuple by randomly selecting one masking scheme among text masking, commonsense masking, bidirectional masking, and relation masking. As illustrated in Fig 2, these masking strategies selectively mask different components in the input commonsense tuple and lead to different optimization objectives. Specifically, these masking schemes mask either spans in natural text $(\mathrm{P}(s|\tilde{s},r,o))$ , commonsense inference $(\mathrm{P}(o|s,r,\tilde{o}))$ , natural text/commonsense inference $(\mathrm{P}(s,o|\tilde{s},r,\tilde{o}))$ , or commonsense relation $(\mathrm{P}(r|s,\tilde{r},o))$ , respectively. We then train the model to predict the masked spans autoregressively. The diverse masking strategies provide more diverse training signals compared to random masking, thus
70
+
71
+ ![](images/5037654920a72b9799f8ae40dfb64768aae05d0b9d714a9457bdc51ecb09e694.jpg)
72
+ Figure 3: Illustration of the commonsense relation prediction objective. We train the pre-trained model to predict the correct commonsense inference given the subject and relation from three distractors generated with either different subjects or relations as inputs.
73
+
74
+ enabling the model to better align the surface form of human language and the underlying commonsense knowledge.
75
+
76
+ In addition, unlike the conventional practice in masked span infilling objective that randomly masks text spans with the same probability, we propose to mask text spans including concepts (tokens recognized as nouns or verbs by a Spacy POS tagger) with a higher probability so that the model will be trained to predict concepts more frequently compared to non-content words that are generally not related to commonsense reasoning.
77
+
78
+ Commonsense Relation Prediction While the commonsense text infilling objective encourages the pre-trained model to align natural texts and their commonsense inferences, it is always trained on valid commonsense tuples. This can be suboptimal because we also want the model to be capable of discriminating invalid commonsense inferences, which is important for many commonsense-related downstream tasks.
79
+
80
+ To this end, we introduce a commonsense relation prediction task that trains the model to distinguish the correct commonsense inference corresponding to the input sentence and the commonsense relation from distractors. To be specific, the commonsense relation prediction objective is formulated as a multi-choice QA problem with an input sentence as the context, a commonsense relation as the question, and a set of four commonsense inferences as options. The set of options consists of one correct commonsense inference, which is generated by the neural commonsense model with the input sentence and commonsense relation as input, and three carefully curated distractors (i.e., negative examples) generated by the
81
+
82
+ <table><tr><td>Methods</td><td>CSQA</td><td>OBQA</td><td>PIQA</td><td>aNLI</td><td>SOCIALQA</td><td>COPA</td></tr><tr><td>BERT-base</td><td>53.08(±0.16)</td><td>57.60(±0.8)</td><td>64.86(±0.52)</td><td>61.88(±0.56)</td><td>64.3(±0.4)</td><td>67.3(±0.4)</td></tr><tr><td>ERNIE-base</td><td>54.06(±0.12)</td><td>58.90(±0.9)</td><td>66.47(±0.58)</td><td>63.04(±0.46)</td><td>65.1(±0.4)</td><td>68.9(±0.4)</td></tr><tr><td>KnowBERT</td><td>53.88(±0.15)</td><td>58.50(±0.8)</td><td>66.61(±0.63)</td><td>63.18(±0.52)</td><td>65.4(±0.5)</td><td>69.4 (±0.4)</td></tr><tr><td>COMET</td><td>45.32(±0.28)</td><td>51.20(±1.1)</td><td>60.73(±0.51)</td><td>57.63(±0.61)</td><td>60.2(±0.7)</td><td>69.1 (±0.5)</td></tr><tr><td>T5-base</td><td>61.88(±0.08)</td><td>58.20(±1.0)</td><td>68.14(±0.73)</td><td>61.10(±0.38)</td><td>65.1(±0.5)</td><td>71.4 (±0.7)</td></tr><tr><td>T5-base + TI</td><td>62.05(±0.17)</td><td>58.43(±0.8)</td><td>68.32(±0.66)</td><td>61.42(±0.32)</td><td>65.3(±0.4)</td><td>71.8 (±0.8)</td></tr><tr><td>T5-base + SSM</td><td>62.37(±0.25)</td><td>58.60(±0.9)</td><td>68.48(±0.65)</td><td>61.57(±0.44)</td><td>65.5(±0.5)</td><td>72.1 (±0.6)</td></tr><tr><td>T5-base + KD</td><td>61.83(±0.42)</td><td>56.54(±0.7)</td><td>67.35(±0.63)</td><td>60.94(±0.66)</td><td>64.8(±0.5)</td><td>71.0 (±1.0)</td></tr><tr><td>T5-base + CSKG (TI)</td><td>60.22(±0.40)</td><td>56.17(±0.8)</td><td>66.51(±0.57)</td><td>59.92(±0.47)</td><td>62.7(±0.7)</td><td>68.5 (±1.1)</td></tr><tr><td>T5-base + CSKG (Rule)</td><td>63.10(±0.35)</td><td>57.97(±0.8)</td><td>68.27(±0.71)</td><td>60.15(±0.51)</td><td>65.7(±0.4)</td><td>72.4 (±0.9)</td></tr><tr><td>CALM</td><td>63.32(±0.35)</td><td>60.90(±0.4)</td><td>71.01(±0.61)</td><td>63.20(±0.52)</td><td>66.0(±0.5)</td><td>72.2 (±0.8)</td></tr><tr><td>CKT-base</td><td>64.11(±0.31)</td><td>61.58(±0.5)</td><td>72.26(±0.61)</td><td>64.37(±0.49)</td><td>67.3(±0.4)</td><td>73.4 (±0.5)</td></tr><tr><td>CKT w/ GPT-2</td><td>60.39(±0.61)</td><td>56.95(±0.7)</td><td>68.48(±0.44)</td><td>60.14(±0.52)</td><td>66.2(±0.6)</td><td>72.8 (±1.0)</td></tr></table>
83
+
84
+ Table 1: Experimental results on base-size models. Best models are bold and second best ones are underlined within each metric. Mean and standard deviation of 3 different runs with different random seeds are reported.
85
+
86
+ same neural commonsense knowledge model with different inputs. As illustrated in Figure 3, among the three distractors, one is generated with an input composed of the same sentence and a different commonsense relation, and another two are generated with an input composed of different sentences with the same commonsense relation. In this way, the model learns to align the natural texts with valid commonsense knowledge while also distinguishing commonsense inferences that do not make sense. Moreover, this objective is formulated as a multi-choice QA task that closely resembles several downstream commonsense-related tasks such as CommonsenseQA and SOCIALIQA, thus enabling easier transfer especially when labeled training examples are scarce.
87
+
88
+ # 3 Experiments
89
+
90
+ # 3.1 Experimental Settings
91
+
92
+ Models In our experiments we apply commonsense knowledge transfer to refine T5 (Raffel et al., 2019), a popular model pre-trained with the text infilling objective. We experiment with both T5-base and T5-large, which consist of 220 million and 774 million parameters respectively, as the target model in the commonsense knowledge transfer framework. We do not experiment with extremely large models like T5-11B because of the resource constraints and the fact that these models are hard to deploy in real-world applications. We use COMET-ATOMIC $^{20}$ a state-of-the-art neural commonsense knowledge model that can generate accurate, representative knowledge for new, unseen entities and events, as the source model. It is initialized with BART and continually trained
93
+
94
+ on $\mathrm{ATOMIC}_{20}^{20}$ (Hwang et al., 2021), a new general purpose commonsense knowledge graph.
95
+
96
+ Data We randomly sample a subset consisting of 10 million sentences from the English Wikipedia and the BookCorpus (Zhu et al., 2015), which is used for pre-training BERT and its variants. We select a set of representative commonsense relations including intent, reason, effect, need, want, and react from relations used to train COMET-ATOMIC $_{20}$ . For each sentence, we randomly sample two relations and retrieve the corresponding commonsense explanation from COMET $_{20}$ . We randomly select one relation-explanation pair to form the input example and leave another as the distractor for the commonsense relation prediction objective.
97
+
98
+ Training We refine the pre-trained models on the self-supervised examples constructed with the sampled 10 million sentences for 100k steps with a batch size of 1024, a maximum sequence length of 256, and a learning rate of $5\mathrm{e} - 5 / 2\mathrm{e} - 5$ for base-size and large-size models respectively with a linear warm-up for the first 8,000 updates. After knowledge transfer, we fine-tune the models on downstream tasks by formulating the tasks into text-to-text problems. Pre-training and fine-tuning details are included in the Appendix.
99
+
100
+ Evaluation We evaluate the continual pre-trained models on downstream tasks that require commonsense reasoning including CommonsenseQA (Talmor et al., 2018), OpenbookQA (Mihaylov et al., 2018), PIQA (Bisk et al., 2020), aNLI (Bhagavatula et al., 2020), COPA (Roemmelo et al., 2011), and SOCAI LIQA (Sap et al., 2019b) In addition to the conventional fully supervised setting, we also test our approach in the few-shot setting by vary
101
+
102
+ <table><tr><td>Methods</td><td>CSQA</td><td>OBQA</td><td>PIQA</td><td>aNLI</td><td>SOCIALQA</td><td>COPA</td></tr><tr><td>T5-large</td><td>69.81(±1.02)</td><td>61.40(±1.0)</td><td>72.19(±1.09)</td><td>75.54(±1.22)</td><td>71.3(±0.8)</td><td>83.6(±1.1)</td></tr><tr><td>CALM-large</td><td>71.31(±0.04)</td><td>66.00(±1.0)</td><td>75.11(±1.65)</td><td>77.12(±0.34)</td><td>72.7(±0.7)</td><td>84.9(±1.0)</td></tr><tr><td>CKT-large</td><td>72.15(±0.61)</td><td>66.70(±1.1)</td><td>76.07(±0.95)</td><td>77.94(±0.59)</td><td>73.8(±0.8)</td><td>86.0(±1.2)</td></tr></table>
103
+
104
+ Table 2: Experimental results on large-size models. Best models are bold and second best ones are underlined within each metric. Mean and variance of 3 different runs with different random seeds are reported.
105
+
106
+ ing the percentage of labeled examples from the original training set used for fine-tuning. The idea is that limited labeled examples can only help the model understand the task but are insufficient for the model to acquire enough commonsense knowledge to solve the task. As such, it requires the model to store enough commonsense knowledge in its parameters to succeed in the few-shot setting. For both the settings, we report the results on the official development set and tune the hyperparameters based on the models' performance on an in-house split dev set. We report the mean and variance of 3 individual runs with different random seeds because most datasets are relatively small, which makes the variance in results non-negligible.
107
+
108
+ Baselines We compare our approach with methods that continually train a pre-trained model with different objectives. We divide the baselines into two categories based on the source of their supervision. The first category includes methods that only exploit general text corpus, including (1) T5 + TI that continually pre-trains the public checkpoint of T5 with the same text infilling objective for more steps, (2) T5 + SSM that also continual pretrains T5 with the text infilling objective, but use salient span masking (Roberts et al., 2020) instead of random masking for data construction, (3) (T5 + KD) that uses sequence-level knowledge distillation (Kim and Rush, 2016) for knowledge transfer, where the student model is trained with the teacher output (i.e., $\mathrm{P}(o|s,r)$ ), and (4) CALM (Zhou et al., 2021) that uses novel self-supervised objectives to construct concept-centric self-supervision from general text corpus. The second category instead exploits CSKG, including (5) T5 + CSKG (TI) train T5 with the text infilling objective on tuples in a CSKG, and (6) T5 + CSKG (Rule) (Li et al., 2019) that uses manually defined rules to construct training examples from a CSKG. We also include a COMET baseline where we directly fine-tune the pre-trained COMET-ATOMIC $^{20}$ model for the downstream tasks to verify the necessity of commonsense knowledge transfer, and a CKT w/ GPT
109
+
110
+ ![](images/6696c0db6024ee79cf5541d77e1c0c9dfd3867fc4aae2e9fced1019ae42daf41.jpg)
111
+ Figure 4: Performance of compared base-size models fine-tuned with different fraction of the datasets.
112
+
113
+ ![](images/2f07e7f98aadcdf747fd79588a408c351d7197a44be95d323eeca04b0d1b01dc.jpg)
114
+
115
+ 2 baseline where the commonsense inferences are generated by a pre-trained GPT-2 large model to verify whether the gain comes from transferring the commonsense knowledge from COMET, or simply from data augmentation from another generative model. For a fair comparison, we use the same data and training steps compared to our approach for baselines from the first category and use $\mathrm{ATOMIC}_{20}^{20}$ , on which the teacher model in our framework is pre-train on, as the commonsense knowledge graph. For reference, we also include some popular knowledge-enhanced pre-trained models including ERNIE (Zhang et al., 2019) and KnowBERT (Peters et al., 2019).
116
+
117
+ # 3.2 Fully-supervised Results
118
+
119
+ We first present results in the fully-supervised setting. Results on base-size models are presented in Table 1. We can see that our approach yields significant improvement compared to the T5 baseline (up to 4 absolute scores) and consistently outperform CALM, the state-of-the-art method of injecting commonsense knowledge into PTLMs.
120
+
121
+ In addition, we observe that simply using continual training with the original text-infilling objective or its variant with salient span masking only marginally improves the performance. Surprisingly, training with text infilling on a commonsense knowledge graph leads to degraded performance compared to the T5 baseline. We suspect this is because the commonsense tuples in commonsense knowledge graphs are generally too short
122
+
123
+ <table><tr><td>Methods</td><td>CSQA</td><td>OBQA</td><td>PIQA</td><td>aNLI</td><td>SIQA</td><td>COPA</td></tr><tr><td>T5-base</td><td>61.88</td><td>58.20</td><td>68.14</td><td>61.10</td><td>65.1</td><td>71.4</td></tr><tr><td>CKT-base</td><td>64.57</td><td>62.77</td><td>73.26</td><td>64.75</td><td>68.3</td><td>73.4</td></tr><tr><td colspan="7">Objective Analysis</td></tr><tr><td>CKT-base w/o CSTI</td><td>62.58</td><td>60.97</td><td>70.61</td><td>62.11</td><td>66.5</td><td>72.0</td></tr><tr><td>CKT-base w/o text masking</td><td>62.98</td><td>61.74</td><td>72.55</td><td>63.81</td><td>67.7</td><td>72.8</td></tr><tr><td>CKT-base w/o commonsense masking</td><td>63.61</td><td>62.03</td><td>72.83</td><td>64.40</td><td>67.5</td><td>72.7</td></tr><tr><td>CKT-base w/o bidirectional masking</td><td>63.52</td><td>62.11</td><td>72.30</td><td>64.24</td><td>67.6</td><td>72.9</td></tr><tr><td>CKT-base w/o relation masking</td><td>64.12</td><td>62.48</td><td>73.31</td><td>64.57</td><td>67.4</td><td>72.7</td></tr><tr><td>CKT-base w/o CSRIP</td><td>63.12</td><td>62.07</td><td>72.44</td><td>64.11</td><td>67.5</td><td>72.6</td></tr><tr><td>CKT-base w/ random distractors</td><td>64.04</td><td>62.29</td><td>72.95</td><td>64.48</td><td>68.0</td><td>73.1</td></tr><tr><td colspan="7">Multi-task versus Sequential Transfer</td></tr><tr><td>CKT-base (CSTI → CSRIP)</td><td>64.69</td><td>62.51</td><td>73.35</td><td>64.11</td><td>67.9</td><td>73.5</td></tr><tr><td>CKT-base (CSRIP → CSTI)</td><td>63.49</td><td>61.33</td><td>71.54</td><td>63.41</td><td>67.0</td><td>72.0</td></tr><tr><td colspan="7">Corpus Size</td></tr><tr><td>CKT-base w/ 10% data</td><td>64.18</td><td>62.21</td><td>71.86</td><td>64.31</td><td>67.7</td><td>73.1</td></tr><tr><td>CKT-base w/ 50% data</td><td>64.45</td><td>62.66</td><td>73.10</td><td>64.72</td><td>68.2</td><td>73.4</td></tr></table>
124
+
125
+ Table 3: Analysis of the proposed commonsense knowledge transfer framework. CSTI and CSRP denote the commonsense text infilling objective and the commonsense relation prediction objective, respectively.
126
+
127
+ and simple, making the pre-trained model unable to reason within relatively long contexts which is crucial for most downstream tasks. Moreover, we find that continually pre-training with training data constructed with commonsense tuples in a commonsense knowledge graph following manually designed rules leads to improvements in certain tasks. However, the improvement is inconsistent across different tasks and it even hurts the performance on certain tasks, which may be because the rules for constructing training data are tailored for certain tasks like CSQA. The inferior performance of using commonsense knowledge graphs as data sources also confirms the need of using natural text corpus during continual pre-training for better adapting to diverse downstream tasks. We also find directly applying sequence-level KD and training the student to mimic the teacher on the commonsense tuple generation task fails to improve the performance because the task is not general enough and thus cannot transfer to diverse downstream tasks well. Moreover, directly fine-tuning COMET or using GPT-2 as the commonsense knowledge source results in very poor performance. This confirms the necessity of commonsense knowledge transfer and shows that it is actually transferring commonsense knowledge instead of simple text augmentation.
128
+
129
+ To further confirm the effectiveness of commonsense knowledge transfer, we apply it to T5-large and compare it to competitive baselines in the base
130
+
131
+ size experiments. The results are presented in Table 2. We can see that our approach consistently outperforms T5-large and CALM-large. This suggests that our approach can successfully generalize to large-size pre-trained models.
132
+
133
+ # 3.3 Few-shot Results
134
+
135
+ Injecting commonsense knowledge into pre-trained models is important because it enables the model to reason and generalize to unseen examples while observing only a few labeled examples. To this end, we fine-tune the compared models with different fractions of labeled training data to investigate the transition of the behavior of our model and baselines from the low-resource regime to the fully-supervised setting (Fig. 4). We observe that the performance improvement of our approach compared to the baselines is more significant in the low-resource regime. This shows that commonsense knowledge transfer can successfully transfer commonsense knowledge into pre-trained models so that they can generalize well while seeing only a small part of training data. This may also help the model reduce the risk/tendency of fitting the spurious correlations in the annotated datasets and thus generalize better.
136
+
137
+ # 3.4 Analysis
138
+
139
+ To better understand the proposed commonsense knowledge transfer framework and the role of its
140
+
141
+ different components, we conduct an ablation study about the impact of different proposed objectives, the impact of multi-tasking the commonsense-related self-supervised objective versus sequentially training, and the impact of the size of natural text corpus used for transfer (see Table 3).
142
+
143
+ Impact of Objectives We find that both the proposed objectives contribute to the performance improvement of our approach. The commonsense text infilling objective is shown to be more critical than the commonsense relation prediction task. We suspect this is because commonsense text infilling resembles the vanilla text infilling objective with which the T5 models are pre-trained, thus preventing the model from catastrophic forgetting. In addition, all four masking strategies are beneficial, and their contribution varies for different downstream tasks. This confirms the necessity of a diverse masking scheme. Moreover, our strategy for constructing distractors outperforms the random counterpart, demonstrating the necessity of hard negative examples for the commonsense relation prediction task.
144
+
145
+ Multi-task versus Sequential Transfer As for the training order between the two objectives, we find that starting from the commonsense text infilling task and then switching to the commonsense relation prediction task performs similarly with our multi-tasking strategy while significantly outperforming its counterpart training with the reverse direction. We think this is because the commonsense text infilling objective resembles the original pre-training while the commonsense relation prediction is more similar to downstream tasks. We opt for the multi-tasking strategy for simplicity.
146
+
147
+ Impact of Corpus Size We find that commonsense knowledge transfer significantly outperforms both the T5 baseline and the competitive CALM method with only 10 percent of the full data used for distillation. Nevertheless, the performance improvement also confirms that our approach can benefit from the accessibility of large-scale natural texts. For base-size models, the performance improvements seem to saturate after 10 million sentence pairs. However, we anticipate that larger-size models may still benefit from a larger amount of data, and leave this for future work.
148
+
149
+ # 4 Related Work
150
+
151
+ Knowledge-augmented Pre-trained Models A number of recent works have examined the prob-
152
+
153
+ lem of incorporating world knowledge with the pre-trained models. A number of works use an external knowledge base to incorporate entity knowledge with pre-trained models (Zhang et al., 2019; Peters et al., 2019; Wang et al., 2020; Liu et al., 2020). However, these approaches require specialized resources like knowledge bases which are non-trivial to seek, thus limiting the domain they can be applied to. Xiong et al. (2020) proposed a novel entity replacement detection objective that incorporates Wikipedia to encode world knowledge into a BERT-like pre-trained model. He et al. (2020) proposed a generative and discriminative framework that pretrains the model to complete and correct knowledge spans. The aforementioned approaches generally focus on factual knowledge of entities while our work mainly focuses on commonsense knowledge.
154
+
155
+ Commonsense Reasoning for NLP Several recent studies (Talmor et al., 2018; Sap et al., 2019b; Zhou et al., 2020b; Lin et al., 2020; Xu et al., 2021) evaluate the performance of several pre-trained language models on tasks that require commonsense reasoning and find that it is still very hard for pre-trained language models to match or exceed human-level performance. Therefore, approaches to improve the commonsense reasoning ability of pre-trained language models has attracted much attention. These approaches can be divided into two categories. The first category focuses on incorporating an external commonsense knowledge graph for commonsense reasoning. For example, Lin et al. (2019), Cui and Chen (2021), and Liu et al. (2021) propose to exploit structured symbolic commonsense knowledge graphs to perform commonsense reasoning. The second one instead attempts to inject commonsense knowledge into the parameters of pre-trained models. For example, Ye et al. (2019); Li et al. (2019) proposed to use manually designed rules to construct commonsense related training examples from commonsense knowledge graphs. Zhou et al. (2021) instead only relies on general text corpus and proposed two concept-centric self-supervised objectives to refine pre-trained models with commonsense knowledge.
156
+
157
+ # 5 Conclusion
158
+
159
+ We introduce commonsense knowledge transfer, a framework to transfer the commonsense knowledge stored in a neural commonsense knowledge model to a general-purpose pre-trained model. Our method extracts commonsense knowledge from
160
+
161
+ the source model to construct self-supervised training data for the target model. Empirical results show that our approach consistently outperforms previous methods for improving the commonsense reasoning ability of pre-trained models that exploit either symbolic knowledge graphs or texts alone.
162
+
163
+ # Limitations
164
+
165
+ In our experiments, we use T5-base and T5-large models as the target model since they are widely-used, representative pre-trained seq2seq models and use COMET-ATOMIC $^{20}$ as the commonsense knowledge source. However, there are other pretrained seq2seq models such as BART, and neural commonsense models such as COMET that we did not experiment with. Moreover, we only experimented with 10 million randomly sampled sentences from the English Wiki and BookCorpus datasets. It would be interesting to investigate whether continually pre-training with a larger scale dataset can further improve the performance.
166
+
167
+ # Ethical Considerations
168
+
169
+ Our work focuses on improving the commonsense reasoning ability of pre-trained language models. It probably does not introduce extra ethical concerns. However, in commonsense knowledge extraction, the neural commonsense knowledge model may generate unexpected (e.g., biased) commonsense inferences, and training with these inferences may lead to additional bias in the pre-trained model. Nevertheless, all pre-trained language models contain bias and should be examined.
170
+
171
+ # References
172
+
173
+ Emily M. Bender and Alexander Koller. 2020. Climbing towards NLU: on meaning, form, and understanding in the age of data. In Proceedings of the 58th Annual Meeting of the Association for Computational Linguistics, ACL 2020, Online, July 5-10, 2020, pages 5185-5198. Association for Computational Linguistics.
174
+ Chandra Bhagavatula, Ronan Le Bras, Chaitanya Malaviya, Keisuke Sakaguchi, Ari Holtzman, Hannah Rashkin, Doug Downey, Scott Wen-tau Yih, and Yejin Choi. 2020. Abductive commonsense reasoning. In ICLR.
175
+ Yonatan Bisk, Rowan Zellers, Ronan Le Bras, Jianfeng Gao, and Yejin Choi. 2020. Piqa: Reasoning about physical commonsense in natural language. In Thirty-Fourth AAAI Conference on Artificial Intelligence (AAAI).
176
+
177
+ Antoine Bosselut, Hannah Rashkin, Maarten Sap, Chaitanya Malaviya, Asli Celikyilmaz, and Yejin Choi. 2019. COMET: commonsense transformers for automatic knowledge graph construction. In ACL (1), pages 4762-4779. Association for Computational Linguistics.
178
+ Alexis Conneau and Douwe Kiela. 2018. Senteval: An evaluation toolkit for universal sentence representations. In LREC.
179
+ Wanyun Cui and Xingran Chen. 2021. Enhancing language models with plug-and-play large-scale commonsense. CoRR, abs/2109.02572.
180
+ Jacob Devlin, Ming-Wei Chang, Kenton Lee, and Kristina Toutanova. 2019. BERT: pre-training of deep bidirectional transformers for language understanding. In *NAACL-HLT* (1), pages 4171–4186. Association for Computational Linguistics.
181
+ William B. Dolan and Chris Brockett. 2005. Automatically constructing a corpus of sentential paraphrases. In IWP@IJCNLP.
182
+ WA Falcon. 2019. Pytorch lightning. GitHub. Note: https://github.com/PyTorchLightning/pytorchlightning, 3.
183
+ Bin He, Xin Jiang, Jinghui Xiao, and Qun Liu. 2020. Kgplm: Knowledge-guided language model pretraining via generative and discriminative learning. CoRR, abs/2012.03551.
184
+ John Hewitt and Christopher D. Manning. 2019. A structural probe for finding syntax in word representations. 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 4129-4138. Association for Computational Linguistics.
185
+ Geoffrey E. Hinton, Oriol Vinyals, and Jeffrey Dean. 2015. Distilling the knowledge in a neural network. CoRR, abs/1503.02531.
186
+ Pedram Hosseini, David A. Broniatowski, and Mona T. Diab. 2021. Commonsense knowledge-augmented pretrained language models for causal reasoning classification. CoRR, abs/2112.08615.
187
+ Jena D. Hwang, Chandra Bhagavatula, Ronan Le Bras, Jeff Da, Keisuke Sakaguchi, Antoine Bosselut, and Yejin Choi. 2021. (comet-) atomic 2020: On symbolic and neural commonsense knowledge graphs. In AAAI, pages 6384-6392. AAAI Press.
188
+ Yoon Kim and Alexander M. Rush. 2016. Sequence-level knowledge distillation. In Proceedings of the 2016 Conference on Empirical Methods in Natural Language Processing, EMNLP 2016, Austin, Texas, USA, November 1-4, 2016, pages 1317-1327. The Association for Computational Linguistics.
189
+
190
+ James Kirkpatrick, Razvan Pascanu, Neil Rabinowitz, Joel Veness, Guillaume Desjardins, Andrei A. Rusu, Kieran Milan, John Quan, Tiago Ramalho, Agnieszka Grabska-Barwinska, Demis Hassabis, Claudia Clopath, Dharshan Kumaran, and Raia Hadsell. 2017. Overcoming catastrophic forgetting in neural networks. Proceedings of the National Academy of Sciences, 114(13):3521-3526.
191
+ Tassilo Klein and Moin Nabi. 2021. Towards zero-shot commonsense reasoning with self-supervised refinement of language models. CoRR, abs/2109.05105.
192
+ Mike Lewis, Yinhan Liu, Naman Goyal, Marjan Ghazvininejad, Abdelrahman Mohamed, Omer Levy, Veselin Stoyanov, and Luke Zettlemoyer. 2020. BART: denoising sequence-to-sequence pretraining for natural language generation, translation, and comprehension. In ACL, pages 7871-7880. Association for Computational Linguistics.
193
+ Shiyang Li, Jianshu Chen, and Dian Yu. 2019. Teaching pretrained models with commonsense reasoning: A preliminary kb-based approach. CoRR, abs/1909.09743.
194
+ Bill Yuchen Lin, Xinyue Chen, Jamin Chen, and Xiang Ren. 2019. _Kagnet: Knowledge-aware graph networks for commonsense reasoning_. In _EMNLP/IJCNLP (1)_, pages 2829-2839. Association for Computational Linguistics.
195
+ Bill Yuchen Lin, Wangchunshu Zhou, Ming Shen, Pei Zhou, Chandra Bhagavatula, Yejin Choi, and Xiang Ren. 2020. *Commongen: A constrained text generation challenge for generative commonsense reasoning*. In *Findings of the Association for Computational Linguistics: EMNLP* 2020, Online Event, 16-20 November 2020, volume EMNLP 2020 of *Findings of ACL*, pages 1823-1840. Association for Computational Linguistics.
196
+ Ye Liu, Yao Wan, Lifang He, Hao Peng, and Philip S. Yu. 2020. Kg-bart: Knowledge graph-augmented bart for generative commonsense reasoning.
197
+ Ye Liu, Yao Wan, Lifang He, Hao Peng, and Philip S. Yu. 2021. KG-BART: knowledge graph-augmented BART for generative commonsense reasoning. In AAAI, pages 6418-6425. AAAI Press.
198
+ Christopher D. Manning, Kevin Clark, John Hewitt, Urvashi Khandelwal, and Omer Levy. 2020. Emergent linguistic structure in artificial neural networks trained by self-supervision. Proc. Natl. Acad. Sci. USA, 117(48):30046-30054.
199
+ William Merrill, Yoav Goldberg, Roy Schwartz, and Noah A. Smith. 2021. Provable limitations of acquiring meaning from ungrounded form: What will future language models understand? CoRR, abs/2104.10809.
200
+ Todor Mihaylov, Peter Clark, Tushar Khot, and Ashish Sabharwal. 2018. Can a suit of armor conduct electricity? a new dataset for open book question answering. arXiv preprint arXiv:1809.02789.
201
+
202
+ Matthew E Peters, Mark Neumann, Robert L Logan IV, Roy Schwartz, Vidur Joshi, Sameer Singh, and Noah A Smith. 2019. Knowledge enhanced contextual word representations. arXiv preprint arXiv:1909.04164.
203
+ Fabio Petroni, Tim Roktaschel, Sebastian Riedel, Patrick S. H. Lewis, Anton Bakhtin, Yuxiang Wu, and Alexander H. Miller. 2019. Language models as knowledge bases? 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 2019, Hong Kong, China, November 3-7, 2019, pages 2463-2473. Association for Computational Linguistics.
204
+ 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.
205
+ Colin Raffel, Noam Shazeer, Adam Roberts, Katherine Lee, Sharan Narang, Michael Matena, Yanqi Zhou, Wei Li, and Peter J. Liu. 2020. Exploring the limits of transfer learning with a unified text-to-text transformer. J. Mach. Learn. Res., 21:140:1-140:67.
206
+ Pranav Rajpurkar, Jian Zhang, Konstantin Lopyrev, and Percy Liang. 2016. Squad: 100, $000+$ questions for machine comprehension of text. In EMNLP.
207
+ Adam Roberts, Colin Raffel, and Noam Shazeer. 2020. How much knowledge can you pack into the parameters of a language model? In Proceedings of the 2020 Conference on Empirical Methods in Natural Language Processing, EMNLP 2020, Online, November 16-20, 2020, pages 5418-5426. Association for Computational Linguistics.
208
+ Melissa Roemmele, Cosmin Adrian Bejan, and Andrew S. Gordon. 2011. Choice of plausible alternatives: An evaluation of commonsense causal reasoning. In *Logical Formalizations of Commonsense Reasoning*, Papers from the 2011 AAAI Spring Symposium, Technical Report SS-11-06, Stanford, California, USA, March 21-23, 2011. AAAI.
209
+ Maarten Sap, Ronan Le Bras, Emily Allaway, Chandra Bhagavatula, Nicholas Lourie, Hannah Rashkin, Brendan Roof, Noah A. Smith, and Yejin Choi. 2019a. ATOMIC: an atlas of machine commonsense for if-then reasoning. In AAAI, pages 3027-3035. AAAI Press.
210
+ Maarten Sap, Hannah Rashkin, Derek Chen, Ronan Le Bras, and Yejin Choi. 2019b. Socialiaq: Commonsense reasoning about social interactions. In EMNLP.
211
+ Richard Socher, Alex Perelygin, Jean Wu, Jason Chuang, Christopher D. Manning, Andrew Y. Ng, and Christopher Potts. 2013. Recursive deep models for semantic compositionality over a sentiment treebank. In EMNLP.
212
+
213
+ Robyn Speer, Joshua Chin, and Catherine Havasi. 2017. Conceptnet 5.5: An open multilingual graph of general knowledge. In AAAI, pages 4444-4451. AAAI Press.
214
+ Alon Talmor, Jonathan Herzig, Nicholas Lourie, and Jonathan Berant. 2018. Commonsenseqa: A question answering challenge targeting commonsense knowledge. arXiv preprint arXiv:1811.00937.
215
+ Lifu Tu, Garima Lalwani, Spandana Gella, and He He. 2020. An empirical study on robustness to spurious correlations using pre-trained language models. Trans. Assoc. Comput. Linguistics, 8:621-633.
216
+ 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 NIPS, pages 5998-6008.
217
+ Alex Wang, Amanpreet Singh, Julian Michael, Felix Hill, Omer Levy, and Samuel R. Bowman. 2019. GLUE: A multi-task benchmark and analysis platform for natural language understanding. In ICLR.
218
+ Ruize Wang, Duyu Tang, Nan Duan, Zhongyu Wei, Xuanjing Huang, Cuihong Cao, Daxin Jiang, Ming Zhou, et al. 2020. K-adapter: Infusing knowledge into pre-trained models with adapters. arXiv preprint arXiv:2002.01808.
219
+ Alex Warstadt, Amanpreet Singh, and Samuel R. Bowman. 2019. Neural network acceptability judgments. TACL.
220
+ Adina Williams, Nikita Nangia, and Samuel R. Bowman. 2018. A broad-coverage challenge corpus for sentence understanding through inference. In *NAACL-HLT*.
221
+ Thomas Wolf, Lysandre Debut, Victor Sanh, Julien Chaumond, Clement Delangue, Anthony Moi, Pierric Cistac, Tim Rault, Rémi 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 M. Rush. 2019. Huggingface's transformers: State-of-the-art natural language processing. ArXiv, abs/1910.03771.
222
+ Wenhan Xiong, Jingfei Du, William Yang Wang, and Veselin Stoyanov. 2020. Pretrained encyclopedia: Weakly supervised knowledge-pretrained language model. In International Conference on Learning Representations.
223
+ Canwen Xu, Wangchunshu Zhou, Tao Ge, Ke Xu, Julian J. McAuley, and Furu Wei. 2021. Blow the dog whistle: A chinese dataset for cant understanding with common sense and world knowledge. In NAACL-HLT, pages 2139-2145. Association for Computational Linguistics.
224
+
225
+ Zhi-Xiu Ye, Qian Chen, Wen Wang, and Zhen-Hua Ling. 2019. Align, mask and select: A simple method for incorporating commonsense knowledge into language representation models. CoRR, abs/1908.06725.
226
+ Zhengyan Zhang, Xu Han, Zhiyuan Liu, Xin Jiang, Maosong Sun, and Qun Liu. 2019. Ernie: Enhanced language representation with informative entities. arXiv preprint arXiv:1905.07129.
227
+ Wangchunshu Zhou, Dong-Ho Lee, Ravi Kiran Selvam, Seyeon Lee, and Xiang Ren. 2021. Pretraining text-to-text transformers for concept-centric common sense. In ICLR. OpenReview.net.
228
+ Xuhui Zhou, Yue Zhang, Leyang Cui, and Dandan Huang. 2020a. Evaluating commonsense in pretrained language models. In AAAI, pages 9733-9740. AAAI Press.
229
+ Xuhui Zhou, Yue Zhang, Leyang Cui, and Dandan Huang. 2020b. Evaluating commonsense in pretrained language models. In AAAI, pages 9733-9740.
230
+ Yukun Zhu, Ryan Kiros, Richard S. Zemel, Ruslan Salakhutdinov, Raquel Urtasun, Antonio Torralba, and Sanja Fidler. 2015. Aligning books and movies: Towards story-like visual explanations by watching movies and reading books. In 2015 IEEE International Conference on Computer Vision, ICCV 2015, Santiago, Chile, December 7-13, 2015, pages 19-27. IEEE Computer Society.
231
+
232
+ # A Pre-training and Fine-tuning Details
233
+
234
+ # A.1 Pre-Training Details
235
+
236
+ We implement our models using Pytorchlightning (Falcon, 2019) and Hugginface's Pytorch Transformers (Wolf et al., 2019). For pre-training phase, we use the AdamW optimizer with maximum sequence length 256, train batch size 8, gradient accumulation 8, warmup steps 8000, weight decay 0.01 and adam epsilon 1e-6. We train the models with 8 V100 GPUs and FP32 precision. The model is pre-trained for 10 epochs. We searched for the best learning rate for our model out of [5e-6, 2e-5, 5e-5, 1e-4].
237
+
238
+ # A.2 Fine-Tuning Details
239
+
240
+ For fine-tuning, we use 4 V100 GPUs and use FP32. For all tasks, we use the AdamW optimizer with learning rate from [1e-5, 2e-5, 5e-5, 1e-4, 2e-4], maximum sequence length 256, batch size from [4, 8, 16, 32]. For all tasks, we use a warmup fraction of 0.01, and max epoch of 20.
241
+
242
+ # B Additional Analysis
243
+
244
+ # B.1 Qualitative Analysis
245
+
246
+ To better understand the proposed method, we present a case study in Figure 5. We can see that both the objectives introduced in the CALM model and the salient span masking (SSM) strategy fail to exploit the underlying commonsense rationale beyond the surface form of texts while our approach directly aligns texts with the corresponding commonsense inferences with different commonsense relations. That explains why commonsense knowledge transfer can effectively improve a pre-trained model's performance on downstream tasks requiring commonsense reasoning ability.
247
+
248
+ # B.2 Experimental Results on GLUE
249
+
250
+ To verify that commonsense knowledge transfer is suitable for general-purpose pre-trained models, we fine-tune our model on the GLUE benchmark (Wang et al., 2019). Specifically, we test on MRPC (Dolan and Brockett, 2005), $\mathrm{QQP}^1$ and STS-B (Conneau and Kiela, 2018) for Paraphrase Similarity Matching; SST-2 (Socher et al., 2013) for Sentiment Classification; MNLI (Williams et al., 2018), QNLI (Rajpurkar et al., 2016) and RTE (Wang et al., 2019) for the Natural Language
251
+
252
+ ![](images/a89e129b49bc350c147d63748da638dfdbafe7832ddb7d8c5efd8ff431cf4eae.jpg)
253
+ Commonsense Text Infilling
254
+ Figure 5: Performance on the CSQA dataset w.r.t. the size of training data used for commonsense knowledge transfer.
255
+
256
+ ![](images/3ef0bfdea7718e704a99b95df607d6ba624dbef9d1783bb645dbb79882ee4442.jpg)
257
+ Figure 6: Performance on the CSQA dataset w.r.t. the size of training data used for commonsense knowledge transfer.
258
+
259
+ Inference; CoLA (Warstadt et al., 2019) for Linguistic Acceptability.
260
+
261
+ The results are shown on Table 4, we can see that after commonsense knowledge transfer, the resulting model's general natural language understanding ability is comparable with the original T5-base model. This shows that our approach does not affect the model's general transfer ability and thus can be applied to general-purpose language models.
262
+
263
+ # B.3 Experiments with BART
264
+
265
+ To demonstrate the versatility of commonsense knowledge transfer for different backbones, we conduct additional experiments using BART as the backbone model. The results are shown in Table 5. We can see that commonsense knowledge trans
266
+
267
+ <table><tr><td>Methods</td><td>CoLA</td><td>MNLI</td><td>MRPC</td><td>QNLI</td><td>QQP</td><td>RTE</td><td>SST-2</td><td>SST-B</td><td>Meta Score</td></tr><tr><td>BERT-base</td><td>58.9</td><td>84.7</td><td>89.6</td><td>91.2</td><td>90.0</td><td>71.4</td><td>93.0</td><td>90.0</td><td>83.6</td></tr><tr><td>T5-base</td><td>55.9</td><td>84.5</td><td>90.3</td><td>90.5</td><td>90.2</td><td>76.2</td><td>92.8</td><td>87.8</td><td>83.5</td></tr><tr><td>CKT-base</td><td>57.4</td><td>84.4</td><td>90.6</td><td>90.9</td><td>89.9</td><td>76.8</td><td>92.5</td><td>88.4</td><td>83.9</td></tr></table>
268
+
269
+ Table 4: Experimental results of base-size models on the GLUE benchmark.
270
+
271
+ <table><tr><td>Methods</td><td>CSQA</td><td>OBQA</td><td>PIQA</td><td>aNLI</td><td>SOCIALIQA</td><td>COPA</td></tr><tr><td>BART</td><td>72.31</td><td>65.80</td><td>74.12</td><td>78.27</td><td>71.6</td><td>85.6</td></tr><tr><td>CKT-BART</td><td>73.14</td><td>68.20</td><td>76.95</td><td>79.52</td><td>73.3</td><td>87.2</td></tr></table>
272
+
273
+ fer also consistently improves the BART model, demonstrating the versatility of our approach.
274
+
275
+ Table 5: Experimental results (mean of 3 random runs) with BART.
276
+
277
+ <table><tr><td>Methods</td><td>BLEU-4</td><td>METEOR</td><td>CIDEr</td><td>SPICE</td></tr><tr><td>T5-base</td><td>24.90</td><td>31.20</td><td>12.99</td><td>32.40</td></tr><tr><td>CALM-base</td><td>26.40</td><td>31.40</td><td>13.88</td><td>33.00</td></tr><tr><td>CKT-base</td><td>26.20</td><td>31.40</td><td>13.65</td><td>33.10</td></tr></table>
278
+
279
+ Table 6: Experimental results (mean of 3 random runs) with BART.
280
+
281
+ # B.4 Experiments on CommonGEN
282
+
283
+ We also experiment on the CommonGEN dataset, a generative commonsense reasoning dataset where the model is required to take several keywords as inputs and output a sentence that makes sense. The results are shown in Table 6. We can see that our approach performs similarly with the CALM model, which includes the CommonGEN task objective as one of the pre-training tasks.
284
+
285
+ # B.5 Impact of Pre-training Data Size
286
+
287
+ We also conduct experiments to investigate the sample-efficiency of commonsense knowledge transfer. We present the trend of performance improvement in Figure 6. We can see that our method achieves significant performance improvement upon the T5 baseline with only $10\%$ of the total training data, which confirms the sample-efficiency of commonsense knowledge transfer.
288
+
289
+ A For every submission:
290
+
291
+ A1. Did you describe the limitations of your work? limitation
292
+ A2. Did you discuss any potential risks of your work? ethical statement
293
+ A3. Do the abstract and introduction summarize the paper's main claims? abstract and introduction
294
+ A4. Have you used AI writing assistants when working on this paper? Left blank.
295
+
296
+ B Did you use or create scientific artifacts?
297
+
298
+ experiment
299
+
300
+ B1. Did you cite the creators of artifacts you used? experiment
301
+ B2. Did you discuss the license or terms for use and / or distribution of any artifacts? they're commonly used datasets
302
+ B3. Did you discuss if your use of existing artifact(s) was consistent with their intended use, provided that it was specified? For the artifacts you create, do you specify intended use and whether that is compatible with the original access conditions (in particular, derivatives of data accessed for research purposes should not be used outside of research contexts)? they're commonly used datasets
303
+ B4. Did you discuss the steps taken to check whether the data that was collected / used contains any information that names or uniquely identifies individual people or offensive content, and the steps taken to protect / anonymize it? they're commonly used datasets
304
+ B5. Did you provide documentation of the artifacts, e.g., coverage of domains, languages, and linguistic phenomena, demographic groups represented, etc.? they're commonly used datasets
305
+ B6. Did you report relevant statistics like the number of examples, details of train / test / dev splits, etc. for the data that you used / created? Even for commonly-used benchmark datasets, include the number of examples in train / validation / test splits, as these provide necessary context for a reader to understand experimental results. For example, small differences in accuracy on large test sets may be significant, while on small test sets they may not be. they're commonly used datasets
306
+
307
+ C Did you run computational experiments?
308
+
309
+ experiment
310
+
311
+ C1. Did you report the number of parameters in the models used, the total computational budget (e.g., GPU hours), and computing infrastructure used? experiment
312
+
313
+ The Responsible NLP Checklist used at ACL 2023 is adopted from NAACL 2022, with the addition of a question on AI writing assistance.
314
+
315
+ C2. Did you discuss the experimental setup, including hyperparameter search and best-found hyperparameter values? experiment
316
+ C3. Did you report descriptive statistics about your results (e.g., error bars around results, summary statistics from sets of experiments), and is it transparent whether you are reporting the max, mean, etc. or just a single run? experiment
317
+ C4. If you used existing packages (e.g., for preprocessing, for normalization, or for evaluation), did you report the implementation, model, and parameter settings used (e.g., NLTK, Spacy, ROUGE, etc.)? experiment
318
+
319
+ D Did you use human annotators (e.g., crowdworkers) or research with human participants? Left blank.
320
+
321
+ D1. Did you report the full text of instructions given to participants, including e.g., screenshots, disclaimers of any risks to participants or annotators, etc.? Left blank.
322
+ D2. Did you report information about how you recruited (e.g., crowdsourcing platform, students) and paid participants, and discuss if such payment is adequate given the participants' demographic (e.g., country of residence)? Left blank.
323
+ D3. Did you discuss whether and how consent was obtained from people whose data you're using/curating? For example, if you collected data via crowdsourcing, did your instructions to crowdworkers explain how the data would be used? No response.
324
+ D4. Was the data collection protocol approved (or determined exempt) by an ethics review board? No response.
325
+ D5. Did you report the basic demographic and geographic characteristics of the annotator population that is the source of the data? No response.
2023/Commonsense Knowledge Transfer for Pre-trained Language Models/images.zip ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:edcc18fd69cc7f3f30e00ff89f7843ededed888aa06f4cb4505614fd15b09a60
3
+ size 523421
2023/Commonsense Knowledge Transfer for Pre-trained Language Models/layout.json ADDED
The diff for this file is too large to render. See raw diff
 
2023/Communication Efficient Federated Learning for Multilingual Neural Machine Translation with Adapter/6f207301-9f3f-466d-aed1-4bdd052903e2_content_list.json ADDED
@@ -0,0 +1,2078 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [
2
+ {
3
+ "type": "text",
4
+ "text": "Communication Efficient Federated Learning for Multilingual Neural Machine Translation with Adapter",
5
+ "text_level": 1,
6
+ "bbox": [
7
+ 176,
8
+ 82,
9
+ 821,
10
+ 122
11
+ ],
12
+ "page_idx": 0
13
+ },
14
+ {
15
+ "type": "text",
16
+ "text": "Yi Liu $^{1}$ , Xiaohan Bi $^{2}$ , Lei Li $^{1}$ , Sishuo Chen $^{2}$ , Wenkai Yang $^{2}$ , Xu Sun $^{1}$",
17
+ "bbox": [
18
+ 208,
19
+ 129,
20
+ 794,
21
+ 147
22
+ ],
23
+ "page_idx": 0
24
+ },
25
+ {
26
+ "type": "text",
27
+ "text": "$^{1}$ National Key Laboratory for Multimedia Information Processing, School of Computer Science, Peking University",
28
+ "bbox": [
29
+ 231,
30
+ 148,
31
+ 769,
32
+ 181
33
+ ],
34
+ "page_idx": 0
35
+ },
36
+ {
37
+ "type": "text",
38
+ "text": "$^{2}$ Center for Data Science, Peking University",
39
+ "bbox": [
40
+ 319,
41
+ 181,
42
+ 680,
43
+ 198
44
+ ],
45
+ "page_idx": 0
46
+ },
47
+ {
48
+ "type": "text",
49
+ "text": "yliu.pku@outlook.com {bxh, wkyang} $@$ stu.pku.edu.cn",
50
+ "bbox": [
51
+ 250,
52
+ 198,
53
+ 747,
54
+ 214
55
+ ],
56
+ "page_idx": 0
57
+ },
58
+ {
59
+ "type": "text",
60
+ "text": "nlp.lilei@gmail.com {chensishuo,xusun}@pku.edu.cn",
61
+ "bbox": [
62
+ 248,
63
+ 215,
64
+ 754,
65
+ 230
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": "Federated Multilingual Neural Machine Translation (Fed-MNMT) has emerged as a promising paradigm for institutions with limited language resources. This approach allows multiple institutions to act as clients and train a unified model through model synchronization, rather than collecting sensitive data for centralized training. This significantly reduces the cost of corpus collection and preserves data privacy. However, as pre-trained language models (PLMs) continue to increase in size, the communication cost for transmitting parameters during synchronization has become a training speed bottleneck. In this paper, we propose a communication-efficient Fed-MNMT framework that addresses this issue by keeping PLMs frozen and only transferring lightweight adapter modules between clients. Since different language pairs exhibit substantial discrepancies in data distributions, adapter parameters of clients may conflict with each other. To tackle this, we explore various clustering strategies to group parameters for integration and mitigate the negative effects of conflicting parameters. Experimental results demonstrate that our framework reduces communication cost by over $98\\%$ while achieving similar or even better performance compared to competitive baselines. Further analysis reveals that clustering strategies effectively solve the problem of linguistic discrepancy and pruning adapter modules further improves communication efficiency. $^{1}$",
84
+ "bbox": [
85
+ 141,
86
+ 279,
87
+ 460,
88
+ 750
89
+ ],
90
+ "page_idx": 0
91
+ },
92
+ {
93
+ "type": "text",
94
+ "text": "1 Introduction",
95
+ "text_level": 1,
96
+ "bbox": [
97
+ 114,
98
+ 760,
99
+ 258,
100
+ 776
101
+ ],
102
+ "page_idx": 0
103
+ },
104
+ {
105
+ "type": "text",
106
+ "text": "Federated Learning (FL) (McMahan et al., 2017) provides a new training framework utilizing data from various clients without privacy leakage. In FL, the server receives models from clients trained with their local data and aggregates all parameters it has received to acquire a global model, and then",
107
+ "bbox": [
108
+ 112,
109
+ 787,
110
+ 487,
111
+ 883
112
+ ],
113
+ "page_idx": 0
114
+ },
115
+ {
116
+ "type": "image",
117
+ "img_path": "images/b83316396c9a8fccdd2a41716eee35fb26db74dfc06d750e251f52a066013b43.jpg",
118
+ "image_caption": [
119
+ "Figure 1: Estimated transfer time (bar chart) and the approximate ratio of transfer time to total training time (line chart) in one round for a low-resource client. Our method significantly reduces communication cost and improve training efficiency."
120
+ ],
121
+ "image_footnote": [],
122
+ "bbox": [
123
+ 521,
124
+ 252,
125
+ 878,
126
+ 444
127
+ ],
128
+ "page_idx": 0
129
+ },
130
+ {
131
+ "type": "text",
132
+ "text": "sends it back to all clients to start the next training round. This characteristic enables FL to get widely applied in real-world scenarios (Ge et al., 2020; Roosta et al., 2021; Passban et al., 2022; Niu and Deng, 2022). In recent years, federated multilingual neural machine translation (Fed-MNMT) has become a new training paradigm and making it feasible for most institutions to train MNMT models (Roosta et al., 2021; Passban et al., 2022). FL makes it possible to leverage corpora from other organizations without privacy problems, solving the problem that training an MNMT model needs to collect large-scale multilingual corpora, which is expensive, time-consuming, and often unaffordable for resource-constrained institutions. Therefore, Fed-MNMT is a secure and cost-effective alternative to conventional centralized training for the optimization of MNMT models.",
133
+ "bbox": [
134
+ 507,
135
+ 561,
136
+ 882,
137
+ 851
138
+ ],
139
+ "page_idx": 0
140
+ },
141
+ {
142
+ "type": "text",
143
+ "text": "However, the issue of communication cost is non-negligible when we introduce FL to neural machine translation. Unlike local centralized learning, federated learning requires frequent commu",
144
+ "bbox": [
145
+ 507,
146
+ 854,
147
+ 882,
148
+ 917
149
+ ],
150
+ "page_idx": 0
151
+ },
152
+ {
153
+ "type": "page_footnote",
154
+ "text": "1Our code is available at https://github.com/lancopku/FedMNMT",
155
+ "bbox": [
156
+ 112,
157
+ 891,
158
+ 487,
159
+ 917
160
+ ],
161
+ "page_idx": 0
162
+ },
163
+ {
164
+ "type": "page_number",
165
+ "text": "5315",
166
+ "bbox": [
167
+ 480,
168
+ 927,
169
+ 519,
170
+ 940
171
+ ],
172
+ "page_idx": 0
173
+ },
174
+ {
175
+ "type": "footer",
176
+ "text": "Findings of the Association for Computational Linguistics: ACL 2023, pages 5315-5328",
177
+ "bbox": [
178
+ 228,
179
+ 945,
180
+ 768,
181
+ 958
182
+ ],
183
+ "page_idx": 0
184
+ },
185
+ {
186
+ "type": "footer",
187
+ "text": "July 9-14, 2023 ©2023 Association for Computational Linguistics",
188
+ "bbox": [
189
+ 295,
190
+ 958,
191
+ 699,
192
+ 971
193
+ ],
194
+ "page_idx": 0
195
+ },
196
+ {
197
+ "type": "image",
198
+ "img_path": "images/654762b00028cd6b7dcdd2ec6fe8445b2d6a360c78d3b69f6aee9d16af880817.jpg",
199
+ "image_caption": [
200
+ "Figure 2: Communication-efficient Fed-MNMT framework with adapter modules and clients clustering strategies."
201
+ ],
202
+ "image_footnote": [],
203
+ "bbox": [
204
+ 181,
205
+ 80,
206
+ 356,
207
+ 256
208
+ ],
209
+ "page_idx": 1
210
+ },
211
+ {
212
+ "type": "image",
213
+ "img_path": "images/0419c8fa556e0460cb1b241bd5da9340181a96ee0db59e4460da29ddcdc70bf9.jpg",
214
+ "image_caption": [],
215
+ "image_footnote": [],
216
+ "bbox": [
217
+ 359,
218
+ 78,
219
+ 823,
220
+ 256
221
+ ],
222
+ "page_idx": 1
223
+ },
224
+ {
225
+ "type": "text",
226
+ "text": "nication of model parameters between the server and clients. Therefore, the communication cost grows rapidly along with the increase in model size. Nowadays, pre-trained language models are widely adopted as backbone models for MNMT, whose parameters are usually over $10^{8}$ , e.g., 611M for mBART-50 (Tang et al., 2020) and 1.2B for M2M100 (Fan et al., 2020). Considering the increasing number of clients in realistic scenarios as there frequently appear new clients, communication costs will severely hinder the efficient training of the entire Fed-MNMT system and thus make the application of FL to MNMT impractical.",
227
+ "bbox": [
228
+ 112,
229
+ 306,
230
+ 489,
231
+ 514
232
+ ],
233
+ "page_idx": 1
234
+ },
235
+ {
236
+ "type": "text",
237
+ "text": "To tackle this problem, we introduce the parameter-efficient tuning idea (Houlsby et al., 2019; Pfeiffer et al., 2021; Karimi Mahabadi et al., 2021) into Fed-MNMT. Specifically, we focus on adapter (Rebuffi et al., 2017; Houlsby et al., 2019), which is a popular technique for efficient tuning that requires only updating a lightweight adapter module. In the training process of adapters, a number of randomly initialized modules are inserted into the backbone models and fine-tuned on new data. Concretely, only the parameters of these modules are updated during training, so the number of parameters needed to be transferred between the server and clients is substantially reduced. As the communication cost before and after introducing adapter illustrated in Figure 1, this approach significantly saves communication costs and enables practical applications of Fed-MNMT.",
238
+ "bbox": [
239
+ 112,
240
+ 516,
241
+ 489,
242
+ 804
243
+ ],
244
+ "page_idx": 1
245
+ },
246
+ {
247
+ "type": "text",
248
+ "text": "However, directly adding adapter modules to NMT models results in a performance decline, which is initially observed by Roosta et al. (2021) and also confirmed by our experimental results. This phenomenon is attributed to the divergence of different language pairs. In Fed-MNMT, corpora in diverse languages from different clients",
249
+ "bbox": [
250
+ 112,
251
+ 806,
252
+ 489,
253
+ 919
254
+ ],
255
+ "page_idx": 1
256
+ },
257
+ {
258
+ "type": "text",
259
+ "text": "are not independently and identically distributed (Non-I.I.D.), so directly aggregating parameters from clients leads to a decrease in model's performance (Zhao et al., 2018).",
260
+ "bbox": [
261
+ 507,
262
+ 306,
263
+ 884,
264
+ 369
265
+ ],
266
+ "page_idx": 1
267
+ },
268
+ {
269
+ "type": "text",
270
+ "text": "Considering the adverse effect of conflicting parameters from diverse languages in Fed-MNMT, we introduce clustering strategies to alleviate this issue. The core idea is to cluster the samples according to the characteristics of their data and only conduct aggregation within each cluster where samples share similar properties. Specifically, we cluster all clients with different language pairs based on the language family, gradient similarity, and random, respectively, and systematically compare the performance of different clustering strategies on multilingual translation benchmarks. Figure 2 gives a general view of our training framework. Our experimental results show that clustering on adapters alleviates the data Non-I.I.D. problem and yields better performance in most cases. Overall, our work opens a new direction for future improvements on Fed-MNMT in the real world.",
271
+ "bbox": [
272
+ 507,
273
+ 370,
274
+ 884,
275
+ 658
276
+ ],
277
+ "page_idx": 1
278
+ },
279
+ {
280
+ "type": "text",
281
+ "text": "In conclusion, our primary contributions can be summarized as follows:",
282
+ "bbox": [
283
+ 507,
284
+ 659,
285
+ 882,
286
+ 690
287
+ ],
288
+ "page_idx": 1
289
+ },
290
+ {
291
+ "type": "list",
292
+ "sub_type": "text",
293
+ "list_items": [
294
+ "- Aware of the communication barrier in the training of Fed-MNMT models, we introduce a practical efficient Fed-MNMT framework to enable real-world applications.",
295
+ "- By exploring adapter and clustering strategies for alleviating the undesirable effect of data discrepancy, we achieve comparable results with over $98\\%$ communication cost reduced compared to vanilla Fed-MNMT."
296
+ ],
297
+ "bbox": [
298
+ 531,
299
+ 697,
300
+ 884,
301
+ 850
302
+ ],
303
+ "page_idx": 1
304
+ },
305
+ {
306
+ "type": "text",
307
+ "text": "2 Methodology",
308
+ "text_level": 1,
309
+ "bbox": [
310
+ 509,
311
+ 862,
312
+ 658,
313
+ 879
314
+ ],
315
+ "page_idx": 1
316
+ },
317
+ {
318
+ "type": "text",
319
+ "text": "In this section, we first define the Fed-MNMT problem in § 2.1. Next, we elaborate on the adapter",
320
+ "bbox": [
321
+ 507,
322
+ 887,
323
+ 884,
324
+ 919
325
+ ],
326
+ "page_idx": 1
327
+ },
328
+ {
329
+ "type": "page_number",
330
+ "text": "5316",
331
+ "bbox": [
332
+ 480,
333
+ 928,
334
+ 521,
335
+ 940
336
+ ],
337
+ "page_idx": 1
338
+ },
339
+ {
340
+ "type": "text",
341
+ "text": "modules and the investigated clustering strategies in $\\S 2.2$ and $\\S 2.3$ , respectively. Last, we provide an analysis of communication costs between the original Fed-MNMT and our method in $\\S 2.4$ .",
342
+ "bbox": [
343
+ 112,
344
+ 84,
345
+ 487,
346
+ 149
347
+ ],
348
+ "page_idx": 2
349
+ },
350
+ {
351
+ "type": "text",
352
+ "text": "2.1 Problem Formulation",
353
+ "text_level": 1,
354
+ "bbox": [
355
+ 112,
356
+ 160,
357
+ 331,
358
+ 174
359
+ ],
360
+ "page_idx": 2
361
+ },
362
+ {
363
+ "type": "text",
364
+ "text": "For a Fed-MNMT problem, we suppose that the set of clients is $\\{C_i\\}_{i=1}^N$ where $N > 1$ and client $C_i$ owns only one language pair $P_i$ , whose source language and target language are $src_i$ and $tgt_i$ , respectively, and corresponding dataset $D_i = \\{x_{ij}, y_{ij}\\}_{j=1}^{n_i}$ , where $n_i$ is the size of $D_i$ . In each training round, the optimization target for $C_i$ is minimizing the cross entropy loss between the ground truths $y_i$ and model's predictions $\\tilde{y}_i$ :",
365
+ "bbox": [
366
+ 112,
367
+ 181,
368
+ 489,
369
+ 326
370
+ ],
371
+ "page_idx": 2
372
+ },
373
+ {
374
+ "type": "equation",
375
+ "text": "\n$$\n\\mathcal {L} _ {i} = - \\sum_ {j = 1} ^ {n _ {i}} \\sum_ {k = 1} ^ {l _ {i j}} \\log p \\left(\\tilde {y} _ {i j} ^ {k} = y _ {i j} ^ {k} \\mid x _ {i j}\\right) \\tag {1}\n$$\n",
376
+ "text_format": "latex",
377
+ "bbox": [
378
+ 159,
379
+ 338,
380
+ 487,
381
+ 385
382
+ ],
383
+ "page_idx": 2
384
+ },
385
+ {
386
+ "type": "text",
387
+ "text": "After the $t$ -th training round, all clients will deliver local parameters to the server. The server will aggregate these parameters to obtain the initial parameters for the next round's training. A commonly adopted aggregation algorithm is FedAvg (McMahan et al., 2017), where the weighted average of clients' parameters is calculated according to the quantities of local data samples. Let $\\Theta$ denote model parameters, the FedAvg algorithm can be formulated as:",
388
+ "bbox": [
389
+ 112,
390
+ 397,
391
+ 489,
392
+ 557
393
+ ],
394
+ "page_idx": 2
395
+ },
396
+ {
397
+ "type": "equation",
398
+ "text": "\n$$\n\\Theta^ {t + 1} = \\sum_ {i = 1} ^ {N} \\frac {n _ {i}}{n} \\Theta_ {i} ^ {t}, \\tag {2}\n$$\n",
399
+ "text_format": "latex",
400
+ "bbox": [
401
+ 226,
402
+ 567,
403
+ 487,
404
+ 611
405
+ ],
406
+ "page_idx": 2
407
+ },
408
+ {
409
+ "type": "text",
410
+ "text": "where $n = \\sum_{i=1}^{N} n_i$ . Then the aggregated parameters will be sent back to all clients to initialize their local models for the next round of training.",
411
+ "bbox": [
412
+ 112,
413
+ 625,
414
+ 487,
415
+ 674
416
+ ],
417
+ "page_idx": 2
418
+ },
419
+ {
420
+ "type": "text",
421
+ "text": "However, data sizes can vary sharply among low-resource and high-resource languages in FedMNMT and FedAvg cannot deal well with data quantity skew well (Wang et al., 2020). Thus we change FedAvg, calculating the weighted mean of different clients' parameters, to directly calculating the arithmetic mean of parameters:",
422
+ "bbox": [
423
+ 112,
424
+ 675,
425
+ 487,
426
+ 788
427
+ ],
428
+ "page_idx": 2
429
+ },
430
+ {
431
+ "type": "equation",
432
+ "text": "\n$$\n\\Theta^ {t + 1} = \\sum_ {i = 1} ^ {N} \\frac {1}{N} \\Theta_ {i} ^ {t} \\tag {3}\n$$\n",
433
+ "text_format": "latex",
434
+ "bbox": [
435
+ 228,
436
+ 800,
437
+ 487,
438
+ 843
439
+ ],
440
+ "page_idx": 2
441
+ },
442
+ {
443
+ "type": "text",
444
+ "text": "We refer to this aggregation method as FedMean in our paper.",
445
+ "bbox": [
446
+ 112,
447
+ 854,
448
+ 487,
449
+ 885
450
+ ],
451
+ "page_idx": 2
452
+ },
453
+ {
454
+ "type": "text",
455
+ "text": "Considering the size of pre-trained multi-language models, the communication of model",
456
+ "bbox": [
457
+ 112,
458
+ 887,
459
+ 489,
460
+ 917
461
+ ],
462
+ "page_idx": 2
463
+ },
464
+ {
465
+ "type": "text",
466
+ "text": "parameters between the server and clients is time-consuming. Inspired by recent progress in parameter efficient tuning, we are interested in whether adapter can be used to improve the efficiency in FL.",
467
+ "bbox": [
468
+ 507,
469
+ 84,
470
+ 885,
471
+ 149
472
+ ],
473
+ "page_idx": 2
474
+ },
475
+ {
476
+ "type": "text",
477
+ "text": "2.2 Adapter Modules",
478
+ "text_level": 1,
479
+ "bbox": [
480
+ 509,
481
+ 161,
482
+ 692,
483
+ 175
484
+ ],
485
+ "page_idx": 2
486
+ },
487
+ {
488
+ "type": "text",
489
+ "text": "We introduce bottleneck adapter (Houlsby et al., 2019) into pre-trained multilingual models. Following the settings of Houlsby et al. (2019) and Pfeiffer et al. (2020), we add adapter modules after the self-attention layer and feed-forward network (FFN) layer for each encoder layer and an additional adapter layer after the cross-attention layer for each decoder layer. During training, only the parameters of adapters and layer-norm modules will be updated thus only a small proportion of parameters have to be communicated between the server and clients.",
490
+ "bbox": [
491
+ 507,
492
+ 181,
493
+ 884,
494
+ 375
495
+ ],
496
+ "page_idx": 2
497
+ },
498
+ {
499
+ "type": "text",
500
+ "text": "2.3 Client Clustering Strategies",
501
+ "text_level": 1,
502
+ "bbox": [
503
+ 507,
504
+ 388,
505
+ 774,
506
+ 404
507
+ ],
508
+ "page_idx": 2
509
+ },
510
+ {
511
+ "type": "text",
512
+ "text": "Related research (Johnson et al., 2017; First et al., 2016) has shown that parameter sharing among different languages in MNMT boosts the model's performance, especially for those low-resource languages. Motivated by the success of language clustering in MNMT (Tan et al., 2019), we decide to introduce the method of language pairs clustering into the Fed-MNMT problem and we only allow inner-cluster parameters aggregation. Assuming that the multi-language model consists of an encoder and a decoder, we first conduct a clustering algorithm to obtain the encoder clusters set $G_{e} = \\{g_{i}\\}_{i=1}^{m_{e}}$ and the decoder clusters set $G_{d} = \\{g_{i}\\}_{i=1}^{m_{d}}$ . Each cluster $g_{i}$ contains the ids of clients in this cluster. Detailed aggregation algorithm is shown in Algorithm 1.",
513
+ "bbox": [
514
+ 507,
515
+ 409,
516
+ 882,
517
+ 667
518
+ ],
519
+ "page_idx": 2
520
+ },
521
+ {
522
+ "type": "text",
523
+ "text": "We explore the following three different clustering strategies.",
524
+ "bbox": [
525
+ 507,
526
+ 667,
527
+ 882,
528
+ 700
529
+ ],
530
+ "page_idx": 2
531
+ },
532
+ {
533
+ "type": "text",
534
+ "text": "Language families/groups. Chronopoulou et al. (2022) have verified the strategy of sharing parameters within the same language family in the MNMT problem. We decide to use this strategy in the FL setting. We choose 8 languages belonging to 4 different language families from the TED2020 corpus and 10 languages belonging to 4 different language groups, which are all parts of the Indo-European language family, from the Europarl corpus. The clustering of the encoder depends on language families/groups of source languages and the clustering of the decoder is decided by the target languages' families/groups. Languages from the same family",
535
+ "bbox": [
536
+ 507,
537
+ 709,
538
+ 884,
539
+ 919
540
+ ],
541
+ "page_idx": 2
542
+ },
543
+ {
544
+ "type": "page_number",
545
+ "text": "5317",
546
+ "bbox": [
547
+ 480,
548
+ 927,
549
+ 519,
550
+ 940
551
+ ],
552
+ "page_idx": 2
553
+ },
554
+ {
555
+ "type": "code",
556
+ "sub_type": "algorithm",
557
+ "code_caption": [
558
+ "Algorithm 1: Inner-cluster Aggregation"
559
+ ],
560
+ "code_body": "Input: Encoder and decoder clusters sets $G_{e}$ and $G_{d}$ ; \nInitial encoder and decoder paras $\\Theta_{e}^{0}$ and $\\Theta_{d}^{0}$ ; \nClients set $\\{C_i\\}_{i=1}^N$ ; \nTraining round $T$ . \nOutput: Encoder paras $\\{\\Theta_{e,i}^{T}\\}_{i=1}^N$ ; \nDecoder paras $\\{\\Theta_{d,i}^{T}\\}_{i=1}^N$ \nfor $i$ from 1 to $N$ do \nInitialize $\\Theta_{e,i}^{0}$ with $\\Theta_{e}^{0}$ ; \nInitialize $\\Theta_{d,i}^{0}$ with $\\Theta_{d}^{0}$ ; \nfor $i$ from 1 to $N$ do \n// local update of client $i$ \nupdate $\\Theta_{e,i}^{t-1}$ and $\\Theta_{d,i}^{t-1}$ with local data; \n// inner-cluster aggregation of encoder parameters \nforeach $g$ in $G_{e}$ do \n $\\Theta_{e,g}^{t} = \\sum_{id \\in g} \\frac{1}{|g|} \\Theta_{e,id}^{t-1}$ ; \nforeach $id$ in $g$ do \n $\\Theta_{e,id}^{t} = \\Theta_{e,g}^{t}$ ; \n// inner-cluster aggregation of decoder parameters \nforeach $g$ in $G_{d}$ do \n $\\Theta_{d,g}^{t} = \\sum_{id \\in g} \\frac{1}{|g|} \\Theta_{d,id}^{t-1}$ ; \nforeach $id$ in $g$ do \n $\\Theta_{d,id}^{t} = \\Theta_{d,g}^{t}$ ;",
561
+ "bbox": [
562
+ 115,
563
+ 105,
564
+ 485,
565
+ 463
566
+ ],
567
+ "page_idx": 3
568
+ },
569
+ {
570
+ "type": "text",
571
+ "text": "or group will be clustered into the same group.",
572
+ "bbox": [
573
+ 112,
574
+ 494,
575
+ 460,
576
+ 510
577
+ ],
578
+ "page_idx": 3
579
+ },
580
+ {
581
+ "type": "text",
582
+ "text": "Gradients. Unlike in the scene of centralized learning, clustering based on model parameters (Tan et al., 2019) in Fed-MNMT is unfeasible due to privacy problems. Therefore, we use gradients as the basis of the feature for clustering instead. For each language pair, we use a pre-trained multi-language model to acquire an average gradient vector of all data samples, then a clustering algorithm is applied to the gradient vectors in order to separate clients into different groups. The number of parameters we use for gradients clustering is only about $131\\mathrm{K}$ for each client and will hardly introduce any extra communication cost.",
583
+ "bbox": [
584
+ 112,
585
+ 521,
586
+ 489,
587
+ 731
588
+ ],
589
+ "page_idx": 3
590
+ },
591
+ {
592
+ "type": "text",
593
+ "text": "Random clustering. We also test randomly separating all clients into different groups as a baseline for clustering strategies. In detail, we uniformly separate the clients and keep the numbers of clusters in the encoder and the decoder the same as those in the language families/groups strategy.",
594
+ "bbox": [
595
+ 112,
596
+ 740,
597
+ 489,
598
+ 838
599
+ ],
600
+ "page_idx": 3
601
+ },
602
+ {
603
+ "type": "text",
604
+ "text": "2.4 Communication Cost Comparison",
605
+ "text_level": 1,
606
+ "bbox": [
607
+ 112,
608
+ 848,
609
+ 428,
610
+ 865
611
+ ],
612
+ "page_idx": 3
613
+ },
614
+ {
615
+ "type": "text",
616
+ "text": "Taking the mBART-50 model (Tang et al., 2020), which is a popular pre-trained multi-language model, as an example, the number of parameters",
617
+ "bbox": [
618
+ 112,
619
+ 870,
620
+ 487,
621
+ 917
622
+ ],
623
+ "page_idx": 3
624
+ },
625
+ {
626
+ "type": "text",
627
+ "text": "is around 610.9M, which requires about 2.44GB storage space in the FP32 format. In comparison, after adding adapter modules, only about 8M parameters have to be transferred, which will save approximately $98.7\\%$ communication cost.",
628
+ "bbox": [
629
+ 507,
630
+ 84,
631
+ 884,
632
+ 164
633
+ ],
634
+ "page_idx": 3
635
+ },
636
+ {
637
+ "type": "text",
638
+ "text": "More concretely, we provide an approximation for the transmission time needed between the server and clients as follows. Assuming the maximum bandwidth of the server is 1000Mbps, the time to transfer the entire mBART model from client to server is around 2.44GB / 1000Mbps = 19.5 seconds. Assuming all clients share the bandwidth, the total transfer time grows linearly with the number of clients. The synchronization process for all clients to finish transferring models to the server will occupy a large proportion of the total training time. In our actual experiments with 12 clients, the theoretical total transferring time is about $19.5 \\times 12 = 234$ seconds. However, for clients with low-resource languages, the training could be finished within 7 minutes, which means transferring time occupies over half of the local training time. By contrast, the time to transfer the adapter's parameters is only about 0.26 seconds, which is negligible compared to local training time thus significantly improving the training efficiency.",
639
+ "bbox": [
640
+ 507,
641
+ 165,
642
+ 884,
643
+ 502
644
+ ],
645
+ "page_idx": 3
646
+ },
647
+ {
648
+ "type": "text",
649
+ "text": "3 Experimental Setup",
650
+ "text_level": 1,
651
+ "bbox": [
652
+ 507,
653
+ 514,
654
+ 717,
655
+ 531
656
+ ],
657
+ "page_idx": 3
658
+ },
659
+ {
660
+ "type": "text",
661
+ "text": "3.1 Datasets and Evaluation Metrics",
662
+ "text_level": 1,
663
+ "bbox": [
664
+ 507,
665
+ 539,
666
+ 811,
667
+ 554
668
+ ],
669
+ "page_idx": 3
670
+ },
671
+ {
672
+ "type": "text",
673
+ "text": "We conduct experiments in two different settings: Multi-to-English and Multi-to-Multi (hereinafter referred to as \"m2en\" and \"m2m\", respectively). We use the TED2020 corpus (Reimers and Gurevych, 2020) for the m2en setting and the Europarl corpus (Koehn, 2005) for the m2m setting. The TED2020 corpus is extracted from TED speeches and contains over 100 languages around the world. The Europarl corpus is from the proceedings of the European Parliament and contains 21 languages of European countries.",
674
+ "bbox": [
675
+ 507,
676
+ 560,
677
+ 884,
678
+ 736
679
+ ],
680
+ "page_idx": 3
681
+ },
682
+ {
683
+ "type": "text",
684
+ "text": "For each language pair $^2$ , we divide the original corpus into training, dev, and test datasets in accordance of the proportion of 6:2:2. We further sample subsets from the divided datasets. To simulate the scene of low-resource languages and high-resource languages, the training data size of each language pair varies according to the corresponding original",
685
+ "bbox": [
686
+ 507,
687
+ 737,
688
+ 882,
689
+ 850
690
+ ],
691
+ "page_idx": 3
692
+ },
693
+ {
694
+ "type": "page_footnote",
695
+ "text": "2Abbreviations for languages we use: Chinese->zh, English->en, Thai->th, Arabic->ar, Hebrew->he, Finnish->fi, Estonian->et, Russian->ru, Slovene->sl, German->de, Dutch->nl, French->fr, Italian->it, Spain->es, Polish->pl, Slovene->sl, Lithuanian->lt, Latvian->lv.",
696
+ "bbox": [
697
+ 507,
698
+ 857,
699
+ 885,
700
+ 917
701
+ ],
702
+ "page_idx": 3
703
+ },
704
+ {
705
+ "type": "page_number",
706
+ "text": "5318",
707
+ "bbox": [
708
+ 480,
709
+ 927,
710
+ 519,
711
+ 940
712
+ ],
713
+ "page_idx": 3
714
+ },
715
+ {
716
+ "type": "text",
717
+ "text": "corpus size. The specific language pairs we use and corresponding data sizes are shown in Appendix A.",
718
+ "bbox": [
719
+ 112,
720
+ 84,
721
+ 487,
722
+ 116
723
+ ],
724
+ "page_idx": 4
725
+ },
726
+ {
727
+ "type": "text",
728
+ "text": "In the m2en setting, for clustering strategies based on language families/groups and random shuffle, clustering algorithms are only applied to the encoder and all clients share the decoder's parameters because their target languages are all English. But for clustering based on gradients, we also cluster the decoder's parameters into different groups and the number of groups stays the same as that in the encoder. In the m2m setting, clustering is conducted for both the encoder and the decoder. Meanwhile, the numbers of groups in the encoder and decoder are the same in all clustering strategies. We will provide a further analysis of the clustering strategies of the m2m setting in $\\S 4.2$ .",
729
+ "bbox": [
730
+ 112,
731
+ 117,
732
+ 487,
733
+ 341
734
+ ],
735
+ "page_idx": 4
736
+ },
737
+ {
738
+ "type": "text",
739
+ "text": "We choose the BLEU score as the evaluation metric using the SacreBLEU (Post, 2018) package. Aside from the BLEU score on each language pair, we additionally report the macro average and micro average scores on all language pairs.",
740
+ "bbox": [
741
+ 112,
742
+ 343,
743
+ 487,
744
+ 423
745
+ ],
746
+ "page_idx": 4
747
+ },
748
+ {
749
+ "type": "text",
750
+ "text": "3.2 Baselines",
751
+ "text_level": 1,
752
+ "bbox": [
753
+ 112,
754
+ 436,
755
+ 233,
756
+ 450
757
+ ],
758
+ "page_idx": 4
759
+ },
760
+ {
761
+ "type": "text",
762
+ "text": "We evaluate the following methods as baselines:",
763
+ "bbox": [
764
+ 112,
765
+ 458,
766
+ 472,
767
+ 473
768
+ ],
769
+ "page_idx": 4
770
+ },
771
+ {
772
+ "type": "text",
773
+ "text": "Centralized-model. The results of centralized training, where data from all clients are gathered together, using the original multi-language model without extra modules.",
774
+ "bbox": [
775
+ 112,
776
+ 475,
777
+ 485,
778
+ 538
779
+ ],
780
+ "page_idx": 4
781
+ },
782
+ {
783
+ "type": "text",
784
+ "text": "Centralized-adapter. The results of centralized training using the multi-language model with adapter modules.",
785
+ "bbox": [
786
+ 112,
787
+ 539,
788
+ 487,
789
+ 586
790
+ ],
791
+ "page_idx": 4
792
+ },
793
+ {
794
+ "type": "text",
795
+ "text": "Adapter-local. We train a model for each client using local data without parameter aggregation with other language pairs.",
796
+ "bbox": [
797
+ 112,
798
+ 588,
799
+ 487,
800
+ 636
801
+ ],
802
+ "page_idx": 4
803
+ },
804
+ {
805
+ "type": "text",
806
+ "text": "Model-fed. We train the original multi-language model without Adapter modules under the federated learning framework, where the parameters are shared among all clients using the aggregation algorithm in Eq. (3) without any clustering strategies.",
807
+ "bbox": [
808
+ 112,
809
+ 638,
810
+ 487,
811
+ 717
812
+ ],
813
+ "page_idx": 4
814
+ },
815
+ {
816
+ "type": "text",
817
+ "text": "Adapter-fed. In this method, adapter modules are attached to the backbone model, while the rest settings are the same as those in model-fed. This baseline corresponds to the scene of directly introducing adapter without any clustering strategies.",
818
+ "bbox": [
819
+ 112,
820
+ 719,
821
+ 487,
822
+ 799
823
+ ],
824
+ "page_idx": 4
825
+ },
826
+ {
827
+ "type": "text",
828
+ "text": "3.3 Training Setup",
829
+ "text_level": 1,
830
+ "bbox": [
831
+ 112,
832
+ 812,
833
+ 278,
834
+ 828
835
+ ],
836
+ "page_idx": 4
837
+ },
838
+ {
839
+ "type": "text",
840
+ "text": "We choose the mBART-50 pre-trained model as our backbone model. To fairly compare the training and communication costs of different methods,",
841
+ "bbox": [
842
+ 112,
843
+ 833,
844
+ 487,
845
+ 881
846
+ ],
847
+ "page_idx": 4
848
+ },
849
+ {
850
+ "type": "text",
851
+ "text": "we train each model for 5 rounds. We select the checkpoint with the lowest loss on the dev set and evaluate it on the test set. Parameters are aggregated every time all clients finish an epoch of local training. For every client, the batch size is 8 and the local model is updated every 16 steps. The local learning rate is $5 \\times 10^{-5}$ for the mBART model and $1 \\times 10^{-3}$ for the models with adapter modules. The hidden size of adapter modules is 64.",
852
+ "bbox": [
853
+ 507,
854
+ 84,
855
+ 884,
856
+ 228
857
+ ],
858
+ "page_idx": 4
859
+ },
860
+ {
861
+ "type": "text",
862
+ "text": "For all experiments, we train the model with 3 random seeds and report the average scores. For the random clustering strategy, the clustering groups are different when using different random seeds.",
863
+ "bbox": [
864
+ 507,
865
+ 229,
866
+ 882,
867
+ 293
868
+ ],
869
+ "page_idx": 4
870
+ },
871
+ {
872
+ "type": "text",
873
+ "text": "4 Experimental Results",
874
+ "text_level": 1,
875
+ "bbox": [
876
+ 507,
877
+ 307,
878
+ 729,
879
+ 322
880
+ ],
881
+ "page_idx": 4
882
+ },
883
+ {
884
+ "type": "text",
885
+ "text": "4.1 Primary Results and Findings",
886
+ "text_level": 1,
887
+ "bbox": [
888
+ 507,
889
+ 332,
890
+ 791,
891
+ 348
892
+ ],
893
+ "page_idx": 4
894
+ },
895
+ {
896
+ "type": "text",
897
+ "text": "The experimental results in the m2en and m2m settings are shown in Table 1 and Table 2, respectively. In general, directly adding adapter modules leads to a performance drop (comparing adapter-fed and model-fed) and methods with clustering strategies all achieve better performance than the direct baseline adapter-fed, indicating the ability of our clustering strategies to alleviate data discrepancy. In both settings, adapter-families method performs best in macro and micro average scores among three clustering strategies, even surpassing model-fed in the m2m setting.",
898
+ "bbox": [
899
+ 505,
900
+ 354,
901
+ 882,
902
+ 546
903
+ ],
904
+ "page_idx": 4
905
+ },
906
+ {
907
+ "type": "text",
908
+ "text": "It is noteworthy that the clustering strategies acquire more significant performance improvements in the m2m setting than in the m2en setting. The problem of conflicting parameters is more settle-some in the m2m setting because there exist more kinds of languages (especially target languages). Thus introducing clustering strategies will bring more benefit to m2m translation tasks.",
909
+ "bbox": [
910
+ 507,
911
+ 548,
912
+ 882,
913
+ 675
914
+ ],
915
+ "page_idx": 4
916
+ },
917
+ {
918
+ "type": "text",
919
+ "text": "Meanwhile, we notice that our clustering strategies fail to beat adapter-local in the m2m setting. This can also be explained by the difference in the difficulty of tasks. In the more complicated m2m translation task, more elaborate clustering strategies should be designed to fully make advantage of other language pairs and avoid the influence of conflicting parameters. However, we bring the ability of multi-language translation to these clients through FL with an acceptable drop in performance compared to adapter-local.",
920
+ "bbox": [
921
+ 507,
922
+ 677,
923
+ 882,
924
+ 853
925
+ ],
926
+ "page_idx": 4
927
+ },
928
+ {
929
+ "type": "text",
930
+ "text": "4.2 Ablation Study",
931
+ "text_level": 1,
932
+ "bbox": [
933
+ 507,
934
+ 865,
935
+ 673,
936
+ 881
937
+ ],
938
+ "page_idx": 4
939
+ },
940
+ {
941
+ "type": "text",
942
+ "text": "In the m2m setting, the clustering of the adapter modules attached to the encoder and the decoder",
943
+ "bbox": [
944
+ 507,
945
+ 887,
946
+ 882,
947
+ 917
948
+ ],
949
+ "page_idx": 4
950
+ },
951
+ {
952
+ "type": "page_footnote",
953
+ "text": "3https://huggingface.co/facebook/mbart-large-50-many-to-many-mmt",
954
+ "bbox": [
955
+ 112,
956
+ 891,
957
+ 386,
958
+ 917
959
+ ],
960
+ "page_idx": 4
961
+ },
962
+ {
963
+ "type": "page_number",
964
+ "text": "5319",
965
+ "bbox": [
966
+ 480,
967
+ 927,
968
+ 519,
969
+ 940
970
+ ],
971
+ "page_idx": 4
972
+ },
973
+ {
974
+ "type": "table",
975
+ "img_path": "images/9ae9ff7aa4d9673ba0552024d023d4a56869c8ac5b6fe5fd8a6a8cc57ef8179d.jpg",
976
+ "table_caption": [],
977
+ "table_footnote": [],
978
+ "table_body": "<table><tr><td>Method</td><td>Comm. Cost</td><td>zh-en</td><td>th-en</td><td>ar-en</td><td>he-en</td><td>fi-en</td><td>et-en</td><td>ru-en</td><td>sl-en</td><td>Macro Avg.</td><td>Micro Avg.</td></tr><tr><td>centralized-model</td><td>N / A</td><td>24.72</td><td>28.97</td><td>38.29</td><td>43.59</td><td>32.81</td><td>32.70</td><td>30.14</td><td>47.92</td><td>34.89</td><td>32.33</td></tr><tr><td>centralized-adapter</td><td>N / A</td><td>24.97</td><td>21.47</td><td>39.02</td><td>45.05</td><td>33.62</td><td>32.62</td><td>30.65</td><td>50.45</td><td>34.73</td><td>32.03</td></tr><tr><td>adapter-local</td><td>N / A</td><td>25.16</td><td>21.68</td><td>39.46</td><td>44.32</td><td>33.12</td><td>32.64</td><td>30.58</td><td>50.93</td><td>34.73</td><td>32.15</td></tr><tr><td>model-fed</td><td>611M</td><td>25.31</td><td>23.41</td><td>39.54</td><td>45.13</td><td>32.87</td><td>33.27</td><td>30.77</td><td>51.85</td><td>35.27</td><td>32.55</td></tr><tr><td>adapter-fed</td><td>8M</td><td>25.12</td><td>16.64</td><td>39.62</td><td>44.93</td><td>33.14</td><td>32.66</td><td>30.41</td><td>53.62</td><td>34.52</td><td>31.71</td></tr><tr><td>adapter-random</td><td>8M</td><td>25.37</td><td>21.48</td><td>39.61</td><td>44.82</td><td>33.26</td><td>33.21</td><td>30.75</td><td>52.64</td><td>35.14</td><td>32.38</td></tr><tr><td>adapter-gradients</td><td>8M</td><td>25.26</td><td>21.26</td><td>39.39</td><td>44.64</td><td>33.62</td><td>33.14</td><td>30.72</td><td>51.16</td><td>34.90</td><td>32.21</td></tr><tr><td>adapter-families</td><td>8M</td><td>25.28</td><td>21.58</td><td>39.45</td><td>44.70</td><td>33.87</td><td>33.23</td><td>30.92</td><td>52.64</td><td>35.21</td><td>32.40</td></tr></table>",
979
+ "bbox": [
980
+ 136,
981
+ 82,
982
+ 863,
983
+ 209
984
+ ],
985
+ "page_idx": 5
986
+ },
987
+ {
988
+ "type": "table",
989
+ "img_path": "images/cea853e37265720de59660087f5eb245190bcc9f8112cdd284124c9fef3a036e.jpg",
990
+ "table_caption": [
991
+ "Table 1: BLEU scores on the TED2020 corpus. Comm. Cost, which is short for communication cost, denotes the number of parameters communicated between the server and each client. Adapter-random, adapter-gradients, and adapter-families refer to clustering strategies of random clustering, gradients, and language families/groups, respectively. The best result of each language pair is highlighted in **bold** (only methods with adapter modules trained in the FL setting are considered)."
992
+ ],
993
+ "table_footnote": [],
994
+ "table_body": "<table><tr><td>Method</td><td>Comm. Cost</td><td>de-fr</td><td>nl-pl</td><td>en-lt</td><td>fr-nl</td><td>it-sl</td><td>es-lv</td><td>pl-en</td><td>sl-es</td><td>sl-lt</td><td>lt-de</td><td>lv-it</td><td>lv-pl</td><td>Macro Avg.</td><td>Micro Avg.</td></tr><tr><td>centralized-model</td><td>N / A</td><td>30.43</td><td>19.15</td><td>28.86</td><td>23.20</td><td>19.96</td><td>27.17</td><td>40.35</td><td>33.20</td><td>21.24</td><td>21.84</td><td>23.63</td><td>20.57</td><td>25.80</td><td>26.10</td></tr><tr><td>centralized-adapter</td><td>N / A</td><td>30.59</td><td>19.07</td><td>29.65</td><td>22.92</td><td>18.68</td><td>27.73</td><td>41.52</td><td>33.20</td><td>21.45</td><td>22.16</td><td>23.40</td><td>20.85</td><td>25.93</td><td>26.19</td></tr><tr><td>adapter-local</td><td>N / A</td><td>30.88</td><td>19.19</td><td>30.31</td><td>23.50</td><td>20.01</td><td>28.12</td><td>41.84</td><td>33.39</td><td>21.13</td><td>22.27</td><td>23.62</td><td>21.05</td><td>26.28</td><td>26.56</td></tr><tr><td>model-fed</td><td>611M</td><td>30.41</td><td>17.60</td><td>29.62</td><td>19.76</td><td>13.41</td><td>28.01</td><td>39.77</td><td>32.25</td><td>21.10</td><td>21.94</td><td>20.09</td><td>19.92</td><td>24.49</td><td>24.68</td></tr><tr><td>adapter-fed</td><td>8M</td><td>29.75</td><td>17.47</td><td>30.08</td><td>16.92</td><td>11.85</td><td>28.01</td><td>38.18</td><td>31.06</td><td>20.18</td><td>21.23</td><td>18.02</td><td>19.97</td><td>23.56</td><td>23.53</td></tr><tr><td>adapter-random</td><td>8M</td><td>30.90</td><td>18.57</td><td>30.04</td><td>22.39</td><td>16.53</td><td>28.25</td><td>36.97</td><td>33.04</td><td>21.13</td><td>22.28</td><td>22.72</td><td>20.37</td><td>25.27</td><td>25.67</td></tr><tr><td>adapter-gradients</td><td>8M</td><td>30.14</td><td>19.69</td><td>30.19</td><td>19.53</td><td>19.14</td><td>28.06</td><td>41.73</td><td>33.31</td><td>21.51</td><td>21.60</td><td>19.95</td><td>21.29</td><td>25.51</td><td>25.35</td></tr><tr><td>adapter-families</td><td>8M</td><td>30.60</td><td>19.31</td><td>30.12</td><td>22.65</td><td>16.69</td><td>27.99</td><td>41.33</td><td>33.21</td><td>21.31</td><td>22.04</td><td>22.68</td><td>21.21</td><td>25.76</td><td>26.04</td></tr></table>",
995
+ "bbox": [
996
+ 134,
997
+ 303,
998
+ 863,
999
+ 406
1000
+ ],
1001
+ "page_idx": 5
1002
+ },
1003
+ {
1004
+ "type": "text",
1005
+ "text": "Table 2: BLEU scores on the Europarl corpus. The meanings of symbols stay the same as those in Table 1.",
1006
+ "bbox": [
1007
+ 137,
1008
+ 414,
1009
+ 858,
1010
+ 430
1011
+ ],
1012
+ "page_idx": 5
1013
+ },
1014
+ {
1015
+ "type": "text",
1016
+ "text": "are independent. To further explore the specific influence of clustering in these two modules on the model's performance, we apply the clustering strategy to only the encoder and the decoder separately and show the results in Figure 3. We use language families/groups as the clustering strategy. All methods are trained in the m2m setting using the Europarl dataset with one random seed. Other settings are the same as those in our main experiments.",
1017
+ "bbox": [
1018
+ 112,
1019
+ 455,
1020
+ 487,
1021
+ 599
1022
+ ],
1023
+ "page_idx": 5
1024
+ },
1025
+ {
1026
+ "type": "text",
1027
+ "text": "To our surprise, either clustering in the encoder or the decoder significantly improves performance compared to no-sharing strategies, even surpasses adapter-families. We owe this phenomenon to our naive clustering strategies in the encoder and the decoder. In adapter-families, the clustering of the encoder and the decoder is only related to the source and target languages respectively. However, parameters in both the encoder and the decoder are influenced by source and target languages together during training. The inconsistency between clustering strategies and parameter update results in adapter-families method's worse performance than adapter-encoder and adapter-decoder.",
1028
+ "bbox": [
1029
+ 112,
1030
+ 600,
1031
+ 489,
1032
+ 826
1033
+ ],
1034
+ "page_idx": 5
1035
+ },
1036
+ {
1037
+ "type": "text",
1038
+ "text": "5 Further Analysis",
1039
+ "text_level": 1,
1040
+ "bbox": [
1041
+ 112,
1042
+ 838,
1043
+ 294,
1044
+ 854
1045
+ ],
1046
+ "page_idx": 5
1047
+ },
1048
+ {
1049
+ "type": "text",
1050
+ "text": "5.1 Case Study",
1051
+ "text_level": 1,
1052
+ "bbox": [
1053
+ 112,
1054
+ 865,
1055
+ 250,
1056
+ 881
1057
+ ],
1058
+ "page_idx": 5
1059
+ },
1060
+ {
1061
+ "type": "text",
1062
+ "text": "We select some representative cases of translations from method adapter-families and adapter",
1063
+ "bbox": [
1064
+ 112,
1065
+ 887,
1066
+ 489,
1067
+ 917
1068
+ ],
1069
+ "page_idx": 5
1070
+ },
1071
+ {
1072
+ "type": "image",
1073
+ "img_path": "images/a1721ffc51fcbabb4f31b7005168dd3bf132ac5ba2fba58976daddb2ea6c23a3.jpg",
1074
+ "image_caption": [
1075
+ "Figure 3: Results of ablation study. Encoder/Decoder-cluster denote clustering only in the encoder/decoder, both obtaining significant improvements compared to the no-clustering baseline."
1076
+ ],
1077
+ "image_footnote": [],
1078
+ "bbox": [
1079
+ 519,
1080
+ 462,
1081
+ 880,
1082
+ 609
1083
+ ],
1084
+ "page_idx": 5
1085
+ },
1086
+ {
1087
+ "type": "text",
1088
+ "text": "shareAll, which are shown in Table 3, to further study the influence of our clustering strategies. We separate the mistakes into three categories.",
1089
+ "bbox": [
1090
+ 507,
1091
+ 706,
1092
+ 882,
1093
+ 755
1094
+ ],
1095
+ "page_idx": 5
1096
+ },
1097
+ {
1098
+ "type": "text",
1099
+ "text": "Opposite semantics In case 1 and case 2, adapter-fed misses negation adverbs in predictions and results in totally opposite semantics.",
1100
+ "bbox": [
1101
+ 507,
1102
+ 764,
1103
+ 882,
1104
+ 813
1105
+ ],
1106
+ "page_idx": 5
1107
+ },
1108
+ {
1109
+ "type": "text",
1110
+ "text": "Inaccurate words/phrases In case 3, adapter-fed translates adverbial of time into \"a day or two\", which should be \"four or five weeks\" actually. In case 4, adapter-fed uses the expression \"save the world\", which differs from the original expression \"change the world\" in semantics.",
1111
+ "bbox": [
1112
+ 505,
1113
+ 822,
1114
+ 884,
1115
+ 917
1116
+ ],
1117
+ "page_idx": 5
1118
+ },
1119
+ {
1120
+ "type": "page_number",
1121
+ "text": "5320",
1122
+ "bbox": [
1123
+ 480,
1124
+ 927,
1125
+ 521,
1126
+ 940
1127
+ ],
1128
+ "page_idx": 5
1129
+ },
1130
+ {
1131
+ "type": "table",
1132
+ "img_path": "images/0633af0df453260a9f29713149144ca66b91a9e3af44f0988b467881c64d6d1a.jpg",
1133
+ "table_caption": [],
1134
+ "table_footnote": [],
1135
+ "table_body": "<table><tr><td>Method</td><td>Sentence</td></tr><tr><td>Ground truth \nadapter-families \nadapter-fed</td><td>I think if somebody tells a lie, they&#x27;re not just a liar. \nI think if somebody tells a lie, they&#x27;re not just a liar. \nI know that when people lie, they&#x27;re just lying.</td></tr><tr><td>Ground truth \nadapter-families \nadapter-fed</td><td>I never miss a single training session. \nI didn&#x27;t miss a single training session. \nI missed one training session.</td></tr><tr><td>Ground truth \nadapter-families \nadapter-fed</td><td>And within four or five weeks, he can do it again. \nAnd within four or five weeks, he can do it again. \nAnd within a day or two, he can do this.</td></tr><tr><td>Ground truth \nadapter-families \nadapter-fed</td><td>So could art change the world? \nCan art change the world? \nIs art about saving the world?</td></tr><tr><td>Ground truth \nadapter-families \nadapter-fed</td><td>Over 100,000 children learn science this way. \nHundreds of thousands of children learn science this way. \nHundreds of thousands of people learned how to do that.</td></tr><tr><td>Ground truth \nadapter-families \nadapter-fed</td><td>And all at once I became a learner. \nAnd all of a sudden, I became a learner. \nAnd all of a sudden, it&#x27;s happening.</td></tr></table>",
1136
+ "bbox": [
1137
+ 126,
1138
+ 80,
1139
+ 478,
1140
+ 305
1141
+ ],
1142
+ "page_idx": 6
1143
+ },
1144
+ {
1145
+ "type": "table",
1146
+ "img_path": "images/76b7fc1d14a191cf8202bb1d4e84895d63c2fb0f309bc06ce68564fc0eff5def.jpg",
1147
+ "table_caption": [
1148
+ "Table 3: Case study comparison of adapter-families and adapter-fed. Obvious translation mistakes are highlighted in red and corresponding correct translations are highlighted in blue."
1149
+ ],
1150
+ "table_footnote": [],
1151
+ "table_body": "<table><tr><td rowspan=\"2\" colspan=\"2\">Method</td><td colspan=\"2\">TED2020</td><td colspan=\"2\">Europarl</td></tr><tr><td>Macro Avg.</td><td>Micro Avg.</td><td>Macro Avg.</td><td>Micro Avg.</td></tr><tr><td rowspan=\"2\">adapter-fed</td><td>FedAvg</td><td>34.31</td><td>31.70</td><td>22.20</td><td>23.00</td></tr><tr><td>FedMean</td><td>34.52</td><td>31.71</td><td>23.56</td><td>23.53</td></tr><tr><td rowspan=\"2\">adapter-random</td><td>FedAvg</td><td>34.79</td><td>32.16</td><td>25.19</td><td>25.76</td></tr><tr><td>FedMean</td><td>35.14</td><td>32.38</td><td>25.27</td><td>25.67</td></tr><tr><td rowspan=\"2\">adapter-gradients</td><td>FedAvg</td><td>34.46</td><td>31.96</td><td>25.64</td><td>25.84</td></tr><tr><td>FedMean</td><td>34.90</td><td>32.21</td><td>25.51</td><td>25.35</td></tr><tr><td rowspan=\"2\">adapter-families</td><td>FedAvg</td><td>34.83</td><td>32.09</td><td>25.47</td><td>26.02</td></tr><tr><td>FedMean</td><td>35.21</td><td>32.40</td><td>25.76</td><td>26.04</td></tr></table>",
1152
+ "bbox": [
1153
+ 126,
1154
+ 387,
1155
+ 478,
1156
+ 495
1157
+ ],
1158
+ "page_idx": 6
1159
+ },
1160
+ {
1161
+ "type": "text",
1162
+ "text": "Table 4: Comparison between FedAvg and FedMean (the aggregation method we use in Eq. 3). Results of FedMean are in green if better than those of FedAvg, otherwise in red. In most cases, FedMean yields performance gains.",
1163
+ "bbox": [
1164
+ 112,
1165
+ 505,
1166
+ 489,
1167
+ 576
1168
+ ],
1169
+ "page_idx": 6
1170
+ },
1171
+ {
1172
+ "type": "text",
1173
+ "text": "Ambiguous semantics In cases 5 and 6, adapter-fed loses specific semantic information in ground truths. It fails to properly translate \"children\", \"science\" and \"become a learner\" and uses more ambiguous expressions instead.",
1174
+ "bbox": [
1175
+ 112,
1176
+ 605,
1177
+ 489,
1178
+ 684
1179
+ ],
1180
+ "page_idx": 6
1181
+ },
1182
+ {
1183
+ "type": "text",
1184
+ "text": "In comparison, adapter-families makes more accurate predictions in the above cases, which suggests that appropriate clustering strategies help the model produce better translations with improvements in semantics.",
1185
+ "bbox": [
1186
+ 112,
1187
+ 687,
1188
+ 489,
1189
+ 765
1190
+ ],
1191
+ "page_idx": 6
1192
+ },
1193
+ {
1194
+ "type": "text",
1195
+ "text": "5.2 Both FedMean and Clustering Contribute",
1196
+ "text_level": 1,
1197
+ "bbox": [
1198
+ 112,
1199
+ 783,
1200
+ 487,
1201
+ 797
1202
+ ],
1203
+ "page_idx": 6
1204
+ },
1205
+ {
1206
+ "type": "text",
1207
+ "text": "In our experiments, discrepancies in data come from two aspects: data quantity skew and linguistic discrepancy (language difference). We adjust the aggregation algorithm from Eq. (2) to Eq. (3), which we call FedMean here, to tackle the problem of quantity skew. Moreover, we propose clustering strategies to prevent clients from receiving con",
1208
+ "bbox": [
1209
+ 112,
1210
+ 806,
1211
+ 489,
1212
+ 917
1213
+ ],
1214
+ "page_idx": 6
1215
+ },
1216
+ {
1217
+ "type": "text",
1218
+ "text": "flecting parameters from dissimilar languages. To explore how these two methods contribute to improvement in performance, we further conduct experiments with the aggregation algorithm changed to FedAvg (see Eq. (2)) and keep other training settings unchanged.",
1219
+ "bbox": [
1220
+ 507,
1221
+ 84,
1222
+ 884,
1223
+ 180
1224
+ ],
1225
+ "page_idx": 6
1226
+ },
1227
+ {
1228
+ "type": "text",
1229
+ "text": "As the results displayed in Table 4, clustering strategies bring more significant improvements in performance on the Europarl corpus than the TED2020 corpus. Since experiments on the Europarl corpus consists of more different languages and are conducted in a more complicated m2m setting, the problem of linguistic discrepancy is more severe for Europarl. For the TED2020 corpus, changing the aggregation algorithm from FedAvg to FedMean leads to more significant improvements for methods with clustering strategies compared to adapter-fed. In contrast, for the Europarl corpus, adapter-fed substantially benefits from FedMean, while FedMean hardly brings any benefits to methods with clustering strategies, even causing performance drop in some cases.",
1230
+ "bbox": [
1231
+ 507,
1232
+ 183,
1233
+ 884,
1234
+ 439
1235
+ ],
1236
+ "page_idx": 6
1237
+ },
1238
+ {
1239
+ "type": "text",
1240
+ "text": "Based on these observations, we contend that both aggregation algorithms and clustering strategies contribute to performance gain by alleviating data discrepancies. The specific extent of improvement depends on the extent of data quantity skew and linguistic discrepancy.",
1241
+ "bbox": [
1242
+ 507,
1243
+ 442,
1244
+ 882,
1245
+ 539
1246
+ ],
1247
+ "page_idx": 6
1248
+ },
1249
+ {
1250
+ "type": "text",
1251
+ "text": "5.3 Further Cost Saving by Adapter Pruning",
1252
+ "text_level": 1,
1253
+ "bbox": [
1254
+ 507,
1255
+ 556,
1256
+ 878,
1257
+ 571
1258
+ ],
1259
+ "page_idx": 6
1260
+ },
1261
+ {
1262
+ "type": "text",
1263
+ "text": "On top of the adapter tuning approach, adapter pruning techniques (Rücklé et al., 2021; Pfeiffer et al., 2021; Karimi Mahabadi et al., 2021) further compress the number of parameters to be updated. To further reduce the communication cost, we conduct an exploratory attempt to prune parts of adapter modules in both the encoder and the decoder. We still choose the mBART-50 model, with 12 layers in the encoder and the decoder separately, to conduct the experiments. Specifically, we evenly separate all adapter modules we add in mBART into three parts: input-end adapters (adapter modules in the first 4 layers of the encoder or the decoder), middle-layer adapters (adapter modules in layers 5 to 8 of the encoder or the decoder), output-end adapters (adapter modules in the last 4 layers of the encoder or the decoder). In each strategy, only one part of the adapter modules is kept, so the communication cost is saved by two-thirds. We use adapter-families as the baseline and train all models with one random seed. The rest settings stay the",
1264
+ "bbox": [
1265
+ 507,
1266
+ 581,
1267
+ 884,
1268
+ 917
1269
+ ],
1270
+ "page_idx": 6
1271
+ },
1272
+ {
1273
+ "type": "page_number",
1274
+ "text": "5321",
1275
+ "bbox": [
1276
+ 480,
1277
+ 928,
1278
+ 517,
1279
+ 940
1280
+ ],
1281
+ "page_idx": 6
1282
+ },
1283
+ {
1284
+ "type": "table",
1285
+ "img_path": "images/12efe430ac8b836003c4c27ef963d4b2b11a74f3810b069bc0e5bb2baf427306.jpg",
1286
+ "table_caption": [],
1287
+ "table_footnote": [],
1288
+ "table_body": "<table><tr><td>Method</td><td>adapters</td><td>Comm. Cost</td><td>de-fr</td><td>nl-pl</td><td>en-lt</td><td>fr-nl</td><td>it-s1</td><td>es-lv</td><td>pl-en</td><td>sl-es</td><td>sl-lt</td><td>lt-de</td><td>lv-it</td><td>lv-pl</td><td>Macro Avg.</td><td>Micro Avg.</td></tr><tr><td rowspan=\"4\">Language families clustering</td><td>input-end</td><td>2.7M</td><td>30.21</td><td>19.04</td><td>29.98</td><td>20.39</td><td>14.93</td><td>28.09</td><td>41.64</td><td>32.08</td><td>21.39</td><td>21.62</td><td>19.89</td><td>20.73</td><td>25.00</td><td>25.12</td></tr><tr><td>middle-layer</td><td>2.7M</td><td>30.12</td><td>18.88</td><td>29.84</td><td>21.27</td><td>15.15</td><td>28.16</td><td>41.33</td><td>31.92</td><td>21.06</td><td>21.68</td><td>20.99</td><td>20.74</td><td>25.10</td><td>25.30</td></tr><tr><td>output-end</td><td>2.7M</td><td>30.30</td><td>19.37</td><td>30.33</td><td>22.17</td><td>16.06</td><td>27.96</td><td>41.39</td><td>31.76</td><td>20.03</td><td>21.75</td><td>21.97</td><td>21.15</td><td>25.35</td><td>25.64</td></tr><tr><td>all adapters</td><td>8.1M</td><td>30.18</td><td>18.85</td><td>29.86</td><td>22.42</td><td>16.10</td><td>27.66</td><td>41.13</td><td>32.96</td><td>20.78</td><td>21.80</td><td>22.78</td><td>21.27</td><td>25.48</td><td>25.75</td></tr></table>",
1289
+ "bbox": [
1290
+ 136,
1291
+ 82,
1292
+ 862,
1293
+ 136
1294
+ ],
1295
+ "page_idx": 7
1296
+ },
1297
+ {
1298
+ "type": "text",
1299
+ "text": "Table 5: BLEU scores of different adapter pruning strategies. We acquire similar results with only 1/3 communication cost compared to keeping all adapter modules.",
1300
+ "bbox": [
1301
+ 112,
1302
+ 146,
1303
+ 882,
1304
+ 174
1305
+ ],
1306
+ "page_idx": 7
1307
+ },
1308
+ {
1309
+ "type": "text",
1310
+ "text": "same as those in previous main experiments. The results are shown in Table 5.",
1311
+ "bbox": [
1312
+ 112,
1313
+ 200,
1314
+ 485,
1315
+ 230
1316
+ ],
1317
+ "page_idx": 7
1318
+ },
1319
+ {
1320
+ "type": "text",
1321
+ "text": "It is encouraging that pruning adapters do not result in a sharp decrease in performance. We observe that keeping output-end adapters achieves the highest score among the three pruning strategies, which suggests that adapters in the top layers play more important roles. Overall, the results indicate that it is possible to further reduce communication costs and it is worthwhile to explore more elaborate pruning techniques in future work.",
1322
+ "bbox": [
1323
+ 112,
1324
+ 233,
1325
+ 487,
1326
+ 376
1327
+ ],
1328
+ "page_idx": 7
1329
+ },
1330
+ {
1331
+ "type": "text",
1332
+ "text": "6 Related Work",
1333
+ "text_level": 1,
1334
+ "bbox": [
1335
+ 112,
1336
+ 388,
1337
+ 270,
1338
+ 401
1339
+ ],
1340
+ "page_idx": 7
1341
+ },
1342
+ {
1343
+ "type": "text",
1344
+ "text": "Federated Learning was first proposed by McMahan et al. (2017) as a decentralized training framework. Due to its decentralized and private nature, FL shows great potential in actual applications. Recently, there has been a surge in the NLP community to explore the application of federated learning in diverse NLP tasks, such as emojis prediciton (Gandhi et al., 2022), named entity recognition (Ge et al., 2020), and machine translation (Roosta et al., 2021; Passban et al., 2022; Weller et al., 2022), etc. Roosta et al. (2021) first applied FL to NMT tasks. However, training language models in the FL setting brings huge communication overheads. To solve this problem, researchers have proposed to only exchange some dedicated \"Controller\" (Roosta et al., 2021) layers between the server and clients. Moreover, Passban et al. (2022) introduced parameter pruning strategies to reduce communication bandwidth. Our methods with adapter modules have advantages in communication efficiency with fewer parameters to be transferred compared to Controller (see Appendix D), and other parameter pruning strategies can also be applied to our adapter modules to further reduce communication costs.",
1345
+ "bbox": [
1346
+ 112,
1347
+ 413,
1348
+ 489,
1349
+ 813
1350
+ ],
1351
+ "page_idx": 7
1352
+ },
1353
+ {
1354
+ "type": "text",
1355
+ "text": "Multilingual Neural Machine Translation (MNMT) trains a single model to handle translation between multiple language pairs (Johnson et al., 2017; Aharoni et al., 2019; Zhang et al., 2020). Moreover, MNMT significantly reduces training and inference costs by eliminating the",
1356
+ "bbox": [
1357
+ 112,
1358
+ 822,
1359
+ 489,
1360
+ 917
1361
+ ],
1362
+ "page_idx": 7
1363
+ },
1364
+ {
1365
+ "type": "text",
1366
+ "text": "need to train models for each language pair. Massively pre-trained multilingual models have been used for MNMT, such as mBART-50 (Tang et al., 2020) and M2M100 (Fan et al., 2021). In recent years, adapter has become a popular method in MNMT (Bapna and First, 2019; Cooper Stickland et al., 2021; Philip et al., 2020; Üstün et al., 2021; Chronopoulou et al., 2022) due to its high parameter efficiency and transferability between tasks.",
1367
+ "bbox": [
1368
+ 507,
1369
+ 200,
1370
+ 884,
1371
+ 344
1372
+ ],
1373
+ "page_idx": 7
1374
+ },
1375
+ {
1376
+ "type": "text",
1377
+ "text": "Different from previous works on this topic, inspired by recent progress in improving the efficiency of NLP methods (Strubell et al., 2019; Li et al., 2021a; Xu et al., 2021; Li et al., 2021b), we focus on communication efficiency in FL-MNMT and make the first effort to introduce adapter modules in order to reduce communication costs. We also apply different clustering strategies to resolve the issue of conflicting parameters stemming from data discrepancy.",
1378
+ "bbox": [
1379
+ 507,
1380
+ 346,
1381
+ 884,
1382
+ 506
1383
+ ],
1384
+ "page_idx": 7
1385
+ },
1386
+ {
1387
+ "type": "text",
1388
+ "text": "7 Conclusion",
1389
+ "text_level": 1,
1390
+ "bbox": [
1391
+ 507,
1392
+ 520,
1393
+ 640,
1394
+ 536
1395
+ ],
1396
+ "page_idx": 7
1397
+ },
1398
+ {
1399
+ "type": "text",
1400
+ "text": "In this paper, we introduce adapter modules to PLMs for the Fed-MNMT problem to boost communication efficiency. We reduce the communication cost by over $98\\%$ and make the training process of Fed-MNMT practical. To deal with the problem of performance drop after introducing adapter modules, we propose different clustering strategies to separate clients into different groups to avoid the negative influence of data discrepancy. We surpass the direct baseline with a substantial gap, especially in the more complicated multi-to-multi translation setting.",
1401
+ "bbox": [
1402
+ 507,
1403
+ 546,
1404
+ 882,
1405
+ 740
1406
+ ],
1407
+ "page_idx": 7
1408
+ },
1409
+ {
1410
+ "type": "text",
1411
+ "text": "Furthermore, our analytic experiments indicate that both aggregation algorithms in server and clustering strategies affect the performance of FedMNMT. We also explore the possibility of further reducing communication costs by pruning adapter modules and find that adapters in top layers are more significant for translation performance.",
1412
+ "bbox": [
1413
+ 507,
1414
+ 741,
1415
+ 882,
1416
+ 853
1417
+ ],
1418
+ "page_idx": 7
1419
+ },
1420
+ {
1421
+ "type": "text",
1422
+ "text": "In future work, we will explore more well-designed clustering strategies and attach other parameter-efficient techniques to adapter to further reduce the parameters to be transferred.",
1423
+ "bbox": [
1424
+ 507,
1425
+ 854,
1426
+ 882,
1427
+ 917
1428
+ ],
1429
+ "page_idx": 7
1430
+ },
1431
+ {
1432
+ "type": "page_number",
1433
+ "text": "5322",
1434
+ "bbox": [
1435
+ 480,
1436
+ 927,
1437
+ 519,
1438
+ 940
1439
+ ],
1440
+ "page_idx": 7
1441
+ },
1442
+ {
1443
+ "type": "text",
1444
+ "text": "Limitations",
1445
+ "text_level": 1,
1446
+ "bbox": [
1447
+ 114,
1448
+ 84,
1449
+ 220,
1450
+ 99
1451
+ ],
1452
+ "page_idx": 8
1453
+ },
1454
+ {
1455
+ "type": "text",
1456
+ "text": "First, in this work, we assume that clustering in the encoder and the decoder is only related to the source and target languages, respectively. Actually, both parameters in the encoder and the decoder are influenced by source and target languages simultaneously. Therefore, our assumption may lead to a performance drop. In future work, we plan to explore more complicated clustering strategies.",
1457
+ "bbox": [
1458
+ 112,
1459
+ 108,
1460
+ 487,
1461
+ 236
1462
+ ],
1463
+ "page_idx": 8
1464
+ },
1465
+ {
1466
+ "type": "text",
1467
+ "text": "Moreover, our adapter-families method depends on prior linguistic knowledge. Its actual effectiveness can be affected by the distribution of language families/groups in clients. Our methods mainly apply to comparably uniform language distribution.",
1468
+ "bbox": [
1469
+ 112,
1470
+ 237,
1471
+ 487,
1472
+ 317
1473
+ ],
1474
+ "page_idx": 8
1475
+ },
1476
+ {
1477
+ "type": "text",
1478
+ "text": "In addition, the effectiveness of our methods on other PLMs needs to be verified. However, it is easy to transfer our methods to other models so it will not be a challenging problem.",
1479
+ "bbox": [
1480
+ 112,
1481
+ 318,
1482
+ 487,
1483
+ 381
1484
+ ],
1485
+ "page_idx": 8
1486
+ },
1487
+ {
1488
+ "type": "text",
1489
+ "text": "Acknowledgements",
1490
+ "text_level": 1,
1491
+ "bbox": [
1492
+ 114,
1493
+ 393,
1494
+ 285,
1495
+ 409
1496
+ ],
1497
+ "page_idx": 8
1498
+ },
1499
+ {
1500
+ "type": "text",
1501
+ "text": "We thank all reviewers for their insightful comments and suggestions. This work is supported by Natural Science Foundation of China (NSFC) No.62176002. We sincerely thank Jingjing Xu for her valuable suggestions. Xu Sun is the corresponding author.",
1502
+ "bbox": [
1503
+ 112,
1504
+ 418,
1505
+ 489,
1506
+ 513
1507
+ ],
1508
+ "page_idx": 8
1509
+ },
1510
+ {
1511
+ "type": "text",
1512
+ "text": "References",
1513
+ "text_level": 1,
1514
+ "bbox": [
1515
+ 114,
1516
+ 539,
1517
+ 213,
1518
+ 556
1519
+ ],
1520
+ "page_idx": 8
1521
+ },
1522
+ {
1523
+ "type": "list",
1524
+ "sub_type": "ref_text",
1525
+ "list_items": [
1526
+ "Roee Aharoni, Melvin Johnson, and Orhan First. 2019. Massively multilingual neural machine translation. 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 3874-3884, Minneapolis, Minnesota. Association for Computational Linguistics.",
1527
+ "Ankur Bapna and Orhan First. 2019. Simple, scalable adaptation for neural machine translation. 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 1538-1548, Hong Kong, China. Association for Computational Linguistics.",
1528
+ "Alexandra Chronopoulou, Dario Stojanovski, and Alexander Fraser. 2022. Language-family adapters for multilingual neural machine translation. ArXiv preprint, abs/2209.15236.",
1529
+ "Asa Cooper Stickland, Xian Li, and Marjan Ghazvininejad. 2021. Recipes for adapting pre-trained monolingual and multilingual models to machine translation. In Proceedings of the 16th Conference of the European Chapter of the Association for Computational"
1530
+ ],
1531
+ "bbox": [
1532
+ 115,
1533
+ 562,
1534
+ 489,
1535
+ 917
1536
+ ],
1537
+ "page_idx": 8
1538
+ },
1539
+ {
1540
+ "type": "list",
1541
+ "sub_type": "ref_text",
1542
+ "list_items": [
1543
+ "Linguistics: Main Volume, pages 3440-3453, Online. \nAssociation for Computational Linguistics.",
1544
+ "Angela Fan, Shruti Bhosale, Holger Schwenk, Zhiyi Ma, Ahmed El-Kishky, Siddharth Goyal, Mandep Baines, Onur Celebi, Guillaume Wenzek, Vishrav Chaudhary, Naman Goyal, Tom Birch, Vitaliy Liptchinsky, Sergey Edunov, Edouard Grave, Michael Auli, and Armand Joulin. 2020. Beyond english-centric multilingual machine translation.",
1545
+ "Angela Fan, Shruti Bhosale, Holger Schwenk, Zhiyi Ma, Ahmed El-Kishky, Siddharth Goyal, Mandeep Baines, Onur Celebi, Guillaume Wenzek, Vishrav Chaudhary, et al. 2021. Beyond english-centric multilingual machine translation. J. Mach. Learn. Res., 22(107):1-48.",
1546
+ "Orhan First, Kyunghyun Cho, and Yoshua Bengio. 2016. Multi-way, multilingual neural machine translation with a shared attention mechanism. In Proceedings of the 2016 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, pages 866-875, San Diego, California. Association for Computational Linguistics.",
1547
+ "Deep Gandhi, Jash Mehta, Nirali Parekh, Karan Waghela, Lynette D'Mello, and Zeerak Talat. 2022. A federated approach to predicting emojis in hindi tweets. ArXiv preprint, abs/2211.06401.",
1548
+ "Suyu Ge, Fangzhao Wu, Chuhan Wu, Tao Qi, Yongfeng Huang, and Xing Xie. 2020. Fedner: Privacy-preserving medical named entity recognition with federated learning. arXiv e-prints, pages arXiv-2003.",
1549
+ "Neil Houlsby, Andrei Giurgiu, Stanislaw Jastrzebski, Bruna Morrone, Quentin de Laroussilhe, Andrea Gesmundo, Mona Attariyan, and Sylvain Gelly. 2019. Parameter-efficient transfer learning for NLP. In Proceedings of the 36th International Conference on Machine Learning, ICML 2019, 9-15 June 2019, Long Beach, California, USA, volume 97 of Proceedings of Machine Learning Research, pages 2790-2799. PMLR.",
1550
+ "Melvin Johnson, Mike Schuster, Quoc V. Le, Maxim Krikun, Yonghui Wu, Zhifeng Chen, Nikhil Thorat, Fernanda Viégas, Martin Wattenberg, Greg Corrado, Macduff Hughes, and Jeffrey Dean. 2017. Google's multilingual neural machine translation system: Enabling zero-shot translation. Transactions of the Association for Computational Linguistics, 5:339-351.",
1551
+ "Rabeeh Karimi Mahabadi, James Henderson, and Sebastian Ruder. 2021. Compacter: Efficient low-rank hypercomplex adapter layers. Advances in Neural Information Processing Systems, 34:1022-1035.",
1552
+ "Philipp Koehn. 2005. Europarl: A parallel corpus for statistical machine translation. In Proceedings of Machine Translation Summit X: Papers, pages 79-86, Phuket, Thailand."
1553
+ ],
1554
+ "bbox": [
1555
+ 510,
1556
+ 85,
1557
+ 884,
1558
+ 917
1559
+ ],
1560
+ "page_idx": 8
1561
+ },
1562
+ {
1563
+ "type": "page_number",
1564
+ "text": "5323",
1565
+ "bbox": [
1566
+ 480,
1567
+ 928,
1568
+ 519,
1569
+ 940
1570
+ ],
1571
+ "page_idx": 8
1572
+ },
1573
+ {
1574
+ "type": "list",
1575
+ "sub_type": "ref_text",
1576
+ "list_items": [
1577
+ "Lei Li, Yankai Lin, Deli Chen, Shuhuai Ren, Peng Li, Jie Zhou, and Xu Sun. 2021a. Cascadebert: Accelerating inference of pre-trained language models via calibrated complete models cascade. In Findings of the Association for Computational Linguistics: EMNLP 2021, pages 475-486.",
1578
+ "Lei Li, Yankai Lin, Shuhuai Ren, Peng Li, Jie Zhou, and Xu Sun. 2021b. Dynamic knowledge distillation for pre-trained language models. In Proceedings of the 2021 Conference on Empirical Methods in Natural Language Processing, pages 379-389.",
1579
+ "Brendan McMahan, Eider Moore, Daniel Ramage, Seth Hampson, and Blaise Agüera y Arcas. 2017. Communication-efficient learning of deep networks from decentralized data. In Proceedings of the 20th International Conference on Artificial Intelligence and Statistics, AISTATS 2017, 20-22 April 2017, Fort Lauderdale, FL, USA, volume 54 of Proceedings of Machine Learning Research, pages 1273-1282. PMLR.",
1580
+ "Yifan Niu and Weihong Deng. 2022. Federated learning for face recognition with gradient correction. In Proceedings of the AAAI Conference on Artificial Intelligence, volume 36, pages 1999-2007.",
1581
+ "Peyman Passban, Tanya Roosta, Rahul Gupta, Ankit Chadha, and Clement Chung. 2022. Training mixed-domain translation models via federated learning. In Proceedings of the 2022 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, pages 2576-2586, Seattle, United States. Association for Computational Linguistics.",
1582
+ "Jonas Pfeiffer, Aishwarya Kamath, Andreas Rückle, Kyunghyun Cho, and Iryna Gurevych. 2021. AdapterFusion: Non-destructive task composition for transfer learning. In Proceedings of the 16th Conference of the European Chapter of the Association for Computational Linguistics: Main Volume, pages 487-503, Online. Association for Computational Linguistics.",
1583
+ "Jonas Pfeiffer, Andreas Rückle, Clifton Poth, Aishwarya Kamath, Ivan Vulic, Sebastian Ruder, Kyunghyun Cho, and Iryna Gurevych. 2020. AdapterHub: A framework for adapting transformers. In Proceedings of the 2020 Conference on Empirical Methods in Natural Language Processing: System Demonstrations, pages 46-54, Online. Association for Computational Linguistics.",
1584
+ "Jerin Philip, Alexandre Berard, Matthias Galle, and Laurent Besacier. 2020. Monolingual adapters for zero-shot neural machine translation. In Proceedings of the 2020 Conference on Empirical Methods in Natural Language Processing (EMNLP), pages 4465-4470, Online. Association for Computational Linguistics.",
1585
+ "Matt Post. 2018. A call for clarity in reporting BLEU scores. In Proceedings of the Third Conference on"
1586
+ ],
1587
+ "bbox": [
1588
+ 115,
1589
+ 85,
1590
+ 489,
1591
+ 917
1592
+ ],
1593
+ "page_idx": 9
1594
+ },
1595
+ {
1596
+ "type": "list",
1597
+ "sub_type": "ref_text",
1598
+ "list_items": [
1599
+ "Machine Translation: Research Papers, pages 186-191, Brussels, Belgium. Association for Computational Linguistics.",
1600
+ "Sylvestre-Alvise Rebuffi, Hakan Bilen, and Andrea Vedaldi. 2017. Learning multiple visual domains with residual adapters. 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 506-516.",
1601
+ "Nils Reimers and Iryna Gurevych. 2020. Making monolingual sentence embeddings multilingual using knowledge distillation. In Proceedings of the 2020 Conference on Empirical Methods in Natural Language Processing (EMNLP), pages 4512-4525, Online. Association for Computational Linguistics.",
1602
+ "Tanya Roosta, Peyman Passban, and Ankit Chadha. 2021. Communication-efficient federated learning for neural machine translation. ArXiv preprint, abs/2112.06135.",
1603
+ "Andreas Rückle, Gregor Geigle, Max Glockner, Tilman Beck, Jonas Pfeiffer, Nils Reimers, and Iryna Gurevych. 2021. AdapterDrop: On the efficiency of adapters in transformers. In Proceedings of the 2021 Conference on Empirical Methods in Natural Language Processing, pages 7930-7946, Online and Punta Cana, Dominican Republic. Association for Computational Linguistics.",
1604
+ "Emma Strubell, Ananya Ganesh, and Andrew McCallum. 2019. Energy and policy considerations for deep learning in nlp. In Proceedings of the 57th Annual Meeting of the Association for Computational Linguistics, pages 3645-3650.",
1605
+ "Xu Tan, Jiale Chen, Di He, Yingce Xia, Tao Qin, and Tie-Yan Liu. 2019. Multilingual neural machine translation with language clustering. 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 963-973, Hong Kong, China. Association for Computational Linguistics.",
1606
+ "Y. Tang, C. Tran, Xian Li, Peng-Jen Chen, Naman Goyal, Vishrav Chaudhary, Jiatao Gu, and Angela Fan. 2020. Multilingual translation with extensible multilingual pretraining and finetuning. ArXiv, abs/2008.00401.",
1607
+ "Ahmet Üstün, Alexandre Berard, Laurent Besacier, and Matthias Galle. 2021. Multilingual unsupervised neural machine translation with denoising adapters. In Proceedings of the 2021 Conference on Empirical Methods in Natural Language Processing, pages 6650-6662, Online and Punta Cana, Dominican Republic. Association for Computational Linguistics.",
1608
+ "Jianyu Wang, Qinghua Liu, Hao Liang, Gauri Joshi, and H. Vincent Poor. 2020. Tackling the objective"
1609
+ ],
1610
+ "bbox": [
1611
+ 510,
1612
+ 85,
1613
+ 882,
1614
+ 917
1615
+ ],
1616
+ "page_idx": 9
1617
+ },
1618
+ {
1619
+ "type": "page_number",
1620
+ "text": "5324",
1621
+ "bbox": [
1622
+ 480,
1623
+ 928,
1624
+ 519,
1625
+ 940
1626
+ ],
1627
+ "page_idx": 9
1628
+ },
1629
+ {
1630
+ "type": "text",
1631
+ "text": "inconsistency problem in heterogeneous federated optimization. In Advances in Neural Information Processing Systems 33: Annual Conference on Neural Information Processing Systems 2020, NeurIPS 2020, December 6-12, 2020, virtual.",
1632
+ "bbox": [
1633
+ 132,
1634
+ 85,
1635
+ 487,
1636
+ 151
1637
+ ],
1638
+ "page_idx": 10
1639
+ },
1640
+ {
1641
+ "type": "text",
1642
+ "text": "Orion Weller, Marc Marone, Vladimir Braverman, Dawn Lawrie, and Benjamin Van Durme. 2022. Pretrained models for multilingual federated learning. In Proceedings of the 2022 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, pages 1413-1421, Seattle, United States. Association for Computational Linguistics.",
1643
+ "bbox": [
1644
+ 114,
1645
+ 161,
1646
+ 489,
1647
+ 267
1648
+ ],
1649
+ "page_idx": 10
1650
+ },
1651
+ {
1652
+ "type": "text",
1653
+ "text": "Jingjing Xu, Wangchunshu Zhou, Zhiyi Fu, Hao Zhou, and Lei Li. 2021. A survey on green deep learning. arXiv preprint arXiv:2111.05193.",
1654
+ "bbox": [
1655
+ 114,
1656
+ 275,
1657
+ 489,
1658
+ 317
1659
+ ],
1660
+ "page_idx": 10
1661
+ },
1662
+ {
1663
+ "type": "text",
1664
+ "text": "Biao Zhang, Philip Williams, Ivan Titov, and Rico Senrich. 2020. Improving massively multilingual neural machine translation and zero-shot translation. In Proceedings of the 58th Annual Meeting of the Association for Computational Linguistics, pages 1628-1639, Online. Association for Computational Linguistics.",
1665
+ "bbox": [
1666
+ 114,
1667
+ 326,
1668
+ 489,
1669
+ 418
1670
+ ],
1671
+ "page_idx": 10
1672
+ },
1673
+ {
1674
+ "type": "text",
1675
+ "text": "Yue Zhao, Meng Li, Liangzhen Lai, Naveen Suda, Damon Civin, and Vikas Chandra. 2018. Federated learning with non-iid data. ArXiv preprint, abs/1806.00582.",
1676
+ "bbox": [
1677
+ 114,
1678
+ 429,
1679
+ 489,
1680
+ 481
1681
+ ],
1682
+ "page_idx": 10
1683
+ },
1684
+ {
1685
+ "type": "text",
1686
+ "text": "A Training Data Sizes",
1687
+ "text_level": 1,
1688
+ "bbox": [
1689
+ 114,
1690
+ 495,
1691
+ 322,
1692
+ 512
1693
+ ],
1694
+ "page_idx": 10
1695
+ },
1696
+ {
1697
+ "type": "text",
1698
+ "text": "The specific training data size of each language pair is shown in Table 6.",
1699
+ "bbox": [
1700
+ 112,
1701
+ 521,
1702
+ 485,
1703
+ 554
1704
+ ],
1705
+ "page_idx": 10
1706
+ },
1707
+ {
1708
+ "type": "text",
1709
+ "text": "B Complete Results of Ablation Study",
1710
+ "text_level": 1,
1711
+ "bbox": [
1712
+ 112,
1713
+ 565,
1714
+ 460,
1715
+ 583
1716
+ ],
1717
+ "page_idx": 10
1718
+ },
1719
+ {
1720
+ "type": "text",
1721
+ "text": "We show the complete results on all language pairs of the ablation study in Table 7.",
1722
+ "bbox": [
1723
+ 112,
1724
+ 592,
1725
+ 485,
1726
+ 621
1727
+ ],
1728
+ "page_idx": 10
1729
+ },
1730
+ {
1731
+ "type": "text",
1732
+ "text": "We find that only applying clustering to the decoder acquires the highest scores on 7 out of the total 12 language pairs. To our surprise, adapter-families method fails to reach the best performance in average scores, which has been explained in § 4.2 in the main text.",
1733
+ "bbox": [
1734
+ 112,
1735
+ 624,
1736
+ 487,
1737
+ 719
1738
+ ],
1739
+ "page_idx": 10
1740
+ },
1741
+ {
1742
+ "type": "text",
1743
+ "text": "C Uniform Data Distribution",
1744
+ "text_level": 1,
1745
+ "bbox": [
1746
+ 112,
1747
+ 732,
1748
+ 381,
1749
+ 747
1750
+ ],
1751
+ "page_idx": 10
1752
+ },
1753
+ {
1754
+ "type": "text",
1755
+ "text": "We also conduct experiments on TED2020 with each client owning training data of equal size. The results are shown in Table 8. We observe that the performance gaps between different methods are similar to those in Table 1. Notably, Adapter-families beats adapter-random by a slight margin. Both clustering strategies acquire obvious performance improvement compared to the baseline adapter-fed. These empirical results verify that our methods apply to various data distributions.",
1756
+ "bbox": [
1757
+ 112,
1758
+ 758,
1759
+ 489,
1760
+ 917
1761
+ ],
1762
+ "page_idx": 10
1763
+ },
1764
+ {
1765
+ "type": "table",
1766
+ "img_path": "images/4bc2effc1ae7459b340fabeb905f517a63df7c9e9743675bf5345da108d4e28b.jpg",
1767
+ "table_caption": [],
1768
+ "table_footnote": [],
1769
+ "table_body": "<table><tr><td>Corpus</td><td>Source Language Family/Group</td><td>Language Pair</td><td>Dataset Size</td></tr><tr><td rowspan=\"8\">TED2020</td><td rowspan=\"2\">Sino-Tibetan</td><td>zh-&gt;en</td><td>9984</td></tr><tr><td>th-&gt;en</td><td>4992</td></tr><tr><td rowspan=\"2\">Afro-asiatic</td><td>ar-&gt;en</td><td>9984</td></tr><tr><td>he-&gt;en</td><td>1920</td></tr><tr><td rowspan=\"2\">Uralic</td><td>fi-&gt;en</td><td>1920</td></tr><tr><td>et-&gt;en</td><td>1920</td></tr><tr><td rowspan=\"2\">Indo-European</td><td>ru-&gt;en</td><td>9984</td></tr><tr><td>sl-&gt;en</td><td>1920</td></tr><tr><td rowspan=\"12\">Europarl</td><td rowspan=\"3\">Germanic</td><td>de-&gt;fr</td><td>11648</td></tr><tr><td>nl-&gt;pl</td><td>3584</td></tr><tr><td>en-&gt;lt</td><td>3712</td></tr><tr><td rowspan=\"3\">Romance</td><td>fr-&gt;nl</td><td>12160</td></tr><tr><td>it-&gt;sl</td><td>3456</td></tr><tr><td>es-&gt;lv</td><td>3584</td></tr><tr><td rowspan=\"3\">Slavic</td><td>pl-&gt;en</td><td>3712</td></tr><tr><td>sl-&gt;es</td><td>3584</td></tr><tr><td>sl-&gt;lt</td><td>3584</td></tr><tr><td rowspan=\"3\">Baltic</td><td>lt-&gt;de</td><td>3328</td></tr><tr><td>lv-&gt;it</td><td>3584</td></tr><tr><td>lv-&gt;pl</td><td>3712</td></tr></table>",
1770
+ "bbox": [
1771
+ 522,
1772
+ 80,
1773
+ 873,
1774
+ 397
1775
+ ],
1776
+ "page_idx": 10
1777
+ },
1778
+ {
1779
+ "type": "text",
1780
+ "text": "Table 6: Detailed data sizes of language pairs from Europarl corpus.",
1781
+ "bbox": [
1782
+ 507,
1783
+ 406,
1784
+ 882,
1785
+ 436
1786
+ ],
1787
+ "page_idx": 10
1788
+ },
1789
+ {
1790
+ "type": "text",
1791
+ "text": "D Comparison to Controllers",
1792
+ "text_level": 1,
1793
+ "bbox": [
1794
+ 507,
1795
+ 460,
1796
+ 779,
1797
+ 476
1798
+ ],
1799
+ "page_idx": 10
1800
+ },
1801
+ {
1802
+ "type": "text",
1803
+ "text": "Controllers (Roosta et al., 2021) only exchange 8 layers in a 32-layer Transformer (4 from encoder and 4 from decoder) between the server and clients, which means that they reduce the communication cost by approximately $66\\%$ (the number of layers in the original model without Controllers is 24). Compared with Controllers, we introduce adapter modules in Fed-MNMT without the need to define additional layers. Besides, our methods transmit a much smaller amount of parameters in client-to-server exchanges than using Controllers. Therefore, our proposal is superior to Controllers in terms of communication efficiency.",
1804
+ "bbox": [
1805
+ 507,
1806
+ 486,
1807
+ 884,
1808
+ 695
1809
+ ],
1810
+ "page_idx": 10
1811
+ },
1812
+ {
1813
+ "type": "page_number",
1814
+ "text": "5325",
1815
+ "bbox": [
1816
+ 480,
1817
+ 927,
1818
+ 519,
1819
+ 940
1820
+ ],
1821
+ "page_idx": 10
1822
+ },
1823
+ {
1824
+ "type": "table",
1825
+ "img_path": "images/ddf530669f7524cf0cdd131bccc538697647d5b611ea5f73184f21aa2b2e4e51.jpg",
1826
+ "table_caption": [],
1827
+ "table_footnote": [],
1828
+ "table_body": "<table><tr><td>Method</td><td>de-fr</td><td>nl-pl</td><td>en-lt</td><td>fr-nl</td><td>it-sl</td><td>es-lv</td><td>pl-en</td><td>sl-es</td><td>sl-lt</td><td>lt-de</td><td>lv-it</td><td>lv-pl</td><td>Macro Avg.</td><td>Micro Avg.</td></tr><tr><td>adapter-fed</td><td>29.66</td><td>17.35</td><td>30.22</td><td>16.89</td><td>11.95</td><td>27.91</td><td>37.31</td><td>31.04</td><td>20.13</td><td>21.18</td><td>17.95</td><td>19.97</td><td>23.46</td><td>23.44</td></tr><tr><td>+ encoder clustering</td><td>30.50</td><td>19.24</td><td>29.85</td><td>22.94</td><td>18.56</td><td>28.01</td><td>41.93</td><td>33.25</td><td>20.84</td><td>22.09</td><td>23.34</td><td>20.82</td><td>25.95</td><td>26.19</td></tr><tr><td>+ decoder clustering</td><td>31.19</td><td>19.41</td><td>30.53</td><td>23.06</td><td>18.26</td><td>28.20</td><td>41.71</td><td>33.56</td><td>21.26</td><td>21.96</td><td>23.03</td><td>21.06</td><td>26.10</td><td>26.42</td></tr><tr><td>adapter-families</td><td>30.18</td><td>18.85</td><td>29.86</td><td>22.42</td><td>16.10</td><td>27.66</td><td>41.13</td><td>32.96</td><td>20.78</td><td>21.80</td><td>22.78</td><td>21.27</td><td>25.48</td><td>25.75</td></tr></table>",
1829
+ "bbox": [
1830
+ 136,
1831
+ 227,
1832
+ 862,
1833
+ 292
1834
+ ],
1835
+ "page_idx": 11
1836
+ },
1837
+ {
1838
+ "type": "table",
1839
+ "img_path": "images/82ead405b8e1ac258587c090477e324009c689767f619a81458d98180c3feaee.jpg",
1840
+ "table_caption": [
1841
+ "Table 7: BLEU scores of applying language families strategies to only the encoder and the decoder. Adapter-fed corresponds to clustering in neither the encoder or the decoder. Adapter-families denotes clustering in both the encoder and the decoder."
1842
+ ],
1843
+ "table_footnote": [],
1844
+ "table_body": "<table><tr><td>Method</td><td>zh-en</td><td>th-en</td><td>ar-en</td><td>he-en</td><td>fi-en</td><td>et-en</td><td>ru-en</td><td>sl-en</td><td>Avg.</td></tr><tr><td>model-fed</td><td>25.58</td><td>22.90</td><td>39.63</td><td>46.12</td><td>34.78</td><td>34.41</td><td>30.42</td><td>51.32</td><td>35.64</td></tr><tr><td>adapter-fed</td><td>24.83</td><td>16.79</td><td>40.02</td><td>45.99</td><td>33.55</td><td>33.67</td><td>29.61</td><td>52.20</td><td>34.58</td></tr><tr><td>adapter-random</td><td>25.30</td><td>22.33</td><td>39.58</td><td>45.59</td><td>34.58</td><td>34.31</td><td>30.12</td><td>51.52</td><td>35.41</td></tr><tr><td>adapter-families</td><td>25.04</td><td>22.08</td><td>39.50</td><td>45.74</td><td>34.91</td><td>34.65</td><td>30.16</td><td>51.38</td><td>35.43</td></tr></table>",
1845
+ "bbox": [
1846
+ 194,
1847
+ 643,
1848
+ 805,
1849
+ 730
1850
+ ],
1851
+ "page_idx": 11
1852
+ },
1853
+ {
1854
+ "type": "text",
1855
+ "text": "Table 8: BLEU scores on the TED2020 corpus with equivalent data size for each language pair. Best scores are highlighted in bold except model-fed.",
1856
+ "bbox": [
1857
+ 112,
1858
+ 739,
1859
+ 882,
1860
+ 769
1861
+ ],
1862
+ "page_idx": 11
1863
+ },
1864
+ {
1865
+ "type": "page_number",
1866
+ "text": "5326",
1867
+ "bbox": [
1868
+ 480,
1869
+ 928,
1870
+ 521,
1871
+ 940
1872
+ ],
1873
+ "page_idx": 11
1874
+ },
1875
+ {
1876
+ "type": "text",
1877
+ "text": "A For every submission:",
1878
+ "bbox": [
1879
+ 114,
1880
+ 107,
1881
+ 322,
1882
+ 122
1883
+ ],
1884
+ "page_idx": 12
1885
+ },
1886
+ {
1887
+ "type": "list",
1888
+ "sub_type": "text",
1889
+ "list_items": [
1890
+ "A1. Did you describe the limitations of your work? section Limitations",
1891
+ "A2. Did you discuss any potential risks of your work? Not applicable. Left blank.",
1892
+ "A3. Do the abstract and introduction summarize the paper's main claims? abstract and section 1",
1893
+ "A4. Have you used AI writing assistants when working on this paper? Left blank."
1894
+ ],
1895
+ "bbox": [
1896
+ 127,
1897
+ 126,
1898
+ 695,
1899
+ 287
1900
+ ],
1901
+ "page_idx": 12
1902
+ },
1903
+ {
1904
+ "type": "text",
1905
+ "text": "B Did you use or create scientific artifacts?",
1906
+ "bbox": [
1907
+ 114,
1908
+ 300,
1909
+ 489,
1910
+ 316
1911
+ ],
1912
+ "page_idx": 12
1913
+ },
1914
+ {
1915
+ "type": "text",
1916
+ "text": "Left blank.",
1917
+ "bbox": [
1918
+ 132,
1919
+ 321,
1920
+ 213,
1921
+ 336
1922
+ ],
1923
+ "page_idx": 12
1924
+ },
1925
+ {
1926
+ "type": "list",
1927
+ "sub_type": "text",
1928
+ "list_items": [
1929
+ "B1. Did you cite the creators of artifacts you used? No response.",
1930
+ "B2. Did you discuss the license or terms for use and / or distribution of any artifacts? No response.",
1931
+ "B3. Did you discuss if your use of existing artifact(s) was consistent with their intended use, provided that it was specified? For the artifacts you create, do you specify intended use and whether that is compatible with the original access conditions (in particular, derivatives of data accessed for research purposes should not be used outside of research contexts)? No response.",
1932
+ "B4. Did you discuss the steps taken to check whether the data that was collected / used contains any information that names or uniquely identifies individual people or offensive content, and the steps taken to protect / anonymize it? No response.",
1933
+ "B5. Did you provide documentation of the artifacts, e.g., coverage of domains, languages, and linguistic phenomena, demographic groups represented, etc.? No response.",
1934
+ "B6. Did you report relevant statistics like the number of examples, details of train / test / dev splits, etc. for the data that you used / created? Even for commonly-used benchmark datasets, include the number of examples in train / validation / test splits, as these provide necessary context for a reader to understand experimental results. For example, small differences in accuracy on large test sets may be significant, while on small test sets they may not be. No response."
1935
+ ],
1936
+ "bbox": [
1937
+ 127,
1938
+ 347,
1939
+ 880,
1940
+ 753
1941
+ ],
1942
+ "page_idx": 12
1943
+ },
1944
+ {
1945
+ "type": "text",
1946
+ "text": "C Did you run computational experiments?",
1947
+ "bbox": [
1948
+ 114,
1949
+ 764,
1950
+ 492,
1951
+ 781
1952
+ ],
1953
+ "page_idx": 12
1954
+ },
1955
+ {
1956
+ "type": "text",
1957
+ "text": "section 3, 4 and 5",
1958
+ "bbox": [
1959
+ 132,
1960
+ 785,
1961
+ 267,
1962
+ 801
1963
+ ],
1964
+ "page_idx": 12
1965
+ },
1966
+ {
1967
+ "type": "text",
1968
+ "text": "C1. Did you report the number of parameters in the models used, the total computational budget (e.g., GPU hours), and computing infrastructure used? section 4",
1969
+ "bbox": [
1970
+ 129,
1971
+ 810,
1972
+ 880,
1973
+ 859
1974
+ ],
1975
+ "page_idx": 12
1976
+ },
1977
+ {
1978
+ "type": "text",
1979
+ "text": "The Responsible NLP Checklist used at ACL 2023 is adopted from NAACL 2022, with the addition of a question on AI writing assistance.",
1980
+ "bbox": [
1981
+ 112,
1982
+ 866,
1983
+ 877,
1984
+ 889
1985
+ ],
1986
+ "page_idx": 12
1987
+ },
1988
+ {
1989
+ "type": "header",
1990
+ "text": "ACL 2023 Responsible NLP Checklist",
1991
+ "bbox": [
1992
+ 132,
1993
+ 84,
1994
+ 433,
1995
+ 99
1996
+ ],
1997
+ "page_idx": 12
1998
+ },
1999
+ {
2000
+ "type": "page_number",
2001
+ "text": "5327",
2002
+ "bbox": [
2003
+ 480,
2004
+ 928,
2005
+ 519,
2006
+ 940
2007
+ ],
2008
+ "page_idx": 12
2009
+ },
2010
+ {
2011
+ "type": "list",
2012
+ "sub_type": "text",
2013
+ "list_items": [
2014
+ "C2. Did you discuss the experimental setup, including hyperparameter search and best-found hyperparameter values? section 3",
2015
+ "C3. Did you report descriptive statistics about your results (e.g., error bars around results, summary statistics from sets of experiments), and is it transparent whether you are reporting the max, mean, etc. or just a single run? section 4 and 5",
2016
+ "C4. If you used existing packages (e.g., for preprocessing, for normalization, or for evaluation), did you report the implementation, model, and parameter settings used (e.g., NLTK, Spacy, ROUGE, etc.)? section 3.1"
2017
+ ],
2018
+ "bbox": [
2019
+ 129,
2020
+ 83,
2021
+ 880,
2022
+ 280
2023
+ ],
2024
+ "page_idx": 13
2025
+ },
2026
+ {
2027
+ "type": "text",
2028
+ "text": "D Did you use human annotators (e.g., crowdworkers) or research with human participants?",
2029
+ "text_level": 1,
2030
+ "bbox": [
2031
+ 112,
2032
+ 293,
2033
+ 877,
2034
+ 309
2035
+ ],
2036
+ "page_idx": 13
2037
+ },
2038
+ {
2039
+ "type": "text",
2040
+ "text": "Left blank.",
2041
+ "bbox": [
2042
+ 132,
2043
+ 313,
2044
+ 213,
2045
+ 329
2046
+ ],
2047
+ "page_idx": 13
2048
+ },
2049
+ {
2050
+ "type": "list",
2051
+ "sub_type": "text",
2052
+ "list_items": [
2053
+ "D1. Did you report the full text of instructions given to participants, including e.g., screenshots, disclaimers of any risks to participants or annotators, etc.? No response.",
2054
+ "D2. Did you report information about how you recruited (e.g., crowdsourcing platform, students) and paid participants, and discuss if such payment is adequate given the participants' demographic (e.g., country of residence)? No response.",
2055
+ "D3. Did you discuss whether and how consent was obtained from people whose data you're using/curating? For example, if you collected data via crowdsourcing, did your instructions to crowdworkers explain how the data would be used? No response.",
2056
+ "D4. Was the data collection protocol approved (or determined exempt) by an ethics review board? No response.",
2057
+ "D5. Did you report the basic demographic and geographic characteristics of the annotator population that is the source of the data? No response."
2058
+ ],
2059
+ "bbox": [
2060
+ 127,
2061
+ 340,
2062
+ 880,
2063
+ 640
2064
+ ],
2065
+ "page_idx": 13
2066
+ },
2067
+ {
2068
+ "type": "page_number",
2069
+ "text": "5328",
2070
+ "bbox": [
2071
+ 480,
2072
+ 928,
2073
+ 519,
2074
+ 940
2075
+ ],
2076
+ "page_idx": 13
2077
+ }
2078
+ ]
2023/Communication Efficient Federated Learning for Multilingual Neural Machine Translation with Adapter/6f207301-9f3f-466d-aed1-4bdd052903e2_model.json ADDED
The diff for this file is too large to render. See raw diff
 
2023/Communication Efficient Federated Learning for Multilingual Neural Machine Translation with Adapter/6f207301-9f3f-466d-aed1-4bdd052903e2_origin.pdf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:11c1945543e838dfd7447bdbd9b831d0a7bd6e318b1e21aefc4ae125508e0105
3
+ size 559624
2023/Communication Efficient Federated Learning for Multilingual Neural Machine Translation with Adapter/full.md ADDED
@@ -0,0 +1,415 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Communication Efficient Federated Learning for Multilingual Neural Machine Translation with Adapter
2
+
3
+ Yi Liu $^{1}$ , Xiaohan Bi $^{2}$ , Lei Li $^{1}$ , Sishuo Chen $^{2}$ , Wenkai Yang $^{2}$ , Xu Sun $^{1}$
4
+
5
+ $^{1}$ National Key Laboratory for Multimedia Information Processing, School of Computer Science, Peking University
6
+
7
+ $^{2}$ Center for Data Science, Peking University
8
+
9
+ yliu.pku@outlook.com {bxh, wkyang} $@$ stu.pku.edu.cn
10
+
11
+ nlp.lilei@gmail.com {chensishuo,xusun}@pku.edu.cn
12
+
13
+ # Abstract
14
+
15
+ Federated Multilingual Neural Machine Translation (Fed-MNMT) has emerged as a promising paradigm for institutions with limited language resources. This approach allows multiple institutions to act as clients and train a unified model through model synchronization, rather than collecting sensitive data for centralized training. This significantly reduces the cost of corpus collection and preserves data privacy. However, as pre-trained language models (PLMs) continue to increase in size, the communication cost for transmitting parameters during synchronization has become a training speed bottleneck. In this paper, we propose a communication-efficient Fed-MNMT framework that addresses this issue by keeping PLMs frozen and only transferring lightweight adapter modules between clients. Since different language pairs exhibit substantial discrepancies in data distributions, adapter parameters of clients may conflict with each other. To tackle this, we explore various clustering strategies to group parameters for integration and mitigate the negative effects of conflicting parameters. Experimental results demonstrate that our framework reduces communication cost by over $98\%$ while achieving similar or even better performance compared to competitive baselines. Further analysis reveals that clustering strategies effectively solve the problem of linguistic discrepancy and pruning adapter modules further improves communication efficiency. $^{1}$
16
+
17
+ # 1 Introduction
18
+
19
+ Federated Learning (FL) (McMahan et al., 2017) provides a new training framework utilizing data from various clients without privacy leakage. In FL, the server receives models from clients trained with their local data and aggregates all parameters it has received to acquire a global model, and then
20
+
21
+ ![](images/b83316396c9a8fccdd2a41716eee35fb26db74dfc06d750e251f52a066013b43.jpg)
22
+ Figure 1: Estimated transfer time (bar chart) and the approximate ratio of transfer time to total training time (line chart) in one round for a low-resource client. Our method significantly reduces communication cost and improve training efficiency.
23
+
24
+ sends it back to all clients to start the next training round. This characteristic enables FL to get widely applied in real-world scenarios (Ge et al., 2020; Roosta et al., 2021; Passban et al., 2022; Niu and Deng, 2022). In recent years, federated multilingual neural machine translation (Fed-MNMT) has become a new training paradigm and making it feasible for most institutions to train MNMT models (Roosta et al., 2021; Passban et al., 2022). FL makes it possible to leverage corpora from other organizations without privacy problems, solving the problem that training an MNMT model needs to collect large-scale multilingual corpora, which is expensive, time-consuming, and often unaffordable for resource-constrained institutions. Therefore, Fed-MNMT is a secure and cost-effective alternative to conventional centralized training for the optimization of MNMT models.
25
+
26
+ However, the issue of communication cost is non-negligible when we introduce FL to neural machine translation. Unlike local centralized learning, federated learning requires frequent commu
27
+
28
+ ![](images/654762b00028cd6b7dcdd2ec6fe8445b2d6a360c78d3b69f6aee9d16af880817.jpg)
29
+ Figure 2: Communication-efficient Fed-MNMT framework with adapter modules and clients clustering strategies.
30
+
31
+ ![](images/0419c8fa556e0460cb1b241bd5da9340181a96ee0db59e4460da29ddcdc70bf9.jpg)
32
+
33
+ nication of model parameters between the server and clients. Therefore, the communication cost grows rapidly along with the increase in model size. Nowadays, pre-trained language models are widely adopted as backbone models for MNMT, whose parameters are usually over $10^{8}$ , e.g., 611M for mBART-50 (Tang et al., 2020) and 1.2B for M2M100 (Fan et al., 2020). Considering the increasing number of clients in realistic scenarios as there frequently appear new clients, communication costs will severely hinder the efficient training of the entire Fed-MNMT system and thus make the application of FL to MNMT impractical.
34
+
35
+ To tackle this problem, we introduce the parameter-efficient tuning idea (Houlsby et al., 2019; Pfeiffer et al., 2021; Karimi Mahabadi et al., 2021) into Fed-MNMT. Specifically, we focus on adapter (Rebuffi et al., 2017; Houlsby et al., 2019), which is a popular technique for efficient tuning that requires only updating a lightweight adapter module. In the training process of adapters, a number of randomly initialized modules are inserted into the backbone models and fine-tuned on new data. Concretely, only the parameters of these modules are updated during training, so the number of parameters needed to be transferred between the server and clients is substantially reduced. As the communication cost before and after introducing adapter illustrated in Figure 1, this approach significantly saves communication costs and enables practical applications of Fed-MNMT.
36
+
37
+ However, directly adding adapter modules to NMT models results in a performance decline, which is initially observed by Roosta et al. (2021) and also confirmed by our experimental results. This phenomenon is attributed to the divergence of different language pairs. In Fed-MNMT, corpora in diverse languages from different clients
38
+
39
+ are not independently and identically distributed (Non-I.I.D.), so directly aggregating parameters from clients leads to a decrease in model's performance (Zhao et al., 2018).
40
+
41
+ Considering the adverse effect of conflicting parameters from diverse languages in Fed-MNMT, we introduce clustering strategies to alleviate this issue. The core idea is to cluster the samples according to the characteristics of their data and only conduct aggregation within each cluster where samples share similar properties. Specifically, we cluster all clients with different language pairs based on the language family, gradient similarity, and random, respectively, and systematically compare the performance of different clustering strategies on multilingual translation benchmarks. Figure 2 gives a general view of our training framework. Our experimental results show that clustering on adapters alleviates the data Non-I.I.D. problem and yields better performance in most cases. Overall, our work opens a new direction for future improvements on Fed-MNMT in the real world.
42
+
43
+ In conclusion, our primary contributions can be summarized as follows:
44
+
45
+ - Aware of the communication barrier in the training of Fed-MNMT models, we introduce a practical efficient Fed-MNMT framework to enable real-world applications.
46
+ - By exploring adapter and clustering strategies for alleviating the undesirable effect of data discrepancy, we achieve comparable results with over $98\%$ communication cost reduced compared to vanilla Fed-MNMT.
47
+
48
+ # 2 Methodology
49
+
50
+ In this section, we first define the Fed-MNMT problem in § 2.1. Next, we elaborate on the adapter
51
+
52
+ modules and the investigated clustering strategies in $\S 2.2$ and $\S 2.3$ , respectively. Last, we provide an analysis of communication costs between the original Fed-MNMT and our method in $\S 2.4$ .
53
+
54
+ # 2.1 Problem Formulation
55
+
56
+ For a Fed-MNMT problem, we suppose that the set of clients is $\{C_i\}_{i=1}^N$ where $N > 1$ and client $C_i$ owns only one language pair $P_i$ , whose source language and target language are $src_i$ and $tgt_i$ , respectively, and corresponding dataset $D_i = \{x_{ij}, y_{ij}\}_{j=1}^{n_i}$ , where $n_i$ is the size of $D_i$ . In each training round, the optimization target for $C_i$ is minimizing the cross entropy loss between the ground truths $y_i$ and model's predictions $\tilde{y}_i$ :
57
+
58
+ $$
59
+ \mathcal {L} _ {i} = - \sum_ {j = 1} ^ {n _ {i}} \sum_ {k = 1} ^ {l _ {i j}} \log p \left(\tilde {y} _ {i j} ^ {k} = y _ {i j} ^ {k} \mid x _ {i j}\right) \tag {1}
60
+ $$
61
+
62
+ After the $t$ -th training round, all clients will deliver local parameters to the server. The server will aggregate these parameters to obtain the initial parameters for the next round's training. A commonly adopted aggregation algorithm is FedAvg (McMahan et al., 2017), where the weighted average of clients' parameters is calculated according to the quantities of local data samples. Let $\Theta$ denote model parameters, the FedAvg algorithm can be formulated as:
63
+
64
+ $$
65
+ \Theta^ {t + 1} = \sum_ {i = 1} ^ {N} \frac {n _ {i}}{n} \Theta_ {i} ^ {t}, \tag {2}
66
+ $$
67
+
68
+ where $n = \sum_{i=1}^{N} n_i$ . Then the aggregated parameters will be sent back to all clients to initialize their local models for the next round of training.
69
+
70
+ However, data sizes can vary sharply among low-resource and high-resource languages in FedMNMT and FedAvg cannot deal well with data quantity skew well (Wang et al., 2020). Thus we change FedAvg, calculating the weighted mean of different clients' parameters, to directly calculating the arithmetic mean of parameters:
71
+
72
+ $$
73
+ \Theta^ {t + 1} = \sum_ {i = 1} ^ {N} \frac {1}{N} \Theta_ {i} ^ {t} \tag {3}
74
+ $$
75
+
76
+ We refer to this aggregation method as FedMean in our paper.
77
+
78
+ Considering the size of pre-trained multi-language models, the communication of model
79
+
80
+ parameters between the server and clients is time-consuming. Inspired by recent progress in parameter efficient tuning, we are interested in whether adapter can be used to improve the efficiency in FL.
81
+
82
+ # 2.2 Adapter Modules
83
+
84
+ We introduce bottleneck adapter (Houlsby et al., 2019) into pre-trained multilingual models. Following the settings of Houlsby et al. (2019) and Pfeiffer et al. (2020), we add adapter modules after the self-attention layer and feed-forward network (FFN) layer for each encoder layer and an additional adapter layer after the cross-attention layer for each decoder layer. During training, only the parameters of adapters and layer-norm modules will be updated thus only a small proportion of parameters have to be communicated between the server and clients.
85
+
86
+ # 2.3 Client Clustering Strategies
87
+
88
+ Related research (Johnson et al., 2017; First et al., 2016) has shown that parameter sharing among different languages in MNMT boosts the model's performance, especially for those low-resource languages. Motivated by the success of language clustering in MNMT (Tan et al., 2019), we decide to introduce the method of language pairs clustering into the Fed-MNMT problem and we only allow inner-cluster parameters aggregation. Assuming that the multi-language model consists of an encoder and a decoder, we first conduct a clustering algorithm to obtain the encoder clusters set $G_{e} = \{g_{i}\}_{i=1}^{m_{e}}$ and the decoder clusters set $G_{d} = \{g_{i}\}_{i=1}^{m_{d}}$ . Each cluster $g_{i}$ contains the ids of clients in this cluster. Detailed aggregation algorithm is shown in Algorithm 1.
89
+
90
+ We explore the following three different clustering strategies.
91
+
92
+ Language families/groups. Chronopoulou et al. (2022) have verified the strategy of sharing parameters within the same language family in the MNMT problem. We decide to use this strategy in the FL setting. We choose 8 languages belonging to 4 different language families from the TED2020 corpus and 10 languages belonging to 4 different language groups, which are all parts of the Indo-European language family, from the Europarl corpus. The clustering of the encoder depends on language families/groups of source languages and the clustering of the decoder is decided by the target languages' families/groups. Languages from the same family
93
+
94
+ Algorithm 1: Inner-cluster Aggregation
95
+ Input: Encoder and decoder clusters sets $G_{e}$ and $G_{d}$ ;
96
+ Initial encoder and decoder paras $\Theta_{e}^{0}$ and $\Theta_{d}^{0}$ ;
97
+ Clients set $\{C_i\}_{i=1}^N$ ;
98
+ Training round $T$ .
99
+ Output: Encoder paras $\{\Theta_{e,i}^{T}\}_{i=1}^N$ ;
100
+ Decoder paras $\{\Theta_{d,i}^{T}\}_{i=1}^N$
101
+ for $i$ from 1 to $N$ do
102
+ Initialize $\Theta_{e,i}^{0}$ with $\Theta_{e}^{0}$ ;
103
+ Initialize $\Theta_{d,i}^{0}$ with $\Theta_{d}^{0}$ ;
104
+ for $i$ from 1 to $N$ do
105
+ // local update of client $i$
106
+ update $\Theta_{e,i}^{t-1}$ and $\Theta_{d,i}^{t-1}$ with local data;
107
+ // inner-cluster aggregation of encoder parameters
108
+ foreach $g$ in $G_{e}$ do
109
+ $\Theta_{e,g}^{t} = \sum_{id \in g} \frac{1}{|g|} \Theta_{e,id}^{t-1}$ ;
110
+ foreach $id$ in $g$ do
111
+ $\Theta_{e,id}^{t} = \Theta_{e,g}^{t}$ ;
112
+ // inner-cluster aggregation of decoder parameters
113
+ foreach $g$ in $G_{d}$ do
114
+ $\Theta_{d,g}^{t} = \sum_{id \in g} \frac{1}{|g|} \Theta_{d,id}^{t-1}$ ;
115
+ foreach $id$ in $g$ do
116
+ $\Theta_{d,id}^{t} = \Theta_{d,g}^{t}$ ;
117
+
118
+ or group will be clustered into the same group.
119
+
120
+ Gradients. Unlike in the scene of centralized learning, clustering based on model parameters (Tan et al., 2019) in Fed-MNMT is unfeasible due to privacy problems. Therefore, we use gradients as the basis of the feature for clustering instead. For each language pair, we use a pre-trained multi-language model to acquire an average gradient vector of all data samples, then a clustering algorithm is applied to the gradient vectors in order to separate clients into different groups. The number of parameters we use for gradients clustering is only about $131\mathrm{K}$ for each client and will hardly introduce any extra communication cost.
121
+
122
+ Random clustering. We also test randomly separating all clients into different groups as a baseline for clustering strategies. In detail, we uniformly separate the clients and keep the numbers of clusters in the encoder and the decoder the same as those in the language families/groups strategy.
123
+
124
+ # 2.4 Communication Cost Comparison
125
+
126
+ Taking the mBART-50 model (Tang et al., 2020), which is a popular pre-trained multi-language model, as an example, the number of parameters
127
+
128
+ is around 610.9M, which requires about 2.44GB storage space in the FP32 format. In comparison, after adding adapter modules, only about 8M parameters have to be transferred, which will save approximately $98.7\%$ communication cost.
129
+
130
+ More concretely, we provide an approximation for the transmission time needed between the server and clients as follows. Assuming the maximum bandwidth of the server is 1000Mbps, the time to transfer the entire mBART model from client to server is around 2.44GB / 1000Mbps = 19.5 seconds. Assuming all clients share the bandwidth, the total transfer time grows linearly with the number of clients. The synchronization process for all clients to finish transferring models to the server will occupy a large proportion of the total training time. In our actual experiments with 12 clients, the theoretical total transferring time is about $19.5 \times 12 = 234$ seconds. However, for clients with low-resource languages, the training could be finished within 7 minutes, which means transferring time occupies over half of the local training time. By contrast, the time to transfer the adapter's parameters is only about 0.26 seconds, which is negligible compared to local training time thus significantly improving the training efficiency.
131
+
132
+ # 3 Experimental Setup
133
+
134
+ # 3.1 Datasets and Evaluation Metrics
135
+
136
+ We conduct experiments in two different settings: Multi-to-English and Multi-to-Multi (hereinafter referred to as "m2en" and "m2m", respectively). We use the TED2020 corpus (Reimers and Gurevych, 2020) for the m2en setting and the Europarl corpus (Koehn, 2005) for the m2m setting. The TED2020 corpus is extracted from TED speeches and contains over 100 languages around the world. The Europarl corpus is from the proceedings of the European Parliament and contains 21 languages of European countries.
137
+
138
+ For each language pair $^2$ , we divide the original corpus into training, dev, and test datasets in accordance of the proportion of 6:2:2. We further sample subsets from the divided datasets. To simulate the scene of low-resource languages and high-resource languages, the training data size of each language pair varies according to the corresponding original
139
+
140
+ corpus size. The specific language pairs we use and corresponding data sizes are shown in Appendix A.
141
+
142
+ In the m2en setting, for clustering strategies based on language families/groups and random shuffle, clustering algorithms are only applied to the encoder and all clients share the decoder's parameters because their target languages are all English. But for clustering based on gradients, we also cluster the decoder's parameters into different groups and the number of groups stays the same as that in the encoder. In the m2m setting, clustering is conducted for both the encoder and the decoder. Meanwhile, the numbers of groups in the encoder and decoder are the same in all clustering strategies. We will provide a further analysis of the clustering strategies of the m2m setting in $\S 4.2$ .
143
+
144
+ We choose the BLEU score as the evaluation metric using the SacreBLEU (Post, 2018) package. Aside from the BLEU score on each language pair, we additionally report the macro average and micro average scores on all language pairs.
145
+
146
+ # 3.2 Baselines
147
+
148
+ We evaluate the following methods as baselines:
149
+
150
+ Centralized-model. The results of centralized training, where data from all clients are gathered together, using the original multi-language model without extra modules.
151
+
152
+ Centralized-adapter. The results of centralized training using the multi-language model with adapter modules.
153
+
154
+ Adapter-local. We train a model for each client using local data without parameter aggregation with other language pairs.
155
+
156
+ Model-fed. We train the original multi-language model without Adapter modules under the federated learning framework, where the parameters are shared among all clients using the aggregation algorithm in Eq. (3) without any clustering strategies.
157
+
158
+ Adapter-fed. In this method, adapter modules are attached to the backbone model, while the rest settings are the same as those in model-fed. This baseline corresponds to the scene of directly introducing adapter without any clustering strategies.
159
+
160
+ # 3.3 Training Setup
161
+
162
+ We choose the mBART-50 pre-trained model as our backbone model. To fairly compare the training and communication costs of different methods,
163
+
164
+ we train each model for 5 rounds. We select the checkpoint with the lowest loss on the dev set and evaluate it on the test set. Parameters are aggregated every time all clients finish an epoch of local training. For every client, the batch size is 8 and the local model is updated every 16 steps. The local learning rate is $5 \times 10^{-5}$ for the mBART model and $1 \times 10^{-3}$ for the models with adapter modules. The hidden size of adapter modules is 64.
165
+
166
+ For all experiments, we train the model with 3 random seeds and report the average scores. For the random clustering strategy, the clustering groups are different when using different random seeds.
167
+
168
+ # 4 Experimental Results
169
+
170
+ # 4.1 Primary Results and Findings
171
+
172
+ The experimental results in the m2en and m2m settings are shown in Table 1 and Table 2, respectively. In general, directly adding adapter modules leads to a performance drop (comparing adapter-fed and model-fed) and methods with clustering strategies all achieve better performance than the direct baseline adapter-fed, indicating the ability of our clustering strategies to alleviate data discrepancy. In both settings, adapter-families method performs best in macro and micro average scores among three clustering strategies, even surpassing model-fed in the m2m setting.
173
+
174
+ It is noteworthy that the clustering strategies acquire more significant performance improvements in the m2m setting than in the m2en setting. The problem of conflicting parameters is more settle-some in the m2m setting because there exist more kinds of languages (especially target languages). Thus introducing clustering strategies will bring more benefit to m2m translation tasks.
175
+
176
+ Meanwhile, we notice that our clustering strategies fail to beat adapter-local in the m2m setting. This can also be explained by the difference in the difficulty of tasks. In the more complicated m2m translation task, more elaborate clustering strategies should be designed to fully make advantage of other language pairs and avoid the influence of conflicting parameters. However, we bring the ability of multi-language translation to these clients through FL with an acceptable drop in performance compared to adapter-local.
177
+
178
+ # 4.2 Ablation Study
179
+
180
+ In the m2m setting, the clustering of the adapter modules attached to the encoder and the decoder
181
+
182
+ <table><tr><td>Method</td><td>Comm. Cost</td><td>zh-en</td><td>th-en</td><td>ar-en</td><td>he-en</td><td>fi-en</td><td>et-en</td><td>ru-en</td><td>sl-en</td><td>Macro Avg.</td><td>Micro Avg.</td></tr><tr><td>centralized-model</td><td>N / A</td><td>24.72</td><td>28.97</td><td>38.29</td><td>43.59</td><td>32.81</td><td>32.70</td><td>30.14</td><td>47.92</td><td>34.89</td><td>32.33</td></tr><tr><td>centralized-adapter</td><td>N / A</td><td>24.97</td><td>21.47</td><td>39.02</td><td>45.05</td><td>33.62</td><td>32.62</td><td>30.65</td><td>50.45</td><td>34.73</td><td>32.03</td></tr><tr><td>adapter-local</td><td>N / A</td><td>25.16</td><td>21.68</td><td>39.46</td><td>44.32</td><td>33.12</td><td>32.64</td><td>30.58</td><td>50.93</td><td>34.73</td><td>32.15</td></tr><tr><td>model-fed</td><td>611M</td><td>25.31</td><td>23.41</td><td>39.54</td><td>45.13</td><td>32.87</td><td>33.27</td><td>30.77</td><td>51.85</td><td>35.27</td><td>32.55</td></tr><tr><td>adapter-fed</td><td>8M</td><td>25.12</td><td>16.64</td><td>39.62</td><td>44.93</td><td>33.14</td><td>32.66</td><td>30.41</td><td>53.62</td><td>34.52</td><td>31.71</td></tr><tr><td>adapter-random</td><td>8M</td><td>25.37</td><td>21.48</td><td>39.61</td><td>44.82</td><td>33.26</td><td>33.21</td><td>30.75</td><td>52.64</td><td>35.14</td><td>32.38</td></tr><tr><td>adapter-gradients</td><td>8M</td><td>25.26</td><td>21.26</td><td>39.39</td><td>44.64</td><td>33.62</td><td>33.14</td><td>30.72</td><td>51.16</td><td>34.90</td><td>32.21</td></tr><tr><td>adapter-families</td><td>8M</td><td>25.28</td><td>21.58</td><td>39.45</td><td>44.70</td><td>33.87</td><td>33.23</td><td>30.92</td><td>52.64</td><td>35.21</td><td>32.40</td></tr></table>
183
+
184
+ Table 1: BLEU scores on the TED2020 corpus. Comm. Cost, which is short for communication cost, denotes the number of parameters communicated between the server and each client. Adapter-random, adapter-gradients, and adapter-families refer to clustering strategies of random clustering, gradients, and language families/groups, respectively. The best result of each language pair is highlighted in **bold** (only methods with adapter modules trained in the FL setting are considered).
185
+
186
+ <table><tr><td>Method</td><td>Comm. Cost</td><td>de-fr</td><td>nl-pl</td><td>en-lt</td><td>fr-nl</td><td>it-sl</td><td>es-lv</td><td>pl-en</td><td>sl-es</td><td>sl-lt</td><td>lt-de</td><td>lv-it</td><td>lv-pl</td><td>Macro Avg.</td><td>Micro Avg.</td></tr><tr><td>centralized-model</td><td>N / A</td><td>30.43</td><td>19.15</td><td>28.86</td><td>23.20</td><td>19.96</td><td>27.17</td><td>40.35</td><td>33.20</td><td>21.24</td><td>21.84</td><td>23.63</td><td>20.57</td><td>25.80</td><td>26.10</td></tr><tr><td>centralized-adapter</td><td>N / A</td><td>30.59</td><td>19.07</td><td>29.65</td><td>22.92</td><td>18.68</td><td>27.73</td><td>41.52</td><td>33.20</td><td>21.45</td><td>22.16</td><td>23.40</td><td>20.85</td><td>25.93</td><td>26.19</td></tr><tr><td>adapter-local</td><td>N / A</td><td>30.88</td><td>19.19</td><td>30.31</td><td>23.50</td><td>20.01</td><td>28.12</td><td>41.84</td><td>33.39</td><td>21.13</td><td>22.27</td><td>23.62</td><td>21.05</td><td>26.28</td><td>26.56</td></tr><tr><td>model-fed</td><td>611M</td><td>30.41</td><td>17.60</td><td>29.62</td><td>19.76</td><td>13.41</td><td>28.01</td><td>39.77</td><td>32.25</td><td>21.10</td><td>21.94</td><td>20.09</td><td>19.92</td><td>24.49</td><td>24.68</td></tr><tr><td>adapter-fed</td><td>8M</td><td>29.75</td><td>17.47</td><td>30.08</td><td>16.92</td><td>11.85</td><td>28.01</td><td>38.18</td><td>31.06</td><td>20.18</td><td>21.23</td><td>18.02</td><td>19.97</td><td>23.56</td><td>23.53</td></tr><tr><td>adapter-random</td><td>8M</td><td>30.90</td><td>18.57</td><td>30.04</td><td>22.39</td><td>16.53</td><td>28.25</td><td>36.97</td><td>33.04</td><td>21.13</td><td>22.28</td><td>22.72</td><td>20.37</td><td>25.27</td><td>25.67</td></tr><tr><td>adapter-gradients</td><td>8M</td><td>30.14</td><td>19.69</td><td>30.19</td><td>19.53</td><td>19.14</td><td>28.06</td><td>41.73</td><td>33.31</td><td>21.51</td><td>21.60</td><td>19.95</td><td>21.29</td><td>25.51</td><td>25.35</td></tr><tr><td>adapter-families</td><td>8M</td><td>30.60</td><td>19.31</td><td>30.12</td><td>22.65</td><td>16.69</td><td>27.99</td><td>41.33</td><td>33.21</td><td>21.31</td><td>22.04</td><td>22.68</td><td>21.21</td><td>25.76</td><td>26.04</td></tr></table>
187
+
188
+ Table 2: BLEU scores on the Europarl corpus. The meanings of symbols stay the same as those in Table 1.
189
+
190
+ are independent. To further explore the specific influence of clustering in these two modules on the model's performance, we apply the clustering strategy to only the encoder and the decoder separately and show the results in Figure 3. We use language families/groups as the clustering strategy. All methods are trained in the m2m setting using the Europarl dataset with one random seed. Other settings are the same as those in our main experiments.
191
+
192
+ To our surprise, either clustering in the encoder or the decoder significantly improves performance compared to no-sharing strategies, even surpasses adapter-families. We owe this phenomenon to our naive clustering strategies in the encoder and the decoder. In adapter-families, the clustering of the encoder and the decoder is only related to the source and target languages respectively. However, parameters in both the encoder and the decoder are influenced by source and target languages together during training. The inconsistency between clustering strategies and parameter update results in adapter-families method's worse performance than adapter-encoder and adapter-decoder.
193
+
194
+ # 5 Further Analysis
195
+
196
+ # 5.1 Case Study
197
+
198
+ We select some representative cases of translations from method adapter-families and adapter
199
+
200
+ ![](images/a1721ffc51fcbabb4f31b7005168dd3bf132ac5ba2fba58976daddb2ea6c23a3.jpg)
201
+ Figure 3: Results of ablation study. Encoder/Decoder-cluster denote clustering only in the encoder/decoder, both obtaining significant improvements compared to the no-clustering baseline.
202
+
203
+ shareAll, which are shown in Table 3, to further study the influence of our clustering strategies. We separate the mistakes into three categories.
204
+
205
+ Opposite semantics In case 1 and case 2, adapter-fed misses negation adverbs in predictions and results in totally opposite semantics.
206
+
207
+ Inaccurate words/phrases In case 3, adapter-fed translates adverbial of time into "a day or two", which should be "four or five weeks" actually. In case 4, adapter-fed uses the expression "save the world", which differs from the original expression "change the world" in semantics.
208
+
209
+ <table><tr><td>Method</td><td>Sentence</td></tr><tr><td>Ground truth
210
+ adapter-families
211
+ adapter-fed</td><td>I think if somebody tells a lie, they&#x27;re not just a liar.
212
+ I think if somebody tells a lie, they&#x27;re not just a liar.
213
+ I know that when people lie, they&#x27;re just lying.</td></tr><tr><td>Ground truth
214
+ adapter-families
215
+ adapter-fed</td><td>I never miss a single training session.
216
+ I didn&#x27;t miss a single training session.
217
+ I missed one training session.</td></tr><tr><td>Ground truth
218
+ adapter-families
219
+ adapter-fed</td><td>And within four or five weeks, he can do it again.
220
+ And within four or five weeks, he can do it again.
221
+ And within a day or two, he can do this.</td></tr><tr><td>Ground truth
222
+ adapter-families
223
+ adapter-fed</td><td>So could art change the world?
224
+ Can art change the world?
225
+ Is art about saving the world?</td></tr><tr><td>Ground truth
226
+ adapter-families
227
+ adapter-fed</td><td>Over 100,000 children learn science this way.
228
+ Hundreds of thousands of children learn science this way.
229
+ Hundreds of thousands of people learned how to do that.</td></tr><tr><td>Ground truth
230
+ adapter-families
231
+ adapter-fed</td><td>And all at once I became a learner.
232
+ And all of a sudden, I became a learner.
233
+ And all of a sudden, it&#x27;s happening.</td></tr></table>
234
+
235
+ Table 3: Case study comparison of adapter-families and adapter-fed. Obvious translation mistakes are highlighted in red and corresponding correct translations are highlighted in blue.
236
+
237
+ <table><tr><td rowspan="2" colspan="2">Method</td><td colspan="2">TED2020</td><td colspan="2">Europarl</td></tr><tr><td>Macro Avg.</td><td>Micro Avg.</td><td>Macro Avg.</td><td>Micro Avg.</td></tr><tr><td rowspan="2">adapter-fed</td><td>FedAvg</td><td>34.31</td><td>31.70</td><td>22.20</td><td>23.00</td></tr><tr><td>FedMean</td><td>34.52</td><td>31.71</td><td>23.56</td><td>23.53</td></tr><tr><td rowspan="2">adapter-random</td><td>FedAvg</td><td>34.79</td><td>32.16</td><td>25.19</td><td>25.76</td></tr><tr><td>FedMean</td><td>35.14</td><td>32.38</td><td>25.27</td><td>25.67</td></tr><tr><td rowspan="2">adapter-gradients</td><td>FedAvg</td><td>34.46</td><td>31.96</td><td>25.64</td><td>25.84</td></tr><tr><td>FedMean</td><td>34.90</td><td>32.21</td><td>25.51</td><td>25.35</td></tr><tr><td rowspan="2">adapter-families</td><td>FedAvg</td><td>34.83</td><td>32.09</td><td>25.47</td><td>26.02</td></tr><tr><td>FedMean</td><td>35.21</td><td>32.40</td><td>25.76</td><td>26.04</td></tr></table>
238
+
239
+ Table 4: Comparison between FedAvg and FedMean (the aggregation method we use in Eq. 3). Results of FedMean are in green if better than those of FedAvg, otherwise in red. In most cases, FedMean yields performance gains.
240
+
241
+ Ambiguous semantics In cases 5 and 6, adapter-fed loses specific semantic information in ground truths. It fails to properly translate "children", "science" and "become a learner" and uses more ambiguous expressions instead.
242
+
243
+ In comparison, adapter-families makes more accurate predictions in the above cases, which suggests that appropriate clustering strategies help the model produce better translations with improvements in semantics.
244
+
245
+ # 5.2 Both FedMean and Clustering Contribute
246
+
247
+ In our experiments, discrepancies in data come from two aspects: data quantity skew and linguistic discrepancy (language difference). We adjust the aggregation algorithm from Eq. (2) to Eq. (3), which we call FedMean here, to tackle the problem of quantity skew. Moreover, we propose clustering strategies to prevent clients from receiving con
248
+
249
+ flecting parameters from dissimilar languages. To explore how these two methods contribute to improvement in performance, we further conduct experiments with the aggregation algorithm changed to FedAvg (see Eq. (2)) and keep other training settings unchanged.
250
+
251
+ As the results displayed in Table 4, clustering strategies bring more significant improvements in performance on the Europarl corpus than the TED2020 corpus. Since experiments on the Europarl corpus consists of more different languages and are conducted in a more complicated m2m setting, the problem of linguistic discrepancy is more severe for Europarl. For the TED2020 corpus, changing the aggregation algorithm from FedAvg to FedMean leads to more significant improvements for methods with clustering strategies compared to adapter-fed. In contrast, for the Europarl corpus, adapter-fed substantially benefits from FedMean, while FedMean hardly brings any benefits to methods with clustering strategies, even causing performance drop in some cases.
252
+
253
+ Based on these observations, we contend that both aggregation algorithms and clustering strategies contribute to performance gain by alleviating data discrepancies. The specific extent of improvement depends on the extent of data quantity skew and linguistic discrepancy.
254
+
255
+ # 5.3 Further Cost Saving by Adapter Pruning
256
+
257
+ On top of the adapter tuning approach, adapter pruning techniques (Rücklé et al., 2021; Pfeiffer et al., 2021; Karimi Mahabadi et al., 2021) further compress the number of parameters to be updated. To further reduce the communication cost, we conduct an exploratory attempt to prune parts of adapter modules in both the encoder and the decoder. We still choose the mBART-50 model, with 12 layers in the encoder and the decoder separately, to conduct the experiments. Specifically, we evenly separate all adapter modules we add in mBART into three parts: input-end adapters (adapter modules in the first 4 layers of the encoder or the decoder), middle-layer adapters (adapter modules in layers 5 to 8 of the encoder or the decoder), output-end adapters (adapter modules in the last 4 layers of the encoder or the decoder). In each strategy, only one part of the adapter modules is kept, so the communication cost is saved by two-thirds. We use adapter-families as the baseline and train all models with one random seed. The rest settings stay the
258
+
259
+ <table><tr><td>Method</td><td>adapters</td><td>Comm. Cost</td><td>de-fr</td><td>nl-pl</td><td>en-lt</td><td>fr-nl</td><td>it-s1</td><td>es-lv</td><td>pl-en</td><td>sl-es</td><td>sl-lt</td><td>lt-de</td><td>lv-it</td><td>lv-pl</td><td>Macro Avg.</td><td>Micro Avg.</td></tr><tr><td rowspan="4">Language families clustering</td><td>input-end</td><td>2.7M</td><td>30.21</td><td>19.04</td><td>29.98</td><td>20.39</td><td>14.93</td><td>28.09</td><td>41.64</td><td>32.08</td><td>21.39</td><td>21.62</td><td>19.89</td><td>20.73</td><td>25.00</td><td>25.12</td></tr><tr><td>middle-layer</td><td>2.7M</td><td>30.12</td><td>18.88</td><td>29.84</td><td>21.27</td><td>15.15</td><td>28.16</td><td>41.33</td><td>31.92</td><td>21.06</td><td>21.68</td><td>20.99</td><td>20.74</td><td>25.10</td><td>25.30</td></tr><tr><td>output-end</td><td>2.7M</td><td>30.30</td><td>19.37</td><td>30.33</td><td>22.17</td><td>16.06</td><td>27.96</td><td>41.39</td><td>31.76</td><td>20.03</td><td>21.75</td><td>21.97</td><td>21.15</td><td>25.35</td><td>25.64</td></tr><tr><td>all adapters</td><td>8.1M</td><td>30.18</td><td>18.85</td><td>29.86</td><td>22.42</td><td>16.10</td><td>27.66</td><td>41.13</td><td>32.96</td><td>20.78</td><td>21.80</td><td>22.78</td><td>21.27</td><td>25.48</td><td>25.75</td></tr></table>
260
+
261
+ Table 5: BLEU scores of different adapter pruning strategies. We acquire similar results with only 1/3 communication cost compared to keeping all adapter modules.
262
+
263
+ same as those in previous main experiments. The results are shown in Table 5.
264
+
265
+ It is encouraging that pruning adapters do not result in a sharp decrease in performance. We observe that keeping output-end adapters achieves the highest score among the three pruning strategies, which suggests that adapters in the top layers play more important roles. Overall, the results indicate that it is possible to further reduce communication costs and it is worthwhile to explore more elaborate pruning techniques in future work.
266
+
267
+ # 6 Related Work
268
+
269
+ Federated Learning was first proposed by McMahan et al. (2017) as a decentralized training framework. Due to its decentralized and private nature, FL shows great potential in actual applications. Recently, there has been a surge in the NLP community to explore the application of federated learning in diverse NLP tasks, such as emojis prediciton (Gandhi et al., 2022), named entity recognition (Ge et al., 2020), and machine translation (Roosta et al., 2021; Passban et al., 2022; Weller et al., 2022), etc. Roosta et al. (2021) first applied FL to NMT tasks. However, training language models in the FL setting brings huge communication overheads. To solve this problem, researchers have proposed to only exchange some dedicated "Controller" (Roosta et al., 2021) layers between the server and clients. Moreover, Passban et al. (2022) introduced parameter pruning strategies to reduce communication bandwidth. Our methods with adapter modules have advantages in communication efficiency with fewer parameters to be transferred compared to Controller (see Appendix D), and other parameter pruning strategies can also be applied to our adapter modules to further reduce communication costs.
270
+
271
+ Multilingual Neural Machine Translation (MNMT) trains a single model to handle translation between multiple language pairs (Johnson et al., 2017; Aharoni et al., 2019; Zhang et al., 2020). Moreover, MNMT significantly reduces training and inference costs by eliminating the
272
+
273
+ need to train models for each language pair. Massively pre-trained multilingual models have been used for MNMT, such as mBART-50 (Tang et al., 2020) and M2M100 (Fan et al., 2021). In recent years, adapter has become a popular method in MNMT (Bapna and First, 2019; Cooper Stickland et al., 2021; Philip et al., 2020; Üstün et al., 2021; Chronopoulou et al., 2022) due to its high parameter efficiency and transferability between tasks.
274
+
275
+ Different from previous works on this topic, inspired by recent progress in improving the efficiency of NLP methods (Strubell et al., 2019; Li et al., 2021a; Xu et al., 2021; Li et al., 2021b), we focus on communication efficiency in FL-MNMT and make the first effort to introduce adapter modules in order to reduce communication costs. We also apply different clustering strategies to resolve the issue of conflicting parameters stemming from data discrepancy.
276
+
277
+ # 7 Conclusion
278
+
279
+ In this paper, we introduce adapter modules to PLMs for the Fed-MNMT problem to boost communication efficiency. We reduce the communication cost by over $98\%$ and make the training process of Fed-MNMT practical. To deal with the problem of performance drop after introducing adapter modules, we propose different clustering strategies to separate clients into different groups to avoid the negative influence of data discrepancy. We surpass the direct baseline with a substantial gap, especially in the more complicated multi-to-multi translation setting.
280
+
281
+ Furthermore, our analytic experiments indicate that both aggregation algorithms in server and clustering strategies affect the performance of FedMNMT. We also explore the possibility of further reducing communication costs by pruning adapter modules and find that adapters in top layers are more significant for translation performance.
282
+
283
+ In future work, we will explore more well-designed clustering strategies and attach other parameter-efficient techniques to adapter to further reduce the parameters to be transferred.
284
+
285
+ # Limitations
286
+
287
+ First, in this work, we assume that clustering in the encoder and the decoder is only related to the source and target languages, respectively. Actually, both parameters in the encoder and the decoder are influenced by source and target languages simultaneously. Therefore, our assumption may lead to a performance drop. In future work, we plan to explore more complicated clustering strategies.
288
+
289
+ Moreover, our adapter-families method depends on prior linguistic knowledge. Its actual effectiveness can be affected by the distribution of language families/groups in clients. Our methods mainly apply to comparably uniform language distribution.
290
+
291
+ In addition, the effectiveness of our methods on other PLMs needs to be verified. However, it is easy to transfer our methods to other models so it will not be a challenging problem.
292
+
293
+ # Acknowledgements
294
+
295
+ We thank all reviewers for their insightful comments and suggestions. This work is supported by Natural Science Foundation of China (NSFC) No.62176002. We sincerely thank Jingjing Xu for her valuable suggestions. Xu Sun is the corresponding author.
296
+
297
+ # References
298
+
299
+ Roee Aharoni, Melvin Johnson, and Orhan First. 2019. Massively multilingual neural machine translation. 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 3874-3884, Minneapolis, Minnesota. Association for Computational Linguistics.
300
+ Ankur Bapna and Orhan First. 2019. Simple, scalable adaptation for neural machine translation. 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 1538-1548, Hong Kong, China. Association for Computational Linguistics.
301
+ Alexandra Chronopoulou, Dario Stojanovski, and Alexander Fraser. 2022. Language-family adapters for multilingual neural machine translation. ArXiv preprint, abs/2209.15236.
302
+ Asa Cooper Stickland, Xian Li, and Marjan Ghazvininejad. 2021. Recipes for adapting pre-trained monolingual and multilingual models to machine translation. In Proceedings of the 16th Conference of the European Chapter of the Association for Computational
303
+
304
+ Linguistics: Main Volume, pages 3440-3453, Online.
305
+ Association for Computational Linguistics.
306
+ Angela Fan, Shruti Bhosale, Holger Schwenk, Zhiyi Ma, Ahmed El-Kishky, Siddharth Goyal, Mandep Baines, Onur Celebi, Guillaume Wenzek, Vishrav Chaudhary, Naman Goyal, Tom Birch, Vitaliy Liptchinsky, Sergey Edunov, Edouard Grave, Michael Auli, and Armand Joulin. 2020. Beyond english-centric multilingual machine translation.
307
+ Angela Fan, Shruti Bhosale, Holger Schwenk, Zhiyi Ma, Ahmed El-Kishky, Siddharth Goyal, Mandeep Baines, Onur Celebi, Guillaume Wenzek, Vishrav Chaudhary, et al. 2021. Beyond english-centric multilingual machine translation. J. Mach. Learn. Res., 22(107):1-48.
308
+ Orhan First, Kyunghyun Cho, and Yoshua Bengio. 2016. Multi-way, multilingual neural machine translation with a shared attention mechanism. In Proceedings of the 2016 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, pages 866-875, San Diego, California. Association for Computational Linguistics.
309
+ Deep Gandhi, Jash Mehta, Nirali Parekh, Karan Waghela, Lynette D'Mello, and Zeerak Talat. 2022. A federated approach to predicting emojis in hindi tweets. ArXiv preprint, abs/2211.06401.
310
+ Suyu Ge, Fangzhao Wu, Chuhan Wu, Tao Qi, Yongfeng Huang, and Xing Xie. 2020. Fedner: Privacy-preserving medical named entity recognition with federated learning. arXiv e-prints, pages arXiv-2003.
311
+ Neil Houlsby, Andrei Giurgiu, Stanislaw Jastrzebski, Bruna Morrone, Quentin de Laroussilhe, Andrea Gesmundo, Mona Attariyan, and Sylvain Gelly. 2019. Parameter-efficient transfer learning for NLP. In Proceedings of the 36th International Conference on Machine Learning, ICML 2019, 9-15 June 2019, Long Beach, California, USA, volume 97 of Proceedings of Machine Learning Research, pages 2790-2799. PMLR.
312
+ Melvin Johnson, Mike Schuster, Quoc V. Le, Maxim Krikun, Yonghui Wu, Zhifeng Chen, Nikhil Thorat, Fernanda Viégas, Martin Wattenberg, Greg Corrado, Macduff Hughes, and Jeffrey Dean. 2017. Google's multilingual neural machine translation system: Enabling zero-shot translation. Transactions of the Association for Computational Linguistics, 5:339-351.
313
+ Rabeeh Karimi Mahabadi, James Henderson, and Sebastian Ruder. 2021. Compacter: Efficient low-rank hypercomplex adapter layers. Advances in Neural Information Processing Systems, 34:1022-1035.
314
+ Philipp Koehn. 2005. Europarl: A parallel corpus for statistical machine translation. In Proceedings of Machine Translation Summit X: Papers, pages 79-86, Phuket, Thailand.
315
+
316
+ Lei Li, Yankai Lin, Deli Chen, Shuhuai Ren, Peng Li, Jie Zhou, and Xu Sun. 2021a. Cascadebert: Accelerating inference of pre-trained language models via calibrated complete models cascade. In Findings of the Association for Computational Linguistics: EMNLP 2021, pages 475-486.
317
+ Lei Li, Yankai Lin, Shuhuai Ren, Peng Li, Jie Zhou, and Xu Sun. 2021b. Dynamic knowledge distillation for pre-trained language models. In Proceedings of the 2021 Conference on Empirical Methods in Natural Language Processing, pages 379-389.
318
+ Brendan McMahan, Eider Moore, Daniel Ramage, Seth Hampson, and Blaise Agüera y Arcas. 2017. Communication-efficient learning of deep networks from decentralized data. In Proceedings of the 20th International Conference on Artificial Intelligence and Statistics, AISTATS 2017, 20-22 April 2017, Fort Lauderdale, FL, USA, volume 54 of Proceedings of Machine Learning Research, pages 1273-1282. PMLR.
319
+ Yifan Niu and Weihong Deng. 2022. Federated learning for face recognition with gradient correction. In Proceedings of the AAAI Conference on Artificial Intelligence, volume 36, pages 1999-2007.
320
+ Peyman Passban, Tanya Roosta, Rahul Gupta, Ankit Chadha, and Clement Chung. 2022. Training mixed-domain translation models via federated learning. In Proceedings of the 2022 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, pages 2576-2586, Seattle, United States. Association for Computational Linguistics.
321
+ Jonas Pfeiffer, Aishwarya Kamath, Andreas Rückle, Kyunghyun Cho, and Iryna Gurevych. 2021. AdapterFusion: Non-destructive task composition for transfer learning. In Proceedings of the 16th Conference of the European Chapter of the Association for Computational Linguistics: Main Volume, pages 487-503, Online. Association for Computational Linguistics.
322
+ Jonas Pfeiffer, Andreas Rückle, Clifton Poth, Aishwarya Kamath, Ivan Vulic, Sebastian Ruder, Kyunghyun Cho, and Iryna Gurevych. 2020. AdapterHub: A framework for adapting transformers. In Proceedings of the 2020 Conference on Empirical Methods in Natural Language Processing: System Demonstrations, pages 46-54, Online. Association for Computational Linguistics.
323
+ Jerin Philip, Alexandre Berard, Matthias Galle, and Laurent Besacier. 2020. Monolingual adapters for zero-shot neural machine translation. In Proceedings of the 2020 Conference on Empirical Methods in Natural Language Processing (EMNLP), pages 4465-4470, Online. Association for Computational Linguistics.
324
+ Matt Post. 2018. A call for clarity in reporting BLEU scores. In Proceedings of the Third Conference on
325
+
326
+ Machine Translation: Research Papers, pages 186-191, Brussels, Belgium. Association for Computational Linguistics.
327
+ Sylvestre-Alvise Rebuffi, Hakan Bilen, and Andrea Vedaldi. 2017. Learning multiple visual domains with residual adapters. 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 506-516.
328
+ Nils Reimers and Iryna Gurevych. 2020. Making monolingual sentence embeddings multilingual using knowledge distillation. In Proceedings of the 2020 Conference on Empirical Methods in Natural Language Processing (EMNLP), pages 4512-4525, Online. Association for Computational Linguistics.
329
+ Tanya Roosta, Peyman Passban, and Ankit Chadha. 2021. Communication-efficient federated learning for neural machine translation. ArXiv preprint, abs/2112.06135.
330
+ Andreas Rückle, Gregor Geigle, Max Glockner, Tilman Beck, Jonas Pfeiffer, Nils Reimers, and Iryna Gurevych. 2021. AdapterDrop: On the efficiency of adapters in transformers. In Proceedings of the 2021 Conference on Empirical Methods in Natural Language Processing, pages 7930-7946, Online and Punta Cana, Dominican Republic. Association for Computational Linguistics.
331
+ Emma Strubell, Ananya Ganesh, and Andrew McCallum. 2019. Energy and policy considerations for deep learning in nlp. In Proceedings of the 57th Annual Meeting of the Association for Computational Linguistics, pages 3645-3650.
332
+ Xu Tan, Jiale Chen, Di He, Yingce Xia, Tao Qin, and Tie-Yan Liu. 2019. Multilingual neural machine translation with language clustering. 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 963-973, Hong Kong, China. Association for Computational Linguistics.
333
+ Y. Tang, C. Tran, Xian Li, Peng-Jen Chen, Naman Goyal, Vishrav Chaudhary, Jiatao Gu, and Angela Fan. 2020. Multilingual translation with extensible multilingual pretraining and finetuning. ArXiv, abs/2008.00401.
334
+ Ahmet Üstün, Alexandre Berard, Laurent Besacier, and Matthias Galle. 2021. Multilingual unsupervised neural machine translation with denoising adapters. In Proceedings of the 2021 Conference on Empirical Methods in Natural Language Processing, pages 6650-6662, Online and Punta Cana, Dominican Republic. Association for Computational Linguistics.
335
+ Jianyu Wang, Qinghua Liu, Hao Liang, Gauri Joshi, and H. Vincent Poor. 2020. Tackling the objective
336
+
337
+ inconsistency problem in heterogeneous federated optimization. In Advances in Neural Information Processing Systems 33: Annual Conference on Neural Information Processing Systems 2020, NeurIPS 2020, December 6-12, 2020, virtual.
338
+
339
+ Orion Weller, Marc Marone, Vladimir Braverman, Dawn Lawrie, and Benjamin Van Durme. 2022. Pretrained models for multilingual federated learning. In Proceedings of the 2022 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, pages 1413-1421, Seattle, United States. Association for Computational Linguistics.
340
+
341
+ Jingjing Xu, Wangchunshu Zhou, Zhiyi Fu, Hao Zhou, and Lei Li. 2021. A survey on green deep learning. arXiv preprint arXiv:2111.05193.
342
+
343
+ Biao Zhang, Philip Williams, Ivan Titov, and Rico Senrich. 2020. Improving massively multilingual neural machine translation and zero-shot translation. In Proceedings of the 58th Annual Meeting of the Association for Computational Linguistics, pages 1628-1639, Online. Association for Computational Linguistics.
344
+
345
+ Yue Zhao, Meng Li, Liangzhen Lai, Naveen Suda, Damon Civin, and Vikas Chandra. 2018. Federated learning with non-iid data. ArXiv preprint, abs/1806.00582.
346
+
347
+ # A Training Data Sizes
348
+
349
+ The specific training data size of each language pair is shown in Table 6.
350
+
351
+ # B Complete Results of Ablation Study
352
+
353
+ We show the complete results on all language pairs of the ablation study in Table 7.
354
+
355
+ We find that only applying clustering to the decoder acquires the highest scores on 7 out of the total 12 language pairs. To our surprise, adapter-families method fails to reach the best performance in average scores, which has been explained in § 4.2 in the main text.
356
+
357
+ # C Uniform Data Distribution
358
+
359
+ We also conduct experiments on TED2020 with each client owning training data of equal size. The results are shown in Table 8. We observe that the performance gaps between different methods are similar to those in Table 1. Notably, Adapter-families beats adapter-random by a slight margin. Both clustering strategies acquire obvious performance improvement compared to the baseline adapter-fed. These empirical results verify that our methods apply to various data distributions.
360
+
361
+ <table><tr><td>Corpus</td><td>Source Language Family/Group</td><td>Language Pair</td><td>Dataset Size</td></tr><tr><td rowspan="8">TED2020</td><td rowspan="2">Sino-Tibetan</td><td>zh-&gt;en</td><td>9984</td></tr><tr><td>th-&gt;en</td><td>4992</td></tr><tr><td rowspan="2">Afro-asiatic</td><td>ar-&gt;en</td><td>9984</td></tr><tr><td>he-&gt;en</td><td>1920</td></tr><tr><td rowspan="2">Uralic</td><td>fi-&gt;en</td><td>1920</td></tr><tr><td>et-&gt;en</td><td>1920</td></tr><tr><td rowspan="2">Indo-European</td><td>ru-&gt;en</td><td>9984</td></tr><tr><td>sl-&gt;en</td><td>1920</td></tr><tr><td rowspan="12">Europarl</td><td rowspan="3">Germanic</td><td>de-&gt;fr</td><td>11648</td></tr><tr><td>nl-&gt;pl</td><td>3584</td></tr><tr><td>en-&gt;lt</td><td>3712</td></tr><tr><td rowspan="3">Romance</td><td>fr-&gt;nl</td><td>12160</td></tr><tr><td>it-&gt;sl</td><td>3456</td></tr><tr><td>es-&gt;lv</td><td>3584</td></tr><tr><td rowspan="3">Slavic</td><td>pl-&gt;en</td><td>3712</td></tr><tr><td>sl-&gt;es</td><td>3584</td></tr><tr><td>sl-&gt;lt</td><td>3584</td></tr><tr><td rowspan="3">Baltic</td><td>lt-&gt;de</td><td>3328</td></tr><tr><td>lv-&gt;it</td><td>3584</td></tr><tr><td>lv-&gt;pl</td><td>3712</td></tr></table>
362
+
363
+ Table 6: Detailed data sizes of language pairs from Europarl corpus.
364
+
365
+ # D Comparison to Controllers
366
+
367
+ Controllers (Roosta et al., 2021) only exchange 8 layers in a 32-layer Transformer (4 from encoder and 4 from decoder) between the server and clients, which means that they reduce the communication cost by approximately $66\%$ (the number of layers in the original model without Controllers is 24). Compared with Controllers, we introduce adapter modules in Fed-MNMT without the need to define additional layers. Besides, our methods transmit a much smaller amount of parameters in client-to-server exchanges than using Controllers. Therefore, our proposal is superior to Controllers in terms of communication efficiency.
368
+
369
+ <table><tr><td>Method</td><td>de-fr</td><td>nl-pl</td><td>en-lt</td><td>fr-nl</td><td>it-sl</td><td>es-lv</td><td>pl-en</td><td>sl-es</td><td>sl-lt</td><td>lt-de</td><td>lv-it</td><td>lv-pl</td><td>Macro Avg.</td><td>Micro Avg.</td></tr><tr><td>adapter-fed</td><td>29.66</td><td>17.35</td><td>30.22</td><td>16.89</td><td>11.95</td><td>27.91</td><td>37.31</td><td>31.04</td><td>20.13</td><td>21.18</td><td>17.95</td><td>19.97</td><td>23.46</td><td>23.44</td></tr><tr><td>+ encoder clustering</td><td>30.50</td><td>19.24</td><td>29.85</td><td>22.94</td><td>18.56</td><td>28.01</td><td>41.93</td><td>33.25</td><td>20.84</td><td>22.09</td><td>23.34</td><td>20.82</td><td>25.95</td><td>26.19</td></tr><tr><td>+ decoder clustering</td><td>31.19</td><td>19.41</td><td>30.53</td><td>23.06</td><td>18.26</td><td>28.20</td><td>41.71</td><td>33.56</td><td>21.26</td><td>21.96</td><td>23.03</td><td>21.06</td><td>26.10</td><td>26.42</td></tr><tr><td>adapter-families</td><td>30.18</td><td>18.85</td><td>29.86</td><td>22.42</td><td>16.10</td><td>27.66</td><td>41.13</td><td>32.96</td><td>20.78</td><td>21.80</td><td>22.78</td><td>21.27</td><td>25.48</td><td>25.75</td></tr></table>
370
+
371
+ Table 7: BLEU scores of applying language families strategies to only the encoder and the decoder. Adapter-fed corresponds to clustering in neither the encoder or the decoder. Adapter-families denotes clustering in both the encoder and the decoder.
372
+
373
+ <table><tr><td>Method</td><td>zh-en</td><td>th-en</td><td>ar-en</td><td>he-en</td><td>fi-en</td><td>et-en</td><td>ru-en</td><td>sl-en</td><td>Avg.</td></tr><tr><td>model-fed</td><td>25.58</td><td>22.90</td><td>39.63</td><td>46.12</td><td>34.78</td><td>34.41</td><td>30.42</td><td>51.32</td><td>35.64</td></tr><tr><td>adapter-fed</td><td>24.83</td><td>16.79</td><td>40.02</td><td>45.99</td><td>33.55</td><td>33.67</td><td>29.61</td><td>52.20</td><td>34.58</td></tr><tr><td>adapter-random</td><td>25.30</td><td>22.33</td><td>39.58</td><td>45.59</td><td>34.58</td><td>34.31</td><td>30.12</td><td>51.52</td><td>35.41</td></tr><tr><td>adapter-families</td><td>25.04</td><td>22.08</td><td>39.50</td><td>45.74</td><td>34.91</td><td>34.65</td><td>30.16</td><td>51.38</td><td>35.43</td></tr></table>
374
+
375
+ Table 8: BLEU scores on the TED2020 corpus with equivalent data size for each language pair. Best scores are highlighted in bold except model-fed.
376
+
377
+ A For every submission:
378
+
379
+ A1. Did you describe the limitations of your work? section Limitations
380
+ A2. Did you discuss any potential risks of your work? Not applicable. Left blank.
381
+ A3. Do the abstract and introduction summarize the paper's main claims? abstract and section 1
382
+ A4. Have you used AI writing assistants when working on this paper? Left blank.
383
+
384
+ B Did you use or create scientific artifacts?
385
+
386
+ Left blank.
387
+
388
+ B1. Did you cite the creators of artifacts you used? No response.
389
+ B2. Did you discuss the license or terms for use and / or distribution of any artifacts? No response.
390
+ B3. Did you discuss if your use of existing artifact(s) was consistent with their intended use, provided that it was specified? For the artifacts you create, do you specify intended use and whether that is compatible with the original access conditions (in particular, derivatives of data accessed for research purposes should not be used outside of research contexts)? No response.
391
+ B4. Did you discuss the steps taken to check whether the data that was collected / used contains any information that names or uniquely identifies individual people or offensive content, and the steps taken to protect / anonymize it? No response.
392
+ B5. Did you provide documentation of the artifacts, e.g., coverage of domains, languages, and linguistic phenomena, demographic groups represented, etc.? No response.
393
+ B6. Did you report relevant statistics like the number of examples, details of train / test / dev splits, etc. for the data that you used / created? Even for commonly-used benchmark datasets, include the number of examples in train / validation / test splits, as these provide necessary context for a reader to understand experimental results. For example, small differences in accuracy on large test sets may be significant, while on small test sets they may not be. No response.
394
+
395
+ C Did you run computational experiments?
396
+
397
+ section 3, 4 and 5
398
+
399
+ C1. Did you report the number of parameters in the models used, the total computational budget (e.g., GPU hours), and computing infrastructure used? section 4
400
+
401
+ The Responsible NLP Checklist used at ACL 2023 is adopted from NAACL 2022, with the addition of a question on AI writing assistance.
402
+
403
+ C2. Did you discuss the experimental setup, including hyperparameter search and best-found hyperparameter values? section 3
404
+ C3. Did you report descriptive statistics about your results (e.g., error bars around results, summary statistics from sets of experiments), and is it transparent whether you are reporting the max, mean, etc. or just a single run? section 4 and 5
405
+ C4. If you used existing packages (e.g., for preprocessing, for normalization, or for evaluation), did you report the implementation, model, and parameter settings used (e.g., NLTK, Spacy, ROUGE, etc.)? section 3.1
406
+
407
+ # D Did you use human annotators (e.g., crowdworkers) or research with human participants?
408
+
409
+ Left blank.
410
+
411
+ D1. Did you report the full text of instructions given to participants, including e.g., screenshots, disclaimers of any risks to participants or annotators, etc.? No response.
412
+ D2. Did you report information about how you recruited (e.g., crowdsourcing platform, students) and paid participants, and discuss if such payment is adequate given the participants' demographic (e.g., country of residence)? No response.
413
+ D3. Did you discuss whether and how consent was obtained from people whose data you're using/curating? For example, if you collected data via crowdsourcing, did your instructions to crowdworkers explain how the data would be used? No response.
414
+ D4. Was the data collection protocol approved (or determined exempt) by an ethics review board? No response.
415
+ D5. Did you report the basic demographic and geographic characteristics of the annotator population that is the source of the data? No response.
2023/Communication Efficient Federated Learning for Multilingual Neural Machine Translation with Adapter/images.zip ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:149ff1271ca5e991b46489866b3da7e9822d81f1e6447d939a8befe7e8354683
3
+ size 496507
2023/Communication Efficient Federated Learning for Multilingual Neural Machine Translation with Adapter/layout.json ADDED
The diff for this file is too large to render. See raw diff
 
2023/Complementary Explanations for Effective In-Context Learning/a50d012a-1115-4961-8cce-819a0bcf40d0_content_list.json ADDED
The diff for this file is too large to render. See raw diff
 
2023/Complementary Explanations for Effective In-Context Learning/a50d012a-1115-4961-8cce-819a0bcf40d0_model.json ADDED
The diff for this file is too large to render. See raw diff
 
2023/Complementary Explanations for Effective In-Context Learning/a50d012a-1115-4961-8cce-819a0bcf40d0_origin.pdf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4661693af5c7a2b817c42554319ca239aacda0b923de90fe3ee0ed010aa2ed7f
3
+ size 487347
2023/Complementary Explanations for Effective In-Context Learning/full.md ADDED
@@ -0,0 +1,469 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Complementary Explanations for Effective In-Context Learning
2
+
3
+ Xi Ye\* Srinivasan Iyer\* Asli Celikyilmaz\* Ves Stoyanov\* Greg Durrett\* Ramakanth Pasunuru
4
+
5
+ The University of Texas at Austin $\spadesuit$ Meta AI
6
+
7
+ $\diamondsuit$ {xiye,gdurrett}@cs.utexas.edu
8
+
9
+ $\spadesuit$ {sviyer,ves,aslic,rpasunuru}@meta.com
10
+
11
+ # Abstract
12
+
13
+ Large language models (LLMs) have exhibited remarkable capabilities in learning from explanations in prompts, but there has been limited understanding of exactly how these explanations function or why they are effective. This work aims to better understand the mechanisms by which explanations are used for in-context learning. We first study the impact of two different factors on the performance of prompts with explanations: the computation trace (the way the solution is decomposed) and the natural language used to express the prompt. By perturbing explanations on three controlled tasks, we show that both factors contribute to the effectiveness of explanations. We further study how to form maximally effective sets of explanations for solving a given test query. We find that LLMs can benefit from the complementarity of the explanation set: diverse reasoning skills shown by different exemplars can lead to better performance. Therefore, we propose a maximal marginal relevance-based exemplar selection approach for constructing exemplar sets that are both relevant as well as complementary, which successfully improves the in-context learning performance across three real-world tasks on multiple LLMs.
14
+
15
+ # 1 Introduction
16
+
17
+ Large language models (LLMs) have achieved promising progress in learning from only a few exemplars in prompts via in-context learning (ICL) (Brown et al., 2020; Chowdhery et al., 2022). To scale to complex tasks, recent work in the past year has shown that LLMs can benefit from explanations in prompts, particularly for tasks involving multistep reasoning (Nye et al., 2021; Wei et al., 2022; Wang et al., 2022b; Madaan et al., 2022; Jung et al., 2022). However, while including explanations in prompts has been demonstrated to be useful, little has been shown regarding what particular features make them effective and how they function in ICL.
18
+
19
+ ![](images/da2ba70a1149c206dc2f698e3fe66dfd881ae5ed120c0bb03f44285bbd74fe36.jpg)
20
+ Figure 1: Prompting OPT (Zhang et al., 2022) with explanations where we perturb the computation traces or natural language. Perturbing either traces or natural language will lead to performance degradation.
21
+
22
+ Our work aims to better understand the mechanisms by which explanations are used for ICL. As shown in the example for a multi-step reasoning task in Figure 1, we view an explanation as a combination of a computation trace and natural language which glues together the states in the trace. We design a series of probing experiments that perturb the explanations (as shown in Figure 2) and test LLMs' performance to understand the sensitivity of LLMs on these two factors. The results suggest that both factors contribute to making effective explanations, as LLMs see substantial performance degradation when prompted with defective explanations. Nonetheless, incomplete explanations are still beneficial compared to no explanations at all (Figure 1). This suggests that LLMs "faithfully" follow the reasoning process specified by the explanations to some extent, as opposed to naively following the template patterns while disregarding critical information (Min et al., 2022c).
23
+
24
+ The observations from our probing experiments lead us to focus next on understanding what makes
25
+
26
+ an effective set of exemplars with explanations for solving a given test query. We primarily focus on two aspects, the exemplar-exemplar interplay (how exemplars work together) and the query-exemplar interplay. On the former, we find that the complementarity of the exemplar set is beneficial, as LLMs can fuse different reasoning processes exhibited by individual exemplars in-context. For these studies, we probe LLMs with a mixture of two types of exemplars; each type only specifies a part of the reasoning process (see Figure 3 for detailed instances). We also test how the relevance between the query and the exemplars impacts the performance. Choosing the nearest neighbors (NN) of the query to prompt LLMs has been shown to be effective in the standard prompting setting (Liu et al., 2021). Our experiments covering three similarity metrics show that this is also applicable in the setting that prompts LLMs with explanations.
27
+
28
+ Our analyses inspire us to rethink the exemplar selection process of using explanations for ICL. The prominent NN-based paradigm only considers relevance (Shin et al., 2021; Liu et al., 2021; Rubin et al., 2022), which could result in selecting mostly similar exemplars. We argue that complementarity should also be considered when constructing explanation-infused prompts. Therefore, we propose an exemplar selection strategy based on the maximum marginal relevance (MMR) (Carbonell and Goldstein, 1998) approach which selects exemplars that are both relevant as well as diverse. The underlying rationale is that a diverse set of exemplars is more likely to showcase complementary reasoning types that are required to illustrate the reasoning required in the query. We test our MMR-based strategy on three real-world datasets spanning multiple reasoning tasks. On a powerful LLM, text-davinci-002, our MMR-based strategy is able to improve the accuracy over the baseline of using random exemplars by $4.0\%$ , $3.9\%$ , and $8.5\%$ on GSM, ECQA, and E-SNLI, respectively.
29
+
30
+ In summary, our main findings are: (1) We show that both the computation trace and natural language contribute to making effective explanations for ICL. (2) We show that LLMs can benefit from exemplar sets that exhibit both complementarity and relevance to a given test query. (3) We propose an MMR-based exemplar selection strategy considering both complementarity and relevance and demonstrate that it is more effective than solely choosing the nearest neighbors.
31
+
32
+ # 2 Background
33
+
34
+ In-Context Learning Our study is focused on the usage of explanations in in-context learning (ICL). Let $q$ be the test query to solve. The standard ICL prompts a language model, $M$ , with a set of exemplar input-output pairs, $\{(q_1, a_1) \dots (q_m, a_m)\}$ , and predict an answer $\hat{a}$ for the query:
35
+
36
+ $$
37
+ \hat {a} = \underset {a} {\arg \max } p _ {M} (a \mid q, \{(q _ {1}, a _ {1}).. (q _ {m}, a _ {m}) \}).
38
+ $$
39
+
40
+ In addition to just input-output pairs, we can also include explanations (in the style of Scratchpad (Nye et al., 2021) or chain-of-thought (Wei et al., 2022)) in prompts, which leads the LLM to generate explanations for its predictions as well:
41
+
42
+ $$
43
+ \hat {a} = \underset {a} {\arg \max} \sum_ {e} p _ {M} (a, e \mid q, C),
44
+ $$
45
+
46
+ where $C = \{(q_1, e_1, a_1) \dots (q_m, e_m, a_m)\}$ is the set of input-explanation-output triplets in prompts. Ideally, inference in this requires marginalizing out the explanation $e$ , which is impractical, especially with LLMs. Following Wei et al. (2022); Ye and Durrett (2022), we employ greedy decoding to make an approximate prediction during inference.
47
+
48
+ The end task performance of ICL is sensitive to the selected exemplars (Liu et al., 2021). While much prior work uses a fixed set of manually selected exemplars (Wei et al., 2022; Wang et al., 2022b), there is also work devoted to studying how to select more effective exemplars from a pool of exemplars. Given a test query $q$ , the task is to select a set of $m$ exemplars from a pool of $n$ exemplars $D = \{(q_{1}, e_{1}, a_{1}) \dots (q_{n}, e_{n}, a_{n})\}$ to construct a prompt for solving $q$ . We note that this yields varying exemplar sets for different queries.
49
+
50
+ Datasets & Large Language Models Our analysis is based on model performance on various reasoning datasets. For probing experiments, we mainly use symbolic reasoning datasets, including 1) LETTER CONCATENATION (LET CAT) (Wei et al., 2022) which requires extracting the last letters of two words and then concatenating them, 2) COIN FLIPS (Wei et al., 2022) which reasons about the states of a coin after two steps of operations (flipping or not flipping), and 3) GRADE SCHOOL MATH (GSM) (Cobbe et al., 2021) which focuses on grade school-level arithmetic reasoning problems expressed in natural language.
51
+
52
+ To investigate the effectiveness of different exemplar selection strategies, we use two more textual reasoning datasets, namely ECQA (Aggarwal et al., 2021) and E-SNLI (Camburu et al., 2018), in addition to GSM. The task of E-SNLI is to decide whether a premise entails a hypothesis. ECQA asks multiple-choice commonsense questions. These three tasks include human-annotated explanations and cover diverse reasoning abilities.
53
+
54
+ Our experiments cover an array of LLMs, including OPT-175B (Zhang et al., 2022), GPT-3 (davinci) (Brown et al., 2020), InstructGPT (text-davinci-001) (Ouyang et al., 2022), and text-davinci-002. In addition, we also use GPT-3 Codex models (Chen et al., 2021) that are finetuned on a large scale of code snippets in our exemplar selection experiments, namely code-davinci-001 and code-davinci-002. Though codex models primarily target code-related applications, we find that they are strong in textual reasoning tasks as well.
55
+
56
+ # 3 Do LLMs Follow Explanations?
57
+
58
+ We first investigate what makes explanations effective for LLMs to learn from. We view an explanation as a computation trace $(T)$ that is transformed by a natural language function $(L)$ which maps the trace to a complete natural language explanation. A computation trace $T$ is the chain of intermediate steps (instantiated as tokens in explanations), $s_1, \ldots, s_n$ , that are used to derive the final answer. For instance, the trace for LETCAT is the two last letters of the two words and the concatenated two-letter tokens; the traces for GSM are the intermediate equations. These computation traces are wrapped by natural language function $L$ to form the final explanation $L(s_1, \ldots, s_n)$ , which presumably makes the generation of these traces more "natural" with respect to language modeling.
59
+
60
+ Setup We choose the three symbolic reasoning datasets mentioned in Section 2 for our probing experiments for two reasons. First, LLMs see substantial benefits from including explanations in prompts for these tasks. Second, we can easily manipulate the traces in their explanations. The gold explanations are directly taken from or adapted from Wei et al. (2022). More details on the gold explanations used for these tasks can be found in Appendix A.
61
+
62
+ We experiment on both LLMs trained with vanilla language modeling objectives (OPT, davinci) and LLMs that are aligned with human
63
+
64
+ ![](images/bd1b4831cd9358a21fe457f0b637fcacb507c79852f16a16f466e3f703a94a81.jpg)
65
+ Figure 2: Examples of gold explanations and perturbed explanations. We perturb the trace in gold explanations (colored) by masking intermediate states or substituting them with incorrect values.
66
+
67
+ expectations via different forms of instruction tuning (text-davinci-001, text-davinci-002).
68
+
69
+ # 3.1 Explanations or Triggers?
70
+
71
+ We start by investigating whether actual computation traces matter. If the correctness of the incontext demonstration is unimportant, then that serves as evidence that explanations act as triggers that induce LLMs to follow certain patterns and perform slot-filling. To study this, we prompt LLMs with perturbed explanations, i.e., by perturbing computational traces and measuring the impact on performance in an ICL setting.
72
+
73
+ Figure 2 shows concrete examples of how we perturb the gold explanations. We experiment with two ways of perturbing the inputs. The first way is masking out the intermediate states by replacing a state $s_i$ (or several states) in $s_1, \ldots, s_n$ with a mask token (e.g., empty string), which tests whether
74
+
75
+ <table><tr><td rowspan="2"></td><td colspan="4">LETCAT</td><td colspan="4">COINFLIP</td><td colspan="4">GSM</td></tr><tr><td>OPT</td><td>davinci</td><td>txt-01</td><td>txt-02</td><td>OPT</td><td>davinci</td><td>txt-01</td><td>txt-02</td><td>OPT</td><td>davinci</td><td>txt-01</td><td>txt-02</td></tr><tr><td rowspan="2">Standard Gold</td><td>8.5</td><td>8.5</td><td>10.5</td><td>16.0</td><td>51.5</td><td>83.0</td><td>68.0</td><td>99.0</td><td>5.5</td><td>7.5</td><td>11.0</td><td>26.5</td></tr><tr><td>50.0</td><td>59.0</td><td>85.0</td><td>100.</td><td>94.0</td><td>89.5</td><td>100.</td><td>100.</td><td>32.5</td><td>26.0</td><td>25.0</td><td>57.5</td></tr><tr><td>Mask1</td><td>11.0</td><td>16.0</td><td>21.5</td><td>100.</td><td>71.0</td><td>88.0</td><td>61.5</td><td>100.</td><td>19.0</td><td>21.0</td><td>12.5</td><td>29.5</td></tr><tr><td>Mask2</td><td>32.5</td><td>49.5</td><td>68.0</td><td>100.</td><td>84.0</td><td>91.5</td><td>99.0</td><td>100.</td><td>10.0</td><td>16.0</td><td>11.5</td><td>27.5</td></tr><tr><td rowspan="2">Random Incorrect</td><td>10.0</td><td>25.0</td><td>28.0</td><td>13.0</td><td>52.5</td><td>54.5</td><td>67.0</td><td>69.0</td><td>3.0</td><td>3.0</td><td>1.0</td><td>34.5</td></tr><tr><td>40.0</td><td>53.0</td><td>67.5</td><td>99.5</td><td>60.5</td><td>86.0</td><td>52.0</td><td>100.</td><td>18.5</td><td>17.0</td><td>10.0</td><td>16.5</td></tr><tr><td>No NL</td><td>29.0</td><td>15.0</td><td>46.5</td><td>100.</td><td>59.5</td><td>86.0</td><td>99.0</td><td>100.</td><td>8.0</td><td>19.5</td><td>14.5</td><td>45.5</td></tr></table>
76
+
77
+ Table 1: In-context performance obtained using various perturbed explanations on three datasets. Perturbed explanations achieve inferior performance than complete ones, but many of the perturbed explanations still grant performance gains over standard prompting.
78
+
79
+ LLMs can implicitly infer the intermediate states. The second way is to replace a state $s_i$ with an incorrect one, which tests whether LLMs can recover the correct computation from corrupted traces.
80
+
81
+ Construction of Perturbed Explanations We carefully design the way to mask out the intermediate states. We experiment with various choices of masks in our preliminary experiments. We do not observe large variance caused by different masks, and we choose to use empty string which leads to less performance degradation in general, as our goal here is to probe LLMs' maximum capabilities in recovering the reasoning process from perturbed explanations. More details on the preliminary experiments on choosing masks can be found in Appendix B. When constructing incorrect explanations, we also experiment with different sets of random values used to substitute the correct ones. Furthermore, we also include complete random explanations (taken from other exemplars), which replace the whole gold traces with incorrect ones.
82
+
83
+ Results Table 1 shows the results obtained using prompts with various perturbations on the three tasks. First, LMs are indeed relying on the actual computation traces. Perturbing the traces of the explanations will lead to performance degradation in various degrees on all these three tasks for OPT, davinci, and text-davinci-001. text-davinci-002 does not exhibit performance degradation when being prompted with incomplete explanations on the simple tasks, LETCAT and COINFLIP: when the trace is straightforward, a powerful enough LLM is able to "shortcut" some particular steps. While for the more challenging tasks, i.e., GSM, text-002 is also affected by perturbations in explanations. Nonetheless, LLMs can still benefit from partially complete or partially correct explanations and outperform standard prompting without using explanations. In particular, on
84
+
85
+ the LETCAT task, even completely irrelevant random explanations can be beneficial, although they lag gold explanations. Overall, incorrect and incomplete or even totally irrelevant explanations are able to elicit reasoning, but LLMs do rely on gold explanations to work well.
86
+
87
+ # 3.2 Is Natural Language Necessary?
88
+
89
+ Next, we question whether the natural language (NL) is really necessary and test whether LLMs can infer the reasoning steps from the computation traces alone. We perturb gold explanations by not wrapping computation traces with natural language transformation $L$ , as shown in the examples from Figure 2, and only retain the traces.
90
+
91
+ Results We show the performance obtained by using these prompts in Table 1. Natural language also plays an essential role in making effective explanations. Removing the NL leads to substantially worse performance. On LETCAT, the accuracy of OPT, and davinci drops by more than 20, respectively, compared to using gold explanations. On GSM, removing NL consistently leads to performance degradation. Meanwhile, including intermediate states without NL can still improve the performance compared to not using any explanations.
92
+
93
+ # 3.3 Discussion
94
+
95
+ As suggested in the experimental results in Section 3.1 and Section 3.2, LLMs do generally follow the explanations in the prompts. Both concrete computation traces and natural language contribute to making effective explanations for ICL. Perturbing certain parts of the explanations will accordingly result in performance degradation, but partial explanations are still beneficial to LMs.
96
+
97
+ By contrast, recent work shows LLMs are not sensitive to perturbations on the ground-truth input-label mapping in the standard prompting paradigm that does not use explanations (Min et al., 2022c).
98
+
99
+ Our work shows that LLMs are sensitive to perturbations in the input-explanation mapping and other more subtle perturbations in the explanations. Using explanations in prompts is a promising way to guide LLMs in learning a new task via ICL.
100
+
101
+ # 4 What Makes A Good Exemplar Set?
102
+
103
+ Our probing experiments have established how the general factors, computation trace and natural language, impact explanations' effectiveness in ICL. We now study how a set of exemplars, as a whole, functions together in solving a particular test query. We study this problem from two angles, the interplay between exemplars and the interplay between the query and the exemplars.
104
+
105
+ # 4.1 Exemplar-Exemplar Interplay
106
+
107
+ As in Section 3, LLMs can learn to follow the reasoning processes as specified in exemplars. As reasoning processes can be composed, we hypothesize that LLMs might also be able to fuse the reasoning processes of different exemplars together to solve a test query. We design a set of probing experiments that successfully verify this hypothesis.
108
+
109
+ Experiment Design At the abstract level, we compare the performance of LLMs when being prompted with three sets of exemplars. The first and second set of exemplars each focuses on a particular part of the reasoning process, and these two parts are disjoint. That is, for a computation trace $s_1, \ldots, s_n$ , the first and second set contain exemplars where $s_i$ and $s_j$ are perturbed, and $i \neq j$ . The third set of exemplars includes the mixture from the first and second sets. We test the ICL performance of the prompts constructed from these three types of exemplar sets on the test set that requires combining two types of reasoning. If the third type gives superior performance than the first two types, that means LLMs can pick up the disjoint reasoning and fuse them in-context.
110
+
111
+ To better illustrate such a hypothesis, we give a concrete example as follows. We have introduced two different types of masked explanations in Figure 2 for LETCAT, where the first type masks the last letter extraction part, and the second type masks the letter concatenation part. These two different masked explanations specify two steps of the reasoning process needed; combining these two steps will yield the complete reasoning steps needed for solving this task. We test whether LLMs can combine these two reasoning steps
112
+
113
+ <table><tr><td>Add Only</td><td>Q: Marion received 20 more turtles than Mia at the animal rescue center.
114
+ If Mia received 40 turtles, how many turtles did they receive together?
115
+ A: Since Marion received 20 more turtles than Mia, she had 20 + 40 = 60 turtles. The two received 60 + 40 = 100 turtles. The answer is 100.</td></tr><tr><td>Mul Only</td><td>Q: Super Clean Car Wash Company cleans 80 cars per day. They make $5 per car washed. How much money will they make in 5 days?
116
+ A: Each day they will make 80 * $5 = $400. They will make $400 * 5 = $2000 in 5 days. The answer is 2000.</td></tr><tr><td>Add &amp; Mul</td><td>Q: Peter purchased 20 popsicles at $0.25 each. He also purchased 4 ice cream bars at $0.50 each. How much did he pay in total in dollars?
117
+ A: The popsicles cost 0.25 * 20 = 5 dollars. The ice cream bars cost 0.5 * 4 = 2 dollars. He paid 5 + 2 = 7 dollars. The answer is 7.</td></tr></table>
118
+
119
+ Figure 3: Examples of GSM data points that involve only addition operators, only multiplication operators, and both of them at the same time. We note that Add & Mul are only used at the test time.
120
+
121
+ in-context if being prompted with a mixture of these two corresponding types of masked prompts.
122
+
123
+ For GSM, we use a more organic way to partition the reasoning process. We separate the reasoning skills needed for a test query based on the operators (addition and multiplication) that are used in the steps. Concretely, we filter the GSM dataset by looking at the provided explanations paired with examples, and obtain disjoint sets that 1) only involves addition operators in the explanation 2) only involves multiplication operators in the explanation (See Figure 3 for examples). Next, we test the performance on a test set consisting of examples that require both operators at the same time (Add and Mul in Figure 3). This forms a test-bed for investigating whether LLMs can better learn to solve problems where both operators are present at the same time while being prompted with the mixture of these two operators, even if no explicit combinations are shown in the prompts.
124
+
125
+ Setup We experiment on the same three datasets as used in Section 3. On LETCAT and COINFLIP, we test whether LLMs can combine the reasoning steps specified in two different types of masked explanations; on GSM, we test whether LLMs can compose addition and multiplication. The mixture type prompts include half of the exemplars from the first type and second type which bear different reasoning. For each setting of GSM, we experiment with 4 different sets of randomly drawn exemplars and report the average. More details about the setting can be found in Appendix C.
126
+
127
+ Results As in Table 2, on LETCAT, the prompts with mixed explanations largely surpass Mask1, and outperform Mask2 by 6.0, 7.0, and 12.0 on OPT, davinci, text-davinci-001, respectively. Par
128
+
129
+ <table><tr><td></td><td></td><td>OPT</td><td>davinci</td><td>txt-01</td><td>txt-02</td></tr><tr><td rowspan="3">LETCAT</td><td>Mask1</td><td>11.0</td><td>16.0</td><td>21.5</td><td>100.</td></tr><tr><td>Mask2</td><td>32.5</td><td>49.5</td><td>68.0</td><td>100.</td></tr><tr><td>Mixture</td><td>37.0</td><td>56.5</td><td>82.0</td><td>100.</td></tr><tr><td rowspan="3">COIN</td><td>Mask1</td><td>71.0</td><td>88.0</td><td>61.5</td><td>100.</td></tr><tr><td>Mask2</td><td>84.0</td><td>91.5</td><td>99.0</td><td>100.</td></tr><tr><td>Mixture</td><td>93.5</td><td>91.0</td><td>100.</td><td>100.</td></tr><tr><td rowspan="3">GSM</td><td>AddOnly</td><td>6.8</td><td>13.5</td><td>14.1</td><td>50.3</td></tr><tr><td>MulOnly</td><td>4.7</td><td>17.2</td><td>16.7</td><td>50.1</td></tr><tr><td>Mixture</td><td>7.0</td><td>18.9</td><td>18.2</td><td>52.0</td></tr></table>
130
+
131
+ Table 2: The accuracy of prompting LLMs with exemplars focusing on single parts of the reasoning or a mixture of them. LLMs achieve better performance when being prompted with exemplars covering multiple aspects of the reasoning process.
132
+
133
+ ticularly, the mixture prompts is able to perform roughly on par with the complete prompt (Gold-Expl in Table 1) for LETCAT on davinci, and text-001. On COINFLIP, using mixture prompts also leads to improvements on OPT.
134
+
135
+ On the realistic GSM dataset, prompting text-davinci-002 with only addition or multiplication exemplars leads to a performance of 50.3 and 50.1, respectively, whereas prompting with a mixture of these two types of exemplars achieves a better performance of 52.0. On davinci, and text-001, addition exemplars give worse performance than multiplication exemplars. Nevertheless, including these inferior addition exemplars in prompts together with multiplication exemplars still leads to better performance, as they can complement the reasoning. In general, results on three datasets suggest LLMs are able to fuse the reasoning process that is spread over different exemplars. Therefore, we can expect the exemplars to be able to complement each other and collaborate together to solve the reasoning needed in the test query.
136
+
137
+ # 4.2 Query-Exemplar Interplay
138
+
139
+ Next, we explore how the interplay between the query and exemplars impacts the ICL performance. Recent work has studied how to make good in-context exemplar sets for a given query in the standard prompting setting: choosing nearest neighbors that are more similar to the query leads to better performance (Liu et al., 2021; Shin et al., 2021). Our work investigates how choosing relevant exemplars impact the performance in the setting when using explanations in prompts. We compare the performance obtained by constructing prompts using nearest neighbors against using randomly selected
140
+
141
+ exemplars. The results verify that choosing the nearest neighbors is also beneficial in this setting.
142
+
143
+ Similarity Measurements We test three different ways to measure the similarity $S(q, q_i)$ between a test query $q$ and an exemplar $q_i$ . 1) CLS-based: Liu et al. (2021) use smaller LMs (e.g., BERT (Devlin et al., 2019)) to extract the CLS embedding of the input $q$ and $q_i$ and then use cosine similarity to score the embedding pairs, i.e., $\cos(\mathrm{CLS}(q), \mathrm{CLS}(q_i))$ . 2) LM-based: the similarity is given as the probability of generating the query when the language model is conditioned on the exemplar, i.e., $LM(q \mid q_i)$ (Shin et al., 2021; Rubin et al., 2022). 3) BERTScore: we also experiment with using BERTScore (Zhang et al., 2020) as the similarity score, in addition to the two approaches that are commonly used in prior work.
144
+
145
+ It is worthwhile to note that measuring similarity using large LLMs is expensive. As it requires querying a large number of query-exemplar pairs. $^2$
146
+
147
+ Setup We experiment on three realistic datasets, GSM, ECQA, and E-SNLI. leaving out synthetic tasks which feature formulaic explanations that are all similar to each other. We set the number of exemplars to be 8 for all three test datasets. We compare the performance of selecting nearest exemplars against that of selecting random exemplars.
148
+
149
+ Given the intensive cost of querying LLMs, we set the train exemplars pool size to be 512, and allocate computational resources to experimenting over 4 sets of randomly selected 512 exemplar pools to alleviate the influence of randomness. We focus on more capable LLMs, including code-davinci-001, and code-davinci-002, and text-davinci-002, leaving out OPT and davinci which have inferior performance. We note that we do not use text-002 to measure similarity, owing to its high cost. Rather, we take the similarity scores computed by code-002 and use those for text-002. So the performance of text-002 when using the LM-based measure might be suboptimal given the discrepancy.
150
+
151
+ Results As shown in Table 3, choosing relevant exemplars is also useful in the setting that
152
+
153
+ <table><tr><td></td><td colspan="4">code-davinci-001</td><td colspan="4">code-davinci-002</td><td colspan="4">text-davinci-002</td></tr><tr><td></td><td>GSM</td><td>ECQA</td><td>E-SNLI</td><td>Avg</td><td>GSM</td><td>ECQA</td><td>E-SNLI</td><td>Avg</td><td>GSM</td><td>ECQA</td><td>E-SNLI</td><td>Avg</td></tr><tr><td>Random</td><td>16.3</td><td>53.6</td><td>47.2</td><td>39.0</td><td>64.6</td><td>74.7</td><td>74.9</td><td>71.3</td><td>48.8</td><td>71.9</td><td>75.1</td><td>65.3</td></tr><tr><td>CLS</td><td>16.5</td><td>55.0</td><td>54.1</td><td>41.8</td><td>65.4</td><td>74.9</td><td>74.8</td><td>71.7</td><td>50.4</td><td>72.1</td><td>77.4</td><td>66.6</td></tr><tr><td>LLM</td><td>18.5</td><td>56.0</td><td>57.4</td><td>43.9</td><td>65.8</td><td>76.8</td><td>81.6</td><td>74.7</td><td>52.0*</td><td>74.3*</td><td>83.9*</td><td>70.0</td></tr><tr><td>BERTScore</td><td>18.5</td><td>54.6</td><td>53.7</td><td>42.3</td><td>66.7</td><td>75.9</td><td>75.6</td><td>72.8</td><td>51.0</td><td>72.8</td><td>78.7</td><td>67.6</td></tr></table>
154
+
155
+ Table 3: Comparison between the performance obtained by choosing relevant exemplars using CLS embedding, LM, or BERTScore. Avg denotes the average across the three datasets. Selecting relevant exemplars leads to performance improvements, especially when using LLMs themselves to measure the similarity. Using Bertscore also consistently improves the performance across all tasks, even surpassing LM-based scores on GSM. We note that the results on text-davinci-002 use the LM-based scores provided by code-davinci-002 (denoted by \*).
156
+
157
+ includes explanations in prompts. Using the LM-based similarity measurements brings performance improvements across all three datasets, and has the most significant impacts on E-SNLI, though this is achieved with non-negligible computation cost. Using CLS-embeddings for selecting exemplars mildly improves the performance on GSM but does not result in any performance gains on ECQA. The limited improvements can be attributed to the size of the exemplar pools that we use. In our experiments, the size is 512, which is significantly smaller than that in Liu et al. (2021) (typically tens of thousands of exemplars). Nevertheless, this size is large enough for the LM-based method and BERTScore to take advantage of.
158
+
159
+ In addition, the results suggest that choosing relevant exemplars using BERTScore is also able to improve the performance across all datasets. Specifically, BERTScore-based exemplar selection achieves an accuracy of 66.7 on GSM using code-002, which even surpasses the performance of LM-based exemplar selection. While using BERTScore lags the LM-based on ECQA and E-SNLI, it still outperforms choosing random exemplars or CLS-based exemplar selection. Overall, using BERTScore to select the closest exemplars can lead to credible performance improvements while does not require heavy overheads caused by using LLMs to score query-exemplar pairs.
160
+
161
+ # 5 MMR for Exemplar Selection
162
+
163
+ We have established that emplar-exemplar interplay together with the query-exemplar interplay impacts the performance of using explanations in ICL. This leads us to rethink how to select good exemplars for a given query. Based on our prior analysis on the effects of complementarity and relevance in Section 4.1, we argue that a good set should consist of relevant exemplars that collaboratively cover the reasoning skills required for solving the query.
164
+
165
+ # Algorithm 1 MMR-Based Exemplar Selection
166
+
167
+ 1: procedure MMRSELECT $(D,q,k,\mathcal{S})$ input: exemplar pool $D = \{q_{1}\dots q_{n}\}$ , test query $q$ , number of shots $m$ and similarity measurement $\mathcal{S}$ output: selected exemplars $T = \{q_{1}\dots q_{m}\}$
168
+ 2: $\mathbb{S} := [[S(q_i, q_j)]]_{q_i, q_j \in D}$ ; $\triangleright$ the pairwise similarity between exemplars in $D$
169
+ 3: $\mathbb{Q} := [S(q, q_i)]_{q_i \in D}$ ; $\triangleright$ the similarity between query and exemplars in $T$
170
+ 4: $T\coloneqq \{\}$
171
+ 5: while $|T| < k$ do
172
+ 6: $\hat{q} := \operatorname{Equation}(1)$ ; $\triangleright$ get the next exemplar based on Eq (1)
173
+ 7: $T.\mathrm{add}(\hat{q})$
174
+ 8: return $T$ ;
175
+
176
+ The prominent paradigm, i.e., NN-based exemplar selection strategy, only considers the relevance between the exemplars and the query. Yet, selecting nearest neighbors could result in mostly similar exemplar sets, which can possibly limit collaboration. We argue that complementarity should also be considered in the exemplar selection process, so that the selected set could have a higher chance to illustrate the required reasoning processes.
177
+
178
+ In practice, it is tricky to decide whether the reasoning underlying a set of exemplars is complementary categorically. We therefore use diversity as a proxy, since a set of less similar exemplars is arguably more likely to exhibit complementarity. To that end, we propose a maximal-marginal-relevance (Carbonell and Goldstein, 1998) (MMR) based exemplar selection strategy. The idea is to select exemplars that are relevant to the query while being diverse enough to be collaborative. Suppose for the given query $q$ , we have already selected a set of exemplars $T = \{q_i\}$ , then we will pick up the next exemplar according to:
179
+
180
+ $$
181
+ \underset {q _ {j} \in D / T} {\arg \max } \lambda \mathcal {S} (q, q _ {j}) - (1 - \lambda) \max _ {q _ {i} \in T} \mathcal {S} (q _ {j}, q _ {i}) \tag {1}
182
+ $$
183
+
184
+ where $S$ denotes similarity and $\lambda$ is a parameter
185
+
186
+ <table><tr><td></td><td colspan="4">code-davinci-001</td><td colspan="4">code-davinci-002</td><td colspan="4">text-davinci-002</td></tr><tr><td></td><td>GSM</td><td>ECQA</td><td>E-SNLI</td><td>Avg</td><td>GSM</td><td>ECQA</td><td>E-SNLI</td><td>Avg</td><td>GSM</td><td>ECQA</td><td>E-SNLI</td><td>Avg</td></tr><tr><td>LLM NN</td><td>18.5</td><td>56.0</td><td>57.4</td><td>43.9</td><td>65.8</td><td>76.8</td><td>81.6</td><td>74.7</td><td>52.0*</td><td>74.3*</td><td>83.9*</td><td>70.0*</td></tr><tr><td>LLM MMR</td><td>18.7</td><td>57.2</td><td>59.5</td><td>45.1</td><td>67.0</td><td>77.4</td><td>81.5</td><td>75.3</td><td>52.8*</td><td>75.3*</td><td>83.7*</td><td>70.6*</td></tr><tr><td>BERTScore NN</td><td>18.5</td><td>54.6</td><td>53.7</td><td>42.3</td><td>66.7</td><td>75.9</td><td>75.6</td><td>72.8</td><td>51.0</td><td>72.8</td><td>78.7</td><td>67.6</td></tr><tr><td>BERTScore MMR</td><td>19.4</td><td>56.3</td><td>53.9</td><td>43.2</td><td>68.2</td><td>78.1</td><td>77.8</td><td>74.7</td><td>52.0</td><td>73.7</td><td>78.2</td><td>68.0</td></tr></table>
187
+
188
+ that controls the balance between relevance and diversity. We rely on MMR to iteratively select exemplars from the exemplar pool, as shown in Algorithm (1). Note that this requires scoring all exemplar pairs within the pool. To run inference over $m$ queries using a pool of $n$ exemplars, MMR requires to score the similarity of $nn + mn$ pairs.
189
+
190
+ Results We apply the MMR strategy on top of LM-based method and BERTScore, leaving out the CLS-based approach which has inferior performance. The experimental setup largely follows Section 4.2, please refer to Appendix D for details.
191
+
192
+ We show the results in Table 3. In the setting that uses BERTScore, MMR-based selection successfully improves the performance for almost all LLMs for all datasets, compared to using nearest neighbors. On LM-based method, MMR is also able to improve the performance for GSM and ECQA across all LMs, and only marginally under-performs NN for E-SNLI.
193
+
194
+ In particular, using the MMR-based selection strategy achieves an accuracy of 68.2 and 78.1 on GSM and ECQA respectively, even outperforming LM-based method that requires a large number of queries to the LM. This suggests that BERTScore and MMR as a combination are able to construct effective explanation-infused prompts that approach that of actually querying LLMs. Furthermore, the fact that LLMs achieve better performance from the exemplars selected using our MMR-based method is congruent with our analysis in the previous section: LLMs can exploit complementary explanations.
195
+
196
+ # 5.1 Analysis
197
+
198
+ Impacts of the Trade-off Between Relevance and Diversity We conduct an analysis to investigate how the trade-off between diversity and relevance impacts the performance. We test the performance under varying $\lambda$ on code-davinci-002 with BERTScore as the similarity metric. We note
199
+
200
+ Table 4: Results of using MMR-based exemplar selection strategy on three datasets (AVG denotes the average). Using MMR generally selects better exemplars on all datasets, using either LM-based method or BERTScore. The results on text-davinci-002 use the LM-based scores provided by code-davinci-002 (denoted by \*).
201
+
202
+ <table><tr><td>λ</td><td>GSM</td><td>ECQA</td><td>E-SNLI</td></tr><tr><td>1.0</td><td>66.7</td><td>75.9</td><td>75.6</td></tr><tr><td>0.8</td><td>66.9</td><td>75.6</td><td>76.6</td></tr><tr><td>0.6</td><td>68.2</td><td>77.9</td><td>78.1</td></tr><tr><td>0.5</td><td>68.2</td><td>78.1</td><td>77.8</td></tr><tr><td>0.4</td><td>66.8</td><td>75.7</td><td>76.0</td></tr><tr><td>0.2</td><td>65.9</td><td>75.9</td><td>74.9</td></tr><tr><td>0.0</td><td>63.5</td><td>75.5</td><td>75.5</td></tr></table>
203
+
204
+ Table 5: The performance of MMR exemplar selection strategy with varying $\lambda$ .
205
+
206
+ <table><tr><td></td><td>GSM</td><td>ECQA</td><td>E-SNLI</td></tr><tr><td>Random</td><td>65.41.3</td><td>74.10.5</td><td>74.01.2</td></tr><tr><td>NN</td><td>68.60.7</td><td>75.40.5</td><td>75.91.1</td></tr><tr><td>MMR</td><td>69.41.0</td><td>77.80.7</td><td>77.80.9</td></tr></table>
207
+
208
+ Table 6: Meanvariance of the performance across 5 random order. Using better exemplars has more significant impact than varying exemplar order.
209
+
210
+ this is done on one pool of training exemplars. Generally, when $\lambda$ is large (0.8), the performance is similar to NN ( $\lambda = 1.0$ ). MMR typically works well with a $\lambda$ of 0.6 or 0.5 (roughly balancing the two terms). The performance starts to degrade while decreasing $\lambda$ from 0.4 to 0, as the selected exemplars are not relevant enough.
211
+
212
+ Sensitivity to Different Order We have shown choosing exemplar sets using MMR can lead to better ICL performance, which could be affected by other confounders such as the order of exemplars. We conduct experiments to show that using better exemplar sets has more impact than reordering exemplars. Specifically, we experiment with 5 random orders of the exemplar sets for each query and report averaged performance and variance of the accuracy. We note this is done on one pool of training exemplars for each dataset using code-davinci-002 with BERTScore as the metric. As shown in Table 6, MMR is still substantially better than NN and Random under varying order.
213
+
214
+ # 6 Related Work
215
+
216
+ The growing scale of pretrained language models has granted them the ability to learn a new task from a few examples via in-context learning (Brown et al., 2020). Various approaches have been proposed to improve ICL in recent years, including meta-tuning LLMs (Min et al., 2022b; Chen et al., 2022), calibration of ICL (Zhao et al., 2021; Han et al., 2022), automatically determining the orders of exemplars (Lu et al., 2022), and alternative formulation of ICL based on PMI (Holtzman et al., 2021) or noisy-channel (Min et al., 2022a). More closely related to our work, prior research also contributes to better understanding ICL as Bayesian inference (Xie et al., 2022) or experiments that study what makes in-context learning works (Min et al., 2022c). Our work focuses on understanding the usage of explanations in ICL, as opposed to standard prompting where the LLMs are presented with only input-output pairs.
217
+
218
+ In particular, our work is connected to prior research on effective ways for selecting in-context exemplars (Shin et al., 2021; Liu et al., 2021; Rubin et al., 2022; Qiu et al., 2022; Su et al., 2022). While past work primarily focuses on the effectiveness of using relevant examples in the standard prompting paradigm, we examine the benefits of the complementary exemplars when prompting with explanations. We also propose an MMR-based strategy, which is more effective than the NN-based approach on various LLMs across three tasks.
219
+
220
+ Lastly, including textual explanations in prompts has exhibited remarkable benefits for LLMs to learn various reasoning tasks. Using Scratchpad (Nye et al., 2021) or Chain-of-Thought (Wei et al., 2022) significantly boosts ICL performance on multi-step reasoning tasks such as arithmetical reasoning and symbolic reasoning. Using free-text rationales is also helpful for more unstructured tasks like QA and NLI (Ye and Durrett, 2022; Wang et al., 2022a). While recent work largely aims to find better ways to prompt LLMs with explanations (Kojima et al., 2022; Zhou et al., 2022a; Press et al., 2022; Zhou et al., 2022b), we focus on analyzing the role of explanations in ICL and what makes effective explanations.
221
+
222
+ # 7 Conclusion
223
+
224
+ We have presented a series of studies on what makes effective explanations for in-context learning. We first investigated the impacts of compu
225
+
226
+ tation traces and natural language in explanations. Through a set of probing experiments, we found that LLMs rely on both of them to effectively learn from explanations. We further examined the interplay among exemplars within prompts and the interplay between exemplars and the query. Our analysis uncovered the benefits of constructing prompts by selecting complementary explanations that are relevant to the query. Lastly, we proposed an MMR-based exemplar selection strategy, which successfully improved the end task performance across three important datasets.
227
+
228
+ # 8 Limitations
229
+
230
+ The models chosen in this work are selected to represent the state-of-the-art at the time the work was conducted, and in some cases omit weaker models. For example, our exemplar selection experiments do not cover those LLMs trained with vanilla language models objectives, namely OPT and davinci, as we find their performance substantially lags code-davinci-002 and text-davinci-002. For the same reason, we only consider the substantially large language models, omitting LLMs of smaller scales (e.g., text-curie-001). Running experiments using smaller LMs or vanilla LMs may provide insights into how scale or instruction finetuning impacts the ability of LMs in learning from explanations, but our investigation mainly focus on selecting exemplars to achieve the best in-context learning performance with state-of-the-art models.
231
+
232
+ In addition, certain aspects of our approach are computationally intensive, particularly using LM-based similarity scores. However, we think this is still feasible in practice: if practitioners are deploying a real-world system, investing more computation upfront to improve its performance is likely in reach for those deploying LLMs in practice.
233
+
234
+ Finally, our experiments consider a certain subset of NLP reasoning tasks written in English. While we believe the results here transfer to other tasks in this vein which have been frequently used to evaluate LLMs, it is unknown how well they handle other languages, dialects, or genres of text such as social media data.
235
+
236
+ # Acknowledgments
237
+
238
+ Thanks to anonymous reviewers for their helpful feedback and colleagues at Meta AI for helpful discussions. This work was partially supported by NSF CAREER Award IIS-2145280 and the NSF
239
+
240
+ AI Institute for Foundations of Machine Learning (IFML).
241
+
242
+ # References
243
+
244
+ Shourya Aggarwal, Divyanshu Mandowara, Vishwajeet Agrawal, Dinesh Khandelwal, Parag Singla, and Dinesh Garg. 2021. *Explanations for Common-senseQA: New Dataset and Models*. In *Proceedings of the Annual Conference of the Association for Computational Linguistics (ACL)*.
245
+ Stephen H. Bach, Victor Sanh, Zheng-Xin Yong, Albert Webson, Colin Raffel, Nihal V. Nayak, Abheesht Sharma, Taewoon Kim, M Saiful Bari, Thibault Fevry, Zaid Alyafeai, Manan Dey, Andrea Santilli, Zhiqing Sun, Srulik Ben-David, Canwen Xu, Gunjan Chhablani, Han Wang, Jason Alan Fries, Maged S. Al-shaibani, Shanya Sharma, Urmish Thakker, Khalid Almubarak, Xiangru Tang, Xiangru Tang, Mike Tian-Jian Jiang, and Alexander M. Rush. 2022. PromptSource: An Integrated Development Environment and Repository for Natural Language Prompts. arXiv, abs/2202.01279.
246
+ Tom Brown, Benjamin Mann, Nick Ryder, Melanie Subbiah, Jared D Kaplan, Prafulla Dhariwal, Arvind Neelakantan, Pranav Shyam, Girish Sastry, Amanda Askell, Sandhini Agarwal, Ariel Herbert-Voss, Gretchen Krueger, Tom Henighan, Rewon Child, Aditya Ramesh, Daniel Ziegler, Jeffrey Wu, Clemens Winter, Chris Hesse, Mark Chen, Eric Sigler, Mateusz Litwin, Scott Gray, Benjamin Chess, Jack Clark, Christopher Berner, Sam McCandlish, Alec Radford, Ilya Sutskever, and Dario Amodei. 2020. Language models are few-shot learners. In Proceedings of the Conference on Advances in Neural Information Processing Systems (NeurIPS).
247
+ Oana-Maria Camburu, Tim Rocktäschel, Thomas Lukasiewicz, and Phil Blunsom. 2018. e-snli: Natural language inference with natural language explanations. In Proceedings of the Conference on Advances in Neural Information Processing Systems (NeurIPS).
248
+ Jaime Carbonell and Jade Goldstein. 1998. The Use of MMR, Diversity-Based Reranking for Reordering Documents and Producing Summaries. In Proceedings of the Annual International ACM SIGIR Conference on Research and Development in Information Retrieval (SIGIR). Association for Computing Machinery.
249
+ Mark Chen, Jerry Tworek, Heewoo Jun, Qiming Yuan, Henrique Ponde, Jared Kaplan, Harrison Edwards, Yura Burda, Nicholas Joseph, Greg Brockman, Alex Ray, Raul Puri, Gretchen Krueger, Michael Petrov, Heidi Khlaaf, Girish Sastry, Pamela Mishkin, Brooke Chan, Scott Gray, Nick Ryder, Mikhail Pavlov, Alethea Power, Lukasz Kaiser, Mohammad Bavarian, Clemens Winter, Philippe Tillet, Felipe Petroski Such, David W. Cummings, Matthias Plappert, Fotios Chantzis, Elizabeth Barnes, Ariel
250
+
251
+ Herbert-Voss, William H. Guss, Alex Nichol, Igor Babuschkin, S. Arun Balaji, Shantanu Jain, Andrew Carr, Jan Leike, Joshua Achiam, Vedant Misra, Evan Morikawa, Alec Radford, Matthew M. Knight, Miles Brundage, Mira Murati, Katie Mayer, Peter Welinder, Bob McGrew, Dario Amodei, Sam McCandlish, Ilya Sutskever, and Wojciech Zaremba. 2021. Evaluating large language models trained on code. *ArXiv*, abs/2107.03374.
252
+ Yanda Chen, Ruiqi Zhong, Sheng Zha, George Karypis, and He He. 2022. Meta-learning via language model in-context tuning. In Proceedings of the 60th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers).
253
+ Aakanksha Chowdhery, Sharan Narang, Jacob Devlin, Maarten Bosma, Gaurav Mishra, Adam Roberts, Paul Barham, Hyung Won Chung, Charles Sutton, Sebastian Gehrmann, Parker Schuh, Kensen Shi, Sasha Tsvyashchenko, Joshua Maynez, Abhishek Baindoor Rao, Parker Barnes, Yi Tay, Noam M. Shazeer, Vinodkumar Prabhakaran, Emily Reif, Nan Du, Benton C. Hutchinson, Reiner Pope, James Bradbury, Jacob Austin, Michael Isard, Guy Gur-Ari, Pengcheng Yin, Toju Duke, Anselm Levskaya, Sanjay Ghemawat, Sunipa Dev, Henryk Michalewski, Xavier Garcia, Vedant Misra, Kevin Robinson, Liam Fedus, Denny Zhou, Daphne Ippolito, David Luan, Hyeontaek Lim, Barret Zoph, Alexander Spiridonov, Ryan Sepassi, David Dohan, Shivani Agrawal, Mark Omernick, Andrew M. Dai, Thanumalayan Sankaranarayana Pillai, Marie Pellat, Aitor Lewkowycz, Erica Oliveira Moreira, Rewon Child, Oleksandr Polozov, Katherine Lee, Zongwei Zhou, Xuezhi Wang, Brennan Saeta, Mark Diaz, Orhan Firat, Michele Catasta, Jason Wei, Kathleen S. Meier-Hellstern, Douglas Eck, Jeff Dean, Slav Petrov, and Noah Fiedel. 2022. Palm: Scaling language modeling with pathways. ArXiv, abs/2204.02311.
254
+ Karl Cobbe, Vineet Kosaraju, Mohammad Bavarian, Mark Chen, Heewoo Jun, Lukasz Kaiser, Matthias Plappert, Jerry Tworek, Jacob Hilton, Reiichiro Nakano, Christopher Hesse, and John Schulman. 2021. Training verifiers to solve math word problems. arXiv preprint arXiv:2110.14168.
255
+ 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).
256
+ Zhi Han, Yaru Hao, Li Dong, and Furu Wei. 2022. Prototypical calibration for few-shot learning of language models. ArXiv, abs/2205.10183.
257
+ Ari Holtzman, Peter West, Vered Shwartz, Yejin Choi, and Luke Zettlemoyer. 2021. Surface form competition: Why the highest probability answer isn't always right. In Proceedings of the 2021 Conference on Empirical Methods in Natural Language Processing.
258
+
259
+ Jaehun Jung, Lianhui Qin, Sean Welleck, Faeze Brahman, Chandra Bhagavatula, Ronan Le Bras, and Yejin Choi. 2022. Maieutic prompting: Logically consistent reasoning with recursive explanations. In Proceedings of the Conference on Empirical Methods in Natural Language Processing (EMNLP).
260
+ Takeshi Kojima, Shixiang Shane Gu, Machel Reid, Yutaka Matsuo, and Yusuke Iwasawa. 2022. Large language models are zero-shot reasoners. ArXiv, abs/2205.11916.
261
+ Jiachang Liu, Dinghan Shen, Yizhe Zhang, Bill Dolan, Lawrence Carin, and Weizhu Chen. 2021. What makes good in-context examples for gpt-3? ArXiv, abs/2101.06804.
262
+ Yao Lu, Max Bartolo, Alastair Moore, Sebastian Riedel, and Pontus Stenetorp. 2022. Fantastically ordered prompts and where to find them: Overcoming few-shot prompt order sensitivity. In Proceedings of the 60th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers).
263
+ Aman Madaan, Shuyan Zhou, Uri Alon, Yiming Yang, and Graham Neubig. 2022. Language models of code are few-shot commonsense learners. In Proceedings of the Conference on Empirical Methods in Natural Language Processing (EMNLP).
264
+ Sewon Min, Mike Lewis, Hannaneh Hajishirzi, and Luke Zettlemoyer. 2022a. Noisy channel language model prompting for few-shot text classification. In Proceedings of the 60th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers).
265
+ Sewon Min, Mike Lewis, Luke Zettlemoyer, and Hannaneh Hajishirzi. 2022b. MetaICL: Learning to learn in context. In Proceedings of the 2022 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies.
266
+ Sewon Min, Xinxi Lyu, Ari Holtzman, Mikel Artetxe, Mike Lewis, Hannaneh Hajishirzi, and Luke Zettlemoyer. 2022c. Rethinking the role of demonstrations: What makes in-context learning work? In Proceedings of the Conference on Empirical Methods in Natural Language Processing (EMNLP).
267
+ Maxwell Nye, Anders Johan Andreassen, Guy Gur-Ari, Henryk Michalewski, Jacob Austin, David Bieber, David Dohan, Aitor Lewkowycz, Maarten Bosma, David Luan, Charles Sutton, and Augustus Odena. 2021. Show your work: Scratchpads for intermediate computation with language models. ArXiv, abs/2112.00114.
268
+ Long Ouyang, Jeff Wu, Xu Jiang, Diogo Almeida, Carroll L. Wainwright, Pamela Mishkin, Chong Zhang, Sandhini Agarwal, Katarina Slama, Alex Ray, John Schulman, Jacob Hilton, Fraser Kelton, Luke E. Miller, Maddie Simens, Amanda Askell, Peter Welinder, Paul Francis Christiano, Jan Leike, and
269
+
270
+ Ryan J. Lowe. 2022. Training language models to follow instructions with human feedback. *ArXiv*, abs/2203.02155.
271
+ Ofir Press, Muru Zhang, Sewon Min, Ludwig Schmidt, Noah A. Smith, and Mike Lewis. 2022. Measuring and narrowing the compositionality gap in language models. ArXiv, abs/2210.03350.
272
+ Linlu Qiu, Peter Shaw, Panupong Pasupat, Tianze Shi, Jonathan Herzig, Emily Pittler, Fei Sha, and Kristina Toutanova. 2022. Evaluating the impact of model scale for compositional generalization in semantic parsing. In Proceedings of the Conference on Empirical Methods in Natural Language Processing (EMNLP).
273
+ Ohad Rubin, Jonathan Herzig, and Jonathan Berant. 2022. Learning to retrieve prompts for in-context learning. In Proceedings of the Annual Conference of the Association for Computational Linguistics (ACL).
274
+ Richard Shin, Christopher Lin, Sam Thomson, Charles Chen, Subhro Roy, Emmanouil Antonios Platanios, Adam Pauls, Dan Klein, Jason Eisner, and Benjamin Van Durme. 2021. Constrained language models yield few-shot semantic parsers. In Proceedings of the Conference on Empirical Methods in Natural Language Processing (EMNLP).
275
+ Hongjin Su, Jungo Kasai, Chen Henry Wu, Weijia Shi, Tianlu Wang, Jiayi Xin, Rui Zhang, Mari Ostendorf, Luke Zettlemoyer, Noah A Smith, et al. 2022. Selective annotation makes language models better few-shot learners. arXiv preprint arXiv:2209.01975.
276
+ Xuezhi Wang, Jason Wei, Dale Schuurmans, Quoc Le, Ed Chi, and Denny Zhou. 2022a. Rationale-augmented ensembles in language models. ArXiv, abs/2207.00747.
277
+ Xuezhi Wang, Jason Wei, Dale Schuurmans, Quoc Le, Ed Chi, and Denny Zhou. 2022b. Self-consistency improves chain of thought reasoning in language models. ArXiv, abs/2203.11171.
278
+ Jason Wei, Xuezhi Wang, Dale Schuurmans, Maarten Bosma, Ed Chi, Quoc Le, and Denny Zhou. 2022. Chain of thought prompting elicits reasoning in large language models. ArXiv, abs/2201.11903.
279
+ Sang Michael Xie, Aditi Raghunathan, Percy Liang, and Tengyu Ma. 2022. An explanation of in-context learning as implicit bayesian inference. In International Conference on Learning Representations.
280
+ Xi Ye and Greg Durrett. 2022. The unreliability of explanations in few-shot prompting for textual reasoning. In Proceedings of the Conference on Advances in Neural Information Processing Systems (NeurIPS).
281
+ 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
282
+
283
+ Wang, and Luke Zettlemoyer. 2022. OPT: Open Pre-trained Transformer Language Models. ArXiv, abs/2205.01068.
284
+ Tianyi Zhang, Varsha Kishore, Felix Wu, Kilian Q. Weinberger, and Yoav Artzi. 2020. BERTScore: Evaluating Text Generation with BERT. In Proceedings of the International Conference on Learning Representations (ICLR).
285
+ Tony Zhao, Eric Wallace, Shi Feng, Dan Klein, and Sameer Singh. 2021. Calibrate before use: Improving few-shot performance of language models. In Proceedings of the International Conference on Learning Representations (ICLR).
286
+ Denny Zhou, Nathanael Scharli, Le Hou, Jason Wei, Nathan Scales, Xuezhi Wang, Dale Schuurmans, Olivier Bousquet, Quoc Le, and Ed Chi. 2022a. Least-to-most prompting enables complex reasoning in large language models. ArXiv, abs/2205.10625.
287
+ Hattie Zhou, Azade Nova, H. Larochelle, Aaron C. Courville, Behnam Neyshabur, and Hanie Sedghi. 2022b. Teaching algorithmic reasoning via in-context learning. ArXiv, abs/2211.09066.
288
+
289
+ # A Details of the Explanations Used for LETCAT and COINFLIP on OPT
290
+
291
+ <table><tr><td rowspan="2">LETCAT</td><td>Question: Take the last letters of the words in &quot;Bill Gates&quot; and concatenate them.</td></tr><tr><td>Ours: Add space to &quot;Bill&quot; and get &quot;B i l l&quot;, the last letter is l. Add space to &quot;Gates&quot; and get &quot;G a t e s&quot;, the last letter is s. Concatenating l and s is ls. So the answer is ls.
292
+ Wei et al. (2022): The last letter of Bill is l. The last letter of Gates is s. Concatenating l and s is ls. So the answer is ls.</td></tr><tr><td rowspan="2">COINFLIP</td><td>Question: A coin is heads up. Shaunda does not flip the coin. Shalonda flips the coin. Is the coin still heads up?</td></tr><tr><td>Ours: The coin started heads up. Shaunda does not flip the coin, so it becomes heads up. Shalonda flips the coin, so it becomes tails up. So the answer is no.
293
+ Wei et al. (2022): The coin was flipped by Shalonda. So the coin was flipped 1 time, which is an odd number. The coin started heads up, so after an odd number of flips, it will be tails up. So the answer is no.</td></tr></table>
294
+
295
+ Figure 4: Examples of original chain-of-thoughts from Wei et al. (2022) and ours used for OPT.
296
+
297
+ <table><tr><td></td><td>LETCAT</td><td>COINFLIP</td></tr><tr><td>Standard</td><td>8.5</td><td>51.5</td></tr><tr><td>(Wei et al., 2022)</td><td>29.5</td><td>61.0</td></tr><tr><td>Ours</td><td>50.0</td><td>94.0</td></tr></table>
298
+
299
+ For GSM, we directly use the gold explanations provided in Wei et al. (2022). For LETCAT and COINFLIP, we take the original explanations from Wei et al. (2022) and manually engineered them, as the original ones are sub-optimal for OPT and do not lead to credible gains compared to standard prompting.
300
+
301
+ We show examples of the original explanations (chain-of-thoughts) used in Wei et al. (2022) and the explanation we adapted for OPT in Figure 4. For LETCAT, we add another step of tokenizing the two words. For COINFLIP, we change the way of decomposing the problem. As shown in Table 7, our adapted explanations lead to more substantial performance improvements over standard prompting. We use engineered explanations for the probing experiments on OPT, which allows more distinguishable performance differences. We refer readers to the supplementary materials of Wei et al. (2022) for the complete set of exemplars and explanations.
302
+
303
+ # B Details of the Choice of Masks
304
+
305
+ We conduct preliminary experiments on the LET-CAT dataset using davinci to determine the choice
306
+
307
+ Table 7: Performance of original chain-of-thoughts and our explanations used for OPT.
308
+
309
+ <table><tr><td></td><td>N/A</td><td>[mask]</td><td>?</td><td>_</td><td>Empty Str</td></tr><tr><td>Standard</td><td></td><td></td><td>8.5</td><td></td><td></td></tr><tr><td>Gold</td><td></td><td></td><td>59.0</td><td></td><td></td></tr><tr><td>Mask1</td><td>14.0</td><td>14.0</td><td>15.0</td><td>13.5</td><td>16.0</td></tr><tr><td>Mask2</td><td>48.0</td><td>48.0</td><td>48.5</td><td>43.0</td><td>49.5</td></tr></table>
310
+
311
+ Table 8: Results of using different mask tokens for LETCAT on OPT.
312
+
313
+ of masks. We tested masking with "N/A", "[mask]", "?", "_", and empty string. The results obtained using different masks are shown in Table 8. Whatever masks are used, LLMs see performance degradation compared to gold explanations, but can still learn from partially complete explanations. We use an empty string as the mask token across all datasets, which leads to the least performance degradation.
314
+
315
+ # C Details of the Setup for Exemplar-Exemplar Interplay Experiments
316
+
317
+ For LETCAT, we experiment with 4 exemplars where the first steps are perturbed, 4 exemplars where the second steps are perturbed and a mixture of 2 from each of these explanations. For COINFLIP, we use 8 exemplars and follow the same setting. For the mixture type of prompts, we experiment with 4 random combinations for mixing two types of masked exemplars.
318
+
319
+ For GSM, we use three types of prompts constructed by 1) 8 addition-only exemplars, 2) 8 multiplication-only exemplars, and 3) a mixture of 4 exemplars from each of the two types. We note that unlike what's in LETCAT and COINFLIP which uses identical exemplars perturbed in different ways, the exemplars in the three sets, for GSM are drawn from different pools. We experiment with 4 different sets of randomly drawn examples and report the average in the setting. We note the test set for GSM that requires composing addition and multiplication contains 1,150 data points in total.
320
+
321
+ # D Details of the Setup for MMR-Based Exemplar Selection Experiments
322
+
323
+ We evaluate the effectiveness of our MMR-based exemplar selection strategy on the three realistic datasets used in Section 4.2. Also, the experiments on text-davinci-002 using the LM-based method rely on similarity scores obtained
324
+
325
+ from code-davinci-002, given the prohibitive cost needed to run these experiments. We do not tune $\lambda$ in our experiments. $\lambda$ is set to roughly balance the variance among the two terms in Equation (1), which is 0.5 across all datasets and methods, except for using the LM-based method on code-davinci-001. For this particular setting, we set lambda to be $\frac{2}{3}$ , as we observe higher variance among the diversity with exemplars.
326
+
327
+ # E Details of Prompts for Real-world Datasets
328
+
329
+ We showcase how we format the prompts for GSM, ECQA, and E-SNLI in Figure 5, with one exemplar for each of the three datasets. We note the prompt format for E-SNLI is taken from PromptSource (Bach et al., 2022).
330
+
331
+ # GSM
332
+
333
+ Q: Leah had 32 chocolates and her sister had 42. If they ate 35, how many pieces do they have left in total?
334
+
335
+ A: Leah had 32 chocolates and Leah's sister had 42. That means there were originally $32 + 42 = 74$ chocolates. 35 have been eaten. So in total they still have $74 - 35 = 39$ chocolates. The answer is 39.
336
+
337
+ # ECQA
338
+
339
+ Q: Where can you get a bugle to take home with you? Answer Choices:
340
+
341
+ (a) farmer's wife
342
+
343
+ (b) music store
344
+
345
+ (c) military base
346
+
347
+ (d) military band
348
+
349
+ (e) american army.
350
+
351
+ A: Bugle is a musical instrument. Musical instruments are available in a music store. Music store is a building. So the answer is (b).
352
+
353
+ # E-SNLI
354
+
355
+ Premise:
356
+
357
+ "A man at a flea market browsing."
358
+
359
+ Based on this premise, can we conclude the hypothesis "A man is sleeping at a flea market." is true?
360
+
361
+ OPTIONS:
362
+
363
+ - yes
364
+
365
+ - no
366
+
367
+ - not possible to tell
368
+
369
+ A: One cannot be sleeping and browsing at the same time. The answer is no.
370
+
371
+ Figure 5: Detailed examples of prompts for GSM, ECQA, and E-SNLI.
372
+
373
+ # F License of Datasets
374
+
375
+ - GSM (Cobbe et al., 2021): MIT license.
376
+ E-SNLI (Camburu et al., 2018): MIT license.
377
+
378
+ - ECQA (Aggarwal et al., 2021): Community Data License Agreement - Sharing - Version 1.0.
379
+ - LETTER CONCATENATION and COINFLIP (Wei et al., 2022): MIT license.
380
+
381
+ A For every submission:
382
+
383
+ A1. Did you describe the limitations of your work?
384
+
385
+ Section 8.
386
+
387
+ A2. Did you discuss any potential risks of your work?
388
+
389
+ This work focuses on analyzing what makes effective explanations for in-context learning. We believe that the risks of these methods are the same as the risks of broader in-context learning literature.
390
+
391
+ A3. Do the abstract and introduction summarize the paper's main claims?
392
+
393
+ Section 1.
394
+
395
+ A4. Have you used AI writing assistants when working on this paper?
396
+
397
+ Left blank.
398
+
399
+ B Did you use or create scientific artifacts?
400
+
401
+ As described in Section 2, we used prior datasets and publicly available language model APIs.
402
+
403
+ B1. Did you cite the creators of artifacts you used?
404
+
405
+ Yes, we cite them in Section 2 and throughout the paper.
406
+
407
+ B2. Did you discuss the license or terms for use and / or distribution of any artifacts?
408
+
409
+ In Appendix F.
410
+
411
+ B3. Did you discuss if your use of existing artifact(s) was consistent with their intended use, provided that it was specified? For the artifacts you create, do you specify intended use and whether that is compatible with the original access conditions (in particular, derivatives of data accessed for research purposes should not be used outside of research contexts)?
412
+
413
+ We only use data and code specifically prepared for research contexts.
414
+
415
+ B4. Did you discuss the steps taken to check whether the data that was collected / used contains any information that names or uniquely identifies individual people or offensive content, and the steps taken to protect / anonymize it?
416
+
417
+ These are standard datasets that do not contain information about individual people or offensive context to our knowledge.
418
+
419
+ B5. Did you provide documentation of the artifacts, e.g., coverage of domains, languages, and linguistic phenomena, demographic groups represented, etc.?
420
+
421
+ As described in Section 8 limitation, all the datasets we used are written in English.
422
+
423
+ B6. Did you report relevant statistics like the number of examples, details of train / test / dev splits, etc. for the data that you used / created? Even for commonly-used benchmark datasets, include the number of examples in train / validation / test splits, as these provide necessary context for a reader to understand experimental results. For example, small differences in accuracy on large test sets may be significant, while on small test sets they may not be.
424
+
425
+ We report the setup throughout the paper as well as in the Appendix.
426
+
427
+ C Did you run computational experiments?
428
+
429
+ Section 2, 3, 4, and 5.
430
+
431
+ C1. Did you report the number of parameters in the models used, the total computational budget (e.g., GPU hours), and computing infrastructure used?
432
+
433
+ We are mainly using APIs, so we report exact API versions instead of computing infrastructure.
434
+
435
+ C2. Did you discuss the experimental setup, including hyperparameter search and best-found hyperparameter values?
436
+
437
+ Described in Appendix B,C, and D
438
+
439
+ C3. Did you report descriptive statistics about your results (e.g., error bars around results, summary statistics from sets of experiments), and is it transparent whether you are reporting the max, mean, etc. or just a single run?
440
+
441
+ We reported the experimental setup throughout the paper (Section 2, 3, 4, and 5).
442
+
443
+ C4. If you used existing packages (e.g., for preprocessing, for normalization, or for evaluation), did you report the implementation, model, and parameter settings used (e.g., NLTK, Spacy, ROUGE, etc.)?
444
+
445
+ We described the language models we are using in Section 2.
446
+
447
+ D Did you use human annotators (e.g., crowdworkers) or research with human participants?
448
+
449
+ Left blank.
450
+
451
+ D1. Did you report the full text of instructions given to participants, including e.g., screenshots, disclaimers of any risks to participants or annotators, etc.?
452
+
453
+ No response.
454
+
455
+ D2. Did you report information about how you recruited (e.g., crowdsourcing platform, students) and paid participants, and discuss if such payment is adequate given the participants' demographic (e.g., country of residence)?
456
+
457
+ No response.
458
+
459
+ D3. Did you discuss whether and how consent was obtained from people whose data you're using/curating? For example, if you collected data via crowdsourcing, did your instructions to crowdworkers explain how the data would be used?
460
+
461
+ No response.
462
+
463
+ D4. Was the data collection protocol approved (or determined exempt) by an ethics review board?
464
+
465
+ No response.
466
+
467
+ D5. Did you report the basic demographic and geographic characteristics of the annotator population that is the source of the data?
468
+
469
+ No response.
2023/Complementary Explanations for Effective In-Context Learning/images.zip ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:95193d3a80639c20cbba993ad3e0244c84b905490ec0f3aaac5e6b5e2187c2a3
3
+ size 515577
2023/Complementary Explanations for Effective In-Context Learning/layout.json ADDED
The diff for this file is too large to render. See raw diff
 
2023/Compositional Mathematical Encoding for Math Word Problems/801bbb7b-d8b8-4c19-87bf-9a90de8c668a_content_list.json ADDED
@@ -0,0 +1,1750 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [
2
+ {
3
+ "type": "text",
4
+ "text": "Compositional Mathematical Encoding for Math Word Problems",
5
+ "text_level": 1,
6
+ "bbox": [
7
+ 161,
8
+ 89,
9
+ 836,
10
+ 111
11
+ ],
12
+ "page_idx": 0
13
+ },
14
+ {
15
+ "type": "text",
16
+ "text": "Zhenwen Liang $^{1}$ , Jipeng Zhang $^{2}$ , Kehan Guo $^{1}$ , Xiaodong Wu $^{3}$ , Jie Shao $^{4}$ , and Xiangliang Zhang $^{\\boxtimes 1}$",
17
+ "bbox": [
18
+ 284,
19
+ 131,
20
+ 719,
21
+ 165
22
+ ],
23
+ "page_idx": 0
24
+ },
25
+ {
26
+ "type": "text",
27
+ "text": "<sup>1</sup>University of Notre Dame, {zliang6, kguo2, xzhang33}@nd.edu \n<sup>2</sup>Hong Kong University of Science and Technology, jzhanggr@connect.ust.hk \n<sup>3</sup>Queen's University, 22hd17@queensu.ca \n<sup>4</sup>University of Electronic Science and Technology of China, shaojie@uestc.edu.cn",
28
+ "bbox": [
29
+ 129,
30
+ 178,
31
+ 870,
32
+ 247
33
+ ],
34
+ "page_idx": 0
35
+ },
36
+ {
37
+ "type": "text",
38
+ "text": "Abstract",
39
+ "text_level": 1,
40
+ "bbox": [
41
+ 260,
42
+ 286,
43
+ 339,
44
+ 300
45
+ ],
46
+ "page_idx": 0
47
+ },
48
+ {
49
+ "type": "text",
50
+ "text": "Solving math word problem (MWP) remains a challenging task, as it requires to understand both the semantic meanings of the text and the mathematical logic among quantities, i.e., for both semantics modal and quantity modal learning. Current MWP encoders work in a uni-modal setting and map the given problem description to a latent representation, then for decoding. The generalizability of these MWP encoders is thus limited because some problems are semantics-demanding and others are quantity-demanding. To address this problem, we propose a Compositional Math Word Problem Solver (C-MWP) which works in a bimodal setting encoding in an interactive way. Extensive experiments validate the effectiveness of C-MWP and show its superiority over state-of-the-art models on public benchmarks.",
51
+ "bbox": [
52
+ 141,
53
+ 307,
54
+ 460,
55
+ 565
56
+ ],
57
+ "page_idx": 0
58
+ },
59
+ {
60
+ "type": "text",
61
+ "text": "1 Introduction",
62
+ "text_level": 1,
63
+ "bbox": [
64
+ 114,
65
+ 571,
66
+ 260,
67
+ 588
68
+ ],
69
+ "page_idx": 0
70
+ },
71
+ {
72
+ "type": "text",
73
+ "text": "The task of math word problem (MWP) solving aims to map natural language problem descriptions into executable solution equations to get the correct answer, which is a sub-area of neuro-symbolic reasoning. It requires perceptual abilities such as comprehending the question, identifying the quantities and corresponding attributes, as well as complex semantics understanding skills like performing logical inference, making comparisons and leveraging external mathematical knowledge.",
74
+ "bbox": [
75
+ 112,
76
+ 596,
77
+ 489,
78
+ 758
79
+ ],
80
+ "page_idx": 0
81
+ },
82
+ {
83
+ "type": "text",
84
+ "text": "While MWP encoders have been sophisticatedly designed to understand the natural language problem description, the difference on understanding diverse types of problems has not been aware of. We find that MWP can generally be grouped into three categories based on the keywords in (Liu et al., 2019), i.e., \"Story Problem\", \"Algebra Problem\" and \"Knowledge Problem\". \"Story Problem\" often includes significant amount of background information like characters, objectives and behaviors.",
85
+ "bbox": [
86
+ 112,
87
+ 758,
88
+ 489,
89
+ 919
90
+ ],
91
+ "page_idx": 0
92
+ },
93
+ {
94
+ "type": "text",
95
+ "text": "\"Algebra Problems\" involves math notations or is composed of elementary concepts. \"Knowledge Problem\" asks for external knowledge like geometry and number sequence, as shown in Figure 1.",
96
+ "bbox": [
97
+ 507,
98
+ 286,
99
+ 884,
100
+ 351
101
+ ],
102
+ "page_idx": 0
103
+ },
104
+ {
105
+ "type": "text",
106
+ "text": "These types of problems can be compositionally understood at the different level attention to the semantics modal and quantity modal, where RNNs and pre-trained language models usually focus on the textual information and GCN with quantity-centered graphs capture the relationship between quantities and contexts. However, the encoders in existing MWP solvers either model only the semantics modality or utilize quantity modal priors to refine the MWP encoding (Zhang et al., 2020; Shen and Jin, 2020). Although the quantity centered refinement can particularly make improvements on quantity-demanding problems, its semantics understanding is weakened (evidence can be found in Table 3). This limitation, one joint modal cannot do it all, decreases the generalization of MWP solvers and is what compositional learning aims to address. In this work, we propose to disentangle semantics modal and quantity modal by compositional learning at the encoding stage, aiming to improve the generalization across different types of problems.",
107
+ "bbox": [
108
+ 507,
109
+ 361,
110
+ 884,
111
+ 715
112
+ ],
113
+ "page_idx": 0
114
+ },
115
+ {
116
+ "type": "text",
117
+ "text": "Contributions. (i) A novel and effective bimodal approach is proposed for the first time to enable MWP compositional understanding. (ii) A joint reasoning module is designed for our bimodal architectures to flexibly incorporate different modalities. (iii) Extensive experiments and ablative studies on two large-scale MWP benchmarks – Math23k (Wang et al., 2017) and MAwPS (Koncel-Kedziorski et al., 2016) show the superiority of the proposed approach over related works.",
118
+ "bbox": [
119
+ 507,
120
+ 758,
121
+ 885,
122
+ 919
123
+ ],
124
+ "page_idx": 0
125
+ },
126
+ {
127
+ "type": "page_number",
128
+ "text": "10008",
129
+ "bbox": [
130
+ 475,
131
+ 927,
132
+ 524,
133
+ 940
134
+ ],
135
+ "page_idx": 0
136
+ },
137
+ {
138
+ "type": "footer",
139
+ "text": "Findings of the Association for Computational Linguistics: ACL 2023, pages 10008-10017 July 9-14, 2023 ©2023 Association for Computational Linguistics",
140
+ "bbox": [
141
+ 220,
142
+ 945,
143
+ 778,
144
+ 972
145
+ ],
146
+ "page_idx": 0
147
+ },
148
+ {
149
+ "type": "image",
150
+ "img_path": "images/762bc4966b60b6fa4bc9b5cf248bd7d470551fe672405852f5b0a3dfcc1095b7.jpg",
151
+ "image_caption": [
152
+ "Figure 1: Examples of different types of problems in MWP solving."
153
+ ],
154
+ "image_footnote": [],
155
+ "bbox": [
156
+ 117,
157
+ 84,
158
+ 884,
159
+ 357
160
+ ],
161
+ "page_idx": 1
162
+ },
163
+ {
164
+ "type": "text",
165
+ "text": "2 Related Work",
166
+ "text_level": 1,
167
+ "bbox": [
168
+ 112,
169
+ 406,
170
+ 270,
171
+ 422
172
+ ],
173
+ "page_idx": 1
174
+ },
175
+ {
176
+ "type": "text",
177
+ "text": "Compositional Learning in NLP. Modeling compositionality in language has been a longstanding issue (Wong and Wang, 2007) in NLP community. One common practice is to perform disentanglement over language representations at different levels (Welch et al., 2020). They usually focus on atomic semantics units like character, word and phrase. As logic form annotations naturally own compositional features, compositionality is incorporated in generating correct logic contents. Therefore, the compositionality is often injected into traditional semantic parsing tasks (Chen et al., 2020; Yang et al., 2022) where the goals during training can be decomposed and then reorganized as a novel goal.",
178
+ "bbox": [
179
+ 112,
180
+ 436,
181
+ 489,
182
+ 677
183
+ ],
184
+ "page_idx": 1
185
+ },
186
+ {
187
+ "type": "text",
188
+ "text": "Our work firstly tries to inject compositional prior into MWP encoding. It is worth noting that MWP solving owns the same well-organized logic form annotations as machine reasoning, which naturally requires compositionality.",
189
+ "bbox": [
190
+ 112,
191
+ 678,
192
+ 489,
193
+ 760
194
+ ],
195
+ "page_idx": 1
196
+ },
197
+ {
198
+ "type": "text",
199
+ "text": "Math Word Problem Solving. Earlier MWP solvers parse problem descriptions semantically, and learn templates for generating answers (Koncel-Kedziorski et al., 2015). Recent works (Wang et al., 2017; Xie and Sun, 2019; Li et al., 2019; Zhang et al., 2020; Shen and Jin, 2020; Wu et al., 2021b,a; Lin et al., 2021; Liang and Zhang, 2021; Jie et al., 2022) focus on employing the encoder-decoder framework (e.g., sequence-to-sequence,",
200
+ "bbox": [
201
+ 112,
202
+ 774,
203
+ 492,
204
+ 920
205
+ ],
206
+ "page_idx": 1
207
+ },
208
+ {
209
+ "type": "text",
210
+ "text": "sequence-to-tree, graph-to-tree) to translate MWP texts into equations based on traditional RNN structure. There are also new settings (Amini et al., 2019; Miao et al., 2020) introduced to extend MWP solving in equation group generation and diagnosing awareness of external knowledge. Nowadays, many researchers build strong MWP solvers upon pre-trained language models (PLMs) (Huang et al., 2021; Li et al., 2021; Yu et al., 2021; Shen et al., 2021; Lan et al., 2022) and have achieved great performance. Differently, our work lays the groundwork of feature extraction of quantity modal, which is orthogonal to those works.",
211
+ "bbox": [
212
+ 507,
213
+ 407,
214
+ 884,
215
+ 615
216
+ ],
217
+ "page_idx": 1
218
+ },
219
+ {
220
+ "type": "text",
221
+ "text": "In this work, we not only propose an explicit compositional encoding module with a multi-layer design, but also incorporate detailed analysis to verify its compositional learning ability, to jointly leverage semantic and quantity information to achieve effective MWP understanding.",
222
+ "bbox": [
223
+ 507,
224
+ 617,
225
+ 882,
226
+ 713
227
+ ],
228
+ "page_idx": 1
229
+ },
230
+ {
231
+ "type": "text",
232
+ "text": "3 Our approach",
233
+ "text_level": 1,
234
+ "bbox": [
235
+ 507,
236
+ 726,
237
+ 668,
238
+ 741
239
+ ],
240
+ "page_idx": 1
241
+ },
242
+ {
243
+ "type": "text",
244
+ "text": "3.1 Compositional Mathematical Encoder",
245
+ "text_level": 1,
246
+ "bbox": [
247
+ 507,
248
+ 753,
249
+ 855,
250
+ 768
251
+ ],
252
+ "page_idx": 1
253
+ },
254
+ {
255
+ "type": "text",
256
+ "text": "As shown in Figure 2, our CMEncoder block consists of a semantic encoder, a quantity encoder and a dynamic fusion block. The semantic encoder aims to extract semantic information from the problem description, understanding the background and objectives. The latter part encodes problems only with quantity-related graphs, helping the encoder to know the properties of quantities and the relationship between quantities and contexts.",
257
+ "bbox": [
258
+ 507,
259
+ 774,
260
+ 884,
261
+ 919
262
+ ],
263
+ "page_idx": 1
264
+ },
265
+ {
266
+ "type": "page_number",
267
+ "text": "10009",
268
+ "bbox": [
269
+ 477,
270
+ 927,
271
+ 524,
272
+ 940
273
+ ],
274
+ "page_idx": 1
275
+ },
276
+ {
277
+ "type": "image",
278
+ "img_path": "images/2cee7b44492be75c82ea2b3a2de99f53cf4f1f239381d0c0c68bc14878e23248.jpg",
279
+ "image_caption": [
280
+ "Figure 2: The CMEncoder block (shown at the bottom) takes the given problem description, and runs in parallel to obtain $H_{r}$ from the semantic encoder, and $H_{g}$ from the quantity encoder. A dynamic fusion module incorporates $H_{r}$ and $H_{g}$ by cross-modal attention. The obtained $H_{f}$ is attentively stacked with $H_{r}$ and $H_{g}$ . The resulted $H_{att}$ is sent to the next CMEncoder block. The final problem representation $H_{final}$ goes to the decoder for generating the final solution equation."
281
+ ],
282
+ "image_footnote": [],
283
+ "bbox": [
284
+ 166,
285
+ 80,
286
+ 833,
287
+ 355
288
+ ],
289
+ "page_idx": 2
290
+ },
291
+ {
292
+ "type": "text",
293
+ "text": "Semantic Encoder. To demonstrate the robustness of our approach, we implemented two different semantic encoders as our backbone.",
294
+ "bbox": [
295
+ 112,
296
+ 463,
297
+ 489,
298
+ 511
299
+ ],
300
+ "page_idx": 2
301
+ },
302
+ {
303
+ "type": "text",
304
+ "text": "Firstly, we encode the problem description $W$ by a bidirectional gated recurrent unit (BiGRU) (Cho et al., 2014). The outputs of GRU are hidden state vectors of all tokens, $H_{r} = \\{h_{1}, h_{2}, \\dots, h_{n}\\}$ , where $n$ is the length of problem $W$ .",
305
+ "bbox": [
306
+ 112,
307
+ 511,
308
+ 487,
309
+ 592
310
+ ],
311
+ "page_idx": 2
312
+ },
313
+ {
314
+ "type": "equation",
315
+ "text": "\n$$\nH _ {r} = \\operatorname {B i G R U} \\left(\\operatorname {E m b e d} _ {s} (W)\\right) \\tag {1}\n$$\n",
316
+ "text_format": "latex",
317
+ "bbox": [
318
+ 186,
319
+ 608,
320
+ 485,
321
+ 625
322
+ ],
323
+ "page_idx": 2
324
+ },
325
+ {
326
+ "type": "text",
327
+ "text": "where $Embed_{s}(W)$ is the embedding result of textual description $W$ in semantics modal. Empirically, we find that two stacked CMEncoders as shown in Figure 2 achieve the best performance.",
328
+ "bbox": [
329
+ 112,
330
+ 634,
331
+ 487,
332
+ 697
333
+ ],
334
+ "page_idx": 2
335
+ },
336
+ {
337
+ "type": "text",
338
+ "text": "Secondly, pre-trained language models (PLMs) have been ubiquitous in NLP tasks. We use the latest push of MWP-BERT (Liang et al., 2022) as our semantic encoder to obtain $H_{r}$ .",
339
+ "bbox": [
340
+ 112,
341
+ 699,
342
+ 487,
343
+ 763
344
+ ],
345
+ "page_idx": 2
346
+ },
347
+ {
348
+ "type": "text",
349
+ "text": "Quantity Encoder. To encode the quantity modal in the problem $W$ , we feed a graph transformer $G_{trans}$ with Quantity Comparison Graph and Quantity Cell Graph following Graph2Tree (Zhang et al., 2020),",
350
+ "bbox": [
351
+ 112,
352
+ 769,
353
+ 489,
354
+ 850
355
+ ],
356
+ "page_idx": 2
357
+ },
358
+ {
359
+ "type": "equation",
360
+ "text": "\n$$\nH _ {g} = G _ {\\text {t r a n s}} \\left(\\operatorname {E m b e d} _ {q} (W)\\right) \\tag {2}\n$$\n",
361
+ "text_format": "latex",
362
+ "bbox": [
363
+ 193,
364
+ 865,
365
+ 485,
366
+ 883
367
+ ],
368
+ "page_idx": 2
369
+ },
370
+ {
371
+ "type": "text",
372
+ "text": "where $\\operatorname{Embed}_q(W)$ is the embedding matrix in the quantity modal, which aims to improve the",
373
+ "bbox": [
374
+ 112,
375
+ 887,
376
+ 487,
377
+ 919
378
+ ],
379
+ "page_idx": 2
380
+ },
381
+ {
382
+ "type": "text",
383
+ "text": "quantity representation by incorporating quantity magnitude information and quantity-context relationship with the above two graphs. Different from Graph2Tree, the two embeddings $Embed_{s}(W)$ and $Embed_{q}(W)$ are updated in the training process to extract the semantics and quantity feature separately. In this way, semantics and quantity modals are disentangled, which alleviates the issue of \"one joint modal cannot do it all\", enabling the C-MWP solver to pay different levels of attention when solving different problems.",
384
+ "bbox": [
385
+ 507,
386
+ 463,
387
+ 884,
388
+ 640
389
+ ],
390
+ "page_idx": 2
391
+ },
392
+ {
393
+ "type": "text",
394
+ "text": "Dynamic Fusion. To achieve joint reasoning over the semantics information and quantity information, we design a dynamic fusion module to flexibly incorporate the features from these two modals. First, we get $s$ and $q$ from the mean pooling of $H_{r}$ and $H_{g}$ , respectively. Then, cross-modal attention is applied between $H_{r}$ and $q$ , $H_{g}$ and $s$ :",
395
+ "bbox": [
396
+ 507,
397
+ 648,
398
+ 882,
399
+ 762
400
+ ],
401
+ "page_idx": 2
402
+ },
403
+ {
404
+ "type": "equation",
405
+ "text": "\n$$\n\\begin{array}{l} A t t _ {1} \\left(H _ {r}, q\\right) = \\Sigma_ {i = 1} ^ {n} a _ {i} H _ {r i} \\\\ A t t _ {1} \\left(H _ {r}\\right) = \\Sigma_ {i = 1} ^ {n} H _ {r i} \\end{array} \\tag {3}\n$$\n",
406
+ "text_format": "latex",
407
+ "bbox": [
408
+ 596,
409
+ 770,
410
+ 880,
411
+ 795
412
+ ],
413
+ "page_idx": 2
414
+ },
415
+ {
416
+ "type": "equation",
417
+ "text": "\n$$\nA t t _ {2} (H _ {g}, s) = \\Sigma_ {i = 1} ^ {n} b _ {i} H _ {g i}\n$$\n",
418
+ "text_format": "latex",
419
+ "bbox": [
420
+ 598,
421
+ 790,
422
+ 794,
423
+ 808
424
+ ],
425
+ "page_idx": 2
426
+ },
427
+ {
428
+ "type": "text",
429
+ "text": "where the attention scores $a_{i}, b_{i}$ come from:",
430
+ "bbox": [
431
+ 507,
432
+ 816,
433
+ 836,
434
+ 831
435
+ ],
436
+ "page_idx": 2
437
+ },
438
+ {
439
+ "type": "equation",
440
+ "text": "\n$$\na _ {i} = W _ {a} ^ {1} \\tanh \\left(W _ {a} ^ {2} \\left(H _ {r i} \\mid \\mid q\\right)\\right) \\tag {4}\n$$\n",
441
+ "text_format": "latex",
442
+ "bbox": [
443
+ 579,
444
+ 837,
445
+ 880,
446
+ 860
447
+ ],
448
+ "page_idx": 2
449
+ },
450
+ {
451
+ "type": "equation",
452
+ "text": "\n$$\nb _ {i} = W _ {b} ^ {1} \\tanh (W _ {b} ^ {2} \\left(H _ {g i} \\mid | s\\right))\n$$\n",
453
+ "text_format": "latex",
454
+ "bbox": [
455
+ 584,
456
+ 859,
457
+ 808,
458
+ 878
459
+ ],
460
+ "page_idx": 2
461
+ },
462
+ {
463
+ "type": "text",
464
+ "text": "where $W_{a}^{1}, W_{a}^{2}, W_{b}^{1}$ and $W_{b}^{2}$ are parameter matrices. The cross-modal attention here grounds the",
465
+ "bbox": [
466
+ 507,
467
+ 885,
468
+ 882,
469
+ 917
470
+ ],
471
+ "page_idx": 2
472
+ },
473
+ {
474
+ "type": "page_number",
475
+ "text": "10010",
476
+ "bbox": [
477
+ 477,
478
+ 927,
479
+ 524,
480
+ 940
481
+ ],
482
+ "page_idx": 2
483
+ },
484
+ {
485
+ "type": "text",
486
+ "text": "quantity information in the semantics modal, and vice versa. By applying different weights on different modals, our model is flexible to pay more or less attention on a certain modal. Finally, the output of dynamic fusion is:",
487
+ "bbox": [
488
+ 112,
489
+ 84,
490
+ 489,
491
+ 164
492
+ ],
493
+ "page_idx": 3
494
+ },
495
+ {
496
+ "type": "equation",
497
+ "text": "\n$$\nH _ {f} = \\operatorname {A t t} _ {1} \\left(H _ {r}, q\\right) \\mid \\mid \\operatorname {A t t} _ {2} \\left(H _ {g}, s\\right). \\tag {5}\n$$\n",
498
+ "text_format": "latex",
499
+ "bbox": [
500
+ 171,
501
+ 175,
502
+ 487,
503
+ 193
504
+ ],
505
+ "page_idx": 3
506
+ },
507
+ {
508
+ "type": "text",
509
+ "text": "3.2 Stack Multiple CMEncoders",
510
+ "text_level": 1,
511
+ "bbox": [
512
+ 114,
513
+ 205,
514
+ 386,
515
+ 221
516
+ ],
517
+ "page_idx": 3
518
+ },
519
+ {
520
+ "type": "text",
521
+ "text": "Humans often need to make multiple glimpses to refine an MWP solution. Similarly, a CMEncoder can be stacked in multiple steps to refine the understanding of an MWP, as shown in Figure 2. Given the output from the semantic encoder, quantity encoder and dynamic fusion module at layer $k - 1$ , the features are stacked as:",
522
+ "bbox": [
523
+ 112,
524
+ 225,
525
+ 489,
526
+ 338
527
+ ],
528
+ "page_idx": 3
529
+ },
530
+ {
531
+ "type": "equation",
532
+ "text": "\n$$\nH _ {a t t} ^ {(k - 1)} = c _ {r} H _ {r} ^ {(k - 1)} + c _ {g} H _ {g} ^ {(k - 1)} \\tag {6}\n$$\n",
533
+ "text_format": "latex",
534
+ "bbox": [
535
+ 176,
536
+ 348,
537
+ 487,
538
+ 370
539
+ ],
540
+ "page_idx": 3
541
+ },
542
+ {
543
+ "type": "text",
544
+ "text": "where the attention weights $c_{r}$ and $c_{g}$ are:",
545
+ "bbox": [
546
+ 112,
547
+ 381,
548
+ 426,
549
+ 398
550
+ ],
551
+ "page_idx": 3
552
+ },
553
+ {
554
+ "type": "equation",
555
+ "text": "\n$$\n\\begin{array}{l} c _ {r} = W _ {r} ^ {1} \\tanh \\left(W _ {r} ^ {2} \\left(H _ {r} ^ {(k - 1)} \\mid \\mid H _ {f} ^ {(k - 1)}\\right)\\right) \\tag {7} \\\\ c _ {g} = W _ {g} ^ {1} \\tanh (W _ {g} ^ {2} \\left(H _ {g} ^ {(k - 1)} \\mid \\mid H _ {f} ^ {(k - 1)}\\right)) \\\\ \\end{array}\n$$\n",
556
+ "text_format": "latex",
557
+ "bbox": [
558
+ 137,
559
+ 409,
560
+ 487,
561
+ 456
562
+ ],
563
+ "page_idx": 3
564
+ },
565
+ {
566
+ "type": "text",
567
+ "text": "where $W_{r}^{1}, W_{r}^{2}, W_{g}^{1}$ and $W_{g}^{2}$ are parameter matrices. The $H_{att}^{(k - 1)}$ will be the input for both the semantic modal and quantity modal of K-th CMEncoder, which will output $H_{r}^{(k)}, H_{g}^{(k)}$ and $H_{f}^{(k)}$ , which can be sent for the update at layer $k + 1$ .",
568
+ "bbox": [
569
+ 112,
570
+ 467,
571
+ 489,
572
+ 554
573
+ ],
574
+ "page_idx": 3
575
+ },
576
+ {
577
+ "type": "text",
578
+ "text": "After finishing the $K$ -th step reasoning, we concatenate the final $H_r^{(K)}$ and $H_g^{(K)}$ as the final output representation $H_{final}$ .",
579
+ "bbox": [
580
+ 112,
581
+ 555,
582
+ 489,
583
+ 606
584
+ ],
585
+ "page_idx": 3
586
+ },
587
+ {
588
+ "type": "text",
589
+ "text": "3.3 Decoder",
590
+ "text_level": 1,
591
+ "bbox": [
592
+ 114,
593
+ 615,
594
+ 226,
595
+ 629
596
+ ],
597
+ "page_idx": 3
598
+ },
599
+ {
600
+ "type": "text",
601
+ "text": "We follow the same implementation as GTS (Xie and Sun, 2019). Eventually, the decoder will output the pre-order traversal sequence of the solution tree.",
602
+ "bbox": [
603
+ 112,
604
+ 636,
605
+ 489,
606
+ 684
607
+ ],
608
+ "page_idx": 3
609
+ },
610
+ {
611
+ "type": "text",
612
+ "text": "3.4 Training Method",
613
+ "text_level": 1,
614
+ "bbox": [
615
+ 114,
616
+ 695,
617
+ 294,
618
+ 709
619
+ ],
620
+ "page_idx": 3
621
+ },
622
+ {
623
+ "type": "text",
624
+ "text": "Given the training samples with problem description $W$ and the corresponding solution $S$ , the main training objective is to minimize the negative log probability for predicting $S$ from $W$ , empowered by the compositionality of the CMEncoders. Therefore, the overall loss is:",
625
+ "bbox": [
626
+ 112,
627
+ 715,
628
+ 489,
629
+ 810
630
+ ],
631
+ "page_idx": 3
632
+ },
633
+ {
634
+ "type": "equation",
635
+ "text": "\n$$\nL = L _ {M W P} + \\left| \\left| E m b e d _ {s} \\right| \\right| _ {2} + \\left| \\left| E m b e d _ {q} \\right| \\right| _ {2} (8)\n$$\n",
636
+ "text_format": "latex",
637
+ "bbox": [
638
+ 122,
639
+ 822,
640
+ 487,
641
+ 844
642
+ ],
643
+ "page_idx": 3
644
+ },
645
+ {
646
+ "type": "text",
647
+ "text": "where $L_{MWP}$ is the negative log prediction probability $-\\log p(S \\mid W)$ . The $L_2$ norm of the encoder embedding matrices is added to the loss function as regularization terms.",
648
+ "bbox": [
649
+ 112,
650
+ 854,
651
+ 489,
652
+ 917
653
+ ],
654
+ "page_idx": 3
655
+ },
656
+ {
657
+ "type": "text",
658
+ "text": "4 Experiments",
659
+ "text_level": 1,
660
+ "bbox": [
661
+ 507,
662
+ 83,
663
+ 655,
664
+ 99
665
+ ],
666
+ "page_idx": 3
667
+ },
668
+ {
669
+ "type": "text",
670
+ "text": "4.1 Datasets",
671
+ "text_level": 1,
672
+ "bbox": [
673
+ 509,
674
+ 109,
675
+ 623,
676
+ 123
677
+ ],
678
+ "page_idx": 3
679
+ },
680
+ {
681
+ "type": "text",
682
+ "text": "Math23k (Wang et al., 2017) containing 23,162 Chinese MWPs is collected from several educational websites.",
683
+ "bbox": [
684
+ 507,
685
+ 130,
686
+ 882,
687
+ 177
688
+ ],
689
+ "page_idx": 3
690
+ },
691
+ {
692
+ "type": "text",
693
+ "text": "MAWPS (Koncel-Kedziorski et al., 2015) is an MWP dataset owning 2,373 English MwPs.",
694
+ "bbox": [
695
+ 507,
696
+ 179,
697
+ 880,
698
+ 210
699
+ ],
700
+ "page_idx": 3
701
+ },
702
+ {
703
+ "type": "text",
704
+ "text": "4.2 Baselines",
705
+ "text_level": 1,
706
+ "bbox": [
707
+ 507,
708
+ 222,
709
+ 628,
710
+ 236
711
+ ],
712
+ "page_idx": 3
713
+ },
714
+ {
715
+ "type": "text",
716
+ "text": "GTS (Xie and Sun, 2019) proposes a powerful tree-based decoder. Graph2Tree (Zhang et al., 2020) constructs graphs to extract useful relationships in an MWP. NumS2T (Wu et al., 2021b) encode quantities with explicit numerical values. MultiE/D (Shen and Jin, 2020) proposes to use multiple decoders in MWP solving. HMS (Lin et al., 2021) develops a hierarchical word-clause-problem encoder. EEH-G2T (Wu et al., 2021a) aims to capture the long-range word relationship by graph network. REAL (Huang et al., 2021) proposes a analogical auxiliary learning strategy by extracting similar MWPs. BERT-CL (Li et al., 2021) uses contrastive learning with PLMs. RPKHS (Yu et al., 2021) performs hierarchical reasoning with PLMs. MWP-BERT released a BERT-based encoder that is continually pre-trained on MWP corpus. Gen&Rank (Shen et al., 2021) designs a multi-task learning framework with encoder-decoder pre-training. MWP toolkit (Lan et al., 2022) finds a RoBERTa-to-RoBERTa model has the best performance in MWP solving.",
717
+ "bbox": [
718
+ 507,
719
+ 243,
720
+ 884,
721
+ 596
722
+ ],
723
+ "page_idx": 3
724
+ },
725
+ {
726
+ "type": "text",
727
+ "text": "4.3 Experimental Results",
728
+ "text_level": 1,
729
+ "bbox": [
730
+ 507,
731
+ 608,
732
+ 724,
733
+ 623
734
+ ],
735
+ "page_idx": 3
736
+ },
737
+ {
738
+ "type": "text",
739
+ "text": "As Table 1 shows, our approach outperforms all other RNN-based baselines in terms of answer accuracy. On Math23k, we outperform the latest RNN-based push from Wu et al. (2021a) by $1.8\\%$ . For the first time, an RNN-based MWP solver reaches over $80\\%$ answer accuracy on the Math23k dataset. What is more, the even fewer parameters with the best performance suggest that our model is also memory-efficient.",
740
+ "bbox": [
741
+ 507,
742
+ 629,
743
+ 882,
744
+ 772
745
+ ],
746
+ "page_idx": 3
747
+ },
748
+ {
749
+ "type": "text",
750
+ "text": "PLM-based solvers benefit from the pre-training on a huge amount of corpus and thus achieve great semantic understanding ability. From a different point of view, our work aims to effectively and efficiently integrate semantic and quantity understanding. Therefore, by incorporating the MWP-BERT model as our semantic extractor, the answer accuracy of C-MWP achieves state-of-the-art performance. It proves the feasibility of combining",
751
+ "bbox": [
752
+ 507,
753
+ 774,
754
+ 884,
755
+ 919
756
+ ],
757
+ "page_idx": 3
758
+ },
759
+ {
760
+ "type": "page_number",
761
+ "text": "10011",
762
+ "bbox": [
763
+ 477,
764
+ 927,
765
+ 522,
766
+ 940
767
+ ],
768
+ "page_idx": 3
769
+ },
770
+ {
771
+ "type": "table",
772
+ "img_path": "images/bccf05543f440dfd24ffd5344249301e98ad49eb80ba801050c0f38bf2d67e12.jpg",
773
+ "table_caption": [],
774
+ "table_footnote": [],
775
+ "table_body": "<table><tr><td></td><td>Math23k</td><td>Math23k*</td><td>MAWPS</td><td>#E</td></tr><tr><td colspan=\"5\">RNN Based</td></tr><tr><td>DNS</td><td>-</td><td>58.1</td><td>59.5</td><td>3.0M</td></tr><tr><td>GTS</td><td>75.6</td><td>74.3</td><td>82.6</td><td>7.2M</td></tr><tr><td>Graph2Tree</td><td>77.4</td><td>75.5</td><td>83.7</td><td>9.0M</td></tr><tr><td>NUMS2T</td><td>78.1</td><td>-</td><td>-</td><td>7.9M</td></tr><tr><td>Multi-E/D</td><td>78.4</td><td>76.9</td><td>-</td><td>14.2M</td></tr><tr><td>HMS</td><td>78.4</td><td>-</td><td>80.3</td><td>9.5M</td></tr><tr><td>EEH-G2T</td><td>78.5</td><td>-</td><td>84.8</td><td>9.9M</td></tr><tr><td>C-MWP (RNN)</td><td>80.3</td><td>77.9</td><td>84.9</td><td>7.6M</td></tr><tr><td colspan=\"5\">PLM Based</td></tr><tr><td>REAL</td><td>82.3</td><td>80.0</td><td>-</td><td>110M</td></tr><tr><td>BERT-CL</td><td>83.2</td><td>-</td><td>-</td><td>102M</td></tr><tr><td>RPKHS</td><td>83.9</td><td>82.2</td><td>-</td><td>102M</td></tr><tr><td>MWP-BERT</td><td>84.7</td><td>82.4</td><td>-</td><td>110M</td></tr><tr><td>Gen&amp;Rank</td><td>85.4</td><td>84.3</td><td>-</td><td>610M</td></tr><tr><td>MWP toolkit</td><td>-</td><td>76.9</td><td>88.4</td><td>110M</td></tr><tr><td>C-MWP (PLM)</td><td>86.1</td><td>84.5</td><td>89.1</td><td>130M</td></tr></table>",
776
+ "bbox": [
777
+ 115,
778
+ 80,
779
+ 485,
780
+ 331
781
+ ],
782
+ "page_idx": 4
783
+ },
784
+ {
785
+ "type": "table",
786
+ "img_path": "images/a05bd2f5fef39bdd56ba38a4b051bfb7b4c111588dc778237090d04bf7d8d940.jpg",
787
+ "table_caption": [
788
+ "Table 1: Math23k column shows the results when evaluating on the public test set of Math23k, while the $\\mathrm{Math23k^{*}}$ column shows the result of 5-fold cross validation on Math23k dataset. The last column #E denotes the number of parameters in encoders."
789
+ ],
790
+ "table_footnote": [],
791
+ "table_body": "<table><tr><td></td><td>Graph Encoder</td><td>Compositional Structure</td><td>Dynamic Fusion</td><td>Acc(%)</td></tr><tr><td>GTS</td><td>X</td><td>X</td><td>X</td><td>75.6</td></tr><tr><td>Graph2Tree</td><td>✓</td><td>X</td><td>X</td><td>77.4</td></tr><tr><td></td><td>✓</td><td>✓</td><td>X</td><td>78.1</td></tr><tr><td></td><td>✓</td><td>X</td><td>✓</td><td>78.9</td></tr><tr><td>C-MWP</td><td>✓</td><td>✓</td><td>✓</td><td>80.3</td></tr></table>",
792
+ "bbox": [
793
+ 117,
794
+ 428,
795
+ 485,
796
+ 526
797
+ ],
798
+ "page_idx": 4
799
+ },
800
+ {
801
+ "type": "text",
802
+ "text": "PLM-based semantic modal encoder and graph-based quantity modal encoder, which will be an interesting inspiration to the community.",
803
+ "bbox": [
804
+ 112,
805
+ 579,
806
+ 489,
807
+ 627
808
+ ],
809
+ "page_idx": 4
810
+ },
811
+ {
812
+ "type": "text",
813
+ "text": "Ablative Study of Different Components.",
814
+ "text_level": 1,
815
+ "bbox": [
816
+ 114,
817
+ 640,
818
+ 440,
819
+ 656
820
+ ],
821
+ "page_idx": 4
822
+ },
823
+ {
824
+ "type": "text",
825
+ "text": "In order to evaluate the effectiveness of each component in $C$ -MWP, we report the model performance after removing several components. Compared with Graph2Tree, our compositional structure and dynamic fusion module allow the full usage of both modals and excel in improving performance. \"Compositional Structure\" denotes separating the semantic and quantity modal with two different encoders that run in parallel. \"w Compositional Structure and w/o Dynamic Fusion\" means we replace the Dynamic Fusion module with a simple addition of two features from two encoders. \"w/o Compositional Structure and w Dynamic Fusion\" means, we employ the structure of Graph2Tree, then utilize our dynamic fusion module to fuse the feature from the RNN Encoder and",
826
+ "bbox": [
827
+ 112,
828
+ 661,
829
+ 489,
830
+ 917
831
+ ],
832
+ "page_idx": 4
833
+ },
834
+ {
835
+ "type": "table",
836
+ "img_path": "images/dbdf1d8bfaab6454789e74b243614b6a0e8251bdaba1ebef8bfb6f9dca3e1ce7.jpg",
837
+ "table_caption": [
838
+ "Table 2: Accuracy among different ablated models."
839
+ ],
840
+ "table_footnote": [],
841
+ "table_body": "<table><tr><td>Model</td><td>Overall</td><td>Story</td><td>Algebra</td><td>KNWL</td></tr><tr><td>GTS</td><td>75.4</td><td>75.1</td><td>82.8</td><td>64.3</td></tr><tr><td>Graph2Tree</td><td>77.4</td><td>76.3</td><td>89.7</td><td>57.1</td></tr><tr><td>Multi-E/D</td><td>78.4</td><td>77.8</td><td>88.8</td><td>61.9</td></tr><tr><td>C-MWP (RNN)</td><td>80.3</td><td>80.0</td><td>90.0</td><td>66.7</td></tr><tr><td>MWP-BERT</td><td>84.7</td><td>85.6</td><td>88.8</td><td>72.0</td></tr><tr><td>C-MWP (PLM)</td><td>86.1</td><td>87.5</td><td>90.7</td><td>72.0</td></tr></table>",
842
+ "bbox": [
843
+ 532,
844
+ 80,
845
+ 860,
846
+ 181
847
+ ],
848
+ "page_idx": 4
849
+ },
850
+ {
851
+ "type": "text",
852
+ "text": "Table 3: The answer accuracy $(\\%)$ of problems in different types. KNWL stands for the external knowledge required problems.",
853
+ "bbox": [
854
+ 507,
855
+ 191,
856
+ 882,
857
+ 233
858
+ ],
859
+ "page_idx": 4
860
+ },
861
+ {
862
+ "type": "text",
863
+ "text": "the feature from the GNN Encoder of Graph2Tree.",
864
+ "bbox": [
865
+ 507,
866
+ 256,
867
+ 882,
868
+ 272
869
+ ],
870
+ "page_idx": 4
871
+ },
872
+ {
873
+ "type": "text",
874
+ "text": "Performance on Different Types of MWP.",
875
+ "text_level": 1,
876
+ "bbox": [
877
+ 507,
878
+ 281,
879
+ 838,
880
+ 297
881
+ ],
882
+ "page_idx": 4
883
+ },
884
+ {
885
+ "type": "text",
886
+ "text": "In order to investigate how our model performs across various types of MWP, we introduce a new split of Math23k with regard to three types of problems: story problems, algebra problems and knowledge problems. Split details are shown in the appendix. The evaluation results are presented in Table 3. Without a compositional manner, Graph2Tree and Multi-E/D perform better than GTS on story and algebra testing problems, whereas they perform worse on knowledge problems. As stated before, one joint modal cannot do it all. These baselines work well on some types of problems while having weak performance on other types of problems. Our C-MWP offers a general accuracy improvement, which firmly supports our motivation for alleviating the generalization issue. This provides clear evidence that our model leverages general math knowledge across different types of MWP, successfully solving some nontrivial problems that Graph2Tree failed to solve.",
887
+ "bbox": [
888
+ 507,
889
+ 300,
890
+ 884,
891
+ 621
892
+ ],
893
+ "page_idx": 4
894
+ },
895
+ {
896
+ "type": "text",
897
+ "text": "5 Conclusion and Future Work",
898
+ "text_level": 1,
899
+ "bbox": [
900
+ 507,
901
+ 633,
902
+ 796,
903
+ 648
904
+ ],
905
+ "page_idx": 4
906
+ },
907
+ {
908
+ "type": "text",
909
+ "text": "The semantic meaning and quantity information are important intrinsic properties of a math word problem. Aiming at dealing with uni-modal bias and achieve better generalization, we make the first attempt to propose a compositional MWP solver, $C$ -MWP. Multi-layer reasoning and specified training methods are leveraged to enhance the generalizability of the model. As the method could be applied in a broader range of neuro-symbolic learning problems, we will keep exploring the adaptiveness of this compositional encoding method.",
910
+ "bbox": [
911
+ 507,
912
+ 658,
913
+ 884,
914
+ 835
915
+ ],
916
+ "page_idx": 4
917
+ },
918
+ {
919
+ "type": "text",
920
+ "text": "Acknowledgement",
921
+ "text_level": 1,
922
+ "bbox": [
923
+ 509,
924
+ 846,
925
+ 672,
926
+ 862
927
+ ],
928
+ "page_idx": 4
929
+ },
930
+ {
931
+ "type": "text",
932
+ "text": "The research work is partially supported by the Internal Asia Research Collaboration Grant, University of Notre Dame.",
933
+ "bbox": [
934
+ 507,
935
+ 871,
936
+ 882,
937
+ 917
938
+ ],
939
+ "page_idx": 4
940
+ },
941
+ {
942
+ "type": "page_number",
943
+ "text": "10012",
944
+ "bbox": [
945
+ 477,
946
+ 927,
947
+ 524,
948
+ 940
949
+ ],
950
+ "page_idx": 4
951
+ },
952
+ {
953
+ "type": "text",
954
+ "text": "Limitations",
955
+ "text_level": 1,
956
+ "bbox": [
957
+ 114,
958
+ 84,
959
+ 211,
960
+ 98
961
+ ],
962
+ "page_idx": 5
963
+ },
964
+ {
965
+ "type": "text",
966
+ "text": "Explainability Most current MWP solvers are only able to generate solutions. In our work, although we achieved better generalization ability, it is still hard to explain how the model solves MwPs both correctly or incorrectly. These automated solvers would be much more helpful for tutoring students if they could explain their equation solutions by generating reasoning steps.",
967
+ "bbox": [
968
+ 112,
969
+ 105,
970
+ 489,
971
+ 235
972
+ ],
973
+ "page_idx": 5
974
+ },
975
+ {
976
+ "type": "text",
977
+ "text": "References",
978
+ "text_level": 1,
979
+ "bbox": [
980
+ 115,
981
+ 260,
982
+ 213,
983
+ 275
984
+ ],
985
+ "page_idx": 5
986
+ },
987
+ {
988
+ "type": "list",
989
+ "sub_type": "ref_text",
990
+ "list_items": [
991
+ "Aida Amini, Saadia Gabriel, Shanchuan Lin, Rik Koncel-Kedziorski, Yejin Choi, and Hannaneh Hajishirzi. 2019. Mathqa: Towards interpretable math word problem solving with operation-based formalisms. In NAACL, pages 2357-2367.",
992
+ "Xinyun Chen, Chen Liang, Adams Wei Yu, Dawn Song, and Denny Zhou. 2020. Compositional generalization via neural-symbolic stack machines. NeurIPS, 33:1690-1701.",
993
+ "Kyunghyun Cho, Bart van Merrienboer, Caglar Gulcehre, Dzmitry Bahdanau, Fethi Bougares, Holger Schwenk, and Yoshua Bengio. 2014. Learning phrase representations using rnn encoder-decoder for statistical machine translation. In EMNLP, pages 1724-1734.",
994
+ "Shifeng Huang, Jiawei Wang, Jiao Xu, Da Cao, and Ming Yang. 2021. Recall and learn: A memory-augmented solver for math word problems. In Findings of EMNLP, pages 786-796.",
995
+ "Zhanming Jie, Jierui Li, and Wei Lu. 2022. Learning to reason deductively: Math word problem solving as complex relation extraction. In ACL, pages 5944-5955.",
996
+ "Rik Koncel-Kedziorski, Hannaneh Hajishirzi, Ashish Sabharwal, Oren Etzioni, and Siena Dumas Ang. 2015. Parsing algebraic word problems into equations. ACL, 3:585-597.",
997
+ "Rik Koncel-Kedziorski, Subhro Roy, Aida Amini, Nate Kushman, and Hannaneh Hajishirzi. 2016. Mawps: A math word problem repository. In NAACL, pages 1152-1157.",
998
+ "Yihuai Lan, Lei Wang, Qiyuan Zhang, Yunshi Lan, Bing Tian Dai, Yan Wang, Dongxiang Zhang, and Ee-Peng Lim. 2022. Mwptoolkit: An open-source framework for deep learning-based math word problem solvers. In AAAI, volume 36, pages 13188-13190.",
999
+ "Jierui Li, Lei Wang, Jipeng Zhang, Yan Wang, Bing Tian Dai, and Dongxiang Zhang. 2019. Modeling intra-relation in math word problems with different functional multi-head attentions. In ACL, pages 6162-6167."
1000
+ ],
1001
+ "bbox": [
1002
+ 115,
1003
+ 282,
1004
+ 489,
1005
+ 917
1006
+ ],
1007
+ "page_idx": 5
1008
+ },
1009
+ {
1010
+ "type": "list",
1011
+ "sub_type": "ref_text",
1012
+ "list_items": [
1013
+ "Zhongli Li, Wenxuan Zhang, Chao Yan, Qingyu Zhou, Chao Li, Hongzhi Liu, and Yunbo Cao. 2021. Seeking patterns, not just memorizing procedures: Contrastive learning for solving math word problems. arXiv preprint arXiv:2110.08464.",
1014
+ "Zhenwen Liang, Jipeng Zhang, Lei Wang, Wei Qin, Yunshi Lan, Jie Shao, and Xiangliang Zhang. 2022. MWP-BERT: Numeracy-augmented pre-training for math word problem solving. In *Findings of NAACL*, pages 997-1009.",
1015
+ "Zhenwen Liang and Xiangliang Zhang. 2021. Solving math word problems with teacher supervision. In *IJCAI*, pages 3522-3528.",
1016
+ "Xin Lin, Zhenya Huang, Hongke Zhao, Enhong Chen, Qi Liu, Hao Wang, and Shijin Wang. 2021. Hms: A hierarchical solver with dependency-enhanced understanding for math word problem. In AAAI, pages 4232-4240.",
1017
+ "Qianying Liu, Wenyv Guan, Sujian Li, and Daisuke Kawahara. 2019. Tree-structured decoding for solving math word problems. In EMNLP, pages 2370-2379.",
1018
+ "Shen-Yun Miao, Chao-Chun Liang, and Keh-Yih Su. 2020. A diverse corpus for evaluating and developing english math word problem solvers. In ACL, pages 975-984.",
1019
+ "Jianhao Shen, Yichun Yin, Lin Li, Lifeng Shang, Xin Jiang, Ming Zhang, and Qun Liu. 2021. Generate & rank: A multi-task framework for math word problems. In EMNLP, pages 2269-2279.",
1020
+ "Yibin Shen and Cheqing Jin. 2020. Solving math word problems with multi-encoders and multi-decoders. In COLING, pages 2924-2934.",
1021
+ "Yan Wang, Xiaojiang Liu, and Shuming Shi. 2017. Deep neural solver for math word problems. In EMNLP, pages 845-854.",
1022
+ "Charles Welch, Jonathan K Kummerfeld, Verónica Pérez-Rosas, and Rada Mihalcea. 2020. Compositional demographic word embeddings. In EMNLP, pages 4076-4089.",
1023
+ "Francis CK Wong and William SY Wang. 2007. Generalisation towards combinatorial productivity in language acquisition by simple recurrent networks. In 2007 International Conference on Integration of Knowledge Intensive Multi-Agent Systems, pages 139-144. IEEE.",
1024
+ "Qinzhuo Wu, Qi Zhang, and Zhongyu Wei. 2021a. An edge-enhanced hierarchical graph-to-tree network for math word problem solving. In *Findings of EMNLP*, pages 1473–1482.",
1025
+ "Qinzhuo Wu, Qi Zhang, Zhongyu Wei, and Xuanjing Huang. 2021b. Math word problem solving with explicit numerical values. In ACL, pages 5859-5869."
1026
+ ],
1027
+ "bbox": [
1028
+ 510,
1029
+ 85,
1030
+ 884,
1031
+ 917
1032
+ ],
1033
+ "page_idx": 5
1034
+ },
1035
+ {
1036
+ "type": "page_number",
1037
+ "text": "10013",
1038
+ "bbox": [
1039
+ 477,
1040
+ 927,
1041
+ 524,
1042
+ 940
1043
+ ],
1044
+ "page_idx": 5
1045
+ },
1046
+ {
1047
+ "type": "text",
1048
+ "text": "Zhipeng Xie and Shichao Sun. 2019. A goal-driven tree-structured neural model for math word problems. In *IJCAI*, pages 5299–5305.",
1049
+ "bbox": [
1050
+ 114,
1051
+ 85,
1052
+ 489,
1053
+ 124
1054
+ ],
1055
+ "page_idx": 6
1056
+ },
1057
+ {
1058
+ "type": "text",
1059
+ "text": "Jingfeng Yang, Le Zhang, and Diyi Yang. 2022. SUBS: Subtree substitution for compositional semantic parsing. In *NAACN*, pages 169–174, Seattle, United States. Association for Computational Linguistics.",
1060
+ "bbox": [
1061
+ 114,
1062
+ 135,
1063
+ 489,
1064
+ 202
1065
+ ],
1066
+ "page_idx": 6
1067
+ },
1068
+ {
1069
+ "type": "text",
1070
+ "text": "Weijiang Yu, Yingpeng Wen, Fudan Zheng, and Nong Xiao. 2021. Improving math word problems with pre-trained knowledge and hierarchical reasoning. In EMNLP, pages 3384-3394.",
1071
+ "bbox": [
1072
+ 114,
1073
+ 211,
1074
+ 487,
1075
+ 263
1076
+ ],
1077
+ "page_idx": 6
1078
+ },
1079
+ {
1080
+ "type": "text",
1081
+ "text": "Jipeng Zhang, Lei Wang, Roy Ka-Wei Lee, Yi Bin, Yan Wang, Jie Shao, and Ee-Peng Lim. 2020. Graph-to-tree learning for solving math word problems. In ACL, pages 3928-3937.",
1082
+ "bbox": [
1083
+ 114,
1084
+ 275,
1085
+ 489,
1086
+ 328
1087
+ ],
1088
+ "page_idx": 6
1089
+ },
1090
+ {
1091
+ "type": "text",
1092
+ "text": "Appendix",
1093
+ "text_level": 1,
1094
+ "bbox": [
1095
+ 114,
1096
+ 341,
1097
+ 203,
1098
+ 357
1099
+ ],
1100
+ "page_idx": 6
1101
+ },
1102
+ {
1103
+ "type": "text",
1104
+ "text": "Implementation Details",
1105
+ "text_level": 1,
1106
+ "bbox": [
1107
+ 114,
1108
+ 367,
1109
+ 302,
1110
+ 382
1111
+ ],
1112
+ "page_idx": 6
1113
+ },
1114
+ {
1115
+ "type": "text",
1116
+ "text": "We train our model on an NVIDIA RTX 2080Ti GPU, all implementation of training and testing is coded in Python with Pytorch framework. For our RNN-based model, 2 CMEncoders are stacked and only 1 CMEncoder is used in the PLM-based model. The size of hidden dimensions in encoders and decoders are set to 512 and 768 for RNN-solver and PLM-solver, respectively. Each GCN block has 2 GraphConv layers and each GNN encoder has 4 heads of GCN blocks. During training, Adam optimizer is applied with the initial learning rates of 0.001/0.00003 for RNN/PLM, which would be halved every 30 epochs. During testing, we use a 5-beam search to get reasonable solutions. We also apply Gaussian noise with mean 0 and variance 1 on the embedding result during training. This simple operation can help models to learn more robust parameters. Through grid search at 0.1 level, the noise is multiplied by 0.2 to achieve the best performance.",
1117
+ "bbox": [
1118
+ 112,
1119
+ 387,
1120
+ 489,
1121
+ 709
1122
+ ],
1123
+ "page_idx": 6
1124
+ },
1125
+ {
1126
+ "type": "text",
1127
+ "text": "Hyper-Parameter Tuning",
1128
+ "text_level": 1,
1129
+ "bbox": [
1130
+ 114,
1131
+ 721,
1132
+ 319,
1133
+ 737
1134
+ ],
1135
+ "page_idx": 6
1136
+ },
1137
+ {
1138
+ "type": "text",
1139
+ "text": "In general, we apply grid-search with manually designed search space and use answer accuracy as the evaluation metric to select the hyper-parameters. For the number of stacked encoders, the search space is $\\{1,2,3,4\\}$ and we finally use 2. For the weight of $L_{2}$ normalization loss, we choose weight 1 from $\\{0.01,0.1,1,5,10\\}$ . The weight of random noise 0.2 is selected from 0.1 level by grid search with range 0 to 1. We also tune the beam size of beam search from $\\{3,4,5,6,7\\}$ and choose 5. The dropout probability 0.5 is selected from",
1140
+ "bbox": [
1141
+ 112,
1142
+ 741,
1143
+ 489,
1144
+ 917
1145
+ ],
1146
+ "page_idx": 6
1147
+ },
1148
+ {
1149
+ "type": "table",
1150
+ "img_path": "images/54bc66a762036dba326a22f8d89999fbbdbed38a36e64680663e888a3524d2da.jpg",
1151
+ "table_caption": [],
1152
+ "table_footnote": [],
1153
+ "table_body": "<table><tr><td></td><td>K = 1</td><td>K = 2</td><td>K = 3</td><td>K = 4</td></tr><tr><td>C-MWP (RNN)</td><td>79.1</td><td>80.3</td><td>78.9</td><td>78.1</td></tr><tr><td>C-MWP (PLM)</td><td>86.1</td><td>85.9</td><td>85.2</td><td>85.1</td></tr></table>",
1154
+ "bbox": [
1155
+ 531,
1156
+ 80,
1157
+ 862,
1158
+ 143
1159
+ ],
1160
+ "page_idx": 6
1161
+ },
1162
+ {
1163
+ "type": "text",
1164
+ "text": "Table 4: Accuracies across different numbers of stacked CMEncoder on Math23k.",
1165
+ "bbox": [
1166
+ 507,
1167
+ 153,
1168
+ 882,
1169
+ 181
1170
+ ],
1171
+ "page_idx": 6
1172
+ },
1173
+ {
1174
+ "type": "text",
1175
+ "text": "$\\{0.1, 0.3, 0.5, 0.7\\}$ . Initial learning rate 0.001 is selected from $\\{0.01, 0.001, 0.0001\\}$ . For the hidden size and embedding size in encoder, we select 256 from $\\{64, 128, 256, 512\\}$ .",
1176
+ "bbox": [
1177
+ 507,
1178
+ 208,
1179
+ 882,
1180
+ 272
1181
+ ],
1182
+ "page_idx": 6
1183
+ },
1184
+ {
1185
+ "type": "text",
1186
+ "text": "Variance and Significance Evaluation",
1187
+ "text_level": 1,
1188
+ "bbox": [
1189
+ 509,
1190
+ 284,
1191
+ 806,
1192
+ 299
1193
+ ],
1194
+ "page_idx": 6
1195
+ },
1196
+ {
1197
+ "type": "text",
1198
+ "text": "We evaluated our solver with 5-fold cross-validation and found that the accuracy of our RNN-based C-MWP $(0.779 \\pm 0.028)$ is significantly higher than Graph2Tree $(0.755 \\pm 0.016)$ $(p < 0.01)$ , and the accuracy of our PLM-based C-MWP $(0.845 \\pm 0.21)$ is significantly higher than vanilla MWP-BERT $(0.824 \\pm 0.016)$ $(p < 0.01)$ .",
1199
+ "bbox": [
1200
+ 507,
1201
+ 305,
1202
+ 882,
1203
+ 418
1204
+ ],
1205
+ "page_idx": 6
1206
+ },
1207
+ {
1208
+ "type": "text",
1209
+ "text": "Sensitivity Analysis about Stacking Number K",
1210
+ "text_level": 1,
1211
+ "bbox": [
1212
+ 507,
1213
+ 430,
1214
+ 877,
1215
+ 445
1216
+ ],
1217
+ "page_idx": 6
1218
+ },
1219
+ {
1220
+ "type": "text",
1221
+ "text": "As we mentioned in Section 2.2, our CMEncoder can be stacked into multiple layers to improve the representation of an MWP. To obtain a better understanding about the hyperparameter K, i.e., the number of stacked CMEncoders, we conduct a sensitivity analysis in Table 4. We can see that the best K for RNN-encoder is 2, just like humans often need to make multiple glimpses to refine an MWP solution. In the meantime, the best K for PLM-based encoder is 1. The potential reason is that one pre-trained language model (PLM) already has an outstanding ability to encode texts. It is thus not necessary to apply another CMEncoder to refine the encoded features.",
1222
+ "bbox": [
1223
+ 507,
1224
+ 451,
1225
+ 882,
1226
+ 675
1227
+ ],
1228
+ "page_idx": 6
1229
+ },
1230
+ {
1231
+ "type": "text",
1232
+ "text": "Case Study",
1233
+ "text_level": 1,
1234
+ "bbox": [
1235
+ 509,
1236
+ 688,
1237
+ 603,
1238
+ 703
1239
+ ],
1240
+ "page_idx": 6
1241
+ },
1242
+ {
1243
+ "type": "text",
1244
+ "text": "Figure 3 shows generated solutions of two solved problems by GTS (Xie and Sun, 2019), Graph2Tree (Zhang et al., 2020), Multi-E/D (Shen and Jin, 2020) and our proposed C-MWP (RNN-Based). The first problem has 4 quantities and they are all useful, which means that it requires sufficient problem understanding and mathematical reasoning to generate the right answer. Both Graph2Tree and Multi-E/D which directly connect semantics modal and quantity modal fail to extract clear representations of the problem, finally resulting in unreasonable solutions which only contain 3 quantities. For the second problem, although Graph2Tree and",
1245
+ "bbox": [
1246
+ 507,
1247
+ 709,
1248
+ 884,
1249
+ 917
1250
+ ],
1251
+ "page_idx": 6
1252
+ },
1253
+ {
1254
+ "type": "page_number",
1255
+ "text": "10014",
1256
+ "bbox": [
1257
+ 477,
1258
+ 927,
1259
+ 524,
1260
+ 940
1261
+ ],
1262
+ "page_idx": 6
1263
+ },
1264
+ {
1265
+ "type": "image",
1266
+ "img_path": "images/301334b5270e7ff6bc751ca3b631cf30c4a4051d05e20b057034b14c68b75ecf.jpg",
1267
+ "image_caption": [
1268
+ "Figure 3: Case study from Math23k"
1269
+ ],
1270
+ "image_footnote": [],
1271
+ "bbox": [
1272
+ 134,
1273
+ 80,
1274
+ 860,
1275
+ 292
1276
+ ],
1277
+ "page_idx": 7
1278
+ },
1279
+ {
1280
+ "type": "table",
1281
+ "img_path": "images/0be23824859015f785577dfcc534cff872ab23d198c861d9583f560886848a30.jpg",
1282
+ "table_caption": [],
1283
+ "table_footnote": [],
1284
+ "table_body": "<table><tr><td></td><td>Overall</td><td>Story</td><td>Algebra</td><td>Knowledge</td></tr><tr><td>train</td><td>21,162</td><td>17,546</td><td>2,595</td><td>957</td></tr><tr><td>val</td><td>1,000</td><td>817</td><td>133</td><td>50</td></tr><tr><td>test</td><td>1,000</td><td>842</td><td>116</td><td>42</td></tr></table>",
1285
+ "bbox": [
1286
+ 137,
1287
+ 338,
1288
+ 463,
1289
+ 419
1290
+ ],
1291
+ "page_idx": 7
1292
+ },
1293
+ {
1294
+ "type": "text",
1295
+ "text": "Table 5: Statistics of different types of problems in Math23k.",
1296
+ "bbox": [
1297
+ 112,
1298
+ 429,
1299
+ 487,
1300
+ 458
1301
+ ],
1302
+ "page_idx": 7
1303
+ },
1304
+ {
1305
+ "type": "text",
1306
+ "text": "Multi-E/D utilize all 3 quantities in the problem description, they still fail to generate a plausible solution. These two cases show that our proposed encoder is able to extract more comprehensive representations from problem descriptions, eventually guiding the decoder to generate the correct solutions.",
1307
+ "bbox": [
1308
+ 112,
1309
+ 483,
1310
+ 489,
1311
+ 594
1312
+ ],
1313
+ "page_idx": 7
1314
+ },
1315
+ {
1316
+ "type": "text",
1317
+ "text": "MWPs in Different Categories",
1318
+ "text_level": 1,
1319
+ "bbox": [
1320
+ 114,
1321
+ 607,
1322
+ 356,
1323
+ 621
1324
+ ],
1325
+ "page_idx": 7
1326
+ },
1327
+ {
1328
+ "type": "text",
1329
+ "text": "Figure 1 shows the MWP examples of \"Story Problem\", \"Algebra Problem\" and \"Knowledge Problem\". \"Story Problem\" often includes a significant amount of background information like characters, objectives and behaviors. \"Algebra Problems\" involves math notations or is composed of elementary concepts. \"Knowledge Problem\" asks for external knowledge like geometry and number sequence. The category of each problem is determined based on keywords. The keywords of \"Story\" and \"Knowledge\" problems are selected from the appendix of (Liu et al., 2019). Inspired by them, we categorize Math23k into 3 subsets - story, algebra, and knowledge. The statistics of these problems are shown in Table 5.",
1330
+ "bbox": [
1331
+ 112,
1332
+ 627,
1333
+ 489,
1334
+ 866
1335
+ ],
1336
+ "page_idx": 7
1337
+ },
1338
+ {
1339
+ "type": "page_number",
1340
+ "text": "10015",
1341
+ "bbox": [
1342
+ 477,
1343
+ 927,
1344
+ 524,
1345
+ 940
1346
+ ],
1347
+ "page_idx": 7
1348
+ },
1349
+ {
1350
+ "type": "text",
1351
+ "text": "A For every submission:",
1352
+ "text_level": 1,
1353
+ "bbox": [
1354
+ 114,
1355
+ 107,
1356
+ 322,
1357
+ 122
1358
+ ],
1359
+ "page_idx": 8
1360
+ },
1361
+ {
1362
+ "type": "text",
1363
+ "text": "A1. Did you describe the limitations of your work?",
1364
+ "bbox": [
1365
+ 127,
1366
+ 127,
1367
+ 532,
1368
+ 143
1369
+ ],
1370
+ "page_idx": 8
1371
+ },
1372
+ {
1373
+ "type": "text",
1374
+ "text": "Left blank.",
1375
+ "bbox": [
1376
+ 149,
1377
+ 143,
1378
+ 231,
1379
+ 159
1380
+ ],
1381
+ "page_idx": 8
1382
+ },
1383
+ {
1384
+ "type": "text",
1385
+ "text": "A2. Did you discuss any potential risks of your work?",
1386
+ "bbox": [
1387
+ 127,
1388
+ 170,
1389
+ 552,
1390
+ 186
1391
+ ],
1392
+ "page_idx": 8
1393
+ },
1394
+ {
1395
+ "type": "text",
1396
+ "text": "Left blank.",
1397
+ "bbox": [
1398
+ 149,
1399
+ 187,
1400
+ 231,
1401
+ 200
1402
+ ],
1403
+ "page_idx": 8
1404
+ },
1405
+ {
1406
+ "type": "text",
1407
+ "text": "A3. Do the abstract and introduction summarize the paper's main claims?",
1408
+ "bbox": [
1409
+ 127,
1410
+ 212,
1411
+ 695,
1412
+ 229
1413
+ ],
1414
+ "page_idx": 8
1415
+ },
1416
+ {
1417
+ "type": "text",
1418
+ "text": "Left blank.",
1419
+ "bbox": [
1420
+ 149,
1421
+ 230,
1422
+ 231,
1423
+ 244
1424
+ ],
1425
+ "page_idx": 8
1426
+ },
1427
+ {
1428
+ "type": "text",
1429
+ "text": "□ A4. Have you used AI writing assistants when working on this paper?",
1430
+ "bbox": [
1431
+ 127,
1432
+ 255,
1433
+ 668,
1434
+ 272
1435
+ ],
1436
+ "page_idx": 8
1437
+ },
1438
+ {
1439
+ "type": "text",
1440
+ "text": "Left blank.",
1441
+ "bbox": [
1442
+ 149,
1443
+ 273,
1444
+ 231,
1445
+ 287
1446
+ ],
1447
+ "page_idx": 8
1448
+ },
1449
+ {
1450
+ "type": "text",
1451
+ "text": "B Did you use or create scientific artifacts?",
1452
+ "text_level": 1,
1453
+ "bbox": [
1454
+ 114,
1455
+ 300,
1456
+ 490,
1457
+ 316
1458
+ ],
1459
+ "page_idx": 8
1460
+ },
1461
+ {
1462
+ "type": "text",
1463
+ "text": "Left blank.",
1464
+ "bbox": [
1465
+ 132,
1466
+ 321,
1467
+ 215,
1468
+ 336
1469
+ ],
1470
+ "page_idx": 8
1471
+ },
1472
+ {
1473
+ "type": "text",
1474
+ "text": "B1. Did you cite the creators of artifacts you used?",
1475
+ "bbox": [
1476
+ 127,
1477
+ 347,
1478
+ 529,
1479
+ 363
1480
+ ],
1481
+ "page_idx": 8
1482
+ },
1483
+ {
1484
+ "type": "text",
1485
+ "text": "Left blank.",
1486
+ "bbox": [
1487
+ 149,
1488
+ 363,
1489
+ 231,
1490
+ 379
1491
+ ],
1492
+ "page_idx": 8
1493
+ },
1494
+ {
1495
+ "type": "text",
1496
+ "text": "B2. Did you discuss the license or terms for use and / or distribution of any artifacts?",
1497
+ "bbox": [
1498
+ 127,
1499
+ 390,
1500
+ 778,
1501
+ 406
1502
+ ],
1503
+ "page_idx": 8
1504
+ },
1505
+ {
1506
+ "type": "text",
1507
+ "text": "Left blank.",
1508
+ "bbox": [
1509
+ 149,
1510
+ 407,
1511
+ 231,
1512
+ 422
1513
+ ],
1514
+ "page_idx": 8
1515
+ },
1516
+ {
1517
+ "type": "text",
1518
+ "text": "B3. Did you discuss if your use of existing artifact(s) was consistent with their intended use, provided that it was specified? For the artifacts you create, do you specify intended use and whether that is compatible with the original access conditions (in particular, derivatives of data accessed for research purposes should not be used outside of research contexts)?",
1519
+ "bbox": [
1520
+ 127,
1521
+ 432,
1522
+ 880,
1523
+ 495
1524
+ ],
1525
+ "page_idx": 8
1526
+ },
1527
+ {
1528
+ "type": "text",
1529
+ "text": "Left blank.",
1530
+ "bbox": [
1531
+ 149,
1532
+ 498,
1533
+ 231,
1534
+ 513
1535
+ ],
1536
+ "page_idx": 8
1537
+ },
1538
+ {
1539
+ "type": "text",
1540
+ "text": "B4. Did you discuss the steps taken to check whether the data that was collected / used contains any information that names or uniquely identifies individual people or offensive content, and the steps taken to protect / anonymize it?",
1541
+ "bbox": [
1542
+ 127,
1543
+ 524,
1544
+ 880,
1545
+ 571
1546
+ ],
1547
+ "page_idx": 8
1548
+ },
1549
+ {
1550
+ "type": "text",
1551
+ "text": "Left blank.",
1552
+ "bbox": [
1553
+ 149,
1554
+ 573,
1555
+ 231,
1556
+ 588
1557
+ ],
1558
+ "page_idx": 8
1559
+ },
1560
+ {
1561
+ "type": "text",
1562
+ "text": "B5. Did you provide documentation of the artifacts, e.g., coverage of domains, languages, and linguistic phenomena, demographic groups represented, etc.?",
1563
+ "bbox": [
1564
+ 127,
1565
+ 599,
1566
+ 880,
1567
+ 631
1568
+ ],
1569
+ "page_idx": 8
1570
+ },
1571
+ {
1572
+ "type": "text",
1573
+ "text": "Left blank.",
1574
+ "bbox": [
1575
+ 149,
1576
+ 632,
1577
+ 231,
1578
+ 646
1579
+ ],
1580
+ "page_idx": 8
1581
+ },
1582
+ {
1583
+ "type": "text",
1584
+ "text": "B6. Did you report relevant statistics like the number of examples, details of train / test / dev splits, etc. for the data that you used / created? Even for commonly-used benchmark datasets, include the number of examples in train / validation / test splits, as these provide necessary context for a reader to understand experimental results. For example, small differences in accuracy on large test sets may be significant, while on small test sets they may not be.",
1585
+ "bbox": [
1586
+ 127,
1587
+ 658,
1588
+ 880,
1589
+ 739
1590
+ ],
1591
+ "page_idx": 8
1592
+ },
1593
+ {
1594
+ "type": "text",
1595
+ "text": "Left blank.",
1596
+ "bbox": [
1597
+ 149,
1598
+ 740,
1599
+ 231,
1600
+ 753
1601
+ ],
1602
+ "page_idx": 8
1603
+ },
1604
+ {
1605
+ "type": "text",
1606
+ "text": "C Did you run computational experiments?",
1607
+ "text_level": 1,
1608
+ "bbox": [
1609
+ 114,
1610
+ 765,
1611
+ 495,
1612
+ 781
1613
+ ],
1614
+ "page_idx": 8
1615
+ },
1616
+ {
1617
+ "type": "text",
1618
+ "text": "Left blank.",
1619
+ "bbox": [
1620
+ 132,
1621
+ 785,
1622
+ 215,
1623
+ 801
1624
+ ],
1625
+ "page_idx": 8
1626
+ },
1627
+ {
1628
+ "type": "text",
1629
+ "text": "C1. Did you report the number of parameters in the models used, the total computational budget (e.g., GPU hours), and computing infrastructure used?",
1630
+ "bbox": [
1631
+ 127,
1632
+ 813,
1633
+ 880,
1634
+ 845
1635
+ ],
1636
+ "page_idx": 8
1637
+ },
1638
+ {
1639
+ "type": "text",
1640
+ "text": "Left blank.",
1641
+ "bbox": [
1642
+ 149,
1643
+ 846,
1644
+ 231,
1645
+ 860
1646
+ ],
1647
+ "page_idx": 8
1648
+ },
1649
+ {
1650
+ "type": "text",
1651
+ "text": "The Responsible NLP Checklist used at ACL 2023 is adopted from NAACL 2022, with the addition of a question on AI writing assistance.",
1652
+ "bbox": [
1653
+ 112,
1654
+ 868,
1655
+ 877,
1656
+ 892
1657
+ ],
1658
+ "page_idx": 8
1659
+ },
1660
+ {
1661
+ "type": "header",
1662
+ "text": "ACL 2023 Responsible NLP Checklist",
1663
+ "bbox": [
1664
+ 132,
1665
+ 84,
1666
+ 433,
1667
+ 99
1668
+ ],
1669
+ "page_idx": 8
1670
+ },
1671
+ {
1672
+ "type": "page_number",
1673
+ "text": "10016",
1674
+ "bbox": [
1675
+ 477,
1676
+ 928,
1677
+ 524,
1678
+ 940
1679
+ ],
1680
+ "page_idx": 8
1681
+ },
1682
+ {
1683
+ "type": "list",
1684
+ "sub_type": "text",
1685
+ "list_items": [
1686
+ "C2. Did you discuss the experimental setup, including hyperparameter search and best-found hyperparameter values? Left blank.",
1687
+ "C3. Did you report descriptive statistics about your results (e.g., error bars around results, summary statistics from sets of experiments), and is it transparent whether you are reporting the max, mean, etc. or just a single run? Left blank.",
1688
+ "C4. If you used existing packages (e.g., for preprocessing, for normalization, or for evaluation), did you report the implementation, model, and parameter settings used (e.g., NLTK, Spacy, ROUGE, etc.)? Left blank."
1689
+ ],
1690
+ "bbox": [
1691
+ 127,
1692
+ 84,
1693
+ 880,
1694
+ 282
1695
+ ],
1696
+ "page_idx": 9
1697
+ },
1698
+ {
1699
+ "type": "text",
1700
+ "text": "D Did you use human annotators (e.g., crowdworkers) or research with human participants?",
1701
+ "text_level": 1,
1702
+ "bbox": [
1703
+ 114,
1704
+ 293,
1705
+ 877,
1706
+ 309
1707
+ ],
1708
+ "page_idx": 9
1709
+ },
1710
+ {
1711
+ "type": "text",
1712
+ "text": "Left blank.",
1713
+ "bbox": [
1714
+ 132,
1715
+ 313,
1716
+ 213,
1717
+ 329
1718
+ ],
1719
+ "page_idx": 9
1720
+ },
1721
+ {
1722
+ "type": "list",
1723
+ "sub_type": "text",
1724
+ "list_items": [
1725
+ "D1. Did you report the full text of instructions given to participants, including e.g., screenshots, disclaimers of any risks to participants or annotators, etc.? Left blank.",
1726
+ "D2. Did you report information about how you recruited (e.g., crowdsourcing platform, students) and paid participants, and discuss if such payment is adequate given the participants' demographic (e.g., country of residence)? Left blank.",
1727
+ "D3. Did you discuss whether and how consent was obtained from people whose data you're using/curating? For example, if you collected data via crowdsourcing, did your instructions to crowdworkers explain how the data would be used? Left blank.",
1728
+ "D4. Was the data collection protocol approved (or determined exempt) by an ethics review board? Left blank.",
1729
+ "D5. Did you report the basic demographic and geographic characteristics of the annotator population that is the source of the data? Left blank."
1730
+ ],
1731
+ "bbox": [
1732
+ 127,
1733
+ 340,
1734
+ 880,
1735
+ 640
1736
+ ],
1737
+ "page_idx": 9
1738
+ },
1739
+ {
1740
+ "type": "page_number",
1741
+ "text": "10017",
1742
+ "bbox": [
1743
+ 477,
1744
+ 927,
1745
+ 524,
1746
+ 940
1747
+ ],
1748
+ "page_idx": 9
1749
+ }
1750
+ ]
2023/Compositional Mathematical Encoding for Math Word Problems/801bbb7b-d8b8-4c19-87bf-9a90de8c668a_model.json ADDED
@@ -0,0 +1,2046 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [
2
+ [
3
+ {
4
+ "type": "title",
5
+ "bbox": [
6
+ 0.162,
7
+ 0.09,
8
+ 0.837,
9
+ 0.112
10
+ ],
11
+ "angle": 0,
12
+ "content": "Compositional Mathematical Encoding for Math Word Problems"
13
+ },
14
+ {
15
+ "type": "text",
16
+ "bbox": [
17
+ 0.285,
18
+ 0.132,
19
+ 0.72,
20
+ 0.166
21
+ ],
22
+ "angle": 0,
23
+ "content": "Zhenwen Liang\\(^{1}\\), Jipeng Zhang\\(^{2}\\), Kehan Guo\\(^{1}\\), Xiaodong Wu\\(^{3}\\), Jie Shao\\(^{4}\\), and Xiangliang Zhang\\(^{\\boxtimes 1}\\)"
24
+ },
25
+ {
26
+ "type": "text",
27
+ "bbox": [
28
+ 0.13,
29
+ 0.179,
30
+ 0.871,
31
+ 0.248
32
+ ],
33
+ "angle": 0,
34
+ "content": "<sup>1</sup>University of Notre Dame, {zliang6, kguo2, xzhang33}@nd.edu \n<sup>2</sup>Hong Kong University of Science and Technology, jzhanggr@connect.ust.hk \n<sup>3</sup>Queen's University, 22hd17@queensu.ca \n<sup>4</sup>University of Electronic Science and Technology of China, shaojie@uestc.edu.cn"
35
+ },
36
+ {
37
+ "type": "title",
38
+ "bbox": [
39
+ 0.261,
40
+ 0.287,
41
+ 0.341,
42
+ 0.302
43
+ ],
44
+ "angle": 0,
45
+ "content": "Abstract"
46
+ },
47
+ {
48
+ "type": "text",
49
+ "bbox": [
50
+ 0.142,
51
+ 0.309,
52
+ 0.461,
53
+ 0.566
54
+ ],
55
+ "angle": 0,
56
+ "content": "Solving math word problem (MWP) remains a challenging task, as it requires to understand both the semantic meanings of the text and the mathematical logic among quantities, i.e., for both semantics modal and quantity modal learning. Current MWP encoders work in a uni-modal setting and map the given problem description to a latent representation, then for decoding. The generalizability of these MWP encoders is thus limited because some problems are semantics-demanding and others are quantity-demanding. To address this problem, we propose a Compositional Math Word Problem Solver (C-MWP) which works in a bimodal setting encoding in an interactive way. Extensive experiments validate the effectiveness of C-MWP and show its superiority over state-of-the-art models on public benchmarks."
57
+ },
58
+ {
59
+ "type": "title",
60
+ "bbox": [
61
+ 0.115,
62
+ 0.573,
63
+ 0.262,
64
+ 0.589
65
+ ],
66
+ "angle": 0,
67
+ "content": "1 Introduction"
68
+ },
69
+ {
70
+ "type": "text",
71
+ "bbox": [
72
+ 0.113,
73
+ 0.598,
74
+ 0.49,
75
+ 0.759
76
+ ],
77
+ "angle": 0,
78
+ "content": "The task of math word problem (MWP) solving aims to map natural language problem descriptions into executable solution equations to get the correct answer, which is a sub-area of neuro-symbolic reasoning. It requires perceptual abilities such as comprehending the question, identifying the quantities and corresponding attributes, as well as complex semantics understanding skills like performing logical inference, making comparisons and leveraging external mathematical knowledge."
79
+ },
80
+ {
81
+ "type": "text",
82
+ "bbox": [
83
+ 0.113,
84
+ 0.759,
85
+ 0.49,
86
+ 0.92
87
+ ],
88
+ "angle": 0,
89
+ "content": "While MWP encoders have been sophisticatedly designed to understand the natural language problem description, the difference on understanding diverse types of problems has not been aware of. We find that MWP can generally be grouped into three categories based on the keywords in (Liu et al., 2019), i.e., \"Story Problem\", \"Algebra Problem\" and \"Knowledge Problem\". \"Story Problem\" often includes significant amount of background information like characters, objectives and behaviors."
90
+ },
91
+ {
92
+ "type": "text",
93
+ "bbox": [
94
+ 0.508,
95
+ 0.287,
96
+ 0.885,
97
+ 0.352
98
+ ],
99
+ "angle": 0,
100
+ "content": "\"Algebra Problems\" involves math notations or is composed of elementary concepts. \"Knowledge Problem\" asks for external knowledge like geometry and number sequence, as shown in Figure 1."
101
+ },
102
+ {
103
+ "type": "text",
104
+ "bbox": [
105
+ 0.508,
106
+ 0.362,
107
+ 0.885,
108
+ 0.716
109
+ ],
110
+ "angle": 0,
111
+ "content": "These types of problems can be compositionally understood at the different level attention to the semantics modal and quantity modal, where RNNs and pre-trained language models usually focus on the textual information and GCN with quantity-centered graphs capture the relationship between quantities and contexts. However, the encoders in existing MWP solvers either model only the semantics modality or utilize quantity modal priors to refine the MWP encoding (Zhang et al., 2020; Shen and Jin, 2020). Although the quantity centered refinement can particularly make improvements on quantity-demanding problems, its semantics understanding is weakened (evidence can be found in Table 3). This limitation, one joint modal cannot do it all, decreases the generalization of MWP solvers and is what compositional learning aims to address. In this work, we propose to disentangle semantics modal and quantity modal by compositional learning at the encoding stage, aiming to improve the generalization across different types of problems."
112
+ },
113
+ {
114
+ "type": "text",
115
+ "bbox": [
116
+ 0.508,
117
+ 0.759,
118
+ 0.887,
119
+ 0.92
120
+ ],
121
+ "angle": 0,
122
+ "content": "Contributions. (i) A novel and effective bimodal approach is proposed for the first time to enable MWP compositional understanding. (ii) A joint reasoning module is designed for our bimodal architectures to flexibly incorporate different modalities. (iii) Extensive experiments and ablative studies on two large-scale MWP benchmarks – Math23k (Wang et al., 2017) and MAwPS (Koncel-Kedziorski et al., 2016) show the superiority of the proposed approach over related works."
123
+ },
124
+ {
125
+ "type": "page_number",
126
+ "bbox": [
127
+ 0.477,
128
+ 0.928,
129
+ 0.526,
130
+ 0.941
131
+ ],
132
+ "angle": 0,
133
+ "content": "10008"
134
+ },
135
+ {
136
+ "type": "footer",
137
+ "bbox": [
138
+ 0.221,
139
+ 0.946,
140
+ 0.779,
141
+ 0.973
142
+ ],
143
+ "angle": 0,
144
+ "content": "Findings of the Association for Computational Linguistics: ACL 2023, pages 10008-10017 July 9-14, 2023 ©2023 Association for Computational Linguistics"
145
+ }
146
+ ],
147
+ [
148
+ {
149
+ "type": "image",
150
+ "bbox": [
151
+ 0.118,
152
+ 0.085,
153
+ 0.885,
154
+ 0.358
155
+ ],
156
+ "angle": 0,
157
+ "content": null
158
+ },
159
+ {
160
+ "type": "image_caption",
161
+ "bbox": [
162
+ 0.267,
163
+ 0.368,
164
+ 0.729,
165
+ 0.384
166
+ ],
167
+ "angle": 0,
168
+ "content": "Figure 1: Examples of different types of problems in MWP solving."
169
+ },
170
+ {
171
+ "type": "title",
172
+ "bbox": [
173
+ 0.114,
174
+ 0.407,
175
+ 0.271,
176
+ 0.423
177
+ ],
178
+ "angle": 0,
179
+ "content": "2 Related Work"
180
+ },
181
+ {
182
+ "type": "text",
183
+ "bbox": [
184
+ 0.113,
185
+ 0.437,
186
+ 0.49,
187
+ 0.678
188
+ ],
189
+ "angle": 0,
190
+ "content": "Compositional Learning in NLP. Modeling compositionality in language has been a longstanding issue (Wong and Wang, 2007) in NLP community. One common practice is to perform disentanglement over language representations at different levels (Welch et al., 2020). They usually focus on atomic semantics units like character, word and phrase. As logic form annotations naturally own compositional features, compositionality is incorporated in generating correct logic contents. Therefore, the compositionality is often injected into traditional semantic parsing tasks (Chen et al., 2020; Yang et al., 2022) where the goals during training can be decomposed and then reorganized as a novel goal."
191
+ },
192
+ {
193
+ "type": "text",
194
+ "bbox": [
195
+ 0.113,
196
+ 0.68,
197
+ 0.49,
198
+ 0.761
199
+ ],
200
+ "angle": 0,
201
+ "content": "Our work firstly tries to inject compositional prior into MWP encoding. It is worth noting that MWP solving owns the same well-organized logic form annotations as machine reasoning, which naturally requires compositionality."
202
+ },
203
+ {
204
+ "type": "text",
205
+ "bbox": [
206
+ 0.113,
207
+ 0.775,
208
+ 0.494,
209
+ 0.921
210
+ ],
211
+ "angle": 0,
212
+ "content": "Math Word Problem Solving. Earlier MWP solvers parse problem descriptions semantically, and learn templates for generating answers (Koncel-Kedziorski et al., 2015). Recent works (Wang et al., 2017; Xie and Sun, 2019; Li et al., 2019; Zhang et al., 2020; Shen and Jin, 2020; Wu et al., 2021b,a; Lin et al., 2021; Liang and Zhang, 2021; Jie et al., 2022) focus on employing the encoder-decoder framework (e.g., sequence-to-sequence,"
213
+ },
214
+ {
215
+ "type": "text",
216
+ "bbox": [
217
+ 0.508,
218
+ 0.409,
219
+ 0.885,
220
+ 0.617
221
+ ],
222
+ "angle": 0,
223
+ "content": "sequence-to-tree, graph-to-tree) to translate MWP texts into equations based on traditional RNN structure. There are also new settings (Amini et al., 2019; Miao et al., 2020) introduced to extend MWP solving in equation group generation and diagnosing awareness of external knowledge. Nowadays, many researchers build strong MWP solvers upon pre-trained language models (PLMs) (Huang et al., 2021; Li et al., 2021; Yu et al., 2021; Shen et al., 2021; Lan et al., 2022) and have achieved great performance. Differently, our work lays the groundwork of feature extraction of quantity modal, which is orthogonal to those works."
224
+ },
225
+ {
226
+ "type": "text",
227
+ "bbox": [
228
+ 0.508,
229
+ 0.618,
230
+ 0.884,
231
+ 0.714
232
+ ],
233
+ "angle": 0,
234
+ "content": "In this work, we not only propose an explicit compositional encoding module with a multi-layer design, but also incorporate detailed analysis to verify its compositional learning ability, to jointly leverage semantic and quantity information to achieve effective MWP understanding."
235
+ },
236
+ {
237
+ "type": "title",
238
+ "bbox": [
239
+ 0.509,
240
+ 0.727,
241
+ 0.669,
242
+ 0.743
243
+ ],
244
+ "angle": 0,
245
+ "content": "3 Our approach"
246
+ },
247
+ {
248
+ "type": "title",
249
+ "bbox": [
250
+ 0.509,
251
+ 0.754,
252
+ 0.857,
253
+ 0.769
254
+ ],
255
+ "angle": 0,
256
+ "content": "3.1 Compositional Mathematical Encoder"
257
+ },
258
+ {
259
+ "type": "text",
260
+ "bbox": [
261
+ 0.508,
262
+ 0.775,
263
+ 0.885,
264
+ 0.92
265
+ ],
266
+ "angle": 0,
267
+ "content": "As shown in Figure 2, our CMEncoder block consists of a semantic encoder, a quantity encoder and a dynamic fusion block. The semantic encoder aims to extract semantic information from the problem description, understanding the background and objectives. The latter part encodes problems only with quantity-related graphs, helping the encoder to know the properties of quantities and the relationship between quantities and contexts."
268
+ },
269
+ {
270
+ "type": "page_number",
271
+ "bbox": [
272
+ 0.478,
273
+ 0.928,
274
+ 0.526,
275
+ 0.941
276
+ ],
277
+ "angle": 0,
278
+ "content": "10009"
279
+ }
280
+ ],
281
+ [
282
+ {
283
+ "type": "image",
284
+ "bbox": [
285
+ 0.167,
286
+ 0.082,
287
+ 0.835,
288
+ 0.356
289
+ ],
290
+ "angle": 0,
291
+ "content": null
292
+ },
293
+ {
294
+ "type": "image_caption",
295
+ "bbox": [
296
+ 0.113,
297
+ 0.367,
298
+ 0.883,
299
+ 0.44
300
+ ],
301
+ "angle": 0,
302
+ "content": "Figure 2: The CMEncoder block (shown at the bottom) takes the given problem description, and runs in parallel to obtain \\( H_{r} \\) from the semantic encoder, and \\( H_{g} \\) from the quantity encoder. A dynamic fusion module incorporates \\( H_{r} \\) and \\( H_{g} \\) by cross-modal attention. The obtained \\( H_{f} \\) is attentively stacked with \\( H_{r} \\) and \\( H_{g} \\). The resulted \\( H_{att} \\) is sent to the next CMEncoder block. The final problem representation \\( H_{final} \\) goes to the decoder for generating the final solution equation."
303
+ },
304
+ {
305
+ "type": "text",
306
+ "bbox": [
307
+ 0.113,
308
+ 0.464,
309
+ 0.49,
310
+ 0.512
311
+ ],
312
+ "angle": 0,
313
+ "content": "Semantic Encoder. To demonstrate the robustness of our approach, we implemented two different semantic encoders as our backbone."
314
+ },
315
+ {
316
+ "type": "text",
317
+ "bbox": [
318
+ 0.113,
319
+ 0.512,
320
+ 0.489,
321
+ 0.593
322
+ ],
323
+ "angle": 0,
324
+ "content": "Firstly, we encode the problem description \\( W \\) by a bidirectional gated recurrent unit (BiGRU) (Cho et al., 2014). The outputs of GRU are hidden state vectors of all tokens, \\( H_{r} = \\{h_{1}, h_{2}, \\dots, h_{n}\\} \\), where \\( n \\) is the length of problem \\( W \\)."
325
+ },
326
+ {
327
+ "type": "equation",
328
+ "bbox": [
329
+ 0.187,
330
+ 0.609,
331
+ 0.487,
332
+ 0.626
333
+ ],
334
+ "angle": 0,
335
+ "content": "\\[\nH _ {r} = \\operatorname {B i G R U} \\left(\\operatorname {E m b e d} _ {s} (W)\\right) \\tag {1}\n\\]"
336
+ },
337
+ {
338
+ "type": "text",
339
+ "bbox": [
340
+ 0.113,
341
+ 0.635,
342
+ 0.489,
343
+ 0.699
344
+ ],
345
+ "angle": 0,
346
+ "content": "where \\(Embed_{s}(W)\\) is the embedding result of textual description \\(W\\) in semantics modal. Empirically, we find that two stacked CMEncoders as shown in Figure 2 achieve the best performance."
347
+ },
348
+ {
349
+ "type": "text",
350
+ "bbox": [
351
+ 0.113,
352
+ 0.7,
353
+ 0.489,
354
+ 0.764
355
+ ],
356
+ "angle": 0,
357
+ "content": "Secondly, pre-trained language models (PLMs) have been ubiquitous in NLP tasks. We use the latest push of MWP-BERT (Liang et al., 2022) as our semantic encoder to obtain \\( H_{r} \\)."
358
+ },
359
+ {
360
+ "type": "text",
361
+ "bbox": [
362
+ 0.113,
363
+ 0.77,
364
+ 0.49,
365
+ 0.851
366
+ ],
367
+ "angle": 0,
368
+ "content": "Quantity Encoder. To encode the quantity modal in the problem \\(W\\), we feed a graph transformer \\(G_{trans}\\) with Quantity Comparison Graph and Quantity Cell Graph following Graph2Tree (Zhang et al., 2020),"
369
+ },
370
+ {
371
+ "type": "equation",
372
+ "bbox": [
373
+ 0.194,
374
+ 0.866,
375
+ 0.486,
376
+ 0.884
377
+ ],
378
+ "angle": 0,
379
+ "content": "\\[\nH _ {g} = G _ {\\text {t r a n s}} \\left(\\operatorname {E m b e d} _ {q} (W)\\right) \\tag {2}\n\\]"
380
+ },
381
+ {
382
+ "type": "text",
383
+ "bbox": [
384
+ 0.113,
385
+ 0.888,
386
+ 0.489,
387
+ 0.92
388
+ ],
389
+ "angle": 0,
390
+ "content": "where \\( \\operatorname{Embed}_q(W) \\) is the embedding matrix in the quantity modal, which aims to improve the"
391
+ },
392
+ {
393
+ "type": "text",
394
+ "bbox": [
395
+ 0.508,
396
+ 0.464,
397
+ 0.885,
398
+ 0.642
399
+ ],
400
+ "angle": 0,
401
+ "content": "quantity representation by incorporating quantity magnitude information and quantity-context relationship with the above two graphs. Different from Graph2Tree, the two embeddings \\(Embed_{s}(W)\\) and \\(Embed_{q}(W)\\) are updated in the training process to extract the semantics and quantity feature separately. In this way, semantics and quantity modals are disentangled, which alleviates the issue of \"one joint modal cannot do it all\", enabling the C-MWP solver to pay different levels of attention when solving different problems."
402
+ },
403
+ {
404
+ "type": "text",
405
+ "bbox": [
406
+ 0.508,
407
+ 0.649,
408
+ 0.884,
409
+ 0.763
410
+ ],
411
+ "angle": 0,
412
+ "content": "Dynamic Fusion. To achieve joint reasoning over the semantics information and quantity information, we design a dynamic fusion module to flexibly incorporate the features from these two modals. First, we get \\( s \\) and \\( q \\) from the mean pooling of \\( H_{r} \\) and \\( H_{g} \\), respectively. Then, cross-modal attention is applied between \\( H_{r} \\) and \\( q \\), \\( H_{g} \\) and \\( s \\):"
413
+ },
414
+ {
415
+ "type": "equation",
416
+ "bbox": [
417
+ 0.597,
418
+ 0.771,
419
+ 0.882,
420
+ 0.796
421
+ ],
422
+ "angle": 0,
423
+ "content": "\\[\n\\begin{array}{l} A t t _ {1} \\left(H _ {r}, q\\right) = \\Sigma_ {i = 1} ^ {n} a _ {i} H _ {r i} \\\\ A t t _ {1} \\left(H _ {r}\\right) = \\Sigma_ {i = 1} ^ {n} H _ {r i} \\end{array} \\tag {3}\n\\]"
424
+ },
425
+ {
426
+ "type": "equation",
427
+ "bbox": [
428
+ 0.599,
429
+ 0.791,
430
+ 0.796,
431
+ 0.809
432
+ ],
433
+ "angle": 0,
434
+ "content": "\\[\nA t t _ {2} (H _ {g}, s) = \\Sigma_ {i = 1} ^ {n} b _ {i} H _ {g i}\n\\]"
435
+ },
436
+ {
437
+ "type": "text",
438
+ "bbox": [
439
+ 0.509,
440
+ 0.817,
441
+ 0.838,
442
+ 0.832
443
+ ],
444
+ "angle": 0,
445
+ "content": "where the attention scores \\(a_{i}, b_{i}\\) come from:"
446
+ },
447
+ {
448
+ "type": "equation",
449
+ "bbox": [
450
+ 0.581,
451
+ 0.838,
452
+ 0.881,
453
+ 0.862
454
+ ],
455
+ "angle": 0,
456
+ "content": "\\[\na _ {i} = W _ {a} ^ {1} \\tanh \\left(W _ {a} ^ {2} \\left(H _ {r i} \\mid \\mid q\\right)\\right) \\tag {4}\n\\]"
457
+ },
458
+ {
459
+ "type": "equation",
460
+ "bbox": [
461
+ 0.585,
462
+ 0.86,
463
+ 0.81,
464
+ 0.879
465
+ ],
466
+ "angle": 0,
467
+ "content": "\\[\nb _ {i} = W _ {b} ^ {1} \\tanh (W _ {b} ^ {2} \\left(H _ {g i} \\mid | s\\right))\n\\]"
468
+ },
469
+ {
470
+ "type": "text",
471
+ "bbox": [
472
+ 0.508,
473
+ 0.887,
474
+ 0.884,
475
+ 0.919
476
+ ],
477
+ "angle": 0,
478
+ "content": "where \\(W_{a}^{1}, W_{a}^{2}, W_{b}^{1}\\) and \\(W_{b}^{2}\\) are parameter matrices. The cross-modal attention here grounds the"
479
+ },
480
+ {
481
+ "type": "page_number",
482
+ "bbox": [
483
+ 0.478,
484
+ 0.928,
485
+ 0.526,
486
+ 0.941
487
+ ],
488
+ "angle": 0,
489
+ "content": "10010"
490
+ }
491
+ ],
492
+ [
493
+ {
494
+ "type": "text",
495
+ "bbox": [
496
+ 0.113,
497
+ 0.085,
498
+ 0.49,
499
+ 0.165
500
+ ],
501
+ "angle": 0,
502
+ "content": "quantity information in the semantics modal, and vice versa. By applying different weights on different modals, our model is flexible to pay more or less attention on a certain modal. Finally, the output of dynamic fusion is:"
503
+ },
504
+ {
505
+ "type": "equation",
506
+ "bbox": [
507
+ 0.173,
508
+ 0.176,
509
+ 0.488,
510
+ 0.194
511
+ ],
512
+ "angle": 0,
513
+ "content": "\\[\nH _ {f} = \\operatorname {A t t} _ {1} \\left(H _ {r}, q\\right) \\mid \\mid \\operatorname {A t t} _ {2} \\left(H _ {g}, s\\right). \\tag {5}\n\\]"
514
+ },
515
+ {
516
+ "type": "title",
517
+ "bbox": [
518
+ 0.115,
519
+ 0.206,
520
+ 0.388,
521
+ 0.222
522
+ ],
523
+ "angle": 0,
524
+ "content": "3.2 Stack Multiple CMEncoders"
525
+ },
526
+ {
527
+ "type": "text",
528
+ "bbox": [
529
+ 0.113,
530
+ 0.227,
531
+ 0.49,
532
+ 0.339
533
+ ],
534
+ "angle": 0,
535
+ "content": "Humans often need to make multiple glimpses to refine an MWP solution. Similarly, a CMEncoder can be stacked in multiple steps to refine the understanding of an MWP, as shown in Figure 2. Given the output from the semantic encoder, quantity encoder and dynamic fusion module at layer \\( k - 1 \\), the features are stacked as:"
536
+ },
537
+ {
538
+ "type": "equation",
539
+ "bbox": [
540
+ 0.177,
541
+ 0.349,
542
+ 0.488,
543
+ 0.371
544
+ ],
545
+ "angle": 0,
546
+ "content": "\\[\nH _ {a t t} ^ {(k - 1)} = c _ {r} H _ {r} ^ {(k - 1)} + c _ {g} H _ {g} ^ {(k - 1)} \\tag {6}\n\\]"
547
+ },
548
+ {
549
+ "type": "text",
550
+ "bbox": [
551
+ 0.114,
552
+ 0.382,
553
+ 0.427,
554
+ 0.399
555
+ ],
556
+ "angle": 0,
557
+ "content": "where the attention weights \\( c_{r} \\) and \\( c_{g} \\) are:"
558
+ },
559
+ {
560
+ "type": "equation",
561
+ "bbox": [
562
+ 0.139,
563
+ 0.41,
564
+ 0.488,
565
+ 0.457
566
+ ],
567
+ "angle": 0,
568
+ "content": "\\[\n\\begin{array}{l} c _ {r} = W _ {r} ^ {1} \\tanh \\left(W _ {r} ^ {2} \\left(H _ {r} ^ {(k - 1)} \\mid \\mid H _ {f} ^ {(k - 1)}\\right)\\right) \\tag {7} \\\\ c _ {g} = W _ {g} ^ {1} \\tanh (W _ {g} ^ {2} \\left(H _ {g} ^ {(k - 1)} \\mid \\mid H _ {f} ^ {(k - 1)}\\right)) \\\\ \\end{array}\n\\]"
569
+ },
570
+ {
571
+ "type": "text",
572
+ "bbox": [
573
+ 0.113,
574
+ 0.468,
575
+ 0.49,
576
+ 0.555
577
+ ],
578
+ "angle": 0,
579
+ "content": "where \\( W_{r}^{1}, W_{r}^{2}, W_{g}^{1} \\) and \\( W_{g}^{2} \\) are parameter matrices. The \\( H_{att}^{(k - 1)} \\) will be the input for both the semantic modal and quantity modal of K-th CMEncoder, which will output \\( H_{r}^{(k)}, H_{g}^{(k)} \\) and \\( H_{f}^{(k)} \\), which can be sent for the update at layer \\( k + 1 \\)."
580
+ },
581
+ {
582
+ "type": "text",
583
+ "bbox": [
584
+ 0.113,
585
+ 0.556,
586
+ 0.49,
587
+ 0.607
588
+ ],
589
+ "angle": 0,
590
+ "content": "After finishing the \\(K\\)-th step reasoning, we concatenate the final \\(H_r^{(K)}\\) and \\(H_g^{(K)}\\) as the final output representation \\(H_{final}\\)."
591
+ },
592
+ {
593
+ "type": "title",
594
+ "bbox": [
595
+ 0.115,
596
+ 0.616,
597
+ 0.228,
598
+ 0.63
599
+ ],
600
+ "angle": 0,
601
+ "content": "3.3 Decoder"
602
+ },
603
+ {
604
+ "type": "text",
605
+ "bbox": [
606
+ 0.113,
607
+ 0.637,
608
+ 0.49,
609
+ 0.686
610
+ ],
611
+ "angle": 0,
612
+ "content": "We follow the same implementation as GTS (Xie and Sun, 2019). Eventually, the decoder will output the pre-order traversal sequence of the solution tree."
613
+ },
614
+ {
615
+ "type": "title",
616
+ "bbox": [
617
+ 0.115,
618
+ 0.696,
619
+ 0.295,
620
+ 0.71
621
+ ],
622
+ "angle": 0,
623
+ "content": "3.4 Training Method"
624
+ },
625
+ {
626
+ "type": "text",
627
+ "bbox": [
628
+ 0.113,
629
+ 0.717,
630
+ 0.49,
631
+ 0.812
632
+ ],
633
+ "angle": 0,
634
+ "content": "Given the training samples with problem description \\( W \\) and the corresponding solution \\( S \\), the main training objective is to minimize the negative log probability for predicting \\( S \\) from \\( W \\), empowered by the compositionality of the CMEncoders. Therefore, the overall loss is:"
635
+ },
636
+ {
637
+ "type": "equation",
638
+ "bbox": [
639
+ 0.124,
640
+ 0.824,
641
+ 0.488,
642
+ 0.845
643
+ ],
644
+ "angle": 0,
645
+ "content": "\\[\nL = L _ {M W P} + \\left| \\left| E m b e d _ {s} \\right| \\right| _ {2} + \\left| \\left| E m b e d _ {q} \\right| \\right| _ {2} (8)\n\\]"
646
+ },
647
+ {
648
+ "type": "text",
649
+ "bbox": [
650
+ 0.113,
651
+ 0.855,
652
+ 0.49,
653
+ 0.919
654
+ ],
655
+ "angle": 0,
656
+ "content": "where \\( L_{MWP} \\) is the negative log prediction probability \\( -\\log p(S \\mid W) \\). The \\( L_2 \\) norm of the encoder embedding matrices is added to the loss function as regularization terms."
657
+ },
658
+ {
659
+ "type": "title",
660
+ "bbox": [
661
+ 0.509,
662
+ 0.084,
663
+ 0.657,
664
+ 0.101
665
+ ],
666
+ "angle": 0,
667
+ "content": "4 Experiments"
668
+ },
669
+ {
670
+ "type": "title",
671
+ "bbox": [
672
+ 0.51,
673
+ 0.11,
674
+ 0.624,
675
+ 0.124
676
+ ],
677
+ "angle": 0,
678
+ "content": "4.1 Datasets"
679
+ },
680
+ {
681
+ "type": "text",
682
+ "bbox": [
683
+ 0.508,
684
+ 0.131,
685
+ 0.884,
686
+ 0.178
687
+ ],
688
+ "angle": 0,
689
+ "content": "Math23k (Wang et al., 2017) containing 23,162 Chinese MWPs is collected from several educational websites."
690
+ },
691
+ {
692
+ "type": "text",
693
+ "bbox": [
694
+ 0.508,
695
+ 0.18,
696
+ 0.882,
697
+ 0.211
698
+ ],
699
+ "angle": 0,
700
+ "content": "MAWPS (Koncel-Kedziorski et al., 2015) is an MWP dataset owning 2,373 English MwPs."
701
+ },
702
+ {
703
+ "type": "title",
704
+ "bbox": [
705
+ 0.509,
706
+ 0.223,
707
+ 0.63,
708
+ 0.237
709
+ ],
710
+ "angle": 0,
711
+ "content": "4.2 Baselines"
712
+ },
713
+ {
714
+ "type": "text",
715
+ "bbox": [
716
+ 0.508,
717
+ 0.244,
718
+ 0.885,
719
+ 0.598
720
+ ],
721
+ "angle": 0,
722
+ "content": "GTS (Xie and Sun, 2019) proposes a powerful tree-based decoder. Graph2Tree (Zhang et al., 2020) constructs graphs to extract useful relationships in an MWP. NumS2T (Wu et al., 2021b) encode quantities with explicit numerical values. MultiE/D (Shen and Jin, 2020) proposes to use multiple decoders in MWP solving. HMS (Lin et al., 2021) develops a hierarchical word-clause-problem encoder. EEH-G2T (Wu et al., 2021a) aims to capture the long-range word relationship by graph network. REAL (Huang et al., 2021) proposes a analogical auxiliary learning strategy by extracting similar MWPs. BERT-CL (Li et al., 2021) uses contrastive learning with PLMs. RPKHS (Yu et al., 2021) performs hierarchical reasoning with PLMs. MWP-BERT released a BERT-based encoder that is continually pre-trained on MWP corpus. Gen&Rank (Shen et al., 2021) designs a multi-task learning framework with encoder-decoder pre-training. MWP toolkit (Lan et al., 2022) finds a RoBERTa-to-RoBERTa model has the best performance in MWP solving."
723
+ },
724
+ {
725
+ "type": "title",
726
+ "bbox": [
727
+ 0.509,
728
+ 0.609,
729
+ 0.726,
730
+ 0.624
731
+ ],
732
+ "angle": 0,
733
+ "content": "4.3 Experimental Results"
734
+ },
735
+ {
736
+ "type": "text",
737
+ "bbox": [
738
+ 0.508,
739
+ 0.63,
740
+ 0.884,
741
+ 0.773
742
+ ],
743
+ "angle": 0,
744
+ "content": "As Table 1 shows, our approach outperforms all other RNN-based baselines in terms of answer accuracy. On Math23k, we outperform the latest RNN-based push from Wu et al. (2021a) by \\(1.8\\%\\). For the first time, an RNN-based MWP solver reaches over \\(80\\%\\) answer accuracy on the Math23k dataset. What is more, the even fewer parameters with the best performance suggest that our model is also memory-efficient."
745
+ },
746
+ {
747
+ "type": "text",
748
+ "bbox": [
749
+ 0.508,
750
+ 0.775,
751
+ 0.885,
752
+ 0.92
753
+ ],
754
+ "angle": 0,
755
+ "content": "PLM-based solvers benefit from the pre-training on a huge amount of corpus and thus achieve great semantic understanding ability. From a different point of view, our work aims to effectively and efficiently integrate semantic and quantity understanding. Therefore, by incorporating the MWP-BERT model as our semantic extractor, the answer accuracy of C-MWP achieves state-of-the-art performance. It proves the feasibility of combining"
756
+ },
757
+ {
758
+ "type": "page_number",
759
+ "bbox": [
760
+ 0.478,
761
+ 0.928,
762
+ 0.524,
763
+ 0.941
764
+ ],
765
+ "angle": 0,
766
+ "content": "10011"
767
+ }
768
+ ],
769
+ [
770
+ {
771
+ "type": "table",
772
+ "bbox": [
773
+ 0.117,
774
+ 0.082,
775
+ 0.486,
776
+ 0.332
777
+ ],
778
+ "angle": 0,
779
+ "content": "<table><tr><td></td><td>Math23k</td><td>Math23k*</td><td>MAWPS</td><td>#E</td></tr><tr><td colspan=\"5\">RNN Based</td></tr><tr><td>DNS</td><td>-</td><td>58.1</td><td>59.5</td><td>3.0M</td></tr><tr><td>GTS</td><td>75.6</td><td>74.3</td><td>82.6</td><td>7.2M</td></tr><tr><td>Graph2Tree</td><td>77.4</td><td>75.5</td><td>83.7</td><td>9.0M</td></tr><tr><td>NUMS2T</td><td>78.1</td><td>-</td><td>-</td><td>7.9M</td></tr><tr><td>Multi-E/D</td><td>78.4</td><td>76.9</td><td>-</td><td>14.2M</td></tr><tr><td>HMS</td><td>78.4</td><td>-</td><td>80.3</td><td>9.5M</td></tr><tr><td>EEH-G2T</td><td>78.5</td><td>-</td><td>84.8</td><td>9.9M</td></tr><tr><td>C-MWP (RNN)</td><td>80.3</td><td>77.9</td><td>84.9</td><td>7.6M</td></tr><tr><td colspan=\"5\">PLM Based</td></tr><tr><td>REAL</td><td>82.3</td><td>80.0</td><td>-</td><td>110M</td></tr><tr><td>BERT-CL</td><td>83.2</td><td>-</td><td>-</td><td>102M</td></tr><tr><td>RPKHS</td><td>83.9</td><td>82.2</td><td>-</td><td>102M</td></tr><tr><td>MWP-BERT</td><td>84.7</td><td>82.4</td><td>-</td><td>110M</td></tr><tr><td>Gen&amp;Rank</td><td>85.4</td><td>84.3</td><td>-</td><td>610M</td></tr><tr><td>MWP toolkit</td><td>-</td><td>76.9</td><td>88.4</td><td>110M</td></tr><tr><td>C-MWP (PLM)</td><td>86.1</td><td>84.5</td><td>89.1</td><td>130M</td></tr></table>"
780
+ },
781
+ {
782
+ "type": "table_caption",
783
+ "bbox": [
784
+ 0.114,
785
+ 0.342,
786
+ 0.49,
787
+ 0.414
788
+ ],
789
+ "angle": 0,
790
+ "content": "Table 1: Math23k column shows the results when evaluating on the public test set of Math23k, while the \\(\\mathrm{Math23k^{*}}\\) column shows the result of 5-fold cross validation on Math23k dataset. The last column #E denotes the number of parameters in encoders."
791
+ },
792
+ {
793
+ "type": "table",
794
+ "bbox": [
795
+ 0.118,
796
+ 0.429,
797
+ 0.486,
798
+ 0.527
799
+ ],
800
+ "angle": 0,
801
+ "content": "<table><tr><td></td><td>Graph Encoder</td><td>Compositional Structure</td><td>Dynamic Fusion</td><td>Acc(%)</td></tr><tr><td>GTS</td><td>X</td><td>X</td><td>X</td><td>75.6</td></tr><tr><td>Graph2Tree</td><td>✓</td><td>X</td><td>X</td><td>77.4</td></tr><tr><td></td><td>✓</td><td>✓</td><td>X</td><td>78.1</td></tr><tr><td></td><td>✓</td><td>X</td><td>✓</td><td>78.9</td></tr><tr><td>C-MWP</td><td>✓</td><td>✓</td><td>✓</td><td>80.3</td></tr></table>"
802
+ },
803
+ {
804
+ "type": "table_caption",
805
+ "bbox": [
806
+ 0.126,
807
+ 0.537,
808
+ 0.474,
809
+ 0.552
810
+ ],
811
+ "angle": 0,
812
+ "content": "Table 2: Accuracy among different ablated models."
813
+ },
814
+ {
815
+ "type": "text",
816
+ "bbox": [
817
+ 0.114,
818
+ 0.58,
819
+ 0.49,
820
+ 0.629
821
+ ],
822
+ "angle": 0,
823
+ "content": "PLM-based semantic modal encoder and graph-based quantity modal encoder, which will be an interesting inspiration to the community."
824
+ },
825
+ {
826
+ "type": "title",
827
+ "bbox": [
828
+ 0.115,
829
+ 0.641,
830
+ 0.441,
831
+ 0.657
832
+ ],
833
+ "angle": 0,
834
+ "content": "Ablative Study of Different Components."
835
+ },
836
+ {
837
+ "type": "text",
838
+ "bbox": [
839
+ 0.113,
840
+ 0.662,
841
+ 0.49,
842
+ 0.919
843
+ ],
844
+ "angle": 0,
845
+ "content": "In order to evaluate the effectiveness of each component in \\( C \\)-MWP, we report the model performance after removing several components. Compared with Graph2Tree, our compositional structure and dynamic fusion module allow the full usage of both modals and excel in improving performance. \"Compositional Structure\" denotes separating the semantic and quantity modal with two different encoders that run in parallel. \"w Compositional Structure and w/o Dynamic Fusion\" means we replace the Dynamic Fusion module with a simple addition of two features from two encoders. \"w/o Compositional Structure and w Dynamic Fusion\" means, we employ the structure of Graph2Tree, then utilize our dynamic fusion module to fuse the feature from the RNN Encoder and"
846
+ },
847
+ {
848
+ "type": "table",
849
+ "bbox": [
850
+ 0.533,
851
+ 0.082,
852
+ 0.861,
853
+ 0.182
854
+ ],
855
+ "angle": 0,
856
+ "content": "<table><tr><td>Model</td><td>Overall</td><td>Story</td><td>Algebra</td><td>KNWL</td></tr><tr><td>GTS</td><td>75.4</td><td>75.1</td><td>82.8</td><td>64.3</td></tr><tr><td>Graph2Tree</td><td>77.4</td><td>76.3</td><td>89.7</td><td>57.1</td></tr><tr><td>Multi-E/D</td><td>78.4</td><td>77.8</td><td>88.8</td><td>61.9</td></tr><tr><td>C-MWP (RNN)</td><td>80.3</td><td>80.0</td><td>90.0</td><td>66.7</td></tr><tr><td>MWP-BERT</td><td>84.7</td><td>85.6</td><td>88.8</td><td>72.0</td></tr><tr><td>C-MWP (PLM)</td><td>86.1</td><td>87.5</td><td>90.7</td><td>72.0</td></tr></table>"
857
+ },
858
+ {
859
+ "type": "table_caption",
860
+ "bbox": [
861
+ 0.509,
862
+ 0.192,
863
+ 0.884,
864
+ 0.234
865
+ ],
866
+ "angle": 0,
867
+ "content": "Table 3: The answer accuracy \\((\\%)\\) of problems in different types. KNWL stands for the external knowledge required problems."
868
+ },
869
+ {
870
+ "type": "text",
871
+ "bbox": [
872
+ 0.509,
873
+ 0.258,
874
+ 0.884,
875
+ 0.273
876
+ ],
877
+ "angle": 0,
878
+ "content": "the feature from the GNN Encoder of Graph2Tree."
879
+ },
880
+ {
881
+ "type": "title",
882
+ "bbox": [
883
+ 0.509,
884
+ 0.282,
885
+ 0.84,
886
+ 0.298
887
+ ],
888
+ "angle": 0,
889
+ "content": "Performance on Different Types of MWP."
890
+ },
891
+ {
892
+ "type": "text",
893
+ "bbox": [
894
+ 0.508,
895
+ 0.301,
896
+ 0.885,
897
+ 0.623
898
+ ],
899
+ "angle": 0,
900
+ "content": "In order to investigate how our model performs across various types of MWP, we introduce a new split of Math23k with regard to three types of problems: story problems, algebra problems and knowledge problems. Split details are shown in the appendix. The evaluation results are presented in Table 3. Without a compositional manner, Graph2Tree and Multi-E/D perform better than GTS on story and algebra testing problems, whereas they perform worse on knowledge problems. As stated before, one joint modal cannot do it all. These baselines work well on some types of problems while having weak performance on other types of problems. Our C-MWP offers a general accuracy improvement, which firmly supports our motivation for alleviating the generalization issue. This provides clear evidence that our model leverages general math knowledge across different types of MWP, successfully solving some nontrivial problems that Graph2Tree failed to solve."
901
+ },
902
+ {
903
+ "type": "title",
904
+ "bbox": [
905
+ 0.509,
906
+ 0.634,
907
+ 0.797,
908
+ 0.649
909
+ ],
910
+ "angle": 0,
911
+ "content": "5 Conclusion and Future Work"
912
+ },
913
+ {
914
+ "type": "text",
915
+ "bbox": [
916
+ 0.508,
917
+ 0.659,
918
+ 0.885,
919
+ 0.837
920
+ ],
921
+ "angle": 0,
922
+ "content": "The semantic meaning and quantity information are important intrinsic properties of a math word problem. Aiming at dealing with uni-modal bias and achieve better generalization, we make the first attempt to propose a compositional MWP solver, \\( C \\)-MWP. Multi-layer reasoning and specified training methods are leveraged to enhance the generalizability of the model. As the method could be applied in a broader range of neuro-symbolic learning problems, we will keep exploring the adaptiveness of this compositional encoding method."
923
+ },
924
+ {
925
+ "type": "title",
926
+ "bbox": [
927
+ 0.51,
928
+ 0.847,
929
+ 0.673,
930
+ 0.863
931
+ ],
932
+ "angle": 0,
933
+ "content": "Acknowledgement"
934
+ },
935
+ {
936
+ "type": "text",
937
+ "bbox": [
938
+ 0.508,
939
+ 0.872,
940
+ 0.884,
941
+ 0.919
942
+ ],
943
+ "angle": 0,
944
+ "content": "The research work is partially supported by the Internal Asia Research Collaboration Grant, University of Notre Dame."
945
+ },
946
+ {
947
+ "type": "page_number",
948
+ "bbox": [
949
+ 0.478,
950
+ 0.928,
951
+ 0.526,
952
+ 0.941
953
+ ],
954
+ "angle": 0,
955
+ "content": "10012"
956
+ }
957
+ ],
958
+ [
959
+ {
960
+ "type": "title",
961
+ "bbox": [
962
+ 0.115,
963
+ 0.085,
964
+ 0.212,
965
+ 0.099
966
+ ],
967
+ "angle": 0,
968
+ "content": "Limitations"
969
+ },
970
+ {
971
+ "type": "text",
972
+ "bbox": [
973
+ 0.114,
974
+ 0.106,
975
+ 0.49,
976
+ 0.236
977
+ ],
978
+ "angle": 0,
979
+ "content": "Explainability Most current MWP solvers are only able to generate solutions. In our work, although we achieved better generalization ability, it is still hard to explain how the model solves MwPs both correctly or incorrectly. These automated solvers would be much more helpful for tutoring students if they could explain their equation solutions by generating reasoning steps."
980
+ },
981
+ {
982
+ "type": "title",
983
+ "bbox": [
984
+ 0.116,
985
+ 0.261,
986
+ 0.214,
987
+ 0.276
988
+ ],
989
+ "angle": 0,
990
+ "content": "References"
991
+ },
992
+ {
993
+ "type": "ref_text",
994
+ "bbox": [
995
+ 0.117,
996
+ 0.284,
997
+ 0.49,
998
+ 0.351
999
+ ],
1000
+ "angle": 0,
1001
+ "content": "Aida Amini, Saadia Gabriel, Shanchuan Lin, Rik Koncel-Kedziorski, Yejin Choi, and Hannaneh Hajishirzi. 2019. Mathqa: Towards interpretable math word problem solving with operation-based formalisms. In NAACL, pages 2357-2367."
1002
+ },
1003
+ {
1004
+ "type": "ref_text",
1005
+ "bbox": [
1006
+ 0.117,
1007
+ 0.36,
1008
+ 0.489,
1009
+ 0.413
1010
+ ],
1011
+ "angle": 0,
1012
+ "content": "Xinyun Chen, Chen Liang, Adams Wei Yu, Dawn Song, and Denny Zhou. 2020. Compositional generalization via neural-symbolic stack machines. NeurIPS, 33:1690-1701."
1013
+ },
1014
+ {
1015
+ "type": "ref_text",
1016
+ "bbox": [
1017
+ 0.117,
1018
+ 0.423,
1019
+ 0.489,
1020
+ 0.501
1021
+ ],
1022
+ "angle": 0,
1023
+ "content": "Kyunghyun Cho, Bart van Merrienboer, Caglar Gulcehre, Dzmitry Bahdanau, Fethi Bougares, Holger Schwenk, and Yoshua Bengio. 2014. Learning phrase representations using rnn encoder-decoder for statistical machine translation. In EMNLP, pages 1724-1734."
1024
+ },
1025
+ {
1026
+ "type": "ref_text",
1027
+ "bbox": [
1028
+ 0.117,
1029
+ 0.512,
1030
+ 0.489,
1031
+ 0.566
1032
+ ],
1033
+ "angle": 0,
1034
+ "content": "Shifeng Huang, Jiawei Wang, Jiao Xu, Da Cao, and Ming Yang. 2021. Recall and learn: A memory-augmented solver for math word problems. In Findings of EMNLP, pages 786-796."
1035
+ },
1036
+ {
1037
+ "type": "ref_text",
1038
+ "bbox": [
1039
+ 0.117,
1040
+ 0.575,
1041
+ 0.489,
1042
+ 0.627
1043
+ ],
1044
+ "angle": 0,
1045
+ "content": "Zhanming Jie, Jierui Li, and Wei Lu. 2022. Learning to reason deductively: Math word problem solving as complex relation extraction. In ACL, pages 5944-5955."
1046
+ },
1047
+ {
1048
+ "type": "ref_text",
1049
+ "bbox": [
1050
+ 0.117,
1051
+ 0.638,
1052
+ 0.489,
1053
+ 0.69
1054
+ ],
1055
+ "angle": 0,
1056
+ "content": "Rik Koncel-Kedziorski, Hannaneh Hajishirzi, Ashish Sabharwal, Oren Etzioni, and Siena Dumas Ang. 2015. Parsing algebraic word problems into equations. ACL, 3:585-597."
1057
+ },
1058
+ {
1059
+ "type": "ref_text",
1060
+ "bbox": [
1061
+ 0.117,
1062
+ 0.701,
1063
+ 0.489,
1064
+ 0.753
1065
+ ],
1066
+ "angle": 0,
1067
+ "content": "Rik Koncel-Kedziorski, Subhro Roy, Aida Amini, Nate Kushman, and Hannaneh Hajishirzi. 2016. Mawps: A math word problem repository. In NAACL, pages 1152-1157."
1068
+ },
1069
+ {
1070
+ "type": "ref_text",
1071
+ "bbox": [
1072
+ 0.117,
1073
+ 0.763,
1074
+ 0.489,
1075
+ 0.843
1076
+ ],
1077
+ "angle": 0,
1078
+ "content": "Yihuai Lan, Lei Wang, Qiyuan Zhang, Yunshi Lan, Bing Tian Dai, Yan Wang, Dongxiang Zhang, and Ee-Peng Lim. 2022. Mwptoolkit: An open-source framework for deep learning-based math word problem solvers. In AAAI, volume 36, pages 13188-13190."
1079
+ },
1080
+ {
1081
+ "type": "ref_text",
1082
+ "bbox": [
1083
+ 0.117,
1084
+ 0.852,
1085
+ 0.489,
1086
+ 0.918
1087
+ ],
1088
+ "angle": 0,
1089
+ "content": "Jierui Li, Lei Wang, Jipeng Zhang, Yan Wang, Bing Tian Dai, and Dongxiang Zhang. 2019. Modeling intra-relation in math word problems with different functional multi-head attentions. In ACL, pages 6162-6167."
1090
+ },
1091
+ {
1092
+ "type": "list",
1093
+ "bbox": [
1094
+ 0.117,
1095
+ 0.284,
1096
+ 0.49,
1097
+ 0.918
1098
+ ],
1099
+ "angle": 0,
1100
+ "content": null
1101
+ },
1102
+ {
1103
+ "type": "ref_text",
1104
+ "bbox": [
1105
+ 0.511,
1106
+ 0.086,
1107
+ 0.885,
1108
+ 0.153
1109
+ ],
1110
+ "angle": 0,
1111
+ "content": "Zhongli Li, Wenxuan Zhang, Chao Yan, Qingyu Zhou, Chao Li, Hongzhi Liu, and Yunbo Cao. 2021. Seeking patterns, not just memorizing procedures: Contrastive learning for solving math word problems. arXiv preprint arXiv:2110.08464."
1112
+ },
1113
+ {
1114
+ "type": "ref_text",
1115
+ "bbox": [
1116
+ 0.511,
1117
+ 0.163,
1118
+ 0.885,
1119
+ 0.23
1120
+ ],
1121
+ "angle": 0,
1122
+ "content": "Zhenwen Liang, Jipeng Zhang, Lei Wang, Wei Qin, Yunshi Lan, Jie Shao, and Xiangliang Zhang. 2022. MWP-BERT: Numeracy-augmented pre-training for math word problem solving. In *Findings of NAACL*, pages 997-1009."
1123
+ },
1124
+ {
1125
+ "type": "ref_text",
1126
+ "bbox": [
1127
+ 0.511,
1128
+ 0.24,
1129
+ 0.883,
1130
+ 0.281
1131
+ ],
1132
+ "angle": 0,
1133
+ "content": "Zhenwen Liang and Xiangliang Zhang. 2021. Solving math word problems with teacher supervision. In *IJCAI*, pages 3522-3528."
1134
+ },
1135
+ {
1136
+ "type": "ref_text",
1137
+ "bbox": [
1138
+ 0.511,
1139
+ 0.291,
1140
+ 0.885,
1141
+ 0.356
1142
+ ],
1143
+ "angle": 0,
1144
+ "content": "Xin Lin, Zhenya Huang, Hongke Zhao, Enhong Chen, Qi Liu, Hao Wang, and Shijin Wang. 2021. Hms: A hierarchical solver with dependency-enhanced understanding for math word problem. In AAAI, pages 4232-4240."
1145
+ },
1146
+ {
1147
+ "type": "ref_text",
1148
+ "bbox": [
1149
+ 0.511,
1150
+ 0.368,
1151
+ 0.885,
1152
+ 0.42
1153
+ ],
1154
+ "angle": 0,
1155
+ "content": "Qianying Liu, Wenyv Guan, Sujian Li, and Daisuke Kawahara. 2019. Tree-structured decoding for solving math word problems. In EMNLP, pages 2370-2379."
1156
+ },
1157
+ {
1158
+ "type": "ref_text",
1159
+ "bbox": [
1160
+ 0.511,
1161
+ 0.431,
1162
+ 0.885,
1163
+ 0.485
1164
+ ],
1165
+ "angle": 0,
1166
+ "content": "Shen-Yun Miao, Chao-Chun Liang, and Keh-Yih Su. 2020. A diverse corpus for evaluating and developing english math word problem solvers. In ACL, pages 975-984."
1167
+ },
1168
+ {
1169
+ "type": "ref_text",
1170
+ "bbox": [
1171
+ 0.511,
1172
+ 0.495,
1173
+ 0.885,
1174
+ 0.549
1175
+ ],
1176
+ "angle": 0,
1177
+ "content": "Jianhao Shen, Yichun Yin, Lin Li, Lifeng Shang, Xin Jiang, Ming Zhang, and Qun Liu. 2021. Generate & rank: A multi-task framework for math word problems. In EMNLP, pages 2269-2279."
1178
+ },
1179
+ {
1180
+ "type": "ref_text",
1181
+ "bbox": [
1182
+ 0.511,
1183
+ 0.559,
1184
+ 0.885,
1185
+ 0.6
1186
+ ],
1187
+ "angle": 0,
1188
+ "content": "Yibin Shen and Cheqing Jin. 2020. Solving math word problems with multi-encoders and multi-decoders. In COLING, pages 2924-2934."
1189
+ },
1190
+ {
1191
+ "type": "ref_text",
1192
+ "bbox": [
1193
+ 0.511,
1194
+ 0.61,
1195
+ 0.885,
1196
+ 0.651
1197
+ ],
1198
+ "angle": 0,
1199
+ "content": "Yan Wang, Xiaojiang Liu, and Shuming Shi. 2017. Deep neural solver for math word problems. In EMNLP, pages 845-854."
1200
+ },
1201
+ {
1202
+ "type": "ref_text",
1203
+ "bbox": [
1204
+ 0.511,
1205
+ 0.661,
1206
+ 0.885,
1207
+ 0.714
1208
+ ],
1209
+ "angle": 0,
1210
+ "content": "Charles Welch, Jonathan K Kummerfeld, Verónica Pérez-Rosas, and Rada Mihalcea. 2020. Compositional demographic word embeddings. In EMNLP, pages 4076-4089."
1211
+ },
1212
+ {
1213
+ "type": "ref_text",
1214
+ "bbox": [
1215
+ 0.511,
1216
+ 0.724,
1217
+ 0.885,
1218
+ 0.804
1219
+ ],
1220
+ "angle": 0,
1221
+ "content": "Francis CK Wong and William SY Wang. 2007. Generalisation towards combinatorial productivity in language acquisition by simple recurrent networks. In 2007 International Conference on Integration of Knowledge Intensive Multi-Agent Systems, pages 139-144. IEEE."
1222
+ },
1223
+ {
1224
+ "type": "ref_text",
1225
+ "bbox": [
1226
+ 0.511,
1227
+ 0.814,
1228
+ 0.885,
1229
+ 0.869
1230
+ ],
1231
+ "angle": 0,
1232
+ "content": "Qinzhuo Wu, Qi Zhang, and Zhongyu Wei. 2021a. An edge-enhanced hierarchical graph-to-tree network for math word problem solving. In *Findings of EMNLP*, pages 1473–1482."
1233
+ },
1234
+ {
1235
+ "type": "ref_text",
1236
+ "bbox": [
1237
+ 0.511,
1238
+ 0.878,
1239
+ 0.885,
1240
+ 0.919
1241
+ ],
1242
+ "angle": 0,
1243
+ "content": "Qinzhuo Wu, Qi Zhang, Zhongyu Wei, and Xuanjing Huang. 2021b. Math word problem solving with explicit numerical values. In ACL, pages 5859-5869."
1244
+ },
1245
+ {
1246
+ "type": "list",
1247
+ "bbox": [
1248
+ 0.511,
1249
+ 0.086,
1250
+ 0.885,
1251
+ 0.919
1252
+ ],
1253
+ "angle": 0,
1254
+ "content": null
1255
+ },
1256
+ {
1257
+ "type": "page_number",
1258
+ "bbox": [
1259
+ 0.478,
1260
+ 0.928,
1261
+ 0.525,
1262
+ 0.941
1263
+ ],
1264
+ "angle": 0,
1265
+ "content": "10013"
1266
+ }
1267
+ ],
1268
+ [
1269
+ {
1270
+ "type": "text",
1271
+ "bbox": [
1272
+ 0.115,
1273
+ 0.086,
1274
+ 0.49,
1275
+ 0.126
1276
+ ],
1277
+ "angle": 0,
1278
+ "content": "Zhipeng Xie and Shichao Sun. 2019. A goal-driven tree-structured neural model for math word problems. In *IJCAI*, pages 5299–5305."
1279
+ },
1280
+ {
1281
+ "type": "text",
1282
+ "bbox": [
1283
+ 0.115,
1284
+ 0.136,
1285
+ 0.49,
1286
+ 0.203
1287
+ ],
1288
+ "angle": 0,
1289
+ "content": "Jingfeng Yang, Le Zhang, and Diyi Yang. 2022. SUBS: Subtree substitution for compositional semantic parsing. In *NAACN*, pages 169–174, Seattle, United States. Association for Computational Linguistics."
1290
+ },
1291
+ {
1292
+ "type": "text",
1293
+ "bbox": [
1294
+ 0.115,
1295
+ 0.212,
1296
+ 0.489,
1297
+ 0.265
1298
+ ],
1299
+ "angle": 0,
1300
+ "content": "Weijiang Yu, Yingpeng Wen, Fudan Zheng, and Nong Xiao. 2021. Improving math word problems with pre-trained knowledge and hierarchical reasoning. In EMNLP, pages 3384-3394."
1301
+ },
1302
+ {
1303
+ "type": "text",
1304
+ "bbox": [
1305
+ 0.115,
1306
+ 0.276,
1307
+ 0.49,
1308
+ 0.329
1309
+ ],
1310
+ "angle": 0,
1311
+ "content": "Jipeng Zhang, Lei Wang, Roy Ka-Wei Lee, Yi Bin, Yan Wang, Jie Shao, and Ee-Peng Lim. 2020. Graph-to-tree learning for solving math word problems. In ACL, pages 3928-3937."
1312
+ },
1313
+ {
1314
+ "type": "title",
1315
+ "bbox": [
1316
+ 0.115,
1317
+ 0.342,
1318
+ 0.204,
1319
+ 0.359
1320
+ ],
1321
+ "angle": 0,
1322
+ "content": "Appendix"
1323
+ },
1324
+ {
1325
+ "type": "title",
1326
+ "bbox": [
1327
+ 0.115,
1328
+ 0.368,
1329
+ 0.304,
1330
+ 0.384
1331
+ ],
1332
+ "angle": 0,
1333
+ "content": "Implementation Details"
1334
+ },
1335
+ {
1336
+ "type": "text",
1337
+ "bbox": [
1338
+ 0.113,
1339
+ 0.388,
1340
+ 0.49,
1341
+ 0.71
1342
+ ],
1343
+ "angle": 0,
1344
+ "content": "We train our model on an NVIDIA RTX 2080Ti GPU, all implementation of training and testing is coded in Python with Pytorch framework. For our RNN-based model, 2 CMEncoders are stacked and only 1 CMEncoder is used in the PLM-based model. The size of hidden dimensions in encoders and decoders are set to 512 and 768 for RNN-solver and PLM-solver, respectively. Each GCN block has 2 GraphConv layers and each GNN encoder has 4 heads of GCN blocks. During training, Adam optimizer is applied with the initial learning rates of 0.001/0.00003 for RNN/PLM, which would be halved every 30 epochs. During testing, we use a 5-beam search to get reasonable solutions. We also apply Gaussian noise with mean 0 and variance 1 on the embedding result during training. This simple operation can help models to learn more robust parameters. Through grid search at 0.1 level, the noise is multiplied by 0.2 to achieve the best performance."
1345
+ },
1346
+ {
1347
+ "type": "title",
1348
+ "bbox": [
1349
+ 0.115,
1350
+ 0.722,
1351
+ 0.32,
1352
+ 0.738
1353
+ ],
1354
+ "angle": 0,
1355
+ "content": "Hyper-Parameter Tuning"
1356
+ },
1357
+ {
1358
+ "type": "text",
1359
+ "bbox": [
1360
+ 0.113,
1361
+ 0.743,
1362
+ 0.49,
1363
+ 0.919
1364
+ ],
1365
+ "angle": 0,
1366
+ "content": "In general, we apply grid-search with manually designed search space and use answer accuracy as the evaluation metric to select the hyper-parameters. For the number of stacked encoders, the search space is \\(\\{1,2,3,4\\}\\) and we finally use 2. For the weight of \\(L_{2}\\) normalization loss, we choose weight 1 from \\(\\{0.01,0.1,1,5,10\\}\\). The weight of random noise 0.2 is selected from 0.1 level by grid search with range 0 to 1. We also tune the beam size of beam search from \\(\\{3,4,5,6,7\\}\\) and choose 5. The dropout probability 0.5 is selected from"
1367
+ },
1368
+ {
1369
+ "type": "table",
1370
+ "bbox": [
1371
+ 0.532,
1372
+ 0.082,
1373
+ 0.863,
1374
+ 0.145
1375
+ ],
1376
+ "angle": 0,
1377
+ "content": "<table><tr><td></td><td>K = 1</td><td>K = 2</td><td>K = 3</td><td>K = 4</td></tr><tr><td>C-MWP (RNN)</td><td>79.1</td><td>80.3</td><td>78.9</td><td>78.1</td></tr><tr><td>C-MWP (PLM)</td><td>86.1</td><td>85.9</td><td>85.2</td><td>85.1</td></tr></table>"
1378
+ },
1379
+ {
1380
+ "type": "table_caption",
1381
+ "bbox": [
1382
+ 0.509,
1383
+ 0.154,
1384
+ 0.883,
1385
+ 0.182
1386
+ ],
1387
+ "angle": 0,
1388
+ "content": "Table 4: Accuracies across different numbers of stacked CMEncoder on Math23k."
1389
+ },
1390
+ {
1391
+ "type": "text",
1392
+ "bbox": [
1393
+ 0.509,
1394
+ 0.209,
1395
+ 0.884,
1396
+ 0.273
1397
+ ],
1398
+ "angle": 0,
1399
+ "content": "\\(\\{0.1, 0.3, 0.5, 0.7\\}\\). Initial learning rate 0.001 is selected from \\(\\{0.01, 0.001, 0.0001\\}\\). For the hidden size and embedding size in encoder, we select 256 from \\(\\{64, 128, 256, 512\\}\\)."
1400
+ },
1401
+ {
1402
+ "type": "title",
1403
+ "bbox": [
1404
+ 0.51,
1405
+ 0.285,
1406
+ 0.808,
1407
+ 0.3
1408
+ ],
1409
+ "angle": 0,
1410
+ "content": "Variance and Significance Evaluation"
1411
+ },
1412
+ {
1413
+ "type": "text",
1414
+ "bbox": [
1415
+ 0.508,
1416
+ 0.306,
1417
+ 0.884,
1418
+ 0.419
1419
+ ],
1420
+ "angle": 0,
1421
+ "content": "We evaluated our solver with 5-fold cross-validation and found that the accuracy of our RNN-based C-MWP \\((0.779 \\pm 0.028)\\) is significantly higher than Graph2Tree \\((0.755 \\pm 0.016)\\) \\((p < 0.01)\\), and the accuracy of our PLM-based C-MWP \\((0.845 \\pm 0.21)\\) is significantly higher than vanilla MWP-BERT \\((0.824 \\pm 0.016)\\) \\((p < 0.01)\\)."
1422
+ },
1423
+ {
1424
+ "type": "title",
1425
+ "bbox": [
1426
+ 0.509,
1427
+ 0.431,
1428
+ 0.878,
1429
+ 0.447
1430
+ ],
1431
+ "angle": 0,
1432
+ "content": "Sensitivity Analysis about Stacking Number K"
1433
+ },
1434
+ {
1435
+ "type": "text",
1436
+ "bbox": [
1437
+ 0.508,
1438
+ 0.452,
1439
+ 0.884,
1440
+ 0.676
1441
+ ],
1442
+ "angle": 0,
1443
+ "content": "As we mentioned in Section 2.2, our CMEncoder can be stacked into multiple layers to improve the representation of an MWP. To obtain a better understanding about the hyperparameter K, i.e., the number of stacked CMEncoders, we conduct a sensitivity analysis in Table 4. We can see that the best K for RNN-encoder is 2, just like humans often need to make multiple glimpses to refine an MWP solution. In the meantime, the best K for PLM-based encoder is 1. The potential reason is that one pre-trained language model (PLM) already has an outstanding ability to encode texts. It is thus not necessary to apply another CMEncoder to refine the encoded features."
1444
+ },
1445
+ {
1446
+ "type": "title",
1447
+ "bbox": [
1448
+ 0.51,
1449
+ 0.689,
1450
+ 0.604,
1451
+ 0.705
1452
+ ],
1453
+ "angle": 0,
1454
+ "content": "Case Study"
1455
+ },
1456
+ {
1457
+ "type": "text",
1458
+ "bbox": [
1459
+ 0.508,
1460
+ 0.71,
1461
+ 0.885,
1462
+ 0.919
1463
+ ],
1464
+ "angle": 0,
1465
+ "content": "Figure 3 shows generated solutions of two solved problems by GTS (Xie and Sun, 2019), Graph2Tree (Zhang et al., 2020), Multi-E/D (Shen and Jin, 2020) and our proposed C-MWP (RNN-Based). The first problem has 4 quantities and they are all useful, which means that it requires sufficient problem understanding and mathematical reasoning to generate the right answer. Both Graph2Tree and Multi-E/D which directly connect semantics modal and quantity modal fail to extract clear representations of the problem, finally resulting in unreasonable solutions which only contain 3 quantities. For the second problem, although Graph2Tree and"
1466
+ },
1467
+ {
1468
+ "type": "page_number",
1469
+ "bbox": [
1470
+ 0.478,
1471
+ 0.928,
1472
+ 0.526,
1473
+ 0.941
1474
+ ],
1475
+ "angle": 0,
1476
+ "content": "10014"
1477
+ }
1478
+ ],
1479
+ [
1480
+ {
1481
+ "type": "image",
1482
+ "bbox": [
1483
+ 0.135,
1484
+ 0.081,
1485
+ 0.861,
1486
+ 0.293
1487
+ ],
1488
+ "angle": 0,
1489
+ "content": null
1490
+ },
1491
+ {
1492
+ "type": "image_caption",
1493
+ "bbox": [
1494
+ 0.375,
1495
+ 0.301,
1496
+ 0.622,
1497
+ 0.317
1498
+ ],
1499
+ "angle": 0,
1500
+ "content": "Figure 3: Case study from Math23k"
1501
+ },
1502
+ {
1503
+ "type": "table",
1504
+ "bbox": [
1505
+ 0.139,
1506
+ 0.339,
1507
+ 0.465,
1508
+ 0.42
1509
+ ],
1510
+ "angle": 0,
1511
+ "content": "<table><tr><td></td><td>Overall</td><td>Story</td><td>Algebra</td><td>Knowledge</td></tr><tr><td>train</td><td>21,162</td><td>17,546</td><td>2,595</td><td>957</td></tr><tr><td>val</td><td>1,000</td><td>817</td><td>133</td><td>50</td></tr><tr><td>test</td><td>1,000</td><td>842</td><td>116</td><td>42</td></tr></table>"
1512
+ },
1513
+ {
1514
+ "type": "table_caption",
1515
+ "bbox": [
1516
+ 0.114,
1517
+ 0.43,
1518
+ 0.489,
1519
+ 0.459
1520
+ ],
1521
+ "angle": 0,
1522
+ "content": "Table 5: Statistics of different types of problems in Math23k."
1523
+ },
1524
+ {
1525
+ "type": "text",
1526
+ "bbox": [
1527
+ 0.114,
1528
+ 0.485,
1529
+ 0.49,
1530
+ 0.595
1531
+ ],
1532
+ "angle": 0,
1533
+ "content": "Multi-E/D utilize all 3 quantities in the problem description, they still fail to generate a plausible solution. These two cases show that our proposed encoder is able to extract more comprehensive representations from problem descriptions, eventually guiding the decoder to generate the correct solutions."
1534
+ },
1535
+ {
1536
+ "type": "title",
1537
+ "bbox": [
1538
+ 0.115,
1539
+ 0.608,
1540
+ 0.357,
1541
+ 0.623
1542
+ ],
1543
+ "angle": 0,
1544
+ "content": "MWPs in Different Categories"
1545
+ },
1546
+ {
1547
+ "type": "text",
1548
+ "bbox": [
1549
+ 0.114,
1550
+ 0.629,
1551
+ 0.49,
1552
+ 0.868
1553
+ ],
1554
+ "angle": 0,
1555
+ "content": "Figure 1 shows the MWP examples of \"Story Problem\", \"Algebra Problem\" and \"Knowledge Problem\". \"Story Problem\" often includes a significant amount of background information like characters, objectives and behaviors. \"Algebra Problems\" involves math notations or is composed of elementary concepts. \"Knowledge Problem\" asks for external knowledge like geometry and number sequence. The category of each problem is determined based on keywords. The keywords of \"Story\" and \"Knowledge\" problems are selected from the appendix of (Liu et al., 2019). Inspired by them, we categorize Math23k into 3 subsets - story, algebra, and knowledge. The statistics of these problems are shown in Table 5."
1556
+ },
1557
+ {
1558
+ "type": "page_number",
1559
+ "bbox": [
1560
+ 0.478,
1561
+ 0.928,
1562
+ 0.526,
1563
+ 0.941
1564
+ ],
1565
+ "angle": 0,
1566
+ "content": "10015"
1567
+ }
1568
+ ],
1569
+ [
1570
+ {
1571
+ "type": "header",
1572
+ "bbox": [
1573
+ 0.134,
1574
+ 0.085,
1575
+ 0.435,
1576
+ 0.1
1577
+ ],
1578
+ "angle": 0,
1579
+ "content": "ACL 2023 Responsible NLP Checklist"
1580
+ },
1581
+ {
1582
+ "type": "title",
1583
+ "bbox": [
1584
+ 0.115,
1585
+ 0.108,
1586
+ 0.323,
1587
+ 0.123
1588
+ ],
1589
+ "angle": 0,
1590
+ "content": "A For every submission:"
1591
+ },
1592
+ {
1593
+ "type": "text",
1594
+ "bbox": [
1595
+ 0.128,
1596
+ 0.128,
1597
+ 0.533,
1598
+ 0.144
1599
+ ],
1600
+ "angle": 0,
1601
+ "content": "A1. Did you describe the limitations of your work?"
1602
+ },
1603
+ {
1604
+ "type": "text",
1605
+ "bbox": [
1606
+ 0.15,
1607
+ 0.145,
1608
+ 0.233,
1609
+ 0.16
1610
+ ],
1611
+ "angle": 0,
1612
+ "content": "Left blank."
1613
+ },
1614
+ {
1615
+ "type": "text",
1616
+ "bbox": [
1617
+ 0.128,
1618
+ 0.171,
1619
+ 0.553,
1620
+ 0.187
1621
+ ],
1622
+ "angle": 0,
1623
+ "content": "A2. Did you discuss any potential risks of your work?"
1624
+ },
1625
+ {
1626
+ "type": "text",
1627
+ "bbox": [
1628
+ 0.151,
1629
+ 0.188,
1630
+ 0.233,
1631
+ 0.202
1632
+ ],
1633
+ "angle": 0,
1634
+ "content": "Left blank."
1635
+ },
1636
+ {
1637
+ "type": "text",
1638
+ "bbox": [
1639
+ 0.128,
1640
+ 0.214,
1641
+ 0.696,
1642
+ 0.23
1643
+ ],
1644
+ "angle": 0,
1645
+ "content": "A3. Do the abstract and introduction summarize the paper's main claims?"
1646
+ },
1647
+ {
1648
+ "type": "text",
1649
+ "bbox": [
1650
+ 0.151,
1651
+ 0.231,
1652
+ 0.233,
1653
+ 0.246
1654
+ ],
1655
+ "angle": 0,
1656
+ "content": "Left blank."
1657
+ },
1658
+ {
1659
+ "type": "text",
1660
+ "bbox": [
1661
+ 0.128,
1662
+ 0.256,
1663
+ 0.669,
1664
+ 0.273
1665
+ ],
1666
+ "angle": 0,
1667
+ "content": "□ A4. Have you used AI writing assistants when working on this paper?"
1668
+ },
1669
+ {
1670
+ "type": "text",
1671
+ "bbox": [
1672
+ 0.151,
1673
+ 0.274,
1674
+ 0.233,
1675
+ 0.288
1676
+ ],
1677
+ "angle": 0,
1678
+ "content": "Left blank."
1679
+ },
1680
+ {
1681
+ "type": "title",
1682
+ "bbox": [
1683
+ 0.115,
1684
+ 0.301,
1685
+ 0.492,
1686
+ 0.317
1687
+ ],
1688
+ "angle": 0,
1689
+ "content": "B Did you use or create scientific artifacts?"
1690
+ },
1691
+ {
1692
+ "type": "text",
1693
+ "bbox": [
1694
+ 0.133,
1695
+ 0.322,
1696
+ 0.216,
1697
+ 0.337
1698
+ ],
1699
+ "angle": 0,
1700
+ "content": "Left blank."
1701
+ },
1702
+ {
1703
+ "type": "text",
1704
+ "bbox": [
1705
+ 0.128,
1706
+ 0.348,
1707
+ 0.531,
1708
+ 0.364
1709
+ ],
1710
+ "angle": 0,
1711
+ "content": "B1. Did you cite the creators of artifacts you used?"
1712
+ },
1713
+ {
1714
+ "type": "text",
1715
+ "bbox": [
1716
+ 0.151,
1717
+ 0.365,
1718
+ 0.233,
1719
+ 0.38
1720
+ ],
1721
+ "angle": 0,
1722
+ "content": "Left blank."
1723
+ },
1724
+ {
1725
+ "type": "text",
1726
+ "bbox": [
1727
+ 0.128,
1728
+ 0.391,
1729
+ 0.779,
1730
+ 0.407
1731
+ ],
1732
+ "angle": 0,
1733
+ "content": "B2. Did you discuss the license or terms for use and / or distribution of any artifacts?"
1734
+ },
1735
+ {
1736
+ "type": "text",
1737
+ "bbox": [
1738
+ 0.151,
1739
+ 0.408,
1740
+ 0.233,
1741
+ 0.423
1742
+ ],
1743
+ "angle": 0,
1744
+ "content": "Left blank."
1745
+ },
1746
+ {
1747
+ "type": "text",
1748
+ "bbox": [
1749
+ 0.128,
1750
+ 0.434,
1751
+ 0.882,
1752
+ 0.497
1753
+ ],
1754
+ "angle": 0,
1755
+ "content": "B3. Did you discuss if your use of existing artifact(s) was consistent with their intended use, provided that it was specified? For the artifacts you create, do you specify intended use and whether that is compatible with the original access conditions (in particular, derivatives of data accessed for research purposes should not be used outside of research contexts)?"
1756
+ },
1757
+ {
1758
+ "type": "text",
1759
+ "bbox": [
1760
+ 0.151,
1761
+ 0.499,
1762
+ 0.233,
1763
+ 0.514
1764
+ ],
1765
+ "angle": 0,
1766
+ "content": "Left blank."
1767
+ },
1768
+ {
1769
+ "type": "text",
1770
+ "bbox": [
1771
+ 0.128,
1772
+ 0.525,
1773
+ 0.882,
1774
+ 0.573
1775
+ ],
1776
+ "angle": 0,
1777
+ "content": "B4. Did you discuss the steps taken to check whether the data that was collected / used contains any information that names or uniquely identifies individual people or offensive content, and the steps taken to protect / anonymize it?"
1778
+ },
1779
+ {
1780
+ "type": "text",
1781
+ "bbox": [
1782
+ 0.151,
1783
+ 0.574,
1784
+ 0.233,
1785
+ 0.589
1786
+ ],
1787
+ "angle": 0,
1788
+ "content": "Left blank."
1789
+ },
1790
+ {
1791
+ "type": "text",
1792
+ "bbox": [
1793
+ 0.128,
1794
+ 0.6,
1795
+ 0.882,
1796
+ 0.632
1797
+ ],
1798
+ "angle": 0,
1799
+ "content": "B5. Did you provide documentation of the artifacts, e.g., coverage of domains, languages, and linguistic phenomena, demographic groups represented, etc.?"
1800
+ },
1801
+ {
1802
+ "type": "text",
1803
+ "bbox": [
1804
+ 0.151,
1805
+ 0.633,
1806
+ 0.233,
1807
+ 0.648
1808
+ ],
1809
+ "angle": 0,
1810
+ "content": "Left blank."
1811
+ },
1812
+ {
1813
+ "type": "text",
1814
+ "bbox": [
1815
+ 0.128,
1816
+ 0.659,
1817
+ 0.882,
1818
+ 0.74
1819
+ ],
1820
+ "angle": 0,
1821
+ "content": "B6. Did you report relevant statistics like the number of examples, details of train / test / dev splits, etc. for the data that you used / created? Even for commonly-used benchmark datasets, include the number of examples in train / validation / test splits, as these provide necessary context for a reader to understand experimental results. For example, small differences in accuracy on large test sets may be significant, while on small test sets they may not be."
1822
+ },
1823
+ {
1824
+ "type": "text",
1825
+ "bbox": [
1826
+ 0.151,
1827
+ 0.741,
1828
+ 0.233,
1829
+ 0.755
1830
+ ],
1831
+ "angle": 0,
1832
+ "content": "Left blank."
1833
+ },
1834
+ {
1835
+ "type": "title",
1836
+ "bbox": [
1837
+ 0.115,
1838
+ 0.766,
1839
+ 0.496,
1840
+ 0.782
1841
+ ],
1842
+ "angle": 0,
1843
+ "content": "C Did you run computational experiments?"
1844
+ },
1845
+ {
1846
+ "type": "text",
1847
+ "bbox": [
1848
+ 0.133,
1849
+ 0.787,
1850
+ 0.216,
1851
+ 0.802
1852
+ ],
1853
+ "angle": 0,
1854
+ "content": "Left blank."
1855
+ },
1856
+ {
1857
+ "type": "text",
1858
+ "bbox": [
1859
+ 0.128,
1860
+ 0.814,
1861
+ 0.882,
1862
+ 0.846
1863
+ ],
1864
+ "angle": 0,
1865
+ "content": "C1. Did you report the number of parameters in the models used, the total computational budget (e.g., GPU hours), and computing infrastructure used?"
1866
+ },
1867
+ {
1868
+ "type": "text",
1869
+ "bbox": [
1870
+ 0.151,
1871
+ 0.847,
1872
+ 0.233,
1873
+ 0.861
1874
+ ],
1875
+ "angle": 0,
1876
+ "content": "Left blank."
1877
+ },
1878
+ {
1879
+ "type": "text",
1880
+ "bbox": [
1881
+ 0.114,
1882
+ 0.869,
1883
+ 0.878,
1884
+ 0.893
1885
+ ],
1886
+ "angle": 0,
1887
+ "content": "The Responsible NLP Checklist used at ACL 2023 is adopted from NAACL 2022, with the addition of a question on AI writing assistance."
1888
+ },
1889
+ {
1890
+ "type": "page_number",
1891
+ "bbox": [
1892
+ 0.478,
1893
+ 0.929,
1894
+ 0.526,
1895
+ 0.941
1896
+ ],
1897
+ "angle": 0,
1898
+ "content": "10016"
1899
+ }
1900
+ ],
1901
+ [
1902
+ {
1903
+ "type": "text",
1904
+ "bbox": [
1905
+ 0.129,
1906
+ 0.085,
1907
+ 0.88,
1908
+ 0.133
1909
+ ],
1910
+ "angle": 0,
1911
+ "content": "C2. Did you discuss the experimental setup, including hyperparameter search and best-found hyperparameter values? Left blank."
1912
+ },
1913
+ {
1914
+ "type": "text",
1915
+ "bbox": [
1916
+ 0.129,
1917
+ 0.144,
1918
+ 0.881,
1919
+ 0.207
1920
+ ],
1921
+ "angle": 0,
1922
+ "content": "C3. Did you report descriptive statistics about your results (e.g., error bars around results, summary statistics from sets of experiments), and is it transparent whether you are reporting the max, mean, etc. or just a single run? Left blank."
1923
+ },
1924
+ {
1925
+ "type": "text",
1926
+ "bbox": [
1927
+ 0.129,
1928
+ 0.219,
1929
+ 0.881,
1930
+ 0.283
1931
+ ],
1932
+ "angle": 0,
1933
+ "content": "C4. If you used existing packages (e.g., for preprocessing, for normalization, or for evaluation), did you report the implementation, model, and parameter settings used (e.g., NLTK, Spacy, ROUGE, etc.)? Left blank."
1934
+ },
1935
+ {
1936
+ "type": "list",
1937
+ "bbox": [
1938
+ 0.129,
1939
+ 0.085,
1940
+ 0.881,
1941
+ 0.283
1942
+ ],
1943
+ "angle": 0,
1944
+ "content": null
1945
+ },
1946
+ {
1947
+ "type": "title",
1948
+ "bbox": [
1949
+ 0.115,
1950
+ 0.294,
1951
+ 0.878,
1952
+ 0.31
1953
+ ],
1954
+ "angle": 0,
1955
+ "content": "D Did you use human annotators (e.g., crowdworkers) or research with human participants?"
1956
+ },
1957
+ {
1958
+ "type": "text",
1959
+ "bbox": [
1960
+ 0.134,
1961
+ 0.315,
1962
+ 0.215,
1963
+ 0.33
1964
+ ],
1965
+ "angle": 0,
1966
+ "content": "Left blank."
1967
+ },
1968
+ {
1969
+ "type": "text",
1970
+ "bbox": [
1971
+ 0.129,
1972
+ 0.341,
1973
+ 0.881,
1974
+ 0.388
1975
+ ],
1976
+ "angle": 0,
1977
+ "content": "D1. Did you report the full text of instructions given to participants, including e.g., screenshots, disclaimers of any risks to participants or annotators, etc.? Left blank."
1978
+ },
1979
+ {
1980
+ "type": "text",
1981
+ "bbox": [
1982
+ 0.129,
1983
+ 0.4,
1984
+ 0.881,
1985
+ 0.464
1986
+ ],
1987
+ "angle": 0,
1988
+ "content": "D2. Did you report information about how you recruited (e.g., crowdsourcing platform, students) and paid participants, and discuss if such payment is adequate given the participants' demographic (e.g., country of residence)? Left blank."
1989
+ },
1990
+ {
1991
+ "type": "text",
1992
+ "bbox": [
1993
+ 0.129,
1994
+ 0.475,
1995
+ 0.881,
1996
+ 0.54
1997
+ ],
1998
+ "angle": 0,
1999
+ "content": "D3. Did you discuss whether and how consent was obtained from people whose data you're using/curating? For example, if you collected data via crowdsourcing, did your instructions to crowdworkers explain how the data would be used? Left blank."
2000
+ },
2001
+ {
2002
+ "type": "text",
2003
+ "bbox": [
2004
+ 0.129,
2005
+ 0.55,
2006
+ 0.873,
2007
+ 0.582
2008
+ ],
2009
+ "angle": 0,
2010
+ "content": "D4. Was the data collection protocol approved (or determined exempt) by an ethics review board? Left blank."
2011
+ },
2012
+ {
2013
+ "type": "text",
2014
+ "bbox": [
2015
+ 0.129,
2016
+ 0.593,
2017
+ 0.881,
2018
+ 0.641
2019
+ ],
2020
+ "angle": 0,
2021
+ "content": "D5. Did you report the basic demographic and geographic characteristics of the annotator population that is the source of the data? Left blank."
2022
+ },
2023
+ {
2024
+ "type": "list",
2025
+ "bbox": [
2026
+ 0.129,
2027
+ 0.341,
2028
+ 0.881,
2029
+ 0.641
2030
+ ],
2031
+ "angle": 0,
2032
+ "content": null
2033
+ },
2034
+ {
2035
+ "type": "page_number",
2036
+ "bbox": [
2037
+ 0.478,
2038
+ 0.928,
2039
+ 0.526,
2040
+ 0.941
2041
+ ],
2042
+ "angle": 0,
2043
+ "content": "10017"
2044
+ }
2045
+ ]
2046
+ ]
2023/Compositional Mathematical Encoding for Math Word Problems/801bbb7b-d8b8-4c19-87bf-9a90de8c668a_origin.pdf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e8ada1e67c7ff7825f159a96995c863d4fe005ab9da7f9188f54a322f9c8dbe9
3
+ size 465304
2023/Compositional Mathematical Encoding for Math Word Problems/full.md ADDED
@@ -0,0 +1,329 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Compositional Mathematical Encoding for Math Word Problems
2
+
3
+ Zhenwen Liang $^{1}$ , Jipeng Zhang $^{2}$ , Kehan Guo $^{1}$ , Xiaodong Wu $^{3}$ , Jie Shao $^{4}$ , and Xiangliang Zhang $^{\boxtimes 1}$
4
+
5
+ <sup>1</sup>University of Notre Dame, {zliang6, kguo2, xzhang33}@nd.edu
6
+ <sup>2</sup>Hong Kong University of Science and Technology, jzhanggr@connect.ust.hk
7
+ <sup>3</sup>Queen's University, 22hd17@queensu.ca
8
+ <sup>4</sup>University of Electronic Science and Technology of China, shaojie@uestc.edu.cn
9
+
10
+ # Abstract
11
+
12
+ Solving math word problem (MWP) remains a challenging task, as it requires to understand both the semantic meanings of the text and the mathematical logic among quantities, i.e., for both semantics modal and quantity modal learning. Current MWP encoders work in a uni-modal setting and map the given problem description to a latent representation, then for decoding. The generalizability of these MWP encoders is thus limited because some problems are semantics-demanding and others are quantity-demanding. To address this problem, we propose a Compositional Math Word Problem Solver (C-MWP) which works in a bimodal setting encoding in an interactive way. Extensive experiments validate the effectiveness of C-MWP and show its superiority over state-of-the-art models on public benchmarks.
13
+
14
+ # 1 Introduction
15
+
16
+ The task of math word problem (MWP) solving aims to map natural language problem descriptions into executable solution equations to get the correct answer, which is a sub-area of neuro-symbolic reasoning. It requires perceptual abilities such as comprehending the question, identifying the quantities and corresponding attributes, as well as complex semantics understanding skills like performing logical inference, making comparisons and leveraging external mathematical knowledge.
17
+
18
+ While MWP encoders have been sophisticatedly designed to understand the natural language problem description, the difference on understanding diverse types of problems has not been aware of. We find that MWP can generally be grouped into three categories based on the keywords in (Liu et al., 2019), i.e., "Story Problem", "Algebra Problem" and "Knowledge Problem". "Story Problem" often includes significant amount of background information like characters, objectives and behaviors.
19
+
20
+ "Algebra Problems" involves math notations or is composed of elementary concepts. "Knowledge Problem" asks for external knowledge like geometry and number sequence, as shown in Figure 1.
21
+
22
+ These types of problems can be compositionally understood at the different level attention to the semantics modal and quantity modal, where RNNs and pre-trained language models usually focus on the textual information and GCN with quantity-centered graphs capture the relationship between quantities and contexts. However, the encoders in existing MWP solvers either model only the semantics modality or utilize quantity modal priors to refine the MWP encoding (Zhang et al., 2020; Shen and Jin, 2020). Although the quantity centered refinement can particularly make improvements on quantity-demanding problems, its semantics understanding is weakened (evidence can be found in Table 3). This limitation, one joint modal cannot do it all, decreases the generalization of MWP solvers and is what compositional learning aims to address. In this work, we propose to disentangle semantics modal and quantity modal by compositional learning at the encoding stage, aiming to improve the generalization across different types of problems.
23
+
24
+ Contributions. (i) A novel and effective bimodal approach is proposed for the first time to enable MWP compositional understanding. (ii) A joint reasoning module is designed for our bimodal architectures to flexibly incorporate different modalities. (iii) Extensive experiments and ablative studies on two large-scale MWP benchmarks – Math23k (Wang et al., 2017) and MAwPS (Koncel-Kedziorski et al., 2016) show the superiority of the proposed approach over related works.
25
+
26
+ ![](images/762bc4966b60b6fa4bc9b5cf248bd7d470551fe672405852f5b0a3dfcc1095b7.jpg)
27
+ Figure 1: Examples of different types of problems in MWP solving.
28
+
29
+ # 2 Related Work
30
+
31
+ Compositional Learning in NLP. Modeling compositionality in language has been a longstanding issue (Wong and Wang, 2007) in NLP community. One common practice is to perform disentanglement over language representations at different levels (Welch et al., 2020). They usually focus on atomic semantics units like character, word and phrase. As logic form annotations naturally own compositional features, compositionality is incorporated in generating correct logic contents. Therefore, the compositionality is often injected into traditional semantic parsing tasks (Chen et al., 2020; Yang et al., 2022) where the goals during training can be decomposed and then reorganized as a novel goal.
32
+
33
+ Our work firstly tries to inject compositional prior into MWP encoding. It is worth noting that MWP solving owns the same well-organized logic form annotations as machine reasoning, which naturally requires compositionality.
34
+
35
+ Math Word Problem Solving. Earlier MWP solvers parse problem descriptions semantically, and learn templates for generating answers (Koncel-Kedziorski et al., 2015). Recent works (Wang et al., 2017; Xie and Sun, 2019; Li et al., 2019; Zhang et al., 2020; Shen and Jin, 2020; Wu et al., 2021b,a; Lin et al., 2021; Liang and Zhang, 2021; Jie et al., 2022) focus on employing the encoder-decoder framework (e.g., sequence-to-sequence,
36
+
37
+ sequence-to-tree, graph-to-tree) to translate MWP texts into equations based on traditional RNN structure. There are also new settings (Amini et al., 2019; Miao et al., 2020) introduced to extend MWP solving in equation group generation and diagnosing awareness of external knowledge. Nowadays, many researchers build strong MWP solvers upon pre-trained language models (PLMs) (Huang et al., 2021; Li et al., 2021; Yu et al., 2021; Shen et al., 2021; Lan et al., 2022) and have achieved great performance. Differently, our work lays the groundwork of feature extraction of quantity modal, which is orthogonal to those works.
38
+
39
+ In this work, we not only propose an explicit compositional encoding module with a multi-layer design, but also incorporate detailed analysis to verify its compositional learning ability, to jointly leverage semantic and quantity information to achieve effective MWP understanding.
40
+
41
+ # 3 Our approach
42
+
43
+ # 3.1 Compositional Mathematical Encoder
44
+
45
+ As shown in Figure 2, our CMEncoder block consists of a semantic encoder, a quantity encoder and a dynamic fusion block. The semantic encoder aims to extract semantic information from the problem description, understanding the background and objectives. The latter part encodes problems only with quantity-related graphs, helping the encoder to know the properties of quantities and the relationship between quantities and contexts.
46
+
47
+ ![](images/2cee7b44492be75c82ea2b3a2de99f53cf4f1f239381d0c0c68bc14878e23248.jpg)
48
+ Figure 2: The CMEncoder block (shown at the bottom) takes the given problem description, and runs in parallel to obtain $H_{r}$ from the semantic encoder, and $H_{g}$ from the quantity encoder. A dynamic fusion module incorporates $H_{r}$ and $H_{g}$ by cross-modal attention. The obtained $H_{f}$ is attentively stacked with $H_{r}$ and $H_{g}$ . The resulted $H_{att}$ is sent to the next CMEncoder block. The final problem representation $H_{final}$ goes to the decoder for generating the final solution equation.
49
+
50
+ Semantic Encoder. To demonstrate the robustness of our approach, we implemented two different semantic encoders as our backbone.
51
+
52
+ Firstly, we encode the problem description $W$ by a bidirectional gated recurrent unit (BiGRU) (Cho et al., 2014). The outputs of GRU are hidden state vectors of all tokens, $H_{r} = \{h_{1}, h_{2}, \dots, h_{n}\}$ , where $n$ is the length of problem $W$ .
53
+
54
+ $$
55
+ H _ {r} = \operatorname {B i G R U} \left(\operatorname {E m b e d} _ {s} (W)\right) \tag {1}
56
+ $$
57
+
58
+ where $Embed_{s}(W)$ is the embedding result of textual description $W$ in semantics modal. Empirically, we find that two stacked CMEncoders as shown in Figure 2 achieve the best performance.
59
+
60
+ Secondly, pre-trained language models (PLMs) have been ubiquitous in NLP tasks. We use the latest push of MWP-BERT (Liang et al., 2022) as our semantic encoder to obtain $H_{r}$ .
61
+
62
+ Quantity Encoder. To encode the quantity modal in the problem $W$ , we feed a graph transformer $G_{trans}$ with Quantity Comparison Graph and Quantity Cell Graph following Graph2Tree (Zhang et al., 2020),
63
+
64
+ $$
65
+ H _ {g} = G _ {\text {t r a n s}} \left(\operatorname {E m b e d} _ {q} (W)\right) \tag {2}
66
+ $$
67
+
68
+ where $\operatorname{Embed}_q(W)$ is the embedding matrix in the quantity modal, which aims to improve the
69
+
70
+ quantity representation by incorporating quantity magnitude information and quantity-context relationship with the above two graphs. Different from Graph2Tree, the two embeddings $Embed_{s}(W)$ and $Embed_{q}(W)$ are updated in the training process to extract the semantics and quantity feature separately. In this way, semantics and quantity modals are disentangled, which alleviates the issue of "one joint modal cannot do it all", enabling the C-MWP solver to pay different levels of attention when solving different problems.
71
+
72
+ Dynamic Fusion. To achieve joint reasoning over the semantics information and quantity information, we design a dynamic fusion module to flexibly incorporate the features from these two modals. First, we get $s$ and $q$ from the mean pooling of $H_{r}$ and $H_{g}$ , respectively. Then, cross-modal attention is applied between $H_{r}$ and $q$ , $H_{g}$ and $s$ :
73
+
74
+ $$
75
+ \begin{array}{l} A t t _ {1} \left(H _ {r}, q\right) = \Sigma_ {i = 1} ^ {n} a _ {i} H _ {r i} \\ A t t _ {1} \left(H _ {r}\right) = \Sigma_ {i = 1} ^ {n} H _ {r i} \end{array} \tag {3}
76
+ $$
77
+
78
+ $$
79
+ A t t _ {2} (H _ {g}, s) = \Sigma_ {i = 1} ^ {n} b _ {i} H _ {g i}
80
+ $$
81
+
82
+ where the attention scores $a_{i}, b_{i}$ come from:
83
+
84
+ $$
85
+ a _ {i} = W _ {a} ^ {1} \tanh \left(W _ {a} ^ {2} \left(H _ {r i} \mid \mid q\right)\right) \tag {4}
86
+ $$
87
+
88
+ $$
89
+ b _ {i} = W _ {b} ^ {1} \tanh (W _ {b} ^ {2} \left(H _ {g i} \mid | s\right))
90
+ $$
91
+
92
+ where $W_{a}^{1}, W_{a}^{2}, W_{b}^{1}$ and $W_{b}^{2}$ are parameter matrices. The cross-modal attention here grounds the
93
+
94
+ quantity information in the semantics modal, and vice versa. By applying different weights on different modals, our model is flexible to pay more or less attention on a certain modal. Finally, the output of dynamic fusion is:
95
+
96
+ $$
97
+ H _ {f} = \operatorname {A t t} _ {1} \left(H _ {r}, q\right) \mid \mid \operatorname {A t t} _ {2} \left(H _ {g}, s\right). \tag {5}
98
+ $$
99
+
100
+ # 3.2 Stack Multiple CMEncoders
101
+
102
+ Humans often need to make multiple glimpses to refine an MWP solution. Similarly, a CMEncoder can be stacked in multiple steps to refine the understanding of an MWP, as shown in Figure 2. Given the output from the semantic encoder, quantity encoder and dynamic fusion module at layer $k - 1$ , the features are stacked as:
103
+
104
+ $$
105
+ H _ {a t t} ^ {(k - 1)} = c _ {r} H _ {r} ^ {(k - 1)} + c _ {g} H _ {g} ^ {(k - 1)} \tag {6}
106
+ $$
107
+
108
+ where the attention weights $c_{r}$ and $c_{g}$ are:
109
+
110
+ $$
111
+ \begin{array}{l} c _ {r} = W _ {r} ^ {1} \tanh \left(W _ {r} ^ {2} \left(H _ {r} ^ {(k - 1)} \mid \mid H _ {f} ^ {(k - 1)}\right)\right) \tag {7} \\ c _ {g} = W _ {g} ^ {1} \tanh (W _ {g} ^ {2} \left(H _ {g} ^ {(k - 1)} \mid \mid H _ {f} ^ {(k - 1)}\right)) \\ \end{array}
112
+ $$
113
+
114
+ where $W_{r}^{1}, W_{r}^{2}, W_{g}^{1}$ and $W_{g}^{2}$ are parameter matrices. The $H_{att}^{(k - 1)}$ will be the input for both the semantic modal and quantity modal of K-th CMEncoder, which will output $H_{r}^{(k)}, H_{g}^{(k)}$ and $H_{f}^{(k)}$ , which can be sent for the update at layer $k + 1$ .
115
+
116
+ After finishing the $K$ -th step reasoning, we concatenate the final $H_r^{(K)}$ and $H_g^{(K)}$ as the final output representation $H_{final}$ .
117
+
118
+ # 3.3 Decoder
119
+
120
+ We follow the same implementation as GTS (Xie and Sun, 2019). Eventually, the decoder will output the pre-order traversal sequence of the solution tree.
121
+
122
+ # 3.4 Training Method
123
+
124
+ Given the training samples with problem description $W$ and the corresponding solution $S$ , the main training objective is to minimize the negative log probability for predicting $S$ from $W$ , empowered by the compositionality of the CMEncoders. Therefore, the overall loss is:
125
+
126
+ $$
127
+ L = L _ {M W P} + \left| \left| E m b e d _ {s} \right| \right| _ {2} + \left| \left| E m b e d _ {q} \right| \right| _ {2} (8)
128
+ $$
129
+
130
+ where $L_{MWP}$ is the negative log prediction probability $-\log p(S \mid W)$ . The $L_2$ norm of the encoder embedding matrices is added to the loss function as regularization terms.
131
+
132
+ # 4 Experiments
133
+
134
+ # 4.1 Datasets
135
+
136
+ Math23k (Wang et al., 2017) containing 23,162 Chinese MWPs is collected from several educational websites.
137
+
138
+ MAWPS (Koncel-Kedziorski et al., 2015) is an MWP dataset owning 2,373 English MwPs.
139
+
140
+ # 4.2 Baselines
141
+
142
+ GTS (Xie and Sun, 2019) proposes a powerful tree-based decoder. Graph2Tree (Zhang et al., 2020) constructs graphs to extract useful relationships in an MWP. NumS2T (Wu et al., 2021b) encode quantities with explicit numerical values. MultiE/D (Shen and Jin, 2020) proposes to use multiple decoders in MWP solving. HMS (Lin et al., 2021) develops a hierarchical word-clause-problem encoder. EEH-G2T (Wu et al., 2021a) aims to capture the long-range word relationship by graph network. REAL (Huang et al., 2021) proposes a analogical auxiliary learning strategy by extracting similar MWPs. BERT-CL (Li et al., 2021) uses contrastive learning with PLMs. RPKHS (Yu et al., 2021) performs hierarchical reasoning with PLMs. MWP-BERT released a BERT-based encoder that is continually pre-trained on MWP corpus. Gen&Rank (Shen et al., 2021) designs a multi-task learning framework with encoder-decoder pre-training. MWP toolkit (Lan et al., 2022) finds a RoBERTa-to-RoBERTa model has the best performance in MWP solving.
143
+
144
+ # 4.3 Experimental Results
145
+
146
+ As Table 1 shows, our approach outperforms all other RNN-based baselines in terms of answer accuracy. On Math23k, we outperform the latest RNN-based push from Wu et al. (2021a) by $1.8\%$ . For the first time, an RNN-based MWP solver reaches over $80\%$ answer accuracy on the Math23k dataset. What is more, the even fewer parameters with the best performance suggest that our model is also memory-efficient.
147
+
148
+ PLM-based solvers benefit from the pre-training on a huge amount of corpus and thus achieve great semantic understanding ability. From a different point of view, our work aims to effectively and efficiently integrate semantic and quantity understanding. Therefore, by incorporating the MWP-BERT model as our semantic extractor, the answer accuracy of C-MWP achieves state-of-the-art performance. It proves the feasibility of combining
149
+
150
+ <table><tr><td></td><td>Math23k</td><td>Math23k*</td><td>MAWPS</td><td>#E</td></tr><tr><td colspan="5">RNN Based</td></tr><tr><td>DNS</td><td>-</td><td>58.1</td><td>59.5</td><td>3.0M</td></tr><tr><td>GTS</td><td>75.6</td><td>74.3</td><td>82.6</td><td>7.2M</td></tr><tr><td>Graph2Tree</td><td>77.4</td><td>75.5</td><td>83.7</td><td>9.0M</td></tr><tr><td>NUMS2T</td><td>78.1</td><td>-</td><td>-</td><td>7.9M</td></tr><tr><td>Multi-E/D</td><td>78.4</td><td>76.9</td><td>-</td><td>14.2M</td></tr><tr><td>HMS</td><td>78.4</td><td>-</td><td>80.3</td><td>9.5M</td></tr><tr><td>EEH-G2T</td><td>78.5</td><td>-</td><td>84.8</td><td>9.9M</td></tr><tr><td>C-MWP (RNN)</td><td>80.3</td><td>77.9</td><td>84.9</td><td>7.6M</td></tr><tr><td colspan="5">PLM Based</td></tr><tr><td>REAL</td><td>82.3</td><td>80.0</td><td>-</td><td>110M</td></tr><tr><td>BERT-CL</td><td>83.2</td><td>-</td><td>-</td><td>102M</td></tr><tr><td>RPKHS</td><td>83.9</td><td>82.2</td><td>-</td><td>102M</td></tr><tr><td>MWP-BERT</td><td>84.7</td><td>82.4</td><td>-</td><td>110M</td></tr><tr><td>Gen&amp;Rank</td><td>85.4</td><td>84.3</td><td>-</td><td>610M</td></tr><tr><td>MWP toolkit</td><td>-</td><td>76.9</td><td>88.4</td><td>110M</td></tr><tr><td>C-MWP (PLM)</td><td>86.1</td><td>84.5</td><td>89.1</td><td>130M</td></tr></table>
151
+
152
+ Table 1: Math23k column shows the results when evaluating on the public test set of Math23k, while the $\mathrm{Math23k^{*}}$ column shows the result of 5-fold cross validation on Math23k dataset. The last column #E denotes the number of parameters in encoders.
153
+
154
+ <table><tr><td></td><td>Graph Encoder</td><td>Compositional Structure</td><td>Dynamic Fusion</td><td>Acc(%)</td></tr><tr><td>GTS</td><td>X</td><td>X</td><td>X</td><td>75.6</td></tr><tr><td>Graph2Tree</td><td>✓</td><td>X</td><td>X</td><td>77.4</td></tr><tr><td></td><td>✓</td><td>✓</td><td>X</td><td>78.1</td></tr><tr><td></td><td>✓</td><td>X</td><td>✓</td><td>78.9</td></tr><tr><td>C-MWP</td><td>✓</td><td>✓</td><td>✓</td><td>80.3</td></tr></table>
155
+
156
+ PLM-based semantic modal encoder and graph-based quantity modal encoder, which will be an interesting inspiration to the community.
157
+
158
+ # Ablative Study of Different Components.
159
+
160
+ In order to evaluate the effectiveness of each component in $C$ -MWP, we report the model performance after removing several components. Compared with Graph2Tree, our compositional structure and dynamic fusion module allow the full usage of both modals and excel in improving performance. "Compositional Structure" denotes separating the semantic and quantity modal with two different encoders that run in parallel. "w Compositional Structure and w/o Dynamic Fusion" means we replace the Dynamic Fusion module with a simple addition of two features from two encoders. "w/o Compositional Structure and w Dynamic Fusion" means, we employ the structure of Graph2Tree, then utilize our dynamic fusion module to fuse the feature from the RNN Encoder and
161
+
162
+ Table 2: Accuracy among different ablated models.
163
+
164
+ <table><tr><td>Model</td><td>Overall</td><td>Story</td><td>Algebra</td><td>KNWL</td></tr><tr><td>GTS</td><td>75.4</td><td>75.1</td><td>82.8</td><td>64.3</td></tr><tr><td>Graph2Tree</td><td>77.4</td><td>76.3</td><td>89.7</td><td>57.1</td></tr><tr><td>Multi-E/D</td><td>78.4</td><td>77.8</td><td>88.8</td><td>61.9</td></tr><tr><td>C-MWP (RNN)</td><td>80.3</td><td>80.0</td><td>90.0</td><td>66.7</td></tr><tr><td>MWP-BERT</td><td>84.7</td><td>85.6</td><td>88.8</td><td>72.0</td></tr><tr><td>C-MWP (PLM)</td><td>86.1</td><td>87.5</td><td>90.7</td><td>72.0</td></tr></table>
165
+
166
+ Table 3: The answer accuracy $(\%)$ of problems in different types. KNWL stands for the external knowledge required problems.
167
+
168
+ the feature from the GNN Encoder of Graph2Tree.
169
+
170
+ # Performance on Different Types of MWP.
171
+
172
+ In order to investigate how our model performs across various types of MWP, we introduce a new split of Math23k with regard to three types of problems: story problems, algebra problems and knowledge problems. Split details are shown in the appendix. The evaluation results are presented in Table 3. Without a compositional manner, Graph2Tree and Multi-E/D perform better than GTS on story and algebra testing problems, whereas they perform worse on knowledge problems. As stated before, one joint modal cannot do it all. These baselines work well on some types of problems while having weak performance on other types of problems. Our C-MWP offers a general accuracy improvement, which firmly supports our motivation for alleviating the generalization issue. This provides clear evidence that our model leverages general math knowledge across different types of MWP, successfully solving some nontrivial problems that Graph2Tree failed to solve.
173
+
174
+ # 5 Conclusion and Future Work
175
+
176
+ The semantic meaning and quantity information are important intrinsic properties of a math word problem. Aiming at dealing with uni-modal bias and achieve better generalization, we make the first attempt to propose a compositional MWP solver, $C$ -MWP. Multi-layer reasoning and specified training methods are leveraged to enhance the generalizability of the model. As the method could be applied in a broader range of neuro-symbolic learning problems, we will keep exploring the adaptiveness of this compositional encoding method.
177
+
178
+ # Acknowledgement
179
+
180
+ The research work is partially supported by the Internal Asia Research Collaboration Grant, University of Notre Dame.
181
+
182
+ # Limitations
183
+
184
+ Explainability Most current MWP solvers are only able to generate solutions. In our work, although we achieved better generalization ability, it is still hard to explain how the model solves MwPs both correctly or incorrectly. These automated solvers would be much more helpful for tutoring students if they could explain their equation solutions by generating reasoning steps.
185
+
186
+ # References
187
+
188
+ Aida Amini, Saadia Gabriel, Shanchuan Lin, Rik Koncel-Kedziorski, Yejin Choi, and Hannaneh Hajishirzi. 2019. Mathqa: Towards interpretable math word problem solving with operation-based formalisms. In NAACL, pages 2357-2367.
189
+ Xinyun Chen, Chen Liang, Adams Wei Yu, Dawn Song, and Denny Zhou. 2020. Compositional generalization via neural-symbolic stack machines. NeurIPS, 33:1690-1701.
190
+ Kyunghyun Cho, Bart van Merrienboer, Caglar Gulcehre, Dzmitry Bahdanau, Fethi Bougares, Holger Schwenk, and Yoshua Bengio. 2014. Learning phrase representations using rnn encoder-decoder for statistical machine translation. In EMNLP, pages 1724-1734.
191
+ Shifeng Huang, Jiawei Wang, Jiao Xu, Da Cao, and Ming Yang. 2021. Recall and learn: A memory-augmented solver for math word problems. In Findings of EMNLP, pages 786-796.
192
+ Zhanming Jie, Jierui Li, and Wei Lu. 2022. Learning to reason deductively: Math word problem solving as complex relation extraction. In ACL, pages 5944-5955.
193
+ Rik Koncel-Kedziorski, Hannaneh Hajishirzi, Ashish Sabharwal, Oren Etzioni, and Siena Dumas Ang. 2015. Parsing algebraic word problems into equations. ACL, 3:585-597.
194
+ Rik Koncel-Kedziorski, Subhro Roy, Aida Amini, Nate Kushman, and Hannaneh Hajishirzi. 2016. Mawps: A math word problem repository. In NAACL, pages 1152-1157.
195
+ Yihuai Lan, Lei Wang, Qiyuan Zhang, Yunshi Lan, Bing Tian Dai, Yan Wang, Dongxiang Zhang, and Ee-Peng Lim. 2022. Mwptoolkit: An open-source framework for deep learning-based math word problem solvers. In AAAI, volume 36, pages 13188-13190.
196
+ Jierui Li, Lei Wang, Jipeng Zhang, Yan Wang, Bing Tian Dai, and Dongxiang Zhang. 2019. Modeling intra-relation in math word problems with different functional multi-head attentions. In ACL, pages 6162-6167.
197
+
198
+ Zhongli Li, Wenxuan Zhang, Chao Yan, Qingyu Zhou, Chao Li, Hongzhi Liu, and Yunbo Cao. 2021. Seeking patterns, not just memorizing procedures: Contrastive learning for solving math word problems. arXiv preprint arXiv:2110.08464.
199
+ Zhenwen Liang, Jipeng Zhang, Lei Wang, Wei Qin, Yunshi Lan, Jie Shao, and Xiangliang Zhang. 2022. MWP-BERT: Numeracy-augmented pre-training for math word problem solving. In *Findings of NAACL*, pages 997-1009.
200
+ Zhenwen Liang and Xiangliang Zhang. 2021. Solving math word problems with teacher supervision. In *IJCAI*, pages 3522-3528.
201
+ Xin Lin, Zhenya Huang, Hongke Zhao, Enhong Chen, Qi Liu, Hao Wang, and Shijin Wang. 2021. Hms: A hierarchical solver with dependency-enhanced understanding for math word problem. In AAAI, pages 4232-4240.
202
+ Qianying Liu, Wenyv Guan, Sujian Li, and Daisuke Kawahara. 2019. Tree-structured decoding for solving math word problems. In EMNLP, pages 2370-2379.
203
+ Shen-Yun Miao, Chao-Chun Liang, and Keh-Yih Su. 2020. A diverse corpus for evaluating and developing english math word problem solvers. In ACL, pages 975-984.
204
+ Jianhao Shen, Yichun Yin, Lin Li, Lifeng Shang, Xin Jiang, Ming Zhang, and Qun Liu. 2021. Generate & rank: A multi-task framework for math word problems. In EMNLP, pages 2269-2279.
205
+ Yibin Shen and Cheqing Jin. 2020. Solving math word problems with multi-encoders and multi-decoders. In COLING, pages 2924-2934.
206
+ Yan Wang, Xiaojiang Liu, and Shuming Shi. 2017. Deep neural solver for math word problems. In EMNLP, pages 845-854.
207
+ Charles Welch, Jonathan K Kummerfeld, Verónica Pérez-Rosas, and Rada Mihalcea. 2020. Compositional demographic word embeddings. In EMNLP, pages 4076-4089.
208
+ Francis CK Wong and William SY Wang. 2007. Generalisation towards combinatorial productivity in language acquisition by simple recurrent networks. In 2007 International Conference on Integration of Knowledge Intensive Multi-Agent Systems, pages 139-144. IEEE.
209
+ Qinzhuo Wu, Qi Zhang, and Zhongyu Wei. 2021a. An edge-enhanced hierarchical graph-to-tree network for math word problem solving. In *Findings of EMNLP*, pages 1473–1482.
210
+ Qinzhuo Wu, Qi Zhang, Zhongyu Wei, and Xuanjing Huang. 2021b. Math word problem solving with explicit numerical values. In ACL, pages 5859-5869.
211
+
212
+ Zhipeng Xie and Shichao Sun. 2019. A goal-driven tree-structured neural model for math word problems. In *IJCAI*, pages 5299–5305.
213
+
214
+ Jingfeng Yang, Le Zhang, and Diyi Yang. 2022. SUBS: Subtree substitution for compositional semantic parsing. In *NAACN*, pages 169–174, Seattle, United States. Association for Computational Linguistics.
215
+
216
+ Weijiang Yu, Yingpeng Wen, Fudan Zheng, and Nong Xiao. 2021. Improving math word problems with pre-trained knowledge and hierarchical reasoning. In EMNLP, pages 3384-3394.
217
+
218
+ Jipeng Zhang, Lei Wang, Roy Ka-Wei Lee, Yi Bin, Yan Wang, Jie Shao, and Ee-Peng Lim. 2020. Graph-to-tree learning for solving math word problems. In ACL, pages 3928-3937.
219
+
220
+ # Appendix
221
+
222
+ # Implementation Details
223
+
224
+ We train our model on an NVIDIA RTX 2080Ti GPU, all implementation of training and testing is coded in Python with Pytorch framework. For our RNN-based model, 2 CMEncoders are stacked and only 1 CMEncoder is used in the PLM-based model. The size of hidden dimensions in encoders and decoders are set to 512 and 768 for RNN-solver and PLM-solver, respectively. Each GCN block has 2 GraphConv layers and each GNN encoder has 4 heads of GCN blocks. During training, Adam optimizer is applied with the initial learning rates of 0.001/0.00003 for RNN/PLM, which would be halved every 30 epochs. During testing, we use a 5-beam search to get reasonable solutions. We also apply Gaussian noise with mean 0 and variance 1 on the embedding result during training. This simple operation can help models to learn more robust parameters. Through grid search at 0.1 level, the noise is multiplied by 0.2 to achieve the best performance.
225
+
226
+ # Hyper-Parameter Tuning
227
+
228
+ In general, we apply grid-search with manually designed search space and use answer accuracy as the evaluation metric to select the hyper-parameters. For the number of stacked encoders, the search space is $\{1,2,3,4\}$ and we finally use 2. For the weight of $L_{2}$ normalization loss, we choose weight 1 from $\{0.01,0.1,1,5,10\}$ . The weight of random noise 0.2 is selected from 0.1 level by grid search with range 0 to 1. We also tune the beam size of beam search from $\{3,4,5,6,7\}$ and choose 5. The dropout probability 0.5 is selected from
229
+
230
+ <table><tr><td></td><td>K = 1</td><td>K = 2</td><td>K = 3</td><td>K = 4</td></tr><tr><td>C-MWP (RNN)</td><td>79.1</td><td>80.3</td><td>78.9</td><td>78.1</td></tr><tr><td>C-MWP (PLM)</td><td>86.1</td><td>85.9</td><td>85.2</td><td>85.1</td></tr></table>
231
+
232
+ Table 4: Accuracies across different numbers of stacked CMEncoder on Math23k.
233
+
234
+ $\{0.1, 0.3, 0.5, 0.7\}$ . Initial learning rate 0.001 is selected from $\{0.01, 0.001, 0.0001\}$ . For the hidden size and embedding size in encoder, we select 256 from $\{64, 128, 256, 512\}$ .
235
+
236
+ # Variance and Significance Evaluation
237
+
238
+ We evaluated our solver with 5-fold cross-validation and found that the accuracy of our RNN-based C-MWP $(0.779 \pm 0.028)$ is significantly higher than Graph2Tree $(0.755 \pm 0.016)$ $(p < 0.01)$ , and the accuracy of our PLM-based C-MWP $(0.845 \pm 0.21)$ is significantly higher than vanilla MWP-BERT $(0.824 \pm 0.016)$ $(p < 0.01)$ .
239
+
240
+ # Sensitivity Analysis about Stacking Number K
241
+
242
+ As we mentioned in Section 2.2, our CMEncoder can be stacked into multiple layers to improve the representation of an MWP. To obtain a better understanding about the hyperparameter K, i.e., the number of stacked CMEncoders, we conduct a sensitivity analysis in Table 4. We can see that the best K for RNN-encoder is 2, just like humans often need to make multiple glimpses to refine an MWP solution. In the meantime, the best K for PLM-based encoder is 1. The potential reason is that one pre-trained language model (PLM) already has an outstanding ability to encode texts. It is thus not necessary to apply another CMEncoder to refine the encoded features.
243
+
244
+ # Case Study
245
+
246
+ Figure 3 shows generated solutions of two solved problems by GTS (Xie and Sun, 2019), Graph2Tree (Zhang et al., 2020), Multi-E/D (Shen and Jin, 2020) and our proposed C-MWP (RNN-Based). The first problem has 4 quantities and they are all useful, which means that it requires sufficient problem understanding and mathematical reasoning to generate the right answer. Both Graph2Tree and Multi-E/D which directly connect semantics modal and quantity modal fail to extract clear representations of the problem, finally resulting in unreasonable solutions which only contain 3 quantities. For the second problem, although Graph2Tree and
247
+
248
+ ![](images/301334b5270e7ff6bc751ca3b631cf30c4a4051d05e20b057034b14c68b75ecf.jpg)
249
+ Figure 3: Case study from Math23k
250
+
251
+ <table><tr><td></td><td>Overall</td><td>Story</td><td>Algebra</td><td>Knowledge</td></tr><tr><td>train</td><td>21,162</td><td>17,546</td><td>2,595</td><td>957</td></tr><tr><td>val</td><td>1,000</td><td>817</td><td>133</td><td>50</td></tr><tr><td>test</td><td>1,000</td><td>842</td><td>116</td><td>42</td></tr></table>
252
+
253
+ Table 5: Statistics of different types of problems in Math23k.
254
+
255
+ Multi-E/D utilize all 3 quantities in the problem description, they still fail to generate a plausible solution. These two cases show that our proposed encoder is able to extract more comprehensive representations from problem descriptions, eventually guiding the decoder to generate the correct solutions.
256
+
257
+ # MWPs in Different Categories
258
+
259
+ Figure 1 shows the MWP examples of "Story Problem", "Algebra Problem" and "Knowledge Problem". "Story Problem" often includes a significant amount of background information like characters, objectives and behaviors. "Algebra Problems" involves math notations or is composed of elementary concepts. "Knowledge Problem" asks for external knowledge like geometry and number sequence. The category of each problem is determined based on keywords. The keywords of "Story" and "Knowledge" problems are selected from the appendix of (Liu et al., 2019). Inspired by them, we categorize Math23k into 3 subsets - story, algebra, and knowledge. The statistics of these problems are shown in Table 5.
260
+
261
+ # A For every submission:
262
+
263
+ A1. Did you describe the limitations of your work?
264
+
265
+ Left blank.
266
+
267
+ A2. Did you discuss any potential risks of your work?
268
+
269
+ Left blank.
270
+
271
+ A3. Do the abstract and introduction summarize the paper's main claims?
272
+
273
+ Left blank.
274
+
275
+ □ A4. Have you used AI writing assistants when working on this paper?
276
+
277
+ Left blank.
278
+
279
+ # B Did you use or create scientific artifacts?
280
+
281
+ Left blank.
282
+
283
+ B1. Did you cite the creators of artifacts you used?
284
+
285
+ Left blank.
286
+
287
+ B2. Did you discuss the license or terms for use and / or distribution of any artifacts?
288
+
289
+ Left blank.
290
+
291
+ B3. Did you discuss if your use of existing artifact(s) was consistent with their intended use, provided that it was specified? For the artifacts you create, do you specify intended use and whether that is compatible with the original access conditions (in particular, derivatives of data accessed for research purposes should not be used outside of research contexts)?
292
+
293
+ Left blank.
294
+
295
+ B4. Did you discuss the steps taken to check whether the data that was collected / used contains any information that names or uniquely identifies individual people or offensive content, and the steps taken to protect / anonymize it?
296
+
297
+ Left blank.
298
+
299
+ B5. Did you provide documentation of the artifacts, e.g., coverage of domains, languages, and linguistic phenomena, demographic groups represented, etc.?
300
+
301
+ Left blank.
302
+
303
+ B6. Did you report relevant statistics like the number of examples, details of train / test / dev splits, etc. for the data that you used / created? Even for commonly-used benchmark datasets, include the number of examples in train / validation / test splits, as these provide necessary context for a reader to understand experimental results. For example, small differences in accuracy on large test sets may be significant, while on small test sets they may not be.
304
+
305
+ Left blank.
306
+
307
+ # C Did you run computational experiments?
308
+
309
+ Left blank.
310
+
311
+ C1. Did you report the number of parameters in the models used, the total computational budget (e.g., GPU hours), and computing infrastructure used?
312
+
313
+ Left blank.
314
+
315
+ The Responsible NLP Checklist used at ACL 2023 is adopted from NAACL 2022, with the addition of a question on AI writing assistance.
316
+
317
+ C2. Did you discuss the experimental setup, including hyperparameter search and best-found hyperparameter values? Left blank.
318
+ C3. Did you report descriptive statistics about your results (e.g., error bars around results, summary statistics from sets of experiments), and is it transparent whether you are reporting the max, mean, etc. or just a single run? Left blank.
319
+ C4. If you used existing packages (e.g., for preprocessing, for normalization, or for evaluation), did you report the implementation, model, and parameter settings used (e.g., NLTK, Spacy, ROUGE, etc.)? Left blank.
320
+
321
+ # D Did you use human annotators (e.g., crowdworkers) or research with human participants?
322
+
323
+ Left blank.
324
+
325
+ D1. Did you report the full text of instructions given to participants, including e.g., screenshots, disclaimers of any risks to participants or annotators, etc.? Left blank.
326
+ D2. Did you report information about how you recruited (e.g., crowdsourcing platform, students) and paid participants, and discuss if such payment is adequate given the participants' demographic (e.g., country of residence)? Left blank.
327
+ D3. Did you discuss whether and how consent was obtained from people whose data you're using/curating? For example, if you collected data via crowdsourcing, did your instructions to crowdworkers explain how the data would be used? Left blank.
328
+ D4. Was the data collection protocol approved (or determined exempt) by an ethics review board? Left blank.
329
+ D5. Did you report the basic demographic and geographic characteristics of the annotator population that is the source of the data? Left blank.
2023/Compositional Mathematical Encoding for Math Word Problems/images.zip ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:521c966f80d1e35500846523fe843d95d44e3c61fc0ebd5e233543f9e81c783e
3
+ size 511314
2023/Compositional Mathematical Encoding for Math Word Problems/layout.json ADDED
The diff for this file is too large to render. See raw diff
 
2023/Computer says “No”_ The Case Against Empathetic Conversational AI/919d9a05-5ebb-4c0e-a1de-82ff5cd4abb0_content_list.json ADDED
@@ -0,0 +1,1296 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [
2
+ {
3
+ "type": "text",
4
+ "text": "Computer says “No”: The Case Against Empathetic Conversational AI",
5
+ "text_level": 1,
6
+ "bbox": [
7
+ 245,
8
+ 89,
9
+ 751,
10
+ 129
11
+ ],
12
+ "page_idx": 0
13
+ },
14
+ {
15
+ "type": "text",
16
+ "text": "Alba Curry \nSchool of Philosophy, Religion and History of Science \nUniversity of Leeds \na.cercascurry@leeds.ac.uk",
17
+ "bbox": [
18
+ 206,
19
+ 143,
20
+ 470,
21
+ 225
22
+ ],
23
+ "page_idx": 0
24
+ },
25
+ {
26
+ "type": "text",
27
+ "text": "Amanda Cercas Curry \nMilaNLP \nDepartment of Computing Sciences \nBocconi University \namanda.cercas@unibocconi.it",
28
+ "bbox": [
29
+ 519,
30
+ 143,
31
+ 810,
32
+ 225
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": "Emotions are an integral part of human cognition and they guide not only our understanding of the world but also our actions within it. As such, whether we soothe or flame an emotion is not inconsequential. Recent work in conversational AI has focused on responding empathetically to users, validating and soothing their emotions without a real basis. This AI-aided emotional regulation can have negative consequences for users and society, tending towards a one-noted happiness defined as only the absence of \"negative\" emotions. We argue that we must carefully consider whether and how to respond to users' emotions.",
51
+ "bbox": [
52
+ 141,
53
+ 281,
54
+ 460,
55
+ 480
56
+ ],
57
+ "page_idx": 0
58
+ },
59
+ {
60
+ "type": "text",
61
+ "text": "1 Introduction",
62
+ "text_level": 1,
63
+ "bbox": [
64
+ 114,
65
+ 494,
66
+ 258,
67
+ 508
68
+ ],
69
+ "page_idx": 0
70
+ },
71
+ {
72
+ "type": "text",
73
+ "text": "Recent work in conversational AI has focused on generating empathetic responses to users' emotional states (e.g., Ide and Kawahara, 2022; Svikhnushina et al., 2022; Zhu et al., 2022) as a way to increase or maintain engagement and rapport with the user and to simulate intelligence. However, these empathetic responses are problematic.",
74
+ "bbox": [
75
+ 112,
76
+ 521,
77
+ 489,
78
+ 633
79
+ ],
80
+ "page_idx": 0
81
+ },
82
+ {
83
+ "type": "text",
84
+ "text": "First, while a system might never claim to be human, responses simulating humanness prompt users to further behave as though the systems were (Reeves and Nass, 1996). Empathy, like all emotions, is likely a uniquely human trait and systems that feign it are in effect feigning humanity. The ethical issues surrounding anthropomorphism have been discussed at length and are beyond the scope of this paper (Salles et al., 2020; Bryson, 2010).",
85
+ "bbox": [
86
+ 112,
87
+ 634,
88
+ 489,
89
+ 778
90
+ ],
91
+ "page_idx": 0
92
+ },
93
+ {
94
+ "type": "text",
95
+ "text": "Second, empathy requires an ability to both understand and share another's emotions. As such, responding empathetically assumes that the system is able to correctly identify the emotion, and that it is able to feel the emotion itself. Neither one of",
96
+ "bbox": [
97
+ 112,
98
+ 778,
99
+ 489,
100
+ 859
101
+ ],
102
+ "page_idx": 0
103
+ },
104
+ {
105
+ "type": "text",
106
+ "text": "these holds true for conversational AI (or in fact for any AI system).<sup>2</sup>",
107
+ "bbox": [
108
+ 507,
109
+ 253,
110
+ 880,
111
+ 284
112
+ ],
113
+ "page_idx": 0
114
+ },
115
+ {
116
+ "type": "text",
117
+ "text": "Third, even if conversational AI were to correctly identify the user's emotions, and perform empathy, we should ethically question the motives and outcomes behind such an enterprise. Svikhnushina et al. (2022) put forward a taxonomy of empathetic questions in social dialogues, paying special attention to the role questions play in regulating the interlocutor's emotions. They argue for the crucial role effective question asking plays in successful chatbots due to the fact that often questions are used to express \"empathy\" and attentiveness by the speaker. Here we highlight the ethical concerns that arise from questions that are characterised by their emotion-regulation functions targeted at the user's emotional state. It is important to note that our argument applies to any use of empathetic AI (see also for example (Morris et al., 2018; De Carolis et al., 2017)). What happens if the chatbot gets it right? There may be instances where a chatbot correctly identifies that a given situation is worthy of praise and amplifies the pride of the user and the result is morally unproblematic. For example, when (Svikhnushina et al., 2022) use the example of amplifying pride in the context of fishing. What happens if it gets it wrong? It depends on the type of mistake: a) The chatbot fails to put into effect a question's intent, it would be ethically inconsequential; $^{3}\\mathrm{b})$ It amplifies or minimises an inappropriate emotion. This is the problem we will focus on, arguing that emotional regulation has no place in conversational AI and as such empathetic responses are deeply morally problematic. While humans will",
118
+ "bbox": [
119
+ 507,
120
+ 286,
121
+ 884,
122
+ 800
123
+ ],
124
+ "page_idx": 0
125
+ },
126
+ {
127
+ "type": "page_footnote",
128
+ "text": "gle at times to identify our own or extend empathy to certain members of society, but we have the capability of identifying emotions. Furthermore, our ability to identify the emotions of others builds, at least in part, from our own emotions.",
129
+ "bbox": [
130
+ 507,
131
+ 808,
132
+ 880,
133
+ 854
134
+ ],
135
+ "page_idx": 0
136
+ },
137
+ {
138
+ "type": "page_footnote",
139
+ "text": "2Moreover, Barrett (2017) have already problematised the identification of human emotions using language or facial expressions in general.",
140
+ "bbox": [
141
+ 507,
142
+ 854,
143
+ 880,
144
+ 892
145
+ ],
146
+ "page_idx": 0
147
+ },
148
+ {
149
+ "type": "page_footnote",
150
+ "text": "3In fact, if the chatbot failed to be empathetic then it would simply not engage us in the intended ways.",
151
+ "bbox": [
152
+ 507,
153
+ 892,
154
+ 880,
155
+ 917
156
+ ],
157
+ "page_idx": 0
158
+ },
159
+ {
160
+ "type": "page_footnote",
161
+ "text": "'Correctly identifying an emotion is problematic for animals including human beings. However, reasons differ between conversation AI and human beings: Human beings vary in their capacity to identify emotions in part because we strut",
162
+ "bbox": [
163
+ 112,
164
+ 868,
165
+ 489,
166
+ 917
167
+ ],
168
+ "page_idx": 0
169
+ },
170
+ {
171
+ "type": "page_number",
172
+ "text": "8123",
173
+ "bbox": [
174
+ 480,
175
+ 927,
176
+ 519,
177
+ 940
178
+ ],
179
+ "page_idx": 0
180
+ },
181
+ {
182
+ "type": "footer",
183
+ "text": "Findings of the Association for Computational Linguistics: ACL 2023, pages 8123-8130 July 9-14, 2023 ©2023 Association for Computational Linguistics",
184
+ "bbox": [
185
+ 228,
186
+ 945,
187
+ 768,
188
+ 972
189
+ ],
190
+ "page_idx": 0
191
+ },
192
+ {
193
+ "type": "text",
194
+ "text": "necessarily show empathy for one another, conversational AI cannot understand the emotion and so cannot make an accurate judgement as to its appropriateness. This lack of understanding is key as we cannot predict the consequences of moderating an emotion we don't understand, and a dialogue system cannot be held accountable for them.",
195
+ "bbox": [
196
+ 112,
197
+ 84,
198
+ 489,
199
+ 197
200
+ ],
201
+ "page_idx": 1
202
+ },
203
+ {
204
+ "type": "text",
205
+ "text": "2 The Crucial Roles of Emotions",
206
+ "text_level": 1,
207
+ "bbox": [
208
+ 112,
209
+ 212,
210
+ 413,
211
+ 228
212
+ ],
213
+ "page_idx": 1
214
+ },
215
+ {
216
+ "type": "text",
217
+ "text": "What emotions are is still up for debate (Barrett, 2017; Scarantino and de Sousa, 2018). However, their significance for the individual and for society has received renewed interest (Greenspan, 1995; Bell, 2013; Cherry, 2021). Regardless of the emotion model one picks, emotions play important roles, both epistemic and conative ones (Curry, 2022). They perform at least three epistemic roles: (1) They signal to the individual experiencing the emotion what she herself values and how she sees the world (e.g., if you envy your colleague's publications this tells you you value publications and deem yourself similar enough to your colleague that you can compare yourself (Protasi, 2021)); (2) they signal to others how we see the world; and (3) emotional interactions are invaluable sources of information for third-party observers since they tell us what the members of the interaction value. For example, (1) when you grieve, you signal to yourself and anyone observing that you deem to have lost something of value. It is conceivable that you were unaware up to that point that you valued what you lost—this is captured by the saying \"you don't know what you have till it's gone.\" Furthermore, (2) your friends and family may learn something about you by observing your grief. They too may not have known how much something meant for you. Finally, (3) an observer may also learn about the dynamics of grief (whether it is appropriate to express it for example) by observing whether or not your family validates your grief.",
218
+ "bbox": [
219
+ 112,
220
+ 241,
221
+ 489,
222
+ 741
223
+ ],
224
+ "page_idx": 1
225
+ },
226
+ {
227
+ "type": "text",
228
+ "text": "Furthermore, emotions play conative roles, meaning that they are involved in important ways with our motivation and desire to act in certain ways. In other words, not only do some emotions compel and motivate you to act, but also how you act is coloured by the emotion you are experiencing. For example, your anger signals that you perceive that an injustice has occurred. If your boss fails to promote the person who deserves it because of their gender, your anger would motivate you to write a letter of complaint or speak to HR about it.",
229
+ "bbox": [
230
+ 112,
231
+ 741,
232
+ 489,
233
+ 917
234
+ ],
235
+ "page_idx": 1
236
+ },
237
+ {
238
+ "type": "text",
239
+ "text": "Importantly, all emotions, including the so-called \"negative\" emotions (e.g., anger, contempt, hatred, shame, envy, guilt, etc.) also share these functions. These emotions are not negative in the sense of being \"bad\", they are called negative because they are painful, and therefore they are emotions that we would tend to avoid for ourselves. A world without injustice would certainly be ideal but we would not want a world of injustice where we were unequipped to notice or become motivated to fight it. Hence why it is imperative that we ask ourselves under which circumstances we ought to enhance or soothe emotions.",
240
+ "bbox": [
241
+ 507,
242
+ 84,
243
+ 884,
244
+ 293
245
+ ],
246
+ "page_idx": 1
247
+ },
248
+ {
249
+ "type": "text",
250
+ "text": "3 The Problem with Empathy",
251
+ "text_level": 1,
252
+ "bbox": [
253
+ 509,
254
+ 309,
255
+ 781,
256
+ 326
257
+ ],
258
+ "page_idx": 1
259
+ },
260
+ {
261
+ "type": "text",
262
+ "text": "Literature discussing the value and power of empathy for conversational AI understands empathy as a tool to establish a common ground for meaningful communication and to appear more likeable to users. The authors of these studies understand empathy broadly as \"the feeling by which one understands and shares another person's experiences and emotions\" (De Carolis et al., 2017). Empathy facilitates engagement through the development of social relationships, affection, and familiarity. Furthermore, for Svikhnushina et al. (2022), empathy is required in order to enable chatbots to ask questions with emotion regulation intents. For example, questions may be used to amplify the user's pride or de-escalate the user's anger, or frustration.",
263
+ "bbox": [
264
+ 507,
265
+ 337,
266
+ 884,
267
+ 577
268
+ ],
269
+ "page_idx": 1
270
+ },
271
+ {
272
+ "type": "text",
273
+ "text": "Empathy, although a common phenomenon, is not a simple one. It enjoys a long history in various scholarly disciplines. Indeed, a lot of ink has been spilled (and still is), for example, over how to make sense of character engagement. How do we, human beings, care for fictional characters? How are we intrigued and moved by their adventures and respond to the emotions and affects expressed in their voices, bodies, and faces as well as imagine the situation they are in and wish them success, closure, or punishment? Empathy is taken to be a key element and yet the exact nature of how human beings are able to experience empathy for fictional characters is currently being debated (Tobón, 2019).",
274
+ "bbox": [
275
+ 507,
276
+ 580,
277
+ 884,
278
+ 804
279
+ ],
280
+ "page_idx": 1
281
+ },
282
+ {
283
+ "type": "text",
284
+ "text": "The reason for highlighting this diversity is that conversational AI would do well to engage seriously with the rich intellectual history of empathy. The definition it tends to engage with lacks the level of complexity required to understand this complex phenomenon. Moreover, it tends to obfuscate the darker sides of empathy. Leaving aside the fact",
285
+ "bbox": [
286
+ 507,
287
+ 806,
288
+ 884,
289
+ 919
290
+ ],
291
+ "page_idx": 1
292
+ },
293
+ {
294
+ "type": "page_number",
295
+ "text": "8124",
296
+ "bbox": [
297
+ 480,
298
+ 928,
299
+ 519,
300
+ 940
301
+ ],
302
+ "page_idx": 1
303
+ },
304
+ {
305
+ "type": "text",
306
+ "text": "that defining empathy as the \"reactions of one individual to the observed experiences of another\" (De Carolis et al., 2017) tells us very little about the process by which a human beings, let alone conversational AI, may do this, what we take issue with is what chatbots hope to do with that empathy. In other words, if for the sake or argument, we presume that conversational AI is able to accurately identify our emotions, the issue of how we deploy empathy is of huge ethical relevance.",
307
+ "bbox": [
308
+ 110,
309
+ 84,
310
+ 489,
311
+ 243
312
+ ],
313
+ "page_idx": 2
314
+ },
315
+ {
316
+ "type": "text",
317
+ "text": "Here we offer a brief summary of three important views against empathy: Prinz (2011) argues against the common intuition that empathy is by and large a good thing and thus desirable. He raises several issues such as empathy being easily manipulated (such as during a trial), and empathy being partial (we are more empathetic towards people we perceive to be of our own race, for example). Both claims have been empirically verified. Thinking about how this might affect empathetic conversational AI for example in the case of using them for social assistive robots, we might worry if based on its empathetic reactions it chose to help certain people over others.",
318
+ "bbox": [
319
+ 110,
320
+ 244,
321
+ 489,
322
+ 470
323
+ ],
324
+ "page_idx": 2
325
+ },
326
+ {
327
+ "type": "text",
328
+ "text": "Taking the argument further, Bloom (2017) argues against empathy and for what he calls rational compassion. He contends that empathy is one of the leading motivators of inequality and immorality in society. Thus, far from helping us to improve the lives of others, empathy is a capricious and irrational emotion that appeals to our narrow prejudices; it muddles our judgement and, ironically, often leads to cruelty. Instead, we ought to draw upon a more distanced compassion.<sup>4</sup>",
329
+ "bbox": [
330
+ 110,
331
+ 470,
332
+ 489,
333
+ 632
334
+ ],
335
+ "page_idx": 2
336
+ },
337
+ {
338
+ "type": "text",
339
+ "text": "There are three lessons we can take from this: (1) Given empathy's prejudices, we would need to think deeper about how to mitigate them in conversational AI; (2) Given that empathy is used not just know what brings people pleasure, but also what brings pain, we might want to question the general future uses of empathy in conversational AI; (3) if we buy Bloom's argument, then conversational AI should consider not imitating human beings, but becoming agents of rational compassion.",
340
+ "bbox": [
341
+ 110,
342
+ 631,
343
+ 489,
344
+ 791
345
+ ],
346
+ "page_idx": 2
347
+ },
348
+ {
349
+ "type": "text",
350
+ "text": "Breithaupt (2019) also takes issue with empathy, arguing that we commit atrocities not out of a failure of empathy, but rather as a direct consequence of successful, even overly successful, empathy. He starts the book by reminding us that “[e]xtreme acts",
351
+ "bbox": [
352
+ 112,
353
+ 793,
354
+ 489,
355
+ 873
356
+ ],
357
+ "page_idx": 2
358
+ },
359
+ {
360
+ "type": "text",
361
+ "text": "of cruelty require a high level of empathy.\"",
362
+ "bbox": [
363
+ 507,
364
+ 84,
365
+ 830,
366
+ 99
367
+ ],
368
+ "page_idx": 2
369
+ },
370
+ {
371
+ "type": "text",
372
+ "text": "The further lesson we can take from this is that while people generally assume that empathy leads to morally correct behaviour, and certainly there are many positive sides of empathy, we should not rely on an overly simple or glorified image of empathy.",
373
+ "bbox": [
374
+ 507,
375
+ 101,
376
+ 884,
377
+ 181
378
+ ],
379
+ "page_idx": 2
380
+ },
381
+ {
382
+ "type": "text",
383
+ "text": "However, our problem is not necessarily with empathy per se, but rather with the explicit functions conversational AI hopes to achieve with it, namely to enhance engagement, to inflate emotions deemed positive, and to soothe emotions deemed negative (e.g., Svikhnushina et al., 2022). Our claim is that we ought to think carefully about the consequences of soothing negative emotions only because they we have a bias against them. Not only is this approach based on a naive understanding of emotions, it fails to recognise the importance of human beings being allowed to experience and express the full spectrum of emotions. One ought to not experience negative emotions because there is nothing to be upset about, not because we have devised an emotional pacifier. In other words, the issue is that conversational AI lacks a sound value system for deciding why certain emotions are validated and others soothed. Furthermore, this AI-aided emotional regulation can have negative consequences for users and society, tending towards a one-noted notion of happiness defined as only the absence of \"negative\" emotions.",
384
+ "bbox": [
385
+ 507,
386
+ 183,
387
+ 884,
388
+ 554
389
+ ],
390
+ "page_idx": 2
391
+ },
392
+ {
393
+ "type": "text",
394
+ "text": "4 When Emotions Get Things Wrong",
395
+ "text_level": 1,
396
+ "bbox": [
397
+ 507,
398
+ 568,
399
+ 850,
400
+ 585
401
+ ],
402
+ "page_idx": 2
403
+ },
404
+ {
405
+ "type": "text",
406
+ "text": "There are two illustrative problems with the kinds of decisions behind amplifying and de-escalating emotions. One is the problem of what the ideal character might be. When you talk to a friend they will decide whether to soothe or amplify your emotions based not just on the situation but also on who they deem you to be. If they think you are someone who has a hard time standing up for yourself they will amplify your anger to encourage you to fight for yourself, but if they think you are someone who leans too much on arrogance, they will de-escalate your sense of pride—even if, all things being equal, your pride on that occasion was warranted. Hence, not only would a conversational AI require prior knowledge of the interlocutor in terms of her character, but furthermore it would have to decide what are desirable character traits.",
407
+ "bbox": [
408
+ 507,
409
+ 596,
410
+ 882,
411
+ 869
412
+ ],
413
+ "page_idx": 2
414
+ },
415
+ {
416
+ "type": "text",
417
+ "text": "The second question regards what an ideal emotion in a particular situation might be. We may all find it easy to say that negative emotions such",
418
+ "bbox": [
419
+ 507,
420
+ 871,
421
+ 884,
422
+ 919
423
+ ],
424
+ "page_idx": 2
425
+ },
426
+ {
427
+ "type": "page_footnote",
428
+ "text": "Assessing Bloom's argument with regards to rational compassion and whether it would be feasible for conversational AI is beyond the scope of this paper although worthy of pursuit.",
429
+ "bbox": [
430
+ 112,
431
+ 879,
432
+ 489,
433
+ 919
434
+ ],
435
+ "page_idx": 2
436
+ },
437
+ {
438
+ "type": "page_number",
439
+ "text": "8125",
440
+ "bbox": [
441
+ 480,
442
+ 928,
443
+ 519,
444
+ 940
445
+ ],
446
+ "page_idx": 2
447
+ },
448
+ {
449
+ "type": "text",
450
+ "text": "as anger often get things wrong and lead to undesirable outcomes. However, positive emotions such as joy, hope, or pride which we may intuitively wish to amplify can also get things wrong. We assess and criticise emotions along a number of distinct dimensions: Firstly, emotions may be criticised when they do not fit their targets. You may, for example, be open to criticism for feeling fear in the absence of danger. Unfitting emotions fail to correctly present the world. In the case of pride, would we want to amplify someone's pride if they either did not in fact achieve anything, or if their achievement was not merited? For example, if their nephew did very well in maths when in fact we know their nephew cheated? Second, an emotion may be open to criticism when it is not based on good evidence or is unreasonable. Consider the person who suffers from hydrophobia: Given that in the vast majority of situations water is not dangerous, this person's fear is both unreasonable and unfitting. But even fitting emotions may be unreasonable. One may, for example, be terrified of tsunamis because one believes that they cause genetic mutations. In this case, one's fear is fitting—tsunamis are very dangerous—yet the fear is unreasonable since it is not based on good reasons. Third, an emotion may be criticised because it isn't prudent to feel. We might warn someone not to show anger when interacting with a person with a gun since they might get themselves killed; anger in this case may be reasonable and fitting given the gunman's actions and yet imprudent. Finally, we may condemn emotions as morally nonvaluable because of the unacceptable way in which they present their targets, e.g., one may, argue that schadenfreude is morally objectionable because it presents the pain of another person as laughable.",
451
+ "bbox": [
452
+ 112,
453
+ 84,
454
+ 492,
455
+ 682
456
+ ],
457
+ "page_idx": 3
458
+ },
459
+ {
460
+ "type": "text",
461
+ "text": "Positive emotions may be unfitting, unreasonable, and imprudent, as well as morally condemning just as negative emotions may well be fitting, reasonable, and prudent, as well as morally laudable. In other words, even if one is equipped with empathy there are crucial normative decisions involved in question intents aimed at emotional regulation.<sup>5</sup> Amplifying and de-escalating emotion inappropriately can have devastating moral outcomes.",
462
+ "bbox": [
463
+ 112,
464
+ 690,
465
+ 489,
466
+ 851
467
+ ],
468
+ "page_idx": 3
469
+ },
470
+ {
471
+ "type": "text",
472
+ "text": "5 Empathy and Responsibility",
473
+ "text_level": 1,
474
+ "bbox": [
475
+ 507,
476
+ 83,
477
+ 789,
478
+ 101
479
+ ],
480
+ "page_idx": 3
481
+ },
482
+ {
483
+ "type": "text",
484
+ "text": "Human beings, all things being equal, will inevitably experience empathy. A reasonable human being experiencing empathy for another is proof of the importance of someone else's emotional state—for better or for worse. This supports the idea that our emotions are important, as opposed to the notion that they hinder rationality and ought to be regulated. They tell us many things about our world.",
485
+ "bbox": [
486
+ 505,
487
+ 109,
488
+ 884,
489
+ 237
490
+ ],
491
+ "page_idx": 3
492
+ },
493
+ {
494
+ "type": "text",
495
+ "text": "Similarly to many NLP systems' understanding of language, the empathetic responses of conversational AI are only performative (Bender and Koller, 2020). Thus, they provide a false sense of validity or importance. What if someone is experiencing an unfitting, unreasonable, or morally reprehensible emotion? Should a chatbot still showcase empathy? We hope to have shown that such decisions are deeply morally problematic and complex.",
496
+ "bbox": [
497
+ 507,
498
+ 237,
499
+ 884,
500
+ 382
501
+ ],
502
+ "page_idx": 3
503
+ },
504
+ {
505
+ "type": "text",
506
+ "text": "Hence, another key problem is responsibility. A human agent may choose to express their empathy (even if they cannot choose feeling it) and they may choose to attempt to regulate someone else's emotions based on their knowledge of the situation and the speaker's character. If a human being wrongly regulates someone else's emotions, they will be morally responsible for the consequences. Who is morally responsible in the case of conversational AI agents? Who are they benefiting when they are not actually benefiting the human agent? This issue is further elaborated on by Véliz (2021).",
507
+ "bbox": [
508
+ 507,
509
+ 382,
510
+ 884,
511
+ 576
512
+ ],
513
+ "page_idx": 3
514
+ },
515
+ {
516
+ "type": "text",
517
+ "text": "6 Related Work",
518
+ "text_level": 1,
519
+ "bbox": [
520
+ 507,
521
+ 588,
522
+ 665,
523
+ 602
524
+ ],
525
+ "page_idx": 3
526
+ },
527
+ {
528
+ "type": "text",
529
+ "text": "Our article sits at the intersection of emotion detection, response generation, and safety in conversational AI. We keep this section brief as we cite relevant work throughout the article. Several works have already focused on the issue of giving AI systems sentience, such as Bryson (2010). While this could make the systems truly empathetic, we agree that we have a duty not to create sentient machines.",
530
+ "bbox": [
531
+ 507,
532
+ 613,
533
+ 884,
534
+ 741
535
+ ],
536
+ "page_idx": 3
537
+ },
538
+ {
539
+ "type": "text",
540
+ "text": "Lahnala et al. (2022) problematise NLP's conceptualisation of empathy which, they argue, is poorly defined, leading to issues of data validity and missed opportunities for research. Instead, we argue that even a more specific definition of empathy presents ethical issues that cannot be overlooked or ignored and must carefully evaluated.",
541
+ "bbox": [
542
+ 507,
543
+ 741,
544
+ 885,
545
+ 853
546
+ ],
547
+ "page_idx": 3
548
+ },
549
+ {
550
+ "type": "text",
551
+ "text": "Dinan et al. (2022) provide a framework to classify and detect safety issues in end-to-end conversational systems. In particular, they point out systems that respond inappropriately to offensive content",
552
+ "bbox": [
553
+ 507,
554
+ 854,
555
+ 884,
556
+ 917
557
+ ],
558
+ "page_idx": 3
559
+ },
560
+ {
561
+ "type": "page_footnote",
562
+ "text": "See the complex example in Silva (2021)",
563
+ "bbox": [
564
+ 134,
565
+ 903,
566
+ 394,
567
+ 917
568
+ ],
569
+ "page_idx": 3
570
+ },
571
+ {
572
+ "type": "page_number",
573
+ "text": "8126",
574
+ "bbox": [
575
+ 480,
576
+ 927,
577
+ 521,
578
+ 940
579
+ ],
580
+ "page_idx": 3
581
+ },
582
+ {
583
+ "type": "text",
584
+ "text": "and safety-critical issues such as medical and emergency situations. We could apply their framework to empathetic responses where the system takes the role of an \"impostor\": empathetic responses require a system to pretend to understand the emotion. However, the extent to which emotions play a role in human cognition and what the consequences of regulating these emotions for the users are has not been discussed in the literature to the best of our knowledge.",
585
+ "bbox": [
586
+ 112,
587
+ 84,
588
+ 492,
589
+ 247
590
+ ],
591
+ "page_idx": 4
592
+ },
593
+ {
594
+ "type": "text",
595
+ "text": "7 Conclusion",
596
+ "text_level": 1,
597
+ "bbox": [
598
+ 112,
599
+ 256,
600
+ 247,
601
+ 272
602
+ ],
603
+ "page_idx": 4
604
+ },
605
+ {
606
+ "type": "text",
607
+ "text": "In this position paper, we argued that emotional regulation has no place in conversational AI and as such empathetic responses are deeply morally problematic. While humans will necessarily show empathy for one another, conversational AI cannot understand the emotion and so cannot make an accurate judgement as to its reasonableness. This lack of understanding is key because we cannot predict the consequences of assuaging or aggravating an emotion, and a dialogue system cannot be held accountable for them. We hope to encourage reflection from future researchers and to initiate a discussion of the issue, not only in this particular case but also more reflection when it comes to pursuing seemingly positive goals such as bringing disagreeing parties towards agreement. Like with other ethically sensible topics, the community should come together to agree on a strategy that minimises harm.",
608
+ "bbox": [
609
+ 112,
610
+ 282,
611
+ 490,
612
+ 588
613
+ ],
614
+ "page_idx": 4
615
+ },
616
+ {
617
+ "type": "text",
618
+ "text": "Limitations",
619
+ "text_level": 1,
620
+ "bbox": [
621
+ 112,
622
+ 599,
623
+ 220,
624
+ 614
625
+ ],
626
+ "page_idx": 4
627
+ },
628
+ {
629
+ "type": "text",
630
+ "text": "While we strongly argue against empathetic conversational systems, there may be use cases – such as psychotherapy or educational chatbots – where validating a user's emotions is, if not required, helpful in terms of their goal. In addition, while a lot of the work on empathetic responses we have discussed is intentional, generative models like ChatGPT produce relatively uncontrolled responses that may well be unintentionally empathetic. As with toxic outputs, care should be taken to prevent these models from validating users' emotions that cannot be understood.",
631
+ "bbox": [
632
+ 112,
633
+ 624,
634
+ 489,
635
+ 816
636
+ ],
637
+ "page_idx": 4
638
+ },
639
+ {
640
+ "type": "text",
641
+ "text": "Acknowledgements",
642
+ "text_level": 1,
643
+ "bbox": [
644
+ 112,
645
+ 829,
646
+ 285,
647
+ 846
648
+ ],
649
+ "page_idx": 4
650
+ },
651
+ {
652
+ "type": "text",
653
+ "text": "We thank the anonymous reviewers and Gavin Abercrombie for their thorough and helpful comments. This project has partially received funding from the European Research Council (ERC) under",
654
+ "bbox": [
655
+ 112,
656
+ 854,
657
+ 489,
658
+ 919
659
+ ],
660
+ "page_idx": 4
661
+ },
662
+ {
663
+ "type": "text",
664
+ "text": "the European Union's Horizon 2020 research and innovation program (grant agreement No. 949944, INTEGRATOR). Amanda Cercas Curry is a member of the MilaNLP group and the Data and Marketing Insights Unit of the Bocconi Institute for Data Science and Analysis.",
665
+ "bbox": [
666
+ 507,
667
+ 84,
668
+ 885,
669
+ 181
670
+ ],
671
+ "page_idx": 4
672
+ },
673
+ {
674
+ "type": "text",
675
+ "text": "References",
676
+ "text_level": 1,
677
+ "bbox": [
678
+ 509,
679
+ 208,
680
+ 608,
681
+ 222
682
+ ],
683
+ "page_idx": 4
684
+ },
685
+ {
686
+ "type": "list",
687
+ "sub_type": "ref_text",
688
+ "list_items": [
689
+ "Lisa Feldman Barrett. 2017. How emotions are made: The secret life of the brain. Pan Macmillan.",
690
+ "Macalester Bell. 2013. Hard feelings: The moral psychology of contempt. Oxford University Press.",
691
+ "Emily M Bender and Alexander Koller. 2020. Climbing towards nlu: On meaning, form, and understanding in the age of data. In Proceedings of the 58th annual meeting of the association for computational linguistics, pages 5185-5198.",
692
+ "Paul Bloom. 2017. Against empathy: The case for rational compassion. Random House.",
693
+ "Fritz Breithaupt. 2019. The dark sides of empathy. Cornell University Press.",
694
+ "Joanna J Bryson. 2010. Robots should be slaves. Close Engagements with Artificial Companions: Key social, psychological, ethical and design issues, 8:63-74.",
695
+ "Myisha Cherry. 2021. The case for rage: Why anger is essential to anti-racist struggle. Oxford University Press.",
696
+ "Alba Curry. 2022. An Apologia for Anger With Reference to Early China and Ancient Greece. Ph.D. thesis, UC Riverside.",
697
+ "Berardina De Carolis, Stefano Ferilli, and Giuseppe Palestra. 2017. Simulating empathic behavior in a social assistive robot. *Multimedia Tools and Applications*, 76(4):5073-5094.",
698
+ "Emily Dinan, Gavin Abercrombie, A. Bergman, Shannon Spruit, Dirk Hovy, Y-Lan Boureau, and Verena Rieser. 2022. *SafetyKit: First aid for measuring safety in open-domain conversational systems*. In Proceedings of the 60th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pages 4113-4133, Dublin, Ireland. Association for Computational Linguistics.",
699
+ "Patricia S Greenspan. 1995. Practical guilt: Moral dilemmas, emotions, and social norms. Oxford University Press on Demand.",
700
+ "Tatsuya Ide and Daisuke Kawahara. 2022. Building a dialogue corpus annotated with expressed and experienced emotions. In Proceedings of the 60th Annual Meeting of the Association for Computational Linguistics: Student Research Workshop, pages 21-30, Dublin, Ireland. Association for Computational Linguistics."
701
+ ],
702
+ "bbox": [
703
+ 509,
704
+ 229,
705
+ 885,
706
+ 917
707
+ ],
708
+ "page_idx": 4
709
+ },
710
+ {
711
+ "type": "page_number",
712
+ "text": "8127",
713
+ "bbox": [
714
+ 480,
715
+ 927,
716
+ 519,
717
+ 940
718
+ ],
719
+ "page_idx": 4
720
+ },
721
+ {
722
+ "type": "list",
723
+ "sub_type": "ref_text",
724
+ "list_items": [
725
+ "Allison Lahnala, Charles Welch, David Jurgens, and Lucie Flek. 2022. A critical reflection and forward perspective on empathy and natural language processing. arXiv preprint arXiv:2210.16604.",
726
+ "Robert R Morris, Kareem Kouddous, Rohan Kshir-sagar, and Stephen M Schueller. 2018. Towards an artificially empathic conversational agent for mental health applications: system design and user perceptions. Journal of medical Internet research, 20(6):e10148.",
727
+ "Jesse Prinz. 2011. Against empathy. The Southern Journal of Philosophy, 49:214-233.",
728
+ "Sara Protasi. 2021. The philosophy of envy. Cambridge University Press.",
729
+ "Byron Reeves and Clifford Nass. 1996. The media equation: How people treat computers, television, and new media like real people. Cambridge, UK, 10:236605.",
730
+ "Arleen Salles, Kathinka Evers, and Michele Farisco. 2020. Anthropomorphism in ai. AJOB neuroscience, 11(2):88-95.",
731
+ "A Scarantino and R de Sousa. 2018. Emotion, in \"the stanford encyclopedia of philosophy\" (winter 2018 edition). EN ZALTA (a cura di), URL: https://plato.stanford.edu/archives/win2018/entries/emotion.",
732
+ "Laura Silva. 2021. The epistemic role of outlaw emotions. *Ergo*, 8(23).",
733
+ "Ekaterina Svikhnushina, Iuliana Voinea, Anuradha Welivita, and Pearl Pu. 2022. A taxonomy of empathetic questions in social dialogs. In Proceedings of the 60th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pages 2952-2973, Dublin, Ireland. Association for Computational Linguistics.",
734
+ "Daniel Jerónimo Tobón. 2019. Empathy and sympathy: two contemporary models of character engagement. In The Palgrave handbook of the philosophy of film and motion pictures, pages 865-891. Springer.",
735
+ "Carissa Veliz. 2021. Moral zombies: why algorithms are not moral agents. AI & SOCIETY, 36(2):487-497.",
736
+ "Ling.Yu Zhu, Zhengkun Zhang, Jun Wang, Hongbin Wang, Haiying Wu, and Zhenglu Yang. 2022. Multi-party empathetic dialogue generation: A new task for dialog systems. In Proceedings of the 60th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pages 298-307, Dublin, Ireland. Association for Computational Linguistics."
737
+ ],
738
+ "bbox": [
739
+ 115,
740
+ 85,
741
+ 489,
742
+ 841
743
+ ],
744
+ "page_idx": 5
745
+ },
746
+ {
747
+ "type": "page_number",
748
+ "text": "8128",
749
+ "bbox": [
750
+ 480,
751
+ 928,
752
+ 519,
753
+ 940
754
+ ],
755
+ "page_idx": 5
756
+ },
757
+ {
758
+ "type": "text",
759
+ "text": "A For every submission:",
760
+ "bbox": [
761
+ 115,
762
+ 107,
763
+ 322,
764
+ 122
765
+ ],
766
+ "page_idx": 6
767
+ },
768
+ {
769
+ "type": "text",
770
+ "text": "A1. Did you describe the limitations of your work?",
771
+ "bbox": [
772
+ 129,
773
+ 126,
774
+ 532,
775
+ 142
776
+ ],
777
+ "page_idx": 6
778
+ },
779
+ {
780
+ "type": "text",
781
+ "text": "Left blank.",
782
+ "bbox": [
783
+ 149,
784
+ 143,
785
+ 231,
786
+ 158
787
+ ],
788
+ "page_idx": 6
789
+ },
790
+ {
791
+ "type": "text",
792
+ "text": "A2. Did you discuss any potential risks of your work?",
793
+ "bbox": [
794
+ 129,
795
+ 170,
796
+ 552,
797
+ 186
798
+ ],
799
+ "page_idx": 6
800
+ },
801
+ {
802
+ "type": "text",
803
+ "text": "The paper is a position paper warning against a particular application of NLP.",
804
+ "bbox": [
805
+ 149,
806
+ 187,
807
+ 732,
808
+ 202
809
+ ],
810
+ "page_idx": 6
811
+ },
812
+ {
813
+ "type": "text",
814
+ "text": "A3. Do the abstract and introduction summarize the paper's main claims?",
815
+ "bbox": [
816
+ 129,
817
+ 211,
818
+ 695,
819
+ 228
820
+ ],
821
+ "page_idx": 6
822
+ },
823
+ {
824
+ "type": "text",
825
+ "text": "Left blank.",
826
+ "bbox": [
827
+ 151,
828
+ 230,
829
+ 231,
830
+ 244
831
+ ],
832
+ "page_idx": 6
833
+ },
834
+ {
835
+ "type": "text",
836
+ "text": "A4. Have you used AI writing assistants when working on this paper?",
837
+ "bbox": [
838
+ 129,
839
+ 255,
840
+ 668,
841
+ 272
842
+ ],
843
+ "page_idx": 6
844
+ },
845
+ {
846
+ "type": "text",
847
+ "text": "Left blank.",
848
+ "bbox": [
849
+ 151,
850
+ 273,
851
+ 231,
852
+ 287
853
+ ],
854
+ "page_idx": 6
855
+ },
856
+ {
857
+ "type": "text",
858
+ "text": "B Did you use or create scientific artifacts?",
859
+ "bbox": [
860
+ 115,
861
+ 300,
862
+ 490,
863
+ 316
864
+ ],
865
+ "page_idx": 6
866
+ },
867
+ {
868
+ "type": "text",
869
+ "text": "Not applicable. Left blank.",
870
+ "bbox": [
871
+ 132,
872
+ 321,
873
+ 332,
874
+ 336
875
+ ],
876
+ "page_idx": 6
877
+ },
878
+ {
879
+ "type": "text",
880
+ "text": "B1. Did you cite the creators of artifacts you used?",
881
+ "bbox": [
882
+ 129,
883
+ 347,
884
+ 529,
885
+ 363
886
+ ],
887
+ "page_idx": 6
888
+ },
889
+ {
890
+ "type": "text",
891
+ "text": "Not applicable. Left blank.",
892
+ "bbox": [
893
+ 149,
894
+ 363,
895
+ 349,
896
+ 379
897
+ ],
898
+ "page_idx": 6
899
+ },
900
+ {
901
+ "type": "text",
902
+ "text": "B2. Did you discuss the license or terms for use and / or distribution of any artifacts?",
903
+ "bbox": [
904
+ 129,
905
+ 390,
906
+ 778,
907
+ 406
908
+ ],
909
+ "page_idx": 6
910
+ },
911
+ {
912
+ "type": "text",
913
+ "text": "Not applicable. Left blank.",
914
+ "bbox": [
915
+ 151,
916
+ 407,
917
+ 349,
918
+ 422
919
+ ],
920
+ "page_idx": 6
921
+ },
922
+ {
923
+ "type": "text",
924
+ "text": "B3. Did you discuss if your use of existing artifact(s) was consistent with their intended use, provided that it was specified? For the artifacts you create, do you specify intended use and whether that is compatible with the original access conditions (in particular, derivatives of data accessed for research purposes should not be used outside of research contexts)?",
925
+ "bbox": [
926
+ 129,
927
+ 432,
928
+ 880,
929
+ 495
930
+ ],
931
+ "page_idx": 6
932
+ },
933
+ {
934
+ "type": "text",
935
+ "text": "Not applicable. Left blank.",
936
+ "bbox": [
937
+ 151,
938
+ 498,
939
+ 349,
940
+ 513
941
+ ],
942
+ "page_idx": 6
943
+ },
944
+ {
945
+ "type": "text",
946
+ "text": "B4. Did you discuss the steps taken to check whether the data that was collected / used contains any information that names or uniquely identifies individual people or offensive content, and the steps taken to protect / anonymize it?",
947
+ "bbox": [
948
+ 129,
949
+ 524,
950
+ 880,
951
+ 571
952
+ ],
953
+ "page_idx": 6
954
+ },
955
+ {
956
+ "type": "text",
957
+ "text": "Not applicable. Left blank.",
958
+ "bbox": [
959
+ 151,
960
+ 573,
961
+ 349,
962
+ 588
963
+ ],
964
+ "page_idx": 6
965
+ },
966
+ {
967
+ "type": "text",
968
+ "text": "B5. Did you provide documentation of the artifacts, e.g., coverage of domains, languages, and linguistic phenomena, demographic groups represented, etc.?",
969
+ "bbox": [
970
+ 129,
971
+ 599,
972
+ 880,
973
+ 631
974
+ ],
975
+ "page_idx": 6
976
+ },
977
+ {
978
+ "type": "text",
979
+ "text": "Not applicable. Left blank.",
980
+ "bbox": [
981
+ 151,
982
+ 632,
983
+ 349,
984
+ 646
985
+ ],
986
+ "page_idx": 6
987
+ },
988
+ {
989
+ "type": "text",
990
+ "text": "B6. Did you report relevant statistics like the number of examples, details of train / test / dev splits, etc. for the data that you used / created? Even for commonly-used benchmark datasets, include the number of examples in train / validation / test splits, as these provide necessary context for a reader to understand experimental results. For example, small differences in accuracy on large test sets may be significant, while on small test sets they may not be.",
991
+ "bbox": [
992
+ 129,
993
+ 658,
994
+ 880,
995
+ 739
996
+ ],
997
+ "page_idx": 6
998
+ },
999
+ {
1000
+ "type": "text",
1001
+ "text": "Not applicable. Left blank.",
1002
+ "bbox": [
1003
+ 151,
1004
+ 740,
1005
+ 349,
1006
+ 753
1007
+ ],
1008
+ "page_idx": 6
1009
+ },
1010
+ {
1011
+ "type": "text",
1012
+ "text": "C Did you run computational experiments?",
1013
+ "bbox": [
1014
+ 115,
1015
+ 765,
1016
+ 494,
1017
+ 781
1018
+ ],
1019
+ "page_idx": 6
1020
+ },
1021
+ {
1022
+ "type": "text",
1023
+ "text": "Left blank.",
1024
+ "bbox": [
1025
+ 132,
1026
+ 785,
1027
+ 213,
1028
+ 801
1029
+ ],
1030
+ "page_idx": 6
1031
+ },
1032
+ {
1033
+ "type": "text",
1034
+ "text": "C1. Did you report the number of parameters in the models used, the total computational budget (e.g., GPU hours), and computing infrastructure used?",
1035
+ "bbox": [
1036
+ 129,
1037
+ 813,
1038
+ 880,
1039
+ 845
1040
+ ],
1041
+ "page_idx": 6
1042
+ },
1043
+ {
1044
+ "type": "text",
1045
+ "text": "Not applicable. Left blank.",
1046
+ "bbox": [
1047
+ 151,
1048
+ 846,
1049
+ 349,
1050
+ 860
1051
+ ],
1052
+ "page_idx": 6
1053
+ },
1054
+ {
1055
+ "type": "header",
1056
+ "text": "ACL 2023 Responsible NLP Checklist",
1057
+ "bbox": [
1058
+ 132,
1059
+ 84,
1060
+ 433,
1061
+ 99
1062
+ ],
1063
+ "page_idx": 6
1064
+ },
1065
+ {
1066
+ "type": "footer",
1067
+ "text": "The Responsible NLP Checklist used at ACL 2023 is adopted from NAACL 2022, with the addition of a question on AI writing assistance.",
1068
+ "bbox": [
1069
+ 112,
1070
+ 868,
1071
+ 877,
1072
+ 892
1073
+ ],
1074
+ "page_idx": 6
1075
+ },
1076
+ {
1077
+ "type": "page_number",
1078
+ "text": "8129",
1079
+ "bbox": [
1080
+ 480,
1081
+ 928,
1082
+ 519,
1083
+ 940
1084
+ ],
1085
+ "page_idx": 6
1086
+ },
1087
+ {
1088
+ "type": "text",
1089
+ "text": "C2. Did you discuss the experimental setup, including hyperparameter search and best-found hyperparameter values?",
1090
+ "bbox": [
1091
+ 127,
1092
+ 84,
1093
+ 878,
1094
+ 115
1095
+ ],
1096
+ "page_idx": 7
1097
+ },
1098
+ {
1099
+ "type": "text",
1100
+ "text": "Not applicable. Left blank.",
1101
+ "bbox": [
1102
+ 149,
1103
+ 117,
1104
+ 349,
1105
+ 131
1106
+ ],
1107
+ "page_idx": 7
1108
+ },
1109
+ {
1110
+ "type": "text",
1111
+ "text": "C3. Did you report descriptive statistics about your results (e.g., error bars around results, summary statistics from sets of experiments), and is it transparent whether you are reporting the max, mean, etc. or just a single run?",
1112
+ "bbox": [
1113
+ 127,
1114
+ 143,
1115
+ 882,
1116
+ 191
1117
+ ],
1118
+ "page_idx": 7
1119
+ },
1120
+ {
1121
+ "type": "text",
1122
+ "text": "Not applicable. Left blank.",
1123
+ "bbox": [
1124
+ 149,
1125
+ 192,
1126
+ 349,
1127
+ 206
1128
+ ],
1129
+ "page_idx": 7
1130
+ },
1131
+ {
1132
+ "type": "text",
1133
+ "text": "C4. If you used existing packages (e.g., for preprocessing, for normalization, or for evaluation), did you report the implementation, model, and parameter settings used (e.g., NLTK, Spacy, ROUGE, etc.)?",
1134
+ "bbox": [
1135
+ 127,
1136
+ 218,
1137
+ 882,
1138
+ 265
1139
+ ],
1140
+ "page_idx": 7
1141
+ },
1142
+ {
1143
+ "type": "text",
1144
+ "text": "Not applicable. Left blank.",
1145
+ "bbox": [
1146
+ 149,
1147
+ 267,
1148
+ 349,
1149
+ 282
1150
+ ],
1151
+ "page_idx": 7
1152
+ },
1153
+ {
1154
+ "type": "text",
1155
+ "text": "D Did you use human annotators (e.g., crowdworkers) or research with human participants?",
1156
+ "bbox": [
1157
+ 112,
1158
+ 293,
1159
+ 877,
1160
+ 310
1161
+ ],
1162
+ "page_idx": 7
1163
+ },
1164
+ {
1165
+ "type": "text",
1166
+ "text": "Left blank.",
1167
+ "bbox": [
1168
+ 132,
1169
+ 313,
1170
+ 213,
1171
+ 329
1172
+ ],
1173
+ "page_idx": 7
1174
+ },
1175
+ {
1176
+ "type": "text",
1177
+ "text": "D1. Did you report the full text of instructions given to participants, including e.g., screenshots, disclaimers of any risks to participants or annotators, etc.?",
1178
+ "bbox": [
1179
+ 127,
1180
+ 340,
1181
+ 882,
1182
+ 372
1183
+ ],
1184
+ "page_idx": 7
1185
+ },
1186
+ {
1187
+ "type": "text",
1188
+ "text": "Not applicable. Left blank.",
1189
+ "bbox": [
1190
+ 149,
1191
+ 373,
1192
+ 349,
1193
+ 388
1194
+ ],
1195
+ "page_idx": 7
1196
+ },
1197
+ {
1198
+ "type": "text",
1199
+ "text": "D2. Did you report information about how you recruited (e.g., crowdsourcing platform, students) and paid participants, and discuss if such payment is adequate given the participants' demographic (e.g., country of residence)?",
1200
+ "bbox": [
1201
+ 127,
1202
+ 399,
1203
+ 882,
1204
+ 447
1205
+ ],
1206
+ "page_idx": 7
1207
+ },
1208
+ {
1209
+ "type": "text",
1210
+ "text": "Not applicable. Left blank.",
1211
+ "bbox": [
1212
+ 149,
1213
+ 448,
1214
+ 349,
1215
+ 464
1216
+ ],
1217
+ "page_idx": 7
1218
+ },
1219
+ {
1220
+ "type": "text",
1221
+ "text": "D3. Did you discuss whether and how consent was obtained from people whose data you're using/curating? For example, if you collected data via crowdsourcing, did your instructions to crowdworkers explain how the data would be used?",
1222
+ "bbox": [
1223
+ 127,
1224
+ 475,
1225
+ 882,
1226
+ 521
1227
+ ],
1228
+ "page_idx": 7
1229
+ },
1230
+ {
1231
+ "type": "text",
1232
+ "text": "Not applicable. Left blank.",
1233
+ "bbox": [
1234
+ 149,
1235
+ 523,
1236
+ 349,
1237
+ 539
1238
+ ],
1239
+ "page_idx": 7
1240
+ },
1241
+ {
1242
+ "type": "text",
1243
+ "text": "D4. Was the data collection protocol approved (or determined exempt) by an ethics review board?",
1244
+ "bbox": [
1245
+ 127,
1246
+ 549,
1247
+ 875,
1248
+ 565
1249
+ ],
1250
+ "page_idx": 7
1251
+ },
1252
+ {
1253
+ "type": "text",
1254
+ "text": "Not applicable. Left blank.",
1255
+ "bbox": [
1256
+ 149,
1257
+ 565,
1258
+ 349,
1259
+ 582
1260
+ ],
1261
+ "page_idx": 7
1262
+ },
1263
+ {
1264
+ "type": "text",
1265
+ "text": "D5. Did you report the basic demographic and geographic characteristics of the annotator population that is the source of the data?",
1266
+ "bbox": [
1267
+ 127,
1268
+ 592,
1269
+ 882,
1270
+ 623
1271
+ ],
1272
+ "page_idx": 7
1273
+ },
1274
+ {
1275
+ "type": "text",
1276
+ "text": "Not applicable. Left blank.",
1277
+ "bbox": [
1278
+ 149,
1279
+ 625,
1280
+ 349,
1281
+ 640
1282
+ ],
1283
+ "page_idx": 7
1284
+ },
1285
+ {
1286
+ "type": "page_number",
1287
+ "text": "8130",
1288
+ "bbox": [
1289
+ 480,
1290
+ 927,
1291
+ 521,
1292
+ 940
1293
+ ],
1294
+ "page_idx": 7
1295
+ }
1296
+ ]
2023/Computer says “No”_ The Case Against Empathetic Conversational AI/919d9a05-5ebb-4c0e-a1de-82ff5cd4abb0_model.json ADDED
@@ -0,0 +1,1547 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [
2
+ [
3
+ {
4
+ "type": "title",
5
+ "bbox": [
6
+ 0.247,
7
+ 0.09,
8
+ 0.752,
9
+ 0.13
10
+ ],
11
+ "angle": 0,
12
+ "content": "Computer says “No”: The Case Against Empathetic Conversational AI"
13
+ },
14
+ {
15
+ "type": "text",
16
+ "bbox": [
17
+ 0.207,
18
+ 0.144,
19
+ 0.471,
20
+ 0.226
21
+ ],
22
+ "angle": 0,
23
+ "content": "Alba Curry \nSchool of Philosophy, Religion and History of Science \nUniversity of Leeds \na.cercascurry@leeds.ac.uk"
24
+ },
25
+ {
26
+ "type": "text",
27
+ "bbox": [
28
+ 0.521,
29
+ 0.144,
30
+ 0.811,
31
+ 0.226
32
+ ],
33
+ "angle": 0,
34
+ "content": "Amanda Cercas Curry \nMilaNLP \nDepartment of Computing Sciences \nBocconi University \namanda.cercas@unibocconi.it"
35
+ },
36
+ {
37
+ "type": "title",
38
+ "bbox": [
39
+ 0.261,
40
+ 0.253,
41
+ 0.341,
42
+ 0.267
43
+ ],
44
+ "angle": 0,
45
+ "content": "Abstract"
46
+ },
47
+ {
48
+ "type": "text",
49
+ "bbox": [
50
+ 0.142,
51
+ 0.282,
52
+ 0.461,
53
+ 0.481
54
+ ],
55
+ "angle": 0,
56
+ "content": "Emotions are an integral part of human cognition and they guide not only our understanding of the world but also our actions within it. As such, whether we soothe or flame an emotion is not inconsequential. Recent work in conversational AI has focused on responding empathetically to users, validating and soothing their emotions without a real basis. This AI-aided emotional regulation can have negative consequences for users and society, tending towards a one-noted happiness defined as only the absence of \"negative\" emotions. We argue that we must carefully consider whether and how to respond to users' emotions."
57
+ },
58
+ {
59
+ "type": "title",
60
+ "bbox": [
61
+ 0.115,
62
+ 0.495,
63
+ 0.26,
64
+ 0.51
65
+ ],
66
+ "angle": 0,
67
+ "content": "1 Introduction"
68
+ },
69
+ {
70
+ "type": "text",
71
+ "bbox": [
72
+ 0.113,
73
+ 0.522,
74
+ 0.49,
75
+ 0.634
76
+ ],
77
+ "angle": 0,
78
+ "content": "Recent work in conversational AI has focused on generating empathetic responses to users' emotional states (e.g., Ide and Kawahara, 2022; Svikhnushina et al., 2022; Zhu et al., 2022) as a way to increase or maintain engagement and rapport with the user and to simulate intelligence. However, these empathetic responses are problematic."
79
+ },
80
+ {
81
+ "type": "text",
82
+ "bbox": [
83
+ 0.113,
84
+ 0.635,
85
+ 0.49,
86
+ 0.78
87
+ ],
88
+ "angle": 0,
89
+ "content": "First, while a system might never claim to be human, responses simulating humanness prompt users to further behave as though the systems were (Reeves and Nass, 1996). Empathy, like all emotions, is likely a uniquely human trait and systems that feign it are in effect feigning humanity. The ethical issues surrounding anthropomorphism have been discussed at length and are beyond the scope of this paper (Salles et al., 2020; Bryson, 2010)."
90
+ },
91
+ {
92
+ "type": "text",
93
+ "bbox": [
94
+ 0.113,
95
+ 0.78,
96
+ 0.49,
97
+ 0.86
98
+ ],
99
+ "angle": 0,
100
+ "content": "Second, empathy requires an ability to both understand and share another's emotions. As such, responding empathetically assumes that the system is able to correctly identify the emotion, and that it is able to feel the emotion itself. Neither one of"
101
+ },
102
+ {
103
+ "type": "text",
104
+ "bbox": [
105
+ 0.509,
106
+ 0.254,
107
+ 0.882,
108
+ 0.285
109
+ ],
110
+ "angle": 0,
111
+ "content": "these holds true for conversational AI (or in fact for any AI system).<sup>2</sup>"
112
+ },
113
+ {
114
+ "type": "text",
115
+ "bbox": [
116
+ 0.508,
117
+ 0.287,
118
+ 0.885,
119
+ 0.801
120
+ ],
121
+ "angle": 0,
122
+ "content": "Third, even if conversational AI were to correctly identify the user's emotions, and perform empathy, we should ethically question the motives and outcomes behind such an enterprise. Svikhnushina et al. (2022) put forward a taxonomy of empathetic questions in social dialogues, paying special attention to the role questions play in regulating the interlocutor's emotions. They argue for the crucial role effective question asking plays in successful chatbots due to the fact that often questions are used to express \"empathy\" and attentiveness by the speaker. Here we highlight the ethical concerns that arise from questions that are characterised by their emotion-regulation functions targeted at the user's emotional state. It is important to note that our argument applies to any use of empathetic AI (see also for example (Morris et al., 2018; De Carolis et al., 2017)). What happens if the chatbot gets it right? There may be instances where a chatbot correctly identifies that a given situation is worthy of praise and amplifies the pride of the user and the result is morally unproblematic. For example, when (Svikhnushina et al., 2022) use the example of amplifying pride in the context of fishing. What happens if it gets it wrong? It depends on the type of mistake: a) The chatbot fails to put into effect a question's intent, it would be ethically inconsequential; \\(^{3}\\mathrm{b})\\) It amplifies or minimises an inappropriate emotion. This is the problem we will focus on, arguing that emotional regulation has no place in conversational AI and as such empathetic responses are deeply morally problematic. While humans will"
123
+ },
124
+ {
125
+ "type": "page_footnote",
126
+ "bbox": [
127
+ 0.508,
128
+ 0.809,
129
+ 0.882,
130
+ 0.856
131
+ ],
132
+ "angle": 0,
133
+ "content": "gle at times to identify our own or extend empathy to certain members of society, but we have the capability of identifying emotions. Furthermore, our ability to identify the emotions of others builds, at least in part, from our own emotions."
134
+ },
135
+ {
136
+ "type": "page_footnote",
137
+ "bbox": [
138
+ 0.508,
139
+ 0.856,
140
+ 0.882,
141
+ 0.893
142
+ ],
143
+ "angle": 0,
144
+ "content": "2Moreover, Barrett (2017) have already problematised the identification of human emotions using language or facial expressions in general."
145
+ },
146
+ {
147
+ "type": "page_footnote",
148
+ "bbox": [
149
+ 0.508,
150
+ 0.893,
151
+ 0.882,
152
+ 0.919
153
+ ],
154
+ "angle": 0,
155
+ "content": "3In fact, if the chatbot failed to be empathetic then it would simply not engage us in the intended ways."
156
+ },
157
+ {
158
+ "type": "list",
159
+ "bbox": [
160
+ 0.508,
161
+ 0.809,
162
+ 0.882,
163
+ 0.919
164
+ ],
165
+ "angle": 0,
166
+ "content": null
167
+ },
168
+ {
169
+ "type": "page_footnote",
170
+ "bbox": [
171
+ 0.113,
172
+ 0.869,
173
+ 0.49,
174
+ 0.919
175
+ ],
176
+ "angle": 0,
177
+ "content": "'Correctly identifying an emotion is problematic for animals including human beings. However, reasons differ between conversation AI and human beings: Human beings vary in their capacity to identify emotions in part because we strut"
178
+ },
179
+ {
180
+ "type": "page_number",
181
+ "bbox": [
182
+ 0.481,
183
+ 0.928,
184
+ 0.521,
185
+ 0.941
186
+ ],
187
+ "angle": 0,
188
+ "content": "8123"
189
+ },
190
+ {
191
+ "type": "footer",
192
+ "bbox": [
193
+ 0.229,
194
+ 0.946,
195
+ 0.769,
196
+ 0.973
197
+ ],
198
+ "angle": 0,
199
+ "content": "Findings of the Association for Computational Linguistics: ACL 2023, pages 8123-8130 July 9-14, 2023 ©2023 Association for Computational Linguistics"
200
+ }
201
+ ],
202
+ [
203
+ {
204
+ "type": "text",
205
+ "bbox": [
206
+ 0.113,
207
+ 0.085,
208
+ 0.49,
209
+ 0.198
210
+ ],
211
+ "angle": 0,
212
+ "content": "necessarily show empathy for one another, conversational AI cannot understand the emotion and so cannot make an accurate judgement as to its appropriateness. This lack of understanding is key as we cannot predict the consequences of moderating an emotion we don't understand, and a dialogue system cannot be held accountable for them."
213
+ },
214
+ {
215
+ "type": "title",
216
+ "bbox": [
217
+ 0.114,
218
+ 0.214,
219
+ 0.414,
220
+ 0.229
221
+ ],
222
+ "angle": 0,
223
+ "content": "2 The Crucial Roles of Emotions"
224
+ },
225
+ {
226
+ "type": "text",
227
+ "bbox": [
228
+ 0.113,
229
+ 0.242,
230
+ 0.49,
231
+ 0.742
232
+ ],
233
+ "angle": 0,
234
+ "content": "What emotions are is still up for debate (Barrett, 2017; Scarantino and de Sousa, 2018). However, their significance for the individual and for society has received renewed interest (Greenspan, 1995; Bell, 2013; Cherry, 2021). Regardless of the emotion model one picks, emotions play important roles, both epistemic and conative ones (Curry, 2022). They perform at least three epistemic roles: (1) They signal to the individual experiencing the emotion what she herself values and how she sees the world (e.g., if you envy your colleague's publications this tells you you value publications and deem yourself similar enough to your colleague that you can compare yourself (Protasi, 2021)); (2) they signal to others how we see the world; and (3) emotional interactions are invaluable sources of information for third-party observers since they tell us what the members of the interaction value. For example, (1) when you grieve, you signal to yourself and anyone observing that you deem to have lost something of value. It is conceivable that you were unaware up to that point that you valued what you lost—this is captured by the saying \"you don't know what you have till it's gone.\" Furthermore, (2) your friends and family may learn something about you by observing your grief. They too may not have known how much something meant for you. Finally, (3) an observer may also learn about the dynamics of grief (whether it is appropriate to express it for example) by observing whether or not your family validates your grief."
235
+ },
236
+ {
237
+ "type": "text",
238
+ "bbox": [
239
+ 0.113,
240
+ 0.743,
241
+ 0.49,
242
+ 0.919
243
+ ],
244
+ "angle": 0,
245
+ "content": "Furthermore, emotions play conative roles, meaning that they are involved in important ways with our motivation and desire to act in certain ways. In other words, not only do some emotions compel and motivate you to act, but also how you act is coloured by the emotion you are experiencing. For example, your anger signals that you perceive that an injustice has occurred. If your boss fails to promote the person who deserves it because of their gender, your anger would motivate you to write a letter of complaint or speak to HR about it."
246
+ },
247
+ {
248
+ "type": "text",
249
+ "bbox": [
250
+ 0.508,
251
+ 0.085,
252
+ 0.885,
253
+ 0.294
254
+ ],
255
+ "angle": 0,
256
+ "content": "Importantly, all emotions, including the so-called \"negative\" emotions (e.g., anger, contempt, hatred, shame, envy, guilt, etc.) also share these functions. These emotions are not negative in the sense of being \"bad\", they are called negative because they are painful, and therefore they are emotions that we would tend to avoid for ourselves. A world without injustice would certainly be ideal but we would not want a world of injustice where we were unequipped to notice or become motivated to fight it. Hence why it is imperative that we ask ourselves under which circumstances we ought to enhance or soothe emotions."
257
+ },
258
+ {
259
+ "type": "title",
260
+ "bbox": [
261
+ 0.51,
262
+ 0.31,
263
+ 0.783,
264
+ 0.327
265
+ ],
266
+ "angle": 0,
267
+ "content": "3 The Problem with Empathy"
268
+ },
269
+ {
270
+ "type": "text",
271
+ "bbox": [
272
+ 0.508,
273
+ 0.338,
274
+ 0.885,
275
+ 0.579
276
+ ],
277
+ "angle": 0,
278
+ "content": "Literature discussing the value and power of empathy for conversational AI understands empathy as a tool to establish a common ground for meaningful communication and to appear more likeable to users. The authors of these studies understand empathy broadly as \"the feeling by which one understands and shares another person's experiences and emotions\" (De Carolis et al., 2017). Empathy facilitates engagement through the development of social relationships, affection, and familiarity. Furthermore, for Svikhnushina et al. (2022), empathy is required in order to enable chatbots to ask questions with emotion regulation intents. For example, questions may be used to amplify the user's pride or de-escalate the user's anger, or frustration."
279
+ },
280
+ {
281
+ "type": "text",
282
+ "bbox": [
283
+ 0.508,
284
+ 0.581,
285
+ 0.885,
286
+ 0.805
287
+ ],
288
+ "angle": 0,
289
+ "content": "Empathy, although a common phenomenon, is not a simple one. It enjoys a long history in various scholarly disciplines. Indeed, a lot of ink has been spilled (and still is), for example, over how to make sense of character engagement. How do we, human beings, care for fictional characters? How are we intrigued and moved by their adventures and respond to the emotions and affects expressed in their voices, bodies, and faces as well as imagine the situation they are in and wish them success, closure, or punishment? Empathy is taken to be a key element and yet the exact nature of how human beings are able to experience empathy for fictional characters is currently being debated (Tobón, 2019)."
290
+ },
291
+ {
292
+ "type": "text",
293
+ "bbox": [
294
+ 0.508,
295
+ 0.807,
296
+ 0.885,
297
+ 0.92
298
+ ],
299
+ "angle": 0,
300
+ "content": "The reason for highlighting this diversity is that conversational AI would do well to engage seriously with the rich intellectual history of empathy. The definition it tends to engage with lacks the level of complexity required to understand this complex phenomenon. Moreover, it tends to obfuscate the darker sides of empathy. Leaving aside the fact"
301
+ },
302
+ {
303
+ "type": "page_number",
304
+ "bbox": [
305
+ 0.481,
306
+ 0.929,
307
+ 0.521,
308
+ 0.941
309
+ ],
310
+ "angle": 0,
311
+ "content": "8124"
312
+ }
313
+ ],
314
+ [
315
+ {
316
+ "type": "text",
317
+ "bbox": [
318
+ 0.112,
319
+ 0.085,
320
+ 0.49,
321
+ 0.244
322
+ ],
323
+ "angle": 0,
324
+ "content": "that defining empathy as the \"reactions of one individual to the observed experiences of another\" (De Carolis et al., 2017) tells us very little about the process by which a human beings, let alone conversational AI, may do this, what we take issue with is what chatbots hope to do with that empathy. In other words, if for the sake or argument, we presume that conversational AI is able to accurately identify our emotions, the issue of how we deploy empathy is of huge ethical relevance."
325
+ },
326
+ {
327
+ "type": "text",
328
+ "bbox": [
329
+ 0.112,
330
+ 0.246,
331
+ 0.49,
332
+ 0.472
333
+ ],
334
+ "angle": 0,
335
+ "content": "Here we offer a brief summary of three important views against empathy: Prinz (2011) argues against the common intuition that empathy is by and large a good thing and thus desirable. He raises several issues such as empathy being easily manipulated (such as during a trial), and empathy being partial (we are more empathetic towards people we perceive to be of our own race, for example). Both claims have been empirically verified. Thinking about how this might affect empathetic conversational AI for example in the case of using them for social assistive robots, we might worry if based on its empathetic reactions it chose to help certain people over others."
336
+ },
337
+ {
338
+ "type": "text",
339
+ "bbox": [
340
+ 0.112,
341
+ 0.472,
342
+ 0.49,
343
+ 0.633
344
+ ],
345
+ "angle": 0,
346
+ "content": "Taking the argument further, Bloom (2017) argues against empathy and for what he calls rational compassion. He contends that empathy is one of the leading motivators of inequality and immorality in society. Thus, far from helping us to improve the lives of others, empathy is a capricious and irrational emotion that appeals to our narrow prejudices; it muddles our judgement and, ironically, often leads to cruelty. Instead, we ought to draw upon a more distanced compassion.<sup>4</sup>"
347
+ },
348
+ {
349
+ "type": "text",
350
+ "bbox": [
351
+ 0.112,
352
+ 0.632,
353
+ 0.49,
354
+ 0.793
355
+ ],
356
+ "angle": 0,
357
+ "content": "There are three lessons we can take from this: (1) Given empathy's prejudices, we would need to think deeper about how to mitigate them in conversational AI; (2) Given that empathy is used not just know what brings people pleasure, but also what brings pain, we might want to question the general future uses of empathy in conversational AI; (3) if we buy Bloom's argument, then conversational AI should consider not imitating human beings, but becoming agents of rational compassion."
358
+ },
359
+ {
360
+ "type": "text",
361
+ "bbox": [
362
+ 0.113,
363
+ 0.794,
364
+ 0.49,
365
+ 0.875
366
+ ],
367
+ "angle": 0,
368
+ "content": "Breithaupt (2019) also takes issue with empathy, arguing that we commit atrocities not out of a failure of empathy, but rather as a direct consequence of successful, even overly successful, empathy. He starts the book by reminding us that “[e]xtreme acts"
369
+ },
370
+ {
371
+ "type": "text",
372
+ "bbox": [
373
+ 0.508,
374
+ 0.085,
375
+ 0.831,
376
+ 0.101
377
+ ],
378
+ "angle": 0,
379
+ "content": "of cruelty require a high level of empathy.\""
380
+ },
381
+ {
382
+ "type": "text",
383
+ "bbox": [
384
+ 0.508,
385
+ 0.102,
386
+ 0.885,
387
+ 0.182
388
+ ],
389
+ "angle": 0,
390
+ "content": "The further lesson we can take from this is that while people generally assume that empathy leads to morally correct behaviour, and certainly there are many positive sides of empathy, we should not rely on an overly simple or glorified image of empathy."
391
+ },
392
+ {
393
+ "type": "text",
394
+ "bbox": [
395
+ 0.508,
396
+ 0.184,
397
+ 0.885,
398
+ 0.555
399
+ ],
400
+ "angle": 0,
401
+ "content": "However, our problem is not necessarily with empathy per se, but rather with the explicit functions conversational AI hopes to achieve with it, namely to enhance engagement, to inflate emotions deemed positive, and to soothe emotions deemed negative (e.g., Svikhnushina et al., 2022). Our claim is that we ought to think carefully about the consequences of soothing negative emotions only because they we have a bias against them. Not only is this approach based on a naive understanding of emotions, it fails to recognise the importance of human beings being allowed to experience and express the full spectrum of emotions. One ought to not experience negative emotions because there is nothing to be upset about, not because we have devised an emotional pacifier. In other words, the issue is that conversational AI lacks a sound value system for deciding why certain emotions are validated and others soothed. Furthermore, this AI-aided emotional regulation can have negative consequences for users and society, tending towards a one-noted notion of happiness defined as only the absence of \"negative\" emotions."
402
+ },
403
+ {
404
+ "type": "title",
405
+ "bbox": [
406
+ 0.509,
407
+ 0.569,
408
+ 0.851,
409
+ 0.586
410
+ ],
411
+ "angle": 0,
412
+ "content": "4 When Emotions Get Things Wrong"
413
+ },
414
+ {
415
+ "type": "text",
416
+ "bbox": [
417
+ 0.508,
418
+ 0.597,
419
+ 0.883,
420
+ 0.87
421
+ ],
422
+ "angle": 0,
423
+ "content": "There are two illustrative problems with the kinds of decisions behind amplifying and de-escalating emotions. One is the problem of what the ideal character might be. When you talk to a friend they will decide whether to soothe or amplify your emotions based not just on the situation but also on who they deem you to be. If they think you are someone who has a hard time standing up for yourself they will amplify your anger to encourage you to fight for yourself, but if they think you are someone who leans too much on arrogance, they will de-escalate your sense of pride—even if, all things being equal, your pride on that occasion was warranted. Hence, not only would a conversational AI require prior knowledge of the interlocutor in terms of her character, but furthermore it would have to decide what are desirable character traits."
424
+ },
425
+ {
426
+ "type": "text",
427
+ "bbox": [
428
+ 0.508,
429
+ 0.872,
430
+ 0.885,
431
+ 0.92
432
+ ],
433
+ "angle": 0,
434
+ "content": "The second question regards what an ideal emotion in a particular situation might be. We may all find it easy to say that negative emotions such"
435
+ },
436
+ {
437
+ "type": "page_footnote",
438
+ "bbox": [
439
+ 0.113,
440
+ 0.881,
441
+ 0.49,
442
+ 0.92
443
+ ],
444
+ "angle": 0,
445
+ "content": "Assessing Bloom's argument with regards to rational compassion and whether it would be feasible for conversational AI is beyond the scope of this paper although worthy of pursuit."
446
+ },
447
+ {
448
+ "type": "page_number",
449
+ "bbox": [
450
+ 0.481,
451
+ 0.929,
452
+ 0.521,
453
+ 0.941
454
+ ],
455
+ "angle": 0,
456
+ "content": "8125"
457
+ }
458
+ ],
459
+ [
460
+ {
461
+ "type": "text",
462
+ "bbox": [
463
+ 0.113,
464
+ 0.085,
465
+ 0.493,
466
+ 0.683
467
+ ],
468
+ "angle": 0,
469
+ "content": "as anger often get things wrong and lead to undesirable outcomes. However, positive emotions such as joy, hope, or pride which we may intuitively wish to amplify can also get things wrong. We assess and criticise emotions along a number of distinct dimensions: Firstly, emotions may be criticised when they do not fit their targets. You may, for example, be open to criticism for feeling fear in the absence of danger. Unfitting emotions fail to correctly present the world. In the case of pride, would we want to amplify someone's pride if they either did not in fact achieve anything, or if their achievement was not merited? For example, if their nephew did very well in maths when in fact we know their nephew cheated? Second, an emotion may be open to criticism when it is not based on good evidence or is unreasonable. Consider the person who suffers from hydrophobia: Given that in the vast majority of situations water is not dangerous, this person's fear is both unreasonable and unfitting. But even fitting emotions may be unreasonable. One may, for example, be terrified of tsunamis because one believes that they cause genetic mutations. In this case, one's fear is fitting—tsunamis are very dangerous—yet the fear is unreasonable since it is not based on good reasons. Third, an emotion may be criticised because it isn't prudent to feel. We might warn someone not to show anger when interacting with a person with a gun since they might get themselves killed; anger in this case may be reasonable and fitting given the gunman's actions and yet imprudent. Finally, we may condemn emotions as morally nonvaluable because of the unacceptable way in which they present their targets, e.g., one may, argue that schadenfreude is morally objectionable because it presents the pain of another person as laughable."
470
+ },
471
+ {
472
+ "type": "text",
473
+ "bbox": [
474
+ 0.113,
475
+ 0.692,
476
+ 0.49,
477
+ 0.852
478
+ ],
479
+ "angle": 0,
480
+ "content": "Positive emotions may be unfitting, unreasonable, and imprudent, as well as morally condemning just as negative emotions may well be fitting, reasonable, and prudent, as well as morally laudable. In other words, even if one is equipped with empathy there are crucial normative decisions involved in question intents aimed at emotional regulation.<sup>5</sup> Amplifying and de-escalating emotion inappropriately can have devastating moral outcomes."
481
+ },
482
+ {
483
+ "type": "title",
484
+ "bbox": [
485
+ 0.509,
486
+ 0.084,
487
+ 0.791,
488
+ 0.102
489
+ ],
490
+ "angle": 0,
491
+ "content": "5 Empathy and Responsibility"
492
+ },
493
+ {
494
+ "type": "text",
495
+ "bbox": [
496
+ 0.507,
497
+ 0.11,
498
+ 0.885,
499
+ 0.238
500
+ ],
501
+ "angle": 0,
502
+ "content": "Human beings, all things being equal, will inevitably experience empathy. A reasonable human being experiencing empathy for another is proof of the importance of someone else's emotional state—for better or for worse. This supports the idea that our emotions are important, as opposed to the notion that they hinder rationality and ought to be regulated. They tell us many things about our world."
503
+ },
504
+ {
505
+ "type": "text",
506
+ "bbox": [
507
+ 0.508,
508
+ 0.239,
509
+ 0.885,
510
+ 0.383
511
+ ],
512
+ "angle": 0,
513
+ "content": "Similarly to many NLP systems' understanding of language, the empathetic responses of conversational AI are only performative (Bender and Koller, 2020). Thus, they provide a false sense of validity or importance. What if someone is experiencing an unfitting, unreasonable, or morally reprehensible emotion? Should a chatbot still showcase empathy? We hope to have shown that such decisions are deeply morally problematic and complex."
514
+ },
515
+ {
516
+ "type": "text",
517
+ "bbox": [
518
+ 0.508,
519
+ 0.384,
520
+ 0.885,
521
+ 0.577
522
+ ],
523
+ "angle": 0,
524
+ "content": "Hence, another key problem is responsibility. A human agent may choose to express their empathy (even if they cannot choose feeling it) and they may choose to attempt to regulate someone else's emotions based on their knowledge of the situation and the speaker's character. If a human being wrongly regulates someone else's emotions, they will be morally responsible for the consequences. Who is morally responsible in the case of conversational AI agents? Who are they benefiting when they are not actually benefiting the human agent? This issue is further elaborated on by Véliz (2021)."
525
+ },
526
+ {
527
+ "type": "title",
528
+ "bbox": [
529
+ 0.509,
530
+ 0.589,
531
+ 0.667,
532
+ 0.604
533
+ ],
534
+ "angle": 0,
535
+ "content": "6 Related Work"
536
+ },
537
+ {
538
+ "type": "text",
539
+ "bbox": [
540
+ 0.508,
541
+ 0.614,
542
+ 0.885,
543
+ 0.742
544
+ ],
545
+ "angle": 0,
546
+ "content": "Our article sits at the intersection of emotion detection, response generation, and safety in conversational AI. We keep this section brief as we cite relevant work throughout the article. Several works have already focused on the issue of giving AI systems sentience, such as Bryson (2010). While this could make the systems truly empathetic, we agree that we have a duty not to create sentient machines."
547
+ },
548
+ {
549
+ "type": "text",
550
+ "bbox": [
551
+ 0.508,
552
+ 0.743,
553
+ 0.887,
554
+ 0.854
555
+ ],
556
+ "angle": 0,
557
+ "content": "Lahnala et al. (2022) problematise NLP's conceptualisation of empathy which, they argue, is poorly defined, leading to issues of data validity and missed opportunities for research. Instead, we argue that even a more specific definition of empathy presents ethical issues that cannot be overlooked or ignored and must carefully evaluated."
558
+ },
559
+ {
560
+ "type": "text",
561
+ "bbox": [
562
+ 0.509,
563
+ 0.856,
564
+ 0.885,
565
+ 0.919
566
+ ],
567
+ "angle": 0,
568
+ "content": "Dinan et al. (2022) provide a framework to classify and detect safety issues in end-to-end conversational systems. In particular, they point out systems that respond inappropriately to offensive content"
569
+ },
570
+ {
571
+ "type": "page_footnote",
572
+ "bbox": [
573
+ 0.136,
574
+ 0.904,
575
+ 0.396,
576
+ 0.919
577
+ ],
578
+ "angle": 0,
579
+ "content": "See the complex example in Silva (2021)"
580
+ },
581
+ {
582
+ "type": "page_number",
583
+ "bbox": [
584
+ 0.481,
585
+ 0.928,
586
+ 0.522,
587
+ 0.941
588
+ ],
589
+ "angle": 0,
590
+ "content": "8126"
591
+ }
592
+ ],
593
+ [
594
+ {
595
+ "type": "text",
596
+ "bbox": [
597
+ 0.113,
598
+ 0.085,
599
+ 0.493,
600
+ 0.248
601
+ ],
602
+ "angle": 0,
603
+ "content": "and safety-critical issues such as medical and emergency situations. We could apply their framework to empathetic responses where the system takes the role of an \"impostor\": empathetic responses require a system to pretend to understand the emotion. However, the extent to which emotions play a role in human cognition and what the consequences of regulating these emotions for the users are has not been discussed in the literature to the best of our knowledge."
604
+ },
605
+ {
606
+ "type": "title",
607
+ "bbox": [
608
+ 0.114,
609
+ 0.257,
610
+ 0.248,
611
+ 0.273
612
+ ],
613
+ "angle": 0,
614
+ "content": "7 Conclusion"
615
+ },
616
+ {
617
+ "type": "text",
618
+ "bbox": [
619
+ 0.113,
620
+ 0.283,
621
+ 0.492,
622
+ 0.589
623
+ ],
624
+ "angle": 0,
625
+ "content": "In this position paper, we argued that emotional regulation has no place in conversational AI and as such empathetic responses are deeply morally problematic. While humans will necessarily show empathy for one another, conversational AI cannot understand the emotion and so cannot make an accurate judgement as to its reasonableness. This lack of understanding is key because we cannot predict the consequences of assuaging or aggravating an emotion, and a dialogue system cannot be held accountable for them. We hope to encourage reflection from future researchers and to initiate a discussion of the issue, not only in this particular case but also more reflection when it comes to pursuing seemingly positive goals such as bringing disagreeing parties towards agreement. Like with other ethically sensible topics, the community should come together to agree on a strategy that minimises harm."
626
+ },
627
+ {
628
+ "type": "title",
629
+ "bbox": [
630
+ 0.114,
631
+ 0.6,
632
+ 0.221,
633
+ 0.615
634
+ ],
635
+ "angle": 0,
636
+ "content": "Limitations"
637
+ },
638
+ {
639
+ "type": "text",
640
+ "bbox": [
641
+ 0.113,
642
+ 0.625,
643
+ 0.49,
644
+ 0.818
645
+ ],
646
+ "angle": 0,
647
+ "content": "While we strongly argue against empathetic conversational systems, there may be use cases – such as psychotherapy or educational chatbots – where validating a user's emotions is, if not required, helpful in terms of their goal. In addition, while a lot of the work on empathetic responses we have discussed is intentional, generative models like ChatGPT produce relatively uncontrolled responses that may well be unintentionally empathetic. As with toxic outputs, care should be taken to prevent these models from validating users' emotions that cannot be understood."
648
+ },
649
+ {
650
+ "type": "title",
651
+ "bbox": [
652
+ 0.114,
653
+ 0.83,
654
+ 0.287,
655
+ 0.847
656
+ ],
657
+ "angle": 0,
658
+ "content": "Acknowledgements"
659
+ },
660
+ {
661
+ "type": "text",
662
+ "bbox": [
663
+ 0.113,
664
+ 0.855,
665
+ 0.49,
666
+ 0.92
667
+ ],
668
+ "angle": 0,
669
+ "content": "We thank the anonymous reviewers and Gavin Abercrombie for their thorough and helpful comments. This project has partially received funding from the European Research Council (ERC) under"
670
+ },
671
+ {
672
+ "type": "text",
673
+ "bbox": [
674
+ 0.508,
675
+ 0.085,
676
+ 0.886,
677
+ 0.182
678
+ ],
679
+ "angle": 0,
680
+ "content": "the European Union's Horizon 2020 research and innovation program (grant agreement No. 949944, INTEGRATOR). Amanda Cercas Curry is a member of the MilaNLP group and the Data and Marketing Insights Unit of the Bocconi Institute for Data Science and Analysis."
681
+ },
682
+ {
683
+ "type": "title",
684
+ "bbox": [
685
+ 0.51,
686
+ 0.209,
687
+ 0.61,
688
+ 0.223
689
+ ],
690
+ "angle": 0,
691
+ "content": "References"
692
+ },
693
+ {
694
+ "type": "ref_text",
695
+ "bbox": [
696
+ 0.51,
697
+ 0.23,
698
+ 0.884,
699
+ 0.258
700
+ ],
701
+ "angle": 0,
702
+ "content": "Lisa Feldman Barrett. 2017. How emotions are made: The secret life of the brain. Pan Macmillan."
703
+ },
704
+ {
705
+ "type": "ref_text",
706
+ "bbox": [
707
+ 0.511,
708
+ 0.267,
709
+ 0.885,
710
+ 0.295
711
+ ],
712
+ "angle": 0,
713
+ "content": "Macalester Bell. 2013. Hard feelings: The moral psychology of contempt. Oxford University Press."
714
+ },
715
+ {
716
+ "type": "ref_text",
717
+ "bbox": [
718
+ 0.511,
719
+ 0.303,
720
+ 0.884,
721
+ 0.37
722
+ ],
723
+ "angle": 0,
724
+ "content": "Emily M Bender and Alexander Koller. 2020. Climbing towards nlu: On meaning, form, and understanding in the age of data. In Proceedings of the 58th annual meeting of the association for computational linguistics, pages 5185-5198."
725
+ },
726
+ {
727
+ "type": "ref_text",
728
+ "bbox": [
729
+ 0.511,
730
+ 0.379,
731
+ 0.885,
732
+ 0.407
733
+ ],
734
+ "angle": 0,
735
+ "content": "Paul Bloom. 2017. Against empathy: The case for rational compassion. Random House."
736
+ },
737
+ {
738
+ "type": "ref_text",
739
+ "bbox": [
740
+ 0.511,
741
+ 0.416,
742
+ 0.885,
743
+ 0.443
744
+ ],
745
+ "angle": 0,
746
+ "content": "Fritz Breithaupt. 2019. The dark sides of empathy. Cornell University Press."
747
+ },
748
+ {
749
+ "type": "ref_text",
750
+ "bbox": [
751
+ 0.51,
752
+ 0.452,
753
+ 0.884,
754
+ 0.492
755
+ ],
756
+ "angle": 0,
757
+ "content": "Joanna J Bryson. 2010. Robots should be slaves. Close Engagements with Artificial Companions: Key social, psychological, ethical and design issues, 8:63-74."
758
+ },
759
+ {
760
+ "type": "ref_text",
761
+ "bbox": [
762
+ 0.511,
763
+ 0.501,
764
+ 0.885,
765
+ 0.54
766
+ ],
767
+ "angle": 0,
768
+ "content": "Myisha Cherry. 2021. The case for rage: Why anger is essential to anti-racist struggle. Oxford University Press."
769
+ },
770
+ {
771
+ "type": "ref_text",
772
+ "bbox": [
773
+ 0.511,
774
+ 0.55,
775
+ 0.885,
776
+ 0.591
777
+ ],
778
+ "angle": 0,
779
+ "content": "Alba Curry. 2022. An Apologia for Anger With Reference to Early China and Ancient Greece. Ph.D. thesis, UC Riverside."
780
+ },
781
+ {
782
+ "type": "ref_text",
783
+ "bbox": [
784
+ 0.511,
785
+ 0.6,
786
+ 0.885,
787
+ 0.653
788
+ ],
789
+ "angle": 0,
790
+ "content": "Berardina De Carolis, Stefano Ferilli, and Giuseppe Palestra. 2017. Simulating empathic behavior in a social assistive robot. *Multimedia Tools and Applications*, 76(4):5073-5094."
791
+ },
792
+ {
793
+ "type": "ref_text",
794
+ "bbox": [
795
+ 0.511,
796
+ 0.662,
797
+ 0.886,
798
+ 0.768
799
+ ],
800
+ "angle": 0,
801
+ "content": "Emily Dinan, Gavin Abercrombie, A. Bergman, Shannon Spruit, Dirk Hovy, Y-Lan Boureau, and Verena Rieser. 2022. *SafetyKit: First aid for measuring safety in open-domain conversational systems*. In Proceedings of the 60th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pages 4113-4133, Dublin, Ireland. Association for Computational Linguistics."
802
+ },
803
+ {
804
+ "type": "ref_text",
805
+ "bbox": [
806
+ 0.51,
807
+ 0.777,
808
+ 0.884,
809
+ 0.817
810
+ ],
811
+ "angle": 0,
812
+ "content": "Patricia S Greenspan. 1995. Practical guilt: Moral dilemmas, emotions, and social norms. Oxford University Press on Demand."
813
+ },
814
+ {
815
+ "type": "ref_text",
816
+ "bbox": [
817
+ 0.51,
818
+ 0.826,
819
+ 0.886,
820
+ 0.919
821
+ ],
822
+ "angle": 0,
823
+ "content": "Tatsuya Ide and Daisuke Kawahara. 2022. Building a dialogue corpus annotated with expressed and experienced emotions. In Proceedings of the 60th Annual Meeting of the Association for Computational Linguistics: Student Research Workshop, pages 21-30, Dublin, Ireland. Association for Computational Linguistics."
824
+ },
825
+ {
826
+ "type": "list",
827
+ "bbox": [
828
+ 0.51,
829
+ 0.23,
830
+ 0.886,
831
+ 0.919
832
+ ],
833
+ "angle": 0,
834
+ "content": null
835
+ },
836
+ {
837
+ "type": "page_number",
838
+ "bbox": [
839
+ 0.481,
840
+ 0.928,
841
+ 0.521,
842
+ 0.941
843
+ ],
844
+ "angle": 0,
845
+ "content": "8127"
846
+ }
847
+ ],
848
+ [
849
+ {
850
+ "type": "ref_text",
851
+ "bbox": [
852
+ 0.117,
853
+ 0.086,
854
+ 0.49,
855
+ 0.14
856
+ ],
857
+ "angle": 0,
858
+ "content": "Allison Lahnala, Charles Welch, David Jurgens, and Lucie Flek. 2022. A critical reflection and forward perspective on empathy and natural language processing. arXiv preprint arXiv:2210.16604."
859
+ },
860
+ {
861
+ "type": "ref_text",
862
+ "bbox": [
863
+ 0.117,
864
+ 0.149,
865
+ 0.49,
866
+ 0.228
867
+ ],
868
+ "angle": 0,
869
+ "content": "Robert R Morris, Kareem Kouddous, Rohan Kshir-sagar, and Stephen M Schueller. 2018. Towards an artificially empathic conversational agent for mental health applications: system design and user perceptions. Journal of medical Internet research, 20(6):e10148."
870
+ },
871
+ {
872
+ "type": "ref_text",
873
+ "bbox": [
874
+ 0.117,
875
+ 0.238,
876
+ 0.486,
877
+ 0.265
878
+ ],
879
+ "angle": 0,
880
+ "content": "Jesse Prinz. 2011. Against empathy. The Southern Journal of Philosophy, 49:214-233."
881
+ },
882
+ {
883
+ "type": "ref_text",
884
+ "bbox": [
885
+ 0.117,
886
+ 0.274,
887
+ 0.486,
888
+ 0.301
889
+ ],
890
+ "angle": 0,
891
+ "content": "Sara Protasi. 2021. The philosophy of envy. Cambridge University Press."
892
+ },
893
+ {
894
+ "type": "ref_text",
895
+ "bbox": [
896
+ 0.117,
897
+ 0.311,
898
+ 0.489,
899
+ 0.363
900
+ ],
901
+ "angle": 0,
902
+ "content": "Byron Reeves and Clifford Nass. 1996. The media equation: How people treat computers, television, and new media like real people. Cambridge, UK, 10:236605."
903
+ },
904
+ {
905
+ "type": "ref_text",
906
+ "bbox": [
907
+ 0.117,
908
+ 0.374,
909
+ 0.489,
910
+ 0.413
911
+ ],
912
+ "angle": 0,
913
+ "content": "Arleen Salles, Kathinka Evers, and Michele Farisco. 2020. Anthropomorphism in ai. AJOB neuroscience, 11(2):88-95."
914
+ },
915
+ {
916
+ "type": "ref_text",
917
+ "bbox": [
918
+ 0.117,
919
+ 0.423,
920
+ 0.488,
921
+ 0.476
922
+ ],
923
+ "angle": 0,
924
+ "content": "A Scarantino and R de Sousa. 2018. Emotion, in \"the stanford encyclopedia of philosophy\" (winter 2018 edition). EN ZALTA (a cura di), URL: https://plato.stanford.edu/archives/win2018/entries/emotion."
925
+ },
926
+ {
927
+ "type": "ref_text",
928
+ "bbox": [
929
+ 0.117,
930
+ 0.486,
931
+ 0.489,
932
+ 0.513
933
+ ],
934
+ "angle": 0,
935
+ "content": "Laura Silva. 2021. The epistemic role of outlaw emotions. *Ergo*, 8(23)."
936
+ },
937
+ {
938
+ "type": "ref_text",
939
+ "bbox": [
940
+ 0.117,
941
+ 0.523,
942
+ 0.49,
943
+ 0.614
944
+ ],
945
+ "angle": 0,
946
+ "content": "Ekaterina Svikhnushina, Iuliana Voinea, Anuradha Welivita, and Pearl Pu. 2022. A taxonomy of empathetic questions in social dialogs. In Proceedings of the 60th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pages 2952-2973, Dublin, Ireland. Association for Computational Linguistics."
947
+ },
948
+ {
949
+ "type": "ref_text",
950
+ "bbox": [
951
+ 0.117,
952
+ 0.625,
953
+ 0.489,
954
+ 0.678
955
+ ],
956
+ "angle": 0,
957
+ "content": "Daniel Jerónimo Tobón. 2019. Empathy and sympathy: two contemporary models of character engagement. In The Palgrave handbook of the philosophy of film and motion pictures, pages 865-891. Springer."
958
+ },
959
+ {
960
+ "type": "ref_text",
961
+ "bbox": [
962
+ 0.117,
963
+ 0.687,
964
+ 0.49,
965
+ 0.726
966
+ ],
967
+ "angle": 0,
968
+ "content": "Carissa Veliz. 2021. Moral zombies: why algorithms are not moral agents. AI & SOCIETY, 36(2):487-497."
969
+ },
970
+ {
971
+ "type": "ref_text",
972
+ "bbox": [
973
+ 0.117,
974
+ 0.737,
975
+ 0.49,
976
+ 0.842
977
+ ],
978
+ "angle": 0,
979
+ "content": "Ling.Yu Zhu, Zhengkun Zhang, Jun Wang, Hongbin Wang, Haiying Wu, and Zhenglu Yang. 2022. Multi-party empathetic dialogue generation: A new task for dialog systems. In Proceedings of the 60th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pages 298-307, Dublin, Ireland. Association for Computational Linguistics."
980
+ },
981
+ {
982
+ "type": "list",
983
+ "bbox": [
984
+ 0.117,
985
+ 0.086,
986
+ 0.49,
987
+ 0.842
988
+ ],
989
+ "angle": 0,
990
+ "content": null
991
+ },
992
+ {
993
+ "type": "page_number",
994
+ "bbox": [
995
+ 0.481,
996
+ 0.929,
997
+ 0.521,
998
+ 0.941
999
+ ],
1000
+ "angle": 0,
1001
+ "content": "8128"
1002
+ }
1003
+ ],
1004
+ [
1005
+ {
1006
+ "type": "header",
1007
+ "bbox": [
1008
+ 0.134,
1009
+ 0.085,
1010
+ 0.435,
1011
+ 0.1
1012
+ ],
1013
+ "angle": 0,
1014
+ "content": "ACL 2023 Responsible NLP Checklist"
1015
+ },
1016
+ {
1017
+ "type": "text",
1018
+ "bbox": [
1019
+ 0.116,
1020
+ 0.108,
1021
+ 0.323,
1022
+ 0.123
1023
+ ],
1024
+ "angle": 0,
1025
+ "content": "A For every submission:"
1026
+ },
1027
+ {
1028
+ "type": "text",
1029
+ "bbox": [
1030
+ 0.131,
1031
+ 0.127,
1032
+ 0.533,
1033
+ 0.143
1034
+ ],
1035
+ "angle": 0,
1036
+ "content": "A1. Did you describe the limitations of your work?"
1037
+ },
1038
+ {
1039
+ "type": "text",
1040
+ "bbox": [
1041
+ 0.151,
1042
+ 0.145,
1043
+ 0.233,
1044
+ 0.159
1045
+ ],
1046
+ "angle": 0,
1047
+ "content": "Left blank."
1048
+ },
1049
+ {
1050
+ "type": "text",
1051
+ "bbox": [
1052
+ 0.13,
1053
+ 0.171,
1054
+ 0.553,
1055
+ 0.187
1056
+ ],
1057
+ "angle": 0,
1058
+ "content": "A2. Did you discuss any potential risks of your work?"
1059
+ },
1060
+ {
1061
+ "type": "text",
1062
+ "bbox": [
1063
+ 0.15,
1064
+ 0.188,
1065
+ 0.734,
1066
+ 0.203
1067
+ ],
1068
+ "angle": 0,
1069
+ "content": "The paper is a position paper warning against a particular application of NLP."
1070
+ },
1071
+ {
1072
+ "type": "text",
1073
+ "bbox": [
1074
+ 0.13,
1075
+ 0.212,
1076
+ 0.697,
1077
+ 0.229
1078
+ ],
1079
+ "angle": 0,
1080
+ "content": "A3. Do the abstract and introduction summarize the paper's main claims?"
1081
+ },
1082
+ {
1083
+ "type": "text",
1084
+ "bbox": [
1085
+ 0.152,
1086
+ 0.231,
1087
+ 0.233,
1088
+ 0.245
1089
+ ],
1090
+ "angle": 0,
1091
+ "content": "Left blank."
1092
+ },
1093
+ {
1094
+ "type": "text",
1095
+ "bbox": [
1096
+ 0.13,
1097
+ 0.256,
1098
+ 0.67,
1099
+ 0.273
1100
+ ],
1101
+ "angle": 0,
1102
+ "content": "A4. Have you used AI writing assistants when working on this paper?"
1103
+ },
1104
+ {
1105
+ "type": "text",
1106
+ "bbox": [
1107
+ 0.152,
1108
+ 0.274,
1109
+ 0.233,
1110
+ 0.288
1111
+ ],
1112
+ "angle": 0,
1113
+ "content": "Left blank."
1114
+ },
1115
+ {
1116
+ "type": "text",
1117
+ "bbox": [
1118
+ 0.116,
1119
+ 0.301,
1120
+ 0.491,
1121
+ 0.317
1122
+ ],
1123
+ "angle": 0,
1124
+ "content": "B Did you use or create scientific artifacts?"
1125
+ },
1126
+ {
1127
+ "type": "text",
1128
+ "bbox": [
1129
+ 0.133,
1130
+ 0.322,
1131
+ 0.334,
1132
+ 0.337
1133
+ ],
1134
+ "angle": 0,
1135
+ "content": "Not applicable. Left blank."
1136
+ },
1137
+ {
1138
+ "type": "text",
1139
+ "bbox": [
1140
+ 0.13,
1141
+ 0.348,
1142
+ 0.53,
1143
+ 0.364
1144
+ ],
1145
+ "angle": 0,
1146
+ "content": "B1. Did you cite the creators of artifacts you used?"
1147
+ },
1148
+ {
1149
+ "type": "text",
1150
+ "bbox": [
1151
+ 0.151,
1152
+ 0.365,
1153
+ 0.351,
1154
+ 0.38
1155
+ ],
1156
+ "angle": 0,
1157
+ "content": "Not applicable. Left blank."
1158
+ },
1159
+ {
1160
+ "type": "text",
1161
+ "bbox": [
1162
+ 0.13,
1163
+ 0.391,
1164
+ 0.779,
1165
+ 0.407
1166
+ ],
1167
+ "angle": 0,
1168
+ "content": "B2. Did you discuss the license or terms for use and / or distribution of any artifacts?"
1169
+ },
1170
+ {
1171
+ "type": "text",
1172
+ "bbox": [
1173
+ 0.152,
1174
+ 0.408,
1175
+ 0.351,
1176
+ 0.423
1177
+ ],
1178
+ "angle": 0,
1179
+ "content": "Not applicable. Left blank."
1180
+ },
1181
+ {
1182
+ "type": "text",
1183
+ "bbox": [
1184
+ 0.13,
1185
+ 0.434,
1186
+ 0.882,
1187
+ 0.497
1188
+ ],
1189
+ "angle": 0,
1190
+ "content": "B3. Did you discuss if your use of existing artifact(s) was consistent with their intended use, provided that it was specified? For the artifacts you create, do you specify intended use and whether that is compatible with the original access conditions (in particular, derivatives of data accessed for research purposes should not be used outside of research contexts)?"
1191
+ },
1192
+ {
1193
+ "type": "text",
1194
+ "bbox": [
1195
+ 0.152,
1196
+ 0.499,
1197
+ 0.351,
1198
+ 0.514
1199
+ ],
1200
+ "angle": 0,
1201
+ "content": "Not applicable. Left blank."
1202
+ },
1203
+ {
1204
+ "type": "text",
1205
+ "bbox": [
1206
+ 0.13,
1207
+ 0.525,
1208
+ 0.882,
1209
+ 0.573
1210
+ ],
1211
+ "angle": 0,
1212
+ "content": "B4. Did you discuss the steps taken to check whether the data that was collected / used contains any information that names or uniquely identifies individual people or offensive content, and the steps taken to protect / anonymize it?"
1213
+ },
1214
+ {
1215
+ "type": "text",
1216
+ "bbox": [
1217
+ 0.152,
1218
+ 0.574,
1219
+ 0.351,
1220
+ 0.589
1221
+ ],
1222
+ "angle": 0,
1223
+ "content": "Not applicable. Left blank."
1224
+ },
1225
+ {
1226
+ "type": "text",
1227
+ "bbox": [
1228
+ 0.13,
1229
+ 0.6,
1230
+ 0.882,
1231
+ 0.632
1232
+ ],
1233
+ "angle": 0,
1234
+ "content": "B5. Did you provide documentation of the artifacts, e.g., coverage of domains, languages, and linguistic phenomena, demographic groups represented, etc.?"
1235
+ },
1236
+ {
1237
+ "type": "text",
1238
+ "bbox": [
1239
+ 0.152,
1240
+ 0.633,
1241
+ 0.351,
1242
+ 0.648
1243
+ ],
1244
+ "angle": 0,
1245
+ "content": "Not applicable. Left blank."
1246
+ },
1247
+ {
1248
+ "type": "text",
1249
+ "bbox": [
1250
+ 0.13,
1251
+ 0.659,
1252
+ 0.882,
1253
+ 0.74
1254
+ ],
1255
+ "angle": 0,
1256
+ "content": "B6. Did you report relevant statistics like the number of examples, details of train / test / dev splits, etc. for the data that you used / created? Even for commonly-used benchmark datasets, include the number of examples in train / validation / test splits, as these provide necessary context for a reader to understand experimental results. For example, small differences in accuracy on large test sets may be significant, while on small test sets they may not be."
1257
+ },
1258
+ {
1259
+ "type": "text",
1260
+ "bbox": [
1261
+ 0.152,
1262
+ 0.741,
1263
+ 0.351,
1264
+ 0.755
1265
+ ],
1266
+ "angle": 0,
1267
+ "content": "Not applicable. Left blank."
1268
+ },
1269
+ {
1270
+ "type": "text",
1271
+ "bbox": [
1272
+ 0.116,
1273
+ 0.766,
1274
+ 0.495,
1275
+ 0.782
1276
+ ],
1277
+ "angle": 0,
1278
+ "content": "C Did you run computational experiments?"
1279
+ },
1280
+ {
1281
+ "type": "text",
1282
+ "bbox": [
1283
+ 0.134,
1284
+ 0.787,
1285
+ 0.215,
1286
+ 0.802
1287
+ ],
1288
+ "angle": 0,
1289
+ "content": "Left blank."
1290
+ },
1291
+ {
1292
+ "type": "text",
1293
+ "bbox": [
1294
+ 0.13,
1295
+ 0.814,
1296
+ 0.882,
1297
+ 0.846
1298
+ ],
1299
+ "angle": 0,
1300
+ "content": "C1. Did you report the number of parameters in the models used, the total computational budget (e.g., GPU hours), and computing infrastructure used?"
1301
+ },
1302
+ {
1303
+ "type": "text",
1304
+ "bbox": [
1305
+ 0.152,
1306
+ 0.847,
1307
+ 0.351,
1308
+ 0.861
1309
+ ],
1310
+ "angle": 0,
1311
+ "content": "Not applicable. Left blank."
1312
+ },
1313
+ {
1314
+ "type": "footer",
1315
+ "bbox": [
1316
+ 0.114,
1317
+ 0.869,
1318
+ 0.878,
1319
+ 0.893
1320
+ ],
1321
+ "angle": 0,
1322
+ "content": "The Responsible NLP Checklist used at ACL 2023 is adopted from NAACL 2022, with the addition of a question on AI writing assistance."
1323
+ },
1324
+ {
1325
+ "type": "page_number",
1326
+ "bbox": [
1327
+ 0.481,
1328
+ 0.929,
1329
+ 0.521,
1330
+ 0.941
1331
+ ],
1332
+ "angle": 0,
1333
+ "content": "8129"
1334
+ }
1335
+ ],
1336
+ [
1337
+ {
1338
+ "type": "text",
1339
+ "bbox": [
1340
+ 0.129,
1341
+ 0.085,
1342
+ 0.88,
1343
+ 0.116
1344
+ ],
1345
+ "angle": 0,
1346
+ "content": "C2. Did you discuss the experimental setup, including hyperparameter search and best-found hyperparameter values?"
1347
+ },
1348
+ {
1349
+ "type": "text",
1350
+ "bbox": [
1351
+ 0.15,
1352
+ 0.118,
1353
+ 0.351,
1354
+ 0.133
1355
+ ],
1356
+ "angle": 0,
1357
+ "content": "Not applicable. Left blank."
1358
+ },
1359
+ {
1360
+ "type": "text",
1361
+ "bbox": [
1362
+ 0.129,
1363
+ 0.144,
1364
+ 0.884,
1365
+ 0.192
1366
+ ],
1367
+ "angle": 0,
1368
+ "content": "C3. Did you report descriptive statistics about your results (e.g., error bars around results, summary statistics from sets of experiments), and is it transparent whether you are reporting the max, mean, etc. or just a single run?"
1369
+ },
1370
+ {
1371
+ "type": "text",
1372
+ "bbox": [
1373
+ 0.15,
1374
+ 0.193,
1375
+ 0.351,
1376
+ 0.208
1377
+ ],
1378
+ "angle": 0,
1379
+ "content": "Not applicable. Left blank."
1380
+ },
1381
+ {
1382
+ "type": "text",
1383
+ "bbox": [
1384
+ 0.129,
1385
+ 0.219,
1386
+ 0.884,
1387
+ 0.266
1388
+ ],
1389
+ "angle": 0,
1390
+ "content": "C4. If you used existing packages (e.g., for preprocessing, for normalization, or for evaluation), did you report the implementation, model, and parameter settings used (e.g., NLTK, Spacy, ROUGE, etc.)?"
1391
+ },
1392
+ {
1393
+ "type": "text",
1394
+ "bbox": [
1395
+ 0.15,
1396
+ 0.268,
1397
+ 0.351,
1398
+ 0.283
1399
+ ],
1400
+ "angle": 0,
1401
+ "content": "Not applicable. Left blank."
1402
+ },
1403
+ {
1404
+ "type": "text",
1405
+ "bbox": [
1406
+ 0.114,
1407
+ 0.294,
1408
+ 0.878,
1409
+ 0.311
1410
+ ],
1411
+ "angle": 0,
1412
+ "content": "D Did you use human annotators (e.g., crowdworkers) or research with human participants?"
1413
+ },
1414
+ {
1415
+ "type": "text",
1416
+ "bbox": [
1417
+ 0.133,
1418
+ 0.315,
1419
+ 0.215,
1420
+ 0.33
1421
+ ],
1422
+ "angle": 0,
1423
+ "content": "Left blank."
1424
+ },
1425
+ {
1426
+ "type": "text",
1427
+ "bbox": [
1428
+ 0.129,
1429
+ 0.341,
1430
+ 0.884,
1431
+ 0.373
1432
+ ],
1433
+ "angle": 0,
1434
+ "content": "D1. Did you report the full text of instructions given to participants, including e.g., screenshots, disclaimers of any risks to participants or annotators, etc.?"
1435
+ },
1436
+ {
1437
+ "type": "text",
1438
+ "bbox": [
1439
+ 0.151,
1440
+ 0.374,
1441
+ 0.351,
1442
+ 0.39
1443
+ ],
1444
+ "angle": 0,
1445
+ "content": "Not applicable. Left blank."
1446
+ },
1447
+ {
1448
+ "type": "text",
1449
+ "bbox": [
1450
+ 0.129,
1451
+ 0.4,
1452
+ 0.884,
1453
+ 0.448
1454
+ ],
1455
+ "angle": 0,
1456
+ "content": "D2. Did you report information about how you recruited (e.g., crowdsourcing platform, students) and paid participants, and discuss if such payment is adequate given the participants' demographic (e.g., country of residence)?"
1457
+ },
1458
+ {
1459
+ "type": "text",
1460
+ "bbox": [
1461
+ 0.151,
1462
+ 0.449,
1463
+ 0.351,
1464
+ 0.465
1465
+ ],
1466
+ "angle": 0,
1467
+ "content": "Not applicable. Left blank."
1468
+ },
1469
+ {
1470
+ "type": "text",
1471
+ "bbox": [
1472
+ 0.129,
1473
+ 0.476,
1474
+ 0.884,
1475
+ 0.523
1476
+ ],
1477
+ "angle": 0,
1478
+ "content": "D3. Did you discuss whether and how consent was obtained from people whose data you're using/curating? For example, if you collected data via crowdsourcing, did your instructions to crowdworkers explain how the data would be used?"
1479
+ },
1480
+ {
1481
+ "type": "text",
1482
+ "bbox": [
1483
+ 0.151,
1484
+ 0.524,
1485
+ 0.351,
1486
+ 0.54
1487
+ ],
1488
+ "angle": 0,
1489
+ "content": "Not applicable. Left blank."
1490
+ },
1491
+ {
1492
+ "type": "text",
1493
+ "bbox": [
1494
+ 0.129,
1495
+ 0.55,
1496
+ 0.876,
1497
+ 0.566
1498
+ ],
1499
+ "angle": 0,
1500
+ "content": "D4. Was the data collection protocol approved (or determined exempt) by an ethics review board?"
1501
+ },
1502
+ {
1503
+ "type": "text",
1504
+ "bbox": [
1505
+ 0.151,
1506
+ 0.567,
1507
+ 0.351,
1508
+ 0.583
1509
+ ],
1510
+ "angle": 0,
1511
+ "content": "Not applicable. Left blank."
1512
+ },
1513
+ {
1514
+ "type": "text",
1515
+ "bbox": [
1516
+ 0.129,
1517
+ 0.593,
1518
+ 0.884,
1519
+ 0.624
1520
+ ],
1521
+ "angle": 0,
1522
+ "content": "D5. Did you report the basic demographic and geographic characteristics of the annotator population that is the source of the data?"
1523
+ },
1524
+ {
1525
+ "type": "text",
1526
+ "bbox": [
1527
+ 0.151,
1528
+ 0.626,
1529
+ 0.351,
1530
+ 0.642
1531
+ ],
1532
+ "angle": 0,
1533
+ "content": "Not applicable. Left blank."
1534
+ },
1535
+ {
1536
+ "type": "page_number",
1537
+ "bbox": [
1538
+ 0.481,
1539
+ 0.928,
1540
+ 0.522,
1541
+ 0.941
1542
+ ],
1543
+ "angle": 0,
1544
+ "content": "8130"
1545
+ }
1546
+ ]
1547
+ ]
2023/Computer says “No”_ The Case Against Empathetic Conversational AI/919d9a05-5ebb-4c0e-a1de-82ff5cd4abb0_origin.pdf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8af1ffc785effac0968f52a8465f4976796907fd1d2f6cdbea43c5872f2409de
3
+ size 147068
2023/Computer says “No”_ The Case Against Empathetic Conversational AI/full.md ADDED
@@ -0,0 +1,222 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Computer says “No”: The Case Against Empathetic Conversational AI
2
+
3
+ Alba Curry
4
+ School of Philosophy, Religion and History of Science
5
+ University of Leeds
6
+ a.cercascurry@leeds.ac.uk
7
+
8
+ Amanda Cercas Curry
9
+ MilaNLP
10
+ Department of Computing Sciences
11
+ Bocconi University
12
+ amanda.cercas@unibocconi.it
13
+
14
+ # Abstract
15
+
16
+ Emotions are an integral part of human cognition and they guide not only our understanding of the world but also our actions within it. As such, whether we soothe or flame an emotion is not inconsequential. Recent work in conversational AI has focused on responding empathetically to users, validating and soothing their emotions without a real basis. This AI-aided emotional regulation can have negative consequences for users and society, tending towards a one-noted happiness defined as only the absence of "negative" emotions. We argue that we must carefully consider whether and how to respond to users' emotions.
17
+
18
+ # 1 Introduction
19
+
20
+ Recent work in conversational AI has focused on generating empathetic responses to users' emotional states (e.g., Ide and Kawahara, 2022; Svikhnushina et al., 2022; Zhu et al., 2022) as a way to increase or maintain engagement and rapport with the user and to simulate intelligence. However, these empathetic responses are problematic.
21
+
22
+ First, while a system might never claim to be human, responses simulating humanness prompt users to further behave as though the systems were (Reeves and Nass, 1996). Empathy, like all emotions, is likely a uniquely human trait and systems that feign it are in effect feigning humanity. The ethical issues surrounding anthropomorphism have been discussed at length and are beyond the scope of this paper (Salles et al., 2020; Bryson, 2010).
23
+
24
+ Second, empathy requires an ability to both understand and share another's emotions. As such, responding empathetically assumes that the system is able to correctly identify the emotion, and that it is able to feel the emotion itself. Neither one of
25
+
26
+ these holds true for conversational AI (or in fact for any AI system).<sup>2</sup>
27
+
28
+ Third, even if conversational AI were to correctly identify the user's emotions, and perform empathy, we should ethically question the motives and outcomes behind such an enterprise. Svikhnushina et al. (2022) put forward a taxonomy of empathetic questions in social dialogues, paying special attention to the role questions play in regulating the interlocutor's emotions. They argue for the crucial role effective question asking plays in successful chatbots due to the fact that often questions are used to express "empathy" and attentiveness by the speaker. Here we highlight the ethical concerns that arise from questions that are characterised by their emotion-regulation functions targeted at the user's emotional state. It is important to note that our argument applies to any use of empathetic AI (see also for example (Morris et al., 2018; De Carolis et al., 2017)). What happens if the chatbot gets it right? There may be instances where a chatbot correctly identifies that a given situation is worthy of praise and amplifies the pride of the user and the result is morally unproblematic. For example, when (Svikhnushina et al., 2022) use the example of amplifying pride in the context of fishing. What happens if it gets it wrong? It depends on the type of mistake: a) The chatbot fails to put into effect a question's intent, it would be ethically inconsequential; $^{3}\mathrm{b})$ It amplifies or minimises an inappropriate emotion. This is the problem we will focus on, arguing that emotional regulation has no place in conversational AI and as such empathetic responses are deeply morally problematic. While humans will
29
+
30
+ necessarily show empathy for one another, conversational AI cannot understand the emotion and so cannot make an accurate judgement as to its appropriateness. This lack of understanding is key as we cannot predict the consequences of moderating an emotion we don't understand, and a dialogue system cannot be held accountable for them.
31
+
32
+ # 2 The Crucial Roles of Emotions
33
+
34
+ What emotions are is still up for debate (Barrett, 2017; Scarantino and de Sousa, 2018). However, their significance for the individual and for society has received renewed interest (Greenspan, 1995; Bell, 2013; Cherry, 2021). Regardless of the emotion model one picks, emotions play important roles, both epistemic and conative ones (Curry, 2022). They perform at least three epistemic roles: (1) They signal to the individual experiencing the emotion what she herself values and how she sees the world (e.g., if you envy your colleague's publications this tells you you value publications and deem yourself similar enough to your colleague that you can compare yourself (Protasi, 2021)); (2) they signal to others how we see the world; and (3) emotional interactions are invaluable sources of information for third-party observers since they tell us what the members of the interaction value. For example, (1) when you grieve, you signal to yourself and anyone observing that you deem to have lost something of value. It is conceivable that you were unaware up to that point that you valued what you lost—this is captured by the saying "you don't know what you have till it's gone." Furthermore, (2) your friends and family may learn something about you by observing your grief. They too may not have known how much something meant for you. Finally, (3) an observer may also learn about the dynamics of grief (whether it is appropriate to express it for example) by observing whether or not your family validates your grief.
35
+
36
+ Furthermore, emotions play conative roles, meaning that they are involved in important ways with our motivation and desire to act in certain ways. In other words, not only do some emotions compel and motivate you to act, but also how you act is coloured by the emotion you are experiencing. For example, your anger signals that you perceive that an injustice has occurred. If your boss fails to promote the person who deserves it because of their gender, your anger would motivate you to write a letter of complaint or speak to HR about it.
37
+
38
+ Importantly, all emotions, including the so-called "negative" emotions (e.g., anger, contempt, hatred, shame, envy, guilt, etc.) also share these functions. These emotions are not negative in the sense of being "bad", they are called negative because they are painful, and therefore they are emotions that we would tend to avoid for ourselves. A world without injustice would certainly be ideal but we would not want a world of injustice where we were unequipped to notice or become motivated to fight it. Hence why it is imperative that we ask ourselves under which circumstances we ought to enhance or soothe emotions.
39
+
40
+ # 3 The Problem with Empathy
41
+
42
+ Literature discussing the value and power of empathy for conversational AI understands empathy as a tool to establish a common ground for meaningful communication and to appear more likeable to users. The authors of these studies understand empathy broadly as "the feeling by which one understands and shares another person's experiences and emotions" (De Carolis et al., 2017). Empathy facilitates engagement through the development of social relationships, affection, and familiarity. Furthermore, for Svikhnushina et al. (2022), empathy is required in order to enable chatbots to ask questions with emotion regulation intents. For example, questions may be used to amplify the user's pride or de-escalate the user's anger, or frustration.
43
+
44
+ Empathy, although a common phenomenon, is not a simple one. It enjoys a long history in various scholarly disciplines. Indeed, a lot of ink has been spilled (and still is), for example, over how to make sense of character engagement. How do we, human beings, care for fictional characters? How are we intrigued and moved by their adventures and respond to the emotions and affects expressed in their voices, bodies, and faces as well as imagine the situation they are in and wish them success, closure, or punishment? Empathy is taken to be a key element and yet the exact nature of how human beings are able to experience empathy for fictional characters is currently being debated (Tobón, 2019).
45
+
46
+ The reason for highlighting this diversity is that conversational AI would do well to engage seriously with the rich intellectual history of empathy. The definition it tends to engage with lacks the level of complexity required to understand this complex phenomenon. Moreover, it tends to obfuscate the darker sides of empathy. Leaving aside the fact
47
+
48
+ that defining empathy as the "reactions of one individual to the observed experiences of another" (De Carolis et al., 2017) tells us very little about the process by which a human beings, let alone conversational AI, may do this, what we take issue with is what chatbots hope to do with that empathy. In other words, if for the sake or argument, we presume that conversational AI is able to accurately identify our emotions, the issue of how we deploy empathy is of huge ethical relevance.
49
+
50
+ Here we offer a brief summary of three important views against empathy: Prinz (2011) argues against the common intuition that empathy is by and large a good thing and thus desirable. He raises several issues such as empathy being easily manipulated (such as during a trial), and empathy being partial (we are more empathetic towards people we perceive to be of our own race, for example). Both claims have been empirically verified. Thinking about how this might affect empathetic conversational AI for example in the case of using them for social assistive robots, we might worry if based on its empathetic reactions it chose to help certain people over others.
51
+
52
+ Taking the argument further, Bloom (2017) argues against empathy and for what he calls rational compassion. He contends that empathy is one of the leading motivators of inequality and immorality in society. Thus, far from helping us to improve the lives of others, empathy is a capricious and irrational emotion that appeals to our narrow prejudices; it muddles our judgement and, ironically, often leads to cruelty. Instead, we ought to draw upon a more distanced compassion.<sup>4</sup>
53
+
54
+ There are three lessons we can take from this: (1) Given empathy's prejudices, we would need to think deeper about how to mitigate them in conversational AI; (2) Given that empathy is used not just know what brings people pleasure, but also what brings pain, we might want to question the general future uses of empathy in conversational AI; (3) if we buy Bloom's argument, then conversational AI should consider not imitating human beings, but becoming agents of rational compassion.
55
+
56
+ Breithaupt (2019) also takes issue with empathy, arguing that we commit atrocities not out of a failure of empathy, but rather as a direct consequence of successful, even overly successful, empathy. He starts the book by reminding us that “[e]xtreme acts
57
+
58
+ of cruelty require a high level of empathy."
59
+
60
+ The further lesson we can take from this is that while people generally assume that empathy leads to morally correct behaviour, and certainly there are many positive sides of empathy, we should not rely on an overly simple or glorified image of empathy.
61
+
62
+ However, our problem is not necessarily with empathy per se, but rather with the explicit functions conversational AI hopes to achieve with it, namely to enhance engagement, to inflate emotions deemed positive, and to soothe emotions deemed negative (e.g., Svikhnushina et al., 2022). Our claim is that we ought to think carefully about the consequences of soothing negative emotions only because they we have a bias against them. Not only is this approach based on a naive understanding of emotions, it fails to recognise the importance of human beings being allowed to experience and express the full spectrum of emotions. One ought to not experience negative emotions because there is nothing to be upset about, not because we have devised an emotional pacifier. In other words, the issue is that conversational AI lacks a sound value system for deciding why certain emotions are validated and others soothed. Furthermore, this AI-aided emotional regulation can have negative consequences for users and society, tending towards a one-noted notion of happiness defined as only the absence of "negative" emotions.
63
+
64
+ # 4 When Emotions Get Things Wrong
65
+
66
+ There are two illustrative problems with the kinds of decisions behind amplifying and de-escalating emotions. One is the problem of what the ideal character might be. When you talk to a friend they will decide whether to soothe or amplify your emotions based not just on the situation but also on who they deem you to be. If they think you are someone who has a hard time standing up for yourself they will amplify your anger to encourage you to fight for yourself, but if they think you are someone who leans too much on arrogance, they will de-escalate your sense of pride—even if, all things being equal, your pride on that occasion was warranted. Hence, not only would a conversational AI require prior knowledge of the interlocutor in terms of her character, but furthermore it would have to decide what are desirable character traits.
67
+
68
+ The second question regards what an ideal emotion in a particular situation might be. We may all find it easy to say that negative emotions such
69
+
70
+ as anger often get things wrong and lead to undesirable outcomes. However, positive emotions such as joy, hope, or pride which we may intuitively wish to amplify can also get things wrong. We assess and criticise emotions along a number of distinct dimensions: Firstly, emotions may be criticised when they do not fit their targets. You may, for example, be open to criticism for feeling fear in the absence of danger. Unfitting emotions fail to correctly present the world. In the case of pride, would we want to amplify someone's pride if they either did not in fact achieve anything, or if their achievement was not merited? For example, if their nephew did very well in maths when in fact we know their nephew cheated? Second, an emotion may be open to criticism when it is not based on good evidence or is unreasonable. Consider the person who suffers from hydrophobia: Given that in the vast majority of situations water is not dangerous, this person's fear is both unreasonable and unfitting. But even fitting emotions may be unreasonable. One may, for example, be terrified of tsunamis because one believes that they cause genetic mutations. In this case, one's fear is fitting—tsunamis are very dangerous—yet the fear is unreasonable since it is not based on good reasons. Third, an emotion may be criticised because it isn't prudent to feel. We might warn someone not to show anger when interacting with a person with a gun since they might get themselves killed; anger in this case may be reasonable and fitting given the gunman's actions and yet imprudent. Finally, we may condemn emotions as morally nonvaluable because of the unacceptable way in which they present their targets, e.g., one may, argue that schadenfreude is morally objectionable because it presents the pain of another person as laughable.
71
+
72
+ Positive emotions may be unfitting, unreasonable, and imprudent, as well as morally condemning just as negative emotions may well be fitting, reasonable, and prudent, as well as morally laudable. In other words, even if one is equipped with empathy there are crucial normative decisions involved in question intents aimed at emotional regulation.<sup>5</sup> Amplifying and de-escalating emotion inappropriately can have devastating moral outcomes.
73
+
74
+ # 5 Empathy and Responsibility
75
+
76
+ Human beings, all things being equal, will inevitably experience empathy. A reasonable human being experiencing empathy for another is proof of the importance of someone else's emotional state—for better or for worse. This supports the idea that our emotions are important, as opposed to the notion that they hinder rationality and ought to be regulated. They tell us many things about our world.
77
+
78
+ Similarly to many NLP systems' understanding of language, the empathetic responses of conversational AI are only performative (Bender and Koller, 2020). Thus, they provide a false sense of validity or importance. What if someone is experiencing an unfitting, unreasonable, or morally reprehensible emotion? Should a chatbot still showcase empathy? We hope to have shown that such decisions are deeply morally problematic and complex.
79
+
80
+ Hence, another key problem is responsibility. A human agent may choose to express their empathy (even if they cannot choose feeling it) and they may choose to attempt to regulate someone else's emotions based on their knowledge of the situation and the speaker's character. If a human being wrongly regulates someone else's emotions, they will be morally responsible for the consequences. Who is morally responsible in the case of conversational AI agents? Who are they benefiting when they are not actually benefiting the human agent? This issue is further elaborated on by Véliz (2021).
81
+
82
+ # 6 Related Work
83
+
84
+ Our article sits at the intersection of emotion detection, response generation, and safety in conversational AI. We keep this section brief as we cite relevant work throughout the article. Several works have already focused on the issue of giving AI systems sentience, such as Bryson (2010). While this could make the systems truly empathetic, we agree that we have a duty not to create sentient machines.
85
+
86
+ Lahnala et al. (2022) problematise NLP's conceptualisation of empathy which, they argue, is poorly defined, leading to issues of data validity and missed opportunities for research. Instead, we argue that even a more specific definition of empathy presents ethical issues that cannot be overlooked or ignored and must carefully evaluated.
87
+
88
+ Dinan et al. (2022) provide a framework to classify and detect safety issues in end-to-end conversational systems. In particular, they point out systems that respond inappropriately to offensive content
89
+
90
+ and safety-critical issues such as medical and emergency situations. We could apply their framework to empathetic responses where the system takes the role of an "impostor": empathetic responses require a system to pretend to understand the emotion. However, the extent to which emotions play a role in human cognition and what the consequences of regulating these emotions for the users are has not been discussed in the literature to the best of our knowledge.
91
+
92
+ # 7 Conclusion
93
+
94
+ In this position paper, we argued that emotional regulation has no place in conversational AI and as such empathetic responses are deeply morally problematic. While humans will necessarily show empathy for one another, conversational AI cannot understand the emotion and so cannot make an accurate judgement as to its reasonableness. This lack of understanding is key because we cannot predict the consequences of assuaging or aggravating an emotion, and a dialogue system cannot be held accountable for them. We hope to encourage reflection from future researchers and to initiate a discussion of the issue, not only in this particular case but also more reflection when it comes to pursuing seemingly positive goals such as bringing disagreeing parties towards agreement. Like with other ethically sensible topics, the community should come together to agree on a strategy that minimises harm.
95
+
96
+ # Limitations
97
+
98
+ While we strongly argue against empathetic conversational systems, there may be use cases – such as psychotherapy or educational chatbots – where validating a user's emotions is, if not required, helpful in terms of their goal. In addition, while a lot of the work on empathetic responses we have discussed is intentional, generative models like ChatGPT produce relatively uncontrolled responses that may well be unintentionally empathetic. As with toxic outputs, care should be taken to prevent these models from validating users' emotions that cannot be understood.
99
+
100
+ # Acknowledgements
101
+
102
+ We thank the anonymous reviewers and Gavin Abercrombie for their thorough and helpful comments. This project has partially received funding from the European Research Council (ERC) under
103
+
104
+ the European Union's Horizon 2020 research and innovation program (grant agreement No. 949944, INTEGRATOR). Amanda Cercas Curry is a member of the MilaNLP group and the Data and Marketing Insights Unit of the Bocconi Institute for Data Science and Analysis.
105
+
106
+ # References
107
+
108
+ Lisa Feldman Barrett. 2017. How emotions are made: The secret life of the brain. Pan Macmillan.
109
+ Macalester Bell. 2013. Hard feelings: The moral psychology of contempt. Oxford University Press.
110
+ Emily M Bender and Alexander Koller. 2020. Climbing towards nlu: On meaning, form, and understanding in the age of data. In Proceedings of the 58th annual meeting of the association for computational linguistics, pages 5185-5198.
111
+ Paul Bloom. 2017. Against empathy: The case for rational compassion. Random House.
112
+ Fritz Breithaupt. 2019. The dark sides of empathy. Cornell University Press.
113
+ Joanna J Bryson. 2010. Robots should be slaves. Close Engagements with Artificial Companions: Key social, psychological, ethical and design issues, 8:63-74.
114
+ Myisha Cherry. 2021. The case for rage: Why anger is essential to anti-racist struggle. Oxford University Press.
115
+ Alba Curry. 2022. An Apologia for Anger With Reference to Early China and Ancient Greece. Ph.D. thesis, UC Riverside.
116
+ Berardina De Carolis, Stefano Ferilli, and Giuseppe Palestra. 2017. Simulating empathic behavior in a social assistive robot. *Multimedia Tools and Applications*, 76(4):5073-5094.
117
+ Emily Dinan, Gavin Abercrombie, A. Bergman, Shannon Spruit, Dirk Hovy, Y-Lan Boureau, and Verena Rieser. 2022. *SafetyKit: First aid for measuring safety in open-domain conversational systems*. In Proceedings of the 60th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pages 4113-4133, Dublin, Ireland. Association for Computational Linguistics.
118
+ Patricia S Greenspan. 1995. Practical guilt: Moral dilemmas, emotions, and social norms. Oxford University Press on Demand.
119
+ Tatsuya Ide and Daisuke Kawahara. 2022. Building a dialogue corpus annotated with expressed and experienced emotions. In Proceedings of the 60th Annual Meeting of the Association for Computational Linguistics: Student Research Workshop, pages 21-30, Dublin, Ireland. Association for Computational Linguistics.
120
+
121
+ Allison Lahnala, Charles Welch, David Jurgens, and Lucie Flek. 2022. A critical reflection and forward perspective on empathy and natural language processing. arXiv preprint arXiv:2210.16604.
122
+ Robert R Morris, Kareem Kouddous, Rohan Kshir-sagar, and Stephen M Schueller. 2018. Towards an artificially empathic conversational agent for mental health applications: system design and user perceptions. Journal of medical Internet research, 20(6):e10148.
123
+ Jesse Prinz. 2011. Against empathy. The Southern Journal of Philosophy, 49:214-233.
124
+ Sara Protasi. 2021. The philosophy of envy. Cambridge University Press.
125
+ Byron Reeves and Clifford Nass. 1996. The media equation: How people treat computers, television, and new media like real people. Cambridge, UK, 10:236605.
126
+ Arleen Salles, Kathinka Evers, and Michele Farisco. 2020. Anthropomorphism in ai. AJOB neuroscience, 11(2):88-95.
127
+ A Scarantino and R de Sousa. 2018. Emotion, in "the stanford encyclopedia of philosophy" (winter 2018 edition). EN ZALTA (a cura di), URL: https://plato.stanford.edu/archives/win2018/entries/emotion.
128
+ Laura Silva. 2021. The epistemic role of outlaw emotions. *Ergo*, 8(23).
129
+ Ekaterina Svikhnushina, Iuliana Voinea, Anuradha Welivita, and Pearl Pu. 2022. A taxonomy of empathetic questions in social dialogs. In Proceedings of the 60th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pages 2952-2973, Dublin, Ireland. Association for Computational Linguistics.
130
+ Daniel Jerónimo Tobón. 2019. Empathy and sympathy: two contemporary models of character engagement. In The Palgrave handbook of the philosophy of film and motion pictures, pages 865-891. Springer.
131
+ Carissa Veliz. 2021. Moral zombies: why algorithms are not moral agents. AI & SOCIETY, 36(2):487-497.
132
+ Ling.Yu Zhu, Zhengkun Zhang, Jun Wang, Hongbin Wang, Haiying Wu, and Zhenglu Yang. 2022. Multi-party empathetic dialogue generation: A new task for dialog systems. In Proceedings of the 60th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pages 298-307, Dublin, Ireland. Association for Computational Linguistics.
133
+
134
+ A For every submission:
135
+
136
+ A1. Did you describe the limitations of your work?
137
+
138
+ Left blank.
139
+
140
+ A2. Did you discuss any potential risks of your work?
141
+
142
+ The paper is a position paper warning against a particular application of NLP.
143
+
144
+ A3. Do the abstract and introduction summarize the paper's main claims?
145
+
146
+ Left blank.
147
+
148
+ A4. Have you used AI writing assistants when working on this paper?
149
+
150
+ Left blank.
151
+
152
+ B Did you use or create scientific artifacts?
153
+
154
+ Not applicable. Left blank.
155
+
156
+ B1. Did you cite the creators of artifacts you used?
157
+
158
+ Not applicable. Left blank.
159
+
160
+ B2. Did you discuss the license or terms for use and / or distribution of any artifacts?
161
+
162
+ Not applicable. Left blank.
163
+
164
+ B3. Did you discuss if your use of existing artifact(s) was consistent with their intended use, provided that it was specified? For the artifacts you create, do you specify intended use and whether that is compatible with the original access conditions (in particular, derivatives of data accessed for research purposes should not be used outside of research contexts)?
165
+
166
+ Not applicable. Left blank.
167
+
168
+ B4. Did you discuss the steps taken to check whether the data that was collected / used contains any information that names or uniquely identifies individual people or offensive content, and the steps taken to protect / anonymize it?
169
+
170
+ Not applicable. Left blank.
171
+
172
+ B5. Did you provide documentation of the artifacts, e.g., coverage of domains, languages, and linguistic phenomena, demographic groups represented, etc.?
173
+
174
+ Not applicable. Left blank.
175
+
176
+ B6. Did you report relevant statistics like the number of examples, details of train / test / dev splits, etc. for the data that you used / created? Even for commonly-used benchmark datasets, include the number of examples in train / validation / test splits, as these provide necessary context for a reader to understand experimental results. For example, small differences in accuracy on large test sets may be significant, while on small test sets they may not be.
177
+
178
+ Not applicable. Left blank.
179
+
180
+ C Did you run computational experiments?
181
+
182
+ Left blank.
183
+
184
+ C1. Did you report the number of parameters in the models used, the total computational budget (e.g., GPU hours), and computing infrastructure used?
185
+
186
+ Not applicable. Left blank.
187
+
188
+ C2. Did you discuss the experimental setup, including hyperparameter search and best-found hyperparameter values?
189
+
190
+ Not applicable. Left blank.
191
+
192
+ C3. Did you report descriptive statistics about your results (e.g., error bars around results, summary statistics from sets of experiments), and is it transparent whether you are reporting the max, mean, etc. or just a single run?
193
+
194
+ Not applicable. Left blank.
195
+
196
+ C4. If you used existing packages (e.g., for preprocessing, for normalization, or for evaluation), did you report the implementation, model, and parameter settings used (e.g., NLTK, Spacy, ROUGE, etc.)?
197
+
198
+ Not applicable. Left blank.
199
+
200
+ D Did you use human annotators (e.g., crowdworkers) or research with human participants?
201
+
202
+ Left blank.
203
+
204
+ D1. Did you report the full text of instructions given to participants, including e.g., screenshots, disclaimers of any risks to participants or annotators, etc.?
205
+
206
+ Not applicable. Left blank.
207
+
208
+ D2. Did you report information about how you recruited (e.g., crowdsourcing platform, students) and paid participants, and discuss if such payment is adequate given the participants' demographic (e.g., country of residence)?
209
+
210
+ Not applicable. Left blank.
211
+
212
+ D3. Did you discuss whether and how consent was obtained from people whose data you're using/curating? For example, if you collected data via crowdsourcing, did your instructions to crowdworkers explain how the data would be used?
213
+
214
+ Not applicable. Left blank.
215
+
216
+ D4. Was the data collection protocol approved (or determined exempt) by an ethics review board?
217
+
218
+ Not applicable. Left blank.
219
+
220
+ D5. Did you report the basic demographic and geographic characteristics of the annotator population that is the source of the data?
221
+
222
+ Not applicable. Left blank.
2023/Computer says “No”_ The Case Against Empathetic Conversational AI/layout.json ADDED
The diff for this file is too large to render. See raw diff
 
2023/ConKI_ Contrastive Knowledge Injection for Multimodal Sentiment Analysis/b434c033-5cf4-43ce-8d1a-9159c5428ecf_content_list.json ADDED
The diff for this file is too large to render. See raw diff
 
2023/ConKI_ Contrastive Knowledge Injection for Multimodal Sentiment Analysis/b434c033-5cf4-43ce-8d1a-9159c5428ecf_model.json ADDED
The diff for this file is too large to render. See raw diff
 
2023/ConKI_ Contrastive Knowledge Injection for Multimodal Sentiment Analysis/b434c033-5cf4-43ce-8d1a-9159c5428ecf_origin.pdf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8d4bf3f4c3e9b8ccf314a1fd31dfaaeaf9565bb7685cb7aa3f71c2a91cf7b73e
3
+ size 1286582
2023/ConKI_ Contrastive Knowledge Injection for Multimodal Sentiment Analysis/full.md ADDED
@@ -0,0 +1,467 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # ConKI: Contrastive Knowledge Injection for Multimodal Sentiment Analysis
2
+
3
+ Yakun Yu $^{1}$ , Mingjun Zhao $^{1}$ , Shi-ang Qi $^{1}$ , Feiran Sun $^{2}$ , Baoxun Wang $^{2}$ , Weidong Guo $^{2}$ , Xiaoli Wang $^{2}$ , Lei Yang $^{2}$ , Di Niu $^{1}$
4
+
5
+ <sup>1</sup>University of Alberta
6
+
7
+ $^{2}$ Platform and Content Group, Tencent
8
+
9
+ $^{1}\{yakun2, zhao2, shiang, dniu\} \text{@ualberta.ca}$
10
+
11
+ # Abstract
12
+
13
+ Multimodal Sentiment Analysis leverages multimodal signals to detect the sentiment of a speaker. Previous approaches concentrate on performing multimodal fusion and representation learning based on general knowledge obtained from pretrained models, which neglects the effect of domain-specific knowledge. In this paper, we propose Contrastive Knowledge Injection (ConKI) for multimodal sentiment analysis, where specific-knowledge representations for each modality can be learned together with general knowledge representations via knowledge injection based on an adapter architecture. In addition, ConKI uses a hierarchical contrastive learning procedure performed between knowledge types within every single modality, across modalities within each sample, and across samples to facilitate the effective learning of the proposed representations, hence improving multimodal sentiment predictions. The experiments on three popular multimodal sentiment analysis benchmarks show that ConKI outperforms all prior methods on a variety of performance metrics.
14
+
15
+ # 1 Introduction
16
+
17
+ Multimodal sentiment analysis (MSA) is the task of mining and comprehending the sentiments of online videos, which has many downstream applications, e.g., analyzing the overall opinion from customers about a product, gauging polling intentions from voters (Han et al., 2021; Melville et al., 2009), etc. Most existing MSA methods focus on developing fusion techniques between modalities. The easiest way is to simply concatenate text, video, and audio features as a fused vector for subsequent classification or regression. An alternative is to use outer-product, Recurrent Neural Networks (RNNs) or attention-based models to model multimodal interactions (Chen et al., 2017; Williams et al., 2018; Zadeh et al., 2017; Liu and Shen, 2018). More recently, MSA methods for learning effective multimodal representations have emerged constantly
18
+
19
+ (Hazarika et al., 2020; Mai et al., 2021; Yu et al., 2021), ranging from decomposing the representation of each modality to introducing extra constraints in the learning objective.
20
+
21
+ Although the above methods have led to improvements in MSA performance, they focus on utilizing general knowledge obtained from pretrained models to encode modalities, which is inadequate to identify specific sentiments across modalities. One possibility to solve this issue is through knowledge injection which can generate specific knowledge to aid the general knowledge for further improving predictions. Many researchers have discovered that injecting knowledge from other sources such as linguistic knowledge, encyclopedia knowledge, and domain-specific knowledge can help enhance existing pretrained language models in terms of knowledge awareness and lead to improved performance on various downstream tasks (Wei et al., 2021; Lauscher et al., 2020; Wang et al., 2021a).
22
+
23
+ In this paper, we propose ConKI, a Contrastive Knowledge Injection framework, to learn both pan-knowledge representations and knowledge-specific representations to boost MSA performance. We argue that a unimodal representation can consist of a pan-knowledge representation (given by a pretrained model like BERT (Devlin et al., 2019)) and a knowledge-specific representation (injected from relevant external sources). Specifically, ConKI uses a pretrained BERT model to extract textual pan-knowledge representations and uses two randomly initialized transformer encoders to generate acoustic and visual pan-knowledge representations, respectively. In the meantime, it applies a knowledge injection model named adapter, onto each modality to yield knowledge-specific representations. Both pan- and specific-knowledge representations are fused first within each modality and then across modalities, before the fused features are used for sentiment prediction. We further propose a hierarchical contrastive learning procedure
24
+
25
+ performed between knowledge types within every single modality, across modalities within each sample, and across samples, to facilitate the learning of these representations in ConKI.
26
+
27
+ The main contributions of this work can be summarized as follows:
28
+
29
+ - We propose ConKI, a Contrastive Knowledge Injection framework for multimodal sentiment analysis. ConKI aims to boost model performance through external knowledge injection from other datasets and hierarchical contrastive learning, which is proved better than simply fine-tuning with external datasets.
30
+ - We propose hierarchical contrastive learning that uses a unified contrastive loss to disentangle the pan-knowledge representations from the specific-knowledge representations since they belong to different knowledge domains and should complement each other.
31
+ - We conduct extensive experiments on three popular benchmark MSA datasets and attain results that are superior to the existing state-of-the-art MSA baselines on all metrics, demonstrating the effectiveness of the proposed methods in ConKI.
32
+
33
+ # 2 Related Work
34
+
35
+ In this section, we discuss related research in multimodal sentiment analysis, knowledge injection, and contrastive learning.
36
+
37
+ # 2.1 Multimodal Sentiment Analysis
38
+
39
+ Research on MSA mainly focuses on multimodal fusion and representation learning. For multimodal fusion, existing methods are typically divided into early fusion and late fusion techniques. Early fusion refers to joining multimodal inputs into a single feature before single-model encoding. For example, Williams et al. (2018) concatenate initial input features and then use LSTM to capture the temporal dependencies in the sequence. On the contrary, late fusion learns unimodal representations via separate models and fuses them in a later stage for inference. Zadeh et al. (2017) introduce a tensor fusion network that first encodes each modality with corresponding sub-networks and then models the unimodal, bimodal, and trimodal interactions by a three-fold Cartesian product. For representation learning methods, Hazarika et al. (2020)
40
+
41
+ propose to project each modality into a modality-invariant and modality-specific representation. Different from the above work, we propose to decompose each modality into two representations based on knowledge types. Both representations can complement each other, leading to a richer unimodal representation.
42
+
43
+ # 2.2 Knowledge Injection
44
+
45
+ Injecting knowledge into pretrained language models (PLMs) has been proven to outperform vanilla pretrained models on various NLP tasks (Wei et al., 2021; Wang et al., 2021a; Tian et al., 2020; Ke et al., 2020; Lin et al., 2019; Wang et al., 2021b). Adapters are commonly used as a knowledge injection model plugged outside or inside of PLMs. For instance, Wang et al. (2021a) infuse factual knowledge from Wikidata (Vrandecic and Krötzsch, 2014) and linguistic knowledge from web text to RoBERTa (Liu et al., 2019) via two kinds of adapters. In this work, we build different adapters for different modalities, not limited to text, to learn specific multimodal knowledge from an external dataset for the downstream task. To the best of our knowledge, we are the first to explore knowledge injection in the multimodal domain.
46
+
47
+ # 2.3 Contrastive Learning
48
+
49
+ Contrastive learning (CL) aims to learn effective representations such that positive pairs of samples are close while negative pairs of samples are far apart (Liu et al., 2021; Li et al., 2020; Chen et al., 2020a; Khosla et al., 2020; He et al., 2020). Existing works can be divided into two categories: self-supervised CL (Akbari et al., 2021; Chen et al., 2020a,b; He et al., 2020; You et al., 2020; Tao et al., 2020) and supervised CL (Khosla et al., 2020; Mai et al., 2021). The difference between them is whether the label information is used to form positive/negative pairs. For example, Khosla et al. (2020) propose supervised CL to pull samples of the same class together and push samples from different classes away. In our work, we design contrastive pairs in finer granularity. That is, we consider contrasts between knowledge types, between modalities, and across samples.
50
+
51
+ # 3 Method
52
+
53
+ In this section, we explain the Contrastive Knowledge Injection framework (ConKI) in detail. The goal of ConKI is to generate pan- and specific
54
+
55
+ ![](images/c4a12855f8534fde42d34e03d8bcf7d087186325c73d9b38bc83248e43895e8e.jpg)
56
+ Figure 1: The overall architecture of ConKI. The solid and dashed arrows represent the procedure of the main MSA task and the hierarchical contrastive learning subtask, respectively. Inside the contrastive learning procedure, cyan and pink boxes illustrate samples that fall in different sentiment score intervals.
57
+
58
+ knowledge modality representations via knowledge injection and hierarchical contrastive learning. Knowledge injection intends to obtain knowledge-specific representations that could complement the pan-knowledge representations offered by pretrained models. Hierarchical contrastive learning further optimizes these knowledge-specific and pan-knowledge representations by considering contrasts between knowledge types, modalities, and samples.
59
+
60
+ # 3.1 Problem Definition
61
+
62
+ The task of multimodal sentiment analysis (MSA) is to detect sentiments in videos based on multimodal signals, including text $(t)$ , vision $(v)$ , and audio $(a)$ modalities. These signals are represented as sequences of low-level features, i.e., $I_{t} \in \mathbb{R}^{l_{t} \times d_{t}}$ , $I_{v} \in \mathbb{R}^{l_{v} \times d_{v}}$ , and $I_{a} \in \mathbb{R}^{l_{a} \times d_{a}}$ , respectively. Here $l_{m \in \{t, v, a\}}$ denotes the length of the sequence for each modality, while $d_{m \in \{t, v, a\}}$ denotes the corresponding feature vector dimension. The detail for acquiring these features is described in Appendix B. Given these sequences $I_{m \in \{t, v, a\}}$ , the primary task is to make accurate predictions on the sentiment intensity by extracting and fusing higher-level multimodal information.
63
+
64
+ # 3.2 Overall Architecture
65
+
66
+ Figure 1 shows the overall architecture of ConKI. We first process raw multimodal input to low-level features $I_{m \in \{t, v, a\}}$ with their corresponding feature extractors and tokenizers. Then we encode $I_{m}$ into knowledge-specific representations (i.e., $A_{m}$ ) generated by some adapters and pan-knowledge representations (i.e., $O_{m}$ ) generated by pretrained encoders. The text encoder is from publicly-available pretrained backbones like BERT (Devlin et al., 2019), and the vision/audio encoder is a designed model with random initialization since there is no suitable backbone that is pretrained by the above low-level features. After generating the knowledge-specific and pan-knowledge representations, ConKI is trained simultaneously with two different tasks on the downstream target dataset – the primary MSA regression task and the contrastive learning subtask.
67
+
68
+ For the MSA task, we concatenate the knowledge-specific representation and pan-knowledge representation of each modality before feeding them into a fully-connected (FC) layer for inner-modality fusion. We then design a fusion network that consists of a concatenation layer and a fusion module for multi-modality fusion, as shown in Figure 2. The fused representations are
69
+
70
+ ![](images/56727cdbf1b02d0110454a39a6e2645096fe0e3485bd4c93e8c49cc6a18637d2.jpg)
71
+ Figure 2: The Fusion Network. The fusion module marked in the dashed box is used to get the weighted fused embedding. $\otimes$ means element-wise multiplication.
72
+
73
+ passed into a multilayer perceptron (MLP) network to produce the sentiment predictions, $\hat{y}$ .
74
+
75
+ For the subtask of hierarchical contrastive learning, we carefully construct the negative and positive sample pairs at the knowledge level, modality level, and sample level. The intuition of our pairing policy is as follows. We expect $A_{m}$ and $O_{m}$ to capture different knowledge, so we disentangle them and make them complement each other to get richer modality representations by knowledge-level contrasts. Since a video's sentiment is determined by all modalities, we learn the commonalities among the six representations by modality-level contrasts. Besides, videos that express close sentiments should share some correlations. We capture the correlations by sample-level contrasts to help further learn the commonalities among samples under close sentiments. By integrating these hierarchical contrasts, ConKI is able to catch full dynamics among representations which can significantly benefit the main MSA task.
76
+
77
+ # 3.3 Encoding with Knowledge Injection
78
+
79
+ We encode each modality into a pan-knowledge representation via the pretrained encoders and a knowledge-specific representation via the adapters.
80
+
81
+ Pan-knowledge representations. We use the pretrained BERT (Devlin et al., 2019) to encode the input sentence for the text modality. The pooled output vector in the last layer is extracted as the whole sentence representation $O_{t}$ :
82
+
83
+ $$
84
+ O _ {t}, H _ {t} = \operatorname {B e r t} \left(I _ {t}; \theta_ {t} ^ {\text {B e r t}}\right), \tag {1}
85
+ $$
86
+
87
+ where $H_{t}$ denotes the hidden states of all layers. For audio and vision modalities, we employ encoders of stacked transformer layers (Vaswani et al., 2017) to capture the temporal features $O_{m}$ :
88
+
89
+ $$
90
+ O _ {m}, H _ {m} = \operatorname {E n c o d e r} \left(I _ {m}; \theta_ {m} ^ {\text {e n c o d e r}}\right), m \in \{v, a \}. \tag {2}
91
+ $$
92
+
93
+ ![](images/db03cc2e9c0a741caad06051988d68e3f8b151f0a8bf4e80c05e705d9783054c.jpg)
94
+ Figure 3: Adapter and its connection with the backbone encoder.
95
+
96
+ Here, $O_{t}$ , $O_{a}$ , and $O_{v}$ are regarded as three pan-knowledge representations since they mainly contain general knowledge such as the generic facts encoded by BERT (Devlin et al., 2019) pretrained on big text data.
97
+
98
+ Knowledge-specific representations. We infuse specific domain knowledge from external multimodal sources through knowledge injection models (adapters). The adapter is commonly used in natural language processing (NLP) to enhance existing pretrained language models' knowledge awareness (Wei et al., 2021). The outputs of adapters are taken as knowledge-specific representations. Specifically, the adapter for each modality is plugged outside of the respective pretrained encoder, as shown in Figure 3. It consists of multiple modules with the same sandwich structure: two FC layers with two transformer layers in between. Each module can be inserted before any transformer layers of the backbone models (encoders), e.g., the second and fourth transformer layers in Figure 3. Therefore, each module takes the intermediate layers' hidden states of the pretrained encoder and the output of the previous adapter module as input. The output of the adapter is denoted as $A_{m}$ , where
99
+
100
+ $$
101
+ A _ {m} = \operatorname {A d a p t e r} \left(H _ {m}; \theta_ {m} ^ {\text {a d a p t e r}}\right), m \in \{t, v, a \}. \tag {3}
102
+ $$
103
+
104
+ With the objective of learning specific multimodal sentiment knowledge, we pretrain one adapter for each modality, i.e., $\mathrm{Adapter}_t$ , $\mathrm{Adapter}_a$ and $\mathrm{Adapter}_v$ , concurrently using an external dataset while keeping the pretrained encoders frozen. Since the external dataset we select is also from the multimodal sentiment domain, the pretraining task remains the MSA task. That is, we
105
+
106
+ Algorithm 1: Learning Procedure of ConKI
107
+ Stage 1: Adapter Pretraining
108
+ Input: External dataset $\mathcal{E}$ , its corresponding features $I_{m}$ and labels $y$ ,
109
+ Output: Pretrained adapters $\{\theta_{m}^{\text{adapter}} \mid m \in \{t, v, a\}\}$
110
+ for each training epoch do
111
+ for batch $\{(I_t^i, I_v^i, I_a^i)\}_{i=1}^{|B|}$ from $\mathcal{E}$ do
112
+ Encode $I_{m}^{i}$ to $O_{m}^{i}$ and $A_{m}^{i}$ via Eq. (1-3)
113
+ Inner-modality fusion: $F_{m}^{i} = F C([O_{m}^{i}; A_{m}^{i}])$ , where $[\cdot; \cdot]$ denotes the concatenation of two vectors
114
+ Multi-modality fusion: $F^{i} = F N(F_{t}^{i}, F_{v}^{i}, F_{a}^{i})$ , where $FN$ is the fusion network
115
+ Compute the predictions using $\hat{y}^{i} = M L P(F^{i})$
116
+ Compute $\mathcal{L}_{\text{task}}$ via Eq. (4)
117
+ Update parameters except $\{\theta_{t}^{\text{Bert}}, \theta_{m}^{\text{encoder}} \mid m \in \{v, a\}\}$
118
+ end
119
+ Save $\{\theta_{m}^{\text{adapter}} \mid m \in \{t, v, a\}\}$ when reaching the best validation result
120
+ end
121
+ Stage 2: Downstream Fine-tuning
122
+ Input: Target dataset $\mathcal{D}$ , its corresponding features $I_{m}$ , its labels $y$ , and the pretrained adapters
123
+ Output: Predictions $\hat{y}$
124
+ for each training epoch do
125
+ for batch $\{(I_t^i, I_v^i, I_a^i)\}_{i=1}^{|B|}$ from $\mathcal{D}$ do
126
+ Perform Steps 1 - 4 in Stage 1
127
+ Compute $\mathcal{L}$ via Eq. (5)
128
+ Update parameters except $\{\theta_{m}^{\text{adapter}} \mid m \in \{t, v, a\}\}$
129
+ end
130
+ end
131
+
132
+ pretrain adapter parts in Figure 1 with only the MSA task on the external dataset, then utilize the pretrained adapters to produce knowledge-specific representations $A_{m}$ for the downstream target task that includes both the MSA task and the hierarchical contrastive learning subtask. Algorithm 1 summarizes this pretraining procedure of adapters.
133
+
134
+ # 3.4 Hierarchical Contrastive Learning
135
+
136
+ In our framework, we propose a hierarchical contrastive learning method to enhance the learned representations by considering the following four aspects in a batch $B$ :
137
+
138
+ - For a single video sample $i$ , all the modalities share common motives of the speaker that determine the overall sentiment. The pan-knowledge representations of different modalities are expected to represent similar meanings and thus need to be pulled closer to each other. And the same applies for knowledge-specific representations. This intuition leads to the construction of intra-sample positive pairs:
139
+
140
+ $$
141
+ \mathcal {P} _ {1} ^ {i} = \left\{\left(O _ {m} ^ {i}, O _ {n} ^ {i}\right), \left(A _ {m} ^ {i}, A _ {n} ^ {i}\right) \mid \right.
142
+ $$
143
+
144
+ $$
145
+ m, n \in \{t, v, a \} \& m \neq n \& i \in B \};
146
+ $$
147
+
148
+ - The pan-knowledge representations and the knowledge-specific representations should be disentangled from each other since they belong to different knowledge domains and are designed to complement each other. This exists inside each sample ( $i$ and $j$ represent the same sample) as well as across samples in the batch ( $i$ and $j$ represent two different samples). Therefore, we can build the inter-knowledge negative pairs within a batch:
149
+
150
+ $$
151
+ \mathcal {N} _ {1} ^ {i} = \left\{\left(O _ {m} ^ {i}, A _ {n} ^ {j}\right) \mid \right.
152
+ $$
153
+
154
+ $$
155
+ m, n \in \{t, v, a \} \& i, j \in B \};
156
+ $$
157
+
158
+ - For two arbitrary samples $i$ and $j$ having close sentiments, i.e., their sentiment scores can be rounded to the same integer, six representations of sample $i$ (i.e., $O_{m}^{i}$ and $A_{m}^{i}$ ) should be close to the corresponding representations of sample $j$ (i.e., $O_{n}^{j}$ and $A_{n}^{j}$ ). Note that the subscripts $m$ and $n$ represent the modality for sample $i$ and $j$ , respectively. We then form the inter-sample positive pairs as
159
+
160
+ $$
161
+ \begin{array}{l} \mathcal {P} _ {2} ^ {i} = \{(O _ {m} ^ {i}, O _ {n} ^ {j}), (A _ {m} ^ {i}, A _ {n} ^ {j}) | m, n \in \{t, v, a \} \\ \& r \left(y ^ {i}\right) = r \left(y ^ {j}\right) \& i, j \in B \& i \neq j \}, \\ \end{array}
162
+ $$
163
+
164
+ where $y^{i}$ denotes the ground-truth of sample $i$ , and $r(\cdot)$ stands for the round function;
165
+
166
+ Except for the pairs derived from the above three aspects, the remaining pairs with sample $i$ in the same batch are set as negative pairs $\mathcal{N}_2^i$ . Please refer to Appendix A.1 for a more detailed pairing policy.
167
+
168
+ Specifically, our hierarchical contrastive loss $\mathcal{L}_{con}$ is computed by
169
+
170
+ $$
171
+ \begin{array}{l} \mathcal {L} _ {c o n} = \sum_ {i \in B} \frac {- 1}{| \mathcal {P} _ {1} ^ {i} \cup \mathcal {P} _ {2} ^ {i} |} \times \\ \sum_ {(p, q) \in \mathcal {P} _ {1} ^ {i} \cup \mathcal {P} _ {2} ^ {i}} \log \frac {f ((p , q))}{\sum_ {(p ^ {\prime} , q ^ {\prime}) \in \mathrm {A l l P a i r s}} f ((p ^ {\prime} , q ^ {\prime}))}, \\ \end{array}
172
+ $$
173
+
174
+ where,
175
+
176
+ $$
177
+ f ((p, q)) = \exp (\frac {p}{\| p \| _ {2}} \cdot \frac {q}{\| q \| _ {2}} \cdot \frac {1}{\tau}),
178
+ $$
179
+
180
+ $$
181
+ \text {A l l P a i r s} = \mathcal {P} _ {1} ^ {i} \cup \mathcal {P} _ {2} ^ {i} \cup \mathcal {N} _ {1} ^ {i} \cup \mathcal {N} _ {2} ^ {i}.
182
+ $$
183
+
184
+ In the above equation, $|\mathcal{P}_1^i \cup \mathcal{P}_2^i|$ means the number of positive pairs with sample $i$ in a batch $B$ , $(\cdot, \cdot)$ denotes a pair in the corresponding set, e.g., $(O_t^i, O_v^i)$ , and $\tau$ is a scalar temperature parameter.
185
+
186
+ The rationale behind this hierarchical contrastive learning subtask is as follows. First, we capture the commonalities across the three modalities within each knowledge type of each sample to reduce the modality gaps under a shared motive. Second, we model the commonalities across samples of close sentiments within each knowledge type to reduce the sample gaps. Third, we capture the differences between the pan-knowledge representations and the knowledge-specific representations in each sample which results in a complementary effect of the two knowledge types of representations. Last but not least, we capture the differences across samples of different sentiments within each knowledge type in order to learn the dynamics of different sentiment intervals.
187
+
188
+ # 3.5 Training Procedure
189
+
190
+ Given the ground truth $y$ and the predictions $\hat{y}$ , we can calculate the main MSA task loss by the mean squared error:
191
+
192
+ $$
193
+ \mathcal {L} _ {\text {t a s k}} = \frac {1}{| B |} \sum_ {i} ^ {| B |} \left(\hat {y} ^ {i} - y ^ {i}\right) ^ {2}, \tag {4}
194
+ $$
195
+
196
+ where $|B|$ is the number of samples in a batch.
197
+
198
+ ConKI adopts the learning regime of pretraining followed by fine-tuning. We first pretrain the adapters in ConKI with $\mathcal{L}_{task}$ using an external dataset while fixing the model parameters of the pretrained backbones, considering ConKI only encodes specific knowledge in adapters which have
199
+
200
+ <table><tr><td>Dataset</td><td>#Train</td><td>#Valid</td><td>#Test</td><td>#Total</td></tr><tr><td>CMU-MOSI</td><td>1284</td><td>229</td><td>686</td><td>2199</td></tr><tr><td>CMU-MOSEI</td><td>16326</td><td>1871</td><td>4659</td><td>22856</td></tr><tr><td>SIMS</td><td>1368</td><td>456</td><td>457</td><td>2281</td></tr></table>
201
+
202
+ Table 1: The statistics of CMU-MOSI, CMU-MOSEI and SIMS.
203
+
204
+ much fewer trainable parameters compared to backbones. Then we fine-tune ConKI with the downstream target dataset by optimizing the overall loss $\mathcal{L}$ :
205
+
206
+ $$
207
+ \mathcal {L} = \mathcal {L} _ {\text {t a s k}} + \lambda \mathcal {L} _ {\text {c o n}}, \tag {5}
208
+ $$
209
+
210
+ where $\lambda$ is a hyperparameter that balances the MSA task loss and the hierarchical contrastive loss. Algorithm 1 shows the full training procedure of ConKI.
211
+
212
+ # 4 Experiments
213
+
214
+ In this section, we present some experimental details, including datasets, evaluation metrics, baseline models, and experimental results. The implementation details are shown in Appendix B.
215
+
216
+ # 4.1 Datasets and Metrics
217
+
218
+ We conduct experiments on three publicly available benchmark datasets in MSA: CMU-MOSI (Zadeh et al., 2016), CMU-MOSEI (Zadeh et al., 2018) and SIMS (Yu et al., 2020). Table 1 shows the statistics of the datasets. Appendix C describes the details of these datasets.
219
+
220
+ Following the previous works (Sun et al., 2020; Rahman et al., 2020; Hazarika et al., 2020; Yu et al., 2021; Mai et al., 2021; Han et al., 2021; Yu et al., 2020), we report our experimental results in two forms: regression and classification. For regression, we report mean absolute error (MAE) and Pearson correlation (Corr). For classification, we report binary classification accuracy (Acc-2) and F1 score. Specifically, for CMU-MOSI and CMU-MOSEI datasets, we calculate Acc-2 and F1 scores in negative/positive (zero excluded) and non-negative/positive (zero included) settings as well as seven-class classification accuracy (Acc-7) which shows the percentage of predictions that correctly classified into the same interval of seven intervals between $-3$ and $+3$ . Higher values indicate better performance for all metrics except for MAE.
221
+
222
+ # 4.2 Baselines
223
+
224
+ We compare ConKI with the following state-of-the-art baseline models in MSA: TFN (Zadeh et al.,
225
+
226
+ <table><tr><td rowspan="2">Models*</td><td colspan="5">CMU-MOSI</td><td colspan="5">CMU-MOSEI</td></tr><tr><td>MAE</td><td>Corr</td><td>Acc-7</td><td>Acc-2</td><td>F1</td><td>MAE</td><td>Corr</td><td>Acc-7</td><td>Acc-2</td><td>F1</td></tr><tr><td>TFN†</td><td>0.901</td><td>0.698</td><td>34.9</td><td>-/80.8</td><td>-/80.7</td><td>0.593</td><td>0.700</td><td>50.2</td><td>-/82.5</td><td>-/82.1</td></tr><tr><td>LMF†</td><td>0.917</td><td>0.695</td><td>33.2</td><td>-/82.5</td><td>-/82.4</td><td>0.623</td><td>0.677</td><td>48.0</td><td>-/82.0</td><td>-/82.1</td></tr><tr><td>MulT†</td><td>0.861</td><td>0.711</td><td>-</td><td>81.5/84.1</td><td>80.6/83.9</td><td>0.580</td><td>0.703</td><td>-</td><td>-/82.5</td><td>-/82.3</td></tr><tr><td>ICCN†</td><td>0.862</td><td>0.714</td><td>39.0</td><td>-/83.0</td><td>-/83.0</td><td>0.565</td><td>0.713</td><td>51.6</td><td>-/84.2</td><td>-/84.2</td></tr><tr><td>MISA†</td><td>0.804</td><td>0.764</td><td>-</td><td>80.79/82.10</td><td>80.77/82.03</td><td>0.568</td><td>0.724</td><td>-</td><td>82.59/84.23</td><td>82.67/83.97</td></tr><tr><td>MAG-BERT†</td><td>0.727</td><td>0.781</td><td>43.62</td><td>82.37/84.43</td><td>82.50/84.61</td><td>0.543</td><td>0.755</td><td>52.67</td><td>82.51/84.82</td><td>82.77/84.71</td></tr><tr><td>Self-MM†</td><td>0.712</td><td>0.795</td><td>45.79</td><td>82.54/84.77</td><td>82.68/84.91</td><td>0.529</td><td>0.767</td><td>53.46</td><td>82.68/84.96</td><td>82.95/84.93</td></tr><tr><td>HyCon‡</td><td>0.713</td><td>0.790</td><td>46.6</td><td>-/85.2</td><td>-/85.1</td><td>0.601</td><td>0.776</td><td>52.8</td><td>-/85.4</td><td>-/85.6</td></tr><tr><td>MMIM†</td><td>0.700</td><td>0.800</td><td>46.65</td><td>84.14/86.06</td><td>84.00/85.98</td><td>0.526</td><td>0.772</td><td>54.24</td><td>82.24/85.97</td><td>82.66/85.94</td></tr><tr><td>ConKI</td><td>0.681</td><td>0.816</td><td>48.43</td><td>84.37/86.13</td><td>84.33/86.13</td><td>0.529</td><td>0.782</td><td>54.25</td><td>82.73/86.25</td><td>83.08/86.15</td></tr></table>
227
+
228
+ 2017), LMF (Liu and Shen, 2018), MulT (Tsai et al., 2019), ICCN (Sun et al., 2020), MISA (Hazarika et al., 2020), MAG-BERT (Rahman et al., 2020), Self-MM (Yu et al., 2021), HyCon (Mai et al., 2021), and MMIM (Han et al., 2021). The details of these baseline models are shown in Appendix D.
229
+
230
+ # 4.3 Results
231
+
232
+ In accordance with previous work, we run our model five times under the same hyper-parameter settings and report the average performance of all metrics in Table 2 and Table 3. We can observe from these tables that ConKI yields better or competitive results to a range of baseline models on CMU-MOSI, CMU-MOSEI, and SIMS. Specifically, ConKI outperforms all state-of-the-art baseline models in all metrics on CMU-MOSI and SIMS as well as in Corr, Acc-7, Acc-2, F1 scores on CMU-MOSEI. It also achieves closed performance to the best baseline model in MAE on CMU-MOSEI.
233
+
234
+ Table 2: Results on CMU-MOSI and CMU-MOSEI. In Acc-2 and F1, the left of the “/” corresponds to “negative/non-negative” and the right corresponds to “negative/positive”. *: all models use BERT as the text encoder; †: from (Han et al., 2021); ‡: from (Mai et al., 2021). Best results are marked in bold.
235
+
236
+ <table><tr><td>Models</td><td>MAE</td><td>Corr</td><td>Acc-2</td><td>F1</td></tr><tr><td>TFN</td><td>0.488</td><td>0.496</td><td>75.27</td><td>75.56</td></tr><tr><td>LMF</td><td>0.487</td><td>0.502</td><td>75.36</td><td>75.78</td></tr><tr><td>MulT</td><td>0.485</td><td>0.504</td><td>75.62</td><td>75.84</td></tr><tr><td>MISA</td><td>0.472</td><td>0.542</td><td>75.49</td><td>75.85</td></tr><tr><td>MAG-BERT</td><td>0.553</td><td>0.242</td><td>71.43</td><td>63.68</td></tr><tr><td>Self-MM</td><td>0.458</td><td>0.535</td><td>77.37</td><td>77.54</td></tr><tr><td>MMIM</td><td>0.607</td><td>-</td><td>69.37</td><td>58.00</td></tr><tr><td>ConKI</td><td>0.454</td><td>0.542</td><td>77.94</td><td>78.17</td></tr></table>
237
+
238
+ Table 3: Results on SIMS. All baseline model codes are from https://github.com/thuiar/MMSA.
239
+
240
+ It is notable that the MAE of ConKI on CMU-MOSI outperforms the best baseline model MMIM by around 0.02, which shows ConKI is able to learn effective representations for the MSA task since MAE is the most commonly used evaluation metric in regression tasks. ConKI also presents an excellent performance in the Corr scores on both CMU-MOSI and CMU-MOSEI datasets. The possible reasoning behind this excellent performance is that ConKI uses contrastive learning for recognizing the samples under different sentiments, which could lead to effective ranking results among samples and thus produce a higher Corr score (Swinscow et al., 2002).
241
+
242
+ Furthermore, Acc-7 of ConKI on CMU-MOSI surpasses the best baseline by 1.78. Though performing classification, especially seven-class classification, is difficult in a regression task, ConKI successfully leverages the contrasts across samples that are classified into seven intervals (by the round function described in Section 3.4) to model the sample dynamics, which brings a great improvement to Acc-7 and Acc-2, demonstrating the efficacy of ConKI in representation learning for MSA. In addition, ConKI shows excellent F1 scores on all datasets, which endorse its potential in real-world applications since F1 is valuable for evaluating imbalanced datasets.
243
+
244
+ # 4.4 Ablation Study
245
+
246
+ We first conduct an ablation study about modalities, as shown in Table 4. We can observe that the inclusion of all three modalities significantly improves the performance of ConKI.
247
+
248
+ To show the benefits of the proposed knowledge
249
+
250
+ <table><tr><td>Models</td><td>MAE</td><td>Corr</td><td>Acc-7</td><td>Acc-2</td><td>F1</td></tr><tr><td>V+A</td><td>1.408</td><td>0.248</td><td>18.72</td><td>55.71/54.33</td><td>54.37/53.24</td></tr><tr><td>T+A</td><td>0.700</td><td>0.799</td><td>48.22</td><td>82.45/84.18</td><td>82.38/84.16</td></tr><tr><td>T+V</td><td>0.718</td><td>0.798</td><td>45.45</td><td>82.97/84.88</td><td>82.89/84.86</td></tr><tr><td>ConKI</td><td>0.681</td><td>0.816</td><td>48.43</td><td>84.37/86.13</td><td>84.33/86.13</td></tr></table>
251
+
252
+ Table 4: Ablation results when using different modalities.
253
+
254
+ <table><tr><td>Models</td><td>MAE</td><td>Corr</td><td>Acc-7</td><td>Acc-2</td><td>F1</td></tr><tr><td>ConKI</td><td>0.681</td><td>0.816</td><td>48.43</td><td>84.37/86.13</td><td>84.33/86.13</td></tr><tr><td>w/o C1</td><td>0.734</td><td>0.794</td><td>43.56</td><td>82.39/84.21</td><td>82.35/84.22</td></tr><tr><td>w/o C2</td><td>0.753</td><td>0.789</td><td>43.50</td><td>82.16/83.84</td><td>82.15/83.89</td></tr><tr><td>w/o C3</td><td>0.710</td><td>0.811</td><td>44.75</td><td>83.29/84.82</td><td>83.23/84.80</td></tr><tr><td>w/o C4</td><td>0.683</td><td>0.815</td><td>48.05</td><td>84.23/86.01</td><td>84.16/85.99</td></tr><tr><td>w/o N1</td><td>0.689</td><td>0.812</td><td>47.90</td><td>83.88/85.76</td><td>83.8/85.74</td></tr></table>
255
+
256
+ injection and hierarchical contrastive learning in ConKI, we conduct a series of ablation experiments on CMU-MOSI, as shown in Table 5 and Table 6. ConKI mainly includes four components: the use of the external dataset (C1), adapters for knowledge injection (C2), pretrained encoders for panknowledge (C3), and hierarchical contrastive learning (C4). Table 5 shows that C1 provides advantages by comparing w/o C1 and ConKI. Similarly, C2 provides benefits by comparing w/o C2 and ConKI. C3 is beneficial by comparing w/o C3 and ConKI. C4 is beneficial by comparing w/o C4 and ConKI.
257
+
258
+ Since the spotlight in our hierarchical contrastive learning is the contrasts between knowledge types, we also compare our model with the model w/o $\mathcal{N}_1$ trained with $\mathcal{L}_{con}$ but without negative pairs $\mathcal{N}_1$ , i.e., without disentangling the pan knowledge and specific knowledge. We can conclude that learning differentiated pan-knowledge and knowledge-specific representations is essential in our hierarchical contrastive learning. To better understand the learned pan- and specific-knowledge representations by our hierarchical contrastive learning, we visualize and analyze these representations in Appendix A.2.
259
+
260
+ To further examine if our performance gain is from the external dataset instead of the proposed knowledge injection and contrastive learning technique, we compare our model with the state-of-the-art baseline models which are fine-tuned by the external dataset. The results from Table 6 show that ConKI still outperforms those baseline mod
261
+
262
+ Table 5: Ablation results of ConKI's components on CMU-MOSI.
263
+
264
+ <table><tr><td>Models</td><td>MAE</td><td>Corr</td><td>Acc-7</td><td>Acc-2</td><td>F1</td></tr><tr><td>MISA</td><td>0.711</td><td>0.804</td><td>44.96</td><td>82.04/83.99</td><td>81.98/84.0</td></tr><tr><td>Self-MM</td><td>0.712</td><td>0.798</td><td>45.51</td><td>83.59/85.18</td><td>83.47/85.12</td></tr><tr><td>MMIM</td><td>0.716</td><td>0.791</td><td>45.42</td><td>81.81/83.54</td><td>81.67/83.46</td></tr><tr><td>ConKI</td><td>0.681†</td><td>0.816†</td><td>48.43†</td><td>84.37†/86.13†</td><td>84.33†/86.13†</td></tr></table>
265
+
266
+ Table 6: Ablation results when introducing CMU-MOSEI as an external dataset on CMU-MOSI. $\dagger$ means the corresponding result is significantly better than SOTA with $p$ -value $< 0.05$ based on paired $t$ -test.
267
+
268
+ els even though they are trained with the external dataset.
269
+
270
+ Therefore, our gain from ConKI is not solely from adding more data, but from knowledge injection with multi-step transfer learning. Considering the size of CMU-MOSEI is much larger than CMUMOSI, injecting CMU-MOSEI's knowledge into CMU-MOSI thus has more effects on the downstream task than injecting CMU-MOSI into CMUMOSEI, as shown in Table 2.
271
+
272
+ # 5 Conclusion
273
+
274
+ In this paper, we present ConKI, a Contrastive Knowledge Injection framework for multimodal sentiment analysis, which learns knowledge-specific representations along with pan-knowledge representations via knowledge injection and hierarchical contrastive learning. ConKI utilizes the pretrained encoders to obtain pan-knowledge representations while generating knowledge-specific representations based on injected adapters that are trained on an external knowledge source. With the specific knowledge, ConKI is able to produce more accurate sentiment predictions than solely using the pan-knowledge representations. To further improve the learning of these representations, we specifically design a hierarchical contrastive learning procedure taking into account the contrasts between knowledge types within each modality, across modalities within one sample, and across samples. Experimental results on three benchmark datasets show that ConKI outperforms all state-of-the-art methods on a range of performance metrics.
275
+
276
+ # Limitations
277
+
278
+ Our research presents an initial step toward a knowledge injection framework for MSA and still has some limitations to be tackled in the future. Firstly, we can learn more disentangled representations by carefully selecting contrastive pairs for further improvement. Secondly, it will be interest-
279
+
280
+ ing if we extend our method with multiple external sources that come from different knowledge domains.
281
+
282
+ # References
283
+
284
+ Hassan Akbari, Liangzhe Yuan, Rui Qian, Wei-Hong Chuang, Shih-Fu Chang, Yin Cui, and Boqing Gong. 2021. Vatt: Transformers for multimodal self-supervised learning from raw video, audio and text. Advances in Neural Information Processing Systems, 34.
285
+ Minghai Chen, Sen Wang, Paul Pu Liang, Tadas Baltrusaitis, Amir Zadeh, and Louis-Philippe Morency. 2017. Multimodal sentiment analysis with word-level fusion and reinforcement learning. In Proceedings of the 19th ACM international conference on multimodal interaction, pages 163-171.
286
+ Ting Chen, Simon Kornblith, Mohammad Norouzi, and Geoffrey Hinton. 2020a. A simple framework for contrastive learning of visual representations. In International conference on machine learning, pages 1597-1607. PMLR.
287
+ Ting Chen, Simon Kornblith, Kevin Swersky, Mohammad Norouzi, and Geoffrey E Hinton. 2020b. Big self-supervised models are strong semi-supervised learners. Advances in neural information processing systems, 33:22243-22255.
288
+ Gilles Degottex, John Kane, Thomas Drugman, Tuomo Raitio, and Stefan Scherer. 2014. Covarep — a collaborative voice analysis repository for speech technologies. In 2014 IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP), pages 960–964.
289
+ Jacob Devlin, Ming-Wei Chang, Kenton Lee, and Kristina Toutanova. 2019. Bert: Pre-training of deep bidirectional transformers for language understanding. In *NAACL*.
290
+ Paul Ekman and Erika L. Rosenberg. 2005. What the face reveals: basic and applied studies of spontaneous expression using the facial action coding system (facs).
291
+ Wei Han, Hui Chen, and Soujanya Poria. 2021. Improving multimodal fusion with hierarchical mutual information maximization for multimodal sentiment analysis. In Proceedings of the 2021 Conference on Empirical Methods in Natural Language Processing, pages 9180-9192.
292
+ Devamanyu Hazarika, Roger Zimmermann, and Soujanya Poria. 2020. Misa: Modality-invariant and-specific representations for multimodal sentiment analysis. In Proceedings of the 28th ACM International Conference on Multimedia, pages 1122-1131.
293
+
294
+ Kaiming He, Haoqi Fan, Yuxin Wu, Saining Xie, and Ross Girshick. 2020. Momentum contrast for unsupervised visual representation learning. In Proceedings of the IEEE/CVF conference on computer vision and pattern recognition, pages 9729-9738.
295
+ Pei Ke, Haozhe Ji, Siyang Liu, Xiaoyan Zhu, and Minlie Huang. 2020. Sentilare: Sentiment-aware language representation learning with linguistic knowledge. In Proceedings of the 2020 Conference on Empirical Methods in Natural Language Processing (EMNLP), pages 6975-6988.
296
+ Prannay Khosla, Piotr Teterwak, Chen Wang, Aaron Sarna, Yonglong Tian, Phillip Isola, Aaron Maschinot, Ce Liu, and Dilip Krishnan. 2020. Supervised contrastive learning. Advances in Neural Information Processing Systems, 33:18661-18673.
297
+ Anne Lauscher, Olga Majewska, Leonardo FR Ribeiro, Iryna Gurevych, Nikolai Rozanov, and Goran Glavaš. 2020. Common sense or world knowledge? investigating adapter-based knowledge injection into pretrained transformers. Association for Computational Linguistics.
298
+ Junnan Li, Pan Zhou, Caiming Xiong, and Steven Hoi. 2020. Prototypical contrastive learning of unsupervised representations. In International Conference on Learning Representations.
299
+ Bill Yuchen Lin, Xinyue Chen, Jamin Chen, and Xiang Ren. 2019. Kagnet: Knowledge-aware graph networks for commonsense reasoning. 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 2829-2839.
300
+ Chen Liu, Yanwei Fu, C. Xu, Siqian Yang, Jilin Li, Chengjie Wang, and Li Zhang. 2021. Learning a few-shot embedding model with contrastive learning. In AAAI.
301
+ 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.
302
+ Zhun Liu and Ying Shen. 2018. Efficient low-rank multimodal fusion with modality-specific factors. In Proceedings of the 56th Annual Meeting of the Association for Computational Linguistics (Long Papers).
303
+ Sijie Mai, Ying Zeng, Shuangjia Zheng, and Haifeng Hu. 2021. Hybrid contrastive learning of tri-modal representation for multimodal sentiment analysis. arXiv preprint arXiv:2109.01797.
304
+ Prem Melville, Wojciech Gryc, and Richard D. Lawrence. 2009. Sentiment analysis of blogs by combining lexical knowledge with text classification. In Proceedings of the 15th ACM SIGKDD International Conference on Knowledge Discovery and Data Mining, KDD '09, page 1275-1284, New York, NY, USA. Association for Computing Machinery.
305
+
306
+ Adam Paszke, Sam Gross, Francisco Massa, Adam Lerer, James Bradbury, Gregory Chanan, Trevor Killeen, Zeming Lin, Natalia Gimelshein, Luca Antiga, et al. 2019. Pytorch: An imperative style, high-performance deep learning library. Advances in neural information processing systems, 32.
307
+ Wasifur Rahman, Md Kamrul Hasan, Sangwu Lee, Amir Zadeh, Chengfeng Mao, Louis-Philippe Morency, and Ehsan Hoque. 2020. Integrating multimodal information in large pretrained transformers. In Proceedings of the conference. Association for Computational Linguistics. Meeting, volume 2020, page 2359. NIH Public Access.
308
+ Zhongkai Sun, Prathusha Sarma, William Sethares, and Yingyu Liang. 2020. Learning relationships between text, audio, and video via deep canonical correlation for multimodal language analysis. In Proceedings of the AAAI Conference on Artificial Intelligence, volume 34, pages 8992-8999.
309
+ Thomas Douglas Victor Swinscow, Michael J Campbell, et al. 2002. Statistics at square one. Bmj London.
310
+ Li Tao, Xueting Wang, and Toshihiko Yamasaki. 2020. Self-supervised video representation learning using inter-intra contrastive framework. In Proceedings of the 28th ACM International Conference on Multimedia, pages 2193-2201.
311
+ Hao Tian, Can Gao, Xinyan Xiao, Hao Liu, Bolei He, Hua Wu, Haifeng Wang, and Feng Wu. 2020. Skep: Sentiment knowledge enhanced pre-training for sentiment analysis. In Proceedings of the 58th Annual Meeting of the Association for Computational Linguistics, pages 4067-4076.
312
+ Yao-Hung Hubert Tsai, Shaojie Bai, Paul Pu Liang, J Zico Kolter, Louis-Philippe Morency, and Ruslan Salakhutdinov. 2019. Multimodal transformer for unaligned multimodal language sequences. In Proceedings of the conference. Association for Computational Linguistics. Meeting, volume 2019, page 6558. NIH Public Access.
313
+ Laurens Van der Maaten and Geoffrey Hinton. 2008. Visualizing data using t-sne. Journal of machine learning research, 9(11).
314
+ Ashish Vaswani, Noam Shazeer, Niki Parmar, Jakob Uszkoreit, Llion Jones, Aidan N Gomez, Lukasz Kaiser, and Illia Polosukhin. 2017. Attention is all you need. Advances in neural information processing systems, 30.
315
+ Denny Vrandecic and Markus Krötzsch. 2014. Wikidata: a free collaborative knowledgebase. Communications of the ACM, 57(10):78-85.
316
+ Ruize Wang, Duyu Tang, Nan Duan, Zhongyu Wei, Xuan-Jing Huang, Jianshu Ji, Guihong Cao, Daxin Jiang, and Ming Zhou. 2021a. K-adapter: Infusing knowledge into pre-trained models with adapters. In Findings of the Association for Computational Linguistics: ACL-IJCNLP 2021, pages 1405–1418.
317
+
318
+ Xiaozhi Wang, Tianyu Gao, Zhaocheng Zhu, Zhengyan Zhang, Zhiyuan Liu, Juanzi Li, and Jian Tang. 2021b. Kepler: A unified model for knowledge embedding and pre-trained language representation. Transactions of the Association for Computational Linguistics, 9:176-194.
319
+ Xiaokai Wei, Shen Wang, Dejiao Zhang, Parminder Bhatia, and Andrew Arnold. 2021. Knowledge enhanced pretrained language models: A comprehensive survey. arXiv preprint arXiv:2110.08455.
320
+ Jennifer Williams, Steven Kleinegesse, Ramona Comanescu, and Oana Radu. 2018. Recognizing emotions in video using multimodal DNN feature fusion. In Proceedings of Grand Challenge and Workshop on Human Multimodal Language (Challenge-HML), pages 11-19, Melbourne, Australia. Association for Computational Linguistics.
321
+ Yuning You, Tianlong Chen, Yongduo Sui, Ting Chen, Zhangyang Wang, and Yang Shen. 2020. Graph contrastive learning with augmentations. Advances in Neural Information Processing Systems, 33:5812-5823.
322
+ Wenmeng Yu, Hua Xu, Fanyang Meng, Yilin Zhu, Yixiao Ma, Jiele Wu, Jiyun Zou, and Kaicheng Yang. 2020. CH-SIMS: A Chinese multimodal sentiment analysis dataset with fine-grained annotation of modality. In Proceedings of the 58th Annual Meeting of the Association for Computational Linguistics, pages 3718-3727, Online. Association for Computational Linguistics.
323
+ Wenmeng Yu, Hua Xu, Ziqi Yuan, and Jiele Wu. 2021. Learning modality-specific representations with self-supervised multi-task learning for multimodal sentiment analysis. In Proceedings of the AAAI Conference on Artificial Intelligence, volume 35, pages 10790-10797.
324
+ Amir Zadeh, Minghai Chen, Soujanya Poria, Erik Cambria, and Louis-Philippe Morency. 2017. Tensor fusion network for multimodal sentiment analysis. In EMNLP.
325
+ Amir Zadeh, Paul Pu Liang, Soujanya Poria, E. Cambria, and Louis-Philippe Morency. 2018. Multimodal language analysis in the wild: Cmu-mosei dataset and interpretable dynamic fusion graph. In ACL.
326
+ Amir Zadeh, Rowan Zellers, Eli Pincus, and Louis Philippe Morency. 2016. Mosi: multimodal corpus of sentiment intensity and subjectivity analysis in online opinion videos. arXiv preprint arXiv:1606.06259.
327
+
328
+ # A Hierarchical Contrastive Learning
329
+
330
+ # A.1 Pairing Policy
331
+
332
+ To further elaborate on the pairing policy of our hierarchical contrastive learning, we show
333
+
334
+ ![](images/d7d4dc9546d2b5b719df4cdeca907bbab901138450d850c134f95c8c0020efec.jpg)
335
+ Figure 4: Pairing example of three samples where sample 1 and sample 2 are in the same sentiment interval while sample 3 is in a different sentiment interval. Grey cells with "1" stand for the positive pairs, and white cells with "0" represent the negative pairs.
336
+
337
+ an example batch that consists of three samples $\left(\{O_{t}^{i}, O_{v}^{i}, O_{a}^{i}, A_{t}^{i}, A_{v}^{i}, A_{a}^{i}\}_{i=1,2,3} \in B\right)$ where sample 1 and sample 2 belong to the same sentiment interval while sample 3 falls in a different sentiment interval in Figure 4. In this figure, the "1"s in the heatmap represent the positive pairs of the row vectors and column vectors. The "0"s represent the negative pairs of each two vectors.
338
+
339
+ From this figure, we can get the intra-sample positive pairs as the "1"s with red borders:
340
+
341
+ $$
342
+ \begin{array}{l} \mathcal {P} _ {1} ^ {B} = \left\{\left(O _ {t} ^ {1}, O _ {v} ^ {1}\right), \left(O _ {t} ^ {1}, O _ {a} ^ {1}\right), \left(O _ {a} ^ {1}, O _ {v} ^ {1}\right), \right. \\ \left(A _ {t} ^ {1}, A _ {v} ^ {1}\right), \left(A _ {t} ^ {1}, A _ {a} ^ {1}\right), \left(A _ {a} ^ {1}, A _ {v} ^ {1}\right), \\ \left(O _ {t} ^ {2}, O _ {v} ^ {2}\right), \left(O _ {t} ^ {2}, O _ {a} ^ {2}\right), \left(O _ {a} ^ {2}, O _ {v} ^ {2}\right), \\ \left(A _ {t} ^ {2}, A _ {v} ^ {2}\right), \left(A _ {t} ^ {2}, A _ {a} ^ {2}\right), \left(A _ {a} ^ {2}, A _ {v} ^ {2}\right), \\ (O _ {t} ^ {3}, O _ {v} ^ {3}), (O _ {t} ^ {3}, O _ {a} ^ {3}), (O _ {a} ^ {3}, O _ {v} ^ {3}), \\ \left. \left(A _ {t} ^ {3}, A _ {v} ^ {3}\right), \left(A _ {t} ^ {3}, A _ {a} ^ {3}\right), \left(A _ {a} ^ {3}, A _ {v} ^ {3}\right) \right\}; \\ \end{array}
343
+ $$
344
+
345
+ - We represent the inter-knowledge negative pairs $\mathcal{N}_1^B$ as the "0"s in the blue zone;
346
+ - Since sample 1 and sample 2 have close sentiment scores, we form the inter-sample positive pairs as the "1"s without red borders:
347
+
348
+ $$
349
+ \begin{array}{l} \mathcal {P} _ {2} ^ {B} = \left\{\left(O _ {t} ^ {1}, O _ {t} ^ {2}\right), \left(O _ {t} ^ {1}, O _ {v} ^ {2}\right), \left(O _ {t} ^ {1}, O _ {a} ^ {2}\right), \right. \\ (O _ {v} ^ {1}, O _ {t} ^ {2}), (O _ {v} ^ {1}, O _ {v} ^ {2}), (O _ {v} ^ {1}, O _ {a} ^ {2}), \\ \left(O _ {a} ^ {1}, O _ {t} ^ {2}\right), \left(O _ {a} ^ {1}, O _ {v} ^ {2}\right), \left(O _ {a} ^ {1}, O _ {a} ^ {2}\right), \\ \left(A _ {t} ^ {1}, A _ {t} ^ {2}\right), \left(A _ {t} ^ {1}, A _ {v} ^ {2}\right), \left(A _ {t} ^ {1}, A _ {a} ^ {2}\right), \\ \left(A _ {v} ^ {1}, A _ {t} ^ {2}\right), \left(A _ {v} ^ {1}, A _ {v} ^ {2}\right), \left(A _ {v} ^ {1}, A _ {a} ^ {2}\right), \\ \left. \left(A _ {a} ^ {1}, A _ {t} ^ {2}\right), \left(A _ {a} ^ {1}, A _ {v} ^ {2}\right), \left(A _ {a} ^ {1}, A _ {a} ^ {2}\right) \right\}; \\ \end{array}
350
+ $$
351
+
352
+ - The remaining white cells with "0" show the negative pairs in $\mathcal{N}_2^B$ which aim to push sample 3 away from sample 1 and sample 2 because they have different sentiments.
353
+
354
+ # A.2 Visualization of Modality Representations
355
+
356
+ The motivation for us to propose hierarchical contrastive learning into ConKI is that we think modalities will be closer to each other within one sample and across samples in the same sentiment interval and will be far away across samples in different intervals while two knowledge contained in one modality will also be different. We use t-SNE (Van der Maaten and Hinton, 2008) to visualize the distributions of the six representations learned by ConKI with and without hierarchical contrastive learning, as shown in Figure 5.
357
+
358
+ Though we divide all samples into seven intervals to perform contrastive learning, we take samples of two intervals from the testing set to show the learned representations before and after contrastive learning due to the simplicity of the visualization. From Figure 5 (a), we can easily observe that some of the representations such as the pan-knowledge representations in light blue and the knowledge-specific representations in dark green of samples in two different intervals overlap extremely with each other.
359
+
360
+ In contrast, these overlapping representations are pushed further in Figure 5 (b) due to sample-level contrasts. It is also obvious that the three knowledge-specific representations of samples in the same interval, e.g., $A_{t}$ , $A_{v}$ , $A_{a}$ of Interval 2 in dark colors and star shape become closer because of both modality-level and sample-level contrasts. Moreover, the distance between the knowledge-specific representations and the pan-knowledge representations, e.g., $A_{v}$ in dark green and $O_{v}$ in light green of Interval 2, becomes larger in Figure 5 (b) by knowledge-level contrasts. All of these indicate ConKI is able to perform desired contrastive learning for learning better representations that help improve the performance, even in the generalized scenario, i.e., in the testing set.
361
+
362
+ # B Implementation Details
363
+
364
+ We use unaligned raw data in all experiments as the previous works (Yu et al., 2021; Han et al., 2021) for fair comparisons. For audio and video modalities, two commonly-used toolkits (COVAREP (Degottex et al., 2014) and Facial Action Coding System (FACS) (Ekman and Rosenberg, 2005)) act as
365
+
366
+ ![](images/cf5223a05a2421066797dc45888e748d23f8c3a47c0f06d805dd31db46450126.jpg)
367
+ (a)
368
+
369
+ ![](images/3b7cf5adfcdda4bfadb1d23fde05ad80d625e76909be5be6007ce8f9efaf0cd0.jpg)
370
+ (b)
371
+ Figure 5: The visualization of the six decomposed representations of samples in the same sentiment interval and different intervals in (a) w/o h-CL; (b) ConKI. In each subfigure, light yellow, light blue, and light green represent pan-knowledge representations of text, audio, and video modalities, respectively, while dark yellow, dark blue, and dark green represent knowledge-specific representations accordingly. Each point or star stands for a sample in Interval 1 or Interval 2.
372
+
373
+ the feature extractors, respectively. We use uncased 12-layers BERT pretrained model<sup>1</sup> as the text encoder, and two 2-layer transformers as the video and audio encoders, respectively. $\text{Adapter}_t$ has three modules inserted before the first, sixth, and eleventh layers of BERT sequentially. $\text{Adapter}_v$ and $\text{Adapter}_a$ have one module inserted before the second layer of the corresponding encoder. We use CMU-MOSEI as the external dataset for CMU-MOSI and SIMS while using CMU-MOSI for CMU-MOSEI. During the pretraining, the learning rate is set to $5e - 5$ and we train for 10 epochs with one epoch for a linear warm-up scheduler. During the fine-tuning of CMU-MOSI and SIMS, the learning rates for encoders and other components are set to $5e - 6$ and $1e - 6$ respectively with a weight decay 0.001. The temperature parameter $\tau$ is set to 0.07 and $\lambda$ is set to 0.01 after grid-search. We fine tune for 200 epochs with batch size 32. For the fine-tuning of CMU-MOSEI, the learning rates for the text encoder and others are $5e - 6$ and $5e - 5$ , respectively. $\lambda$ for CMU-MOSEI is set to 0.001. The best performance on the validation dataset is used for testing. We implement our experiments using PyTorch (Paszke et al., 2019) on an Nvidia RTX 2080Ti GPU.
374
+
375
+ # C Datasets
376
+
377
+ CMU-MOSI is a popular benchmark dataset collected from YouTube. It contains 2,199 video clips sliced from 93 videos where a speaker shares opinions on topics such as movies. Each video is an-
378
+
379
+ notated with sentiment scores ranging from $-3$ (strongly negative) to $+3$ (strongly positive). CMUMOSEI is the largest MSA dataset that has greater diversity in speakers, topics, and annotations. It contains 22,856 annotated video segments from 1,000 distinct speakers and 250 topics. Each clip also has sentiment scores between $[-3, +3]$ . SIMS is a Chinese MSA dataset that contains 2,281 refined video segments. Each sample has one multimodal label and three unimodal labels, with sentiment scores from $-1$ to $+1$ . We translate the Chinese text into English so that we can inject knowledge from English MSA datasets into SIMS. For fair comparisons, all baseline models use the English version to evaluate the performance.
380
+
381
+ # D Baseline Models
382
+
383
+ TFN. The Tensor Fusion Network (TFN) (Zadeh et al., 2017) encodes three modalities with corresponding embedding subnetworks and uses outer-product to model the unimodal, bimodal, and trimodal interactions as the fusion results.
384
+
385
+ LMF. The Low-rank Multimodal Fusion (LMF) (Liu and Shen, 2018) utilizes low-rank tensors to improve efficiency of multimodal fusion.
386
+
387
+ MulT. The Multimodal Transformer (MulT) (Tsai et al., 2019) proposes directional pairwise cross-modal attention that adapts one modality into another for multimodal fusion.
388
+
389
+ ICCN. The Interaction Canonical Correlation Network (ICCN) (Sun et al., 2020) learns text-based audio and text-based video features by op
390
+
391
+ timizing canonical loss. These features are concatenated with the text features for downstream classifiers such as logistic regression.
392
+
393
+ MISA. The Modality-Invariant and -Specific Representations (MISA) (Hazarika et al., 2020) designs a multitask loss including task prediction loss, reconstruction loss, similarity loss, and difference loss to learn modality-invariant and modality-specific representations.
394
+
395
+ MAG-BERT. The Multimodal Adaptation Gate for Bert (MAG-BERT) (Rahman et al., 2020) builds an alignment gate that allows audio and video information to leak into the BERT model for multimodal fusion.
396
+
397
+ Self-MM. The Self-Supervised Multitask Learning (Self-MM) (Yu et al., 2021) proposes a label generation module based on self-supervised learning to obtain unimodal supervision. Then they joint train the multimodal and unimodal tasks for better fusion results.
398
+
399
+ HyCon. The Hybrid Contrastive Learning (HyCon) (Mai et al., 2021) performs intra- and inter-modal contrastive learning as well as semicontroactive learning within a modality to explore cross-modal interactions.
400
+
401
+ MMIM. MultiModal InfoMax (MMIM) (Han et al., 2021) maximizes the mutual information in unimodal input pairs as well as between multimodal fusion result and unimodal input to aid the main MSA task.
402
+
403
+ A For every submission:
404
+
405
+ A1. Did you describe the limitations of your work?
406
+
407
+ See Limitations section.
408
+
409
+ A2. Did you discuss any potential risks of your work?
410
+
411
+ Not applicable. Left blank.
412
+
413
+ A3. Do the abstract and introduction summarize the paper's main claims?
414
+
415
+ Left blank.
416
+
417
+ A4. Have you used AI writing assistants when working on this paper?
418
+
419
+ Left blank.
420
+
421
+ B Did you use or create scientific artifacts?
422
+
423
+ Not applicable. Left blank.
424
+
425
+ B1. Did you cite the creators of artifacts you used?
426
+
427
+ Not applicable. Left blank.
428
+
429
+ B2. Did you discuss the license or terms for use and / or distribution of any artifacts?
430
+
431
+ Not applicable. Left blank.
432
+
433
+ B3. Did you discuss if your use of existing artifact(s) was consistent with their intended use, provided that it was specified? For the artifacts you create, do you specify intended use and whether that is compatible with the original access conditions (in particular, derivatives of data accessed for research purposes should not be used outside of research contexts)?
434
+
435
+ Not applicable. Left blank.
436
+
437
+ B4. Did you discuss the steps taken to check whether the data that was collected / used contains any information that names or uniquely identifies individual people or offensive content, and the steps taken to protect / anonymize it?
438
+
439
+ Not applicable. Left blank.
440
+
441
+ B5. Did you provide documentation of the artifacts, e.g., coverage of domains, languages, and linguistic phenomena, demographic groups represented, etc.?
442
+
443
+ Not applicable. Left blank.
444
+
445
+ B6. Did you report relevant statistics like the number of examples, details of train / test / dev splits, etc. for the data that you used / created? Even for commonly-used benchmark datasets, include the number of examples in train / validation / test splits, as these provide necessary context for a reader to understand experimental results. For example, small differences in accuracy on large test sets may be significant, while on small test sets they may not be.
446
+
447
+ See Table 1 and Appendix C.
448
+
449
+ C Did you run computational experiments?
450
+
451
+ See Section 4.
452
+
453
+ C1. Did you report the number of parameters in the models used, the total computational budget (e.g., GPU hours), and computing infrastructure used?
454
+
455
+ See Appendix B.
456
+
457
+ C2. Did you discuss the experimental setup, including hyperparameter search and best-found hyperparameter values? See Appendix B.
458
+ C3. Did you report descriptive statistics about your results (e.g., error bars around results, summary statistics from sets of experiments), and is it transparent whether you are reporting the max, mean, etc. or just a single run? See Section 4.3.
459
+ C4. If you used existing packages (e.g., for preprocessing, for normalization, or for evaluation), did you report the implementation, model, and parameter settings used (e.g., NLTK, Spacy, ROUGE, etc.)? See Appendix B.
460
+
461
+ D Did you use human annotators (e.g., crowdworkers) or research with human participants? Left blank.
462
+
463
+ D1. Did you report the full text of instructions given to participants, including e.g., screenshots, disclaimers of any risks to participants or annotators, etc.? Not applicable. Left blank.
464
+ D2. Did you report information about how you recruited (e.g., crowdsourcing platform, students) and paid participants, and discuss if such payment is adequate given the participants' demographic (e.g., country of residence)? Not applicable. Left blank.
465
+ D3. Did you discuss whether and how consent was obtained from people whose data you're using/curating? For example, if you collected data via crowdsourcing, did your instructions to crowdworkers explain how the data would be used? Not applicable. Left blank.
466
+ D4. Was the data collection protocol approved (or determined exempt) by an ethics review board? Not applicable. Left blank.
467
+ D5. Did you report the basic demographic and geographic characteristics of the annotator population that is the source of the data? Not applicable. Left blank.
2023/ConKI_ Contrastive Knowledge Injection for Multimodal Sentiment Analysis/images.zip ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:dcdd422c25e1a498003e453e09c2ff217397e10beca3aa94f1c9a2ead5964c82
3
+ size 544039
2023/ConKI_ Contrastive Knowledge Injection for Multimodal Sentiment Analysis/layout.json ADDED
The diff for this file is too large to render. See raw diff
 
2023/Concept2Box_ Joint Geometric Embeddings for Learning Two-View Knowledge Graphs/a7ac92f6-3015-4bc3-abcd-68379068a363_content_list.json ADDED
@@ -0,0 +1,2118 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [
2
+ {
3
+ "type": "text",
4
+ "text": "Concept2Box: Joint Geometric Embeddings for Learning Two-View Knowledge Graphs",
5
+ "text_level": 1,
6
+ "bbox": [
7
+ 147,
8
+ 79,
9
+ 850,
10
+ 118
11
+ ],
12
+ "page_idx": 0
13
+ },
14
+ {
15
+ "type": "text",
16
+ "text": "Zijie Huang $^{1}$ , Daheng Wang $^{2}$ , Binxuan Huang $^{2}$ , Chenwei Zhang $^{2}$ , Jingbo Shang $^{4}$ ,",
17
+ "bbox": [
18
+ 147,
19
+ 124,
20
+ 853,
21
+ 143
22
+ ],
23
+ "page_idx": 0
24
+ },
25
+ {
26
+ "type": "text",
27
+ "text": "Yan Liang $^{2}$ , Zhengyang Wang $^{2}$ , Xian Li $^{2}$ , Christos Faloutsos $^{3}$ , Yizhou Sun $^{1}$ , Wei Wang $^{1}$",
28
+ "bbox": [
29
+ 121,
30
+ 153,
31
+ 873,
32
+ 170
33
+ ],
34
+ "page_idx": 0
35
+ },
36
+ {
37
+ "type": "text",
38
+ "text": "<sup>1</sup>University of California, Los Angeles, CA, USA <sup>2</sup>Amazon.com Inc, CA, USA",
39
+ "bbox": [
40
+ 174,
41
+ 171,
42
+ 820,
43
+ 186
44
+ ],
45
+ "page_idx": 0
46
+ },
47
+ {
48
+ "type": "text",
49
+ "text": "$^{3}$ Carnegie Mellon University, PA, USA $^{4}$ University of California, San Diego, CA, USA",
50
+ "bbox": [
51
+ 144,
52
+ 187,
53
+ 850,
54
+ 203
55
+ ],
56
+ "page_idx": 0
57
+ },
58
+ {
59
+ "type": "text",
60
+ "text": "{zijiehuang,yzsun,weiwang}@cs.ucla.edu,",
61
+ "bbox": [
62
+ 267,
63
+ 205,
64
+ 732,
65
+ 219
66
+ ],
67
+ "page_idx": 0
68
+ },
69
+ {
70
+ "type": "text",
71
+ "text": "{dahenwan,binxuan,cwzhang,ynliang,zhengywa,xianlee}@amazon.com, jshang@ucsd.edu,christos@cs.cmu.edu",
72
+ "bbox": [
73
+ 122,
74
+ 221,
75
+ 875,
76
+ 253
77
+ ],
78
+ "page_idx": 0
79
+ },
80
+ {
81
+ "type": "text",
82
+ "text": "Abstract",
83
+ "text_level": 1,
84
+ "bbox": [
85
+ 260,
86
+ 253,
87
+ 339,
88
+ 266
89
+ ],
90
+ "page_idx": 0
91
+ },
92
+ {
93
+ "type": "text",
94
+ "text": "Knowledge graph embeddings (KGE) have been extensively studied to embed large-scale relational data for many real-world applications. Existing methods have long ignored the fact many KGs contain two fundamentally different views: high-level ontology-view concepts and fine-grained instance-view entities. They usually embed all nodes as vectors in one latent space. However, a single geometric representation fails to capture the structural differences between two views and lacks probabilistic semantics towards concepts' granularity. We propose Concept2Box, a novel approach that jointly embeds the two views of a KG using dual geometric representations. We model concepts with box embeddings, which learn the hierarchy structure and complex relations such as overlap and disjoint among them. Box volumes can be interpreted as concepts' granularity. Different from concepts, we model entities as vectors. To bridge the gap between concept box embeddings and entity vector embeddings, we propose a novel vector-to-box distance metric and learn both embeddings jointly. Experiments on both the public DBpedia KG and a newly-created industrial KG showed the effectiveness of Concept2Box.",
95
+ "bbox": [
96
+ 141,
97
+ 281,
98
+ 460,
99
+ 664
100
+ ],
101
+ "page_idx": 0
102
+ },
103
+ {
104
+ "type": "text",
105
+ "text": "1 Introduction",
106
+ "text_level": 1,
107
+ "bbox": [
108
+ 114,
109
+ 692,
110
+ 258,
111
+ 707
112
+ ],
113
+ "page_idx": 0
114
+ },
115
+ {
116
+ "type": "text",
117
+ "text": "Knowledge graphs (KGs) like Freebase (Bollacker et al., 2008) and DBpedia (Lehmann et al., 2015) have motivated various knowledge-driven applications (Yasunaga et al., 2021; Lin et al., 2021). They contain structured and semantic information among nodes and relations where knowledge is instantiated as factual triples. One critical fact being ignored is that many KGs consist of two fundamentally different views as depicted in Figure 1: (1) an ontology-view component with high-level concepts and meta-relations, e.g., (\"Singer\", \"is_a\",",
118
+ "bbox": [
119
+ 112,
120
+ 719,
121
+ 489,
122
+ 896
123
+ ],
124
+ "page_idx": 0
125
+ },
126
+ {
127
+ "type": "image",
128
+ "img_path": "images/9a060859468b097cf36514a62e6211b865b0b2974010dbfcce1b270a7a3623fa.jpg",
129
+ "image_caption": [
130
+ "Figure 1: A two-view KG consisting of (1) an ontology-view KG with high-level concepts and meta-relations, (2) an instance-view KG with fine-grained instances and relations, and, (3) a set of cross-view links between two views of KG. Concept2Box learns dual geometric embeddings where each concept is modeled as a box in the latent space and entities are learned as point vectors."
131
+ ],
132
+ "image_footnote": [],
133
+ "bbox": [
134
+ 517,
135
+ 263,
136
+ 878,
137
+ 395
138
+ ],
139
+ "page_idx": 0
140
+ },
141
+ {
142
+ "type": "text",
143
+ "text": "\"Artist\"), and (2) an instance-view component with specific entities and their relations, e.g., (\"Taylor Swift\", \"has_award\", \"Grammy Award\"). Also, there are valuable cross-view links that connect ontological concepts with entities instantiated from them, which bridge the semantics of the two views.",
144
+ "bbox": [
145
+ 505,
146
+ 544,
147
+ 884,
148
+ 639
149
+ ],
150
+ "page_idx": 0
151
+ },
152
+ {
153
+ "type": "text",
154
+ "text": "Modern KGs are usually far from complete as new knowledge is rapidly emerging (Huang et al., 2022). How to automatically harvest unknown knowledge from data has been an important research area for years. Knowledge graph embedding (KGE) methods achieve promising results for modeling KGs by learning low-dimensional vector representations of nodes and relations. However, most existing methods (Bordes et al., 2013; Wang et al., 2014; Sun et al., 2019; Wang et al., 2021b) have a major limitation of only considering KGs of a single view. The valuable semantics brought by jointly modeling the two views are omitted. In contrast, modeling two-view KGs in a holistic way has a key advantage: entity embeddings provide rich information for understanding corresponding ontological concepts; and, in turn, a concept embedding",
155
+ "bbox": [
156
+ 505,
157
+ 645,
158
+ 884,
159
+ 919
160
+ ],
161
+ "page_idx": 0
162
+ },
163
+ {
164
+ "type": "page_footnote",
165
+ "text": "*Part of work was done during internship at Amazon.",
166
+ "bbox": [
167
+ 141,
168
+ 904,
169
+ 470,
170
+ 917
171
+ ],
172
+ "page_idx": 0
173
+ },
174
+ {
175
+ "type": "page_number",
176
+ "text": "10105",
177
+ "bbox": [
178
+ 475,
179
+ 927,
180
+ 524,
181
+ 940
182
+ ],
183
+ "page_idx": 0
184
+ },
185
+ {
186
+ "type": "footer",
187
+ "text": "Findings of the Association for Computational Linguistics: ACL 2023, pages 10105-10118 July 9-14, 2023 ©2023 Association for Computational Linguistics",
188
+ "bbox": [
189
+ 220,
190
+ 945,
191
+ 778,
192
+ 972
193
+ ],
194
+ "page_idx": 0
195
+ },
196
+ {
197
+ "type": "text",
198
+ "text": "provides a high-level summary of linked entities, guiding the learning process of entities with only few relational facts.",
199
+ "bbox": [
200
+ 112,
201
+ 84,
202
+ 489,
203
+ 133
204
+ ],
205
+ "page_idx": 1
206
+ },
207
+ {
208
+ "type": "text",
209
+ "text": "Modeling two-view KG is non-trivial where the challenges are three-fold: First, there exists a significant structural difference between the two views, where the ontology-view KG usually forms a hierarchical structure with concept nodes of different granularity, and the instance-view KG usually follows a flat or cyclical structure (Iyer et al., 2022) with each entity associated with a specific meaning. Second, concepts often exhibit complex relations such as intersect, contain and disjoint. Traditional vector-based embeddings (Bordes et al., 2013; Sun et al., 2019) fail to adequately express them and capture interpretable probabilistic semantics to explain the granularity of concepts. Third, to bridge the knowledge from two views, effective semantic mappings from fine-grained entities to their corresponding concepts need to be carefully considered. For work that models two-view KGs, they either model concepts and entities all as points in the Euclidean space (Hao et al., 2019) and in the product manifold space (Wang et al., 2021c), which can fail to capture the structural differences among the two views and result in suboptimal performance, or they embed concepts and entities separately as points in the hyperbolic and spherical space respectively (Iyer et al., 2022), which cannot provide interpretation towards concepts' granularity.",
210
+ "bbox": [
211
+ 112,
212
+ 140,
213
+ 492,
214
+ 575
215
+ ],
216
+ "page_idx": 1
217
+ },
218
+ {
219
+ "type": "text",
220
+ "text": "To this end, we propose Concept2Box, a novel two-view KG embedding model for jointly learning the representations of concepts and instances using dual geometric objects. Specifically, we propose to leverage the geometric objects of boxes (i.e. axis-aligned hyperrectangle) to embed concept nodes in the ontology-view KG. This is motivated by the desirable geometric properties of boxes to represent more complex relationships among concepts such as intersect, contain, and disjoint, and also capture the hierarchy structure. For example, in Figure 1 we can see City is contained within Location, denoting it's a sub-concept of Location; Artist and Scientist intersects with each other, denoting they are correlated. In addition, box embeddings provide probabilistic measures of concepts' granularity based on the volumes, such as Person is a larger box than Scientist. Entities in the instance-view KG are modeled with classic vector representations to capture their specific meanings. As we model concepts and entities using boxes and vectors respectively,",
221
+ "bbox": [
222
+ 112,
223
+ 581,
224
+ 490,
225
+ 921
226
+ ],
227
+ "page_idx": 1
228
+ },
229
+ {
230
+ "type": "text",
231
+ "text": "we further design a new metric function to measure the distance from a vector to a box in order to bridge the semantics of the two views. Based on this vector-to-box distance function, the proposed model is trained to jointly model the semantics of the instance-view KG, the ontology-view KG, and the cross-view links. Empirically, Concept2Box outperforms popular baselines on both public and our newly-created industrial recipe datasets.",
232
+ "bbox": [
233
+ 507,
234
+ 84,
235
+ 885,
236
+ 231
237
+ ],
238
+ "page_idx": 1
239
+ },
240
+ {
241
+ "type": "text",
242
+ "text": "Our contributions are as follows: (1) We propose a novel model for learning two-view KG representations by jointly embedding concepts and instances with different geometric objects. (2) We design a new metric function to measure the distance between concept boxes and entity vectors to bridge the two views. (3) We construct a new industrial-level recipe-related KG dataset. (4) Extensive experiments verify the effectiveness of Concept2Box.",
243
+ "bbox": [
244
+ 507,
245
+ 235,
246
+ 885,
247
+ 382
248
+ ],
249
+ "page_idx": 1
250
+ },
251
+ {
252
+ "type": "text",
253
+ "text": "2 Related Work",
254
+ "text_level": 1,
255
+ "bbox": [
256
+ 509,
257
+ 412,
258
+ 665,
259
+ 426
260
+ ],
261
+ "page_idx": 1
262
+ },
263
+ {
264
+ "type": "text",
265
+ "text": "2.1 Knowledge Graph Embedding (KGE)",
266
+ "text_level": 1,
267
+ "bbox": [
268
+ 507,
269
+ 451,
270
+ 853,
271
+ 468
272
+ ],
273
+ "page_idx": 1
274
+ },
275
+ {
276
+ "type": "text",
277
+ "text": "The majority of work on knowledge graph embeddings only considers a single view, where models learn the latent vector representations for nodes and relations and measure triple plausibility via varying score functions. Representatives include translation-based TransE (Bordes et al., 2013), TransH (Wang et al., 2014); rotation-based RotatE (Sun et al., 2019), and neural network-based ConvE (Dettmers et al., 2018). Most recently, some work employs graph neural networks (GNNs) to aggregate neighborhood information in KGs (Huang et al., 2022; Zhang et al., 2020), which have shown superior performance on graph-structured data by passing local message (Huang et al., 2020, 2021; Javari et al., 2020; Wang et al., 2021a). For work that pushes two-view or multiple KGs together (Hao et al., 2019; Huang et al., 2022), they either model all nodes as points in the Euclidean space (Hao et al., 2019; Huang et al., 2022) and in the product manifold space (Wang et al., 2021c), or separately embed entities and concepts as points in two spaces respectively (Iyer et al., 2022). Our work uses boxes and vectors for embedding concepts and entities respectively, which not only gives better performance but also provides a probabilistic explanation of concepts' granularity based on box volumes.",
278
+ "bbox": [
279
+ 507,
280
+ 483,
281
+ 885,
282
+ 917
283
+ ],
284
+ "page_idx": 1
285
+ },
286
+ {
287
+ "type": "page_number",
288
+ "text": "10106",
289
+ "bbox": [
290
+ 477,
291
+ 927,
292
+ 524,
293
+ 940
294
+ ],
295
+ "page_idx": 1
296
+ },
297
+ {
298
+ "type": "text",
299
+ "text": "2.2 Geometric Representation Learning",
300
+ "text_level": 1,
301
+ "bbox": [
302
+ 112,
303
+ 84,
304
+ 443,
305
+ 99
306
+ ],
307
+ "page_idx": 2
308
+ },
309
+ {
310
+ "type": "text",
311
+ "text": "Representing elements with more complex geometric objects than vectors is an active area of study (Chen et al., 2021). Some representative models include Poincaré embeddings (Nickel and Kiela, 2017), which embeds data into the hyperbolic space with the inductive basis of negative curvature. Hyperbolic entailment cones (Ganea et al., 2018) combine order embeddings with hyperbolic geometry, where relations are viewed as partial orders defined over nested geodesically convex cones. Elliptical distributions (Muzellec and Cuturi, 2018) model nodes as distributions and define distances based on the 2-Wasserstein metric. While they are promising for embedding hierarchical structures, they do not provide interpretable probabilistic semantics. Box embeddings not only demonstrate improved performance on modeling hierarchies but also model probabilities via box volumes to explain the granularity of concepts.",
312
+ "bbox": [
313
+ 112,
314
+ 108,
315
+ 489,
316
+ 413
317
+ ],
318
+ "page_idx": 2
319
+ },
320
+ {
321
+ "type": "text",
322
+ "text": "3 Preliminaries",
323
+ "text_level": 1,
324
+ "bbox": [
325
+ 112,
326
+ 430,
327
+ 265,
328
+ 444
329
+ ],
330
+ "page_idx": 2
331
+ },
332
+ {
333
+ "type": "text",
334
+ "text": "3.1 Problem Formulation",
335
+ "text_level": 1,
336
+ "bbox": [
337
+ 112,
338
+ 458,
339
+ 329,
340
+ 472
341
+ ],
342
+ "page_idx": 2
343
+ },
344
+ {
345
+ "type": "text",
346
+ "text": "We consider a two-view knowledge graph $\\mathcal{G}$ consisting of a set of entities $\\mathcal{E}$ , a set of concepts $\\mathcal{C}$ , and a set of relations $\\mathcal{R} = \\mathcal{R}^{\\mathcal{I}} \\cup \\mathcal{R}^{\\mathcal{O}} \\cup \\mathcal{S}$ , where $\\mathcal{R}^{\\mathcal{I}}, \\mathcal{R}^{\\mathcal{O}}$ are the entity-entity and concept-concept relation sets respectively. $\\mathcal{S} = \\{(e, c)\\}$ is the cross-view entity-concept relation set with $e \\in \\mathcal{E}, c \\in \\mathcal{C}$ . Entities and concepts are disjoint sets, i.e., $\\mathcal{E} \\cap \\mathcal{C} = \\emptyset$ .",
347
+ "bbox": [
348
+ 112,
349
+ 481,
350
+ 487,
351
+ 594
352
+ ],
353
+ "page_idx": 2
354
+ },
355
+ {
356
+ "type": "text",
357
+ "text": "We denote the instance-view KG as $\\mathcal{G}^{\\mathcal{I}} := \\{\\mathcal{E}, \\mathcal{R}^{\\mathcal{I}}, \\mathcal{T}^{\\mathcal{I}}\\}$ where $\\mathcal{T}^{\\mathcal{I}} = \\{(h^{\\mathcal{I}}, r^{\\mathcal{I}}, t^{\\mathcal{I}})\\}$ are factual triples connecting head and tail entities $h^{\\mathcal{I}}, t^{\\mathcal{I}} \\in \\mathcal{E}$ with a relation $r^{\\mathcal{I}} \\in \\mathcal{R}^{\\mathcal{I}}$ . The instance-view triples can be any real-world instance associations and are often of a flat structure such as (\"Taylor Swift\", \"has_award\", \"Grammy Award\"). Similarly, the ontology-view KG is denoted as $\\mathcal{G}^{\\mathcal{O}} := \\{\\mathcal{C}, \\mathcal{R}^{\\mathcal{O}}, \\mathcal{T}^{\\mathcal{O}}\\}$ where $\\mathcal{T}^{\\mathcal{O}} = \\{(h^{\\mathcal{O}}, r^{\\mathcal{O}}, t^{\\mathcal{O}})\\}$ are triples connecting $h^{\\mathcal{O}}, t^{\\mathcal{O}} \\in \\mathcal{C}$ and $r^{\\mathcal{O}} \\in \\mathcal{R}^{\\mathcal{O}}$ . The ontology-view triples describe the hierarchical structure among abstract concepts and their meta-relations such as (\"Singer\", \"is_a\", \"Artist\").",
358
+ "bbox": [
359
+ 112,
360
+ 596,
361
+ 489,
362
+ 804
363
+ ],
364
+ "page_idx": 2
365
+ },
366
+ {
367
+ "type": "text",
368
+ "text": "Given: a two-view KG $\\mathcal{G}$ , we want to learn a model which effectively embeds entities, concepts, and relations to latent representations with different geometric objects to better capture the structural differences of two views. We evaluate the quality of the learned embeddings on the KG completion task and concept linking task, described in Section 5.",
369
+ "bbox": [
370
+ 112,
371
+ 806,
372
+ 489,
373
+ 917
374
+ ],
375
+ "page_idx": 2
376
+ },
377
+ {
378
+ "type": "text",
379
+ "text": "3.2 Probabilistic Box Embedding",
380
+ "text_level": 1,
381
+ "bbox": [
382
+ 509,
383
+ 84,
384
+ 786,
385
+ 99
386
+ ],
387
+ "page_idx": 2
388
+ },
389
+ {
390
+ "type": "text",
391
+ "text": "Box embeddings represent an element as a hyperrectangle characterized with two parameters (Vilnis et al., 2018): the minimum and the maximum corners $(\\pmb{x}_m,\\pmb{x}_M)\\in \\mathbb{R}^d$ where $x_{m}^{i} < x_{M}^{i}$ for each coordinates $i\\in 1,2,\\dots d$ . Box volume is computed as the product of side-lengths $\\mathrm{Vol}(x) = \\prod_{i = 1}^{d}\\left(x_{M}^{i} - x_{m}^{i}\\right)$ . Given a box space $\\Omega_{\\mathrm{Box}}\\subseteq \\mathbb{R}^d$ , the set of boxes $\\mathcal{B}(\\Omega_{\\mathrm{Box}})$ is closed under intersection (Chen et al., 2021) and box volumes can be viewed as the unnormalized probabilities to interpret concepts' granularity. The intersection volume of two boxes is defined as $\\mathrm{Vol}(x\\cap y) = \\prod_{i}\\max \\left(\\min \\left(x_{M}^{i},y_{M}^{i}\\right) - \\max \\left(x_{m}^{i},y_{m}^{i}\\right),0\\right)$ and the conditional probability is computed as $P(x|y) = \\frac{\\mathrm{Vol}(x\\cap y)}{\\mathrm{Vol}(y)}$ , with value between 0 and 1 (Vilnis et al., 2018).",
392
+ "bbox": [
393
+ 507,
394
+ 107,
395
+ 882,
396
+ 380
397
+ ],
398
+ "page_idx": 2
399
+ },
400
+ {
401
+ "type": "text",
402
+ "text": "Directly computing the condition probabilities would pose difficulties during training. This can be caused by a variety of settings like when two boxes are disjoint but should overlap (Chen et al., 2021), there would be no gradient for some parameters. To alleviate this issue, we rely on Gumbel boxes (Das-gupta et al., 2020), where the min and max corners of boxes are modeled via Gumbel distributions:",
403
+ "bbox": [
404
+ 507,
405
+ 382,
406
+ 882,
407
+ 510
408
+ ],
409
+ "page_idx": 2
410
+ },
411
+ {
412
+ "type": "equation",
413
+ "text": "\n$$\n\\operatorname {V o l} (x) = \\prod_ {i = 1} ^ {d} \\left[ x _ {m} ^ {i}, x _ {M} ^ {i} \\right] \\quad \\text {w h e r e} \\tag {1}\n$$\n",
414
+ "text_format": "latex",
415
+ "bbox": [
416
+ 566,
417
+ 526,
418
+ 882,
419
+ 575
420
+ ],
421
+ "page_idx": 2
422
+ },
423
+ {
424
+ "type": "equation",
425
+ "text": "\n$$\nx _ {m} ^ {i} \\sim \\operatorname {G u m b e l M a x} \\left(\\mu_ {m} ^ {i}, \\beta\\right),\n$$\n",
426
+ "text_format": "latex",
427
+ "bbox": [
428
+ 594,
429
+ 571,
430
+ 818,
431
+ 590
432
+ ],
433
+ "page_idx": 2
434
+ },
435
+ {
436
+ "type": "equation",
437
+ "text": "\n$$\nx _ {M} ^ {i} \\sim \\operatorname {G u m b e l M i n} \\left(\\mu_ {M} ^ {i}, \\beta\\right),\n$$\n",
438
+ "text_format": "latex",
439
+ "bbox": [
440
+ 593,
441
+ 592,
442
+ 816,
443
+ 611
444
+ ],
445
+ "page_idx": 2
446
+ },
447
+ {
448
+ "type": "text",
449
+ "text": "$\\mu_{m}^{i}, \\mu_{M}^{i}$ are the minimum and maximum coordinates parameters; $\\beta$ is the global variance. Gumbel distribution provides min/max stability (Chen et al., 2021) and the expected volume is approximated as",
450
+ "bbox": [
451
+ 507,
452
+ 621,
453
+ 882,
454
+ 686
455
+ ],
456
+ "page_idx": 2
457
+ },
458
+ {
459
+ "type": "equation",
460
+ "text": "\n$$\n\\mathbb {E} [ \\operatorname {V o l} (x) ] \\approx \\prod_ {i = 1} ^ {d} \\beta \\log \\left(1 + \\exp \\left(\\frac {\\mu_ {M} ^ {i} - \\mu_ {m} ^ {i}}{\\beta} - 2 \\gamma\\right)\\right), \\tag {2}\n$$\n",
461
+ "text_format": "latex",
462
+ "bbox": [
463
+ 509,
464
+ 700,
465
+ 882,
466
+ 745
467
+ ],
468
+ "page_idx": 2
469
+ },
470
+ {
471
+ "type": "text",
472
+ "text": "where $\\gamma$ is the Euler-Mascheroni constant (Onoe et al., 2021). The conditional probability becomes",
473
+ "bbox": [
474
+ 507,
475
+ 747,
476
+ 880,
477
+ 778
478
+ ],
479
+ "page_idx": 2
480
+ },
481
+ {
482
+ "type": "equation",
483
+ "text": "\n$$\n\\mathbb {E} [ P (x | y) ] \\approx \\frac {\\mathbb {E} [ \\operatorname {V o l} (x \\cap y) ]}{\\mathbb {E} [ \\operatorname {V o l} (y) ]}. \\tag {3}\n$$\n",
484
+ "text_format": "latex",
485
+ "bbox": [
486
+ 583,
487
+ 791,
488
+ 882,
489
+ 826
490
+ ],
491
+ "page_idx": 2
492
+ },
493
+ {
494
+ "type": "text",
495
+ "text": "This also leads to improved learning as the noise ensembles over a large collection of boxes which allows the model to escape plateaus in the loss function (Chen et al., 2020; Onoe et al., 2021). We use this method when training box embeddings.",
496
+ "bbox": [
497
+ 507,
498
+ 839,
499
+ 880,
500
+ 917
501
+ ],
502
+ "page_idx": 2
503
+ },
504
+ {
505
+ "type": "page_number",
506
+ "text": "10107",
507
+ "bbox": [
508
+ 477,
509
+ 927,
510
+ 524,
511
+ 940
512
+ ],
513
+ "page_idx": 2
514
+ },
515
+ {
516
+ "type": "image",
517
+ "img_path": "images/2379f0be122f4b862455e0d691c9d97d8952aba9d0bf47be383e8075d5eaef72.jpg",
518
+ "image_caption": [
519
+ "Figure 2: The overall framework of our proposed Concept2Box includes 3 modules. First, we employ probabilistic box embeddings to model the ontology-view KG, capturing the hierarchical structure and preserving the granularity of concepts (upper). Second, we model the instance-view KG by applying the vector-based KG embedding method (bottom). Third, to bridge these two views, we design a novel distance metric defined from a box to a vector (right). The model is learned by jointly optimizing three loss terms of each corresponding module."
520
+ ],
521
+ "image_footnote": [],
522
+ "bbox": [
523
+ 114,
524
+ 83,
525
+ 884,
526
+ 373
527
+ ],
528
+ "page_idx": 3
529
+ },
530
+ {
531
+ "type": "text",
532
+ "text": "4 Method",
533
+ "text_level": 1,
534
+ "bbox": [
535
+ 112,
536
+ 478,
537
+ 218,
538
+ 494
539
+ ],
540
+ "page_idx": 3
541
+ },
542
+ {
543
+ "type": "text",
544
+ "text": "In this section, we introduce Concept2Box, a novel KGE model to learn two-view knowledge graph embeddings with dual geometric representations. As shown in Figure 2, Concept2Box consists of three main components: (1). The ontology-view box-based KG embedding module that captures the hierarchical structure and complex relations of concepts trained via the KG completion loss over $\\mathcal{G}^{\\mathcal{O}}$ ; (2). The instance-view vector-based KG embedding module trained via the KG completion loss over $\\mathcal{G}^{\\mathcal{I}}$ . It has the flexibility to incorporate any off-the-shelf vector-based KGE methods (Bordes et al., 2013; Sun et al., 2019); (3). The cross-view module trained via the concept linking loss over $S$ . This module relies on a new distance metric for bridging the semantics between a vector and a box. We now present each component in detail.",
545
+ "bbox": [
546
+ 112,
547
+ 508,
548
+ 489,
549
+ 782
550
+ ],
551
+ "page_idx": 3
552
+ },
553
+ {
554
+ "type": "text",
555
+ "text": "4.1 Ontology-View Box Embedding",
556
+ "text_level": 1,
557
+ "bbox": [
558
+ 112,
559
+ 797,
560
+ 410,
561
+ 814
562
+ ],
563
+ "page_idx": 3
564
+ },
565
+ {
566
+ "type": "text",
567
+ "text": "For the ontology-view KG, we model each concept as a Gumbel box to capture the hierarchical structure and interpret concept granularity based on the box volume. Specifically, each Gumbel box $x$ is parameterized using a center $\\operatorname{cen}(x) \\in \\mathbb{R}^d$ and offset $\\operatorname{off}(x) \\in \\mathbb{R}_{+}^{d}$ , and the minimum and",
568
+ "bbox": [
569
+ 112,
570
+ 822,
571
+ 489,
572
+ 919
573
+ ],
574
+ "page_idx": 3
575
+ },
576
+ {
577
+ "type": "text",
578
+ "text": "maximum location parameters are given by $\\mu_{\\mathbf{m}} =$ $\\operatorname {cen}(x) - \\operatorname {off}(x),\\mu_{\\mathbf{M}} = \\operatorname {cen}(x) + \\operatorname {off}(x).$ To compute the triple score from box embeddings, we use the approximate conditional probability of observing a triple given its relation and tail, as shown",
579
+ "bbox": [
580
+ 507,
581
+ 480,
582
+ 884,
583
+ 558
584
+ ],
585
+ "page_idx": 3
586
+ },
587
+ {
588
+ "type": "equation",
589
+ "text": "\n$$\n\\phi \\left(h ^ {\\mathcal {O}}, r ^ {\\mathcal {O}}, t ^ {\\mathcal {O}}\\right) = \\frac {\\mathbb {E} \\left[ \\operatorname {V o l} \\left(f _ {r \\mathcal {O}} \\left(\\operatorname {B o x} \\left(h ^ {\\mathcal {O}}\\right)\\right) \\cap f _ {r \\mathcal {O}} \\left(\\operatorname {B o x} \\left(t ^ {\\mathcal {O}}\\right)\\right)\\right) \\right]}{\\mathbb {E} \\left[ \\operatorname {V o l} \\left(f _ {r \\mathcal {O}} \\left(\\operatorname {B o x} \\left(t ^ {\\mathcal {O}}\\right)\\right)\\right) \\right]}, \\tag {4}\n$$\n",
590
+ "text_format": "latex",
591
+ "bbox": [
592
+ 514,
593
+ 573,
594
+ 882,
595
+ 615
596
+ ],
597
+ "page_idx": 3
598
+ },
599
+ {
600
+ "type": "text",
601
+ "text": "where $f_{r^{\\mathcal{O}}}$ denotes the box transformation function to account for the influence of the relation $r^{\\mathcal{O}}$ . As shown in Figure 1, $f_{\\text{lives\\_in}}(\\text{Artist})$ , $f_{\\text{is\\_a}}(\\text{Artist})$ are the transformed box embeddings of the concept Artist in the context of the living locations and supertypes. The bounded score $\\phi$ should be close to 1 for positive triples and 0 for negative ones.",
602
+ "bbox": [
603
+ 505,
604
+ 615,
605
+ 882,
606
+ 728
607
+ ],
608
+ "page_idx": 3
609
+ },
610
+ {
611
+ "type": "text",
612
+ "text": "Previous work Chen et al. (2021) defined the transformation function $f_{r}$ as shifting the original center and offset of the input box $x$ : $\\operatorname{cen}(f_r(x)) = \\operatorname{cen}(x) + \\pmb{\\tau}^r$ , $\\operatorname{off}(f_r(x)) = \\operatorname{off}(x) \\circ \\Delta^r$ , where $\\circ$ is the Hadamard product and $(\\pmb{\\tau}^r, \\pmb{\\Delta}^r)$ are relation-specific parameters. To further incorporate semantic information from the text of a concept $c$ and relation $r$ , we propose a new transformation function as:",
613
+ "bbox": [
614
+ 507,
615
+ 730,
616
+ 882,
617
+ 872
618
+ ],
619
+ "page_idx": 3
620
+ },
621
+ {
622
+ "type": "equation",
623
+ "text": "\n$$\n\\begin{array}{l} \\mathbf {h} ^ {[ \\mathrm {C L S} ]} = \\operatorname {B E R T} \\left(c _ {\\text {t e x t}} + ^ {\\prime} \\mathrm {S E P} ^ {\\prime} + r _ {\\text {t e x t}}\\right) \\\\ \\operatorname {c e n} \\left(f _ {r} (\\operatorname {B o x} (c))\\right), \\operatorname {o f f} \\left(f _ {r} (\\operatorname {B o x} (c))\\right) = f _ {\\operatorname {p r o j}} \\left(\\mathbf {h} ^ {[ \\mathrm {C L S} ]}\\right). \\end{array} \\tag {5}\n$$\n",
624
+ "text_format": "latex",
625
+ "bbox": [
626
+ 519,
627
+ 885,
628
+ 882,
629
+ 923
630
+ ],
631
+ "page_idx": 3
632
+ },
633
+ {
634
+ "type": "page_number",
635
+ "text": "10108",
636
+ "bbox": [
637
+ 477,
638
+ 927,
639
+ 524,
640
+ 940
641
+ ],
642
+ "page_idx": 3
643
+ },
644
+ {
645
+ "type": "text",
646
+ "text": "Specifically, we first concatenate the textual content of the concept and relation for feeding into a pretrained language model BERT (Devlin et al., 2019) that captures the rich semantics of the text. We obtain the embedding by taking the hidden vector at the [CLS] token. Then, we employ a projection function $f_{\\mathrm{proj}}$ to map the hidden vector $\\mathbf{h}^{[\\mathrm{CLS}]}\\in \\mathbb{R}^{\\ell}$ to the $\\mathbb{R}^{2d}$ space, where $\\ell$ is the hidden dimension of the BERT encoder, and $d$ is the dimension of the box space. In practice, we implement $f_{\\mathrm{proj}}$ as a simple two-layer Multi-Layer Perception (MLP) with a nonlinear activation function. We further split the hidden vector into two equal-length vectors as the center and offset of the transformed box.",
647
+ "bbox": [
648
+ 112,
649
+ 84,
650
+ 489,
651
+ 309
652
+ ],
653
+ "page_idx": 4
654
+ },
655
+ {
656
+ "type": "text",
657
+ "text": "Remark 1. Instead of encoding relation text first to get the shifting and scaling parameters and then conducting the box transformation as introduced in (Chen et al., 2020), we feed the concept and relation text jointly to the BERT encoder to allow interaction between them through the attention mechanism. The goal is to preserve both concept and relation semantics by understanding their textual information as a whole.",
658
+ "bbox": [
659
+ 112,
660
+ 313,
661
+ 489,
662
+ 456
663
+ ],
664
+ "page_idx": 4
665
+ },
666
+ {
667
+ "type": "text",
668
+ "text": "We train the ontology-view KG embedding module with the binary cross entropy loss as below:",
669
+ "bbox": [
670
+ 112,
671
+ 461,
672
+ 489,
673
+ 494
674
+ ],
675
+ "page_idx": 4
676
+ },
677
+ {
678
+ "type": "equation",
679
+ "text": "\n$$\n\\begin{array}{l} \\mathcal {I} ^ {\\mathcal {G} ^ {\\mathcal {C}}} = \\sum_ {\\substack {(h ^ {\\mathcal {O}}, r ^ {\\mathcal {O}}, t ^ {\\mathcal {O}}) \\in \\mathcal {T} ^ {\\mathcal {O}}, \\\\ (\\tilde {h} ^ {\\mathcal {O}}, r ^ {\\mathcal {O}}, \\tilde {t} ^ {\\mathcal {O}}) \\notin \\mathcal {T} ^ {\\mathcal {O}}}} | \\phi (h ^ {\\mathcal {O}}, r ^ {\\mathcal {O}}, t ^ {\\mathcal {O}}) - 1 | ^ {2} \\tag{6} \\\\ { + } { | \\phi ( \\widetilde { h } ^ { \\mathcal { O } } , r ^ { \\mathcal { O } } , \\widetilde { t } ^ { \\mathcal { O } } ) | ^ { 2 } , } \\\\ \\end{array}\n$$\n",
680
+ "text_format": "latex",
681
+ "bbox": [
682
+ 126,
683
+ 513,
684
+ 489,
685
+ 588
686
+ ],
687
+ "page_idx": 4
688
+ },
689
+ {
690
+ "type": "text",
691
+ "text": "where $(\\widetilde{h}^{\\mathcal{O}},r^{\\mathcal{O}},\\widetilde{t}^{\\mathcal{O}})$ is a negative sampled triple obtained by replacing head or tail of the true triple $(h^{O},r^{O},t^{O})$ . We do not use the hinge loss defined in vector-based KGE models (Bordes et al., 2013), as the triple scores are computed from the conditional probability and strictly fall within O and 1.",
692
+ "bbox": [
693
+ 112,
694
+ 596,
695
+ 489,
696
+ 695
697
+ ],
698
+ "page_idx": 4
699
+ },
700
+ {
701
+ "type": "text",
702
+ "text": "4.2 Instance-View and Cross-View Modeling",
703
+ "text_level": 1,
704
+ "bbox": [
705
+ 112,
706
+ 705,
707
+ 480,
708
+ 721
709
+ ],
710
+ "page_idx": 4
711
+ },
712
+ {
713
+ "type": "text",
714
+ "text": "Next, we introduce learning the instance-view KG and the cross-view module for bridging two views.",
715
+ "bbox": [
716
+ 112,
717
+ 726,
718
+ 487,
719
+ 757
720
+ ],
721
+ "page_idx": 4
722
+ },
723
+ {
724
+ "type": "text",
725
+ "text": "Instance-View KG Modeling. As entities in the instance-view KG are fine-grained, we choose to model entities and relations as classic point vectors. We employ the standard hinge loss defined as follows to train the instance-view KGE module.",
726
+ "bbox": [
727
+ 112,
728
+ 758,
729
+ 489,
730
+ 838
731
+ ],
732
+ "page_idx": 4
733
+ },
734
+ {
735
+ "type": "equation",
736
+ "text": "\n$$\n\\mathcal {I} ^ {\\mathcal {G} ^ {\\mathcal {I}}} = \\sum_ {\\substack {(h ^ {\\mathcal {I}}, r ^ {\\mathcal {I}}, t ^ {\\mathcal {I}}) \\in \\mathcal {T} ^ {\\mathcal {I}} \\\\ (\\tilde {h} ^ {\\mathcal {I}}, r ^ {\\mathcal {I}}, \\tilde {t} ^ {\\mathcal {I}}) \\notin \\mathcal {T} ^ {\\mathcal {I}}}} \\left[ \\begin{array}{c} f _ {\\text {vec}} \\left(h ^ {\\mathcal {I}}, r ^ {\\mathcal {I}}, t ^ {\\mathcal {I}}\\right) \\\\ - f _ {\\text {vec}} \\left(\\tilde {h} ^ {\\mathcal {I}}, r ^ {\\mathcal {I}}, \\tilde {t} ^ {\\mathcal {I}}\\right) \\\\ + \\gamma^ {\\mathrm {KG}} \\end{array} \\right] _ {+}, \\tag{7}\n$$\n",
737
+ "text_format": "latex",
738
+ "bbox": [
739
+ 122,
740
+ 857,
741
+ 489,
742
+ 921
743
+ ],
744
+ "page_idx": 4
745
+ },
746
+ {
747
+ "type": "text",
748
+ "text": "where $\\gamma^{\\mathrm{KG}} > 0$ is a positive margin, $f_{\\mathrm{vec}}$ is an arbitrary vector-based KGE model such as TransE (Bordes et al., 2013) and RotatE (Sun et al., 2019). And $(\\widetilde{h}^{\\mathcal{I}}, r^{\\mathcal{I}}, \\widetilde{t}^{\\mathcal{I}})$ is a sampled negative triple.",
749
+ "bbox": [
750
+ 507,
751
+ 82,
752
+ 884,
753
+ 149
754
+ ],
755
+ "page_idx": 4
756
+ },
757
+ {
758
+ "type": "text",
759
+ "text": "Cross-View KG Modeling. The goal of the cross-view module is to bridge the semantics between the entity embeddings and the concept embeddings by using the cross-view links. It forces any entity $e \\in \\mathcal{E}$ to be close to its corresponding concept $c \\in \\mathcal{C}$ . As we model concepts and entities with boxes and vectors respectively, existing distance measures between boxes (or between vectors) would be inappropriate for measuring the distance between them. To tackle this challenge, we now define a new metric function to measure the distance from a vector to a box. Our model is trained to minimize the distances for the concept-entity pairs in the cross-view links based on this metric function. Specifically, given a concept $c$ and an entity $e$ , if we denote the minimum and maximum location parameters of the concept box as $\\mu_{m}, \\mu_{M}$ , and the vector for the entity as $e$ , we define the distance function $f_{d}$ as:",
760
+ "bbox": [
761
+ 507,
762
+ 149,
763
+ 884,
764
+ 456
765
+ ],
766
+ "page_idx": 4
767
+ },
768
+ {
769
+ "type": "equation",
770
+ "text": "\n$$\n\\begin{array}{l} f _ {d} (e, c) = \\operatorname {d i s t} _ {\\text {o u t}} (e, c) + \\alpha \\cdot \\operatorname {d i s t} _ {\\text {i n}} (e, c) \\\\ \\operatorname {d i s t} _ {\\text {o u t}} (e, c) = \\left\\| \\operatorname {M a x} \\left(\\boldsymbol {e} - \\boldsymbol {\\mu} _ {M}, \\mathbf {0}\\right) + \\operatorname {M a x} \\left(\\boldsymbol {\\mu} _ {m} - \\boldsymbol {e}, \\mathbf {0}\\right) \\right\\| _ {1} \\\\ \\operatorname {d i s t} _ {\\text {i n}} (e, c) = \\left\\| \\operatorname {C e n} (\\operatorname {B o x} (c)) - \\operatorname {M i n} \\left(\\boldsymbol {\\mu} _ {M}, \\operatorname {M a x} \\left(\\boldsymbol {\\mu} _ {m}, e\\right)\\right) \\right\\| _ {1} \\tag {8} \\\\ \\end{array}\n$$\n",
771
+ "text_format": "latex",
772
+ "bbox": [
773
+ 509,
774
+ 469,
775
+ 880,
776
+ 530
777
+ ],
778
+ "page_idx": 4
779
+ },
780
+ {
781
+ "type": "text",
782
+ "text": "where $\\mathrm{dist}_{\\mathrm{out}}$ corresponds to the distance between the entity and closest corner of the box; $\\mathrm{dist}_{\\mathrm{in}}$ corresponds to the distance between the center of the box and its side or the entity itself if the entity is inside the box (Ren et al., 2020). $0 < \\alpha < 1$ is a fixed scalar to balance the outside and inside distances, with the goal to punish more if the entity falls outside of the concept, and less if it is within the box but not close to the box center. An example is shown in Figure 2. The proposed vector-to-box distance metric is nonnegative and commutative.",
783
+ "bbox": [
784
+ 507,
785
+ 532,
786
+ 882,
787
+ 708
788
+ ],
789
+ "page_idx": 4
790
+ },
791
+ {
792
+ "type": "text",
793
+ "text": "However, there is one drawback to the above formulation: different boxes should have customized volumes reflecting their granularity. A larger box may be a more general concept (e.g., Person), so it is suboptimal for all paired entities to be as close as to its center, in contrast to more concrete concepts like Singer, as illustrated in Figure 2. Moreover, for instances that belong to multiple concepts, roughly pushing them to be equally close to the centers of relevant concepts can result in poor embedding results. Consider we have two recipe concepts KungPao chicken and Curry chicken, suppose KungPao Chicken is more complicated and requires",
794
+ "bbox": [
795
+ 507,
796
+ 709,
797
+ 884,
798
+ 919
799
+ ],
800
+ "page_idx": 4
801
+ },
802
+ {
803
+ "type": "page_number",
804
+ "text": "10109",
805
+ "bbox": [
806
+ 477,
807
+ 927,
808
+ 524,
809
+ 940
810
+ ],
811
+ "page_idx": 4
812
+ },
813
+ {
814
+ "type": "text",
815
+ "text": "more ingredients. If we roughly push cooking wine, salt, and chicken breast these shared ingredient instances to be as close as to both of their centers, it will possibly result in forcing the centers and volume of the two recipes to be very similar to each other. Therefore, we propose to associate the balancing scalar $\\alpha$ to be related to each concept box volume. Specifically, we define $\\alpha(x)$ with regard to a box $x$ as follows:",
816
+ "bbox": [
817
+ 112,
818
+ 84,
819
+ 489,
820
+ 227
821
+ ],
822
+ "page_idx": 5
823
+ },
824
+ {
825
+ "type": "equation",
826
+ "text": "\n$$\n\\alpha (x) = \\alpha \\cdot \\operatorname {S i g m o i d} \\left(\\frac {1}{\\operatorname {V o l} (x)}\\right). \\tag {9}\n$$\n",
827
+ "text_format": "latex",
828
+ "bbox": [
829
+ 186,
830
+ 239,
831
+ 487,
832
+ 272
833
+ ],
834
+ "page_idx": 5
835
+ },
836
+ {
837
+ "type": "text",
838
+ "text": "We multiply the original constant coefficient $\\alpha$ with a box-specific value negatively proportional to its volume. The idea is to force entities to be closer to the box center when the box has a smaller volume.",
839
+ "bbox": [
840
+ 112,
841
+ 275,
842
+ 487,
843
+ 338
844
+ ],
845
+ "page_idx": 5
846
+ },
847
+ {
848
+ "type": "text",
849
+ "text": "The cross-view module is trained by minimizing the following loss with negative sampling:",
850
+ "bbox": [
851
+ 112,
852
+ 340,
853
+ 485,
854
+ 372
855
+ ],
856
+ "page_idx": 5
857
+ },
858
+ {
859
+ "type": "equation",
860
+ "text": "\n$$\n\\mathcal {J} ^ {\\text {C r o s s}} = \\sum_ {\\substack {(e, c) \\in \\mathcal {S} \\\\ (e ^ {\\prime}, c ^ {\\prime}) \\notin \\mathcal {S}}} \\left[ \\sigma \\left(f _ {d} (e, c)\\right) - \\sigma \\left(f _ {d} \\left(e ^ {\\prime}, c ^ {\\prime}\\right)\\right) + \\gamma^ {\\text {C r o s s}} \\right], \\tag{10}\n$$\n",
861
+ "text_format": "latex",
862
+ "bbox": [
863
+ 112,
864
+ 380,
865
+ 497,
866
+ 428
867
+ ],
868
+ "page_idx": 5
869
+ },
870
+ {
871
+ "type": "text",
872
+ "text": "where $\\gamma^{\\mathrm{Cross}}$ represents a fixed scalar margin.",
873
+ "bbox": [
874
+ 112,
875
+ 429,
876
+ 450,
877
+ 445
878
+ ],
879
+ "page_idx": 5
880
+ },
881
+ {
882
+ "type": "text",
883
+ "text": "4.3 Overall Training Objective",
884
+ "text_level": 1,
885
+ "bbox": [
886
+ 112,
887
+ 456,
888
+ 371,
889
+ 470
890
+ ],
891
+ "page_idx": 5
892
+ },
893
+ {
894
+ "type": "text",
895
+ "text": "Now that we have presented all model components, the overall loss function is a linear combination of the instance-view and ontology-view KG completion loss, and the cross-view loss, as shown below:",
896
+ "bbox": [
897
+ 112,
898
+ 476,
899
+ 489,
900
+ 539
901
+ ],
902
+ "page_idx": 5
903
+ },
904
+ {
905
+ "type": "equation",
906
+ "text": "\n$$\n\\mathcal {J} = \\mathcal {J} ^ {\\mathcal {G} ^ {\\mathcal {O}}} + \\lambda_ {1} \\mathcal {J} ^ {\\mathcal {G} ^ {\\mathcal {I}}} + \\lambda_ {2} \\mathcal {J} ^ {\\text {C r o s s}}, \\tag {11}\n$$\n",
907
+ "text_format": "latex",
908
+ "bbox": [
909
+ 171,
910
+ 548,
911
+ 487,
912
+ 567
913
+ ],
914
+ "page_idx": 5
915
+ },
916
+ {
917
+ "type": "text",
918
+ "text": "where $\\lambda_1, \\lambda_2 > 0$ are two positive hyperparameters to balance the scale of the three loss terms.",
919
+ "bbox": [
920
+ 112,
921
+ 579,
922
+ 485,
923
+ 609
924
+ ],
925
+ "page_idx": 5
926
+ },
927
+ {
928
+ "type": "text",
929
+ "text": "4.4 Time Complexity Analysis",
930
+ "text_level": 1,
931
+ "bbox": [
932
+ 112,
933
+ 621,
934
+ 366,
935
+ 636
936
+ ],
937
+ "page_idx": 5
938
+ },
939
+ {
940
+ "type": "text",
941
+ "text": "The time complexity of Concept2Box is $\\mathcal{O}(3d|\\mathcal{T}^{\\mathcal{O}}| + d|\\mathcal{T}^{\\mathcal{I}}| + 5d|S|)$ , where $\\mathcal{T}^{\\mathcal{O}},\\mathcal{T}^{\\mathcal{I}},\\mathcal{S}$ are the ontology-view KG triples, instance-view KG triples, and cross-view set defined in Sec 3.1. Here $d$ is the embedding dimension of vectors. The time complexity of other vector-based methods is $\\mathcal{O}(d|\\mathcal{T}^{\\mathcal{O}}| + d|\\mathcal{T}^{\\mathcal{I}}| + d|S|)$ which is asymptotically the same as Concept2Box.",
942
+ "bbox": [
943
+ 112,
944
+ 640,
945
+ 487,
946
+ 770
947
+ ],
948
+ "page_idx": 5
949
+ },
950
+ {
951
+ "type": "text",
952
+ "text": "5 Experiments",
953
+ "text_level": 1,
954
+ "bbox": [
955
+ 112,
956
+ 781,
957
+ 258,
958
+ 797
959
+ ],
960
+ "page_idx": 5
961
+ },
962
+ {
963
+ "type": "text",
964
+ "text": "In this section, we introduce our empirical results against existing baselines to evaluate our model performance. We start with the datasets and baselines introduction and then conduct the performance evaluation. Finally, we conduct a model generalization experiment and a case study to better illustrate our model design.",
965
+ "bbox": [
966
+ 112,
967
+ 806,
968
+ 489,
969
+ 917
970
+ ],
971
+ "page_idx": 5
972
+ },
973
+ {
974
+ "type": "text",
975
+ "text": "5.1 Dataset and Baselines",
976
+ "text_level": 1,
977
+ "bbox": [
978
+ 507,
979
+ 84,
980
+ 726,
981
+ 98
982
+ ],
983
+ "page_idx": 5
984
+ },
985
+ {
986
+ "type": "text",
987
+ "text": "We conducted experiments over two datasets: one public dataset from DBpedia (Hao et al., 2019), which describes general concepts and fine-grained entities crawled from DBpedia. We also created a new recipe-related dataset, where concepts are recipes, general ingredient and utensil names, etc, and the entities are specific products for cooking each recipe searched via Amazon.com, along with some selected attributes such as brand. The detailed data structure can be found in Appendix A. The statistics of the two datasets are shown in Table 1.",
988
+ "bbox": [
989
+ 505,
990
+ 105,
991
+ 882,
992
+ 282
993
+ ],
994
+ "page_idx": 5
995
+ },
996
+ {
997
+ "type": "text",
998
+ "text": "We compare against both single-view KGE models and two-view KGE models as follows:",
999
+ "bbox": [
1000
+ 507,
1001
+ 284,
1002
+ 882,
1003
+ 313
1004
+ ],
1005
+ "page_idx": 5
1006
+ },
1007
+ {
1008
+ "type": "list",
1009
+ "sub_type": "text",
1010
+ "list_items": [
1011
+ "- Vector-based KGE models:: Single-view vector-based KGE models that represent triples as vectors, including TransE (Bordes et al., 2013), RotatE (Sun et al., 2019), DistMult (Yang et al., 2015), and ComplexE (Trouillon et al., 2016).",
1012
+ "- KGBert (Yao et al., 2020): Single-view KG embedding method which employs BERT to incorporate text information of triples.",
1013
+ "- Box4ET (Onoe et al., 2021): Single-view KGE model that represents triples using boxes.",
1014
+ "- Hyperbolic GCN (Chami et al., 2019): Single-view KGE method that represents triples in the hyperbolic space.",
1015
+ "JOIE (Hao et al., 2019): Two-view KGE method that embeds entities and concepts all as vectors."
1016
+ ],
1017
+ "bbox": [
1018
+ 507,
1019
+ 317,
1020
+ 882,
1021
+ 560
1022
+ ],
1023
+ "page_idx": 5
1024
+ },
1025
+ {
1026
+ "type": "text",
1027
+ "text": "5.2 KG Completion Performance",
1028
+ "text_level": 1,
1029
+ "bbox": [
1030
+ 507,
1031
+ 574,
1032
+ 786,
1033
+ 589
1034
+ ],
1035
+ "page_idx": 5
1036
+ },
1037
+ {
1038
+ "type": "text",
1039
+ "text": "The KG completion (KGC) task is to predict missing triples based on the learned embeddings, which helps to facilitate the knowledge learning process in KG construction. Without loss of generality, we discuss the case of predicting missing tails, which we also refer to as a query $q = (h,r,\\text {?}t)$ (Huang et al., 2022; Chen et al., 2021). We conduct the KGC task for both views against baselines.",
1040
+ "bbox": [
1041
+ 505,
1042
+ 596,
1043
+ 882,
1044
+ 724
1045
+ ],
1046
+ "page_idx": 5
1047
+ },
1048
+ {
1049
+ "type": "text",
1050
+ "text": "Evaluation Protocol. We evaluate the KGC performance using mean reciprocal ranks (MRR), accuracy (Hits@1) and the proportion of correct answers ranked within the top 10 (Hits@10). All three metrics are preferred to be higher, so as to indicate better KGC performance. For both $\\mathcal{G}^{\\mathcal{I}}$ and $\\mathcal{G}^{\\mathcal{O}}$ , we randomly split the triples into three parts: $80\\%$ for training, $10\\%$ for validation and $10\\%$ for testing. During model training and testing, we utilize all cross-view links $S$ .",
1051
+ "bbox": [
1052
+ 507,
1053
+ 726,
1054
+ 882,
1055
+ 884
1056
+ ],
1057
+ "page_idx": 5
1058
+ },
1059
+ {
1060
+ "type": "text",
1061
+ "text": "Results. The evaluation results are shown in Table 2. Firstly, by comparing the average per",
1062
+ "bbox": [
1063
+ 507,
1064
+ 887,
1065
+ 882,
1066
+ 919
1067
+ ],
1068
+ "page_idx": 5
1069
+ },
1070
+ {
1071
+ "type": "page_number",
1072
+ "text": "10110",
1073
+ "bbox": [
1074
+ 477,
1075
+ 927,
1076
+ 524,
1077
+ 940
1078
+ ],
1079
+ "page_idx": 5
1080
+ },
1081
+ {
1082
+ "type": "table",
1083
+ "img_path": "images/0887dab03b2661e7aa87989724fb8cf9d6ec0af204636fecd9323335f3fec6fb.jpg",
1084
+ "table_caption": [],
1085
+ "table_footnote": [],
1086
+ "table_body": "<table><tr><td>Dataset</td><td colspan=\"3\">Instance-View KG</td><td colspan=\"3\">Ontology-View KG</td><td>Cross-View Links</td></tr><tr><td></td><td># Entities</td><td># Relations</td><td># Triples</td><td># Concepts</td><td># Relations</td><td># Triples</td><td># Links</td></tr><tr><td>DBpedia</td><td>111,762</td><td>305</td><td>863,643</td><td>174</td><td>20</td><td>763</td><td>99,748</td></tr><tr><td>Recipe</td><td>21,457</td><td>9</td><td>200,288</td><td>32,922</td><td>5</td><td>445,632</td><td>11,474</td></tr></table>",
1087
+ "bbox": [
1088
+ 161,
1089
+ 82,
1090
+ 833,
1091
+ 145
1092
+ ],
1093
+ "page_idx": 6
1094
+ },
1095
+ {
1096
+ "type": "table",
1097
+ "img_path": "images/d3feff077c0a4fefe145212f401e18353ca8691ce88b587e98a9533d96befeb8.jpg",
1098
+ "table_caption": [
1099
+ "Table 1: Statistics of the DBpedia and Recipe datasets."
1100
+ ],
1101
+ "table_footnote": [],
1102
+ "table_body": "<table><tr><td rowspan=\"2\"></td><td colspan=\"6\">Recipe</td><td colspan=\"6\">DBpedia</td></tr><tr><td colspan=\"3\">G KG Completion</td><td colspan=\"3\">G KG Completion</td><td colspan=\"3\">G KG Completion</td><td colspan=\"3\">G KG Completion</td></tr><tr><td></td><td>MRR</td><td>H@1</td><td>H@10</td><td>MRR</td><td>H@1</td><td>H@10</td><td>MRR</td><td>H@1</td><td>H@10</td><td>MRR</td><td>H@1</td><td>H@10</td></tr><tr><td>TransE</td><td>0.28</td><td>26.31</td><td>38.59</td><td>0.18</td><td>11.24</td><td>30.67</td><td>0.32</td><td>22.70</td><td>48.12</td><td>0.54</td><td>47.90</td><td>61.84</td></tr><tr><td>RotatE</td><td>0.30</td><td>28.31</td><td>40.01</td><td>0.22</td><td>15.68</td><td>35.47</td><td>0.36</td><td>29.31</td><td>54.60</td><td>0.56</td><td>49.16</td><td>68.19</td></tr><tr><td>DistMult</td><td>0.29</td><td>27.33</td><td>39.04</td><td>0.18</td><td>12.37</td><td>32.04</td><td>0.28</td><td>27.24</td><td>29.70</td><td>0.50</td><td>45.52</td><td>64.73</td></tr><tr><td>ComplexE</td><td>0.27</td><td>26.58</td><td>37.99</td><td>0.19</td><td>14.76</td><td>34.02</td><td>0.32</td><td>27.39</td><td>46.63</td><td>0.55</td><td>47.80</td><td>62.23</td></tr><tr><td>JOIE</td><td>0.41</td><td>29.73</td><td>60.14</td><td>0.36</td><td>22.58</td><td>53.62</td><td>0.48</td><td>35.21</td><td>72.38</td><td>0.60</td><td>52.48</td><td>79.71</td></tr><tr><td>Hyperbolic GCN</td><td>0.36</td><td>28.58</td><td>52.48</td><td>0.25</td><td>16.04</td><td>40.35</td><td>0.30</td><td>33.68</td><td>46.72</td><td>0.54</td><td>47.59</td><td>62.11</td></tr><tr><td>KG-Bert</td><td>0.30</td><td>29.92</td><td>51.32</td><td>0.24</td><td>19.04</td><td>38.78</td><td>0.39</td><td>31.10</td><td>60.46</td><td>0.63</td><td>55.69</td><td>81.07</td></tr><tr><td>Box4ET</td><td>0.42</td><td>28.81</td><td>59.88</td><td>0.35</td><td>23.01</td><td>53.79</td><td>0.42</td><td>33.69</td><td>68.12</td><td>0.64</td><td>55.89</td><td>81.45</td></tr><tr><td>Concept2Box</td><td>0.44</td><td>30.33</td><td>62.01</td><td>0.37</td><td>23.16</td><td>54.92</td><td>0.51</td><td>36.52</td><td>73.11</td><td>0.65</td><td>56.82</td><td>83.01</td></tr></table>",
1103
+ "bbox": [
1104
+ 115,
1105
+ 184,
1106
+ 882,
1107
+ 356
1108
+ ],
1109
+ "page_idx": 6
1110
+ },
1111
+ {
1112
+ "type": "text",
1113
+ "text": "formance between single-view and two-view KG models, we can observe that two-view methods are able to achieve better results for the KGC task. This indicates that the intuition behind modeling two-view KGs to conduct KG completion is indeed beneficial. Secondly, by comparing vector-based methods with other geometric representation-based methods such as Hyperbolic GCN, there is a performance improvement on most metrics, indicating that simple vector representations have its limitation, especially in capturing the hierarchical structure among concepts (shown by the larger performance gap in $\\mathcal{G}^{\\mathcal{O}}$ ). Our Concept2Box is able to achieve higher performance in most cases, verifying the effectiveness of our design.",
1114
+ "bbox": [
1115
+ 112,
1116
+ 406,
1117
+ 489,
1118
+ 646
1119
+ ],
1120
+ "page_idx": 6
1121
+ },
1122
+ {
1123
+ "type": "text",
1124
+ "text": "5.3 Concept Linking Performance",
1125
+ "text_level": 1,
1126
+ "bbox": [
1127
+ 112,
1128
+ 657,
1129
+ 400,
1130
+ 671
1131
+ ],
1132
+ "page_idx": 6
1133
+ },
1134
+ {
1135
+ "type": "text",
1136
+ "text": "The concept linking task predicts the associating concepts of given entities, where each entity can be potentially mapped to multiple concepts. It tests the quality of the learned embeddings.",
1137
+ "bbox": [
1138
+ 112,
1139
+ 677,
1140
+ 487,
1141
+ 741
1142
+ ],
1143
+ "page_idx": 6
1144
+ },
1145
+ {
1146
+ "type": "text",
1147
+ "text": "Evaluation Protocol. We split the cross-view links $S$ into $80\\%$ , $10\\%$ , $10\\%$ for training, validation, testing respectively. We utilize all the triples in both views for training and testing. For each concept-entity pair, we rank all concept candidates for the given entity based on the distance metric from a box to a vector introduced in Sec 4.2, and report MRR, Hits@1 and Hits@3 for evaluation.",
1148
+ "bbox": [
1149
+ 112,
1150
+ 741,
1151
+ 487,
1152
+ 869
1153
+ ],
1154
+ "page_idx": 6
1155
+ },
1156
+ {
1157
+ "type": "text",
1158
+ "text": "Results. The evaluation results are shown in Table 3. We can see that Concept2Box is able to achieve the highest performance across most",
1159
+ "bbox": [
1160
+ 112,
1161
+ 871,
1162
+ 487,
1163
+ 917
1164
+ ],
1165
+ "page_idx": 6
1166
+ },
1167
+ {
1168
+ "type": "text",
1169
+ "text": "metrics, indicating its effectiveness. By comparing with Box4ET where both entities and concepts are modeled as boxes, our Concept2Box performs better, which indicates our intuition that entities and concepts are indeed two fundamentally different types of nodes and should be modeled with different geometric objects. Finally, we observe that Box4ET, and Concept2Box are able to surpass methods that are not using box embeddings, which shows the advantage of box embeddings in learning the hierarchical structure and complex behaviors of concepts with varying granularity.",
1170
+ "bbox": [
1171
+ 507,
1172
+ 406,
1173
+ 884,
1174
+ 599
1175
+ ],
1176
+ "page_idx": 6
1177
+ },
1178
+ {
1179
+ "type": "table",
1180
+ "img_path": "images/659ecc02ba807238ee63c03ba84e3e08b32b91ff6ab1d35805812fe53f68350f.jpg",
1181
+ "table_caption": [
1182
+ "Table 2: Results of KG completion task. Best results are bold-faced"
1183
+ ],
1184
+ "table_footnote": [],
1185
+ "table_body": "<table><tr><td rowspan=\"2\">Datasets Metrics</td><td colspan=\"3\">Recipe</td><td colspan=\"3\">DBPedia</td></tr><tr><td>MRR</td><td>Acc.</td><td>Hit@3</td><td>MRR</td><td>Acc.</td><td>Hit@3</td></tr><tr><td>TransE</td><td>0.23</td><td>21.36</td><td>30.68</td><td>0.53</td><td>43.67</td><td>60.78</td></tr><tr><td>RotatE</td><td>0.25</td><td>23.01</td><td>33.34</td><td>0.72</td><td>61.48</td><td>75.67</td></tr><tr><td>DistMult</td><td>0.24</td><td>22.34</td><td>31.05</td><td>0.55</td><td>49.83</td><td>68.01</td></tr><tr><td>ComplexE</td><td>0.22</td><td>22.50</td><td>31.45</td><td>0.58</td><td>55.07</td><td>70.17</td></tr><tr><td>JOIE</td><td>0.57</td><td>54.58</td><td>66.39</td><td>0.85</td><td>75.58</td><td>96.02</td></tr><tr><td>Hyper. GCN</td><td>0.60</td><td>53.49</td><td>67.03</td><td>0.86</td><td>76.11</td><td>96.50</td></tr><tr><td>Box4ET</td><td>0.59</td><td>54.36</td><td>68.88</td><td>0.88</td><td>77.04</td><td>97.38</td></tr><tr><td>Concept2Box</td><td>0.61</td><td>55.33</td><td>69.01</td><td>0.87</td><td>78.09</td><td>97.44</td></tr></table>",
1186
+ "bbox": [
1187
+ 510,
1188
+ 612,
1189
+ 895,
1190
+ 715
1191
+ ],
1192
+ "page_idx": 6
1193
+ },
1194
+ {
1195
+ "type": "text",
1196
+ "text": "Table 3: Results of concept linking task.",
1197
+ "bbox": [
1198
+ 557,
1199
+ 726,
1200
+ 831,
1201
+ 740
1202
+ ],
1203
+ "page_idx": 6
1204
+ },
1205
+ {
1206
+ "type": "text",
1207
+ "text": "Abaltion Studies. To evaluate the effectiveness of our model design, we conduct an ablation study on the DBpedia dataset as shown in Table 4. First, to show the effect of joint modeling the text semantics of relations and concepts for generating the relation-transformed box embeddings as in Eqn 5, we compare with separately modeling relations as box shifting and scaling introduced in (Chen et al., 2021). The latter one gives poorer results, indicating the effectiveness of our proposed box encoder.",
1208
+ "bbox": [
1209
+ 507,
1210
+ 758,
1211
+ 885,
1212
+ 919
1213
+ ],
1214
+ "page_idx": 6
1215
+ },
1216
+ {
1217
+ "type": "page_number",
1218
+ "text": "10111",
1219
+ "bbox": [
1220
+ 477,
1221
+ 927,
1222
+ 524,
1223
+ 940
1224
+ ],
1225
+ "page_idx": 6
1226
+ },
1227
+ {
1228
+ "type": "text",
1229
+ "text": "Next, we study the effect of the volume-based balancing scalar defined in Eqn 9. Compared with a fixed balancing scalar for all boxes, Concept2Box is able to generate better results.",
1230
+ "bbox": [
1231
+ 112,
1232
+ 84,
1233
+ 489,
1234
+ 149
1235
+ ],
1236
+ "page_idx": 7
1237
+ },
1238
+ {
1239
+ "type": "table",
1240
+ "img_path": "images/3e0572db47266ad4ddf46fec07f86d5df77c0aa3e441e1b040ec6dac8f4fc6a0.jpg",
1241
+ "table_caption": [],
1242
+ "table_footnote": [],
1243
+ "table_body": "<table><tr><td rowspan=\"2\"></td><td colspan=\"3\">G^T KG Completion</td><td colspan=\"3\">G^O KG Completion</td><td colspan=\"3\">Concept Linking</td></tr><tr><td>MRR</td><td>H@1</td><td>H@10</td><td>MRR</td><td>H@1</td><td>H@10</td><td>MRR</td><td>H@1</td><td>H@3</td></tr><tr><td>Concept2Box</td><td>0.506</td><td>36.52</td><td>73.11</td><td>0.644</td><td>56.82</td><td>83.01</td><td>0.874</td><td>78.09</td><td>97.44</td></tr><tr><td>- relation shift&amp;scale</td><td>0.483</td><td>34.99</td><td>72.18</td><td>0.631</td><td>55.34</td><td>81.97</td><td>0.865</td><td>77.64</td><td>96.34</td></tr><tr><td>- fixed distance coefficient</td><td>0.479</td><td>35.13</td><td>71.88</td><td>0.635</td><td>54.98</td><td>82.33</td><td>0.854</td><td>76.91</td><td>96.13</td></tr></table>",
1244
+ "bbox": [
1245
+ 115,
1246
+ 160,
1247
+ 505,
1248
+ 231
1249
+ ],
1250
+ "page_idx": 7
1251
+ },
1252
+ {
1253
+ "type": "text",
1254
+ "text": "5.4 Model Generalization",
1255
+ "text_level": 1,
1256
+ "bbox": [
1257
+ 112,
1258
+ 281,
1259
+ 332,
1260
+ 294
1261
+ ],
1262
+ "page_idx": 7
1263
+ },
1264
+ {
1265
+ "type": "text",
1266
+ "text": "We test our model's generalization ability by training our model on the Recipe dataset and evaluating it on the concept linking task with recipe-product pairs collected from other online resources. Specifically, in the evaluation data, all products are known entities in the Recipe dataset during training, where we can directly obtain their embeddings. For recipes, only $3\\%$ of them are observed, and for unseen recipes, we generate their box embeddings by sending their title as input to the box encoder. We divide these recipe-product pairs into two groups based on whether the recipes are known. We use the first group with known recipes to test the generalization ability in the transductive setting: When test data follows a different distribution as opposed to the training data, how does the model perform? It differs from Sec 5.3 in that the test data share the same distribution with the training data as we randomly split them from the same dataset. We use the second group with unknown recipes to test in the inductive setting: When unknown concepts are sent as input, how does the model perform?",
1267
+ "bbox": [
1268
+ 112,
1269
+ 302,
1270
+ 489,
1271
+ 655
1272
+ ],
1273
+ "page_idx": 7
1274
+ },
1275
+ {
1276
+ "type": "text",
1277
+ "text": "Diversity-Aware Evaluation. To verify our learned embeddings can capture complex relations and hierarchy structure among concepts, we use diversity-aware evaluation for the generalization experiment similar to that in (Hao et al., 2020). The idea is that for each recipe, a more preferred ranking list is one consisting of products from multiple necessary ingredients, instead of the one with products all from one ingredient. Since we model",
1278
+ "bbox": [
1279
+ 112,
1280
+ 657,
1281
+ 489,
1282
+ 802
1283
+ ],
1284
+ "page_idx": 7
1285
+ },
1286
+ {
1287
+ "type": "table",
1288
+ "img_path": "images/7488292c3da6a56b51a6179f97238827eb311c3f20054a7c295719d3962f1be6.jpg",
1289
+ "table_caption": [
1290
+ "Table 4: Results of ablation study on DBpedia."
1291
+ ],
1292
+ "table_footnote": [],
1293
+ "table_body": "<table><tr><td></td><td colspan=\"3\">Known Recipes</td><td colspan=\"3\">Unknown Recipes</td></tr><tr><td># types *</td><td>10*12</td><td>12*10</td><td>24*5</td><td>10*12</td><td>12*10</td><td>24*5</td></tr><tr><td># items</td><td></td><td></td><td></td><td></td><td></td><td></td></tr><tr><td>JOIE</td><td>68.33</td><td>69.17</td><td>68.45</td><td>57.34</td><td>57.56</td><td>56.38</td></tr><tr><td>Concept2Box</td><td>71.97</td><td>73.33</td><td>69.43</td><td>61.32</td><td>66.77</td><td>59.68</td></tr></table>",
1294
+ "bbox": [
1295
+ 117,
1296
+ 822,
1297
+ 492,
1298
+ 890
1299
+ ],
1300
+ "page_idx": 7
1301
+ },
1302
+ {
1303
+ "type": "text",
1304
+ "text": "Table 5: H@120 with different number of item types.",
1305
+ "bbox": [
1306
+ 117,
1307
+ 898,
1308
+ 480,
1309
+ 914
1310
+ ],
1311
+ "page_idx": 7
1312
+ },
1313
+ {
1314
+ "type": "text",
1315
+ "text": "recipes and ingredients as concepts, and products as entities, for each recipe, we first extract its top $K$ ingredients (types) from $\\mathcal{G}^{\\mathcal{O}}$ , and then for each of the $K$ ingredient we extract the top $M$ products (items). We set $M \\times K = 120$ and let $K = 10, 12, 24$ .",
1316
+ "bbox": [
1317
+ 507,
1318
+ 84,
1319
+ 884,
1320
+ 162
1321
+ ],
1322
+ "page_idx": 7
1323
+ },
1324
+ {
1325
+ "type": "text",
1326
+ "text": "Results. Table 5 shows the results of H@120 among two-view KGE methods. We can see that Concept2Box is able to achieve the best across different settings, showing its great generalization ability. Note that when changing the number of types, Concept2Box is able to bring more performance gain than JOIE. This can be understood as the hierarchy structure of concepts is well captured by the box embeddings, when properly selecting the number of types, we first narrow down the concept (recipe) to the set of related concepts (ingredients) for a better understanding, which will generate better results.",
1327
+ "bbox": [
1328
+ 507,
1329
+ 165,
1330
+ 884,
1331
+ 375
1332
+ ],
1333
+ "page_idx": 7
1334
+ },
1335
+ {
1336
+ "type": "text",
1337
+ "text": "5.5 Case Study",
1338
+ "text_level": 1,
1339
+ "bbox": [
1340
+ 507,
1341
+ 388,
1342
+ 645,
1343
+ 404
1344
+ ],
1345
+ "page_idx": 7
1346
+ },
1347
+ {
1348
+ "type": "text",
1349
+ "text": "We conduct a case study to investigate the semantic meaning of learned box embeddings of concepts. We select recipe concepts and show the top 3 concepts that have the largest intersection with them after the relation transformation of \"using ingredients\". As shown in Figure 3, the dominant ingredients for each recipe are at the top of the list, verifying the effectiveness of Concept2Box. Also, we found that Egyptian lentil Soup has a larger intersection with Black Rice Pudding than with Thai Iced Tea, since the first two are dishes with more similarities and the third one is beverage. We also examine the box volume of concepts which reflects their granularity. Among ingredient concepts, we observe that Water, Sugar, and Rice are of the largest volumes, indicating they are common ingredients shared across recipes. This observation confirms that the box volume effectively represents probabilistic semantics, which we believe to be a reason for the performance improvement.",
1350
+ "bbox": [
1351
+ 507,
1352
+ 410,
1353
+ 884,
1354
+ 733
1355
+ ],
1356
+ "page_idx": 7
1357
+ },
1358
+ {
1359
+ "type": "text",
1360
+ "text": "6 Conclusion",
1361
+ "text_level": 1,
1362
+ "bbox": [
1363
+ 507,
1364
+ 747,
1365
+ 643,
1366
+ 762
1367
+ ],
1368
+ "page_idx": 7
1369
+ },
1370
+ {
1371
+ "type": "text",
1372
+ "text": "In this paper, we propose Concept2Box, a novel two-view knowledge graph embedding method with dual geometric representations. We model high-level concepts as boxes to capture the hierarchical structure and complex relations among them and reflect concept granularity based on box volumes. For the instance-view KG, we model fine-grained entities as vectors and propose a novel metric function to define the distance between a",
1373
+ "bbox": [
1374
+ 507,
1375
+ 774,
1376
+ 884,
1377
+ 917
1378
+ ],
1379
+ "page_idx": 7
1380
+ },
1381
+ {
1382
+ "type": "page_number",
1383
+ "text": "10112",
1384
+ "bbox": [
1385
+ 477,
1386
+ 927,
1387
+ 524,
1388
+ 940
1389
+ ],
1390
+ "page_idx": 7
1391
+ },
1392
+ {
1393
+ "type": "image",
1394
+ "img_path": "images/1a14d75361ebfdeedc8962417da938c8343cecd24d2d2426ed6062913eecd24b.jpg",
1395
+ "image_caption": [
1396
+ "Egyptian Lentil Soup:"
1397
+ ],
1398
+ "image_footnote": [],
1399
+ "bbox": [
1400
+ 136,
1401
+ 90,
1402
+ 295,
1403
+ 204
1404
+ ],
1405
+ "page_idx": 8
1406
+ },
1407
+ {
1408
+ "type": "text",
1409
+ "text": "Water (0.891)",
1410
+ "bbox": [
1411
+ 131,
1412
+ 244,
1413
+ 226,
1414
+ 256
1415
+ ],
1416
+ "page_idx": 8
1417
+ },
1418
+ {
1419
+ "type": "text",
1420
+ "text": "Red Lentil (0.864)",
1421
+ "bbox": [
1422
+ 132,
1423
+ 256,
1424
+ 250,
1425
+ 269
1426
+ ],
1427
+ "page_idx": 8
1428
+ },
1429
+ {
1430
+ "type": "text",
1431
+ "text": "Rom Tomato (0.776)",
1432
+ "bbox": [
1433
+ 132,
1434
+ 269,
1435
+ 267,
1436
+ 281
1437
+ ],
1438
+ "page_idx": 8
1439
+ },
1440
+ {
1441
+ "type": "image",
1442
+ "img_path": "images/c082caf89532b9eb8bc5d98b31a311ef0216f27ae598302532dabb29c103ef86.jpg",
1443
+ "image_caption": [
1444
+ "Black Rice Pudding:"
1445
+ ],
1446
+ "image_footnote": [],
1447
+ "bbox": [
1448
+ 315,
1449
+ 91,
1450
+ 473,
1451
+ 204
1452
+ ],
1453
+ "page_idx": 8
1454
+ },
1455
+ {
1456
+ "type": "text",
1457
+ "text": "Black Rice (0.765)",
1458
+ "bbox": [
1459
+ 319,
1460
+ 243,
1461
+ 443,
1462
+ 256
1463
+ ],
1464
+ "page_idx": 8
1465
+ },
1466
+ {
1467
+ "type": "text",
1468
+ "text": "White Rice (0.632)",
1469
+ "bbox": [
1470
+ 321,
1471
+ 256,
1472
+ 443,
1473
+ 269
1474
+ ],
1475
+ "page_idx": 8
1476
+ },
1477
+ {
1478
+ "type": "text",
1479
+ "text": "Palm Sugar (0.618)",
1480
+ "bbox": [
1481
+ 321,
1482
+ 269,
1483
+ 448,
1484
+ 282
1485
+ ],
1486
+ "page_idx": 8
1487
+ },
1488
+ {
1489
+ "type": "image",
1490
+ "img_path": "images/96de4f75c98742fed16c6bca9f4d8d9fbc111081922fcc1acd2504c1aea358eb.jpg",
1491
+ "image_caption": [
1492
+ "Thai Iced Tea:"
1493
+ ],
1494
+ "image_footnote": [],
1495
+ "bbox": [
1496
+ 494,
1497
+ 91,
1498
+ 653,
1499
+ 203
1500
+ ],
1501
+ "page_idx": 8
1502
+ },
1503
+ {
1504
+ "type": "text",
1505
+ "text": "Water (0.904)",
1506
+ "bbox": [
1507
+ 504,
1508
+ 244,
1509
+ 596,
1510
+ 256
1511
+ ],
1512
+ "page_idx": 8
1513
+ },
1514
+ {
1515
+ "type": "text",
1516
+ "text": "Black Tea Leaf (0.811)",
1517
+ "bbox": [
1518
+ 504,
1519
+ 256,
1520
+ 650,
1521
+ 269
1522
+ ],
1523
+ "page_idx": 8
1524
+ },
1525
+ {
1526
+ "type": "text",
1527
+ "text": "White Sugar (0.674)",
1528
+ "bbox": [
1529
+ 504,
1530
+ 269,
1531
+ 638,
1532
+ 282
1533
+ ],
1534
+ "page_idx": 8
1535
+ },
1536
+ {
1537
+ "type": "image",
1538
+ "img_path": "images/53c1225ed2d887cb7ecaff06cd74cfcb63db1b5df19bea3384fa86c8be04eedf.jpg",
1539
+ "image_caption": [
1540
+ "Marrakesh Vegetable Curry:",
1541
+ "Figure 3: Case Study on the Recipe Dataset."
1542
+ ],
1543
+ "image_footnote": [],
1544
+ "bbox": [
1545
+ 682,
1546
+ 91,
1547
+ 843,
1548
+ 203
1549
+ ],
1550
+ "page_idx": 8
1551
+ },
1552
+ {
1553
+ "type": "text",
1554
+ "text": "Potato (0.881)",
1555
+ "bbox": [
1556
+ 678,
1557
+ 244,
1558
+ 773,
1559
+ 256
1560
+ ],
1561
+ "page_idx": 8
1562
+ },
1563
+ {
1564
+ "type": "text",
1565
+ "text": "Eggplant (0.764)",
1566
+ "bbox": [
1567
+ 678,
1568
+ 256,
1569
+ 788,
1570
+ 269
1571
+ ],
1572
+ "page_idx": 8
1573
+ },
1574
+ {
1575
+ "type": "text",
1576
+ "text": "Green Bell Pepper (0.653)",
1577
+ "bbox": [
1578
+ 678,
1579
+ 269,
1580
+ 850,
1581
+ 282
1582
+ ],
1583
+ "page_idx": 8
1584
+ },
1585
+ {
1586
+ "type": "text",
1587
+ "text": "box to a vector to bridge the semantics of the two views. Concept2Box is jointly trained to model the instance-view KG, the ontology-view KG, and the cross-view links. Empirical experiment results on two real-world datasets including a newly-created recipe dataset verify the effectiveness of Concept2Box.",
1588
+ "bbox": [
1589
+ 112,
1590
+ 325,
1591
+ 489,
1592
+ 437
1593
+ ],
1594
+ "page_idx": 8
1595
+ },
1596
+ {
1597
+ "type": "text",
1598
+ "text": "7 Limitations",
1599
+ "text_level": 1,
1600
+ "bbox": [
1601
+ 112,
1602
+ 460,
1603
+ 250,
1604
+ 474
1605
+ ],
1606
+ "page_idx": 8
1607
+ },
1608
+ {
1609
+ "type": "text",
1610
+ "text": "Our model is developed to tackle the structural difference between the ontology and instance views of a KG. However, many modern KGs are multilingual, where different portions of a KG may not only differ in structure but also differ in the text semantics. How to jointly capture these differences remain unsolved. Also since box embeddings naturally provide interpretability to the granularity of the learned concepts, how to use the current model to discover unknown concepts from these embeddings is also challenging.",
1611
+ "bbox": [
1612
+ 112,
1613
+ 493,
1614
+ 489,
1615
+ 671
1616
+ ],
1617
+ "page_idx": 8
1618
+ },
1619
+ {
1620
+ "type": "text",
1621
+ "text": "8 Ethical Impact",
1622
+ "text_level": 1,
1623
+ "bbox": [
1624
+ 112,
1625
+ 692,
1626
+ 278,
1627
+ 709
1628
+ ],
1629
+ "page_idx": 8
1630
+ },
1631
+ {
1632
+ "type": "text",
1633
+ "text": "Our paper proposed Concept2Box, a novel two-view knowledge graph embedding model with dual geometric representations. Concept2Box neither introduces any social/ethical bias to the model nor amplifies any bias in the data. For the created recipe dataset, we did not include any customers'/sellers' personal information and only preserved information related to products' attributes and their relations. Our model implementation is built upon public libraries in Pytorch. Therefore, was e do not foresee any direct social consequences or ethical issues.",
1634
+ "bbox": [
1635
+ 112,
1636
+ 726,
1637
+ 490,
1638
+ 917
1639
+ ],
1640
+ "page_idx": 8
1641
+ },
1642
+ {
1643
+ "type": "text",
1644
+ "text": "9 Acknowledgement",
1645
+ "text_level": 1,
1646
+ "bbox": [
1647
+ 507,
1648
+ 324,
1649
+ 702,
1650
+ 341
1651
+ ],
1652
+ "page_idx": 8
1653
+ },
1654
+ {
1655
+ "type": "text",
1656
+ "text": "This work was partially supported by NSF 1829071, 2106859, 2200274, 2211557, 1937599, 2119643, 2303037, DARPA #HR00112290103/HR0011260656, NASA,",
1657
+ "bbox": [
1658
+ 507,
1659
+ 350,
1660
+ 884,
1661
+ 414
1662
+ ],
1663
+ "page_idx": 8
1664
+ },
1665
+ {
1666
+ "type": "text",
1667
+ "text": "Amazon Research Awards, and an NEC research award.",
1668
+ "bbox": [
1669
+ 507,
1670
+ 414,
1671
+ 882,
1672
+ 445
1673
+ ],
1674
+ "page_idx": 8
1675
+ },
1676
+ {
1677
+ "type": "text",
1678
+ "text": "References",
1679
+ "text_level": 1,
1680
+ "bbox": [
1681
+ 510,
1682
+ 473,
1683
+ 608,
1684
+ 488
1685
+ ],
1686
+ "page_idx": 8
1687
+ },
1688
+ {
1689
+ "type": "list",
1690
+ "sub_type": "ref_text",
1691
+ "list_items": [
1692
+ "Kurt Bollacker, Colin Evans, Praveen Paritosh, Tim Sturge, and Jamie Taylor. 2008. Freebase: A collaboratively created graph database for structuring human knowledge. In Proceedings of the 2008 ACM SIGMOD International Conference on Management of Data, SIGMOD '08, page 1247-1250.",
1693
+ "Antoine Bordes, Nicolas Usunier, Alberto Garcia-Durán, Jason Weston, and Oksana Yakhnenko. 2013. Translating embeddings for modeling multi-relational data. In Proceedings of the 26th International Conference on Neural Information Processing Systems - Volume 2, page 2787-2795.",
1694
+ "Ines Chami, Zhitao Ying, Christopher Ré, and Jure Leskovec. 2019. Hyperbolic graph convolutional neural networks. In Advances in Neural Information Processing Systems, pages 4869-4880.",
1695
+ "Xuelu Chen, Michael Boratko, Muhao Chen, Shib Sankar Dasgupta, Xiang Lorraine Li, and Andrew McCallum. 2021. Probabilistic box embeddings for uncertain knowledge graph reasoning. In Proceedings of the 19th Annual Conference of the North American Chapter of the Association for Computational Linguistics (NAACL).",
1696
+ "Xuelu Chen, Muhao Chen, Changjun Fan, Ankith Uppunda, Yizhou Sun, and Carlo Zaniolo. 2020. Multilingual knowledge graph completion via ensemble knowledge transfer. In Proceedings of the 2020 Conference on Empirical Methods in Natural Language Processing: Findings, pages 3227-3238."
1697
+ ],
1698
+ "bbox": [
1699
+ 509,
1700
+ 495,
1701
+ 884,
1702
+ 917
1703
+ ],
1704
+ "page_idx": 8
1705
+ },
1706
+ {
1707
+ "type": "page_number",
1708
+ "text": "10113",
1709
+ "bbox": [
1710
+ 477,
1711
+ 927,
1712
+ 524,
1713
+ 940
1714
+ ],
1715
+ "page_idx": 8
1716
+ },
1717
+ {
1718
+ "type": "list",
1719
+ "sub_type": "ref_text",
1720
+ "list_items": [
1721
+ "Shib Dasgupta, Michael Boratko, Dongxu Zhang, Luke Vilnis, Xiang Li, and Andrew McCallum. 2020. Improving local identifiability in probabilistic box embeddings. Advances in Neural Information Processing Systems, 33:182-192.",
1722
+ "Tim Dettmers, Minervini Pasquale, Stenetorp Pontus, and Sebastian Riedel. 2018. Convolutional 2d knowledge graph embeddings. In Proceedings of the 32th AAAI Conference on Artificial Intelligence, pages 1811-1818.",
1723
+ "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.",
1724
+ "Octavian Ganea, Gary Bécigneul, and Thomas Hofmann. 2018. Hyperbolic entailment cones for learning hierarchical embeddings. In International Conference on Machine Learning, pages 1646-1655. PMLR.",
1725
+ "Junheng Hao, Muhao Chen, Wenchao Yu, Yizhou Sun, and Wei Wang. 2019. Universal representation learning of knowledge bases by jointly embedding instances and ontological concepts. In Proceedings of the 25th ACM SIGKDD International Conference on Knowledge Discovery and Data Mining, KDD '19, page 1709-1719.",
1726
+ "Junheng Hao, Tong Zhao, Jin Li, Xin Luna Dong, Christos Faloutsos, Yizhou Sun, and Wei Wang. 2020. P-companion: A principled framework for diversified complementary product recommendation. In Proceedings of the 29th ACM International Conference on Information Knowledge Management, CIKM '20, page 2517-2524.",
1727
+ "Zijie Huang, Zheng Li, Haoming Jiang, Tianyu Cao, Hanqing Lu, Bing Yin, Karthik Subbian, Yizhou Sun, and Wei Wang. 2022. Multilingual knowledge graph completion with self-supervised adaptive graph alignment. In Annual Meeting of the Association for Computational Linguistics (ACL).",
1728
+ "Zijie Huang, Yizhou Sun, and Wei Wang. 2020. Learning continuous system dynamics from irregularly-sampled partial observations. In Advances in Neural Information Processing Systems.",
1729
+ "Zijie Huang, Yizhou Sun, and Wei Wang. 2021. Coupled graph ode for learning interacting system dynamics. In Proceedings of the 27th ACM SIGKDD Conference on Knowledge Discovery and Data Mining.",
1730
+ "Roshni G. Iyer, Yunsheng Bai, Wei Wang, and Yizhou Sun. 2022. Dual-geometric space embedding model for two-view knowledge graphs. In Proceedings"
1731
+ ],
1732
+ "bbox": [
1733
+ 115,
1734
+ 85,
1735
+ 489,
1736
+ 917
1737
+ ],
1738
+ "page_idx": 9
1739
+ },
1740
+ {
1741
+ "type": "list",
1742
+ "sub_type": "ref_text",
1743
+ "list_items": [
1744
+ "of the 28th ACM SIGKDD Conference on Knowledge Discovery and Data Mining, KDD '22, page 676-686.",
1745
+ "Amin Javari, Zhankui He, Zijie Huang, Raj Jeetu, and Kevin Chen-Chuan Chang. 2020. Weakly supervised attention for hashtag recommendation using graph data. In Proceedings of The Web Conference 2020, WWW '20.",
1746
+ "Diederik P Kingma and Jimmy Ba. 2014. Adam: A method for stochastic optimization. In International Conference on Learning Representations.",
1747
+ "Jens Lehmann, Robert Isele, Max Jakob, Anja Jentzsch, Dimitris Kontokostas, Pablo N Mendes, Sebastian Hellmann, Mohamed Morsey, Patrick Van Kleef, and Soren Auer. 2015. Dbpedia-a large-scale, multilingual knowledge base extracted from wikipedia. In Semantic Web, pages 167-195.",
1748
+ "Bill Yuchen Lin, Haitian Sun, Bhuwan Dhingra, Manzil Zaheer, Xiang Ren, and William Cohen. 2021. Differentiable open-ended commonsense reasoning. In Proceedings of the 2021 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, pages 4611-4625.",
1749
+ "Boris Muzellec and Marco Cuturi. 2018. Generalizing point embeddings using the wasserstein space of elliptical distributions. NIPS'18, page 10258-10269.",
1750
+ "Maximillian Nickel and Douwe Kiela. 2017. Poincaré embeddings for learning hierarchical representations. Advances in neural information processing systems, 30.",
1751
+ "Yasumasa Onoe, Michael Boratko, Andrew McCallum, and Greg Durrett. 2021. Modeling fine-grained entity types with box embeddings. In ACL.",
1752
+ "Hongyu Ren, Weihua Hu, and Jure Leskovec. 2020. Query2box: Reasoning over knowledge graphs in vector space using box embeddings. In International Conference on Learning Representations.",
1753
+ "Zhiqing Sun, Zhi-Hong Deng, Jian-Yun Nie, and Jian Tang. 2019. Rotate: Knowledge graph embedding by relational rotation in complex space. In International Conference on Learning Representations.",
1754
+ "Théo Trouillon, Johannes Welbl, Sebastian Riedel, Éric Gaussier, and Guillaume Bouchard. 2016. Complex embeddings for simple link prediction. In Proceedings of the 33rd International Conference on International Conference on Machine Learning - Volume 48, ICML'16, page 2071-2080. JMLR.org.",
1755
+ "Luke Vilnis, Xiang Lorraine Li, Shikhar Murty, and Andrew McCallum. 2018. Probabilistic embedding of knowledge graphs with box lattice measures. In ACL."
1756
+ ],
1757
+ "bbox": [
1758
+ 510,
1759
+ 85,
1760
+ 880,
1761
+ 917
1762
+ ],
1763
+ "page_idx": 9
1764
+ },
1765
+ {
1766
+ "type": "page_number",
1767
+ "text": "10114",
1768
+ "bbox": [
1769
+ 477,
1770
+ 928,
1771
+ 524,
1772
+ 940
1773
+ ],
1774
+ "page_idx": 9
1775
+ },
1776
+ {
1777
+ "type": "list",
1778
+ "sub_type": "ref_text",
1779
+ "list_items": [
1780
+ "Ruijie Wang, Zijie Huang, Shengzhong Liu, Hua-jie Shao, Dongxin Liu, Jinyang Li, Tianshi Wang, Dachun Sun, Shuochao Yao, and Tarek Abdelzaher. 2021a. Dydiff-vae: A dynamic variational framework for information diffusion prediction. In SIGIR'21.",
1781
+ "Shen Wang, Xiaokai Wei, Cicero Nogueira Nogueira dos Santos, Zhiguo Wang, Ramesh Nallapati, Andrew Arnold, Bing Xiang, Philip S. Yu, and Isabel F. Cruz. 2021b. Mixed-curvature multi-relational graph neural network for knowledge graph completion. In Proceedings of the Web Conference 2021, WWW '21, page 1761-1771.",
1782
+ "Shen Wang, Xiaokai Wei, Cicero Nogueira Nogueira dos Santos, Zhiguo Wang, Ramesh Nallapati, Andrew Arnold, Bing Xiang, Philip S Yu, and Isabel F Cruz. 2021c. Mixed-curvature multi-relational graph neural network for knowledge graph completion. In Proceedings of the Web Conference 2021, pages 1761-1771.",
1783
+ "Zhen Wang, Jianwen Zhang, Jianlin Feng, and Zheng Chen. 2014. Knowledge graph embedding by translating on hyperplanes. Proceedings of the 28th AAAI Conference on Artificial Intelligence, 28.",
1784
+ "Bishan Yang, Wen-tau Yih, Xiaodong He, Jianfeng Gao, and Li Deng. 2015. Embedding entities and relations for learning and inference in knowledge bases. In International Conference on Learning Representations (ICLR).",
1785
+ "Liang Yao, Chengsheng Mao, and Yuan Luo. 2020. Kgbert: Bert for knowledge graph completion. Proceedings of the Thirty-Fourth AAAI Conference on Artificial Intelligence.",
1786
+ "Michihiro Yasunaga, Hongyu Ren, Antoine Bosselut, Percy Liang, and Jure Leskovec. 2021. Qa-gnn: Reasoning with language models and knowledge graphs for question answering. In North American Chapter of the Association for Computational Linguistics (NAACL).",
1787
+ "Zhao Zhang, Fuzhen Zhuang, Hengshu Zhu, Zhiping Shi, Hui Xiong, and Qing He. 2020. Relational graph neural network with hierarchical attention for knowledge graph completion. Proceedings of the AAAI Conference on Artificial Intelligence, pages 9612-9619."
1788
+ ],
1789
+ "bbox": [
1790
+ 115,
1791
+ 85,
1792
+ 489,
1793
+ 746
1794
+ ],
1795
+ "page_idx": 10
1796
+ },
1797
+ {
1798
+ "type": "text",
1799
+ "text": "A Data Construction",
1800
+ "text_level": 1,
1801
+ "bbox": [
1802
+ 509,
1803
+ 83,
1804
+ 709,
1805
+ 98
1806
+ ],
1807
+ "page_idx": 10
1808
+ },
1809
+ {
1810
+ "type": "text",
1811
+ "text": "We introduce the data generation process of the Recipe dataset. The overall data structure is depicted in Fig 4. For the ontology-view KG, concepts consist of recipes, ingredients, and utensils for cooking them and their associated types. Dietary styles and regions where each recipe originated from are also considered concepts. We obtain these high-level recipe-related concepts from recipeDB with some data cleaning procedures. Triples in the ontology-view KG describe the connectivity among these concepts such as (Kungpao Chicken, useingredient, Chicken Breast), (Salt, is_of_ingredient_type, Additive).",
1812
+ "bbox": [
1813
+ 507,
1814
+ 109,
1815
+ 884,
1816
+ 318
1817
+ ],
1818
+ "page_idx": 10
1819
+ },
1820
+ {
1821
+ "type": "text",
1822
+ "text": "For the instance-view KG, entities are real ingredient and utensil products sold on Amazon.com by searching their corresponding concept names (ingredient and utensil names) as keywords. For each ingredient and utensil name, we select the top 10 matched products as entities in the instance-view KG. Afterward, we manually select 8 representative attributes such as flavor and brand, that are commonly shared by these products as additional entities in the instance-view KG, to provide more knowledge for the embedding learning process. The triples in the instance-view KG describe facts connecting a product to its attributes.",
1823
+ "bbox": [
1824
+ 507,
1825
+ 319,
1826
+ 884,
1827
+ 527
1828
+ ],
1829
+ "page_idx": 10
1830
+ },
1831
+ {
1832
+ "type": "text",
1833
+ "text": "B Implementation Details.",
1834
+ "text_level": 1,
1835
+ "bbox": [
1836
+ 507,
1837
+ 539,
1838
+ 754,
1839
+ 556
1840
+ ],
1841
+ "page_idx": 10
1842
+ },
1843
+ {
1844
+ "type": "text",
1845
+ "text": "We use Adam (Kingma and Ba, 2014) as the optimizer to train our model and use TransE (Bordes et al., 2013) as the KGE model for learning the instance-view KG, whose margin $\\gamma^{\\mathrm{KG}}$ is set to be 0.3. The margin for cross-view module $\\gamma^{\\mathrm{Cross}}$ is set to be 0.15. We set the latent dimensions for instance-view KG as 256, and the box dimensions for ontology-view KG as 512. We use a batch size of 128 and a learning rate $lr = 0.005$ during training.",
1846
+ "bbox": [
1847
+ 507,
1848
+ 565,
1849
+ 882,
1850
+ 725
1851
+ ],
1852
+ "page_idx": 10
1853
+ },
1854
+ {
1855
+ "type": "text",
1856
+ "text": "Instead of directly optimizing $\\mathcal{I}$ in Eqn 11, we alternately update $\\mathcal{J}^{\\mathcal{G}^{\\mathcal{O}}}$ , $\\mathcal{J}^{\\mathcal{G}^{\\mathcal{I}}}$ and $\\mathcal{J}^{\\mathrm{Cross}}$ with different learning rate. Specifically, in our implementation, we optimize with $\\theta_{new} \\gets \\theta_{old} - \\eta \\nabla \\mathcal{J}^{\\mathcal{G}^{\\mathcal{O}}}$ , $\\theta_{new} \\gets \\theta_{old} - (\\lambda_1\\eta)\\nabla \\mathcal{J}^{\\mathcal{G}^{\\mathcal{I}}}$ , $\\theta_{new} \\gets \\theta_{old} - (\\lambda_2\\eta)\\nabla \\mathcal{J}^{\\mathrm{cross}}$ in consecutive steps within one epoch, where $\\theta_{new}$ denotes our model parameters. The procedure is depicted in Algorithm 1.",
1857
+ "bbox": [
1858
+ 507,
1859
+ 726,
1860
+ 882,
1861
+ 854
1862
+ ],
1863
+ "page_idx": 10
1864
+ },
1865
+ {
1866
+ "type": "page_footnote",
1867
+ "text": "<https://cosylab.iitd.edu.in/recipientdb/>",
1868
+ "bbox": [
1869
+ 529,
1870
+ 903,
1871
+ 759,
1872
+ 917
1873
+ ],
1874
+ "page_idx": 10
1875
+ },
1876
+ {
1877
+ "type": "page_number",
1878
+ "text": "10115",
1879
+ "bbox": [
1880
+ 477,
1881
+ 927,
1882
+ 524,
1883
+ 940
1884
+ ],
1885
+ "page_idx": 10
1886
+ },
1887
+ {
1888
+ "type": "image",
1889
+ "img_path": "images/6cbe4cda457fa3bd0ca7286db4b640b3c5fc9fe94ef86863d1482cb19e20c501.jpg",
1890
+ "image_caption": [
1891
+ "Figure 4: Recipe Dataset Structure"
1892
+ ],
1893
+ "image_footnote": [],
1894
+ "bbox": [
1895
+ 144,
1896
+ 185,
1897
+ 845,
1898
+ 340
1899
+ ],
1900
+ "page_idx": 11
1901
+ },
1902
+ {
1903
+ "type": "table",
1904
+ "img_path": "images/c5c8db172f2fdf3b59bf9d9e9b9b6f23b1c468b7755f15f1b9a208dcb4fd9b4f.jpg",
1905
+ "table_caption": [],
1906
+ "table_footnote": [],
1907
+ "table_body": "<table><tr><td colspan=\"2\">Algorithm 1: Concept2Box training pro-cure.</td></tr><tr><td colspan=\"2\">Input: A two-view KG G. Output: Model parameters θ.</td></tr><tr><td>1</td><td>while model not converged do</td></tr><tr><td>2</td><td>//For the KGC loss of G&#x27;O:</td></tr><tr><td>3</td><td>Optimize the box-based KGC loss in Eqn 6:</td></tr><tr><td>4</td><td>θnew← θold - η∇G&#x27;O</td></tr><tr><td>5</td><td>//For the KGC loss of G&#x27;I:</td></tr><tr><td>6</td><td>Optimize the vector-based KGC loss in Eqn 7:</td></tr><tr><td>7</td><td>θnew← θold - (λ1η)∇G&#x27;I</td></tr><tr><td>8</td><td>//For the cross-view loss:</td></tr><tr><td>9</td><td>Optimize with the cross-view loss in Eqn 10:</td></tr><tr><td>10</td><td>θnew← θold - (λ2η)∇Jcross</td></tr><tr><td>11</td><td>end</td></tr></table>",
1908
+ "bbox": [
1909
+ 115,
1910
+ 527,
1911
+ 485,
1912
+ 822
1913
+ ],
1914
+ "page_idx": 11
1915
+ },
1916
+ {
1917
+ "type": "page_number",
1918
+ "text": "10116",
1919
+ "bbox": [
1920
+ 477,
1921
+ 927,
1922
+ 524,
1923
+ 940
1924
+ ],
1925
+ "page_idx": 11
1926
+ },
1927
+ {
1928
+ "type": "text",
1929
+ "text": "A For every submission:",
1930
+ "bbox": [
1931
+ 115,
1932
+ 107,
1933
+ 322,
1934
+ 122
1935
+ ],
1936
+ "page_idx": 12
1937
+ },
1938
+ {
1939
+ "type": "list",
1940
+ "sub_type": "text",
1941
+ "list_items": [
1942
+ "A1. Did you describe the limitations of your work? Section 7.",
1943
+ "A2. Did you discuss any potential risks of your work? No risk concerns for this work.",
1944
+ "A3. Do the abstract and introduction summarize the paper's main claims? Sec.1 for the introduction.",
1945
+ "A4. Have you used AI writing assistants when working on this paper? Left blank."
1946
+ ],
1947
+ "bbox": [
1948
+ 129,
1949
+ 126,
1950
+ 695,
1951
+ 287
1952
+ ],
1953
+ "page_idx": 12
1954
+ },
1955
+ {
1956
+ "type": "text",
1957
+ "text": "B Did you use or create scientific artifacts?",
1958
+ "bbox": [
1959
+ 114,
1960
+ 300,
1961
+ 489,
1962
+ 316
1963
+ ],
1964
+ "page_idx": 12
1965
+ },
1966
+ {
1967
+ "type": "text",
1968
+ "text": "Left blank.",
1969
+ "bbox": [
1970
+ 132,
1971
+ 321,
1972
+ 215,
1973
+ 336
1974
+ ],
1975
+ "page_idx": 12
1976
+ },
1977
+ {
1978
+ "type": "list",
1979
+ "sub_type": "text",
1980
+ "list_items": [
1981
+ "B1. Did you cite the creators of artifacts you used? No response.",
1982
+ "B2. Did you discuss the license or terms for use and / or distribution of any artifacts? No response.",
1983
+ "B3. Did you discuss if your use of existing artifact(s) was consistent with their intended use, provided that it was specified? For the artifacts you create, do you specify intended use and whether that is compatible with the original access conditions (in particular, derivatives of data accessed for research purposes should not be used outside of research contexts)? No response.",
1984
+ "B4. Did you discuss the steps taken to check whether the data that was collected / used contains any information that names or uniquely identifies individual people or offensive content, and the steps taken to protect / anonymize it? No response.",
1985
+ "B5. Did you provide documentation of the artifacts, e.g., coverage of domains, languages, and linguistic phenomena, demographic groups represented, etc.? No response.",
1986
+ "B6. Did you report relevant statistics like the number of examples, details of train / test / dev splits, etc. for the data that you used / created? Even for commonly-used benchmark datasets, include the number of examples in train / validation / test splits, as these provide necessary context for a reader to understand experimental results. For example, small differences in accuracy on large test sets may be significant, while on small test sets they may not be. No response."
1987
+ ],
1988
+ "bbox": [
1989
+ 127,
1990
+ 347,
1991
+ 880,
1992
+ 753
1993
+ ],
1994
+ "page_idx": 12
1995
+ },
1996
+ {
1997
+ "type": "text",
1998
+ "text": "C Did you run computational experiments?",
1999
+ "bbox": [
2000
+ 114,
2001
+ 764,
2002
+ 492,
2003
+ 781
2004
+ ],
2005
+ "page_idx": 12
2006
+ },
2007
+ {
2008
+ "type": "text",
2009
+ "text": "Left blank.",
2010
+ "bbox": [
2011
+ 132,
2012
+ 787,
2013
+ 213,
2014
+ 801
2015
+ ],
2016
+ "page_idx": 12
2017
+ },
2018
+ {
2019
+ "type": "text",
2020
+ "text": "C1. Did you report the number of parameters in the models used, the total computational budget (e.g., GPU hours), and computing infrastructure used? Left blank.",
2021
+ "bbox": [
2022
+ 129,
2023
+ 812,
2024
+ 880,
2025
+ 860
2026
+ ],
2027
+ "page_idx": 12
2028
+ },
2029
+ {
2030
+ "type": "text",
2031
+ "text": "The Responsible NLP Checklist used at ACL 2023 is adopted from NAACL 2022, with the addition of a question on AI writing assistance.",
2032
+ "bbox": [
2033
+ 112,
2034
+ 868,
2035
+ 877,
2036
+ 892
2037
+ ],
2038
+ "page_idx": 12
2039
+ },
2040
+ {
2041
+ "type": "header",
2042
+ "text": "ACL 2023 Responsible NLP Checklist",
2043
+ "bbox": [
2044
+ 132,
2045
+ 84,
2046
+ 433,
2047
+ 99
2048
+ ],
2049
+ "page_idx": 12
2050
+ },
2051
+ {
2052
+ "type": "page_number",
2053
+ "text": "10117",
2054
+ "bbox": [
2055
+ 477,
2056
+ 927,
2057
+ 524,
2058
+ 940
2059
+ ],
2060
+ "page_idx": 12
2061
+ },
2062
+ {
2063
+ "type": "list",
2064
+ "sub_type": "text",
2065
+ "list_items": [
2066
+ "C2. Did you discuss the experimental setup, including hyperparameter search and best-found hyperparameter values? Left blank.",
2067
+ "C3. Did you report descriptive statistics about your results (e.g., error bars around results, summary statistics from sets of experiments), and is it transparent whether you are reporting the max, mean, etc. or just a single run? Left blank.",
2068
+ "C4. If you used existing packages (e.g., for preprocessing, for normalization, or for evaluation), did you report the implementation, model, and parameter settings used (e.g., NLTK, Spacy, ROUGE, etc.)? Left blank."
2069
+ ],
2070
+ "bbox": [
2071
+ 129,
2072
+ 83,
2073
+ 878,
2074
+ 282
2075
+ ],
2076
+ "page_idx": 13
2077
+ },
2078
+ {
2079
+ "type": "text",
2080
+ "text": "D Did you use human annotators (e.g., crowdworkers) or research with human participants? Left blank.",
2081
+ "bbox": [
2082
+ 112,
2083
+ 293,
2084
+ 877,
2085
+ 330
2086
+ ],
2087
+ "page_idx": 13
2088
+ },
2089
+ {
2090
+ "type": "list",
2091
+ "sub_type": "text",
2092
+ "list_items": [
2093
+ "D1. Did you report the full text of instructions given to participants, including e.g., screenshots, disclaimers of any risks to participants or annotators, etc.? No response.",
2094
+ "D2. Did you report information about how you recruited (e.g., crowdsourcing platform, students) and paid participants, and discuss if such payment is adequate given the participants' demographic (e.g., country of residence)? No response.",
2095
+ "D3. Did you discuss whether and how consent was obtained from people whose data you're using/curating? For example, if you collected data via crowdsourcing, did your instructions to crowdworkers explain how the data would be used? No response.",
2096
+ "D4. Was the data collection protocol approved (or determined exempt) by an ethics review board? No response.",
2097
+ "D5. Did you report the basic demographic and geographic characteristics of the annotator population that is the source of the data? No response."
2098
+ ],
2099
+ "bbox": [
2100
+ 127,
2101
+ 340,
2102
+ 878,
2103
+ 640
2104
+ ],
2105
+ "page_idx": 13
2106
+ },
2107
+ {
2108
+ "type": "page_number",
2109
+ "text": "10118",
2110
+ "bbox": [
2111
+ 477,
2112
+ 927,
2113
+ 524,
2114
+ 940
2115
+ ],
2116
+ "page_idx": 13
2117
+ }
2118
+ ]
2023/Concept2Box_ Joint Geometric Embeddings for Learning Two-View Knowledge Graphs/a7ac92f6-3015-4bc3-abcd-68379068a363_model.json ADDED
The diff for this file is too large to render. See raw diff